/* Standalone surface only. No styles are loaded by normal GONGO. */
.collection-screen .bag-hero{height:230px;margin:8px 0 0}
.adventure .collection-screen{background-color:var(--ink);background-image:linear-gradient(180deg,#0f11156b,var(--ink) 480px),url('/assets/gongo-adventure/forest.png');background-size:100% 520px;background-repeat:no-repeat;background-position:top center}
.collection-screen .equipped-summary{margin:0 0 16px;line-height:1.8}
.collection-count{font-size:14px;font-weight:700;color:var(--gold);font-variant-numeric:tabular-nums;margin:16px 0}
.collection-tabs{display:flex;border-bottom:1px solid #f6cd9b55;gap:8px}
.collection-tabs button{flex:1;min-width:0;min-height:54px;font-size:16px;color:var(--text);border-radius:8px 8px 0 0}
.collection-tabs small{display:block;font-size:11px;font-variant-numeric:tabular-nums;margin-top:4px}
.collection-tabs button[aria-pressed=true]{background:var(--gold);color:var(--ink);font-weight:800}
.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;text-align:left;margin-top:20px}
.collection-item{min-width:0;border-bottom:1px solid #f6cd9b40;padding-bottom:10px;display:flex;flex-direction:column}
.collection-item>img{width:100%;height:160px;object-fit:contain;display:block;background:#10171d;border-radius:10px;padding:8px}
.collection-item h3{font-size:15px;line-height:1.6;margin:10px 0 2px;color:var(--text)}
.collection-item p{font-size:12px;line-height:1.7;color:var(--muted);flex:1}
.collection-item>.text-button{width:100%;color:var(--gold);font-weight:800;border:1px solid #f6cd9b66;border-radius:8px;margin-top:10px;min-height:44px}
.collection-item.is-equipped>.text-button{background:var(--gold);color:var(--ink)}
.collection-item.is-locked>img{opacity:.65}
.collection-item.is-locked>.text-button{color:var(--muted);opacity:1;border-color:#617270}
.collection-loot .text-button{font-weight:800;color:var(--gold)}
.collection-loot{animation:collection-arrive .4s ease-out}
@keyframes collection-arrive{from{transform:translateY(8px)}to{transform:translateY(0)}}
@media(max-width:360px){.collection-screen{padding-inline:16px}.collection-grid{gap:18px 10px}.collection-item>img{height:135px}}
.adventure .attack-face{width:60%;height:100%;left:0;top:0}.adventure .attack-face>svg{overflow:hidden}
.special-warning{text-align:center;padding:22px 8px}.special-warning h2{font-size:29px;color:#ffd3a9;line-height:1.5}.special-warning p{color:#f3d2c6;font-size:14px;line-height:1.7;margin:12px 0}.special-warning .gold-button{margin-top:20px}.special-badge{color:#ffd3b7;font-size:13px;font-weight:800;margin:0 0 12px}.special-arena .monster-cutin{border-color:#ff9675;background:#392027}.special-intro .monster-cutin{animation:special-reveal .5s cubic-bezier(.16,1,.3,1) both}.special-intro .monster{animation:speaker-nudge .35s ease-out}.defeat-screen .result-art{filter:none!important}.fallen-hero{position:absolute;width:91%;height:72%;object-fit:contain;left:-1%;bottom:0;z-index:2;animation:fallen-settle .5s cubic-bezier(.16,1,.3,1) both}.defeat-screen .result-monster{width:42%;height:66%;right:0;bottom:32%;transform:none}.fallen-weapon{position:absolute;width:12%;height:38%;object-fit:contain;left:42%;bottom:-4%;transform:rotate(70deg);z-index:3}.fallen-shield{position:absolute;width:20%;height:23%;object-fit:contain;right:4%;bottom:0;transform:rotate(-20deg);z-index:3}@keyframes special-reveal{from{opacity:.4;transform:translateX(50%) rotate(-5deg)}to{opacity:1;transform:translateX(0) rotate(-5deg)}}@keyframes fallen-settle{from{opacity:.5;transform:translateY(-14px)}to{opacity:1;transform:translateY(0)}}
.fallen-hero{object-position:center bottom}.defeat-screen .result-art::before{content:"";position:absolute;left:3%;bottom:-3px;width:90%;height:24px;background:#090c0cd9;border-radius:50%;filter:blur(7px)}
.equipped-stick{filter:drop-shadow(0 0 3px #fff5d4) drop-shadow(0 0 9px #f6cd9bc9)}.stick-ember-stick{filter:drop-shadow(0 0 3px #fff0cc) drop-shadow(0 0 11px #ff844ddd)}.stick-wind-stick{filter:drop-shadow(0 0 3px #e4ffff) drop-shadow(0 0 11px #73e2e8cc)}.stick-star-stick{filter:drop-shadow(0 0 3px #fff) drop-shadow(0 0 11px #dbb5ffdd)}.stick-reclaimed-stick{filter:drop-shadow(0 0 4px #fff) drop-shadow(0 0 14px #ffd678)}
.story-map-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px}.story-map-link>span{font-size:12px;color:var(--gold)}
.story-screen{min-height:calc(100svh - 48px);padding:22px 20px 16px;background:linear-gradient(#0f111540,#0f1115 85%),url('/assets/gongo-adventure/forest.png') center/cover;display:flex;flex-direction:column}.story-screen h1{font-size:27px;color:var(--gold);line-height:1.45}.story-screen>.intro{margin-top:8px}.story-art{height:clamp(165px,26svh,240px);margin:6px 0;position:relative}.story-hero{height:100%;width:100%}.story-dialogue{background:#10171df5;border-top:2px solid var(--gold);padding:18px 17px;min-height:174px}.story-dialogue h2{font-size:15px;color:var(--gold);margin-bottom:12px}.story-dialogue p{font-size:21px;line-height:1.7;color:#fff;overflow-wrap:anywhere;white-space:pre-line}.story-nav{display:flex;align-items:center;gap:12px;margin-top:18px}.story-nav>span{font-size:12px;color:var(--muted);white-space:nowrap}.story-nav>.gold-button{width:auto;flex:1;font-size:16px}.story-nav>.text-button{flex:none}.story-library{display:flex;flex-direction:column;margin-top:20px}.story-entry{display:flex;justify-content:space-between;align-items:center;gap:16px;border:0;border-bottom:1px solid #f6cd9b40;min-height:64px;padding:14px 0;background:none;color:#fff;text-align:left;font-size:16px;line-height:1.5}.story-entry small{color:var(--gold);font-size:12px;white-space:nowrap}.story-entry:disabled{color:#a8b0b2}.story-entry:disabled small{color:#a8b0b2}.story-certificate{margin:22px 0;padding:25px 16px;border:1px solid var(--gold);text-align:center;background:#e8d3a9;color:#1d212b}.story-certificate h2{font-size:26px}.story-certificate p{margin-top:12px;line-height:1.8}
.audio-controls{display:flex;gap:8px;flex:none}.adv-topbar .audio-controls .text-button{font-size:12px;white-space:nowrap}.adv-topbar{gap:6px!important;padding-inline:12px!important}.adv-topbar>span{letter-spacing:.06em!important}
.adventure .notation .hg-gongo-notation .hg-note-staff{stroke:#555!important;stroke-width:1.3!important;opacity:1}
.adventure .notation .hg-gongo-notation .hg-note-bar{stroke:#333!important;opacity:1}
.adventure .monster,.adventure .boss-arena .monster{filter:hue-rotate(var(--monster-hue,0deg)) drop-shadow(0 6px 6px #0007)}.adventure .cutin-face{filter:hue-rotate(var(--monster-hue,0deg))}.adventure .result-monster{filter:hue-rotate(var(--monster-hue,0deg)) saturate(.7)}
.gear-sprite{display:block}.gear-sprite>svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}.gear-group>h2{font-size:21px;text-align:left;color:var(--gold);margin-top:24px}.gear-row{margin-bottom:8px}.gear-row h3{font-size:16px;line-height:1.5;margin:0}.gear-row .text-button{color:var(--gold);font-weight:800}.gear-row .text-button:disabled{color:#a0abae}.gear-row .text-button[aria-pressed=true]{text-decoration:underline;text-underline-offset:4px}.repeat-clear{justify-content:center;min-height:105px}.text-button:disabled{opacity:.55;cursor:default}
:root{color-scheme:dark;--ink:#0f1115;--surface:#171a21;--gold:#f6cd9b;--pale:#ffd9a8;--text:#fff;--muted:#c1c8cc;font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;background:#080d10;color:var(--text)}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:4px}h1,h2,p{margin:0}h1,h2{text-wrap:balance}h1{font-family:"Noto Serif TC","Microsoft JhengHei",serif;letter-spacing:-.025em;font-weight:900}::selection{background:var(--gold);color:var(--ink)}[hidden]{display:none!important}
.adventure{width:100%;max-width:480px;min-height:100svh;margin:auto;position:relative;background:var(--ink);overflow-x:clip;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);isolation:isolate;scrollbar-color:#8c7860 var(--ink)}
.adv-topbar{height:48px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;background:var(--ink);position:relative;z-index:5;gap:12px;border-bottom:1px solid #f6cd9b30}
.adv-topbar>span{font-size:11px;letter-spacing:.14em;color:var(--gold);font-weight:800;white-space:nowrap}.text-button{min-height:42px;padding:8px 4px;color:var(--muted);border:0;background:none;font-size:13px}.text-button:hover{color:var(--pale)}.full{display:block;width:100%}
.gold-button{display:flex;justify-content:center;align-items:center;min-height:52px;width:100%;padding:13px 18px;background:var(--gold);border:1px solid var(--gold);border-radius:9px;color:var(--ink);font-size:17px;font-weight:900;text-decoration:none;box-shadow:0 6px 20px #0005;line-height:1.4}.gold-button:hover{background:var(--pale)}.gold-button:disabled{background:#333b3e;color:#a0abae;border-color:#536067;box-shadow:none}
.intro{font-size:14px;line-height:1.7;color:#d6e0e1}.minor{color:var(--muted);font-size:12px;line-height:1.7;text-align:center;margin:12px 0}.version-note{font-size:11px;line-height:1.7;color:#b8c1c6;text-align:center;margin-top:16px}.storage-note,.audio-error{padding:10px;font-size:13px;line-height:1.6;background:#472526;color:#fff0e0;border-radius:6px}
.choose-screen{padding:24px 22px 22px;position:relative;background:linear-gradient(0deg,var(--ink) 10%,#0f11159c 60%,#0f1115bd),url('/assets/gongo-adventure/forest.png') center 20%/cover}.choose-screen h1{font-size:32px;color:var(--gold);line-height:1.25;text-align:center}.choose-screen .intro{text-align:center;margin-top:8px}
.hero-showcase{position:relative;min-height:270px;height:33svh;max-height:350px;margin:10px -16px}.chosen-hero{position:absolute;height:100%;width:85%;object-fit:contain;left:-5%;bottom:0;filter:drop-shadow(0 10px 16px #0009)}.hero-copy{position:absolute;right:6px;top:30%;width:108px;text-shadow:0 2px 6px #000}.hero-copy>span{font-size:11px;letter-spacing:.1em;color:var(--gold)}.hero-copy h2{font-size:38px;font-weight:900;margin:5px 0}.hero-copy p{font-size:12px;line-height:1.8;color:#edf3ee}
.character-picker{border:0;padding:0;margin:8px 0}.character-picker legend{font-size:14px;font-weight:700;padding:0;margin-bottom:12px}.character-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.character-option{min-width:0;padding:0 0 8px;border:1px solid #647073;border-radius:9px;background:#132025;color:#e3e6e5;overflow:hidden;position:relative}.character-option.selected{border:2px solid var(--gold);background:#29302b;color:var(--gold)}.character-thumb{display:block;width:100%;height:85px;object-fit:cover;object-position:50% 15%;pointer-events:none}.character-option span{font-size:14px;font-weight:800;display:block;padding-top:5px}
.map-screen{padding:24px 20px;background:linear-gradient(#0f1115aa,#0f1115ed),url('/assets/gongo-adventure/forest.png') center top/cover}.map-screen h1{font-size:32px;color:var(--gold)}.map-screen>.intro{margin:6px 0 20px}.map-player{display:flex;align-items:center;gap:10px;padding-bottom:16px;border-bottom:1px solid #f6cd9b40}.map-avatar{width:52px;height:64px;object-fit:cover;object-position:top}.map-player>div{flex:1;min-width:0}.map-player strong{font-size:14px}.map-player p{font-size:11px;color:var(--muted);margin-top:6px}.stage-map{display:flex;flex-direction:column;gap:12px;padding-top:22px}.stage-node{display:flex;align-items:center;text-align:left;gap:12px;min-height:80px;padding:12px;border:1px solid #617270;border-radius:10px;background:#132126f2;color:#e9eeee;position:relative}.stage-node:nth-child(odd){margin-right:28px}.stage-node:nth-child(even){margin-left:28px}.stage-number{width:38px;font-weight:900;color:var(--gold);font-size:23px;flex:none}.stage-node strong{display:block;font-size:15px}.stage-node small{display:block;font-size:11px;margin-top:5px;color:#c1cfce}.stage-state{font-size:11px;margin-left:auto;white-space:nowrap}.stage-node.next{border:2px solid var(--gold);background:#29302b}.stage-node.cleared .stage-state{color:var(--gold)}.stage-node:disabled{opacity:.46}.boss-node .stage-number{font-size:12px}.boss-node{border-color:#b99973}
.battle-hud{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;gap:18px;background:#10171d}.battle-hud>div:first-child{flex:1;min-width:0}.battle-hud span{font-size:12px;color:#e1ded5;display:block}.battle-hud strong{display:block;color:var(--gold);font-size:22px;font-variant-numeric:tabular-nums;line-height:1.4}.battle-hud strong small{font-size:13px;color:#d8d8d3}.battle-hud meter{width:100%;height:8px;display:block;appearance:none;border:none;margin-top:4px;background:#384248;border-radius:4px}.battle-hud meter::-webkit-meter-bar{background:#384248;border:0;height:8px}.battle-hud meter::-webkit-meter-optimum-value{background:#a3cbb8;border-radius:4px}.battle-hud meter::-moz-meter-bar{background:#a3cbb8}.round-count{align-self:center}.round-dots{display:flex;gap:7px;margin-top:12px}.round-dots i{width:11px;height:11px;border:1px solid #b99565;border-radius:50%}.round-dots i.done{background:var(--gold)}
.arena{height:clamp(235px,34svh,340px);position:relative;overflow:hidden;background:url('/assets/gongo-adventure/forest.png') center 76%/cover;border-bottom:2px solid var(--gold)}.fighter{position:absolute;width:66%;height:94%;object-fit:contain;bottom:-1%;pointer-events:none;filter:drop-shadow(0 6px 6px #0007)}.hero{left:-10%;z-index:2;transform-origin:50% 80%}.monster{right:-12%;width:64%;height:80%;bottom:8%;z-index:1;transform-origin:50% 75%;animation:taunt 3.2s ease-in-out infinite}.boss-arena .monster{height:90%;filter:drop-shadow(0 5px 8px #e3444455)}.enemy-name{position:absolute;z-index:3;bottom:10px;right:10px;padding:7px 12px;background:#0b1113e8;color:#fff;font-size:15px;font-weight:800;border-bottom:2px solid #cf6b61}.enemy-name span{display:block;font-size:10px;color:#dbcbb5;margin-top:4px;font-weight:400}.shield-ready{position:absolute;bottom:8px;left:10px;color:var(--gold);font-size:10px;background:#10171dcf;padding:4px 5px;z-index:3}.monster-cutin{position:absolute;left:30%;top:8px;width:72%;height:63px;overflow:hidden;transform:rotate(-5deg);border-block:2px solid var(--gold);background:#131518;z-index:3;display:flex;align-items:center;justify-content:flex-start;padding-left:15px}.monster-cutin span{position:relative;z-index:2;font-size:15px;font-weight:900;width:50%;text-shadow:0 1px 3px #000}.cutin-face{position:absolute;width:150px;height:160px;object-fit:cover;right:-6px;top:-22px;opacity:.9}
.question-panel{padding:15px 12px 18px;background:#10171d;min-height:300px}.question-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.question-head h2{font-size:17px;line-height:1.5;color:#fff1d5}.replay-button{flex-shrink:0;min-height:43px;padding:8px 13px;border:1px solid var(--gold);border-radius:8px;background:var(--gold);color:#101719;font-weight:900;font-size:13px}.replay-button:disabled{color:#dfd5c7;background:#374542;border-color:#536761}.answer-list{display:flex;flex-direction:column;gap:8px}.answer{display:flex;align-items:center;width:100%;min-height:68px;padding:0;gap:0;border:2px solid #e4d7bf;border-radius:8px;background:#fffdf7;color:#171b21;position:relative;overflow:hidden}.answer>b{font-size:20px;width:36px;flex:none;align-self:stretch;display:flex;align-items:center;justify-content:center;background:#1a252b;color:var(--gold)}.answer:disabled{opacity:1}.answer:not(:disabled):hover{border-color:#e2ac60;box-shadow:0 0 0 2px #e2ac60}.answer:not(:disabled):active{transform:scale(.985)}.answer.correct{border:3px solid #b97519;box-shadow:0 0 0 1px var(--gold)}.answer.incorrect{border-color:#b14747}.answer.incorrect>b{background:#672d32;color:#fff}.answer small{position:absolute;right:3px;top:0;background:#9a661e;color:white;font-size:9px;padding:2px 4px}.notation{display:block;min-width:0;flex:1;padding:3px 4px;overflow:hidden}.notation svg{width:100%!important;height:auto!important;max-height:70px;display:block}.notation .gongo-notation,.notation .gongo-notation-system{width:100%!important;margin:0!important;padding:0!important}.notation svg text{fill:#151b1f}.notation svg path,.notation svg line{vector-effect:non-scaling-stroke}.notation svg[height]{height:auto}.answer-feedback p{margin:12px 3px;color:#e5d7c1;font-size:13px;line-height:1.7}.answer-feedback .gold-button{font-size:15px;min-height:46px}.question-loading{padding:35px 10px;text-align:center}.question-loading h2{font-size:21px;color:var(--gold);margin-bottom:14px}.question-loading p{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:20px}.question-loading .text-button{display:block;width:100%}
.attack-cutin{position:absolute;inset:0 0 auto 0;height:100px;background:#141c21;border-block:3px solid var(--gold);z-index:6;transform:rotate(-5deg) scale(1.1);overflow:hidden;animation:cutin .22s ease-out}.attack-face{position:absolute;width:75%;height:330%;object-fit:cover;left:-15%;top:-40%}.attack-cutin strong{position:absolute;right:7%;top:27%;font-size:32px;font-weight:900;color:var(--gold);text-shadow:0 2px 8px #000}.attacking .monster-cutin{display:none}.attacking .hero{animation:hero-strike 1.2s ease-out both}.attacking .monster{animation:monster-hit 1.2s ease-out both}.impact-word{position:absolute;right:10%;top:48%;font-size:70px;font-weight:1000;color:#ffe5a4;z-index:7;transform:rotate(-15deg);text-shadow:3px 3px 0 #111,-2px -2px 0 #111;animation:impact 1.2s both}.attack-message{text-align:center;padding:65px 0}.attack-message h2{font-size:30px;color:var(--gold);font-weight:900}.attack-message p{font-size:13px;margin-top:12px;color:var(--muted)}.damage-word{position:absolute;top:40%;left:20%;font-size:36px;color:#ffe4d8;z-index:7;text-shadow:2px 2px #62242b;animation:damage .65s ease-out both}.hurting .hero{animation:recoil .5s ease-out}.hurting .monster{animation:enemy-strike .5s ease-out}
.result-screen,.bag-screen{min-height:calc(100svh - 48px);padding:22px 22px 26px;background:linear-gradient(#0f111534,#0f1115eb 75%),url('/assets/gongo-adventure/forest.png') center/cover;text-align:center}.chapter-label{font-size:13px;color:var(--gold);margin-bottom:13px}.result-screen h1,.bag-screen h1{font-size:36px;color:var(--gold);line-height:1.35}.result-screen .intro,.bag-screen .intro{margin-top:8px}.result-art{height:clamp(210px,31svh,320px);position:relative;margin:8px -20px}.result-hero{width:84%;height:100%;object-fit:contain;position:absolute;left:-8%;bottom:0}.result-monster{width:43%;height:55%;object-fit:contain;position:absolute;right:-3%;bottom:0;transform:rotate(18deg);filter:saturate(.5)}.loot{display:flex;align-items:center;text-align:left;gap:10px;border-block:1px solid #f6cd9b55;padding:10px 0;margin:12px 0 22px;background:#0f1115b0}.loot-image{height:104px;width:104px;object-fit:contain;flex:none}.loot span{font-size:11px;color:var(--gold)}.loot h2{font-size:18px;line-height:1.6;margin-top:3px}.loot p{font-size:12px;line-height:1.7;color:#dcc6a7;margin-top:4px}.bag-hero{height:300px;width:100%;object-fit:contain}.defeat-screen .result-art{filter:saturate(.3)}.defeat-copy{font-size:14px;line-height:1.9;margin:15px 0 25px;color:#e0d6d1}.exit-dialog{background:#171f25;color:white;border:1px solid var(--gold);border-radius:13px;width:calc(100% - 40px);max-width:370px;padding:24px}.exit-dialog::backdrop{background:#000b}.exit-dialog h2{font-size:23px;color:var(--gold)}.exit-dialog p{font-size:14px;line-height:1.8;margin:15px 0 25px}.boot{text-align:center;padding:100px 20px}.boot h1{color:var(--gold)}.boot p{margin-top:20px;color:var(--muted)}
@keyframes taunt{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-5px) rotate(3deg)}}
@keyframes cutin{from{transform:translateX(-100%) rotate(-5deg)}to{transform:translateX(0) rotate(-5deg) scale(1.1)}}
@keyframes hero-strike{0%,15%{transform:translateX(-6%) rotate(-8deg)}35%,55%{transform:translateX(34%) scale(1.1) rotate(8deg)}100%{transform:translateX(0)}}
@keyframes monster-hit{0%,30%{transform:translateX(0)}48%{transform:translate(14%,-12%) rotate(24deg)}100%{transform:translate(20%,8%) rotate(32deg)}}
@keyframes impact{0%,27%{opacity:0;transform:scale(.5) rotate(-15deg)}35%,65%{opacity:1;transform:scale(1.2) rotate(-15deg)}100%{opacity:0;transform:scale(1) rotate(-15deg)}}
@keyframes recoil{0%,100%{transform:translateX(0)}30%,70%{transform:translateX(-12%) rotate(-10deg)}}
@keyframes enemy-strike{0%,100%{transform:translateX(0)}50%{transform:translateX(-22%) rotate(-12deg)}}
@keyframes damage{from{opacity:1;transform:translateY(10px)}to{opacity:0;transform:translateY(-28px)}}
@media(min-width:650px){body{padding:24px 0;background:#090f12}.adventure{min-height:calc(100svh - 48px);box-shadow:0 12px 70px #0008;border:1px solid #314048}.choose-screen{padding-bottom:28px}.arena{height:310px}}
@media(max-width:360px){.choose-screen{padding-inline:16px}.hero-copy{width:96px}.hero-showcase{min-height:245px}.character-thumb{height:70px}.character-grid{gap:6px}.question-head h2{font-size:15px}.replay-button{font-size:12px;padding:8px 10px}.answer{min-height:62px}.answer>b{width:30px;font-size:17px}.stage-node:nth-child(odd){margin-right:15px}.stage-node:nth-child(even){margin-left:15px}.loot-image{width:82px;height:90px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.impact-word{opacity:1}.attack-cutin{transform:none}.monster{transform:none}}
.cast-stage{display:flex;align-items:flex-end;justify-content:center;height:clamp(220px,32svh,310px);gap:0;margin:12px -12px 18px}
.story-actor{margin:0;min-width:0;flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative;opacity:.78}
.story-actor .story-hero,.story-npc{display:block;width:100%;height:calc(100% - 28px);object-fit:contain}
.story-actor figcaption{font-size:12px;line-height:22px;white-space:nowrap;color:#d3d9df;background:#0f1115e8;padding:2px 7px;border-radius:4px}
.story-actor.is-speaking{opacity:1;z-index:2;animation:speaker-nudge .28s ease-out}
.story-actor.is-speaking figcaption{background:var(--gold);color:var(--ink);font-weight:800}
.cast-crowd{height:300px;flex-wrap:wrap;align-content:flex-end;gap:6px 0}
.cast-crowd .story-actor{flex:0 0 33.333%;height:47%}
@keyframes speaker-nudge{0%,100%{transform:translate(0,0)}25%{transform:translate(-3px,-3px) rotate(-1deg)}55%{transform:translate(3px,0) rotate(1deg)}80%{transform:translate(-1px,0)}}
.world-npc{width:76px;height:80px;object-fit:contain;flex:none}.world-node{padding:10px;gap:8px}.world-node>span:nth-child(2){flex:1}.world-node strong{font-size:16px}.world-node small{font-size:12px}
.test-toggle{width:100%;min-height:48px;margin:16px 0 8px;padding:10px 12px;background:var(--surface);color:var(--gold);border:1px solid var(--gold);border-radius:10px;font-weight:700}.test-toggle[aria-pressed=true]{background:var(--gold);color:var(--ink)}
.test-notice{padding:12px 0;color:var(--gold);font-size:12px;line-height:1.7;text-align:center}
/* Adventure controls: visible actions, no change to progression or audio rules. */
.adventure .adv-action{min-height:44px;padding:9px 14px;background:var(--gold);border:1px solid var(--gold);border-radius:8px;color:var(--ink);font-size:15px;font-weight:800;white-space:nowrap}
.adventure .adv-action:hover{background:var(--pale);color:var(--ink)}
.adventure .adv-action:disabled{background:#333b3e;color:#a0abae;border-color:#536067;opacity:1}
.loot .adv-action{margin-top:10px}.adv-topbar .adv-action{padding:7px 10px;font-size:13px}
.adventure [data-adv="journal"]{font-size:16px;font-weight:900;color:var(--gold);text-decoration:underline;text-underline-offset:4px}
.story-map-link [data-adv="journal"]{flex-shrink:0}
.question-head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;row-gap:4px}.question-heading{display:contents}.question-heading h2{grid-column:1;grid-row:1;white-space:nowrap}.question-hint{grid-column:1 / -1;grid-row:2;text-align:left;margin:0}
.question-actions{grid-column:2;grid-row:1;display:flex;justify-content:flex-end;gap:8px;margin:0}
.adv-navigation{display:flex;align-items:center;gap:12px;min-width:0}.adv-navigation .text-button{white-space:nowrap}.adv-navigation .gongo-return{color:var(--gold);font-weight:900}.adv-navigation .gongo-return:hover{color:var(--pale)}
.map-actions{display:flex;flex-direction:column;gap:8px;flex:none;align-items:stretch}
@media(max-width:400px){.adv-navigation{gap:6px}.adv-navigation .text-button{font-size:12px;padding-inline:2px}.adv-topbar .audio-controls{gap:4px}.question-head{column-gap:6px}.question-heading h2{font-size:13px}.question-actions{gap:4px}.question-actions .replay-button{font-size:12px;padding-inline:8px}}
@media(max-width:360px){.question-heading h2{font-size:12px}.question-actions .replay-button{font-size:11px;padding-inline:5px}}
.question-actions .replay-button{min-height:44px}.next-question:disabled{background:#293036;border-color:#46515a;color:#879197}
.battle-hud{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 18px;padding-block:6px 10px}
.battle-hud .hud-main{display:contents}.hud-stage-row{grid-column:1 / -1;grid-row:1;display:flex;align-items:center;gap:8px;min-width:0}
.hud-stage{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.battle-hud .hud-main>strong{grid-column:1;grid-row:2}.battle-hud meter{grid-column:1;grid-row:3}
.battle-hud .round-count{grid-column:2;grid-row:2 / 4}.battle-hud .round-dots{margin-top:8px}
.hud-stage-row .hud-potion{display:inline-flex;align-items:center;gap:4px;flex:none;white-space:nowrap;padding:0;min-height:28px;text-align:left}
.hud-potion .potion-icon{width:18px;height:22px;flex:none}.hud-potion:disabled{opacity:.65}.hud-potion:hover:not(:disabled) span{color:var(--pale)}
@media(max-width:360px){.hud-stage-row{gap:6px}.hud-stage-row .hud-stage,.hud-stage-row .hud-potion span{font-size:11px}}
@media(max-width:360px){.world-npc{width:58px;height:68px}.world-node strong{font-size:14px}.world-node .stage-state{font-size:11px}.cast-crowd{height:270px}}
