/* Talisman + Dance illustrated surfaces.
   This sheet is intentionally isolated while the shared minigame art layer is
   under parallel development. Images never own pointer geometry or live text. */

.tk-riso-asset,
.dz-riso-asset { display:none; pointer-events:none !important; user-select:none; }

:root[data-storybook-art="riso"] :is(.tk-host,.dz-game) :is(.tk-riso-asset,.dz-riso-asset)[data-riso-ready] {
  display:block;
}

/* ---------------------------------------------------------------- TALISMAN */
:root[data-storybook-art="riso"] .tk-host .tk-papercase {
  isolation:isolate;
}
:root[data-storybook-art="riso"] .tk-host .tk-papercase:has(> .tk-riso-writing-frame[data-riso-ready]) {
  padding:clamp(30px,5.8%,52px) clamp(42px,7.8%,72px);
  box-sizing:border-box; background:transparent; border:0; box-shadow:none; overflow:visible;
}
:root[data-storybook-art="riso"] .tk-host .tk-papercase:has(> .tk-riso-writing-frame[data-riso-ready]) > .tk-canvas {
  position:relative; z-index:1; border:0; border-radius:7px; box-shadow:none;
}
:root[data-storybook-art="riso"] .tk-host .tk-riso-charm-paper[data-riso-ready] {
  position:absolute; inset:4% 8%; width:84%; height:92%; object-fit:fill; z-index:0;
  transform:rotate(-0.8deg); opacity:.92;
}
:root[data-storybook-art="riso"] .tk-host .tk-riso-writing-frame[data-riso-ready] {
  position:absolute; left:-25%; top:-18%; width:150%; height:140%; object-fit:fill; z-index:3;
}
:root[data-storybook-art="riso"] .tk-host .tk-riso-brush[data-riso-ready] {
  position:absolute; right:-1.5%; bottom:-3%; width:18%; height:auto; z-index:4;
  transform:rotate(13deg); transform-origin:50% 78%;
}
:root[data-storybook-art="riso"] .tk-host .tk-riso-ink-stone[data-riso-ready] {
  position:absolute; left:-.5%; bottom:-1%; width:24%; height:auto; z-index:4;
  transform:rotate(-4deg);
}
:root[data-storybook-art="riso"] .tk-host .tk-riso-seal[data-riso-ready] {
  position:absolute; right:8%; top:7%; width:14%; height:auto; z-index:4;
  opacity:0; transform:translateY(-8px) rotate(8deg) scale(.82);
  transition:opacity .2s ease,transform .24s cubic-bezier(.2,1.35,.3,1);
}
:root[data-storybook-art="riso"] .tk-host .tk-court:has(.tk-verdict.is-right) .tk-riso-seal[data-riso-ready] {
  opacity:1; transform:rotate(8deg) scale(1);
}
:root[data-storybook-art="riso"] .tk-host .tk-livespot,
:root[data-storybook-art="riso"] .tk-host .tk-watch { z-index:5; }

/* The result is a new surface only when its own image loads. A 404 leaves the
   generic finale completely intact. */
:root[data-storybook-art="riso"] .tk-host .mg-finale:has(> .tk-riso-finale-surface[data-riso-ready]) {
  position:fixed; inset:auto; left:50%; top:50%; transform:translate(-50%,-50%); z-index:80;
  isolation:isolate; width:min(620px,calc(100vw - 32px)); aspect-ratio:8 / 7;
  height:auto; min-height:0; box-sizing:border-box; padding:92px 0 68px;
  gap:7px; overflow:visible; background:#251e29; backdrop-filter:none; -webkit-backdrop-filter:none;
  box-shadow:0 0 0 100vmax #251e29;
}
:root[data-storybook-art="riso"] .tk-host .tk-riso-finale-surface[data-riso-ready] {
  position:absolute; inset:0; width:100%; height:100%; object-fit:fill; z-index:0;
}
:root[data-storybook-art="riso"] .tk-host .mg-finale:has(> .tk-riso-finale-surface[data-riso-ready]) > :not(.tk-riso-asset) {
  position:relative; z-index:1; color:#2c4150;
}
:root[data-storybook-art="riso"] .tk-host .mg-finale:has(> .tk-riso-finale-surface[data-riso-ready]) > .han {
  color:#c84232; -webkit-text-stroke:0; text-shadow:none;
}
:root[data-storybook-art="riso"] .tk-host .mg-finale:has(> .tk-riso-finale-surface[data-riso-ready]) .mg-finale-en {
  color:#59483c; font-weight:800;
}
:root[data-storybook-art="riso"] .tk-host .tk-riso-finale-seal[data-riso-ready] {
  position:absolute; width:15%; height:auto; right:3%; bottom:3%; z-index:2; transform:rotate(9deg);
}
:root[data-storybook-art="riso"] .tk-host .mg-finale:has(> .tk-riso-finale-surface[data-riso-ready]) > .dk-goal-verdict {
  position:relative; inset:auto; transform:none; width:56%; margin:0;
  background:transparent; border:0; box-shadow:none; color:#2c4150;
}

