.encounter-introduction{width:min(560px,100vw - 24px);max-width:none;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));color:#efdfbf;box-sizing:border-box;background:#211b16;border:1px solid #a3824c;border-radius:13px 8px;padding:0;overflow:hidden;box-shadow:0 14px 60px #000d}.encounter-introduction::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#080609cf}.encounter-page{max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));background:radial-gradient(at 20% 0,#6c482736,#0000 60%),repeating-linear-gradient(80deg,#be965907 0 1px,#0000 1px 5px),#211b16;flex-direction:column;animation:.22s ease-out entry-reveal;display:flex}.encounter-page header{text-align:center;flex-shrink:0;padding:15px 16px 10px}.entry-eyebrow{color:#c1a87d;letter-spacing:.15em;margin:0 0 7px;font:9px/1.4 system-ui,sans-serif}.entry-eyebrow span{white-space:nowrap}.encounter-page h2{letter-spacing:.04em;color:#ffe3aa;text-wrap:balance;margin:0;font:clamp(20px,5.4vw,28px)/1.15 Georgia,serif}.entry-reading{overscroll-behavior:contain;min-height:0;padding:0 13px;overflow:auto}.entry-art{background:#110e0b;border:1px solid #8c6b3e;border-radius:7px;gap:8px;height:clamp(165px,34dvh,280px);display:flex;overflow:hidden;box-shadow:0 3px 12px #0005}.entry-foe{flex-direction:column;flex:1;min-width:0;margin:0;display:flex;position:relative;overflow:hidden}.entry-foe>img{object-fit:cover;object-position:50% 30%;flex:1;width:100%;height:100%;min-height:0;display:block}.entry-foe figcaption{text-align:center;background:linear-gradient(#31271c,#1b1713);border-top:1px solid #8b6a3d;flex-shrink:0;gap:3px;padding:8px 4px;font:13px/1.35 system-ui,sans-serif;display:grid}.entry-foe strong{color:#ffe5b8;font-family:Georgia,serif;font-size:17px}.entry-foe figcaption span{color:#e0cda9}.entry-foe i{color:#ad8951;padding:0 7px;font-style:normal}.entry-multiple .entry-foe strong{font-size:14px}.entry-multiple .entry-foe figcaption{padding:7px 3px;font-size:12px}.entry-multiple .entry-foe i{padding:0 3px}.entry-field-plate{background:radial-gradient(at 50% 45%,#ead2a1,#ad8658);flex:1;width:100%;height:100%;min-height:0;position:relative;overflow:hidden;box-shadow:inset 0 0 24px #5d341c88}.entry-field-plate>svg{width:100%;height:100%;display:block}.entry-field-plate>span{text-align:center;color:#513c29;letter-spacing:.16em;font:8px system-ui,sans-serif;position:absolute;bottom:5px;left:0;right:0}.entry-ink-symbol .map-glyph{fill:none;stroke:#3f2c19;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.entry-ink-symbol .map-glyph .map-camp-flame{fill:#aa692d44}.entry-description{color:#e8d7b9;text-align:center;text-wrap:pretty;margin:12px 4px 9px;font:15px/1.48 Georgia,serif}.entry-detail{color:#c5ae88;text-align:center;margin:0 2px 13px;font:12px/1.4 system-ui,sans-serif}.encounter-page footer{background:#221b14;border-top:1px solid #8e6d3e55;flex-shrink:0;gap:8px;padding:11px 13px 13px;display:flex}.encounter-page button{touch-action:manipulation;cursor:pointer;border:1px solid #a6844d;border-radius:6px;flex:1;min-height:46px;padding:10px 7px;font:700 15px/1.2 Georgia,serif}.entry-primary{color:#241b12;background:#c5a16b;box-shadow:inset 0 1px #f5d8a4}.entry-secondary{color:#e3cdab;background:#35291d}.encounter-page button:focus-visible{outline-offset:2px;outline:2px solid #ffe0a0}.encounter-page button:disabled{opacity:.55;cursor:default}.encounter-boss{background:radial-gradient(at top,#633e5a44,#0000 65%),#21191a}.encounter-boss .entry-art{border-color:#c29c5a;box-shadow:0 0 15px #9767a12b}.encounter-boss h2{color:#ffe7ae}.introduction-active .board-wrap,.introduction-active #hero-panel,.introduction-active #enemy-panel,.introduction-active #feedback-area{display:none!important}@keyframes entry-reveal{0%{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:none}}.entry-simplified .encounter-page{animation:none}@media (prefers-reduced-motion:reduce){.encounter-page{animation:none}}@media (max-height:700px){.encounter-page header{padding:12px 12px 9px}.entry-art{height:31dvh}.entry-description{margin:10px 2px 8px;font-size:14px;line-height:1.4}.entry-detail{margin-bottom:10px}.encounter-page footer{padding-top:9px}.entry-eyebrow{font-size:8px}}html.encounter-open,html.encounter-open body{overflow:hidden}.entry-foe>img{object-fit:contain;object-position:center;background:#110e0b}.entry-scene{object-fit:contain;width:100%;height:100%;display:block}.encounter-boss .entry-foe{background:linear-gradient(#09080bb8,#09080bb8),url(../artwork/scenes/Guardians%20Sanctum.webp) 50%/cover}.encounter-boss .entry-foe>img{background:0 0}.encounter-page footer{flex-wrap:wrap}.encounter-page footer button{min-width:110px}#dungeon-map[hidden]{display:none}#dungeon-map{box-sizing:border-box;grid-column:1/-1;width:100%;max-width:580px;margin:auto;padding:8px 0 14px}#dungeon-map h2{color:#edd6a7;white-space:nowrap;margin:0;font:clamp(19px,5.2vw,24px) Georgia,serif}#dungeon-map .map-header{justify-content:space-between;align-items:center;gap:6px;min-height:44px;margin:6px 0;display:flex}.map-tools{flex-shrink:0;gap:5px;display:flex}.map-tools button{color:#f1dcae;touch-action:manipulation;background:#35261b;border:1px solid #8a6a42;border-radius:7px;min-width:64px;min-height:44px;padding:6px 8px;font:13px Georgia,serif}.map-tools button:focus-visible{outline-offset:2px;outline:2px solid #f5d78a}.map-tools .map-overview[aria-pressed=true]{color:#fff0c7;background:#6a4926}#dungeon-map p{color:#ccbda7;margin:8px 0;font:14px/1.5 system-ui,sans-serif}#dungeon-map .map-resources{color:#f4dcae}.map-viewport{box-sizing:content-box;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-color:#93724a #dbc18f;scrollbar-width:thin;background:#d9b77b;border:2px solid #845326;border-radius:13px 9px 14px 8px;width:calc(100% - 4px);height:clamp(280px,53svh,460px);overflow:auto;box-shadow:0 0 0 1px #3c2415,inset 0 0 28px #5a341b44,0 4px 16px #0005}.map-viewport:focus-visible{outline-offset:3px;outline:2px solid #f5d78a}.dungeon-chart{background:radial-gradient(at 48% 42%,#f6dfa16b,#0000 58%),radial-gradient(at 2% 12%,#80431e66,#0000 19%),radial-gradient(at 96% 88%,#81451e66,#0000 23%),radial-gradient(at 12% 93%,#a3632e55,#0000 25%),radial-gradient(at 89% 5%,#97542455,#0000 28%),repeating-linear-gradient(73deg,#52371e06 0 1px,#0000 1px 4px),#d9b77b;position:relative;box-shadow:inset 0 0 20px #6d37164d,inset 0 0 4px #65371588}.dungeon-chart svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.map-paper-grain{opacity:.2;mix-blend-mode:multiply}.map-hatching{fill:none;stroke:url(#map-hatch);stroke-width:17px;stroke-linejoin:bevel}.map-room{fill:#edce91b3;stroke:#49311b;stroke-width:2px;stroke-linejoin:round}.map-room-current{fill:#f0d49bbb;stroke:#46331d;stroke-width:2px}.map-masonry{fill:#dbc18d;stroke:#4d351e;stroke-width:.65px;stroke-linejoin:round}.map-rock-wall{fill:#c2a36b88;stroke:#674421;stroke-width:.7px;stroke-linejoin:round}.map-masonry:nth-child(3n){fill:#cbb07b}.map-rock-wall:nth-child(3n){fill:#dec18d}.map-pillars{fill:#d8bd85;stroke:#614125;stroke-width:.85px;stroke-linejoin:round}.map-steps{fill:none;stroke:#6b4826;stroke-width:.8px}.map-floor-crack{fill:none;stroke:#79522c;stroke-width:.65px;opacity:.75}.map-floor-scratch{fill:none;stroke:#8a663a;stroke-width:.6px;opacity:.7}.map-pool{fill:#79827566;stroke:#6b705c;stroke-width:.85px}.map-pool .map-water{fill:none;stroke:#566050;stroke-width:.65px}.map-wall-echo{fill:none;stroke:#71583b;stroke-width:.55px;opacity:.6;stroke-dasharray:17 3 8 2}.map-stone{fill:none;stroke:#7c6546;stroke-width:.7px;stroke-linecap:round;opacity:.7}.map-rubble{fill:#856d4c66;stroke:#6b5237;stroke-width:.8px}.map-hall-wall,.map-hall-stone,.map-hall-floor,.map-hall-sketch{fill:none;stroke-linejoin:round;stroke-linecap:butt}.map-hall-wall{stroke:#50351e;stroke-width:18px}.map-hall-stone{stroke:#ccb17c;stroke-width:16px}.map-hall-floor{stroke:#e1c18a;stroke-width:12px;stroke-linecap:round}.map-hall-joints{fill:none;stroke:#644323;stroke-width:.65px}.map-hall-sketch{stroke:#9f8661;stroke-width:.55px;stroke-dasharray:1 9;opacity:.45}.map-glyph{fill:none;stroke:#382716;stroke-width:2.15px;stroke-linecap:round;stroke-linejoin:round}.map-symbol-paper{fill:#efd39bdc;stroke:none}.map-location-ring{fill:#f4dca8;stroke:#8b3d21;stroke-width:1.5px}.map-completion-seal circle{fill:#f4dca8;stroke:#382716;stroke-width:1.3px}.map-completion-seal path{stroke-width:2.4px}.map-player-ring{fill:none;stroke:#9b542e;stroke-width:.8px;stroke-dasharray:29 3 5 2}.map-player{fill:#8a351d;stroke:#562919;stroke-width:1.1px}.map-overview-player{fill:#f6dfaa;stroke:#9a3d20;stroke-width:2px;vector-effect:non-scaling-stroke}.map-pin-dot{fill:#efdcad;stroke:none}.map-room-number{text-anchor:middle;fill:#48301d;paint-order:stroke;stroke:#ecd198;stroke-width:2px;stroke-linejoin:round;font:italic 9px Georgia,serif}.map-content-icon{fill:#593a20;paint-order:stroke;stroke:#ead09a;stroke-width:2px;stroke-linejoin:round;font:700 11px Georgia,serif}.map-key{color:#f2dfbc;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 7px;padding:0 8px 8px;font:12px/1.2 system-ui,sans-serif;display:grid}.map-key>span{align-items:center;gap:5px;min-width:0;min-height:23px;display:flex}.map-key svg{background:#e4c58c;border-radius:3px;flex:none;width:23px;height:23px}.map-legend{color:#f0d7aa;background:#241c16;border:1px solid #715236;border-radius:7px;margin:8px 0;padding:0;font:14px Georgia,serif}.map-legend summary{cursor:pointer;touch-action:manipulation;min-height:44px;padding:12px 9px;font-weight:600;display:list-item}.map-legend summary span{float:right;color:#cabb9f;font:400 11px/1.6 system-ui,sans-serif}@media (min-width:600px){.map-key{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 10px;font-size:13px}}.adventure-journal{color:#ead9be;background:#241b16;border:1px solid #765438;border-radius:7px;margin:8px 0;padding:10px 12px;font:13px/1.4 system-ui,sans-serif}.adventure-journal h3{letter-spacing:.04em;color:#efd7a5;margin:0 0 6px;font:small-caps 17px Georgia,serif}.adventure-journal h4{color:#e8c991;margin:8px 0 2px;font:600 12px system-ui,sans-serif}.adventure-journal p{margin:3px 0!important}.adventure-journal ul{margin:3px 0;padding-left:18px}.journal-status{color:#e3c487;font-weight:600}.room-panel{color:#f3ddb5;background:#2c2019;border:1px solid #7d603c;border-radius:7px;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 8px;font:14px/1.4 system-ui,sans-serif;display:flex}.room-panel button{color:#ffebc5;touch-action:manipulation;background:#49331f;border:1px solid #af8a55;border-radius:6px;min-height:44px;padding:5px 10px}.room-panel button:disabled{opacity:.5}.room-panel [role=status]{color:#e8cb91}.map-floor-label{color:#e4c486!important;margin:0 0 5px!important;font:italic 13px/1.4 Georgia,serif!important}.room-panel small{color:#cdbb9e;font-size:12px}.journal-objective{color:#d8bf91!important;font-size:12px!important}.map-door{color:#472e15;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:44px;height:44px;min-height:44px;padding:0;display:grid;position:absolute;transform:translate(-50%,-50%)}.map-door span{filter:drop-shadow(0 1px 1px #59391e66);place-items:center;width:30px;height:28px;display:grid}.map-door svg{width:30px;height:28px;position:static;overflow:visible}.map-exit-tab{fill:#f2dba6;stroke:#493019;stroke-width:1.6px;paint-order:stroke;stroke-linejoin:round}.map-exit-arrow{stroke:#382716;stroke-width:2.6px}.map-glyph-unexplored-exit .map-exit-tab{fill:#4d311a;stroke:#f3d59c;stroke-width:2.5px}.map-glyph-unexplored-exit .map-exit-arrow{stroke:#ffe0a4}.map-door:hover span,.map-door:focus-visible span{outline-offset:1px;border-radius:4px;outline:2px solid #57371d}.map-door:disabled{opacity:.5;cursor:default}#battle-screen.map-open{max-width:640px;display:block}#battle-screen.map-open .battle-topbar{grid-template-columns:minmax(0,1fr) auto 86px;height:44px;display:grid}#battle-screen.map-open .battle-topbar h1{grid-column:auto}#battle-screen.map-open .board-wrap,#battle-screen.map-open #enemy-panel,#battle-screen.map-open #enemy-panel.multi-enemy,#battle-screen.map-open #hero-panel,#battle-screen.map-open #feedback-area{display:none}#battle-screen #enemy-panel.multi-enemy{background:0 0;border:0;padding:0;display:block}#enemy-panel.multi-enemy>.combat-portrait,#enemy-panel.multi-enemy>.combat-detail{display:none!important}#enemy-roster{gap:5px;width:100%;display:grid}.enemy-target{color:#f4dfbf;text-align:left;touch-action:manipulation;background:linear-gradient(110deg,#302319,#1e1814);border:2px solid #685340;border-radius:9px;flex-direction:column;justify-content:center;gap:3px;min-width:0;height:84px;padding:5px;display:flex;position:relative}.enemy-target[aria-pressed=true]{outline-offset:-1px;border-color:#f3cf72;outline:1px solid #f3cf72}.enemy-target[data-next=true]{box-shadow:inset 0 0 0 2px #ed6d43}.enemy-target[data-next=true] .enemy-mini-intent{color:#ffac87;border-bottom:2px solid #ed6d43}.enemy-target[data-defeated=true]{opacity:.5;filter:grayscale(.6)}.enemy-mini-heading{align-items:center;gap:4px;min-width:0;height:28px;display:flex}.enemy-mini-heading strong{overflow-wrap:normal;font:600 12px/1.05 Georgia,serif}.enemy-mini-portrait{object-fit:contain;background:#15110e;border:1px solid #7a6346;border-radius:4px;flex:none;place-items:center;width:25px;height:25px;font:8px Georgia,serif;display:grid}span.enemy-mini-portrait{font-size:6.5px;overflow:hidden}#enemy-placeholder[data-kind=cave-spider],#enemy-placeholder[data-kind=shadow-stalker]{letter-spacing:0;font-size:9px;overflow:hidden}.enemy-mini-hp{white-space:nowrap;color:#fff0d9;font-size:12px;font-weight:700;line-height:1}.enemy-mini-bar{background:#160f0e;border-radius:3px;height:4px;display:block;overflow:hidden}.enemy-mini-bar i{background:#cf4b50;height:100%;display:block}.enemy-mini-intent{white-space:nowrap;color:#cbb59b;align-self:stretch;font-size:10px;font-weight:700;line-height:1.3}@media (min-width:600px){.enemy-mini-heading strong{font-size:15px}.enemy-mini-portrait{width:30px;height:30px}.enemy-mini-hp{font-size:14px}.enemy-mini-intent{font-size:12px}}#battle-screen .battle-topbar h1{font-size:17px}#room-indicator{color:#dfc998;letter-spacing:0;margin-top:2px;font:600 12px/1.3 system-ui,sans-serif;display:block}#enemy-placeholder{letter-spacing:.08em;color:#c1b59d;background:radial-gradient(circle,#453f2b,#171510);border-radius:50%;place-items:center;font:600 15px Georgia,serif;display:grid}#enemy-placeholder[hidden]{display:none}#enemy-panel[data-elite=true] .combat-portrait{border-color:#d5ad61;box-shadow:0 0 7px #d5ad6133}.result-card #result-continue,.result-card #result-new{width:100%;min-height:44px;margin:10px 0;display:block}.result-card button[hidden]{display:none!important}.result-card #result-return{min-height:44px}#adventure-test-result{white-space:pre-line;font-size:13px}@media (max-width:480px){.result-card{padding:14px 12px}.result-card #result-title{font-size:27px}.result-card #result-hp,.result-card #result-message{font-size:14px;line-height:1.4}}#enemy-panel[data-boss=true] .combat-portrait{border:2px solid #d9b67d;box-shadow:0 0 12px #a878bd55}#enemy-panel[data-boss=true] #enemy-name{color:#f0d29b}.adventure-conquered .result-card{overscroll-behavior:contain;max-height:min(76dvh,650px);overflow-y:auto}.adventure-conquered #result-title{letter-spacing:.06em;font-size:22px;line-height:1.2}.adventure-conquered #result-hp{white-space:pre-line;color:#f0dfbc;line-height:1.5}.adventure-opening{color:#ead5ab;background:#231c14;border:1px solid #9b7d48;border-radius:8px;margin:8px 0;padding:10px 12px;font-size:13px;line-height:1.4}.adventure-opening p{margin:5px 0}.adventure-opening button{min-height:44px;margin-top:6px}.map-room.map-sanctum{stroke:#76511f;stroke-width:4px;fill:#d8ba7d}.map-guardian-crown{fill:#d6af60;stroke:#402b16;stroke-width:1.8px;stroke-linejoin:round}@media (max-width:480px){.adventure-conquered .result-card #result-title{font-size:20px}.adventure-conquered .result-card #result-hp{font-size:13px}}#dungeon-map[data-review-complete=true] .map-header{flex-wrap:wrap}.adventure-opening img{object-fit:cover;object-position:center 46%;box-sizing:border-box;border:1px solid #8c6b3e;border-radius:6px;width:100%;height:clamp(156px,44vw,200px);max-height:none;margin:0 auto 10px;display:block}.result-card .result-art{object-fit:contain;border-radius:6px;width:100%;max-height:132px;margin:0 auto 8px;display:block}@media (max-height:700px){.result-card .result-art{max-height:90px}}#outcome.adventure-defeat{z-index:50;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));position:fixed;inset:0}.adventure-defeat .result-card{box-sizing:border-box;overscroll-behavior:contain;max-height:calc(100svh - 28px);padding:14px;overflow-y:auto}.adventure-defeat .result-card #result-title{margin:10px 0;font-size:25px;line-height:1.15}.adventure-defeat .result-card .result-art{max-height:min(18svh,110px)}.adventure-defeat .result-card #result-message,.adventure-defeat .result-card #result-hp,.adventure-defeat .result-card #result-checkpoint{margin:8px 0;font-size:13px;line-height:1.35}.adventure-defeat #result-checkpoint{color:#f0d6a2;font-weight:700}.result-card #result-recover{width:100%;min-height:44px;margin:10px 0;display:block}.adventure-defeat #result-new{color:#f6dfcf!important;background:#352424!important}#hexstorm-grid{z-index:3;touch-action:none;border-radius:10px;grid-template-rows:repeat(8,1fr);grid-template-columns:repeat(8,1fr);display:grid;position:absolute;inset:0;box-shadow:0 0 12px #a950dd66}#hexstorm-grid,#hexstorm-grid .hexstorm-cell,#hexstorm-controls button{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#hexstorm-grid .hexstorm-cell{touch-action:none}#hexstorm-controls button{touch-action:manipulation}#hexstorm-grid[hidden],#hexstorm-controls[hidden]{display:none}#hexstorm-grid .hexstorm-cell{opacity:1;cursor:pointer;background:#a960df0a;border:1px solid #c384ff88;border-radius:8px;min-width:0;min-height:0;margin:0;padding:0}#hexstorm-grid .hexstorm-cell:disabled{cursor:not-allowed;background:#140c242a;border-color:#0000}#hexstorm-grid .hexstorm-cell[aria-pressed=true]{background:#ba68df44;border:3px solid #f6dcff;box-shadow:inset 0 0 8px #f1acff99,0 0 6px #a25eff}#hexstorm-grid .hexstorm-cell:focus-visible{outline-offset:-3px;outline:2px solid #ffe09b}#hexstorm-controls{color:#efdbff;width:100%;max-width:640px;padding:2px 0}#hexstorm-status{min-height:30px;padding:0 3px;font-size:12px;line-height:1.3}#hexstorm-types,.hexstorm-actions{gap:5px;display:flex}#hexstorm-types button{color:#f4e5ff;background:#30203e;border:1px solid #9e73bf;flex:1;min-width:0;min-height:44px;padding:7px 2px;font-size:12px}#hexstorm-types button[aria-pressed=true]{background:#654080;border-color:#f3ceff;box-shadow:inset 0 0 0 1px #f3ceff}.hexstorm-actions{margin-top:4px}.hexstorm-actions button{min-height:44px;padding:7px}#battle-screen.hexstorm-selecting #feedback-area,#battle-screen.hexstorm-selecting #soul-burst{display:none}@media (min-width:1000px){#hexstorm-controls{grid-area:2/2}}#hexstorm-grid,#hexstorm-grid .hexstorm-cell{pointer-events:none}#hexstorm-grid{inset:1.92308%}#board.hexstorm-selecting,#board.hexstorm-selecting canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#touch-path{pointer-events:none;white-space:pre-line;color:#f4e5ff;overflow-wrap:anywhere;background:#21172b;border-radius:5px;width:100%;max-width:640px;padding:4px;font:11px/1.3 ui-monospace,monospace}#touch-path[hidden]{display:none}#soul-burst{color:#e9d5ff;text-align:left;touch-action:manipulation;background:#241c32;border:1px solid #82669f;border-radius:8px;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;width:100%;min-height:44px;margin-top:5px;padding:6px 9px;display:flex}#soul-burst:disabled{opacity:1;color:#b9a9c6;cursor:default;background:#211b29;border-color:#51445d}#burst-name{font-size:14px;font-weight:750;line-height:1.15}#burst-status{font-size:12px;line-height:1.25}#soul-burst.burst-ready{color:#fff0d4;background:linear-gradient(100deg,#432c5a,#28203a);border-color:#e3bc77;box-shadow:inset 0 0 10px #ba85e22c}#soul-burst:focus-visible{outline-offset:2px;outline:3px solid #efcf84}#aegis-pending{color:#e5c58e;margin-top:3px;font-size:12px;line-height:1.3}#hero-panel.aegis-protected #hero-portrait-frame{outline:2px solid #c7a3f0;box-shadow:0 0 12px #ad7fd862}#hero-panel{position:relative}.aegis-formation{pointer-events:none;z-index:5;position:absolute;inset:0;overflow:visible}.aegis-energy{transform-origin:0;background:linear-gradient(90deg,#8a52d900,#dbb6ff,#f9e3ae);border-radius:50%;height:4px;position:absolute;box-shadow:0 0 9px #b570ef}.aegis-shield{clip-path:polygon(50% 0,95% 18%,90% 65%,50% 100%,10% 65%,5% 18%);filter:drop-shadow(0 0 6px #cdb0ff);background:linear-gradient(140deg,#ffe2a5c9,#8e50dc42 48%,#f5d599c9);width:76px;height:89px;position:absolute;translate:-50% -50%}.aegis-award{color:#ffdfa1;background:#281c3bef;border-radius:8px;padding:6px 10px;font-size:20px;position:absolute;top:0;right:8px;box-shadow:0 0 13px #be8aef66}.aegis-simple .aegis-shield{filter:none}.aegis-simple .aegis-award{box-shadow:none}.oblivion-cast{pointer-events:none;z-index:9;position:fixed;inset:0;overflow:hidden}.oblivion-charge,.oblivion-impact{background:radial-gradient(circle,#170b2ee6 10%,#8733e5aa 42%,#dba6ffb8 52%,#4b137c00 72%);border-radius:50%;width:72px;height:72px;position:absolute;translate:-50% -50%;box-shadow:0 0 17px #b152ff88}.oblivion-beam{transform-origin:0;background:linear-gradient(90deg,#251035,#9c42ee,#f5dfff);border-radius:50%;height:9px;position:absolute;box-shadow:0 0 12px #b153f8}.oblivion-impact{background:radial-gradient(circle,#fff0ffed 5%,#dd9cffcc 20%,#7a20c9aa 44%,#18082200 72%)}.oblivion-award{color:#f7e8ff;text-align:center;background:#21102df2;border:1px solid #c5a0e7;border-radius:8px;width:172px;padding:7px;font-size:17px;line-height:1.3;position:absolute}.oblivion-simple .oblivion-charge,.oblivion-simple .oblivion-impact{box-shadow:none}#hero-panel.embrace-protected #hero-portrait-frame{outline:2px solid #98d9ba;box-shadow:0 0 9px #a878c766}.embrace-cast{pointer-events:none;z-index:5;position:absolute;inset:0;overflow:visible}.embrace-energy,.embrace-pulse{background:radial-gradient(#a578d98c,#78d7ab55 52%,#0000 73%);border-radius:50%;width:70px;height:82px;position:absolute;translate:-50% -50%}.embrace-energy{background:linear-gradient(#0000,#b080e5aa,#7ae9b077,#0000)}.embrace-pulse{border:2px solid #b9ebd296;box-shadow:0 0 12px #a6e4c277}.embrace-award{color:#c2ffdf;background:#242038f0;border-radius:8px;padding:6px 9px;font-size:20px;position:absolute;top:2px;right:8px}.embrace-simple .embrace-pulse{box-shadow:none}.combat-number.restoration{color:#c2ffdf;background:#282035ed;border:1px solid #91cbaa}.shadowstrike-cast{pointer-events:none;z-index:9;position:fixed;inset:0;overflow:hidden}.shadowstrike-charge{background:radial-gradient(circle,#240b3eaa,#a66beb80 45%,#0000 72%);border-radius:50%;width:64px;height:64px;position:absolute;translate:-50% -50%}.shadowstrike-trail{transform-origin:0;background:linear-gradient(90deg,#1d092b00,#6d389f99,#dfcaff);border-radius:50%;height:6px;position:absolute;box-shadow:0 0 6px #ae7ce766}.shadowstrike-impact{filter:drop-shadow(0 0 5px #be9bff);background:linear-gradient(90deg,#0000 42%,#bb8eeb99 47%,#fff3ff 50%,#bb8eeb99 53%,#0000 58%);width:68px;height:68px;position:absolute;translate:-50% -50%;rotate:-30deg}.shadowstrike-award{color:#fff0ff;text-align:center;background:#21102df2;border:1px solid #d4b4ed;border-radius:8px;width:182px;padding:6px;font-size:16px;line-height:1.3;position:absolute}.shadowstrike-simple .shadowstrike-impact{filter:none}.blood-frenzy-cast{pointer-events:none;z-index:9;position:fixed;inset:0;overflow:hidden}.blood-frenzy-charge,.blood-frenzy-impact{background:radial-gradient(circle,#e94a8099 12%,#9f43d688 42%,#0000 72%);border-radius:50%;width:74px;height:74px;position:absolute;translate:-50% -50%}.blood-frenzy-beam{transform-origin:0;background:linear-gradient(90deg,#602345,#aa3be2,#f976a1);border-radius:50%;height:10px;position:absolute;box-shadow:0 0 8px #ba438e88}.blood-frenzy-impact{background:radial-gradient(circle,#ffe4ee 5%,#eb548fcc 22%,#ab45df88 45%,#0000 70%)}.blood-frenzy-cost,.blood-frenzy-award{color:#ffd9e6;text-align:center;background:#2b142bf2;border:1px solid #d187ad;border-radius:8px;width:150px;padding:6px;font-size:15px;line-height:1.3;position:absolute}.blood-frenzy-award{color:#fff0fa;width:186px}.blood-frenzy-simple .blood-frenzy-beam{display:none}#feedback-area{min-width:0}#turn-rewards{color:#f3dfbd;padding:3px;font-size:14px;line-height:1.35}#turn-rewards[hidden]{display:none}.reward-heading{color:#d0ba98;margin-bottom:2px;font-size:12px}.reward-values{flex-wrap:wrap;gap:2px 14px;display:flex}.reward-values span{white-space:nowrap}.reward-values b{color:#fff4d9;font-variant-numeric:tabular-nums;font-size:19px}.reward-bonuses{color:#e1c6ff;margin-top:3px;font-size:13px}.reward-retaliation{color:#edb9ab;margin-top:3px;font-size:13px}#battle-screen #feedback-area:has(#turn-rewards:not([hidden])) #feedback{min-height:0;padding-top:5px;font-size:13px}#reward-diagnostics[data-status=failed]{color:#ffb9b0;font-weight:700}@media (min-width:1000px){#feedback-area{grid-area:2/2}#battle-screen #scenario-playlist{grid-row:3}#turn-rewards{font-size:15px}}:root{color:#f1e3cc;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;background:#17110d;font-family:system-ui,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 50% 20%,#34261a 0,#0000 65%);min-height:100dvh;margin:0}main{width:min(100%,780px);padding:max(env(safe-area-inset-top),16px) max(env(safe-area-inset-right),8px) max(env(safe-area-inset-bottom),16px) max(env(safe-area-inset-left),8px);margin:auto}header{text-align:center}header p{color:#c5af92;margin:6px 0;font-size:13px}header .eyebrow{letter-spacing:.24em;color:#bf9d65;font-size:10px}h1{letter-spacing:.07em;color:#f2cc87;margin:7px 0;font-family:Georgia,serif;font-size:clamp(25px,5vw,36px);font-weight:500}.board-wrap{width:min(100%,min(70dvh,700px));margin:8px auto;position:relative}#board{aspect-ratio:1;width:100%}#overlay{text-align:center;background:#17110de8;border-radius:20px;place-content:center;padding:28px;display:grid;position:absolute;inset:0}#overlay[hidden]{display:none}#combo{pointer-events:none;text-align:center;color:#ffda8e;text-shadow:0 2px 10px #000;font:24px Georgia,serif;position:absolute;inset:8px 0 auto}.controls{background:#241b14;border:1px solid #5e4830;border-radius:14px;width:min(100%,600px);margin:8px auto;padding:13px}.buttons{gap:9px;display:flex}button,select{font:inherit;border:1px solid #947240;border-radius:8px;padding:11px 12px;font-size:13px}button{cursor:pointer;color:#21170b;background:#e9bd72;flex:1;font-weight:650}button.secondary{color:#eddbbf;background:#34271c}button:disabled{opacity:.45;cursor:wait}button:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:2px solid #ffdfa3}.options{gap:12px;margin-top:13px;display:flex}.options label{color:#ceb99b;flex:1;font-size:11px}select{color:#eddbbf;background:#1c1510;border-color:#66503a;width:100%;margin-top:5px;padding:8px;display:block}#phase{text-align:center;color:#e4c591;margin:11px 0 4px;font-size:12px}details{color:#c5b79f;border-top:1px solid #4a3929;margin-top:10px;padding-top:8px;font-size:12px}summary{cursor:pointer}.diagnostics{white-space:pre-line;margin-top:9px;font:11px/1.65 ui-monospace,monospace}#verification{font-size:11px;line-height:1.5}footer{text-align:center;color:#ad987b;margin-top:14px;font-size:10px;line-height:1.6}@media (max-width:480px){main{padding-top:max(env(safe-area-inset-top),10px)}.board-wrap{width:100%}.controls{padding:11px}.options{gap:8px}select,header p{font-size:11px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}#board{position:relative}#board canvas{position:absolute;inset:0}button[hidden]{display:none}.options label{min-width:0}a{color:#d6b6ff}#motion-options{border:1px solid #66503a;border-radius:10px;margin:14px 0 8px;padding:8px}#motion-options legend{color:#e9d5b7;padding:0 5px;font-weight:600}.motion-choice{cursor:pointer;touch-action:manipulation;color:#eddbbf;border:1px solid #66503a;border-radius:8px;align-items:center;gap:12px;min-height:48px;margin:5px 0;padding:12px;font-size:14px;display:flex}.motion-choice input{accent-color:#e9bd72;flex-shrink:0;width:22px;height:22px;margin:0}.motion-choice:has(input:checked){color:#fff1d7;background:#493521;border-color:#e9bd72}.motion-choice:focus-within{outline-offset:2px;outline:2px solid #ffdfa3}#motion-options:disabled .motion-choice{opacity:.55;cursor:wait}#motion-note{color:#e4c591;line-height:1.5}#motion-help{color:#c5b79f;font-size:11px;line-height:1.5}main{max-width:700px}.combat-strip{background:#241b14;border:1px solid #66503a;border-radius:10px;justify-content:space-between;gap:12px;margin:10px 0 6px;padding:10px 12px;display:flex}.combat-strip div{gap:4px;display:grid}.combat-strip small{letter-spacing:.04em;color:#c5af92;font-size:9px}.combat-strip strong{font-size:17px}.foe{text-align:right}.resources{justify-content:space-around;padding:7px;font-size:13px;display:flex}.soul{color:#ce9bff}.gold{color:#f2cc87}.board-wrap,.controls{width:100%;max-width:640px}#feedback{color:#e4c591;min-height:40px;margin:6px 8px;font-size:12px;line-height:1.5}#outcome{text-align:center;color:#f2cc87;margin:0;font:25px Georgia}#outcome:empty{display:none}#turn-count,#hint-result{text-align:center;color:#c5af92;margin:4px;font-size:11px}button{min-height:44px}summary{align-items:center;min-height:44px;display:flex}details p{line-height:1.5}@media (max-width:480px){main{padding-left:6px;padding-right:6px}.combat-strip{margin-top:6px;padding:8px}.combat-strip small{font-size:8px}.combat-strip strong{font-size:15px}.resources{padding:4px}.board-wrap{margin:4px auto}header h1{font-size:25px}}[hidden]{display:none!important}.selection-screen{max-width:620px;margin:0 auto;padding:0 6px}.selection-heading{padding:12px 0 14px}.selection-heading .eyebrow{letter-spacing:.2em;font-size:9px}.selection-heading h1{letter-spacing:.02em;margin:10px 0 6px;font-size:clamp(25px,5.8vw,38px)}.selection-heading>p:last-child{color:#c3af96;font-family:Georgia,serif;font-size:14px;font-style:italic}.hero-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.hero-card{color:#e2d0b4;background:#211913;border:1px solid #66503b;border-radius:10px;min-width:0;padding:0;transition:border-color .12s;display:block;position:relative;overflow:hidden;box-shadow:0 6px 18px #0003}.hero-card img{aspect-ratio:1;object-fit:cover;width:100%;height:auto;display:block}.hero-card>span{text-align:center;background:linear-gradient(#30251d,#201812);padding:9px 2px;font-family:Georgia,serif;font-size:16px;font-weight:500;display:block}.hero-card i{color:#28190b;background:#ecc47b;border-radius:50%;width:22px;height:22px;font-style:normal;line-height:22px;display:none;position:absolute;top:6px;right:6px}.hero-card[aria-pressed=true]{border-color:#f4d08b;box-shadow:0 0 0 2px #ba8d48,0 8px 24px #0005}.hero-card[aria-pressed=true]>span{color:#ffe4af}.hero-card[aria-pressed=true] i{display:block}.hero-details{background:linear-gradient(130deg,#382719,#211913);border:1px solid #745636;border-radius:12px;min-height:184px;margin:16px 0 12px;padding:15px 17px}.hero-identity{justify-content:space-between;align-items:center;gap:8px;display:flex}.hero-identity h2{color:#f4d49c;margin:0;font-family:Georgia,serif;font-size:26px;font-weight:500}.hero-identity p{color:#cbb597;margin:4px 0 0;font-size:13px}.starting-hp{text-align:right;white-space:nowrap}.starting-hp small{letter-spacing:.08em;color:#baa184;font-size:8px;display:block}.starting-hp strong{color:#f4d49c;font:30px Georgia,serif;display:block}.passive-name{color:#d9b5f5;margin:13px 0 5px;font-size:13px;font-weight:650}.passive-description{color:#e1cfb5;min-height:38px;margin:0;font-size:13px;line-height:1.45}.passive-note{color:#bca98f;margin:9px 0 0;font-size:10px;line-height:1.4}#begin-journey{letter-spacing:.025em;background:linear-gradient(#f1cc8c,#c99c53);width:100%;min-height:51px;font:600 16px Georgia,serif;box-shadow:0 6px 20px #0005}#begin-journey span{margin-left:12px}.selection-footnote{text-align:center;color:#aa9274;margin:12px 0 0;font-size:10px}.battle-navigation{justify-content:space-between;align-items:center;gap:12px;max-width:640px;margin:6px auto;display:flex}.battle-navigation button{flex:none;min-height:36px;padding:7px 12px;font-size:12px}.battle-navigation small{color:#bca98f;text-align:right;font-size:10px}@media (min-width:700px){.selection-screen{max-width:570px}.hero-card img{max-height:155px}.hero-details{min-height:172px}.selection-heading{padding-top:14px}}@media (max-width:480px){.selection-screen{padding:0 6px}.selection-heading{padding:6px 0 12px}.hero-grid{gap:9px}.hero-card>span{padding:8px 0;font-size:14px}.hero-details{min-height:182px;margin-top:14px;padding:13px 14px}.selection-heading h1{font-size:28px}.selection-heading .eyebrow{font-size:8px}}@media (max-height:740px) and (max-width:480px){.selection-heading{padding-top:0;padding-bottom:8px}.selection-heading h1{margin:6px 0;font-size:25px}.hero-card img{max-height:104px}.hero-details{min-height:172px;margin:12px 0 10px;padding:11px 13px}.selection-footnote{margin-top:8px}}#continue-adventure{color:#f2dfff;border-color:#b590d2;width:100%;min-height:44px;margin:0 0 12px;font-size:16px}#save-status{font-size:12px;line-height:1.4}#save-options-status{color:#dfc5ff;font-size:12px}.hero-card img{object-position:center top;transform-origin:top;transform:scale(var(--portrait-zoom,1))}.hero-card>span,.hero-card i{z-index:1;position:relative}.hero-card i{position:absolute}.hero-card[data-hero=knight]{--portrait-zoom:1.15}.hero-card[data-hero=rogue]{--portrait-zoom:1.2}.hero-card[data-hero=warlock]{--portrait-zoom:1.15}.hero-card[data-hero=warden]{--portrait-zoom:1.2}.hero-card[data-hero=reaver]{--portrait-zoom:1.1}.hero-card[data-hero=witch]{--portrait-zoom:1.2}.combatant{text-align:left;background:linear-gradient(110deg,#302319,#1e1814);border:1px solid #66503a;border-radius:10px;align-items:center;gap:10px;width:100%;max-width:640px;margin:8px auto;padding:8px 10px;display:flex;position:relative}.combat-portrait{object-fit:contain;background:#15110e;border:1px solid #876a41;border-radius:6px;flex:none;width:64px;height:64px}.combat-detail{flex:1;min-width:0}.combat-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 10px;font-size:13px;display:flex}.combat-heading strong{color:#f0dbb8;font-family:Georgia,serif;font-size:16px;font-weight:500}.combat-heading span{white-space:nowrap;font-size:12px}.combat-heading b{font-variant-numeric:tabular-nums}.health-track{background:#0e0b09;border-radius:6px;height:8px;margin:7px 0;overflow:hidden;box-shadow:inset 0 0 0 1px #514135}.health-track>span{border-radius:inherit;background:linear-gradient(90deg,#456547,#9cad70);height:100%;transition:width .4s ease-out;display:block}.enemy-panel .health-track>span{background:linear-gradient(90deg,#791e29,#d95654)}#enemy-intent{color:#e6ac9c;margin:0;font-size:12px}.hero-resources{color:#c5d5e2;flex-wrap:wrap;gap:4px 15px;font-size:12px;display:flex}.hero-resources b{color:inherit;font-variant-numeric:tabular-nums}.combat-events{z-index:5;pointer-events:none;flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex;position:absolute;bottom:calc(100% - 10px);right:8px}.combat-number{white-space:nowrap;background:#16100ff2;border:1px solid;border-radius:6px;padding:4px 7px;font-size:13px;font-weight:700;box-shadow:0 2px 8px #0009}.damage{color:#ffaaa0}.healing{color:#b7e4a4}.blocked{color:#b3d9ef}#outcome.battle-result{z-index:10;text-align:center;font:inherit;-webkit-backdrop-filter:brightness(.7);backdrop-filter:brightness(.7);background:#100d0bc4;border-radius:10px;place-items:center;margin:0;padding:16px;display:grid;position:absolute;inset:0}.result-card{background:radial-gradient(at top,#574023,#211810 70%);border:1px solid #ceaa64;border-radius:12px;width:min(100%,360px);padding:24px 16px;animation:.25s ease-out result-enter;box-shadow:0 10px 40px #0009}.result-kicker{letter-spacing:.2em;color:#c9b08b;margin:0;font-size:9px}.result-card h2{letter-spacing:.1em;color:#ffe1a1;text-shadow:0 2px 14px #c98f4560;margin:12px 0;font:clamp(28px,7vw,46px) Georgia,serif}.result-card p:not(.result-kicker){color:#ead6b4;font-size:13px;line-height:1.5}.result-card #result-hp{color:#c4ba9e;font-size:12px}.result-card button{touch-action:manipulation;width:100%;margin-top:8px}#outcome[data-result=defeat] .result-card{background:radial-gradient(at top,#4c2226,#1c1214 70%);border-color:#a34f51}#outcome[data-result=defeat] h2{color:#f1a4a4}#outcome[data-result=defeat] button{color:#fff0e8;background:#9e4b4c;border-color:#c5817b}.simple-presentation .health-track>span{transition:none}.simple-presentation .result-card{animation:none}#board[inert]{pointer-events:none}@keyframes result-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media (max-width:480px){main{padding-left:max(env(safe-area-inset-left),6px);padding-right:max(env(safe-area-inset-right),6px)}#battle-screen header .eyebrow{margin:3px 0;font-size:8px}#battle-screen header h1{margin:3px 0;font-size:23px}#battle-screen header p{margin:3px 0}.battle-navigation{margin:4px auto!important}.combatant{gap:8px;margin:5px auto;padding:6px 8px}.combat-portrait{width:54px;height:54px}.combat-heading strong{font-size:14px}.combat-heading span{font-size:11px}.hero-resources{gap:3px 10px;font-size:11px}.health-track{margin:5px 0}#enemy-intent{font-size:11px}}@media (max-width:350px){.combat-portrait{width:48px;height:48px}.combat-heading{gap:1px 5px}.combat-heading strong{font-size:13px}.hero-resources{gap:3px 7px}.result-card{padding:16px 10px}.result-card button{font-size:12px}}.hero-portrait-frame{width:64px;height:64px;position:relative;overflow:hidden}.hero-portrait-frame img{object-fit:cover;object-position:var(--head-x,50%) top;width:100%;height:100%;transform-origin:var(--head-x,50%) top;transform:scale(var(--head-zoom,1.7));display:block}.hero-portrait-frame[data-hero=knight]{--head-x:50%;--head-zoom:1.75}.hero-portrait-frame[data-hero=rogue]{--head-x:48%;--head-zoom:1.65}.hero-portrait-frame[data-hero=warlock]{--head-x:50%;--head-zoom:1.8}.hero-portrait-frame[data-hero=warden]{--head-x:50%;--head-zoom:1.75}.hero-portrait-frame[data-hero=reaver]{--head-x:50%;--head-zoom:1.65}.hero-portrait-frame[data-hero=witch]{--head-x:50%;--head-zoom:1.8}@media (max-width:480px){.hero-portrait-frame{width:64px;height:64px}}html{scrollbar-gutter:stable}body:has(#battle-screen:not([hidden])){overscroll-behavior-y:none}#battle-screen{gap:6px;max-width:640px;margin:auto;display:grid}#battle-screen[hidden]{display:none}#battle-screen .battle-topbar{text-align:left;grid-template-columns:minmax(0,1fr) auto 86px;align-items:center;gap:8px;height:44px;display:grid}#battle-screen .battle-topbar h1{letter-spacing:0;margin:0;font-size:20px;line-height:1.05}.battle-topbar button{touch-action:manipulation;height:44px;padding:10px 12px;font-size:14px}.panel-actions button{width:100%}#battle-screen .combatant{gap:8px;margin:0;padding:7px 8px}#battle-screen .combat-heading{gap:2px 8px}#battle-screen .combat-heading strong{letter-spacing:0;font-size:18px;font-weight:600;line-height:1.2}#battle-screen .combat-heading span{font-size:14px;line-height:1.3}#battle-screen .combat-heading b{color:#fff0d9;font-size:19px;font-weight:750}#battle-screen #enemy-intent{color:#f3c0b0;font-size:15px;font-weight:600;line-height:1.3}#battle-screen .hero-resources{gap:2px 12px;font-size:14px;line-height:1.35}#battle-screen .hero-resources b{font-size:17px;font-weight:750}#battle-screen .health-track{height:9px;margin:6px 0}#battle-screen .board-wrap{width:100%;max-width:640px;margin:0}#battle-screen #feedback{color:#f1d8ae;overflow-wrap:anywhere;min-height:92px;margin:0;padding:4px 3px;font-size:15px;line-height:1.4}#battle-screen .combat-number{font-size:15px}#options-dialog{width:min(440px,100% - 24px);max-height:calc(100dvh - max(env(safe-area-inset-top),12px) - max(env(safe-area-inset-bottom),12px));color:#f1e3cc;overscroll-behavior:contain;background:#211912;border:1px solid #aa8652;border-radius:14px;margin:auto;padding:16px;font-size:14px;box-shadow:0 15px 60px #000b}#options-dialog::backdrop{background:#100c09bd}body:has(#options-dialog[open]){overflow:hidden}.options-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.options-heading h2{color:#f2cc87;margin:0;font:22px Georgia,serif}.options-heading button{flex:none;min-height:44px}#options-dialog p{line-height:1.45}#options-dialog #motion-note{font-size:14px}#options-dialog .motion-choice{min-height:54px;font-size:16px}#options-dialog legend{font-size:15px}#options-dialog summary{font-size:14px}#options-dialog #hint-result{color:#f2cc87;font-size:15px}#options-dialog .diagnostics{font-size:12px}#options-dialog #phase,#options-dialog #turn-count{font-size:14px}#options-dialog footer{font-size:12px}@media (max-width:350px){#battle-screen .combat-heading strong{font-size:16px}#battle-screen .combat-heading b{font-size:18px}#battle-screen .hero-resources{gap:2px 10px}#battle-screen #feedback{min-height:113px}.battle-topbar button{padding:9px 10px}#battle-screen .battle-topbar h1{font-size:18px}}@media (min-width:1000px){body:has(#battle-screen:not([hidden])) main{width:100%;max-width:1000px}#battle-screen{grid-template-columns:640px minmax(0,1fr);align-items:start;column-gap:20px;max-width:960px}#enemy-panel{grid-area:1/1}.board-wrap{grid-area:2/1}#hero-panel{grid-area:3/1}#battle-screen .battle-topbar{grid-area:1/2;grid-template-columns:1fr 86px;height:auto}#battle-screen .battle-topbar h1{grid-column:1/-1;min-height:24px}#battle-screen #feedback{grid-area:2/2;padding:10px 0;font-size:16px}}#scenario-playlist{color:#f1d8ae;min-width:0;padding:4px 3px;font-size:14px;line-height:1.25}#scenario-playlist[hidden],#scenario-playlist [hidden]{display:none}#playlist-progress{color:#f5d494;font-weight:700}#playlist-name{min-height:18px;margin:2px 0 5px}#playlist-transport{gap:6px;display:flex}#playlist-transport button{touch-action:manipulation;flex:1;min-width:0;min-height:44px;padding:8px;font-size:16px}#playlist-status{margin:4px 0;font-size:12px}#playlist-run{width:100%;min-height:48px;margin:4px 0;font-size:17px}#playlist-results-list{max-height:220px;padding-left:22px;font-size:13px;overflow:auto}#playlist-results-list li{margin:7px 0}@media (min-width:1000px){#scenario-playlist{grid-area:2/2}}.level-up{box-sizing:border-box;color:#ecd9b6;background:radial-gradient(at top,#4b3321,#211811 75%);border:1px solid #ae8952;border-radius:12px;width:min(92vw,420px);max-height:90svh;padding:22px 18px;font:14px/1.45 system-ui,sans-serif;overflow:auto;box-shadow:0 12px 60px #000b}.level-up::backdrop{background:#100b08c9}.level-up h2{color:#ffe0a0;margin:8px 0;font:24px Georgia,serif}.level-up h3{margin:18px 0 10px;font:small-caps 18px Georgia,serif}.level-up .eyebrow{letter-spacing:.16em;color:#e7bd74;margin:0}.level-up button{text-align:left;color:#f5e0bb;touch-action:manipulation;background:#35261b;border:1px solid #987548;border-radius:6px;flex-direction:column;gap:3px;width:100%;min-height:65px;margin:8px 0;padding:10px 14px;display:flex}.level-up button strong{font:small-caps 19px Georgia,serif}.level-up button:hover,.level-up button:focus-visible{background:#594025;outline:2px solid #d4b37b}.level-up button span{font-size:13px}.level-up .upgrade-recovery{color:#cdb992;margin-top:15px;font-size:12px}#selected-progress{color:#e1c591;font-size:13px}
