/* Unified neon/obsidian theme. Brightness communicates hierarchy, not visual noise. */
:root{--bg:#080b15;--panel:#111727;--purple:#b8a2ff;--mint:#63f5d6;--line:#b8a2ff1a;--text:#f0f5ff;--muted:#929db8}body{background:#080b15;color:var(--text)}body>.ambient{background:radial-gradient(ellipse at 5% 5%,#6c43bd26,transparent 48%),radial-gradient(ellipse at 90% 75%,#167e9220,transparent 60%)}.topbar{background:#0b0f1cba;backdrop-filter:blur(20px);border-bottom:1px solid #a4bcff16}.brand-mark{color:#9d8bff;text-shadow:0 0 20px #9873ff77}.brand{font-weight:600;letter-spacing:3px}.brand b{font-weight:300;color:#b9a0ff}.brand small{letter-spacing:2px;color:#8e9bb9}.gold{background:#ffa72b0a;border-color:#ffcc7840}.primary{background:linear-gradient(120deg,#a58bff,#86b7ff);color:#12162a;border:1px solid #d1c7ff88;box-shadow:0 4px 24px #8e6be71f;font-weight:650}.primary:hover:not(:disabled){box-shadow:0 0 25px #a58bff44;filter:brightness(1.09)}.secondary,.glass-button{border-color:#c2caff25}.bottom-nav{background:#0c101fd9;border:1px solid #b6bdff22;box-shadow:0 20px 60px #0008;backdrop-filter:blur(25px)}.bottom-nav button.active{color:#c6b4ff;text-shadow:0 0 16px #9873ff77}.home-heading .hero-gem{opacity:.8}.home-heading h1{font-size:clamp(45px,4vw,74px);letter-spacing:-2px}.eyebrow{color:#a5b5dc;letter-spacing:2.5px}.campaign-region{background:linear-gradient(145deg,#151b2be8,#0c101de8);border-color:color-mix(in srgb,var(--region),transparent 78%);box-shadow:inset 0 1px 0 #ffffff08,0 15px 40px #0002}.campaign-region-title>span{filter:drop-shadow(0 0 9px var(--region))}.campaign-region-title h2{color:#ecf2ff}.campaign-stop.current>i{background:#171d30}.campaign-stop.boss-stop>i{background:#ee426111;box-shadow:0 0 20px #ff58671a}.campaign-region.cleared{border-color:#56cdbd44}.campaign-region.locked{opacity:.4}.map-layout,.settings-panel,.upgrade-card,.stat-card{background:linear-gradient(145deg,#141a2a,#0e1220);border-color:#acbbff1c;box-shadow:inset 0 1px 0 #ffffff05}.upgrade-card:hover{border-color:#ad97ff55}.upgrade-card .symbol{background:#b29aff0e;box-shadow:0 0 20px #b29aff0b}.section-heading h1 em{color:#ad9aff}.collection-button .collectible{border-radius:15px;box-shadow:0 7px 24px #0003}.collection-filters select{background:#12182a;border-color:#a9b6f033;color:#e8edff}.pack-intro{background:linear-gradient(120deg,#1d1a32,#101729);border-color:#b6a2ff30}.pack-icon{filter:drop-shadow(0 0 20px #ad82ff44)}dialog{background:linear-gradient(145deg,#1b2035,#101522);border-color:#c2adff33;box-shadow:0 30px 150px #000b}dialog::backdrop{background:#02050cd4;backdrop-filter:blur(9px)}
.in-encounter .topbar{background:linear-gradient(#070b17e8,#070b1788,transparent)}.in-encounter .play-panel{background:linear-gradient(150deg,#11182be8,#0b1020e3);border:1px solid #afbbff38;box-shadow:inset 0 1px 0 #dce4ff12,0 22px 90px #0009,0 0 35px #8b6bff0b;border-radius:22px}.in-encounter #game{border:1px solid #b6a1ff24;border-radius:15px;box-shadow:0 0 35px #856bff12,inset 0 0 25px #0008}.in-encounter .board-actions.abilities .skill{background:#0a1020;border:1px solid #9faeff22;border-radius:10px;color:#c3d1f1}.in-encounter .abilities .skill>span{color:#baaaff;text-shadow:0 0 13px #9579ff44}.in-encounter .abilities .skill:hover:not(:disabled){border-color:#ac99ff66;box-shadow:0 0 20px #a18cff15}.in-encounter .abilities .skill.selected{border-color:#7df5df;background:#6af5d015}.in-encounter .energy-title>div>span{color:#9aaccf;letter-spacing:2px}.in-encounter .energy-title strong{font-variant-numeric:tabular-nums;text-shadow:0 0 17px #a78aff44}.in-encounter .moves-circle{background:#8e9fff0b;border:1px solid #adbaff2b;border-radius:12px}.in-encounter .energy-bar{background:#040916;border:1px solid #bdbeff14;box-shadow:none}.in-encounter .energy-bar i{background:linear-gradient(90deg,#9c73ff,#6fdbff);box-shadow:0 0 15px #a48bff66}.in-encounter .active-modifier{color:#c4c1f1;letter-spacing:.2px}.in-encounter .special-help{color:#a7bddd}.in-encounter .stage-top>span{letter-spacing:2px;background:#0b1021ae;border:1px solid #b8a2ff24}.in-encounter .board-hint{color:#9caac6;font-size:10px}.in-encounter .scene-story h1{font-family:'Segoe UI',Arial,sans-serif;font-weight:300;letter-spacing:-.8px}.in-encounter .scene-story .eyebrow{letter-spacing:3px}.in-encounter .phase-guide h2{color:#e4dcff}.in-encounter .phase-guide{border-color:#b7a3ff24}
/* Boss identity is a dominant HUD, leaving the central video unobstructed. */
.boss-battle .battle-stage{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;top:129px;width:min(850px,calc(100% - var(--panel-width) - 74px));max-width:none}.boss-battle .boss-fighter{order:0;max-width:none;width:100%;padding:17px 21px 13px;background:linear-gradient(110deg,#231121c9,#111323ab);border:1px solid #ff798555;border-left:3px solid #ff6b82;border-radius:13px;box-shadow:0 0 40px #e4465c15,0 12px 35px #0005}.boss-battle .boss-fighter>small{font-size:9px;color:#ff9aa6;letter-spacing:3px}.boss-battle .boss-fighter h2{font-size:clamp(24px,2.4vw,39px);margin:5px 0 13px;letter-spacing:-.5px;font-family:Georgia,serif;text-shadow:0 0 25px #ff4f6c33}.boss-battle .boss-hp{height:11px;border-color:#ff9c9c22;background:#170916}.boss-battle .boss-hp i{background:linear-gradient(90deg,#e83c71,#ff816c,#ffc180);box-shadow:0 0 18px #ff647c77}.boss-battle .boss-fighter>p{font-size:11px;color:#f5c1b9;display:inline-block;margin:9px 0 0;font-variant-numeric:tabular-nums}.boss-battle .boss-fighter>span{float:right;display:block;font-size:9px;color:#ffd3a8;font-weight:650;margin-top:9px;letter-spacing:.4px}.boss-battle .hero-fighter{order:1;justify-self:start;width:230px;max-width:230px;padding:9px 13px;background:#0c1623ac;border-color:#8be8d330;border-radius:9px}.boss-battle .hero-fighter small{font-size:8px;color:#7de0cb;letter-spacing:1.5px}.boss-battle .hero-fighter h2{display:none}.boss-battle .hero-hp{height:5px;margin-top:7px}.boss-battle .hero-fighter>p{font-size:10px;margin-top:5px}.boss-battle .combat-log{border-color:#bf9cff22;color:#f6dbbc;background:#101321a8;letter-spacing:.3px}.boss-battle .stage-top>span{border-color:#ff7a8c44;color:#ffb4bf}.boss-battle .boss-fighter.hp-impact{animation:boss-hp-hit .28s ease-out}.boss-battle .hero-fighter.hp-impact{box-shadow:0 0 27px #ff718066}.boss-enraged .boss-fighter{border-color:#ff5369;box-shadow:0 0 35px #ff335b2b,inset 0 0 35px #d51e3e10}.boss-enraged .boss-fighter>small:after{content:' · FÚRIA';color:#ffd2a6}.boss-enraged .boss-hp i{background:linear-gradient(90deg,#e52262,#ff5270)}.boss-enraged .boss-fighter>span{color:#ffb2a2}.boss-intro-stats{border:0}dialog.boss-intro{background:radial-gradient(ellipse at top,#38202e,#101422 70%);border-color:#ff8c8c55}dialog.boss-intro>p{font-size:13px}
@keyframes boss-hp-hit{0%{box-shadow:0 0 45px #ff8b9866;background:#602937bb}100%{box-shadow:0 0 40px #e4465c15}}
@media(max-height:800px){.boss-battle .battle-stage{top:119px;gap:7px}.boss-battle .boss-fighter{padding:12px 16px 10px}.boss-battle .boss-fighter h2{font-size:26px;margin-bottom:9px}.boss-battle .boss-hp{height:8px}.boss-battle .hero-fighter{padding:7px 11px}.boss-battle .boss-fighter>span{font-size:8px}.boss-battle .boss-fighter>p{font-size:10px}.in-encounter .play-panel{border-radius:17px}}
.combat-reduced .boss-fighter.hp-impact{animation:none}

/* True vertical ascent. Every region forks three times and rejoins at its boss. */
body:not(.in-encounter)>.topbar{position:sticky;top:0;z-index:10}.world-cards.vertical-campaign{display:flex;flex-direction:column;align-items:center;gap:42px;max-width:1050px;margin:15px auto 40px;padding:0 30px;overflow:visible}.campaign-direction{font-size:10px;letter-spacing:2px;text-align:center;color:#adbbdd;padding:15px}.vertical-region{position:relative;width:100%;max-width:880px;border:1px solid color-mix(in srgb,var(--region),transparent 70%);border-radius:24px;background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--region),transparent 93%),transparent 60%),linear-gradient(145deg,#151b2be8,#0b101de8);padding:28px 36px;box-shadow:0 15px 80px #0003}.vertical-region:not(:last-child):after{content:'↑';position:absolute;bottom:-37px;left:calc(50% - 8px);font-size:23px;color:#a99bdc}.vertical-region.locked{opacity:.4}.vertical-region.active-region{border-color:color-mix(in srgb,var(--region),transparent 38%);box-shadow:0 0 65px color-mix(in srgb,var(--region),transparent 94%)}.vertical-region>header{display:flex;align-items:center;gap:20px;margin-bottom:26px}.vertical-region>header>span{font-size:40px;color:var(--region);filter:drop-shadow(0 0 13px var(--region))}.vertical-region>header small{font-size:9px;letter-spacing:2px;color:var(--region)}.vertical-region>header h2{font:34px Georgia;margin:6px 0 0}.vertical-region>header>b{margin-left:auto;font-size:9px;color:var(--region);letter-spacing:1px}.region-boss-gate{position:relative;display:flex;justify-content:center;align-items:center;gap:16px;margin:0 auto 18px;padding:18px 25px;max-width:600px;background:#ed516511;border:1px solid #ff7a8244;border-radius:15px}.region-boss-gate>i{font-style:normal;font-size:36px;color:#ff9ca3}.region-boss-gate small{font-size:8px;letter-spacing:2px;color:#ff9ca3}.region-boss-gate h3{font:23px Georgia;margin:4px 0 6px}.region-boss-gate span{font-size:10px;color:#d9a9bc}.region-boss-gate:after{content:'';position:absolute;left:50%;bottom:-19px;height:18px;border-left:1px solid #bba2ff33}.region-boss-gate.current{box-shadow:0 0 35px #f45d6b25;border-color:#ff8b8b99}.fork-level{position:relative;max-width:650px;margin:0 auto;padding:18px 0 23px}.fork-level:after{content:'';position:absolute;left:50%;bottom:-8px;height:30px;border-left:1px solid #bba2ff2c}.fork-stage-label{text-align:center;font-size:10px;letter-spacing:1.2px;color:#a8b6d2;margin-bottom:20px}.fork-options{display:grid;grid-template-columns:1fr 1fr;gap:40px;position:relative}.fork-options:before{content:'';position:absolute;top:-13px;left:25%;right:25%;height:10px;border:1px solid #bba2ff33;border-top:0;border-radius:0 0 12px 12px}.fork-option{position:relative;display:grid;justify-items:center;align-content:center;min-height:108px;padding:13px 12px;border:1px solid #a7b4e12b;border-radius:13px;background:linear-gradient(145deg,#1a2134,#101625);text-align:center;gap:6px}.fork-option i{font-style:normal;font-size:22px;color:#b9a5ff}.fork-option strong{font-size:12px;color:#e0e8ff;font-weight:600}.fork-option span{font-size:10px;color:#a3b4d2;line-height:1.5}.fork-option b{font-size:7px;letter-spacing:1px;color:#81edcf;margin-top:4px}.fork-option:disabled{opacity:.55}.fork-level.done .fork-option.selected{opacity:1;border-color:#6edac066;background:#62cbaa12}.fork-level.current .fork-option{border-color:#bda2ff66;box-shadow:0 0 22px #9879ff10;opacity:1}.fork-level.current .fork-option:hover:not(:disabled){border-color:#d6c2ff;transform:translateY(-3px);box-shadow:0 0 30px #b29bff22}.fork-option.selected{border-color:#8df3d1!important;background:linear-gradient(135deg,#1a3b3b,#192c39)!important;box-shadow:0 0 25px #69e3c417!important}.vertical-region>footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:23px;border-top:1px solid #b7a5ff15;padding-top:20px}.vertical-region>footer>span{font-size:10px;color:#8e9ebc}.vertical-region>footer button{font-size:12px;min-width:230px}.branching-region-map .map-layout{grid-template-columns:minmax(0,.85fr) minmax(500px,1fr)}.branching-region-map .map-route{padding:28px 32px}.branching-region-map #route-track{display:block;margin:20px 0}.local-boss-gate{text-align:center;background:#f15d7212;border:1px solid #ff9e8b33;padding:14px;border-radius:12px;font:20px Georgia;color:#ffc0b4}.local-boss-gate.current{border-color:#ff9e8b99;box-shadow:0 0 28px #e75c6e22}.local-forks .fork-options{gap:20px}.local-forks .fork-option{min-height:95px}.local-forks .fork-level{padding:18px 0 20px}.map-rise-label{text-align:center;font-size:9px;letter-spacing:2px;color:#a4b6d6;margin:18px 0 0}.path-preparation{padding:13px;background:#7ce5cc10;border:1px solid #7ce5cc33;border-radius:10px;color:#abecd9;font-size:12px}

/* Worlds are separate destinations; phase confirmation never leaves the viewport. */
.world-selection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%;margin:20px auto 30px;max-width:1580px}.world-selection-card{position:relative;min-height:395px;padding:23px;background-image:linear-gradient(0deg,#0a1020 12%,#0a1020cc 50%,#0a102011),var(--world-art);background-position:center;background-size:cover;border:1px solid color-mix(in srgb,var(--region),transparent 65%);border-radius:21px;box-shadow:0 18px 50px #0004;overflow:hidden}.world-selection-heading{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.5px;color:var(--region)}.world-selection-heading>span{padding:6px 8px;border:1px solid color-mix(in srgb,var(--region),transparent 70%);border-radius:7px;background:#070c1890}.world-selection-identity{padding:25px 0 15px}.world-selection-identity i{display:block;font-style:normal;font-size:37px;color:var(--region);filter:drop-shadow(0 0 17px var(--region));line-height:1}.world-selection-identity h2{font:30px Georgia;margin:13px 0 7px}.world-selection-identity p{font-size:9px;color:#aebbd6;letter-spacing:1.7px;margin:0}.world-selection-facts{display:flex;gap:9px;margin:8px 0 13px}.world-selection-facts span{background:#ffffff08;border:1px solid #ffffff12;padding:5px 9px;border-radius:6px;font-size:10px;color:#bfcae1}.world-rewards{font-size:12px;line-height:1.9;color:#edcf9e;margin-bottom:11px}.world-requirements{font-size:10px;line-height:1.6;color:#aebbd6;min-height:30px;margin-bottom:15px}.world-selection-card>button{width:100%;font-size:12px}.world-selection-card.locked{border-color:#8191b52b}.world-selection-card.locked .world-selection-identity{filter:saturate(.45)}.world-selection-card.locked>button{opacity:.65}.home-heading{padding:25px 0 18px}.home-heading h1{font-size:48px}.home-heading .hero-gem{height:155px}.home-heading .big-gem{font-size:125px}.home-heading .gem-orbit{width:140px;height:140px}.home-heading .gem-orbit.second{width:200px;height:85px}
#map.compact-phase-selection{padding-bottom:82px}#map.compact-phase-selection .page-heading{padding:10px 0;height:42px;min-height:0}#map.compact-phase-selection .map-layout{height:calc(100dvh - 230px);min-height:400px;display:grid;grid-template-columns:42% minmax(0,1fr);overflow:hidden}#map.compact-phase-selection .map-world{min-height:0;height:100%}#map.compact-phase-selection .map-caption{padding:0;bottom:26px}#map.compact-phase-selection .map-caption h1{font-size:36px}#map.compact-phase-selection .map-route{min-height:0;padding:20px 26px;display:flex;flex-direction:column;overflow:auto}#map.compact-phase-selection .map-route>h2{font-size:24px;margin:0 0 7px}#map.compact-phase-selection .map-route>.eyebrow{font-size:8px;margin-bottom:7px}#map.compact-phase-selection .map-route>.muted{font-size:10px;line-height:1.5;margin-bottom:8px}#map.compact-phase-selection #route-track{display:block;margin:8px 0 16px;flex:none}.compact-phase-track{display:flex;align-items:center;justify-content:space-between;gap:12px}.compact-phase-node{position:relative;display:flex;align-items:center;gap:8px;flex:1}.compact-phase-node:not(:last-child):after{content:'';height:1px;background:#b3a2ff33;flex:1}.compact-phase-node i{font-style:normal;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#0c1322;border:1px solid #a5b2df33;font-size:12px}.compact-phase-node span{font-size:8px;letter-spacing:1px;white-space:nowrap}.compact-phase-node.current i{border-color:#beabff;color:#e6d9ff;box-shadow:0 0 20px #af95ff33}.compact-phase-node.done i{background:#77e2c51b;border-color:#77e2c555;color:#90f2d5}.compact-phase-node.boss-node i{border-radius:8px;color:#ffb5a3}.phase-selection-title h3{font:24px Georgia;margin:0 0 7px}.phase-selection-title .eyebrow{font-size:8px;margin-bottom:7px}.phase-selection-title>p:last-child{font-size:10px;color:#a4b6d6;margin-bottom:14px}.phase-current-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.phase-path-option{padding:17px 13px;min-height:130px;display:grid;justify-items:center;align-content:center;gap:8px;border:1px solid #a2b1e544;border-radius:13px;background:linear-gradient(145deg,#1b2237,#101727);text-align:center}.phase-path-option i{font-style:normal;font-size:24px;color:#b7a5ff}.phase-path-option strong{font-size:13px}.phase-path-option span{font-size:11px;color:#b0bfd9;line-height:1.5}.phase-path-option small{font-size:7px;color:#869cbf;letter-spacing:1px}.phase-path-option.selected{border-color:#90f4d3;background:linear-gradient(135deg,#1c3739,#172b38);box-shadow:0 0 28px #78f6d412}.phase-path-option.selected small{color:#a0ffdf}.phase-video-hint{font-size:10px;line-height:1.6;color:#8fa4c7;margin:12px 0 0}.phase-equipped-upgrade{font-size:11px;line-height:1.5;color:#cbbaf4;padding:10px 0;margin-bottom:0}.phase-confirm-dock{position:fixed;left:0;right:0;bottom:0;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:12px 40px;border-top:1px solid #acb7ff33;background:#0c1224ee;backdrop-filter:blur(20px);box-shadow:0 -12px 50px #0005}.phase-confirm-dock>div{display:flex;align-items:center;gap:16px}.phase-confirm-dock small{font-size:10px;color:#b8a8dd}.phase-confirm-dock strong{font-size:13px}.phase-confirm-dock span{font-size:11px;color:#9bb1d6}.phase-confirm-dock #start-linear{width:360px;flex:none;padding:14px}.phase-boss-instructions{font-size:14px;line-height:1.9;background:#fa806c0c;border:1px solid #fa806c33;padding:20px;border-radius:12px}
/* Upgrade explanation is directly over each card's permanent video. */
.modifier-offer{position:relative}.modifier-offer .upgrade-preview .card-art{height:clamp(340px,52dvh,540px)}.modifier-offer .upgrade-preview .card-label{display:none}.upgrade-video-overlay{position:absolute;left:0;right:0;bottom:0;padding:58px 20px 22px;background:linear-gradient(transparent,#090d19e8 25%,#090d19fa);text-align:left;pointer-events:none}.upgrade-video-overlay>small{font-size:8px;letter-spacing:1.5px;color:#b5a4e4}.upgrade-video-overlay h3{font:26px Georgia;margin:9px 0;color:#f0eaff}.upgrade-video-overlay p{font-size:13px;line-height:1.7;color:#d2def3;margin:0 0 13px}.upgrade-video-overlay b{display:block;font-size:11px;color:#9deacf;margin:0 0 15px}.upgrade-video-overlay span{display:block;padding:10px;border:1px solid #b8a2ff55;border-radius:8px;text-align:center;background:#a58bff19;font-size:12px;color:#f1e6ff}.modifier-dialog .modal-actions{position:sticky;bottom:0;background:#111623ef;padding-top:12px}.modifier-offer:hover .upgrade-video-overlay span{background:#ac91ff2e}.modifier-offer.column .upgrade-video-overlay h3{color:#b7edff}
@media(max-height:800px){#map.compact-phase-selection .map-layout{height:calc(100dvh - 215px);min-height:360px}#map.compact-phase-selection .map-route{padding:14px 20px}#map.compact-phase-selection .map-route>h2{font-size:22px}.phase-selection-title h3{font-size:21px}.phase-path-option{min-height:110px;padding:12px}.phase-video-hint{font-size:9px}.upgrade-video-overlay p{font-size:12px}.upgrade-video-overlay h3{font-size:23px}.world-selection-card{min-height:365px}}

.upgrade-video-overlay h3{color:var(--upgrade-color,#e6dbff);text-shadow:0 0 18px color-mix(in srgb,var(--upgrade-color,#a89bff),transparent 65%)}

#map.compact-phase-selection .map-route>.eyebrow,#map.compact-phase-selection .map-route>h2,#map.compact-phase-selection .map-route>.muted{display:none}.boss-points-only .battle-stage{display:none!important}.boss-points-only .scene-story>*{visibility:visible}.boss-points-only .scene-story h1{color:#ffe3ae;text-shadow:0 0 28px #ff6c2f77}.boss-points-only .stage-top>span{color:#ffcc8b;border-color:#ff8a4466;background:#32170fc2}.boss-points-only .play-panel{border-color:#ff9d5866;box-shadow:0 0 35px #ff641c38,inset 0 0 22px #ff941c10,0 20px 75px #0008}.boss-points-only .energy-bar i{background:linear-gradient(90deg,#ff6633,#ffc158);box-shadow:0 0 18px #ff782e88}.boss-flame-frame{display:none;position:absolute;inset:0;pointer-events:none;z-index:4;border:2px solid #ffc16a70;box-shadow:inset 0 0 38px #ff632d55,inset 0 0 90px #ff7b171c}.boss-points-only .boss-flame-frame{display:block}.flame-edge{position:absolute;width:22px;height:45px;background:radial-gradient(ellipse at 50% 75%,#fff7b9 0,#ffc247 22%,#ff692d99 55%,transparent 72%);clip-path:polygon(50% 0,63% 39%,83% 23%,78% 59%,100% 80%,75% 100%,25% 100%,0 79%,24% 50%,35% 23%,40% 57%);filter:drop-shadow(0 0 9px #ff7b2c);opacity:.8;animation:frame-fire var(--speed) ease-in-out var(--delay) infinite alternate}.edge-0{left:var(--pos);bottom:-9px;transform-origin:bottom}.edge-1{right:-9px;top:var(--pos);rotate:-90deg;transform-origin:bottom}.edge-2{left:var(--pos);top:-9px;rotate:180deg;transform-origin:bottom}.edge-3{left:-9px;top:var(--pos);rotate:90deg;transform-origin:bottom}@keyframes frame-fire{0%{scale:.7 .6;opacity:.45;translate:-2px 0}100%{scale:1.15 1.3;opacity:.95;translate:3px -4px}}.combat-reduced .flame-edge{animation:none;opacity:.45;scale:.8}.cinema .boss-flame-frame{display:none}

body:has(#map:not([hidden])) .bottom-nav{display:none}

/* Landscape source stays fully outside the floating gameplay panel. */
.in-encounter .stage-media .scene-video.wide-scene,
.in-encounter .boss-battle .stage-media .scene-video.wide-scene{left:20px;top:90px;width:calc(100% - var(--panel-width) - 60px);height:calc(100% - 120px);object-fit:contain;object-position:center}
.in-encounter #encounter.cinema .stage-media .scene-video.wide-scene{left:0;top:0;width:100%;height:100%}

/* Combo tools and the post-run learning path. */
#progress-coach{padding:20px;margin:12px 0 22px;border:1px solid #7fffd7;border-radius:18px;background:linear-gradient(110deg,#173e42,#24193c);box-shadow:0 0 30px #7fffd71a}#progress-coach strong{color:#a6ffe0;font-size:20px}#progress-coach p{max-width:850px;line-height:1.6}.progress-guide-focus{outline:3px solid #9cffdc!important;outline-offset:5px;box-shadow:0 0 28px #7fffd766!important}.abilities #plus-power{border-color:#c59aff;background:linear-gradient(120deg,#422a5655,#153f4555)}.abilities #minus-power{border-color:#ffab6b;background:linear-gradient(120deg,#59291777,#351c3355)}.abilities #pulse{border-color:#8bdfff}.abilities .skill:hover{box-shadow:0 0 24px #a1eaff55;transform:translateY(-2px)}

.abilities #minus-power{border-color:#aa95ff;background:linear-gradient(110deg,#16425299,#48235399)}.abilities #minus-power:hover{box-shadow:0 0 28px #a575ff66}.topbar .player{gap:14px}.result-rewards span:only-child{min-width:180px}

.audio-credits{margin:20px 0;color:#bab4cf;font-size:12px}.audio-credits summary{cursor:pointer}.audio-credits a{color:#bda8ff}.audio-credits p{margin:12px 0}