/* ------------------------------------------------------------------- DANCE */
:root[data-storybook-art="riso"] .dz-game .dz-park { isolation:isolate; }
:root[data-storybook-art="riso"] .dz-game .dz-park:has(> .dz-riso-floor-frame[data-riso-ready]) {
  border-color:transparent; box-shadow:inset 0 0 55px rgba(14,6,24,.42),0 5px 0 rgba(14,6,24,.55);
}
:root[data-storybook-art="riso"] .dz-game .dz-riso-floor-frame[data-riso-ready] {
  position:absolute; inset:-2%; width:104%; height:104%; object-fit:fill; z-index:7;
}
:root[data-storybook-art="riso"] .dz-game .dz-riso-boombox[data-riso-ready] {
  position:absolute; left:2.5%; bottom:4%; width:17%; height:auto; z-index:1;
  transform:rotate(-2deg); opacity:.92;
}
:root[data-storybook-art="riso"] .dz-game .dz-riso-rhythm-marks[data-riso-ready] {
  position:absolute; left:28%; bottom:2%; width:22%; height:auto; z-index:1;
  opacity:.26; mix-blend-mode:screen;
}
:root[data-storybook-art="riso"] .dz-game .dz-park.down .dz-riso-rhythm-marks[data-riso-ready] {
  opacity:.46; transform:scale(1.03);
}
:root[data-storybook-art="riso"] .dz-game .dz-row,
:root[data-storybook-art="riso"] .dz-game .dz-me-wrap { z-index:3; }
:root[data-storybook-art="riso"] .dz-game .dz-lanterns,
:root[data-storybook-art="riso"] .dz-game .dz-lantern-tag,
:root[data-storybook-art="riso"] .dz-game .dz-coach { z-index:4; }

:root[data-storybook-art="riso"] .dz-game .dz-cap-shell {
  position:relative; width:min(560px,94vw); min-height:92px; display:grid; place-items:center;
  isolation:isolate;
}
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell > .dz-cap { position:relative; z-index:2; }
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell > .dz-cap { box-sizing:border-box; }
:root[data-storybook-art="riso"] .dz-game .dz-riso-rhythm-card[data-riso-ready] {
  position:absolute; inset:-18px -28px; width:calc(100% + 56px); height:calc(100% + 36px);
  object-fit:fill; z-index:0; opacity:0;
}
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-cap:not(:empty)) .dz-riso-rhythm-card[data-riso-ready] { opacity:1; }
:root[data-storybook-art="riso"] .dz-game .dz-riso-pose-card[data-riso-ready] {
  position:absolute; width:68px; height:92px; object-fit:fill; left:-60px; top:-14px;
  z-index:1; transform:rotate(-4deg); opacity:.9;
}
:root[data-storybook-art="riso"] .dz-game .dz-riso-error-mark[data-riso-ready] { display:none; }
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-cap.wrong) .dz-riso-error-mark[data-riso-ready] {
  display:block; position:absolute; right:-58px; top:-58px; width:176px; height:176px;
  z-index:4; clip-path:inset(0 0 50% 50%); transform:rotate(-8deg);
}
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-cap.wrong) .dz-riso-rhythm-card[data-riso-ready] {
  opacity:1; filter:saturate(.92) brightness(.98);
}
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell .dz-cap.order.wrong {
  background:rgba(255,247,232,.94); border:2px solid #c84232; border-radius:5px;
  color:#4d392d; box-shadow:0 3px 0 rgba(126,57,43,.3); max-width:calc(100% - 16px);
}
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell .dz-cap.order.wrong > * {
  min-width:0; max-width:100%; white-space:normal !important; overflow-wrap:anywhere; word-break:break-word;
}
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-riso-rhythm-card[data-riso-ready]) .dz-cap:not(:empty) {
  background:transparent; border-color:transparent; box-shadow:none; color:#2c4150;
}
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-riso-rhythm-card[data-riso-ready]) .dz-cap {
  max-width:100%; padding:7px 24px; gap:8px;
}
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-riso-rhythm-card[data-riso-ready]) .dz-cap.help {
  flex-direction:column; align-items:center; row-gap:2px;
}
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-riso-rhythm-card[data-riso-ready]) .dz-cap.help > * {
  width:100%; line-height:1.16;
}
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-riso-rhythm-card[data-riso-ready]) .dz-cap .dz-help,
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-riso-rhythm-card[data-riso-ready]) .dz-cap.order.report .dz-order { font-size:20px; }
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-riso-rhythm-card[data-riso-ready]) .dz-cap.order .dz-order { font-size:28px; }
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-riso-rhythm-card[data-riso-ready]) .dz-cap .dz-en { font-size:16px; }
:root[data-storybook-art="riso"] .dz-game .dz-cap-shell:has(.dz-riso-rhythm-card[data-riso-ready]) .dz-cap :is(.dk-caption,.dz-en) {
  color:#5d4d42;
}

