/* Local polish only: learning panels and certified enemy geometry stay intact. */
.gt-stage[data-entering=true] .gt-actor[data-reaction=idle]{animation:gt-arrive .5s ease-out}
.gt-actor[data-combo=true][data-reaction=correct]{animation:gt-combo-hop .45s ease-out}
.gt-actor[data-tier=MASTER]{filter:drop-shadow(0 0 7px #f5d17c)}
.gt-actor:is([data-tier=SUPER],[data-tier=MASTER])[data-reaction=correct]{filter:drop-shadow(0 0 9px #f7dc8f)}
.gt-score-pop{position:absolute;bottom:45%;z-index:6;color:#ffef9c;font-size:14px;font-weight:800;text-shadow:0 1px 3px #193831;pointer-events:none;white-space:nowrap;opacity:0;animation:gt-score-float .5s ease-out}
.gt-impact{position:absolute;z-index:5;width:32px;height:32px;border:4px solid #fff0b3;border-radius:50%;pointer-events:none;opacity:0;animation:gt-impact .4s ease-out;box-shadow:0 0 0 6px #fac87066}
.gt-impact[data-chain=true]{border-radius:3px;width:44px;height:44px;box-shadow:0 0 0 8px #9edcd466}
.gt-findings{display:flex;gap:5px;margin:7px 0;min-height:48px}.gt-finding{flex:1;min-width:0;border:1px dashed #a8b6a0;border-radius:8px;background:#f5f3e9;text-align:center;padding:3px;color:#71806c}.gt-finding b{display:block;font-size:18px;line-height:20px}.gt-finding small{display:block;font-size:10px;line-height:13px;overflow-wrap:anywhere}.gt-finding[data-found=true]{border-style:solid;background:#edf2dc;color:#345b48;animation:gt-loot .35s ease-out}.gt-finding[data-kind=rare]{background:#fff0bf;border-color:#d4ac51;color:#86591d}
.gt-route-hint{font-size:11px;color:#496456;line-height:1.4;margin:6px 0}
#asyncChoiceScreen.yt-game .ac-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#asyncChoiceScreen.yt-game .ac-choice{font-size:15px;min-height:56px;padding:8px;line-height:1.4}
.gt-dungeon-path{position:absolute;inset:34px 4% 40px;display:flex;gap:4px;align-items:center}.gt-dungeon-path span{flex:1;min-width:0;height:28px;font-size:10px;display:grid;place-items:center;color:#b9a6cd;background:#3d3551;border:1px solid #786587;border-radius:5px;transition:background .2s}.gt-dungeon-path span:nth-child(3n){margin-right:7px}.gt-dungeon-path [data-passed=true]{background:#dbbd78;color:#524024}.gt-dungeon-path [data-current=true]{border-color:#ffe798;box-shadow:0 0 0 2px #ffe79855}.gt-treasure .gt-world-objects{display:none}.gt-treasure .gt-actor{width:50px;height:48px;bottom:29px}.gt-treasure::before{display:none}
.gt-route-sky{position:absolute;inset:27px 9% 24px;width:82%;height:calc(100% - 51px);overflow:visible}.gt-route-sky circle{fill:#f4d982;fill-opacity:var(--filled,.12);stroke:#93aab0;stroke-width:.5;transition:fill-opacity .18s}.gt-route-sky circle.chosen{stroke:#fff1b4;stroke-width:1}.gt-route-sky line{stroke:#789398;stroke-opacity:.25;stroke-width:1}.gt-route-sky line.lit{stroke:#ffe897;stroke-opacity:1}.gt-craft .gt-star-map,.gt-craft .gt-constellations,.gt-craft::before{display:none}.gt-craft .gt-actor{left:7%!important;width:47px;height:46px;bottom:25px}.gt-craft[data-sky-climax=true]{border-color:#e4c46e}.gt-craft[data-sky-complete=true]{background:radial-gradient(ellipse at center,#68888b,#27495e);box-shadow:inset 0 0 25px #ffe5a555}.gt-craft[data-sky-complete=true] .gt-route-sky{filter:drop-shadow(0 0 4px #ffe585);animation:gt-sky-complete .55s ease-out}
#multiSelectScreen.yt-game .gt-world-actions{gap:4px}#multiSelectScreen.yt-game .gt-world-actions button{font-size:11px;padding:5px 3px;min-width:0;flex:1}
#multiSelectScreen.yt-game .ms-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#multiSelectScreen.yt-game .ms-choice{font-size:13px;padding:8px 6px 8px 24px;min-height:50px;line-height:1.4}#multiSelectScreen.yt-game .ms-choice::before{left:6px}#multiSelectScreen.yt-game .ms-prompt{font-size:19px}#multiSelectScreen.yt-game .ms-help{font-size:11px}#multiSelectScreen.yt-game .ms-feedback strong{font-size:18px}
.gt-bridge .gt-world-objects{gap:2px;border-bottom:4px solid #735533;transition:gap .18s}.gt-bridge.gt-whole-bridge .gt-world-objects{gap:0;border-color:#896031}.gt-bridge.gt-whole-bridge .gt-world-piece{transform:none;box-shadow:0 -2px #ffe5a0}.gt-bridge[data-crossing=true] .gt-actor{animation:gt-cross-bridge .55s ease-in-out both}
#sentenceOrderScreen.yt-game .so-chunk.gt-landed{animation:gt-plank-land .2s ease-out}.gt-rival{max-width:110px;white-space:nowrap;transform:translateX(-50%);font-size:10px;opacity:.85;bottom:65px}
/* A single torch: outside arc=time, brightness=light, three sparks=skill. */
#timedChoiceScreen.yt-game :is(.tc-timer-label,.tc-timer-track){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#timedChoiceScreen.yt-game .gt-lantern{height:154px}.gt-lantern::before{display:none}.gt-light-orb{position:absolute;left:30%;top:30px;transform:translateX(-50%);width:83px;height:83px;border-radius:50%;background:conic-gradient(#ffe89c var(--deadline),#9fb2aa22 0);box-shadow:0 0 25px #ffec8e;opacity:var(--glow,.7);z-index:0}.gt-light-orb::before{content:'';position:absolute;inset:6px;background:radial-gradient(#e7c97b,#4a6071);border-radius:50%}.gt-light-orb i{position:absolute;bottom:-9px;left:18px;width:8px;height:8px;border-radius:50%;background:#6c8b8b}.gt-light-orb i:nth-child(2){left:36px}.gt-light-orb i:nth-child(3){left:54px}.gt-light-orb .lit{background:#fff2ab;box-shadow:0 0 6px #ffe8a9}.gt-light-orb[data-danger=true]{box-shadow:0 0 8px #e6b981}.gt-light-orb[data-ready=true]{box-shadow:0 0 30px #fff1b3}
#timedChoiceScreen.yt-game .gt-lantern .gt-actor{bottom:40px;width:62px;height:60px}#timedChoiceScreen.yt-game .gt-lantern .gt-world-objects{inset:37px 4% 66px 52%;align-items:center;gap:2px}.gt-lantern .gt-world-piece{font-size:18px}
#timedChoiceScreen.yt-game .gt-lantern .gt-skill{position:absolute;left:51%;right:4%;bottom:33px;z-index:4;min-height:44px;padding:4px;font-size:12px;background:#fff3cb;color:#68521c;border:1px solid #c3a667}#timedChoiceScreen.yt-game .gt-skill meter{display:none}
/* First result screen is for rank, partner, world outcome and one replay. */
.yt-game[data-completed=true] :is(.kd-hud,.mi-hud,.ms-progress,.ac-progress,.tc-progress,.so-progress,.ec-progress){display:none!important}
.yt-game .gt-result .gt-rank{font-size:32px}.yt-game .gt-result>h2{font-size:12px;font-weight:400;margin:4px}.yt-game .gt-result>.gt-portrait{width:106px;height:94px;margin:3px auto}.yt-game .gt-result>.gt-world-result{font-size:15px;font-weight:700;line-height:1.5}.yt-game .gt-result .gt-growth-result{margin:9px auto}.yt-game .gt-result .gt-growth-detail{font-size:10px}.yt-game .gt-result-details .gt-reward{font-size:12px}.yt-game .gt-result .gt-findings{margin:8px auto;max-width:430px}.yt-game .gt-result[data-triumph=true]{background:radial-gradient(ellipse at 50% 10%,#fff1b9,#fffaf0 60%)}.yt-game .gt-result[data-triumph=true]>.gt-portrait{animation:gt-result-salute .7s ease-out}.yt-game .gt-result[data-world=defend][data-triumph=true]::before{content:'旅路を守りきった！';display:block;font-size:13px;color:#7f6436;margin-bottom:5px}
@media(max-width:580px){#multiSelectScreen.yt-game .gt-craft{height:130px}.gt-findings{min-height:44px}.gt-route-hint{font-size:10px}.gt-scene-label{font-size:10px}.gt-result{margin-top:8px!important}}
@media(prefers-reduced-motion:reduce){.yt-game *, .yt-game *::before,.yt-game *::after{animation:none!important;transition:none!important}.gt-score-pop{opacity:0}}
@keyframes gt-arrive{from{opacity:.5;transform:translate(-75%,10px) scale(.7)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes gt-combo-hop{35%{transform:translate(-50%,-18px) rotate(8deg) scale(1.06)}70%{transform:translate(-50%,2px) scale(1.08,.94)}}
@keyframes gt-score-float{0%{opacity:0;transform:translate(-50%,8px) scale(.8)}15%,65%{opacity:1}100%{opacity:0;transform:translate(-50%,-19px)}}
@keyframes gt-impact{0%{opacity:1;transform:translate(-50%,-50%) scale(.3)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.5) rotate(35deg)}}
@keyframes gt-loot{40%{transform:translateY(-4px) rotate(3deg)}}
@keyframes gt-sky-complete{35%{transform:scale(1.05);filter:drop-shadow(0 0 9px #ffe585)}to{transform:scale(1)}}
@keyframes gt-cross-bridge{0%{transform:translateX(-50%);left:9%}50%{transform:translate(-50%,-6px)}100%{transform:translateX(-50%);left:88%}}
@keyframes gt-plank-land{50%{transform:translateY(3px) scale(1.04,.95);box-shadow:0 1px #9b784b}}
@keyframes gt-result-salute{35%{transform:translateY(-10px) rotate(5deg)}65%{transform:translateY(0) rotate(-3deg)}}