:root[data-storybook-art="riso"] .dz-game .mg-finale:has(> .dz-riso-finale-surface[data-riso-ready]) {
  position:fixed; inset:auto; left:50%; top:50%; transform:translate(-50%,-50%); z-index:80;
  isolation:isolate; width:min(620px,calc(100vw - 32px)); aspect-ratio:8 / 7;
  height:auto; min-height:0; box-sizing:border-box; padding:92px 0 68px;
  gap:7px; overflow:visible; background:#251e29; backdrop-filter:none; -webkit-backdrop-filter:none;
  box-shadow:0 0 0 100vmax #251e29;
}
:root[data-storybook-art="riso"] .dz-game .dz-riso-finale-surface[data-riso-ready] {
  position:absolute; inset:0; width:100%; height:100%; object-fit:fill; z-index:0;
}
:root[data-storybook-art="riso"] .dz-game .mg-finale:has(> .dz-riso-finale-surface[data-riso-ready]) > :not(.dz-riso-asset) {
  position:relative; z-index:1; color:#2c4150;
}
:root[data-storybook-art="riso"] .dz-game .mg-finale:has(> .dz-riso-finale-surface[data-riso-ready]) > .han {
  color:#c84232; -webkit-text-stroke:0; text-shadow:none;
}
:root[data-storybook-art="riso"] .dz-game .mg-finale:has(> .dz-riso-finale-surface[data-riso-ready]) .mg-finale-en {
  color:#59483c; font-weight:800;
}
:root[data-storybook-art="riso"] .dz-game .mg-finale:has(> .dz-riso-finale-surface[data-riso-ready]) > .dk-goal-verdict {
  position:relative; inset:auto; transform:none; width:64%; margin:0;
  background:transparent; border:0; box-shadow:none; color:#2c4150;
}

:root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready])::before {
  content:""; position:fixed; inset:0; z-index:-1; background:#251e29; pointer-events:auto;
}

:root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) > * {
  flex-shrink:0; max-width:100%; box-sizing:border-box;
}
:root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) > .han {
  font-size:38px; line-height:1.08; margin:0;
}
:root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) > .mg-stars { font-size:18px; }
:root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) > .mg-finale-en { font-size:15px; line-height:1.2; }
:root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) :is(.dk-goal-verdict-zh,.dk-goal-verdict-en) {
  width:100%; white-space:normal; overflow-wrap:anywhere; word-break:break-all;
}
:root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) .dk-goal-verdict-zh { font-size:23px; line-height:1.12; }
:root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) .dk-goal-verdict-en { font-size:14px; line-height:1.22; color:#4d392d; font-weight:800; }

/* Text-only zoom is a reading mode. The detector lives in each drill because
   CSS media queries cannot observe a changed root text size. Content flows
   downward and the game itself becomes the scroll container. */
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom,
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom {
  position:relative; overflow:visible; justify-content:flex-start; align-items:stretch;
  height:auto; min-height:100dvh; box-sizing:border-box; padding-top:18px; padding-bottom:72px;
  scroll-padding-block:18px 72px;
}
:root[data-storybook-art="riso"]:is(.tk-riso-textzoom-active,.dz-riso-textzoom-active) body {
  overflow-x:clip;
}
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom .tk-riso-writing-frame[data-riso-ready] {
  left:-12%; width:124%;
}
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom > .mg-head,
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom > .mg-head {
  position:relative; inset:auto; transform:none; flex:none; width:min(720px,calc(100vw - 420px));
  min-height:0; margin:0 40px 20px 360px; box-sizing:border-box; flex-wrap:wrap;
}
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom .tk-game,
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-wrap { flex:none; }
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom .tk-court {
  width:min(720px,calc(100vw - 420px)); margin:0 40px 0 360px; padding:0; gap:20px;
}
:root[data-storybook-art="riso"].tk-riso-textzoom-active .mg-bubble {
  top:108px !important; bottom:auto !important;
}
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom :is(.tk-slip,.tk-shelf,.tk-verdict,.tk-shellcase) {
  position:relative; flex:none; width:100%; box-sizing:border-box;
}
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom .tk-papercase { flex:none; width:100%; }
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom .tk-watch {
  top:18px; max-width:74%; line-height:1.2;
}
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom .tk-watch .han { font-size:1rem; }
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom .tk-watch .say { font-size:.78rem; }
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom .tut-layer {
  position:absolute; inset:0; box-sizing:border-box; overflow:visible;
}
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom:has(.tut-layer) > .mg-head { margin-top:0; }
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom .tut-card.reserved {
  position:absolute; left:360px !important; right:auto !important; top:82px !important; bottom:auto !important;
  width:min(720px,calc(100vw - 420px)); max-width:none; max-height:none; box-sizing:border-box;
  padding-top:78px !important; overflow:visible;
}

:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-wrap {
  width:min(620px,calc(100vw - 420px)); margin:0 40px 0 360px; gap:30px;
}
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-lantern-tag {
  left:auto !important; right:16px !important; top:16px !important; width:104px; max-width:22%;
  box-sizing:border-box; white-space:normal; transform:none !important;
}
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-lantern-tag b.han { font-size:24px !important; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-lantern-tag span { font-size:18px !important; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-spotlabel {
  left:50% !important; right:auto !important; bottom:0 !important; width:88px; max-width:100%;
  box-sizing:border-box; white-space:normal; transform:translateX(-50%) !important;
}
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-spotlabel b.han { font-size:24px !important; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-spotlabel span { font-size:18px !important; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-strip { margin-top:12px; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-cap-shell { width:100%; min-height:176px; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-riso-rhythm-card[data-riso-ready] {
  inset:0; width:100%; height:100%;
}
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-cap-shell .dz-cap {
  width:70%; max-width:70%; box-sizing:border-box; flex-wrap:wrap;
}
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-cap-shell .dz-cap .dz-help,
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-cap-shell .dz-cap.order .dz-order { font-size:1rem; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .dz-cap-shell .dz-cap .dz-en { font-size:.65rem; line-height:1.15; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom > .mg-prompt {
  position:relative; flex:none; width:min(620px,calc(100vw - 420px)); margin:18px 40px 0 360px;
}
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom:has(.tut-layer) > .mg-head { margin-top:0; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .tut-card.reserved {
  position:absolute; left:360px !important; right:auto !important; top:82px !important; bottom:auto !important;
  width:min(720px,calc(100vw - 420px)); max-width:none; max-height:none; box-sizing:border-box;
  padding-top:78px !important; overflow:visible;
}

/* Tutorial cards are mounted by the shared tutorial layer outside each game
   host. The page-level class lets text zoom place them in the same reading
   column as the drill instead of beneath the fixed practice tab. */
:root[data-storybook-art="riso"]:is(.tk-riso-textzoom-active,.dz-riso-textzoom-active) .tut-card.reserved {
  position:absolute !important; left:360px !important; right:auto !important;
  top:92px !important; bottom:auto !important;
  width:min(720px,calc(100vw - 420px)) !important; max-width:none !important;
  height:auto !important; max-height:none !important; box-sizing:border-box;
  padding:86px 38px 20px !important; transform:none !important; overflow:visible !important;
}
:root[data-storybook-art="riso"]:is(.tk-riso-textzoom-active,.dz-riso-textzoom-active) .tut-card.reserved :is(.tut-zh,.tut-en) {
  max-height:none !important; white-space:normal !important; overflow:visible !important;
  overflow-wrap:anywhere;
}

:root[data-storybook-art="riso"] :is(.tk-host.tk-riso-textzoom,.dz-game.dz-riso-textzoom) .mg-finale:has(> [data-riso-ready]) {
  width:min(1000px,calc(100vw - 40px)); padding:142px 0 102px; gap:12px;
}
:root[data-storybook-art="riso"] .tk-host.tk-riso-textzoom .mg-finale:has(> [data-riso-ready]) > .dk-goal-verdict { width:44%; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .mg-finale:has(> [data-riso-ready]) > .dk-goal-verdict { width:52%; }
:root[data-storybook-art="riso"] :is(.tk-host.tk-riso-textzoom,.dz-game.dz-riso-textzoom) .mg-finale:has(> [data-riso-ready]) > .han { font-size:1.8rem; }
:root[data-storybook-art="riso"] :is(.tk-host.tk-riso-textzoom,.dz-game.dz-riso-textzoom) .mg-finale:has(> [data-riso-ready]) > .mg-finale-en { font-size:.86rem; }
:root[data-storybook-art="riso"] :is(.tk-host.tk-riso-textzoom,.dz-game.dz-riso-textzoom) .mg-finale:has(> [data-riso-ready]) .dk-goal-verdict-zh { font-size:1.28rem; }
:root[data-storybook-art="riso"] :is(.tk-host.tk-riso-textzoom,.dz-game.dz-riso-textzoom) .mg-finale:has(> [data-riso-ready]) .dk-goal-verdict-en { font-size:.84rem; }
:root[data-storybook-art="riso"] .dz-game.dz-riso-textzoom .mg-finale:has(> [data-riso-ready]) .dk-goal-verdict-en {
  font-size:.68rem; line-height:1.15;
}

@media (max-width:720px) {
  :root[data-storybook-art="riso"] .tk-host .tk-papercase:has(> .tk-riso-writing-frame[data-riso-ready]) {
    padding:24px 30px;
  }
  :root[data-storybook-art="riso"] .tk-host .tk-riso-brush[data-riso-ready] { width:17%; right:1%; bottom:0; }
  :root[data-storybook-art="riso"] .tk-host .tk-riso-ink-stone[data-riso-ready] { width:23%; left:1%; bottom:0; }
  :root[data-storybook-art="riso"] .dz-game .dz-riso-boombox[data-riso-ready] { width:22%; left:1%; }
  :root[data-storybook-art="riso"] .dz-game .dz-riso-rhythm-marks[data-riso-ready] { width:25%; left:24%; }
  :root[data-storybook-art="riso"] .dz-game .dz-cap-shell { width:min(330px,88vw); min-height:76px; }
  :root[data-storybook-art="riso"] .dz-game .dz-riso-pose-card[data-riso-ready] {
    width:50px; height:68px; left:-18px; top:-52px; opacity:.82;
  }
  :root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) > .dk-goal-verdict {
    width:68%; max-height:none; overflow:visible;
  }
  :root[data-storybook-art="riso"] .tk-host .mg-finale:has(> [data-riso-ready]) > .dk-goal-verdict { width:60%; }
  :root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) {
    width:500px; max-width:none; padding:74px 0 51px; gap:3px;
  }
  :root[data-storybook-art="riso"] .tk-host .mg-finale:has(> [data-riso-ready]) > .dk-goal-verdict { width:46%; }
  :root[data-storybook-art="riso"] .dz-game .mg-finale:has(> [data-riso-ready]) > .dk-goal-verdict { width:54%; }
  :root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) > .han { font-size:29px; }
  :root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) > .mg-stars { font-size:13px; }
  :root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) > .mg-finale-en { font-size:12.5px; }
  :root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) .dk-goal-verdict-zh { font-size:19px; }
  :root[data-storybook-art="riso"] :is(.tk-host,.dz-game) .mg-finale:has(> [data-riso-ready]) .dk-goal-verdict-en { font-size:12px; }
}

@media (prefers-reduced-motion:reduce) {
  :root[data-storybook-art="riso"] :is(.tk-host,.dz-game) :is(.tk-riso-asset,.dz-riso-asset) {
    transition:none !important; animation:none !important;
  }
}
