/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}::backdrop{--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.contents{display:contents}.hidden{display:none}.inline-block{display:inline-block}.table{display:table}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}}:root{--ink:#183b35;--ink-soft:#52716b;--cream:#fff9e9;--paper:#fffdf5;--line:#dfe8d1;--leaf:#2c7d5e;--leaf-dark:#15523e;--lime:#b9dd67;--gold:#f5b63c;--coral:#ef6b59;--shadow:0 18px 55px #1a3f3524}*{box-sizing:border-box}html{background:#e8f0d8;min-width:320px}body{min-height:100vh;color:var(--ink);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;background:radial-gradient(circle at 10% 0,#ffffffb3,#0000 32rem),#e8f0d8;margin:0;font-family:Avenir Next,PingFang SC,Microsoft YaHei,system-ui,sans-serif}button{color:inherit;font:inherit;-webkit-tap-highlight-color:transparent}button:focus-visible{outline-offset:3px;outline:3px solid #ffca58}.game-shell{width:min(100%,1480px);min-height:100svh;padding:max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));background:linear-gradient(90deg,#fff6 1px,#0000 1px) 0 0/42px 42px,linear-gradient(#ffffff59 1px,#0000 1px) 0 0/42px 42px,linear-gradient(#eff6df,#e7efda);margin:0 auto;position:relative;overflow:hidden}.game-shell:before,.game-shell:after{z-index:0;content:"";pointer-events:none;border:58px solid #6a8e5a1a;border-radius:50%;width:300px;height:300px;position:absolute}.game-shell:before{top:-210px;left:-160px}.game-shell:after{bottom:-180px;right:-220px}.topbar,.battle-card,.control-deck,.mission-strip{z-index:1;position:relative}.topbar{justify-content:space-between;align-items:center;min-height:54px;margin-bottom:10px;display:flex}.brand-lockup{align-items:center;gap:10px;display:flex}.brand-mark{border:2px solid var(--ink);background:var(--lime);width:42px;height:42px;box-shadow:3px 4px 0 var(--ink);border-radius:13px 13px 18px 18px;place-items:center;display:grid;position:relative}.brand-mark:before,.brand-mark:after,.brand-mark i{content:"";position:absolute}.brand-mark:before,.brand-mark:after{background:var(--ink);border-radius:50%;width:5px;height:7px;top:15px}.brand-mark:before{left:11px}.brand-mark:after{right:11px}.brand-mark i:first-child{border:2px solid var(--ink);background:#73b95c;border-radius:100% 0;width:16px;height:13px;top:-9px;left:8px;transform:rotate(12deg)}.brand-mark i:last-child{border:2px solid var(--ink);background:#8dca68;border-radius:0 100%;width:14px;height:12px;top:-8px;right:5px;transform:rotate(-12deg)}.brand-lockup b{letter-spacing:.08em;font-size:18px;font-weight:900;line-height:1.05;display:block}.brand-lockup small{color:var(--ink-soft);letter-spacing:.18em;margin-top:4px;font-size:8px;font-weight:800;display:block}.top-actions{gap:8px;display:flex}.icon-button{cursor:pointer;background:#ffffffbd;border:1px solid #bacaad;border-radius:13px;place-items:center;width:44px;height:44px;font-size:13px;font-weight:900;display:grid;box-shadow:0 5px 12px #2e4a3c14}.icon-button:hover:not(:disabled){background:#fff;transform:translateY(-1px)}.icon-button:disabled{cursor:default;opacity:.4}.speed-button{font-variant-numeric:tabular-nums;font-size:11px}.speed-button[data-speed="2"],.speed-button[data-speed="3"]{color:var(--leaf-dark);background:#eaf2d8;border-color:#8eaf75}.pause-button{font-size:16px}.battle-card{background:var(--paper);box-shadow:var(--shadow);border:1px solid #38635333;border-radius:24px;overflow:hidden}.battle-hud{background:#fffdf5f2;border-bottom:1px solid #3353452e;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;min-height:62px;padding:8px 16px;display:grid}.base-readout{grid-template-columns:auto auto;align-items:center;gap:4px 12px;width:min(100%,270px);display:grid}.base-readout>span{color:var(--ink-soft);letter-spacing:.05em;font-size:10px;font-weight:800}.base-readout>b{font-variant-numeric:tabular-nums;text-align:right;font-size:11px}.enemy-readout{justify-self:end}.hud-health{background:#d9dfcf;border-radius:9px;grid-column:1/-1;height:6px;overflow:hidden}.hud-health i{border-radius:inherit;background:linear-gradient(90deg,#55a96d,#a6d65f);height:100%;transition:width .2s;display:block}.enemy-readout .hud-health i{background:linear-gradient(90deg,#e68c5d,#c7505d);margin-left:auto}.mission-readout{border-left:1px solid #dce3d1;border-right:1px solid #dce3d1;place-items:center;min-width:120px;padding:0 18px;display:grid}.mission-readout small{color:var(--leaf);letter-spacing:.12em;font-size:9px;font-weight:900}.mission-readout b{font-variant-numeric:tabular-nums;letter-spacing:.05em;margin:1px 0;font-size:21px;line-height:1}.mission-readout span{color:var(--ink-soft);font-size:9px;font-weight:700}.battlefield{isolation:isolate;touch-action:none;-webkit-user-select:none;user-select:none;background:linear-gradient(#ffffff12 0 55%,#f0db896b 56% 62%,#8fb969 63% 100%),linear-gradient(145deg,#a8e1df,#f7ddb0 75%);height:clamp(286px,39vw,500px);position:relative;overflow:hidden}.sky-dusk .battlefield{background:linear-gradient(#ffffff0f 0 55%,#e1b86d73 56% 62%,#819d5d 63% 100%),linear-gradient(145deg,#87b6c9,#f2ae76 70%,#bb6c76)}.sky-night .battlefield{background:linear-gradient(#0000 0 55%,#6f6c6e59 56% 62%,#5d7b58 63% 100%),radial-gradient(circle at 18% 20%,#ffffff29 1px,#0000 2px) 0 0/37px 37px,linear-gradient(145deg,#304b69,#765d82 72%,#b47178)}.sun-or-moon{z-index:-4;aspect-ratio:1;background:#ffe48a;border-radius:50%;width:clamp(48px,7vw,88px);position:absolute;top:10%;left:13%;box-shadow:0 0 0 14px #ffe89733,0 0 55px #ffe6a5}.sky-dusk .sun-or-moon{background:#ffd09b;left:75%;box-shadow:0 0 0 14px #ffcfa026,0 0 48px #f8c0a4}.sky-night .sun-or-moon{background:#f2f0c8;left:16%;box-shadow:-12px 4px 0 2px #3c5270,0 0 35px #edf1d285}.cloud{z-index:-3;opacity:.85;background:#ffffff94;border-radius:30px;width:76px;height:16px;position:absolute}.cloud:before,.cloud:after{background:inherit;content:"";border-radius:50%;position:absolute;bottom:3px}.cloud:before{width:27px;height:27px;left:14px}.cloud:after{width:20px;height:20px;right:12px}.cloud-one{top:18%;left:34%}.cloud-two{opacity:.5;top:30%;right:15%;transform:scale(.72)}.sky-night .cloud{opacity:.17}.far-hills,.near-hills{z-index:-3;height:32%;position:absolute;bottom:37%;left:-5%;right:-5%;overflow:hidden}.far-hills i,.near-hills i{aspect-ratio:1.4;background:#91b887;border-radius:60% 60% 0 0;width:38%;position:absolute;bottom:-55%;transform:rotate(8deg)}.far-hills i:first-child{left:-5%}.far-hills i:nth-child(2){bottom:-36%;left:29%}.far-hills i:nth-child(3){right:-4%;transform:rotate(-8deg)}.near-hills{z-index:-2;height:25%;bottom:29%}.near-hills i{background:#658f63;width:32%;bottom:-68%}.near-hills i:first-child{left:-7%}.near-hills i:nth-child(2){left:21%}.near-hills i:nth-child(3){left:51%}.near-hills i:nth-child(4){right:-9%}.sky-dusk .far-hills i{background:#748c74}.sky-dusk .near-hills i{background:#526d5d}.sky-night .far-hills i{background:#506a69}.sky-night .near-hills i{background:#344f4f}.ground-line{z-index:-1;background:#58784f;height:3px;position:absolute;bottom:25%;left:0;right:0;box-shadow:0 5px #ffffff1f}.ground-line:before{content:"";background:repeating-linear-gradient(100deg,#0000 0 28px,#385b392b 29px 31px,#0000 32px 46px);height:45px;position:absolute;inset:8px 0 auto}.base{z-index:5;width:clamp(68px,8vw,104px);height:clamp(90px,11vw,138px);position:absolute;bottom:calc(25% + 2px);transform:translateY(2px)}.base-body{background:#f2dfa6;border:clamp(3px,.4vw,6px) solid #244a3e;border-radius:45% 45% 12px 12px;place-items:center;height:72%;display:grid;position:absolute;bottom:0;left:0;right:0;box-shadow:inset 0 -15px #7e68421f,4px 5px #1c3f3330}.base-body:before,.base-body:after{content:"";background:#d2c180;border:3px solid #244a3e;width:28%;height:30%;position:absolute;top:-15%}.base-body:before{left:8%;transform:rotate(-13deg)}.base-body:after{right:8%;transform:rotate(13deg)}.base-body span{font-size:clamp(20px,3vw,40px);font-weight:900}.enemy-base .base-body{background:#9a7896;border-color:#392e4f;box-shadow:inset 0 -15px #3a29482e,-4px 5px #23193138}.enemy-base .base-body:before,.enemy-base .base-body:after{background:#785d7e;border-color:#392e4f}.enemy-base .base-body span{color:#382b49}.base-flag{z-index:2;color:#244a3e;background:#f0c44f;border:3px solid #244a3e;place-items:center;width:46%;height:33%;font-weight:900;display:grid;position:absolute;top:-9%;left:45%;transform:rotate(4deg)}.base-flag:after{content:"";background:#244a3e;width:3px;height:120%;position:absolute;top:100%;left:0}.enemy-base .base-flag{color:#392e4f;background:#d5696c;border-color:#392e4f;left:auto;right:45%;transform:rotate(-4deg)}.enemy-base .base-flag:after{background:#392e4f;left:auto;right:0}.base-health{background:#dbded2;border:2px solid #173229bf;border-radius:9px;height:7px;position:absolute;bottom:-12px;left:4%;right:4%;overflow:hidden}.base-health i{width:var(--hp);background:#94d461;height:100%;transition:width .15s;display:block}.enemy-base .base-health i{background:#e35f67;margin-left:auto}.fighter{z-index:10;width:var(--unit-size);height:calc(var(--unit-size) * 1.12);will-change:left;transition:left 33ms linear;position:absolute;bottom:calc(25% + 5px);transform:translate(-50%)}.fighter.team-enemy{transform:translate(-50%)scaleX(-1)}@keyframes attack-nudge{45%{transform:translate(7px)rotate(4deg)scale(1.05,.96)}}.sprite{background:#b8dc69;border:3px solid #234a3c;border-radius:48% 48% 42% 42%;height:84%;position:absolute;bottom:0;left:0;right:0;box-shadow:inset -5px -7px #2d5e3c21,2px 3px #15392c2e}.sprite:before,.sprite:after{content:"";position:absolute}.sprite:before{background:#6db460;border:3px solid #234a3c;border-radius:100% 0;width:42%;height:35%;top:-25%;left:19%;transform:rotate(14deg)}.sprite:after{background:inherit;width:18%;height:22%;box-shadow:calc(var(--unit-size) * -.34) 0 0 -2px #234a3c;border:3px solid #234a3c;border-radius:30%;bottom:-11%;right:18%}.face{border-bottom:2px solid #244a3e;border-radius:50%;width:55%;height:29%;position:absolute;top:31%;left:22%}.face i{aspect-ratio:.7;background:#183a31;border-radius:50%;width:15%;position:absolute;top:0}.face i:first-child{left:11%}.face i:last-child{right:11%}.unit-health{z-index:2;opacity:.88;background:#e6e5dae0;border:1px solid #1a332ba6;border-radius:7px;height:5px;position:absolute;top:-12px;left:-8%;right:-8%;overflow:hidden}.unit-health i{width:var(--hp);background:#75c75f;height:100%;transition:width .14s;display:block}.team-enemy .unit-health{transform:scaleX(-1)}.team-enemy .unit-health i{background:#d86673}.kind-shell .sprite{background:#d6ba74;border-radius:55% 60% 38% 38%}.kind-shell .sprite:before{background:#8c7359;border-radius:50%;width:70%;height:65%;top:7%;left:5%;transform:none;box-shadow:inset 0 0 0 5px #b2996c}.kind-shell .face{z-index:2;width:43%;top:35%;left:49%}.kind-bloom .sprite{background:#e6f0c2}.kind-bloom .sprite:before{background:#fff2c1;border-radius:50%;width:64%;height:47%;top:-31%;left:13%;transform:none;box-shadow:10px 3px 0 -1px #f5c86c,-8px 4px 0 -1px #f5c86c}.kind-bloom .sprite:after{width:34%;height:15%;box-shadow:none;background:#d9b157;border-radius:20px;bottom:43%;right:-28%}.kind-moss .sprite{background:#628d58;border-width:4px;border-radius:45% 45% 32% 32%}.kind-moss .sprite:before{background:#e1d4a6;border-radius:100% 4px 20% 20%;width:38%;height:35%;top:-24%;left:3%;transform:rotate(-17deg)}.kind-moss .sprite:after{width:24%;height:24%;box-shadow:calc(var(--unit-size) * -.45) 0 0 -2px #234a3c;bottom:-12%;right:4%}.kind-moss .face{top:30%}.team-enemy .sprite{background:#766188;border-color:#302746;box-shadow:inset -5px -7px #22143733,2px 3px #19112740}.team-enemy .sprite:before{background:#574366;border-color:#302746;border-radius:45% 45% 5px 5px;width:42%;height:38%;top:-22%;left:28%;transform:rotate(-5deg)}.team-enemy .sprite:after{box-shadow:calc(var(--unit-size) * -.34) 0 0 -2px #302746;background:#6b577f;border-color:#302746}.team-enemy .face{border-color:#3b2343;transform:scaleX(-1)}.team-enemy .face i{background:#ffe06b}.kind-skitter .sprite{background:#b55f80;border-radius:48% 48% 20% 20%;height:66%}.kind-skitter .sprite:before{background:#7d476e;border-radius:100% 0 20% 20%;width:32%;height:45%;top:-34%;left:3%;transform:rotate(-20deg)}.kind-skitter .sprite:after{box-shadow:calc(var(--unit-size) * -.43) 0 0 -2px #302746}.kind-skitter .face{top:22%}.kind-brute .sprite{background:#726b78;border-width:4px;border-radius:28% 35% 35% 30%}.kind-brute .sprite:before{background:#9e8d86;border-radius:50% 5px 5px 50%;width:38%;height:48%;top:8%;left:-16%;transform:rotate(-8deg)}.kind-brute .face{width:48%;left:30%}.kind-warden .sprite{background:#563d71;border-width:4px;border-radius:42% 42% 29% 29%}.kind-warden .sprite:before{background:#d05d68;border-radius:8px 8px 50% 50%;width:70%;height:41%;top:-27%;left:10%;transform:rotate(-3deg)}.kind-warden .face i{background:#ffce4d;box-shadow:0 0 7px #ffce4d}.battle-effect{z-index:18;color:#fff1a2;text-shadow:0 2px 7px #7a432a;pointer-events:none;font-size:26px;font-weight:900;animation:.72s ease-out forwards effect-pop;position:absolute;bottom:calc(25% + 55px);transform:translate(-50%)}.effect-burst{color:#ffda5c;font-size:42px}.effect-coin{color:#fff3a6;font-size:12px}@keyframes effect-pop{0%{opacity:0;transform:translate(-50%,8px)scale(.55)}25%{opacity:1;transform:translate(-50%,-4px)scale(1.15)}to{opacity:0;transform:translate(-50%,-30px)scale(.85)}}.game-overlay{z-index:40;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#112b2573;place-items:center;padding:18px;display:grid;position:absolute;inset:0}.ready-overlay{background:linear-gradient(90deg,#12382db3,#12382d40);place-items:center start}.overlay-card{background:#fffdf4f0;border:1px solid #ffffffa6;border-radius:24px;width:min(520px,92%);padding:clamp(20px,3.2vw,42px);box-shadow:0 28px 70px #0f221d4d}.ready-overlay .overlay-card{margin-left:clamp(0px,5vw,66px)}.overlay-card .eyebrow{color:var(--leaf);letter-spacing:.16em;text-transform:uppercase;margin:0 0 8px;font-size:10px;font-weight:900}.overlay-card h1,.overlay-card h2{color:#173e34;letter-spacing:-.035em;margin:0;font-size:clamp(28px,4vw,50px);font-weight:950;line-height:1.05}.overlay-card h2{font-size:clamp(25px,3.5vw,42px)}.overlay-card>p:not(.eyebrow){color:#587068;margin:10px 0 18px;font-size:13px;line-height:1.55}.how-to-play{grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:18px;display:grid}.how-to-play span{color:#536a61;text-align:center;background:#f7f5e8;border:1px solid #dfe4d5;border-radius:12px;place-content:center;gap:5px;min-height:66px;font-size:9px;font-weight:700;display:grid}.how-to-play b{background:var(--leaf);color:#fff;border-radius:50%;place-items:center;width:20px;height:20px;margin:auto;font-size:10px;display:grid}.primary-button,.text-button{cursor:pointer;border:0;border-radius:13px;min-height:48px;font-weight:900}.primary-button{background:var(--leaf);color:#fff;box-shadow:0 5px 0 var(--leaf-dark);padding:0 20px}.primary-button:hover{background:#368f6b;transform:translateY(-1px)}.primary-button:active{box-shadow:0 2px 0 var(--leaf-dark);transform:translateY(3px)}.primary-button span{margin-left:18px}.overlay-card>small{color:#74877d;margin-top:12px;font-size:9px;display:block}.compact-card{text-align:center;width:min(390px,92%)}.overlay-actions{justify-content:center;gap:10px;display:flex}.overlay-actions .text-button{color:var(--leaf);background:0 0;padding:0 18px}.overlay-actions .text-button:hover{background:#e9efe2}.result-card{text-align:center;width:min(470px,94%)}.result-card.won{box-shadow:0 0 0 5px #eec75559,0 28px 70px #0f221d4d}.result-card.lost{box-shadow:0 0 0 5px #ba636647,0 28px 70px #0f221d4d}.result-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin:17px 0;display:grid}.result-stats span{color:var(--ink-soft);border:1px solid #dfe6d8;border-radius:12px;padding:10px;font-size:9px}.result-stats b{color:var(--ink);font-size:20px;display:block}.control-deck{background:#fffdf6e6;border:1px solid #3863532e;border-radius:22px;margin-top:10px;padding:12px;box-shadow:0 9px 28px #21443814}.resource-row{grid-template-columns:minmax(260px,1fr) auto;gap:10px;margin-bottom:10px;display:grid}.resource-meter{background:#f7f6eb;border:1px solid #dfe5d7;border-radius:14px;grid-template-columns:36px 1fr;align-items:center;gap:9px;min-height:56px;padding:7px 12px 12px;display:grid;position:relative;overflow:hidden}.dew-icon{color:#eafff8;background:#7cd1bf;border-radius:50% 50% 56% 44%;place-items:center;width:33px;height:33px;font-size:14px;display:grid;transform:rotate(45deg)}.dew-icon:first-letter{transform:rotate(-45deg)}.resource-meter span{color:var(--ink-soft);font-size:9px;font-weight:800;display:block}.resource-meter em{color:var(--leaf);margin-left:5px;font-style:normal}.resource-meter b{font-variant-numeric:tabular-nums;font-size:18px;line-height:1.15;display:block}.resource-meter b small{color:#7b8b82;font-size:10px}.resource-track{background:#dfe5d8;height:5px;position:absolute;bottom:0;left:0;right:0}.resource-track i{background:linear-gradient(90deg,#65bca8,#96d5bf);border-radius:0 8px 8px 0;height:100%;transition:width .1s linear;display:block}.economy-button{cursor:pointer;text-align:left;background:#eaf2d8;border:1px solid #cbd8bd;border-radius:14px;min-width:178px;min-height:56px;padding:8px 38px 8px 13px;display:grid;position:relative}.economy-button span{color:#536b5c;font-size:9px;font-weight:800}.economy-button b{font-size:13px}kbd{color:#536e61;background:#ffffffad;border:1px solid #2b4b3e3d;border-radius:5px;place-items:center;min-width:19px;height:19px;font:800 8px/1 system-ui;display:grid;box-shadow:0 2px #2745381f}.economy-button kbd{position:absolute;top:50%;right:10px;transform:translateY(-50%)}.economy-button:hover:not(:disabled){background:#f1f7e3;border-color:#8eaf75;transform:translateY(-1px)}.economy-button:disabled{cursor:default;filter:grayscale(.25);opacity:.52}.unit-grid{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(150px,.85fr);gap:9px;display:grid}.unit-card,.pulse-card{cursor:pointer;text-align:left;background:#f8f8ec;border:1px solid #d5decc;border-radius:15px;min-height:82px;display:grid;position:relative;overflow:hidden}.unit-card{grid-template-rows:1fr auto;grid-template-columns:52px 1fr;align-items:center;gap:0 7px;padding:8px}.unit-card:after{content:"";background:#95c4652e;border-radius:50%;width:77px;height:77px;position:absolute;top:-25px;left:-18px}.unit-card-icon{z-index:1;color:#244b3b;background:#b7d968;border:2px solid #315f4b;border-radius:50% 50% 43% 45%;grid-row:1/-1;place-items:center;width:48px;height:48px;font-size:16px;font-weight:950;display:grid;box-shadow:inset -4px -5px #2453391a}.card-shell .unit-card-icon{background:#cfae72}.card-bloom .unit-card-icon{background:#f2d578}.card-moss .unit-card-icon{color:#fff;background:#668e5a}.unit-card-copy{min-width:0}.unit-card-copy b{text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.unit-card-copy small{color:#738278;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:8px;display:block;overflow:hidden}.unit-card-cost{color:#376e5a;font-size:10px;font-weight:900}.unit-card>kbd{position:absolute;top:7px;right:7px}.unit-card:hover:not(:disabled),.pulse-card:hover:not(:disabled){background:#fffef5;border-color:#86aa79;transform:translateY(-2px);box-shadow:0 7px 15px #2b4e3c1a}.unit-card:active:not(:disabled),.pulse-card:active:not(:disabled){transform:translateY(1px)}.unit-card:disabled,.pulse-card:disabled{cursor:default}.unit-card:disabled:not(:has(.cooldown-mask)){filter:grayscale(.35);opacity:.52}.cooldown-mask{z-index:5;background:linear-gradient(0deg, #172d26ad var(--cooldown), #172d262e var(--cooldown));color:#fff;font-variant-numeric:tabular-nums;text-shadow:0 1px 4px #17392e;place-items:center;font-size:15px;font-weight:950;display:grid;position:absolute;inset:0}.pulse-card{background:linear-gradient(145deg,#fff8cf,#f7e5a6);border-color:#d3c68e;grid-template-columns:48px 1fr;align-items:center;gap:7px;padding:9px 28px 9px 10px}.pulse-orb{color:#fff;text-shadow:0 1px #8e5b24;background:radial-gradient(circle,#fffbe4 0 18%,#ffd95e 20% 45%,#e89843 70%);border:2px solid #856329;border-radius:50%;place-items:center;width:44px;height:44px;font-size:24px;display:grid;box-shadow:0 0 15px #ebae3d73}.pulse-card b{font-size:11px;display:block}.pulse-card small{color:#7c6b47;margin-top:2px;font-size:8px;display:block}.pulse-card kbd{position:absolute;top:7px;right:7px}.pulse-card strong{color:#876a2e;font-size:10px;position:absolute;bottom:8px;right:8px}.pulse-card:disabled{filter:grayscale(.4);opacity:.65}.deck-footer{justify-content:space-between;align-items:end;gap:10px;min-height:27px;padding:7px 2px 0;display:flex}.deck-footer p{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:9px;font-weight:700;overflow:hidden}.live-dot{background:#63a865;border-radius:50%;width:6px;height:6px;margin:0 7px 1px 1px;display:inline-block;box-shadow:0 0 0 3px #63a86521}.battle-counts{color:#6b7c72;flex:none;gap:12px;font-size:8px;font-weight:800;display:flex}.mission-strip{border-top:1px solid #41645424;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin-top:10px;padding:8px 10px;display:grid}.mission-label{color:var(--ink-soft);letter-spacing:.12em;writing-mode:vertical-rl;font-size:9px;font-weight:900}.mission-strip>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.mission-strip button{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:12px;grid-template-columns:30px 1fr;align-items:center;gap:8px;min-height:50px;padding:6px 9px;display:grid}.mission-strip button:hover:not(:disabled){background:#fff9}.mission-strip button.active{background:#ffffffba;border-color:#c2d4ad}.mission-strip button:disabled{cursor:default;opacity:.47}.mission-strip button i{width:29px;height:29px;color:var(--leaf);background:#f6f4e8;border:1px solid #aebea5;border-radius:50%;place-items:center;font-size:9px;font-style:normal;font-weight:900;display:grid}.mission-strip button.active i{border-color:var(--leaf);background:var(--leaf);color:#fff}.mission-strip button b{font-size:9px;display:block}.mission-strip button small{color:#738077;margin-top:1px;font-size:7px;display:block}.win-count{color:var(--ink-soft);white-space:nowrap;font-size:8px;font-weight:800}@media (max-width:900px){.game-shell{padding:max(8px, env(safe-area-inset-top)) max(9px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(9px, env(safe-area-inset-left))}.battlefield{height:clamp(260px,48vw,410px)}.unit-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pulse-card{grid-column:1/-1;grid-template-columns:44px 1fr;min-height:58px}.pulse-orb{width:38px;height:38px}}@media (max-width:620px){.topbar{min-height:47px;margin-bottom:7px}.brand-mark{width:35px;height:35px;box-shadow:2px 3px 0 var(--ink);border-radius:10px 10px 14px 14px}.brand-mark:before,.brand-mark:after{width:4px;height:6px;top:13px}.brand-mark:before{left:9px}.brand-mark:after{right:9px}.brand-lockup b{font-size:15px}.brand-lockup small{font-size:6px}.icon-button{border-radius:11px;width:39px;height:39px}.battle-card{border-radius:18px}.battle-hud{min-height:52px;padding:7px 9px}.base-readout{gap:2px 4px}.base-readout>span,.base-readout>b{font-size:8px}.mission-readout{min-width:74px;padding:0 7px}.mission-readout small{font-size:7px}.mission-readout b{font-size:16px}.mission-readout span{font-size:7px}.battlefield{height:clamp(246px,68vw,315px)}.base{width:64px;height:86px}.ready-overlay{place-items:center}.ready-overlay .overlay-card{margin-left:0}.overlay-card{border-radius:18px;padding:20px}.overlay-card h1{font-size:29px}.overlay-card h2{font-size:25px}.how-to-play span{min-height:58px;padding:4px}.control-deck{border-radius:17px;margin-top:7px;padding:8px}.resource-row{grid-template-columns:1fr 136px;gap:6px;margin-bottom:7px}.resource-meter{grid-template-columns:31px 1fr;gap:6px;min-width:0;min-height:52px;padding:6px 7px 10px}.dew-icon{width:28px;height:28px}.resource-meter span{font-size:7px}.resource-meter b{font-size:14px}.economy-button{min-width:0;min-height:52px;padding-right:30px}.economy-button span{font-size:7px}.economy-button b{font-size:10px}.economy-button kbd{right:6px}.unit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.unit-card{grid-template-columns:40px 1fr;min-height:67px;padding:6px}.unit-card-icon{width:38px;height:38px;font-size:13px}.unit-card-copy b{font-size:9px}.unit-card-copy small{display:none}.unit-card-cost{font-size:9px}.pulse-card{grid-column:1/-1;min-height:51px}.deck-footer{min-height:24px}.mission-strip{grid-template-columns:1fr;gap:5px;padding:7px 0 0}.mission-label,.win-count{display:none}.mission-strip button{grid-template-columns:25px 1fr;min-height:42px;padding:4px}.mission-strip button i{width:24px;height:24px}.mission-strip button b{font-size:8px}.mission-strip button small{font-size:6px}}@media (max-width:360px){.battlefield{height:238px}.base-readout>b{display:none}.hud-health{grid-column:1}.resource-row{grid-template-columns:1fr 123px}.resource-meter em{display:none}.unit-card{grid-template-columns:35px 1fr}.unit-card-icon{width:33px;height:33px}.deck-footer p{max-width:215px}}@media (max-height:700px) and (orientation:portrait){.game-shell{padding-top:max(5px, env(safe-area-inset-top));padding-bottom:max(7px, env(safe-area-inset-bottom))}.topbar{min-height:39px;margin-bottom:5px}.brand-mark{width:31px;height:31px}.brand-lockup b{font-size:13px}.icon-button{width:34px;height:34px}.battle-hud{min-height:43px;padding-block:5px}.battlefield{height:188px}.base{width:52px;height:70px}.ready-overlay{padding:7px}.ready-overlay .overlay-card{width:min(360px,96%);padding:11px 13px}.overlay-card .eyebrow{margin-bottom:3px;font-size:7px}.overlay-card h1{font-size:22px}.overlay-card h2{font-size:21px}.overlay-card>p:not(.eyebrow){margin:4px 0 7px;font-size:9px;line-height:1.3}.how-to-play{gap:4px;margin-bottom:8px}.how-to-play span{gap:2px;min-height:38px;padding:2px;font-size:6px}.how-to-play b{width:15px;height:15px;font-size:7px}.ready-overlay .primary-button{min-height:38px}.ready-overlay .overlay-card>small{display:none}.compact-card,.result-card{padding:15px}.control-deck{margin-top:5px;padding:5px}.resource-row{margin-bottom:5px}.resource-meter,.economy-button{min-height:42px}.resource-meter{padding-block:4px 8px}.economy-button{padding-block:5px}.unit-grid{gap:4px}.unit-card{grid-template-columns:33px 1fr;min-height:49px;padding:4px}.unit-card-icon{width:31px;height:31px}.pulse-card{min-height:43px;padding-block:4px}.pulse-orb{width:32px;height:32px;font-size:19px}.deck-footer,.mission-strip{display:none}}@media (max-height:520px) and (orientation:landscape){.game-shell{padding:7px max(9px, env(safe-area-inset-right)) 7px max(9px, env(safe-area-inset-left));grid-template-rows:46px auto;grid-template-columns:minmax(0,1.55fr) minmax(390px,.9fr);gap:7px 9px;display:grid}.topbar{grid-column:1/-1;min-height:42px;margin:0}.battle-card{grid-area:2/1;align-self:start}.battle-hud{min-height:45px;padding-block:5px}.battlefield{height:calc(100svh - 132px);min-height:215px}.control-deck{grid-area:2/2;align-self:stretch;margin:0;padding:7px}.resource-row{grid-template-columns:1fr 135px;margin-bottom:6px}.resource-meter,.economy-button{min-height:46px}.unit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.unit-card{min-height:58px}.pulse-card{grid-column:1/-1;min-height:47px}.deck-footer{min-height:20px;padding-top:4px}.mission-strip{display:none}.ready-overlay .overlay-card{width:min(430px,90%);margin-left:15px;padding:14px 17px}.overlay-card h1{font-size:27px}.overlay-card>p:not(.eyebrow){margin:5px 0 9px}.how-to-play{margin-bottom:8px}.how-to-play span{min-height:41px}.ready-overlay .overlay-card>small{display:none}}.home-share-button{color:#315f4b;background:#ffffff94;border:1px solid #366a4e47;border-radius:12px;width:100%;min-height:38px;margin-top:8px;font-weight:850}.analytics-consent-card{color:#315447;background:#f7ffeedb;border:1px solid #32694e47;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:9px;padding:10px;display:grid}.analytics-consent-card strong,.analytics-consent-card p{margin:0;font-size:11px;line-height:1.35;display:block}.analytics-consent-card p{color:#4f625c;margin-top:2px;font-weight:650}.analytics-consent-card a{color:#236f55;font-size:10px;font-weight:800}.analytics-consent-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.analytics-consent-actions button{color:#234e3d;background:#fffef0;border:1px solid #4b7b62;border-radius:11px;min-width:104px;min-height:44px;font-size:11px;font-weight:850}.result-feedback-card{background:#eff9e0cc;border:1px solid #356f5238;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.result-feedback-card span,.result-feedback-card small{display:block}.result-feedback-card small{color:#4f625c;margin-top:2px}.result-feedback-card button{color:#fff;background:#2e7255;border:0;border-radius:12px;min-width:102px;min-height:44px;font-weight:900}@media (max-width:620px){.analytics-consent-card{grid-template-columns:minmax(0,1fr);gap:7px;padding:8px}.analytics-consent-actions button{min-width:0}.result-feedback-card{align-items:stretch}.ending-card>.overlay-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;display:grid}.ending-card>.overlay-actions button{width:100%;min-width:0;min-height:44px;padding-inline:5px}}@media (max-height:520px) and (orientation:landscape){.analytics-consent-card{grid-template-columns:minmax(0,1fr) minmax(220px,.65fr);padding:6px 8px}.analytics-consent-card p,.analytics-consent-card a,.home-hint{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.battlefield{touch-action:pan-y}.top-actions{align-items:center;min-width:0}.growth-button,.compact-tool-button{cursor:pointer;white-space:nowrap;background:#ffffffbd;border:1px solid #bacaad;border-radius:13px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0 13px;font-size:11px;font-weight:900;display:inline-flex;box-shadow:0 5px 12px #2e4a3c14}.growth-button{color:#76551d;background:linear-gradient(145deg,#fff9d7,#f4e6a8);border-color:#d2bd75;gap:5px}.growth-button b{font-variant-numeric:tabular-nums}.growth-button:hover,.compact-tool-button:hover{background-color:#fff;transform:translateY(-1px)}.speed-selector{background:#ffffffa3;border:1px solid #bacaad;border-radius:13px;grid-template-columns:repeat(3,44px);display:grid;overflow:hidden;box-shadow:0 5px 12px #2e4a3c14}.speed-selector button{cursor:pointer;font-variant-numeric:tabular-nums;background:0 0;border:0;border-right:1px solid #ccd8c1;min-width:44px;min-height:44px;padding:0;font-size:10px;font-weight:900}.speed-selector button:last-child{border-right:0}.speed-selector button:hover{background:#f9fcef}.speed-selector button.active{background:var(--leaf);color:#fff;box-shadow:inset 0 -3px 0 var(--leaf-dark)}.icon-button{min-width:44px;min-height:44px}.danger-readout>span,.danger-readout>b{color:#a52f36}.danger-readout .hud-health{outline:2px solid #c53d4259}.danger-readout .hud-health i{background:linear-gradient(90deg,#e66b59,#bd303c)}.wave-preview{z-index:28;color:#31584c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fffdf4e6;border:1px solid #24483d38;border-radius:15px;align-items:center;gap:7px;max-width:calc(58% - 12px);min-height:48px;padding:4px 5px 4px 10px;display:flex;position:absolute;top:10px;left:10px;box-shadow:0 8px 24px #1a332c2e}.wave-preview>span{color:var(--leaf-dark);white-space:nowrap;flex:none;font-size:9px;font-weight:900}.wave-preview>div{scrollbar-width:none;gap:3px;min-width:0;display:flex;overflow-x:auto}.wave-preview>div::-webkit-scrollbar{display:none}.wave-preview>div button,.early-wave-button{cursor:pointer;min-width:44px;min-height:44px;color:var(--ink);background:#f4f6e9;border:1px solid #cbd7bf;border-radius:11px;font-size:11px;font-weight:900}.wave-preview>div button:hover{background:#fffef5;border-color:#87aa78}.wave-preview>b{color:#885e22;font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:11px}.early-wave-button{color:#7b561c;background:#fff0aa;border-color:#e4bc55;flex:none;padding:0 10px;font-size:9px}.dew-well{z-index:8;color:#335d55;text-align:center;pointer-events:none;justify-items:center;gap:3px;width:clamp(72px,9vw,118px);display:grid;position:absolute;bottom:27.5%;left:50%;transform:translate(-50%,50%)}.dew-well:before{z-index:-1;content:"";background:#bfe6d6;border:3px solid #416d60;border-radius:50%;width:100%;height:24px;position:absolute;bottom:15px;box-shadow:inset 0 -8px #33685829,0 5px #284e422e}.dew-well span{color:#effff9;text-shadow:0 1px #397e6d;background:#79d0bc;border-radius:50% 50% 56% 44%;place-items:center;width:34px;height:34px;font-size:14px;display:grid;transform:rotate(45deg);box-shadow:0 0 0 5px #7bd1bd38}.dew-well b{background:#fffff5c7;border-radius:9px;max-width:116px;padding:3px 6px;font-size:7px;line-height:1.2}.dew-well.well-player span{background:#5fc7a5;box-shadow:0 0 0 6px #60cfaa47,0 0 21px #6dd3b0}.dew-well.well-player:before{border-color:var(--leaf);background:#b5e9ca}.dew-well.well-enemy span{background:#a26b9b;box-shadow:0 0 0 6px #884f853d,0 0 18px #a8709e}.dew-well.well-enemy:before{background:#c9a5c8;border-color:#70466f}.dew-well.well-contested span{background:linear-gradient(90deg,#5fc7a5 50%,#a26b9b 50%);animation:1s ease-in-out infinite alternate well-contested}@keyframes well-contested{to{transform:rotate(45deg)translateY(-4px)}}.boss-status{z-index:29;color:#fff3cf;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#2c203ee0;border:1px solid #4e315a59;border-radius:13px;width:min(330px,38%);min-width:180px;padding:7px 9px;position:absolute;top:10px;right:10px;box-shadow:0 8px 25px #21152e3d}.boss-status>span{letter-spacing:.05em;margin-bottom:5px;font-size:8px;font-weight:900;display:block}.boss-status>div{background:#ffffff2e;border-radius:8px;height:6px;overflow:hidden}.boss-status>div i{border-radius:inherit;background:linear-gradient(90deg,#e66d76,#ffc163);height:100%;transition:width .15s;display:block}.boss-status strong{color:#ffd76f;margin-top:5px;font-size:8px;display:block}.boss-status.charging{border-color:#ffcc64;animation:.55s ease-in-out infinite alternate boss-charge}@keyframes boss-charge{to{box-shadow:0 0 0 4px #ffc65740,0 9px 28px #21152e61}}.danger-banner,.combo-banner,.bond-banner{z-index:31;letter-spacing:.03em;pointer-events:none;border-radius:999px;padding:6px 11px;font-size:9px;font-weight:950;position:absolute;box-shadow:0 5px 17px #20302a33}.danger-banner{color:#fff;background:#b93d48;animation:.7s ease-in-out infinite alternate danger-pulse;top:23%;left:50%;transform:translate(-50%)}@keyframes danger-pulse{to{box-shadow:0 0 0 5px #c5394138,0 7px 19px #4a1a1e40}}.combo-banner{color:#8c5317;background:#fff0a8;top:41%;right:5%;transform:rotate(2deg)}.bond-banner{color:#edfff6;background:#1d5b47e0;bottom:8px;left:50%;transform:translate(-50%)}.guide-bubble{z-index:33;color:#614f24;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#fff9d1f0;border:1px solid #d4c16e;border-radius:15px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;max-width:min(350px,100% - 20px);min-height:52px;padding:5px 5px 5px 11px;display:grid;position:absolute;bottom:10px;left:10px;box-shadow:0 8px 25px #49391a2e}.guide-bubble b{white-space:nowrap;font-size:9px}.guide-bubble span{min-width:0;font-size:8px;line-height:1.35}.guide-bubble button{cursor:pointer;color:#614f24;background:#eee0a0;border:0;border-radius:11px;min-width:44px;min-height:44px;font-size:9px;font-weight:900}.guide-target{outline-offset:2px;animation:.8s ease-in-out infinite alternate guide-target-pulse;outline:3px solid #f3bd38!important}@keyframes guide-target-pulse{to{filter:brightness(1.08);outline-color:#fff2a0}}.ready-overlay{overflow:hidden}.ready-overlay .ready-card{overscroll-behavior:contain;scrollbar-color:#a7bd91 transparent;scrollbar-width:thin;width:min(680px,100%);max-height:calc(100% - 6px);margin-left:clamp(0px,3vw,44px);padding:clamp(17px,2.4vw,30px);overflow:hidden auto}.setup-section{gap:6px;margin:11px 0;display:grid}.setup-section>span{color:#526d63;letter-spacing:.04em;font-size:9px;font-weight:900}.setup-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.mode-options{grid-template-columns:repeat(4,minmax(0,1fr))}.setup-options button,.roster-options button{cursor:pointer;color:#52675f;background:#f6f6e9;border:1px solid #d7dfcf;border-radius:11px;min-width:44px;min-height:44px;padding:6px 8px;font-size:9px;font-weight:850}.setup-options button:hover:not(:disabled),.roster-options button:hover{background:#fffef4;border-color:#91ad7d}.setup-options button.active,.roster-options button.active{border-color:var(--leaf);color:var(--leaf-dark);background:#dfeecb;box-shadow:inset 0 0 0 1px #1f684d24}.setup-options button:disabled{cursor:default;opacity:.5}.skill-options button{text-align:left;align-content:center;gap:3px;min-height:58px;display:grid}.skill-options b,.skill-options small{display:block}.skill-options b{font-size:9px}.skill-options small{color:#718078;font-size:7px;line-height:1.3}.roster-options{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.roster-options button{place-items:center;gap:3px;min-height:57px;padding:5px 3px;display:grid}.roster-options button i{background:#ffffff70;border:1px solid;border-radius:50%;place-items:center;width:26px;height:26px;font-size:9px;font-style:normal;display:grid}.roster-options button span{text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:7px;overflow:hidden}.ready-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0;display:grid}.ready-summary span{color:#6c7d75;background:#f8f7ec;border:1px solid #dde4d5;border-radius:10px;min-width:0;padding:8px;font-size:7px;line-height:1.35}.ready-summary b{color:var(--ink);margin-bottom:2px;font-size:8px;display:block}.assist-option{cursor:pointer;color:#735823;background:#fff5ca;border:1px dashed #d4a957;border-radius:11px;align-items:center;gap:9px;min-height:44px;margin:8px 0;padding:7px 10px;font-size:8px;display:flex}.assist-option input{width:22px;height:22px;accent-color:var(--leaf);flex:none}.assist-option b{font-size:9px;display:block}.start-button{z-index:2;width:100%;min-height:48px;margin-top:3px;position:sticky;bottom:0}.blessing-card{width:min(650px,96%);max-height:calc(100% - 12px);overflow-y:auto}.blessing-options button{cursor:pointer;color:#684e20;text-align:left;background:linear-gradient(145deg,#fffbdc,#f2e6a8);border:1px solid #d8c66f;border-radius:14px;align-content:center;gap:6px;min-width:44px;min-height:88px;padding:12px;display:grid}.blessing-options button:hover{border-color:#aa8431;transform:translateY(-2px);box-shadow:0 8px 18px #543f1626}.blessing-options b{font-size:11px}.blessing-options span{color:#77673e;font-size:8px;line-height:1.4}.result-card{max-height:calc(100% - 12px);overflow-y:auto}.result-stars{color:#f0af2e;letter-spacing:.08em;text-shadow:0 2px #9c6b1a;margin:12px 0 4px;font-size:clamp(28px,5vw,48px);line-height:1}.result-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.reward-summary{color:#70531e;background:#fff6c8;border:1px solid #d7bd58;border-radius:12px;gap:3px;margin:10px 0 15px;padding:10px;display:grid}.reward-summary b{font-size:17px}.reward-summary span,.reward-summary small{font-size:8px;line-height:1.4}.tactics-row{grid-template-columns:minmax(240px,1fr) auto minmax(170px,auto);align-items:stretch;gap:9px;margin-bottom:9px;display:grid}.stance-selector{background:#f4f5e8;border:1px solid #d5ddcd;border-radius:14px;grid-template-columns:repeat(3,minmax(58px,1fr));min-width:210px;display:grid;overflow:hidden}.stance-selector button{cursor:pointer;color:#61736a;background:0 0;border:0;border-right:1px solid #d5ddcd;min-width:44px;min-height:44px;padding:5px;font-size:9px;font-weight:900}.stance-selector button:last-child{border-right:0}.stance-selector button.active{color:var(--leaf-dark);background:#dfeecb;box-shadow:inset 0 -3px #6fa05b}.stance-selector button:disabled:not(.active){cursor:default;opacity:.54}.unit-grid{align-items:start}.unit-card-wrap{border:1px solid #0000;border-radius:17px;grid-template-rows:auto auto auto;gap:4px;min-width:0;padding:4px;display:grid}.unit-card-wrap .unit-card{width:100%;min-width:0}.unit-card-wrap.is-deploy-ready .unit-card{background:linear-gradient(145deg,#fffbe0,#e8f2bd);border-color:#dcae35;box-shadow:inset 0 2px #fff,0 4px #98ae67,0 0 0 3px #eec34833}.unit-card-wrap.is-deploy-ready .unit-card-cost{color:#8b5d08}.unit-card-wrap.is-deploy-blocked .unit-state{color:#906b62}.unit-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.unit-card-actions button{cursor:pointer;color:#536c61;background:#f3f5e9;border:1px solid #d4ddcc;border-radius:9px;min-width:44px;min-height:44px;padding:3px 5px;font-size:8px;font-weight:850}.unit-card-actions button:first-child{color:var(--leaf-dark);background:#e8f2d9;border-color:#c7d9b6}.unit-card-actions button:disabled{cursor:default;filter:grayscale(.3);opacity:.5}.unit-state{color:#728078;text-overflow:ellipsis;min-height:21px;padding:2px 3px;font-size:7px;line-height:1.25;display:block;overflow:hidden}.card-healer .unit-card-icon,.detail-glyph.card-healer{color:#624469;background:#e6cced}.card-vine .unit-card-icon,.detail-glyph.card-vine{color:#244f38;background:#91c989}.kind-healer .sprite{background:#d9bce3;border-radius:46% 46% 37% 37%;box-shadow:inset -5px -7px #5d376821,2px 3px #15392c2e}.kind-healer .sprite:before{background:#f1e1f4;border-radius:50% 50% 8px 8px;width:42%;height:34%;top:-24%;left:28%;transform:rotate(2deg)}.kind-healer .sprite:after{background:#d9bce3}.kind-healer .face:after{content:"";background:#7a4e70;border-radius:50%;width:15%;height:35%;position:absolute;top:35%;left:43%}.kind-vine .sprite{background:#79b96f;border-radius:42% 54% 36% 42%}.kind-vine .sprite:before{background:#4e9b61;border-radius:100% 0;width:62%;height:42%;top:-29%;left:4%;transform:rotate(-16deg)}.kind-vine .sprite:after{width:50%;height:20%;box-shadow:none;background:0 0;border:3px solid #234a3c;border-bottom:0;border-radius:50% 50% 0 0;bottom:8%;right:-10%;transform:rotate(-15deg)}.tier-pip,.shield-pip{z-index:3;color:#fff;text-align:center;border-radius:7px;min-width:26px;padding:2px 4px;font-size:6px;font-weight:900;position:absolute;top:-30px;transform:none}.tier-pip{background:#3b7c5e;left:-6px}.shield-pip{background:#4c87a5;right:-7px}.team-enemy .tier-pip,.team-enemy .shield-pip{transform:scaleX(-1)}.fighter.is-slowed .sprite{box-shadow:0 0 0 4px #5bbed740,inset -5px -7px #2d5e3c21}.fighter.is-stunned .sprite{filter:saturate(.55)brightness(1.12);animation:.2s linear infinite alternate stunned-jitter}@keyframes stunned-jitter{to{transform:translate(2px)rotate(2deg)}}.effect-hit{color:#fff4d1;font-size:24px}.effect-heal{color:#91f2bd;text-shadow:0 2px 7px #236b4c}.effect-shield{color:#9fe7ff;text-shadow:0 2px 7px #2d6780}.effect-slow{color:#9be5ff;text-shadow:0 2px 7px #2b6078}.effect-stun{color:#fff17d;text-shadow:0 2px 7px #81671d}.skill-cooldown{grid-template-columns:1fr auto;align-items:center;gap:5px;display:grid;position:absolute;bottom:7px;left:64px;right:7px}.skill-cooldown progress{accent-color:#d39d35;border:0;border-radius:8px;width:100%;height:6px;overflow:hidden}.skill-cooldown strong{white-space:nowrap;font-size:7px;position:static}.pulse-card.is-ready{background:linear-gradient(145deg,#fffbd9,#ffdf74);border-color:#e7b33b;animation:1s ease-in-out infinite alternate skill-ready;box-shadow:0 0 0 3px #efb53738,0 8px 20px #714e1429}.pulse-card.is-ready:after{color:#fff9d8;content:"技能就绪";background:#96701e;border-radius:7px;padding:2px 5px;font-size:6px;font-weight:900;position:absolute;top:6px;right:28px}@keyframes skill-ready{to{transform:translateY(-2px);box-shadow:0 0 0 5px #efb53747,0 10px 24px #714e1433}}.finish-endless{cursor:pointer;color:#8b3d4a;background:#fff0ee;border:1px solid #b16b75;border-radius:10px;min-width:88px;min-height:44px;padding:0 10px;font-size:8px;font-weight:900}.mission-strip button{min-height:44px}.unit-detail-drawer,.status-drawer{z-index:90;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f272185;justify-items:end;display:grid;position:fixed;inset:0;overflow:hidden}.unit-detail-drawer>div,.status-drawer>div{width:min(430px,100%);height:100%;padding:max(24px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));background:var(--paper);overscroll-behavior:contain;border-left:1px solid #ffffff8c;position:relative;overflow:hidden auto;box-shadow:-18px 0 55px #0f261f38}.drawer-close,.drawer-map button{cursor:pointer;color:#506b5f;background:#f1f4e9;border:1px solid #ccd8c3;border-radius:11px;min-width:44px;min-height:44px;font-size:9px;font-weight:900}.drawer-close{float:right;margin-left:10px;padding:0 12px}.detail-glyph{color:#244b3b;background:#b7d968;border:3px solid #315f4b;border-radius:50% 50% 43% 45%;place-items:center;width:78px;height:78px;margin:12px 0 16px;font-size:24px;font-weight:950;display:grid;box-shadow:inset -7px -8px #2453391a,0 8px 20px #234a391f}.detail-glyph.card-shell{background:#cfae72}.detail-glyph.card-bloom{background:#f2d578}.detail-glyph.card-moss{color:#fff;background:#668e5a}.unit-detail-drawer h2,.status-drawer h2{color:var(--ink);margin:0 0 8px;font-size:25px;line-height:1.1}.unit-detail-drawer p{color:var(--ink-soft);margin:0 0 18px;font-size:12px;line-height:1.55}.unit-detail-drawer dl,.status-drawer dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0;display:grid}.unit-detail-drawer dl div,.status-drawer dl div,.drawer-map button{background:#f7f7ec;border:1px solid #dfe5d7;border-radius:11px;min-width:0;padding:10px}.unit-detail-drawer dt,.status-drawer dt{color:#708278;font-size:8px;font-weight:800}.unit-detail-drawer dd,.status-drawer dd{overflow-wrap:anywhere;color:var(--ink);margin:4px 0 0;font-size:11px;font-weight:850}.drawer-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.drawer-map button{cursor:pointer;text-align:left;grid-template-columns:27px 1fr;align-items:center;gap:7px;display:grid}.drawer-map button b{background:var(--leaf);color:#fff;border-radius:50%;place-items:center;width:27px;height:27px;font-size:9px;display:grid}.drawer-map button:disabled{cursor:default;filter:grayscale(.4);opacity:.55}.progress-hub{z-index:100;padding:max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f272194;place-items:center;display:grid;position:fixed;inset:0;overflow:hidden}.progress-hub__panel{background:var(--paper);overscroll-behavior:contain;scrollbar-color:#a7bd91 transparent;scrollbar-width:thin;border:1px solid #ffffffa3;border-radius:24px;width:min(980px,100%);max-height:100%;padding:clamp(18px,2.8vw,32px);overflow:hidden auto;box-shadow:0 30px 85px #0d201b61}.progress-hub__header{justify-content:space-between;align-items:start;gap:18px;margin-bottom:14px;display:flex}.progress-hub__eyebrow{color:var(--leaf);letter-spacing:.16em;margin:0 0 4px;font-size:9px;font-weight:900}.progress-hub__header h2{letter-spacing:-.03em;margin:0;font-size:clamp(25px,3.5vw,38px)}.progress-hub__header p:last-child{color:var(--ink-soft);margin:7px 0 0;font-size:11px}.progress-hub__close,.progress-hub__buy{cursor:pointer;min-width:44px;min-height:44px;color:var(--leaf-dark);background:#eff3e6;border:1px solid #cbd8c2;border-radius:11px;font-size:9px;font-weight:900}.progress-hub__close{flex:none;padding:0 13px}.progress-hub__wallet{background:linear-gradient(145deg,#fffbdc,#f6e7a7);border:1px solid #dcc36b;border-radius:15px;grid-template-columns:auto auto 1fr;align-items:center;gap:10px 18px;margin-bottom:13px;padding:14px 16px;display:grid}.progress-hub__wallet h3,.progress-hub__section h3{color:var(--ink);margin:0;font-size:13px}.progress-hub__currency{color:#865e1f;font-variant-numeric:tabular-nums;font-size:18px}.progress-hub__wallet>span{color:#796a41;font-size:9px}.progress-hub__section{background:#fbfbf2;border:1px solid #dfe6d8;border-radius:15px;margin-top:12px;padding:14px}.progress-hub__section-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.progress-hub__section-heading span{color:#77867e;font-size:8px;font-weight:800}.progress-hub ul{margin:0;padding:0;list-style:none}.progress-hub__shop-list,.progress-hub__mastery-list,.progress-hub__achievement-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.progress-hub__shop-item,.progress-hub__mastery-item,.progress-hub__achievement-item{background:#f6f7ec;border:1px solid #dfe5d8;border-radius:11px;min-width:0;padding:10px}.progress-hub__shop-item{justify-content:space-between;align-items:center;gap:8px;min-height:64px;display:flex}.progress-hub__shop-item strong,.progress-hub__shop-item span,.progress-hub__item-heading strong,.progress-hub__item-heading span{display:block}.progress-hub__shop-item strong,.progress-hub__item-heading strong{color:var(--ink);font-size:10px}.progress-hub__shop-item span,.progress-hub__item-heading span,.progress-hub__mastery-item>span{color:#74827a;margin-top:3px;font-size:8px}.progress-hub__buy{background:#e5f0d7;border-color:#9db888;flex:none;padding:0 10px}.progress-hub__buy:disabled{cursor:default;filter:grayscale(.3);opacity:.55}.progress-hub__item-heading{justify-content:space-between;align-items:start;gap:7px;display:flex}.progress-hub__item-heading span{flex:none;margin-top:0}.progress-hub__progress{width:100%;height:8px;accent-color:var(--leaf);border:0;border-radius:9px;margin-top:8px;overflow:hidden}.progress-hub__achievement-item p{color:#6f7e76;min-height:26px;margin:6px 0 0;font-size:8px;line-height:1.4}.progress-hub__daily-grid,.progress-hub__record-grid,.progress-hub__journey-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0;display:grid}.progress-hub__record-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.progress-hub__journey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-hub__daily-grid div,.progress-hub__record-grid div,.progress-hub__journey-grid div{background:#f6f7ec;border:1px solid #dfe5d8;border-radius:10px;min-width:0;padding:9px}.progress-hub dt{color:#77867e;font-size:7px;font-weight:800}.progress-hub dd{overflow-wrap:anywhere;color:var(--ink);margin:4px 0 0;font-size:10px;font-weight:850}.progress-hub__settings{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.progress-hub__settings label{cursor:pointer;background:#f6f7ec;border:1px solid #dfe5d8;border-radius:11px;justify-content:space-between;align-items:center;gap:8px;min-height:56px;padding:9px;display:flex}.progress-hub__settings strong,.progress-hub__settings small{display:block}.progress-hub__settings strong{font-size:9px}.progress-hub__settings small{color:#77867e;margin-top:2px;font-size:7px;line-height:1.35}.progress-hub__settings input{width:24px;height:24px;accent-color:var(--leaf);flex:none}.progress-hub__privacy{background:#f6f7ec;border:1px solid #dfe5d8;border-radius:11px;grid-column:1/-1;gap:8px;padding:9px;display:grid}.progress-hub__privacy>label{background:0 0;border:0;min-height:44px;padding:0}.progress-hub__privacy>p{color:#67766e;margin:0;font-size:8px;line-height:1.55}.progress-hub__privacy a{min-height:44px;color:var(--leaf-dark);align-items:center;margin-left:6px;font-weight:900;display:inline-flex}.progress-hub__privacy-actions{flex-wrap:wrap;gap:8px;display:flex}.progress-hub__privacy-actions .progress-hub__buy{flex:128px}.progress-hub__privacy-delete:not(:disabled){color:#7b4039;background:#f5e6e1;border-color:#c9a6a0}.reduced-motion *,.reduced-motion :before,.reduced-motion :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation:none!important}@media (max-width:900px){.tactics-row{grid-template-columns:minmax(0,1fr) 170px}.stance-selector{grid-area:2/1/auto/-1;min-width:0}.unit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pulse-card{grid-column:1/-1}.progress-hub__record-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:620px){.game-shell{max-width:100%;overflow-x:hidden}.topbar{gap:5px}.brand-lockup>div{display:none}.brand-lockup{flex:none}.top-actions{flex:1;justify-content:flex-end;gap:4px}.growth-button,.compact-tool-button{border-radius:11px;min-width:44px;min-height:44px;padding:0 7px;font-size:9px}.speed-selector{border-radius:11px;flex:none;grid-template-columns:repeat(3,44px)}.speed-selector button,.icon-button{width:44px;min-width:44px;height:44px;min-height:44px}.wave-preview{gap:4px;max-width:calc(100% - 12px);padding-left:7px;top:6px;left:6px}.wave-preview>div{flex:1}.wave-preview>div button{flex:0 0 44px}.early-wave-button{padding-inline:6px;font-size:7px}.boss-status{width:min(240px,100% - 12px);min-width:0;top:62px;right:6px}.danger-banner{text-align:center;max-width:calc(100% - 20px);top:46%}.combo-banner{top:56%;right:6px}.bond-banner{text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 150px);bottom:5px;overflow:hidden}.dew-well{width:70px}.dew-well b{display:none}.guide-bubble{max-width:none;bottom:5px;left:5px;right:5px}.ready-overlay{place-items:center;padding:6px}.ready-overlay .ready-card{width:100%;max-height:100%;margin:0;padding:13px}.ready-card h1{font-size:24px}.mode-options,.roster-options{grid-template-columns:repeat(3,minmax(0,1fr))}.setup-options button{padding-inline:4px}.skill-options{grid-template-columns:1fr}.skill-options button{min-height:48px}.ready-summary,.blessing-options{grid-template-columns:1fr}.blessing-options button{min-height:56px}.result-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tactics-row{grid-template-columns:minmax(0,1fr) 126px;gap:6px}.stance-selector{grid-column:1/-1}.economy-button{min-width:0;min-height:44px}.unit-card-wrap{padding:2px}.unit-card-actions button{min-height:44px}.unit-state{min-height:20px}.deck-footer{flex-wrap:wrap;align-items:center}.finish-endless{width:100%}.mission-strip button{min-height:44px}.progress-hub{padding:0}.progress-hub__panel{width:100%;height:100%;max-height:100%;padding:max(16px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));border:0;border-radius:0}.progress-hub__header{z-index:2;top:calc(-1 * max(16px, env(safe-area-inset-top)));margin:calc(-1 * max(16px, env(safe-area-inset-top))) -12px 12px;padding:max(16px, env(safe-area-inset-top)) 12px 10px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fffdf5f5;position:sticky}.progress-hub__header p:last-child{display:none}.progress-hub__wallet{grid-template-columns:1fr auto}.progress-hub__wallet>span{grid-column:1/-1}.progress-hub__shop-list,.progress-hub__mastery-list,.progress-hub__achievement-list,.progress-hub__settings{grid-template-columns:1fr}.progress-hub__daily-grid,.progress-hub__record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:360px){.brand-lockup{display:none}.top-actions{justify-content:space-between;width:100%}.growth-button{width:44px;padding:0;font-size:0}.growth-button:before{content:"露";font-size:9px}.growth-button b{font-size:9px}.setup-options,.mode-options,.roster-options{grid-template-columns:repeat(2,minmax(0,1fr))}.wave-preview>span{display:none}.early-wave-button{max-width:82px}.unit-detail-drawer dl,.status-drawer dl,.drawer-map{grid-template-columns:1fr}}@media (max-height:700px) and (orientation:portrait){.compact-tool-button,.growth-button,.speed-selector button,.icon-button{width:auto;min-width:44px;height:44px;min-height:44px}.speed-selector{grid-template-columns:repeat(3,44px)}.compact-tool-button{display:inline-flex}.ready-overlay .ready-card{max-height:100%;overflow-y:auto}.ready-overlay .primary-button,.unit-card-actions button,.stance-selector button{min-height:44px}.mission-strip{display:none}}@media (max-height:520px) and (orientation:landscape){.game-shell{grid-template-columns:minmax(0,1.4fr) minmax(330px,.9fr);min-width:0;overflow-x:hidden}.brand-lockup small{display:none}.top-actions{gap:5px}.growth-button,.compact-tool-button,.speed-selector button,.icon-button{min-width:44px;height:44px;min-height:44px}.speed-selector{grid-template-columns:repeat(3,44px)}.compact-tool-button{display:inline-flex}.battle-card,.control-deck{min-width:0}.wave-preview{max-width:calc(100% - 12px)}.boss-status{width:min(235px,100% - 12px);top:62px}.guide-bubble{max-width:none;bottom:5px;left:5px;right:5px}.ready-overlay .ready-card,.blessing-card,.result-card{width:min(660px,100%);max-height:100%;margin:0;overflow-y:auto}.ready-overlay{place-items:center;padding:5px}.setup-section{margin:7px 0}.tactics-row{grid-template-columns:minmax(0,1fr) 126px;gap:5px}.stance-selector{grid-column:1/-1}.unit-card-wrap{padding:2px}.unit-card-wrap .unit-card{min-height:58px}.unit-card-actions button{min-height:44px}.unit-state{display:none}.deck-footer{align-items:center}.mission-strip{display:none}.progress-hub{padding:6px}.progress-hub__panel{width:min(1000px,100%);max-height:100%;padding:13px}.progress-hub__header{margin-bottom:8px}.progress-hub__header p:last-child{display:none}.progress-hub__section{margin-top:8px;padding:10px}}@media (forced-colors:active){.game-shell,.battle-card,.control-deck,.overlay-card,.progress-hub__panel,.unit-detail-drawer>div,.status-drawer>div{color:canvastext;background:canvas;border:1px solid canvastext}button,.unit-card,.pulse-card,.setup-options button,.roster-options button,.progress-hub__section,.progress-hub__shop-item,.progress-hub__mastery-item,.progress-hub__achievement-item{color:buttontext;forced-color-adjust:auto;background:buttonface;border:1px solid buttontext}button.active,.speed-selector button.active,.stance-selector button.active{outline-offset:-3px;color:highlighttext;background:highlight;outline:3px solid highlight}progress,input[type=checkbox]{accent-color:highlight}.hud-health,.base-health,.resource-track,.boss-status>div{border:1px solid canvastext}}.kind-sprout,.card-sprout,[data-unit=sprout]{--unit-art:url(/art/units/sprout.webp);--unit-stage:#bce76d}.kind-shell,.card-shell,[data-unit=shell]{--unit-art:url(/art/units/shell.webp);--unit-stage:#e2ba70}.kind-bloom,.card-bloom,[data-unit=bloom]{--unit-art:url(/art/units/bloom.webp);--unit-stage:#f7dc79}.kind-moss,.card-moss,[data-unit=moss]{--unit-art:url(/art/units/moss.webp);--unit-stage:#85b06b}.kind-healer,.card-healer,[data-unit=healer]{--unit-art:url(/art/units/healer.webp);--unit-stage:#d8c7ef}.kind-vine,.card-vine,[data-unit=vine]{--unit-art:url(/art/units/vine.webp);--unit-stage:#79c988}.kind-wisp,.card-wisp,[data-unit=wisp]{--unit-art:url(/art/units/wisp.webp);--unit-stage:#9972c0}.kind-skitter,.card-skitter,[data-unit=skitter]{--unit-art:url(/art/units/skitter.webp);--unit-stage:#bd7197}.kind-brute,.card-brute,[data-unit=brute]{--unit-art:url(/art/units/brute.webp);--unit-stage:#95818d}.kind-warden,.card-warden,[data-unit=warden]{--unit-art:url(/art/units/warden.webp);--unit-stage:#704f8d}.game-shell{background:radial-gradient(circle at 8% 5%,#ffffffc7,#0000 24rem),linear-gradient(155deg,#f4f6d9 0 46%,#dcecc5 100%)}.battle-card{background:#fff8df;border:3px solid #fff6cf;box-shadow:0 7px #6a8d65,0 18px #2f5b4417,0 28px 60px #234b3d38}.battle-hud{background:linear-gradient(#ffffffc7,#0000 45%),linear-gradient(135deg,#fffbea,#f2e7c5);border-bottom:3px solid #d9c995;box-shadow:inset 0 -4px #8b6f3917}.hud-health,.base-health{background:#4c5944;border:2px solid #5e6f4d;box-shadow:inset 0 2px 4px #122a1f61,0 2px #ffffff80}.hud-health{height:9px}.hud-health i,.base-health i{box-shadow:inset 0 2px #ffffff57,inset 0 -2px #2a64323d}.battlefield,.sky-dusk .battlefield,.sky-night .battlefield{background-color:#99d874;background-image:linear-gradient(#ffffff08 55%,#4c62330d 100%),url(/art/battlefield-garden-v1.webp);background-position:50%;background-repeat:no-repeat;background-size:cover;box-shadow:inset 0 18px 24px #ffffff24,inset 0 -18px 30px #1f3e2738}.sky-dusk .battlefield{background-image:linear-gradient(125deg,#574e703d,#ff966033),url(/art/battlefield-garden-v1.webp)}.sky-night .battlefield{background-image:radial-gradient(circle at 18% 17%,#fff7bf47,#0000 17%),linear-gradient(125deg,#142a53a3,#5531608c),url(/art/battlefield-garden-v1.webp)}.battlefield:before{z-index:1;content:"";pointer-events:none;background:linear-gradient(90deg,#ffffff29,#0000 18% 82%,#222e1e1f),linear-gradient(#0000 60%,#1e3c230f);position:absolute;inset:0}.sun-or-moon,.far-hills,.near-hills,.cloud,.ground-line{display:none}.base{width:clamp(98px,11.5vw,164px);height:clamp(112px,13.5vw,188px);bottom:calc(31% + 2px);transform:none}.player-base{left:-1.1%}.enemy-base{right:-1.1%}.base:before{z-index:-1;filter:blur(2px);content:"";background:#22392257;border-radius:50%;height:18%;position:absolute;bottom:-3%;left:8%;right:8%}.base-body{height:auto;box-shadow:none;background-color:#0000;background-position:bottom;background-repeat:no-repeat;background-size:contain;border:0;border-radius:0;inset:-10% -8% -5%}.player-base .base-body{background-image:url(/art/bases/player-base.webp)}.enemy-base .base-body{box-shadow:none;background-color:#0000;background-image:url(/art/bases/enemy-base.webp);background-position:bottom;background-repeat:no-repeat;background-size:contain;border:0}.base-body:before,.base-body:after,.base-body span,.base-flag{display:none}.base-health{height:9px;bottom:-7px;left:16%;right:16%}.fighter{bottom:calc(31% + 3px + var(--lane-offset,0px));height:calc(var(--unit-size) * 1.12);filter:none}.fighter:after{z-index:-1;content:"";background:#263a1f4f;border-radius:50%;height:19%;position:absolute;bottom:-7%;left:1%;right:1%;box-shadow:0 2px 4px #192f1f2e}.sprite,.team-enemy .sprite,.kind-shell .sprite,.kind-bloom .sprite,.kind-moss .sprite,.kind-skitter .sprite,.kind-brute .sprite,.kind-warden .sprite,.kind-healer .sprite,.kind-vine .sprite{background-color:#0000;background-image:var(--unit-art);height:142%;box-shadow:none;transform-origin:50% 88%;background-position:bottom;background-repeat:no-repeat;background-size:contain;border:0;border-radius:0;animation:1.8s ease-in-out infinite alternate entity-idle;bottom:-8%;left:-32%;right:-32%}.sprite:before,.sprite:after,.face{display:none}.fighter.is-attacking .sprite{animation:.18s ease-out entity-attack}.fighter.is-stunned .sprite{animation:.2s linear infinite alternate stunned-jitter}.fighter.is-slowed .sprite{border-radius:50%;box-shadow:0 0 0 4px #5bd0e63d,0 0 17px #58c7e173}.kind-warden .sprite{height:156%;left:-43%;right:-43%}@keyframes entity-idle{0%{transform:translateY(0)scale(1)}to{transform:translateY(-2px)scale(1.012,.995)}}@keyframes entity-attack{0%{transform:translate(-2px)scale(.96,1.04)}56%{transform:translate(8px)scale(1.07,.93)}to{transform:translate(0)scale(1)}}.unit-health{background:#46513f;border:2px solid #2a3b27c7;height:7px;top:-16px;left:-16%;right:-16%;box-shadow:0 2px #ffffff73}.tier-pip,.shield-pip{border:1px solid #fff9;top:-37px;box-shadow:0 2px #1b2e2240}.dew-well{width:clamp(76px,9vw,124px);bottom:38%}.dew-well:before{background:radial-gradient(at 50% 35%,#dffff5 0 10%,#5bc7d0 34%,#25859d 78%),#6bb8bd;border:5px solid #c8b890;height:28px;bottom:9px;box-shadow:inset 0 4px #ffffffb3,inset 0 -7px #374d493d,0 6px #7a6d52,0 9px 11px #1c392f47}.dew-well span{color:#0000;background:radial-gradient(circle at 30% 24%,#fff 0 8%,#0000 9%),linear-gradient(135deg,#a8fff0 4%,#55d3d0 48%,#2585a5 100%);border:2px solid #ffffffa8;border-radius:62% 42% 58% 38%;width:32px;height:42px;animation:1.45s ease-in-out infinite alternate crystal-float;position:relative;box-shadow:0 0 0 6px #56d9cb38,0 7px 11px #255f5459}.dew-well b{background:#fffadae6;border:1px solid #525b3c3d;margin-top:5px;box-shadow:0 3px #62522b24}.dew-well.well-enemy span{background:radial-gradient(circle at 30% 24%,#fff 0 8%,#0000 9%),linear-gradient(135deg,#efc8ff,#a46fc1 50%,#6d3c92)}.dew-well.well-contested span{background:linear-gradient(135deg,#75e5c5 0 48%,#a66bbb 52% 100%)}@keyframes crystal-float{to{transform:rotate(45deg)translate(-3px,-3px)}}.battle-effect{filter:drop-shadow(0 3px 2px #4a38143d);background:radial-gradient(circle,#fff6acc2,#0000 66%);border-radius:999px;min-width:34px;padding:3px 6px;bottom:calc(31% + 60px)}.battle-effect:before,.battle-effect:after{content:"";background:#fff3a2;border-radius:90% 0;width:9px;height:18px;position:absolute;inset:50% auto auto 50%;transform:translate(-24px,-18px)rotate(-42deg)}.battle-effect:after{background:#b9e676;transform:translate(17px,-10px)rotate(47deg)}.effect-burst{box-shadow:0 0 0 7px #ffd65738,0 0 0 14px #ffe9941f}.effect-heal{background:radial-gradient(circle,#81ffb7c7,#0000 68%)}.effect-slow{background:radial-gradient(circle,#89e6ffbd,#0000 68%)}.control-deck{background:linear-gradient(#ffffffb8,#0000 36%),linear-gradient(145deg,#fff9df,#eee6c7);border:2px solid #f9edc5;box-shadow:0 6px #91a76d,0 14px 26px #294b3626}.resource-meter,.economy-button,.unit-card,.pulse-card,.setup-options button,.roster-options button{border-width:2px;border-color:#c8d3a8;box-shadow:inset 0 2px #ffffffbf,0 4px #aab98d}.unit-card,.pulse-card{background:linear-gradient(145deg,#fffef0,#e9edcf);overflow:visible}.unit-card:hover:not(:disabled),.pulse-card:hover:not(:disabled){box-shadow:inset 0 2px #fff,0 6px #8fa67a,0 11px 18px #26493224}.unit-card:active:not(:disabled),.pulse-card:active:not(:disabled),.setup-options button:active:not(:disabled),.roster-options button:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 2px #ffffff80,0 1px #8fa67a}.unit-card-wrap[data-unit] .unit-card-icon,.detail-glyph[data-unit],.roster-options button[data-unit] i{background-color:var(--unit-stage);background-image:var(--unit-art), radial-gradient(circle at 34% 28%, #fff9 0 13%, transparent 35%);color:#0000;background-position:50%;background-repeat:no-repeat;background-size:contain,cover;border:2px solid #39543494;font-size:0;box-shadow:inset 0 3px #ffffff94,0 4px #35492b54}.unit-card-wrap[data-unit] .unit-card-icon{border-radius:48% 48% 42% 42%;width:54px;height:54px}.detail-glyph[data-unit]{border-radius:30px;width:112px;height:112px}.roster-options button[data-unit] i{width:36px;height:36px}.wave-preview>div button[data-unit]{background-color:var(--unit-stage);background-image:var(--unit-art), radial-gradient(circle at 35% 26%, #fff8, transparent 35%);color:#0000;background-position:50%;background-repeat:no-repeat;background-size:contain,cover;border:2px solid #3a4d317a;font-size:0;box-shadow:inset 0 2px #ffffff8f,0 3px #394b2e47}.dew-icon{color:#0000;background:radial-gradient(circle at 28% 24%,#fff 0 10%,#0000 11%),linear-gradient(135deg,#b7fff2,#52d1ca 52%,#2986a2);border:2px solid #ffffffbf;position:relative;box-shadow:0 0 0 4px #4ac0aa29,3px 4px #4c8d7e}.pulse-orb{background:radial-gradient(circle at 32% 25%,#fff 0 9%,#0000 10%),radial-gradient(circle,#fffde5 0 15%,#ffe37a 17% 42%,#efa647 66%,#b55f38 100%);border:3px solid #8d672c;position:relative;box-shadow:inset -5px -7px #813f2230,0 5px #78552a,0 0 19px #f4ba4494}.speed-selector,.growth-button,.compact-tool-button,.icon-button{border-width:2px;box-shadow:inset 0 2px #ffffffb8,0 4px #a9b98e}.speed-selector button.active{background:linear-gradient(#4f9c6e,#287653);box-shadow:inset 0 2px #ffffff38,inset 0 -4px #15523e}.mission-strip button{background:#fffae275;border:2px solid #0000;box-shadow:0 3px #0000}.mission-strip button.active{background:linear-gradient(145deg,#fff9d9,#dcebbf);border-color:#aaba7e;box-shadow:0 3px #91a66d}@media (max-width:620px){.battle-card{border-width:2px;box-shadow:0 5px #6a8d65,0 15px 30px #234b3d33}.battlefield,.sky-dusk .battlefield,.sky-night .battlefield{background-position:50% 52%}.base{width:82px;height:104px}.fighter{bottom:calc(31% + 2px + var(--lane-offset,0px));width:calc(var(--unit-size) * .88);height:calc(var(--unit-size) * .99)}.fighter .sprite{height:136%;left:-24%;right:-24%}.unit-card-wrap[data-unit] .unit-card-icon{width:38px;height:38px}.detail-glyph[data-unit]{width:88px;height:88px}.roster-options button[data-unit] i{width:32px;height:32px}}@media (max-width:360px){.fighter{width:calc(var(--unit-size) * .76);height:calc(var(--unit-size) * .86)}.fighter .sprite{height:132%;left:-18%;right:-18%}.unit-card-wrap[data-unit] .unit-card-icon{width:32px;height:32px}}@media (max-height:700px) and (orientation:portrait){.base{width:64px;height:82px;bottom:calc(30% + 2px)}.fighter{bottom:calc(30% + 2px + var(--lane-offset,0px))}.dew-well{bottom:37%;transform:translate(-50%,50%)scale(.82)}.battle-effect{bottom:calc(30% + 46px)}.unit-card-wrap[data-unit] .unit-card-icon{width:30px;height:30px}}@media (max-height:520px) and (orientation:landscape){.battlefield,.sky-dusk .battlefield,.sky-night .battlefield{background-position:50% 54%;background-size:cover}.base{width:68px;height:88px;bottom:calc(25% + 1px)}.fighter{bottom:calc(25% + 2px + var(--lane-offset,0px))}.dew-well{bottom:33%;transform:translate(-50%,50%)scale(.76)}.battle-effect{bottom:calc(25% + 45px)}.unit-card-wrap[data-unit] .unit-card-icon{width:40px;height:40px}}@media (forced-colors:active){.battlefield,.sky-dusk .battlefield,.sky-night .battlefield,.fighter .sprite,.base .base-body,.unit-card-wrap[data-unit] .unit-card-icon,.detail-glyph[data-unit],.roster-options button[data-unit] i,.wave-preview>div button[data-unit]{background-image:none}.fighter .sprite,.base .base-body{background:canvas;border:2px solid canvastext;border-radius:50%}.unit-card-wrap[data-unit] .unit-card-icon,.detail-glyph[data-unit],.roster-options button[data-unit] i,.wave-preview>div button[data-unit]{color:canvastext;background-color:canvas;font-size:12px}.detail-glyph[data-unit]{font-size:24px}.roster-options button[data-unit] i{font-size:10px}.wave-preview>div button[data-unit]{font-size:9px}.face,.base-body span,.base-flag{display:block}}.mission-theme-0{--story-accent:#3f845e;--story-accent-dark:#245f46;--story-accent-soft:#e8f3cc}.mission-theme-1{--story-accent:#b06e2e;--story-accent-dark:#754019;--story-accent-soft:#f7e5bd}.mission-theme-2{--story-accent:#7c5a99;--story-accent-dark:#563a72;--story-accent-soft:#eee0f1}.mission-theme-3{--story-accent:#a9664c;--story-accent-dark:#754132;--story-accent-soft:#f8e4bd}.mission-theme-4{--story-accent:#2f8b82;--story-accent-dark:#1f615f;--story-accent-soft:#d7f2ed}.mission-theme-5{--story-accent:#8064b6;--story-accent-dark:#4d3977;--story-accent-soft:#eee8ff}.mission-theme-0 .battlefield{background-image:radial-gradient(circle at 22% 15%,#fff4ae24,#0000 26%),linear-gradient(135deg,#d2f5a40d,#4f8c4c0a),url(/art/battlefields/chapter-1-dew-hills.webp)}.mission-theme-1 .battlefield{background-image:radial-gradient(at 53% 42%,#ffe79f1a,#0000 19%),linear-gradient(120deg,#7c461a12,#ffdd940a),url(/art/battlefields/chapter-2-amber-canyon.webp)}.mission-theme-2 .battlefield{background-image:linear-gradient(112deg,#0000 42%,#d39de714 43% 47%,#0000 48%),linear-gradient(128deg,#4c2d6317,#b777b80d),url(/art/battlefields/chapter-3-moon-gate.webp)}.mission-theme-3 .battlefield{background-image:radial-gradient(circle at 78% 16%,#ffd2711f,#0000 23%),linear-gradient(122deg,#292b581a,#e6845514),url(/art/battlefields/chapter-4-thorn-pass.webp)}.mission-theme-4 .battlefield{background-image:radial-gradient(at 50% 38%,#d3fff417,#0000 25%),linear-gradient(120deg,#2067630f,#d4faec0a),url(/art/battlefields/chapter-5-mirror-marsh.webp)}.mission-theme-5 .battlefield{background-image:radial-gradient(circle at 50% 34%,#ffec9d1c,#0000 23%),linear-gradient(122deg,#5b3f9112,#ffdc840d),url(/art/battlefields/chapter-6-starroot-sanctum.webp)}.mission-theme-0 .battlefield:before{background:radial-gradient(at 34% 74%,#f2ffc038,#0000 25%),linear-gradient(#0000 62%,#4171391a)}.mission-theme-1 .battlefield:before{background:repeating-linear-gradient(108deg,#0000 0 27px,#cdfff612 28px 29px),linear-gradient(#4f96a212,#235a541f)}.mission-theme-2 .battlefield:before{background:repeating-linear-gradient(68deg,#0000 0 43px,#ebbef614 44px 46px),linear-gradient(#512e660d,#35224a29)}.mission-theme-3 .battlefield:before{background:linear-gradient(90deg,#2b2e5221,#0000 40% 66%,#ffc5681f),linear-gradient(#0000 54%,#412e3a2b)}.mission-theme-4 .battlefield:before{background:repeating-linear-gradient(176deg,#0000 0 36px,#defff912 37px 39px),linear-gradient(#cdfaf112,#0000 45%,#1f615f14)}.mission-theme-5 .battlefield:before{background:radial-gradient(circle,#fff6bc17,#0000 28%),linear-gradient(90deg,#563d8a12,#0000 43% 57%,#ffd17012)}.mission-theme-0 .battle-card,.mission-theme-1 .battle-card,.mission-theme-2 .battle-card,.mission-theme-3 .battle-card,.mission-theme-4 .battle-card,.mission-theme-5 .battle-card{border-color:var(--story-accent)}@supports (color:color-mix(in lab, red, red)){.mission-theme-0 .battle-card,.mission-theme-1 .battle-card,.mission-theme-2 .battle-card,.mission-theme-3 .battle-card,.mission-theme-4 .battle-card,.mission-theme-5 .battle-card{border-color:color-mix(in srgb, var(--story-accent) 34%, #fff6cf)}}.story-prologue{z-index:44;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));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:radial-gradient(circle at 20% 12%,#f8de8438,#0000 26rem),#143029b8;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.global-story-prologue{z-index:100;position:fixed}.story-card{overscroll-behavior:contain;border:2px solid var(--story-accent,var(--leaf));width:min(620px,100%);max-height:min(100% - 4px,100svh - 24px);padding:clamp(18px,3vw,30px);overflow:hidden auto}@supports (color:color-mix(in lab, red, red)){.story-card{border:2px solid color-mix(in srgb, var(--story-accent,var(--leaf)) 34%, white)}}.story-card{box-shadow:0 7px 0 var(--story-accent-dark,var(--leaf-dark)), 0 28px 70px #0c231d61;background:linear-gradient(145deg,#ffffffc7,#0000 38%),#fffaf0;border-radius:24px}@supports (color:color-mix(in lab, red, red)){.story-card{box-shadow:0 7px 0 color-mix(in srgb, var(--story-accent-dark,var(--leaf-dark)) 65%, #765e3d), 0 28px 70px #0c231d61}}.story-card{scrollbar-color:var(--story-accent,var(--leaf)) transparent}@supports (color:color-mix(in lab, red, red)){.story-card{scrollbar-color:color-mix(in srgb, var(--story-accent,var(--leaf)) 58%, white) transparent}}.story-card{scrollbar-width:thin}.story-prologue .story-card{max-height:calc(100% - 12px)}.story-card h1,.story-card h2{color:var(--story-accent-dark,var(--leaf-dark));letter-spacing:-.035em;margin:0;font-size:clamp(25px,4vw,42px);font-weight:950;line-height:1.08}.story-card>p{color:#586f67;font-size:12px;line-height:1.65}.story-line{border:1px solid var(--story-accent,var(--leaf));margin:12px 0;padding:13px 14px 13px 17px;position:relative}@supports (color:color-mix(in lab, red, red)){.story-line{border:1px solid color-mix(in srgb, var(--story-accent,var(--leaf)) 22%, #dfe8d1)}}.story-line{border-left:4px solid var(--story-accent,var(--leaf));background:var(--story-accent-soft,#e8f3cc);border-radius:5px 15px 15px 5px}@supports (color:color-mix(in lab, red, red)){.story-line{background:color-mix(in srgb, var(--story-accent-soft,#e8f3cc) 52%, #fffdf5)}}.story-line{color:#304e46;font-size:12px;line-height:1.6}.story-line p{margin:4px 0 0}.story-speaker{background:var(--story-accent,var(--leaf));color:#fff;letter-spacing:.04em;border-radius:999px;align-items:center;min-height:24px;padding:3px 9px;font-size:9px;font-weight:950;display:inline-flex}.story-actions{justify-content:flex-end;align-items:center;gap:9px;margin-top:16px;display:flex}.story-actions button{min-width:96px;min-height:46px}.story-choice-grid,.ending-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0;display:grid}.story-choice-button,.ending-option{border:2px solid var(--story-accent,var(--leaf));align-content:start;gap:6px;min-width:0;min-height:108px;padding:14px;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.story-choice-button,.ending-option{border:2px solid color-mix(in srgb, var(--story-accent,var(--leaf)) 24%, #d8dfcc)}}.story-choice-button,.ending-option{background:linear-gradient(145deg, #fffef4, var(--story-accent-soft,#edf4df));cursor:pointer;color:#425f56;text-align:left;box-shadow:inset 0 2px 0 #ffffffc7, 0 4px 0 var(--story-accent,var(--leaf));border-radius:15px}@supports (color:color-mix(in lab, red, red)){.story-choice-button,.ending-option{box-shadow:inset 0 2px 0 #ffffffc7, 0 4px 0 color-mix(in srgb, var(--story-accent,var(--leaf)) 22%, #aab98d)}}.story-choice-button:hover:not(:disabled),.ending-option:hover:not(:disabled){border-color:var(--story-accent,var(--leaf));transform:translateY(-1px)}.story-choice-button:active:not(:disabled),.ending-option:active:not(:disabled),.story-choice-button.is-selected,.story-choice-button[aria-pressed=true],.ending-option.is-selected,.ending-option[aria-pressed=true]{border-color:var(--story-accent,var(--leaf));box-shadow:inset 0 2px 0 #ffffff73, 0 1px 0 var(--story-accent-dark,var(--leaf-dark));transform:translateY(3px)}.story-choice-button b,.ending-option b{color:var(--story-accent-dark,var(--leaf-dark));font-size:12px}.story-choice-button span,.ending-option span{font-size:9px;line-height:1.5}.story-toast{z-index:34;border:1px solid #ffffff9e;border-left:5px solid var(--story-accent,#e7bc55);color:#f9fff5;pointer-events:none;background:#16372fe8;border-radius:15px;width:min(520px,100% - 24px);padding:10px 14px;font-size:10px;line-height:1.5;animation:.22s ease-out story-toast-in;position:absolute;bottom:16px;left:50%;transform:translate(-50%);box-shadow:0 9px 28px #0a1e194d}.story-toast .story-speaker{color:#ffe69a;background:0 0;margin-right:6px}@keyframes story-toast-in{0%{opacity:0;transform:translate(-50%,8px)}}.story-route-marks{flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0;display:flex}.story-route-marks span{border:1px solid var(--story-accent,var(--leaf));align-items:center;gap:4px;min-height:28px;padding:4px 9px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.story-route-marks span{border:1px solid color-mix(in srgb, var(--story-accent,var(--leaf)) 28%, #d9e1d2)}}.story-route-marks span{background:var(--story-accent-soft,#edf4df);color:var(--story-accent-dark,var(--leaf-dark));border-radius:999px;font-size:8px;font-weight:900}.ending-art{aspect-ratio:16/9;object-fit:cover;background:var(--story-accent-soft,#edf4df);width:100%;box-shadow:0 5px 0 var(--story-accent,var(--leaf));border:3px solid #fff5ce;border-radius:17px;margin:12px 0;display:block}@supports (color:color-mix(in lab, red, red)){.ending-art{box-shadow:0 5px 0 color-mix(in srgb, var(--story-accent,var(--leaf)) 30%, #9aa976)}}.ending-option-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ending-option{min-height:132px}.first-run-recommendation{color:#53604a;background:linear-gradient(145deg,#fff9d5,#edf2cb);border:2px solid #d7bd58;border-radius:14px;gap:6px;margin:12px 0;padding:13px 14px;font-size:9px;line-height:1.5;display:grid;box-shadow:inset 0 2px #ffffffc2}.first-run-recommendation b{color:#72541d;font-size:12px}.advanced-setup{border-top:1px dashed #becbb2;margin:10px 0;padding-top:10px}.advanced-setup>summary,.advanced-setup>button:first-child{cursor:pointer;min-height:44px;color:var(--leaf-dark);font-size:9px;font-weight:900}.difficulty-preview{color:#53685f;background:#f2f6e5;border:1px solid #cbd8bd;border-radius:10px;gap:3px;margin-top:7px;padding:8px 10px;font-size:8px;line-height:1.45;display:grid}.difficulty-preview b{color:var(--leaf-dark);font-size:9px}.mission-briefing{border:2px solid var(--story-accent,var(--leaf));gap:9px;margin:12px 0;padding:12px;display:grid}@supports (color:color-mix(in lab, red, red)){.mission-briefing{border:2px solid color-mix(in srgb, var(--story-accent,var(--leaf)) 38%, #ced7b8)}}.mission-briefing{background:linear-gradient(145deg, #fffdf0, var(--story-accent-soft,#edf4df));text-align:left;border-radius:15px}.mission-briefing small{color:#738076;font-size:8px;font-weight:900}.mission-briefing h2{color:var(--story-accent-dark,var(--leaf-dark));margin:2px 0 0;font-size:14px}.mission-briefing dl,.pause-snapshot{gap:6px;margin:0;display:grid}.mission-briefing dl div,.pause-snapshot div{grid-template-columns:68px minmax(0,1fr);align-items:start;gap:8px;display:grid}.mission-briefing dt,.pause-snapshot dt{color:#6c786f;font-size:8px;font-weight:900}.mission-briefing dd,.pause-snapshot dd{color:#3f5d52;margin:0;font-size:9px;line-height:1.45}.mission-challenge-preview{color:#725b25;background:#fff4b4b8;border-radius:10px;gap:2px;margin:0;padding:9px 10px;font-size:8px;line-height:1.45;display:grid}.mission-challenge-preview b{font-size:9px}.pause-snapshot{text-align:left;background:#f3f5e9;border-radius:12px;margin:12px 0;padding:10px}.danger-action{color:#8f3e32!important}.result-objectives{text-align:left;gap:6px;margin:12px 0;display:grid}.result-objective-row{color:#64766e;background:#faf8eb;border:1px solid #dce3d5;border-radius:10px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:38px;padding:7px 9px;font-size:9px;display:grid}.result-objective-row:before{color:#6b7c74;content:"·";background:#dfe5d8;border-radius:50%;place-items:center;width:22px;height:22px;font-weight:950;display:grid}.result-objective-row.is-complete,.result-objective-row[data-complete=true]{color:#345e4c;background:#eff6dc;border-color:#b9d18e}.result-objective-row.is-complete:before,.result-objective-row[data-complete=true]:before{background:var(--leaf);color:#fff;content:"✓"}.bonus-objective{background:#fff8d7;border-style:dashed;border-color:#d7b85b}.run-review{color:#52675d;text-align:left;background:linear-gradient(145deg,#f5f8e8,#e4efd1);border:2px solid #b9cf9b;border-radius:14px;gap:5px;margin:12px 0;padding:12px;display:grid}.run-review small{color:#728078;font-size:8px;font-weight:900}.run-review h3{color:var(--leaf-dark);margin:0;font-size:13px}.run-review p,.run-review b{margin:0;font-size:9px;line-height:1.5}.result-milestones{text-align:left;gap:6px;margin:10px 0;display:grid}.result-milestones span{color:#6b5d2b;background:#fff8d2;border:1px solid #d2c26e;border-radius:10px;gap:2px;padding:8px 10px;font-size:8px;line-height:1.4;display:grid}.result-milestones b{color:#6b541c;font-size:9px}.mobile-combat-strip{display:none}@media (max-width:620px){.game-shell:has(.mobile-combat-strip){padding-bottom:calc(80px + env(safe-area-inset-bottom))}.story-prologue{padding:max(6px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left))}.story-card{width:100%;max-height:calc(100svh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));border-radius:18px;padding:15px 13px 12px}.story-card h1,.story-card h2{font-size:24px}.story-line{margin:9px 0;padding:10px 10px 10px 12px;font-size:10px}.story-actions{z-index:2;padding:9px 13px calc(9px + env(safe-area-inset-bottom));background:#fffaf0f5;flex-wrap:wrap;margin:12px -13px -12px;position:sticky;bottom:-12px;box-shadow:0 -9px 16px #27443814}.story-actions button{flex:120px;min-width:0}.story-choice-grid,.ending-option-grid{grid-template-columns:1fr}.story-choice-button,.ending-option{min-height:88px}.story-toast{width:calc(100% - 12px);padding:8px 10px;font-size:9px;bottom:8px}.ending-art{border-width:2px;border-radius:13px;margin-block:9px}.result-objective-row{grid-template-columns:22px minmax(0,1fr)}.result-objective-row>:last-child:not(:first-child){grid-column:2}}@media (max-width:360px){.story-card{padding-inline:11px}.story-actions{text-align:center;grid-template-columns:1fr;margin-inline:-11px;padding-inline:11px;display:grid}.story-actions button{width:100%}.story-route-marks span{padding-inline:7px}}@media (max-width:620px) and (orientation:portrait),(max-width:900px) and (max-height:520px) and (orientation:landscape){:is(html:has(.mobile-combat-strip),body:has(.mobile-combat-strip)){height:100%;min-height:0;overflow:hidden}.game-shell:has(.mobile-combat-strip){height:100dvh;min-height:0;padding:max(5px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));grid-template-rows:auto minmax(0,1fr) auto;gap:6px;display:grid;position:fixed;inset:0;overflow:hidden}.game-shell:has(.mobile-combat-strip) .topbar{grid-row:1;min-width:0;margin:0}.game-shell:has(.mobile-combat-strip) .battle-card{grid-row:2;grid-template-rows:auto minmax(0,1fr);align-self:stretch;min-width:0;min-height:0;display:grid;overflow:hidden}.game-shell:has(.mobile-combat-strip) .battlefield{height:auto;min-height:0}:is(.game-shell:has(.mobile-combat-strip) .control-deck,.game-shell:has(.mobile-combat-strip) .mission-strip){display:none}.mobile-combat-strip{z-index:35;background:#fff9dffa;border:2px solid #f9edc5;border-radius:15px;grid-row:3;gap:5px;min-width:0;padding:6px;display:grid;position:relative;overflow:hidden;box-shadow:0 -3px 14px #1e413329}.mobile-combat-strip button{cursor:pointer;background:linear-gradient(145deg,#fffef0,#e9edcf);border:1px solid #c8d3a8;border-radius:9px;min-width:0;min-height:44px;font-weight:900;box-shadow:inset 0 2px #ffffffbf,0 2px #aab98d}.mobile-combat-strip button:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 1px #ffffff8c,0 1px #8fa67a}.mobile-combat-strip button:disabled{cursor:not-allowed;opacity:.55}.mobile-resource-progress{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mobile-battle-tip{color:#36564b;text-overflow:ellipsis;white-space:nowrap;background:#e8f0d8;border-radius:7px;align-items:center;gap:5px;min-width:0;min-height:18px;margin:0;padding:3px 7px;font-size:8px;font-weight:850;line-height:1.25;display:flex;overflow:hidden}.mobile-battle-tip .live-dot{flex:none}.mobile-combat-meta{grid-template-columns:minmax(96px,1.2fr) minmax(126px,1.6fr) minmax(64px,.8fr);gap:5px;min-width:0;display:grid}.mobile-economy-control{color:#fff7c6;text-align:left;grid-template-columns:auto 1fr;align-items:center;gap:5px;padding:3px 6px;display:grid;background:linear-gradient(145deg,#35725e,#214f43)!important}.mobile-economy-control span{text-align:center;display:grid}.mobile-economy-control em{color:#fff7c6;font-size:7px;font-style:normal;line-height:1.2}.mobile-stance-selector{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;min-width:0;display:grid}.mobile-stance-selector button{padding:2px;font-size:8px}.mobile-stance-selector button.active{color:#fff;background:#4c8d68;border-color:#2d7057}.mobile-skill-control{place-content:center;gap:2px;padding:2px;display:grid}.mobile-skill-control.is-ready{background:linear-gradient(145deg,#fff8c5,#f2d56f);border-color:#e3a727}.mobile-unit-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-width:0;display:grid}.mobile-unit-control{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:4px;min-width:0;display:grid}.mobile-unit-control.is-deploy-ready .mobile-deploy-control{background:linear-gradient(145deg,#fff8c5,#f2d56f);border-color:#e3a727;box-shadow:inset 0 2px #fff,0 2px #bf8d26,0 0 0 2px #e3a72733}.mobile-unit-control.is-deploy-blocked .mobile-deploy-control{filter:saturate(.55)}.mobile-deploy-control,.mobile-upgrade-control{place-content:center;gap:2px;padding:2px 4px;display:grid}.mobile-deploy-control b{color:#285c4d;font-size:13px}.mobile-upgrade-control{background:linear-gradient(145deg,#f1f7d4,#d7e8b5)!important}.mobile-combat-strip b{font-size:11px;line-height:1}.mobile-combat-strip small{font-size:7px;line-height:1.15}}@media (max-height:520px) and (orientation:landscape){.story-prologue{padding:5px max(7px, env(safe-area-inset-right)) 5px max(7px, env(safe-area-inset-left))}.story-card{width:min(720px,100%);max-height:100%;padding:13px 16px 10px}.story-card h1,.story-card h2{font-size:24px}.story-line{margin-block:7px;padding-block:8px}.story-choice-grid,.ending-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-choice-button,.ending-option{min-height:76px}.mobile-combat-strip{display:none}.game-shell:has(.mobile-combat-strip){padding-bottom:7px}}@media (max-width:900px) and (max-height:520px) and (orientation:landscape){.game-shell:has(.mobile-combat-strip){height:100dvh;min-height:0;padding:5px max(7px, env(safe-area-inset-right)) 5px max(7px, env(safe-area-inset-left));grid-template-rows:44px minmax(0,1fr);grid-template-columns:minmax(0,1.4fr) minmax(318px,.9fr);gap:6px 8px;position:relative;inset:auto}.game-shell:has(.mobile-combat-strip) .topbar{grid-area:1/1/auto/-1}.game-shell:has(.mobile-combat-strip) .battle-card{grid-area:2/1}.mobile-combat-strip{grid-area:2/2;align-self:center;display:grid}}.character-art{object-fit:contain;object-position:center bottom;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;display:block}.home-screen{z-index:105;min-height:100dvh;padding:max(24px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));isolation:isolate;background:#c9e7cf;align-items:center;display:grid;position:fixed;inset:0;overflow:hidden}.home-hero-scene{z-index:-2;background-color:#b9ddc2;background-image:url(/art/scenes/home-camp-v1.webp);background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}.home-screen:after{z-index:-1;content:"";pointer-events:none;background:linear-gradient(90deg,#143f30a8 0,#1a483657 30%,#0000 58%),linear-gradient(#0000 58%,#1330262e);position:absolute;inset:0}.home-copy-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(145deg,#fffde1f0,#ecf7d7e6);border:2px solid #ffffffb3;border-radius:30px;width:min(490px,45vw);padding:clamp(24px,3.4vw,44px);box-shadow:0 8px #4468406b,0 28px 70px #122f2452}.home-copy-card .eyebrow{color:#4e7652;margin:0 0 7px}.home-copy-card h1{color:#1e654d;letter-spacing:-.08em;text-shadow:0 3px #fff7ba;margin:0;font-size:clamp(48px,6vw,78px);font-weight:1000;line-height:.95}.home-tagline{color:#3e6156;max-width:32em;margin:18px 0 21px;font-size:clamp(13px,1.25vw,17px);font-weight:800;line-height:1.65}.home-action-row{grid-template-columns:minmax(0,1.35fr) minmax(150px,.8fr);gap:10px;display:grid}.home-start-button,.home-camp-button{border-radius:18px;min-height:66px}.home-start-button{text-align:left;grid-template-rows:auto auto;grid-template-columns:34px minmax(0,1fr);align-items:center;padding:11px 17px;display:grid}.home-start-button>span{color:#fff0a3;text-align:center;grid-row:1/3;font-size:26px}.home-start-button b{font-size:15px}.home-start-button small{color:#ffffffc7;font-size:8px}.home-camp-button{cursor:pointer;color:#355b4e;text-align:left;background:linear-gradient(145deg,#fff8d8,#dcecbf);border:2px solid #b9ca91;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:7px;min-width:0;padding:5px 10px 5px 5px;display:grid;box-shadow:inset 0 2px #fffc,0 4px #98aa74}.home-camp-button:active{transform:translateY(3px);box-shadow:inset 0 2px #ffffff94,0 1px #80955f}.home-camp-icon{background:radial-gradient(circle at 50% 65%,#fffad1 0 31%,#c9df9f 75%);border-radius:14px;width:50px;height:54px;display:block;overflow:hidden}.home-camp-button b,.home-camp-button small{display:block}.home-camp-button b{font-size:10px}.home-camp-button small{color:#71836d;margin-top:3px;font-size:8px}.home-hint{color:#708276;text-align:center;margin:15px 0 0;font-size:8px;font-weight:800}.scene-cast{justify-content:center;align-items:flex-end;min-width:0;height:170px;display:flex;position:relative;overflow:hidden}.scene-cast .character-art{filter:drop-shadow(0 7px 3px #27422d47);flex:0 150px;width:min(46%,150px);height:100%;margin-inline:-13px;animation:3.6s ease-in-out infinite alternate character-bob}.scene-cast .character-art:nth-child(2){animation-delay:-.9s}.scene-cast .character-art:nth-child(3){animation-delay:-1.8s}@keyframes character-bob{to{transform:translateY(-4px)rotate(.7deg)}}.story-scene-heading,.result-character-stage,.mission-hero-brief{border:2px solid var(--story-accent,var(--leaf));position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.story-scene-heading,.result-character-stage,.mission-hero-brief{border:2px solid color-mix(in srgb, var(--story-accent,var(--leaf)) 34%, #fff5c7)}}.story-scene-heading,.result-character-stage,.mission-hero-brief{background:linear-gradient(90deg,#fffce2d6,#ffffffa3),url(/art/scenes/chapter-map-v1.webp) 50%/cover no-repeat;border-radius:20px;box-shadow:inset 0 2px #ffffffbf,0 5px #4f6f4838}.story-scene-heading{grid-template-columns:minmax(190px,42%) minmax(0,1fr);align-items:center;gap:12px;min-height:174px;margin-bottom:14px;padding:12px 18px 8px 8px;display:grid}.story-scene-heading>div:last-child{z-index:1;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#fffdecd6;border-radius:15px;padding:13px;position:relative}.story-scene-heading p{color:#526b61;margin:7px 0 0;font-size:10px;line-height:1.5}.story-heading-cast{height:160px}.story-lines{gap:9px;display:grid}.story-line{background:0 0;border:0;grid-template-columns:66px minmax(0,1fr);align-items:end;gap:9px;min-width:0;margin:0;padding:0;display:grid}.story-line:nth-child(2n){grid-template-columns:minmax(0,1fr) 66px}.story-line:nth-child(2n) .story-line-art,.story-line:nth-child(2n) .story-root-orb{grid-column:2}.story-line:nth-child(2n) .story-bubble{border-radius:16px 6px 16px 16px;grid-area:1/1}.story-line-art{filter:drop-shadow(0 4px 2px #2644363b);width:66px;height:72px}.story-bubble{border:1px solid var(--story-accent,var(--leaf));gap:5px;min-width:0;padding:10px 13px;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.story-bubble{border:1px solid color-mix(in srgb, var(--story-accent,var(--leaf)) 25%, #dbe5cf)}}.story-bubble{background:var(--story-accent-soft,#e8f3cc);border-radius:6px 16px 16px}@supports (color:color-mix(in lab, red, red)){.story-bubble{background:color-mix(in srgb, var(--story-accent-soft,#e8f3cc) 46%, #fffdf5)}}.story-bubble{color:#304e46;font-size:11px;line-height:1.55;box-shadow:0 3px #637a5421}.story-root-orb{background:radial-gradient(circle at 35% 28%,#fff 0 8%,#b8fff2 11%,#49bea8 62%,#278273 100%);border:4px solid #f7e8a3;border-radius:50% 50% 46% 54%;justify-self:center;place-items:center;width:54px;height:54px;display:grid;position:relative;box-shadow:0 5px #6f9b6f,0 0 0 5px #6bbe9129}.story-root-orb:after{color:#fff;content:"⌁";font-size:24px;font-weight:950}.story-toast .story-lines{gap:4px}.story-toast .story-line{grid-template-columns:42px minmax(0,1fr)}.story-toast .story-line:nth-child(2n){grid-template-columns:minmax(0,1fr) 42px}.story-toast .story-line-art{width:42px;height:44px}.story-toast .story-root-orb{border-width:2px;width:34px;height:34px}.story-toast .story-root-orb:after{font-size:16px}.story-toast .story-bubble{color:#f9fff5;box-shadow:none;background:#ffffff1a;border-color:#ffffff3d;padding:6px 9px}.story-choice-button{grid-template-columns:minmax(92px,42%) minmax(0,1fr);align-items:stretch;gap:9px;padding:8px}.story-choice-art{background:radial-gradient(circle at 50% 65%,#fff8ce 0 25%,#cde6ae 70%,#91bb85 100%);border-radius:12px;min-height:118px;display:block;position:relative;overflow:hidden}.story-choice-art .character-art{filter:drop-shadow(0 6px 2px #354a2e33);position:absolute;inset:4px 0 0}.story-choice-art>i{z-index:1;color:#fff;background:#48865b;border:2px solid #fff7d1;border-radius:50%;place-items:center;width:30px;height:30px;font-size:10px;font-style:normal;font-weight:950;display:grid;position:absolute;bottom:6px;right:6px;box-shadow:0 3px #356845}.story-choice-art.mark-dew>i{background:#3f9a9e;box-shadow:0 3px #2c7478}.story-choice-art.mark-crystal>i{background:#825b9d;box-shadow:0 3px #624275}.story-choice-copy{align-content:center;gap:6px;padding:5px;display:grid}.story-choice-copy>b{font-size:13px}.story-choice-copy>span{color:#586e65}.story-choice-copy>small{color:var(--story-accent-dark,var(--leaf-dark));font-size:8px;font-weight:900}.ready-overlay .ready-card{width:min(760px,100%);margin-left:0}.mission-hero-brief{grid-template-columns:minmax(250px,44%) minmax(0,1fr);align-items:end;min-height:210px;margin:-5px -5px 13px;padding:10px 18px 13px 7px;display:grid}.mission-hero-cast{height:192px}.mission-hero-copy{z-index:1;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#fffdeddb;border-radius:17px;align-self:center;padding:14px;position:relative}.mission-hero-copy h1{margin:2px 0 5px;font-size:clamp(30px,4vw,46px)}.mission-hero-copy>p:not(.eyebrow){color:#5a6f66;margin:0;font-size:10px}.mission-speech-bubble{color:#3c5c51;background:#f5f8dc;border:1px solid #bed1a6;border-radius:4px 13px 13px;gap:2px;margin-top:10px;padding:8px 11px;font-size:9px;line-height:1.45;display:grid}.mission-speech-bubble b{color:var(--story-accent-dark,var(--leaf-dark));font-size:9px}.selected-squad-preview{margin:10px 0 12px}.selected-squad-heading{color:#50695e;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;font-size:9px;font-weight:950;display:flex}.selected-squad-heading button{cursor:pointer;color:#3d6754;background:#eef4da;border:1px solid #bccba9;border-radius:999px;min-height:34px;padding:0 10px;font-size:8px;font-weight:900}.ready-tool-actions{align-items:center;gap:4px;display:flex}.ready-tool-actions button{min-width:44px}.selected-squad-preview>div:last-child{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.selected-squad-member{background:radial-gradient(circle at 50% 60%, var(--unit-stage,#f1f5d7), #d4e6b7);min-width:0;height:82px;color:inherit;cursor:pointer;font:inherit;border:2px solid #c3d2ac;border-radius:14px;place-items:end center;padding:0;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 2px #ffffffc2,0 3px #a5b88a}.selected-squad-member .character-art{width:100%;height:calc(100% - 10px);position:absolute;inset:2px 0 14px}.selected-squad-member b{z-index:1;color:#fff;text-align:center;background:#27503ed6;width:100%;padding:4px;font-size:8px}.first-run-recommendation{grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:8px 10px}.recommendation-mascot{background:radial-gradient(circle at 50% 66%,#fff8c7,#c6dfa1 72%);border-radius:13px;grid-row:1/3;width:64px;height:68px;overflow:hidden}.first-run-recommendation>span:nth-child(2){gap:2px;display:grid}.first-run-recommendation>span small{color:#766942;font-size:8px}.first-run-recommendation>p{grid-column:2/4;margin:0}.first-run-recommendation>button{grid-area:1/3}.ready-difficulty-heading{align-content:center;gap:2px;display:grid}.ready-difficulty-heading small{color:#766942;font-size:7px;line-height:1.2}.ready-difficulty-options{grid-template-columns:repeat(3,minmax(44px,1fr));gap:4px;min-width:0;display:grid}.ready-difficulty-options button{color:#52675f;cursor:pointer;background:#fffff4c7;border:1px solid #c9d4b7;border-radius:10px;place-content:center;gap:1px;min-width:44px;min-height:44px;padding:2px 4px;display:grid}.ready-difficulty-options button.active{border-color:var(--leaf);color:var(--leaf-dark);background:#dfeecb;box-shadow:inset 0 0 0 1px #1f684d24}.ready-difficulty-options button small{color:#8b5d16;font-size:6px;font-weight:900}.mode-options button{place-content:center;gap:2px;display:grid}.mode-options button small{font-size:6px;line-height:1.15}.roster-options{grid-template-columns:repeat(3,minmax(0,1fr))}.roster-options button[data-unit]{grid-template-rows:70px auto;gap:2px;min-height:100px;padding:4px;display:grid;overflow:hidden}.roster-character-art{background:radial-gradient(circle at 50% 60%, var(--unit-stage,#f1f5d7), #d8e9bd);border-radius:9px;width:100%;height:70px;display:block;overflow:hidden}.roster-options button[data-unit]>span:last-child{font-size:8px}.visual-ready-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.ready-visual-badge{grid-template-columns:38px minmax(0,1fr);align-items:center;gap:7px;min-width:0;min-height:74px;padding:8px!important;display:grid!important}.ready-visual-badge>i{background:linear-gradient(145deg, var(--story-accent,var(--leaf)), var(--story-accent-dark,var(--leaf-dark)));color:#fff8c7;border:2px solid #fff8cf;border-radius:50%;place-items:center;width:38px;height:38px;font-size:16px;font-style:normal;display:grid;box-shadow:0 3px #2e513b57}.ready-visual-badge>span{gap:3px;display:grid}.mission-briefing dl{grid-template-columns:repeat(3,minmax(0,1fr))}.mission-briefing dl div{background:#ffffff94;border-radius:10px;grid-template-columns:1fr;gap:3px;padding:8px}.result-card{width:min(680px,100%)}.result-character-stage{grid-template-columns:minmax(220px,44%) minmax(0,1fr);align-items:end;gap:10px;min-height:170px;margin:-5px -5px 15px;padding:8px 16px 10px 5px;display:grid}.result-character-stage.outcome-lost{background:linear-gradient(90deg,#f6f4ded1,#eee7f1b8),url(/art/scenes/chapter-map-v1.webp) 76%/cover no-repeat}.result-scene-cast{height:158px}.result-character-message{color:#496158;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fffde8e0;border-radius:16px;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:9px;padding:12px;display:grid}.result-character-message>div{gap:4px;display:grid}.result-character-message b{color:var(--story-accent-dark,var(--leaf-dark));font-size:13px}.result-character-message span{font-size:9px;line-height:1.45}.result-emblem{color:#fff;background:linear-gradient(145deg,#f2c94e,#dc8f37);border:3px solid #fff3b6;border-radius:50%;place-items:center;width:46px;height:46px;display:grid;box-shadow:0 4px #9d6a36;font-size:23px!important}.result-objective-row{grid-template-columns:34px auto minmax(0,1fr)}.result-objective-row:before{display:none}.result-objective-row>i{color:#6c7a72;background:#e6eadf;border:2px solid #ccd5c6;border-radius:50%;place-items:center;width:30px;height:30px;font-size:9px;font-style:normal;font-weight:950;display:grid}.result-objective-row[data-complete=true]>i{background:var(--leaf);color:#fff;border-color:#fff4bd;box-shadow:0 2px #327052}.result-stats span{background:#f6f7e9;border:1px solid #d7dfce;border-radius:12px;align-content:center;place-items:center;gap:1px;min-height:58px;padding:6px;display:grid;position:relative}.result-stats span>i{color:var(--story-accent,var(--leaf));font-size:15px;font-style:normal}.next-chapter-card{cursor:pointer;color:#345e4c;text-align:left;background:linear-gradient(90deg,#eef8d6ed,#fff9d7e6),url(/art/scenes/chapter-map-v1.webp) 50%/cover;border:2px solid #7da777;border-radius:16px;grid-template-columns:82px minmax(0,1fr) 32px;align-items:center;gap:10px;width:100%;min-height:88px;padding:5px 12px 5px 5px;display:grid;overflow:hidden;box-shadow:inset 0 2px #ffffffc4,0 5px #5b865f}.next-chapter-card:active{transform:translateY(3px);box-shadow:inset 0 2px #ffffff8c,0 2px #4e754f}.next-chapter-card>span:nth-child(2){gap:2px;display:grid}.next-chapter-card small{color:#6d7d6b;font-size:8px;font-weight:900}.next-chapter-card b{font-size:14px}.next-chapter-card em{color:#6e7d71;font-size:8px;font-style:normal}.next-chapter-card>i{font-size:22px;font-style:normal;font-weight:950}.next-chapter-art{background:radial-gradient(circle at 50% 65%,#fff4b5,#bcd99e 75%);border-radius:12px;height:78px;display:block;overflow:hidden}.ending-option{grid-template-rows:auto 1fr;min-height:150px;padding:6px;display:grid;overflow:hidden}.ending-option>img{aspect-ratio:16/9;object-fit:cover;border-radius:10px;width:100%;display:block}.ending-option:disabled>img{filter:grayscale()blur(1px);opacity:.42}.ending-option>span{gap:2px;padding:6px;display:grid}.ending-option>span small{color:#697970;font-size:7px;line-height:1.35}.mobile-deploy-control{grid-template:"art name"1fr"art cost"1fr/36px minmax(0,1fr);place-items:center start;gap:0 4px;padding:2px 4px 2px 2px;overflow:hidden}.mobile-unit-art{background:radial-gradient(circle at 50% 66%, #fffbd3, var(--unit-stage,#dcebbd));border-radius:8px;grid-area:art;width:36px;height:40px;display:block;overflow:hidden}.mobile-deploy-control>b{grid-area:name}.mobile-deploy-control>small{grid-area:cost}.mission-node-portrait{background:radial-gradient(circle at 50% 62%,#fff7ca,#c8dda4);border:2px solid #c2cfa8;border-radius:50%;width:38px;height:38px;display:block;position:relative;overflow:hidden;box-shadow:0 2px #9dac7d}.mission-node-portrait>i{z-index:1;place-items:center;display:grid;position:absolute;inset:0;color:#fff!important;background:#304138b3!important;border:0!important;border-radius:0!important;width:auto!important;height:auto!important}.mission-strip button{grid-template-columns:42px minmax(0,1fr)}.detail-glyph[data-unit]{background:radial-gradient(circle at 50% 64%, #fff8ce, var(--unit-stage,#d9e9bb));padding:0;display:block;overflow:hidden}.progress-hub__character-art{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 4px 2px #344c3b2e);flex:none;display:block}.progress-hub__shop-item--character{background:linear-gradient(145deg,#fff9dc,#e5efd0);grid-template-columns:82px minmax(0,1fr) auto;min-height:116px;padding:6px 9px 6px 4px;display:grid;overflow:hidden}.progress-hub__shop-art{width:82px;height:102px}.progress-hub__shop-copy,.progress-hub__mastery-copy,.progress-hub__ending-copy{min-width:0}.progress-hub__mastery-item{grid-template-columns:74px minmax(0,1fr);align-items:center;gap:7px;min-height:105px;padding:5px 9px 5px 3px;display:grid;overflow:hidden}.progress-hub__mastery-art{width:74px;height:94px}.progress-hub__ending-list{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-hub__ending-item{padding:5px;overflow:hidden}.progress-hub__ending-art{aspect-ratio:16/9;object-fit:cover;border-radius:8px;width:100%;display:block}.progress-hub__ending-copy{padding:7px 5px 4px}@media (max-width:620px){.ready-overlay{z-index:84;inset:max(52px, env(safe-area-inset-top)) 0 0;place-items:stretch center;padding:6px 6px 0;position:fixed}.ready-overlay .ready-card{border-radius:21px 21px 0 0;width:100%;height:100%;max-height:100%;margin:0;padding:14px}.home-screen{padding:max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));align-items:end}.home-hero-scene{background-position:70%}.home-screen:after{background:linear-gradient(0deg,#133429b3 0,#14362a24 61%,#0000 80%)}.home-copy-card{border-radius:23px;width:100%;padding:18px 16px 14px}.home-copy-card h1{font-size:clamp(43px,15vw,62px)}.home-tagline{margin:10px 0 13px;font-size:11px;line-height:1.5}.home-action-row{grid-template-columns:minmax(0,1.35fr) minmax(126px,.85fr);gap:7px}.home-start-button,.home-camp-button{border-radius:14px;min-height:58px}.home-start-button{grid-template-columns:28px minmax(0,1fr);padding:8px 11px}.home-start-button>span{font-size:21px}.home-start-button b{font-size:12px}.home-camp-button{grid-template-columns:42px minmax(0,1fr)}.home-camp-icon{width:42px;height:48px}.home-hint{margin-top:9px;font-size:7px}.story-scene-heading{grid-template-columns:minmax(120px,42%) minmax(0,1fr);gap:3px;min-height:142px;margin-bottom:10px;padding:6px 8px 5px 2px}.story-heading-cast{height:136px}.story-scene-heading>div:last-child{padding:9px}.story-scene-heading p{font-size:8px}.story-line,.story-line:nth-child(2n){grid-template-columns:50px minmax(0,1fr)}.story-line:nth-child(2n){grid-template-columns:minmax(0,1fr) 50px}.story-line-art{width:50px;height:56px}.story-root-orb{width:43px;height:43px}.story-bubble{padding:8px 10px;font-size:9px}.story-choice-button{grid-template-columns:92px minmax(0,1fr);min-height:102px}.story-choice-art{min-height:92px}.mission-hero-brief{grid-template-columns:minmax(135px,43%) minmax(0,1fr);gap:1px;min-height:170px;padding:5px 7px 7px 1px}.mission-hero-cast{height:162px}.mission-hero-copy{padding:9px}.mission-hero-copy h1{font-size:28px}.mission-hero-copy>p:not(.eyebrow){font-size:8px}.mission-speech-bubble{margin-top:6px;padding:6px 8px;font-size:8px}.selected-squad-member{height:68px}.first-run-recommendation{grid-template-columns:52px minmax(0,1fr) auto;padding:8px}.recommendation-mascot{width:52px;height:58px}.first-run-recommendation>p{font-size:8px}.first-run-recommendation>button{min-width:78px;padding-inline:7px}.roster-options{grid-template-columns:repeat(3,minmax(0,1fr))}.roster-options button[data-unit]{grid-template-rows:56px auto;min-height:84px}.roster-character-art{height:56px}.visual-ready-summary{grid-template-columns:1fr}.ready-visual-badge{min-height:56px}.mission-briefing dl{grid-template-columns:1fr}.result-character-stage{grid-template-columns:minmax(128px,43%) minmax(0,1fr);gap:3px;min-height:135px;padding:5px 7px 7px 1px}.result-scene-cast{height:130px}.result-character-message{grid-template-columns:36px minmax(0,1fr);gap:6px;padding:8px}.result-emblem{border-width:2px;width:36px;height:36px;font-size:18px!important}.result-character-message b{font-size:10px}.result-character-message span{font-size:7px}.result-objective-row{grid-template-columns:31px auto minmax(0,1fr)}.result-objective-row>:last-child:not(:first-child){grid-column:auto}.next-chapter-card{grid-template-columns:68px minmax(0,1fr) 24px;min-height:76px}.next-chapter-art{height:66px}.progress-hub__shop-item--character{grid-template-columns:66px minmax(0,1fr)}.progress-hub__shop-item--character .progress-hub__buy{grid-column:2;justify-self:start}.progress-hub__shop-art{grid-row:1/3;width:66px;height:86px}.progress-hub__mastery-list,.progress-hub__ending-list{grid-template-columns:1fr}.progress-hub__ending-item{grid-template-columns:42% minmax(0,1fr);align-items:center;display:grid}}@media (max-width:360px){.home-action-row{grid-template-columns:1fr}.home-camp-button{min-height:48px}.home-camp-icon{height:42px}.home-hint{display:none}.story-scene-heading{grid-template-columns:112px minmax(0,1fr)}.mission-hero-brief{grid-template-columns:122px minmax(0,1fr)}.mission-hero-copy h1{font-size:24px}.mission-speech-bubble{display:none}.selected-squad-member{height:61px}.selected-squad-member b{font-size:7px}.story-choice-button{grid-template-columns:80px minmax(0,1fr)}.story-choice-art{min-height:84px}}@media (max-height:520px) and (orientation:landscape){.ready-overlay{z-index:84;place-items:stretch center;padding:5px;position:fixed;inset:50px 0 0}.ready-overlay .ready-card{width:min(760px,100%);height:100%;max-height:100%;margin:0}.home-screen{padding:max(7px, env(safe-area-inset-top)) max(9px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(9px, env(safe-area-inset-left))}.home-hero-scene{background-position:50% 55%}.home-copy-card{border-radius:20px;width:min(450px,47vw);padding:14px 16px 11px}.home-copy-card h1{font-size:42px}.home-tagline{margin:7px 0 9px;font-size:9px;line-height:1.4}.home-start-button,.home-camp-button{min-height:50px}.home-hint{display:none}.story-scene-heading{grid-template-columns:150px minmax(0,1fr);min-height:110px}.story-heading-cast{height:104px}.story-line-art{width:46px;height:50px}.story-line,.story-line:nth-child(2n){grid-template-columns:46px minmax(0,1fr)}.story-line:nth-child(2n){grid-template-columns:minmax(0,1fr) 46px}.mission-hero-brief{grid-template-columns:190px minmax(0,1fr);min-height:126px}.mission-hero-cast{height:120px}.mission-hero-copy h1{font-size:28px}.selected-squad-member{height:62px}.result-character-stage{grid-template-columns:170px minmax(0,1fr);min-height:115px}.result-scene-cast{height:108px}}@media (max-width:620px),(max-height:520px) and (orientation:landscape){.game-shell:has(.ready-overlay){height:100dvh;min-height:0;overflow:hidden}.game-shell:has(.ready-overlay) .battle-card{z-index:83;overflow:visible}.game-shell:has(.ready-overlay) .battlefield{overflow:visible}}:is(html:has(.home-screen),body:has(.home-screen),html:has(.game-overlay[aria-modal=true]),body:has(.game-overlay[aria-modal=true]),html:has(.global-story-prologue),body:has(.global-story-prologue),html:has(.progress-hub),body:has(.progress-hub),html:has(.experience-survey),body:has(.experience-survey),html:has(.unit-detail-drawer),body:has(.unit-detail-drawer),html:has(.status-drawer),body:has(.status-drawer)){height:100%;min-height:0;overflow:hidden}.experience-survey{z-index:120;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));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f2721a8;place-items:center;display:grid;position:fixed;inset:0;overflow:hidden}.experience-survey__panel{background:var(--paper);border:1px solid #ffffffb8;border-radius:24px;flex-direction:column;width:min(650px,100%);max-height:min(85dvh,760px);display:flex;overflow:hidden;box-shadow:0 28px 80px #0d201b6b}.experience-survey__header{background:linear-gradient(145deg,#fffce8,#f1f4e6);border-bottom:1px solid #e2e7db;flex:none;justify-content:space-between;align-items:start;gap:14px;padding:18px 18px 12px;display:flex}.experience-survey__eyebrow{color:var(--leaf);letter-spacing:.14em;margin:0 0 3px;font-size:9px;font-weight:950}.experience-survey__header h2{color:var(--ink);margin:0;font-size:clamp(21px,4.5vw,30px);line-height:1.08}.experience-survey__header p:last-child{color:var(--ink-soft);margin:6px 0 0;font-size:9px}.experience-survey__close,.experience-survey__primary,.experience-survey__secondary{cursor:pointer;min-width:44px;min-height:44px;font:inherit;border:1px solid #a4ba91;border-radius:12px;font-size:10px;font-weight:950}.experience-survey__close{color:var(--leaf-dark);background:#f1f3e9;flex:none;padding:0 12px}.experience-survey__form{min-height:0;padding:14px 18px max(16px, env(safe-area-inset-bottom));overscroll-behavior:contain;scrollbar-color:#a7bd91 transparent;scrollbar-width:thin;overflow:hidden auto}.experience-survey fieldset{border:0;min-width:0;margin:0;padding:0}.experience-survey fieldset+fieldset{margin-top:14px}.experience-survey fieldset:disabled{opacity:.62}.experience-survey legend{width:100%;color:var(--ink);justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.experience-survey legend b{font-size:11px}.experience-survey legend span{color:#708078;flex:none;font-size:8px;font-weight:850}.experience-survey__rating{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.experience-survey__rating label,.experience-survey__blockers label{cursor:pointer;background:#f7f8ef;border:1px solid #d6dfcf;border-radius:12px;align-items:center;min-height:44px;display:flex;position:relative}.experience-survey__rating label{text-align:center;flex-direction:column;justify-content:center;gap:3px;min-height:68px;padding:5px 3px}.experience-survey__rating input,.experience-survey__blockers input{opacity:0;width:1px;height:1px;position:absolute}:is(.experience-survey__rating label:has(input:checked),.experience-survey__blockers label:has(input:checked)){background:#dfedd3;border-color:#5f9168;box-shadow:inset 0 0 0 1px #5f9168}.experience-survey__rating label:has(input:focus-visible){outline-offset:2px;outline:3px solid #315e4c}.experience-survey__blockers label:has(input:focus-visible){outline-offset:2px;outline:3px solid #315e4c}.experience-survey :is(button,textarea,a):focus-visible{outline-offset:2px;outline:3px solid #315e4c}.experience-survey__rating b{color:var(--leaf-dark);font-size:18px}.experience-survey__rating span{color:#66766e;font-size:7px;font-weight:850;line-height:1.2}.experience-survey__blockers{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.experience-survey__blockers label{padding:8px 12px}.experience-survey__blockers span{color:var(--ink);font-size:9px;font-weight:850}.experience-survey__suggestion{gap:5px;display:grid}.experience-survey__suggestion textarea{resize:vertical;width:100%;min-height:92px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cfdac7;border-radius:12px;padding:10px 12px;font-size:16px;line-height:1.45}.experience-survey__suggestion small{color:#738078;justify-content:space-between;align-items:start;gap:10px;font-size:8px;line-height:1.45;display:flex}.experience-survey__suggestion small b{color:#52645a;font-variant-numeric:tabular-nums;flex:none}.experience-survey__privacy{color:#65746c;background:#eef2e8;border-radius:10px;margin:12px 0 0;padding:9px 10px;font-size:8px;line-height:1.55}.experience-survey__privacy a{min-height:44px;color:var(--leaf-dark);align-items:center;margin-left:6px;font-weight:950;display:inline-flex}.experience-survey__status{color:#8a443d;min-height:20px;margin:7px 0 0;font-size:9px;font-weight:850;line-height:1.45}.experience-survey__actions{gap:8px;display:flex}.experience-survey__primary,.experience-survey__secondary{flex:1 1 0;padding:0 14px}.experience-survey__primary{color:#fff;background:linear-gradient(#548b62,#35644d);border-color:#32644d}.experience-survey__secondary{color:var(--leaf-dark);background:#f1f3e9}.experience-survey button:disabled{cursor:default;filter:grayscale(.25);opacity:.58}.experience-survey__success{text-align:center;align-content:center;place-items:center;gap:8px;min-height:260px;padding:24px;display:grid}.experience-survey__success>span{width:56px;height:56px;color:var(--leaf-dark);background:#dfedd3;border-radius:50%;place-items:center;font-size:28px;font-weight:950;display:grid}.experience-survey__success strong{color:var(--ink);font-size:19px}.experience-survey__success p{color:var(--ink-soft);margin:0 0 8px;font-size:10px}@media (max-width:620px){.experience-survey{padding:max(8px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) 0 max(6px, env(safe-area-inset-left));align-items:end}.experience-survey__panel{border-radius:22px 22px 0 0;width:100%;max-height:85dvh}.experience-survey__header{padding:13px 12px 9px}.experience-survey__header h2{font-size:21px}.experience-survey__form{padding:11px 12px max(12px, env(safe-area-inset-bottom))}.experience-survey__rating{gap:4px}.experience-survey__rating label{min-height:60px}.experience-survey__blockers{gap:5px}.experience-survey__blockers label{padding-inline:9px}}@media (max-height:520px) and (orientation:landscape){.experience-survey{padding:max(6px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));place-items:center}.experience-survey__panel{width:min(760px,100%);max-height:calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));border-radius:18px}.experience-survey__header{padding:9px 12px 7px}.experience-survey__header h2{font-size:18px}.experience-survey__header p:last-child{margin-top:3px}.experience-survey__form{padding:9px 12px max(9px, env(safe-area-inset-bottom))}.experience-survey fieldset+fieldset{margin-top:9px}.experience-survey__rating label{min-height:48px}.experience-survey__blockers{grid-template-columns:repeat(3,minmax(0,1fr))}.experience-survey__suggestion textarea{min-height:64px}}@media (forced-colors:active){.experience-survey__panel,.experience-survey__rating label,.experience-survey__blockers label,.experience-survey__suggestion textarea{border:1px solid canvastext}:is(.experience-survey__rating label:has(input:checked),.experience-survey__blockers label:has(input:checked)){outline-offset:-3px;outline:3px solid highlight}}.home-screen{height:100dvh;min-height:0;overflow:hidden}.game-overlay{z-index:88;padding:max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));place-items:center;position:fixed;inset:0;overflow:hidden}.battle-card:has(.game-overlay[aria-modal=true]){z-index:87}.ready-overlay{z-index:88;padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));pointer-events:none;place-items:center;position:fixed;inset:0}.ready-overlay .ready-card{pointer-events:auto}.ready-overlay .ready-card,.blessing-card,.result-card,.story-card,.story-prologue .story-card{max-height:calc(100dvh - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));overflow:hidden}.result-card>.story-card{width:100%;max-height:none;box-shadow:none;background:0 0;border:0;padding:0;overflow:visible}.result-story-card .scene-cast .character-art{animation:none;transform:none}.result-card>.result-story-card .result-character-stage{margin-inline:0}.unit-detail-drawer>div,.status-drawer>div,.progress-hub__panel{overflow:hidden}.advanced-setup-heading{justify-content:space-between;align-items:center;gap:10px;min-height:44px;display:flex}.advanced-setup-heading>span{gap:2px;display:grid}.advanced-setup-heading small{color:#74827a;font-size:7px;font-weight:900}.advanced-setup-heading b{color:var(--leaf-dark);font-size:12px}.advanced-setup-heading button{min-height:44px;padding-inline:12px}.advanced-setup-heading .ready-tool-actions button:not(.text-button){color:#3d6754;background:#eef4da;border:1px solid #bccba9;border-radius:999px;font-size:8px;font-weight:900}.progress-hub__panel{grid-template-rows:auto auto minmax(0,1fr);width:min(980px,100%);height:min(720px,100%);max-height:100%;display:grid;overflow:hidden}.progress-hub__tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:9px;display:grid}.progress-hub__tab{min-width:0}.progress-hub__tab.active{background:var(--leaf);color:#fff;border-color:#668a50;box-shadow:0 5px 13px #4668392e}.progress-hub__page{min-width:0;min-height:0;overflow:hidden}.progress-hub__page[hidden]{display:none}.progress-hub__page>:first-child{margin-top:0}.result-card:has(>.result-overview){text-align:left;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:"overview details""actions actions";align-items:start;gap:8px 12px;width:min(920px,100%);padding:12px;display:grid}.result-overview{grid-area:overview;align-content:start;min-width:0;display:grid}.result-details{grid-area:details;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px;min-width:0;display:grid}.result-details .result-objectives,.result-details .run-review,.result-details .reward-summary,.result-details .result-milestones{margin:0}.result-details .result-objectives,.result-details .run-review{grid-column:1/-1}.result-card:has(>.result-overview)>.overlay-actions{grid-area:actions;grid-template-columns:minmax(0,1fr) repeat(3,auto);align-items:center;gap:6px;min-width:0;display:grid}.result-card:has(>.result-overview) .next-chapter-card{grid-template-columns:58px minmax(0,1fr) 24px;min-height:62px}.result-card:has(>.result-overview) .next-chapter-art{height:52px}.hard-rematch-button{color:#714b16;cursor:pointer;background:#fff4c7;border:1px solid #b4822e;border-radius:13px;min-height:48px;padding:0 14px;font-weight:900}.hard-rematch-button:hover{background:#ffeaa0}@media (max-width:620px){.game-overlay,.ready-overlay{padding:max(5px, env(safe-area-inset-top)) max(5px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(5px, env(safe-area-inset-left));inset:0}.overlay-card,.ready-overlay .ready-card,.story-card{border-radius:16px}.ready-overlay .ready-card{width:100%;height:auto;max-height:calc(100dvh - max(10px, env(safe-area-inset-top)) - max(10px, env(safe-area-inset-bottom)));margin:0;padding:7px}.ready-card .mission-hero-brief{border-radius:13px;grid-template-columns:96px minmax(0,1fr);min-height:96px;margin:0 0 4px;padding:3px 5px 4px 0}.ready-card .mission-hero-cast{height:92px}.ready-card .mission-hero-copy{border-radius:10px;padding:5px 6px}.ready-card .mission-hero-copy h1{margin-block:0 2px;font-size:21px}.ready-card .mission-hero-copy>p:not(.eyebrow),.ready-card .mission-speech-bubble{font-size:7px;line-height:1.25}.ready-card .mission-speech-bubble{margin-top:3px;padding:3px 5px}.ready-card .selected-squad-preview{margin:3px 0 4px}.ready-card .selected-squad-heading{min-height:44px;margin-bottom:2px}.ready-card .selected-squad-heading button{min-height:44px}.ready-card .selected-squad-preview>div:last-child{gap:4px}.ready-card .selected-squad-member{border-radius:9px;height:44px;min-height:44px}.ready-card .selected-squad-member .character-art{inset:2px 0 10px}.ready-card .selected-squad-member b{padding:2px;font-size:6px}.ready-card .first-run-recommendation{border-radius:10px;grid-template-columns:42px minmax(0,1fr) 84px;gap:3px 6px;min-height:50px;margin:3px 0;padding:3px 5px;line-height:1.25}.ready-card .recommendation-mascot{width:42px;height:44px}.ready-card .first-run-recommendation b{font-size:9px}.ready-card .first-run-recommendation>p{font-size:7px}.ready-card .first-run-recommendation>button{min-width:0;min-height:44px;padding-inline:5px;font-size:7px}.ready-card .visual-ready-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:4px 0}.ready-card .ready-visual-badge{grid-template-columns:22px minmax(0,1fr);gap:3px;min-height:46px;font-size:6px;line-height:1.2;padding:3px!important}.ready-card .ready-visual-badge>i{width:22px;height:22px;font-size:9px}.ready-card .ready-visual-badge b{font-size:7px}.ready-card .mission-briefing{border-width:1px;border-radius:10px;gap:3px;margin:3px 0;padding:4px}.ready-card .mission-briefing>div:first-child{justify-content:space-between;align-items:baseline;gap:5px;display:flex}.ready-card .mission-briefing h2{font-size:9px}.ready-card .mission-briefing dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.ready-card .mission-briefing dl div{gap:1px;padding:3px}.ready-card .mission-briefing dt{font-size:6px}.ready-card .mission-briefing dd,.ready-card .mission-challenge-preview{font-size:6px;line-height:1.2}.ready-card .mission-challenge-preview{gap:4px;padding:3px 5px;display:flex}.ready-card .mission-challenge-preview b{flex:none;font-size:7px}.ready-card .story-route-marks{gap:3px;margin:3px 0}.ready-card .story-route-marks span{min-height:20px;padding:2px 6px;font-size:6px}.ready-card .assist-option{min-height:44px;margin:3px 0;padding-block:3px}.ready-card .start-button{min-height:44px;margin-top:3px;position:static}.ready-card>small,.ready-card.is-advanced .mission-hero-brief,.ready-card.is-advanced .selected-squad-preview,.ready-card.is-advanced .first-run-recommendation,.ready-card.is-advanced .visual-ready-summary,.ready-card.is-advanced .mission-briefing,.ready-card.is-advanced>.story-route-marks,.ready-card.is-advanced>.assist-option{display:none}.ready-card.is-advanced .advanced-setup{border:0;margin:0;padding:0}.ready-card.is-advanced .advanced-setup-heading{min-height:44px}.ready-card.is-advanced .setup-section{gap:2px;margin:3px 0}.ready-card.is-advanced .setup-options,.ready-card.is-advanced .mode-options,.ready-card.is-advanced .skill-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.ready-card.is-advanced .mode-options{grid-template-columns:repeat(4,minmax(0,1fr))}.ready-card.is-advanced .setup-options button,.ready-card.is-advanced .skill-options button{min-height:44px;padding:2px 3px}.ready-card.is-advanced .skill-options button{text-align:center}.ready-card.is-advanced .skill-options small{display:none}.ready-card.is-advanced .difficulty-preview{justify-content:space-between;align-items:center;gap:5px;margin-top:2px;padding:3px 5px;font-size:6px;line-height:1.2;display:flex}.ready-card.is-advanced .roster-options{grid-template-columns:repeat(6,minmax(44px,1fr));gap:3px}.ready-card.is-advanced .roster-options button[data-unit]{grid-template-rows:38px auto;min-height:62px;padding:2px}.ready-card.is-advanced .roster-character-art{height:38px}.story-card,.story-prologue .story-card{width:100%;padding:8px}.story-card h1,.story-card h2{font-size:19px}.story-card>p{margin-block:4px;font-size:8px;line-height:1.3}.story-scene-heading{grid-template-columns:88px minmax(0,1fr);min-height:92px;margin-bottom:4px;padding:3px}.story-heading-cast{height:88px}.story-scene-heading>div:last-child{padding:5px}.story-lines{gap:3px;display:grid}.story-line,.story-line:nth-child(2n){border-left-width:2px;grid-template-columns:44px minmax(0,1fr);gap:5px;min-height:48px;margin:0;padding:4px;font-size:8px;line-height:1.25}.story-line:nth-child(2n){grid-template-columns:minmax(0,1fr) 44px}.story-line-art{width:44px;height:46px}.story-bubble{padding:4px 6px;font-size:8px}.story-speaker{min-height:18px;padding:2px 6px;font-size:7px}.story-actions{box-shadow:none;background:0 0;flex-wrap:nowrap;margin:5px 0 0;padding:0;display:flex;position:static}.story-actions button{min-height:44px}.story-choice-grid,.ending-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:5px 0}.ending-option-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.story-choice-button{grid-template-columns:64px minmax(0,1fr);gap:3px;min-height:84px;padding:3px}.story-choice-art{min-height:76px}.story-choice-copy{gap:2px;padding:2px}.story-choice-copy>b{font-size:9px}.story-choice-copy>span,.story-choice-copy>small{font-size:6px;line-height:1.2}.ending-option{min-height:96px;padding:3px}.ending-option>span{padding:3px}.ending-option b{font-size:8px}.ending-option>span small{font-size:6px}.ending-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:6px;display:grid}.ending-card>.eyebrow,.ending-card>h2,.ending-card>.overlay-actions{grid-column:1/-1}.ending-card .ending-art{margin:0}.ending-card .story-lines{align-self:stretch}.result-card:has(>.result-overview){grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-areas:"overview details""actions actions";gap:5px;padding:5px}.result-overview .result-character-stage{min-height:96px;margin:0 0 3px;padding:2px;display:block}.result-overview .result-scene-cast{height:92px}.result-overview .result-character-message{grid-template-columns:26px minmax(0,1fr);gap:3px;width:calc(100% - 6px);padding:3px;position:absolute;bottom:3px;right:3px}.result-overview .result-emblem{width:26px;height:26px;font-size:13px!important}.result-overview .result-character-message b{font-size:7px}.result-overview .result-character-message span{font-size:6px;line-height:1.15}.result-overview>.eyebrow{margin:3px 0 0;font-size:6px}.result-overview>h2{font-size:16px}.result-overview>.result-stars{margin:3px 0;font-size:22px}.result-overview>p:last-child{margin:2px 0;font-size:7px;line-height:1.2}.result-details{gap:3px}.result-details .result-objectives{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.result-details .result-objective-row{grid-template-columns:22px minmax(0,1fr);gap:2px;min-height:38px;padding:2px;font-size:6px;line-height:1.15}.result-details .result-objective-row>i{width:20px;height:20px;font-size:7px}.result-details .result-objective-row>b,.result-details .result-objective-row>span{grid-column:2}.result-details .result-stats{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0}.result-details .result-stats span{min-height:42px;padding:2px;font-size:6px}.result-details .result-stats b{font-size:12px}.result-details .run-review{border-width:1px;gap:2px;padding:4px}.result-details .run-review h3{font-size:9px}.result-details .run-review p,.result-details .run-review b,.result-details .run-review small{font-size:6px;line-height:1.2}.result-details .reward-summary,.result-details .result-milestones{gap:1px;padding:3px;font-size:6px}.result-details .reward-summary b{font-size:10px}.result-card:has(>.result-overview)>.overlay-actions{grid-template-columns:minmax(0,1fr) repeat(3,minmax(44px,auto));gap:3px}.result-card:has(>.result-overview)>.overlay-actions button{min-height:44px;padding-inline:5px;font-size:7px}.result-card:has(>.result-overview) .next-chapter-card{grid-template-columns:44px minmax(0,1fr) 18px;gap:4px;min-height:52px;padding:2px 5px 2px 2px}.result-card:has(>.result-overview) .next-chapter-art{height:44px}.result-card:has(>.result-overview) .next-chapter-card b{font-size:9px}.compact-card,.blessing-card{padding:12px}.blessing-options{grid-template-columns:1fr;gap:5px}.blessing-options button{min-height:56px;padding:7px}.unit-detail-drawer>div,.status-drawer>div{width:100%;height:100dvh;padding:max(8px, env(safe-area-inset-top)) 9px max(8px, env(safe-area-inset-bottom));border-left:0}.unit-detail-drawer .detail-glyph{width:78px;height:78px;margin:3px 0 6px}.unit-detail-drawer h2,.status-drawer h2{margin-bottom:4px;font-size:20px}.unit-detail-drawer p{margin-bottom:6px;font-size:9px}.unit-detail-drawer dl,.status-drawer dl,.drawer-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:6px 0}.unit-detail-drawer dl div,.status-drawer dl div,.drawer-map button{min-height:44px;padding:5px}.unit-detail-drawer dt,.status-drawer dt{font-size:6px}.unit-detail-drawer dd,.status-drawer dd{margin-top:1px;font-size:8px;line-height:1.2}.progress-hub{padding:max(5px, env(safe-area-inset-top)) max(5px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(5px, env(safe-area-inset-left))}.progress-hub__panel{width:100%;height:calc(100dvh - max(10px, env(safe-area-inset-top)) - max(10px, env(safe-area-inset-bottom)));border:1px solid #ffffffa3;border-radius:16px;padding:7px}.progress-hub__header{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;align-items:center;gap:6px;min-height:46px;margin:0;padding:0;position:static}.progress-hub__eyebrow{margin:0;font-size:6px}.progress-hub__header h2{font-size:17px}.progress-hub__header p:last-child{display:none}.progress-hub__close{min-height:44px}.progress-hub__tabs{gap:3px;margin-bottom:4px}.progress-hub__tab{min-width:0;min-height:44px;padding:0 2px;font-size:7px}.progress-hub__page{align-content:start;gap:4px;display:grid}.progress-hub__section,.progress-hub__wallet{border-radius:9px;margin:0;padding:5px}.progress-hub__wallet{grid-template-columns:auto auto minmax(0,1fr);gap:3px 7px;min-height:36px}.progress-hub__wallet h3,.progress-hub__section h3{font-size:9px}.progress-hub__currency{font-size:12px}.progress-hub__wallet>span,.progress-hub__section-heading span{grid-column:auto;font-size:6px}.progress-hub__section-heading{gap:4px;margin-bottom:4px}.progress-hub__section>p{margin:3px 0 0;font-size:7px;line-height:1.25}.progress-hub__shop-list,.progress-hub__mastery-list,.progress-hub__achievement-list,.progress-hub__settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.progress-hub__shop-item,.progress-hub__mastery-item,.progress-hub__achievement-item{border-radius:7px;padding:3px}.progress-hub__shop-item{gap:3px;min-height:48px}.progress-hub__shop-item strong,.progress-hub__item-heading strong{font-size:7px}.progress-hub__shop-item span,.progress-hub__item-heading span,.progress-hub__mastery-item>span{margin-top:1px;font-size:6px}.progress-hub__buy{min-height:44px;padding:0 4px;font-size:6px}.progress-hub__shop-item--character{padding-left:31px}.progress-hub__shop-art{width:29px}.progress-hub__mastery-item{grid-template-columns:44px minmax(0,1fr);gap:3px;height:68px;min-height:68px;padding:2px 3px 2px 1px}.progress-hub__mastery-art{width:44px;height:62px}.progress-hub__mastery-copy{min-width:0}.progress-hub__progress{height:5px;margin-top:3px}.progress-hub__achievement-item{min-height:42px}.progress-hub__achievement-item p{min-height:0;margin:2px 0 0;font-size:6px;line-height:1.2}.progress-hub__daily-grid,.progress-hub__record-grid,.progress-hub__journey-grid{gap:3px}.progress-hub__daily-grid,.progress-hub__record-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.progress-hub__daily-grid div,.progress-hub__record-grid div,.progress-hub__journey-grid div{border-radius:6px;min-height:38px;padding:3px}.progress-hub dt{font-size:5px}.progress-hub dd{margin-top:2px;font-size:7px}.progress-hub__settings{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-hub__settings label{border-radius:7px;gap:3px;min-height:44px;padding:4px}.progress-hub__settings strong{font-size:7px}.progress-hub__settings small{margin:1px 0 0;font-size:5px;line-height:1.15}.progress-hub__settings input{width:22px;height:22px}.progress-hub__ending-list{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-hub__ending-item{min-height:76px}.progress-hub__ending-art{height:40px}.progress-hub__ending-copy p{display:none}}@media (max-height:520px) and (orientation:landscape){.ready-overlay{inset:0}.ready-overlay .ready-card:not(.is-advanced){grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);grid-template-areas:"hero summary""squad briefing""recommend briefing""marks assist""start start";align-items:start;gap:3px 7px;width:min(820px,100%);padding:7px;display:grid}.ready-card:not(.is-advanced) .mission-hero-brief{grid-area:hero}.ready-card:not(.is-advanced) .selected-squad-preview{grid-area:squad}.ready-card:not(.is-advanced) .first-run-recommendation{grid-area:recommend}.ready-card:not(.is-advanced) .visual-ready-summary{grid-area:summary}.ready-card:not(.is-advanced) .mission-briefing{grid-area:briefing}.ready-card:not(.is-advanced)>.story-route-marks{grid-area:marks}.ready-card:not(.is-advanced)>.assist-option{grid-area:assist}.ready-card:not(.is-advanced)>.start-button{grid-area:start}.ready-card:not(.is-advanced) .mission-hero-brief{grid-template-columns:116px minmax(0,1fr);min-height:106px;margin:0;padding:3px 5px 4px 0}.ready-card:not(.is-advanced) .mission-hero-cast{height:102px}.ready-card:not(.is-advanced) .mission-hero-copy{border-radius:10px;padding:5px 7px}.ready-card:not(.is-advanced) .mission-hero-copy h1{margin-block:0 2px;font-size:22px}.ready-card:not(.is-advanced) .mission-hero-copy>p:not(.eyebrow),.ready-card:not(.is-advanced) .mission-speech-bubble{font-size:7px;line-height:1.2}.ready-card:not(.is-advanced) .mission-speech-bubble{margin-top:3px;padding:3px 5px}.ready-card:not(.is-advanced) .selected-squad-preview{margin:0}.ready-card:not(.is-advanced) .selected-squad-heading{min-height:44px;margin:0 0 2px}.ready-card:not(.is-advanced) .selected-squad-heading button{min-height:44px}.ready-card:not(.is-advanced) .selected-squad-preview>div:last-child{gap:4px}.ready-card:not(.is-advanced) .selected-squad-member{height:44px;min-height:44px}.ready-card:not(.is-advanced) .selected-squad-member .character-art{inset:2px 0 10px}.ready-card:not(.is-advanced) .selected-squad-member b{padding:2px;font-size:6px}.ready-card:not(.is-advanced) .first-run-recommendation{border-radius:10px;grid-template-columns:42px minmax(0,1fr) 84px;gap:2px 5px;min-height:50px;margin:0;padding:3px 5px;line-height:1.2}.ready-card:not(.is-advanced) .recommendation-mascot{width:42px;height:44px}.ready-card:not(.is-advanced) .first-run-recommendation b{font-size:9px}.ready-card:not(.is-advanced) .first-run-recommendation>p,.ready-card:not(.is-advanced) .first-run-recommendation>button{font-size:7px}.ready-card:not(.is-advanced) .first-run-recommendation>button{min-height:44px;padding-inline:5px}.ready-card:not(.is-advanced) .visual-ready-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:0}.ready-card:not(.is-advanced) .ready-visual-badge{grid-template-columns:22px minmax(0,1fr);gap:3px;min-height:46px;font-size:6px;line-height:1.15;padding:3px!important}.ready-card:not(.is-advanced) .ready-visual-badge>i{width:22px;height:22px;font-size:9px}.ready-card:not(.is-advanced) .ready-visual-badge b{font-size:7px}.ready-card:not(.is-advanced) .mission-briefing{border-width:1px;border-radius:10px;gap:3px;margin:0;padding:4px}.ready-card:not(.is-advanced) .mission-briefing>div:first-child{justify-content:space-between;align-items:baseline;display:flex}.ready-card:not(.is-advanced) .mission-briefing h2{font-size:9px}.ready-card:not(.is-advanced) .mission-briefing dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.ready-card:not(.is-advanced) .mission-briefing dl div{gap:1px;padding:3px}.ready-card:not(.is-advanced) .mission-briefing dt,.ready-card:not(.is-advanced) .mission-briefing dd,.ready-card:not(.is-advanced) .mission-challenge-preview{font-size:6px;line-height:1.15}.ready-card:not(.is-advanced) .mission-challenge-preview{gap:4px;padding:3px 5px;display:flex}.ready-card:not(.is-advanced) .story-route-marks{gap:3px;margin:0}.ready-card:not(.is-advanced) .story-route-marks span{min-height:20px;padding:2px 6px;font-size:6px}.ready-card:not(.is-advanced) .assist-option{min-height:44px;margin:0;padding-block:3px}.ready-card:not(.is-advanced) .start-button{min-height:44px;margin:0;position:static}.ready-card.is-advanced{width:min(820px,100%);padding:7px}.ready-card.is-advanced .mission-hero-brief,.ready-card.is-advanced .selected-squad-preview,.ready-card.is-advanced .first-run-recommendation,.ready-card.is-advanced .visual-ready-summary,.ready-card.is-advanced .mission-briefing,.ready-card.is-advanced>.story-route-marks,.ready-card.is-advanced>.assist-option{display:none}.ready-card.is-advanced .advanced-setup{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 7px;margin:0;padding:0;display:grid}:is(.ready-card.is-advanced .advanced-setup-heading,.ready-card.is-advanced .setup-section:has(.mode-options),.ready-card.is-advanced .setup-section:has(.roster-options)){grid-column:1/-1}.ready-card.is-advanced .advanced-setup-heading{min-height:44px}.ready-card.is-advanced .setup-section{gap:2px;margin:0}.ready-card.is-advanced .setup-options,.ready-card.is-advanced .skill-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.ready-card.is-advanced .mode-options{grid-template-columns:repeat(4,minmax(0,1fr))}.ready-card.is-advanced .setup-options button,.ready-card.is-advanced .skill-options button{min-height:44px;padding:2px 3px}.ready-card.is-advanced .skill-options small{display:none}.ready-card.is-advanced .difficulty-preview{justify-content:space-between;gap:4px;margin-top:2px;padding:3px 5px;font-size:6px;display:flex}.ready-card.is-advanced .roster-options{grid-template-columns:repeat(6,minmax(44px,1fr));gap:3px}.ready-card.is-advanced .roster-options button[data-unit]{grid-template-rows:38px auto;min-height:62px;padding:2px}.ready-card.is-advanced .roster-character-art{height:38px}.ready-card.is-advanced .start-button{min-height:44px;margin-top:3px}.story-card,.story-prologue .story-card{width:min(760px,100%);padding:8px}.story-card h1,.story-card h2{font-size:19px}.story-card>p{margin-block:4px;font-size:8px;line-height:1.3}.story-scene-heading{grid-template-columns:88px minmax(0,1fr);min-height:92px;margin-bottom:4px;padding:3px}.story-heading-cast{height:88px}.story-scene-heading>div:last-child{padding:5px}.story-lines{gap:3px}.story-line,.story-line:nth-child(2n){grid-template-columns:44px minmax(0,1fr);gap:5px;min-height:48px}.story-line:nth-child(2n){grid-template-columns:minmax(0,1fr) 44px}.story-line-art{width:44px;height:46px}.story-bubble{gap:2px;padding:4px 6px;font-size:8px;line-height:1.25}.story-speaker{min-height:18px;padding:2px 6px;font-size:7px}.story-actions{margin-top:5px}.story-actions button{min-height:44px}.ending-option-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:5px 0}.ending-option{min-height:96px;padding:3px}.ending-option>span{padding:3px}.ending-option b{font-size:8px}.ending-option>span small{font-size:6px;line-height:1.2}.story-opening-card,.result-story-card{grid-template-columns:minmax(230px,.85fr) minmax(0,1.15fr);align-items:center;gap:6px;display:grid}.story-opening-card .story-scene-heading,.result-story-card .result-character-stage{grid-row:1/3}.story-opening-card .story-actions,.result-story-card .story-actions,.result-story-card .story-route-marks{grid-column:2}.ending-card{grid-template:"art eyebrow""art title""art lines"minmax(0,1fr)"art actions"/minmax(220px,.85fr) minmax(0,1.15fr);align-items:center;gap:4px 8px;display:grid}.ending-card>.ending-art{grid-area:art;margin:0}.ending-card>.eyebrow{grid-area:eyebrow;margin:0}.ending-card>h2{grid-area:title}.ending-card>.story-lines{grid-area:lines}.ending-card .story-line:nth-child(2n),.result-story-card .story-line:nth-child(2n){padding-inline-end:5px}.ending-card>.overlay-actions{grid-area:actions;margin:0}.result-card:has(>.result-overview){grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-areas:"overview details""actions actions";gap:3px;width:min(830px,100%);padding:3px}.result-overview .result-character-stage{min-height:96px;margin:0 0 3px;padding:2px;display:block}.result-overview .result-scene-cast{height:92px}.result-overview .result-character-message{grid-template-columns:26px minmax(0,1fr);gap:3px;width:calc(100% - 6px);padding:3px;position:absolute;bottom:3px;right:3px}.result-overview .result-emblem{width:26px;height:26px;font-size:13px!important}.result-overview .result-character-message b{font-size:7px}.result-overview .result-character-message span{font-size:6px;line-height:1.15}.result-overview>.eyebrow{margin:3px 0 0;font-size:6px}.result-overview>h2{font-size:16px}.result-overview>.result-stars{margin:3px 0;font-size:22px}.result-overview>p:last-child{margin:2px 0;font-size:7px;line-height:1.2}.result-details{gap:3px}.result-details .result-objectives{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.result-details .result-objective-row{grid-template-columns:22px minmax(0,1fr);gap:2px;min-height:38px;padding:2px;font-size:6px;line-height:1.15}.result-details .result-objective-row>i{width:20px;height:20px;font-size:7px}.result-details .result-objective-row>b,.result-details .result-objective-row>span{grid-column:2}.result-details .result-stats{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0}.result-details .result-stats span{min-height:42px;padding:2px;font-size:6px}.result-details .result-stats b{font-size:12px}.result-details .run-review{border-width:1px;gap:2px;padding:4px}.result-details .run-review h3{font-size:9px}.result-details .run-review p,.result-details .run-review b,.result-details .run-review small{font-size:6px;line-height:1.2}.result-details .reward-summary,.result-details .result-milestones{gap:1px;padding:3px;font-size:6px}.result-details .reward-summary b{font-size:10px}.result-details .result-milestones span{padding-block:4px}.result-card:has(>.result-overview)>.overlay-actions{grid-template-columns:minmax(0,1fr) repeat(3,minmax(44px,auto));gap:3px}.result-card:has(>.result-overview)>.overlay-actions button{min-height:44px;padding-inline:5px;font-size:7px}.result-card:has(>.result-overview) .next-chapter-card{grid-template-columns:40px minmax(0,1fr) 18px;gap:4px;min-height:44px;padding:2px 5px 2px 2px}.result-card:has(>.result-overview) .next-chapter-art{height:40px}.result-card:has(>.result-overview) .next-chapter-card b{font-size:9px}.unit-detail-drawer>div,.status-drawer>div{width:min(720px,100%);padding:max(8px, env(safe-area-inset-top)) 9px max(8px, env(safe-area-inset-bottom));justify-self:end}.unit-detail-drawer .drawer-close,.status-drawer .drawer-close{z-index:1;top:max(8px, env(safe-area-inset-top));margin:0;position:absolute;right:9px}.unit-detail-drawer .detail-glyph{width:82px;height:82px;margin:0 0 4px}.unit-detail-drawer h2,.status-drawer h2{margin-bottom:4px;font-size:20px}.unit-detail-drawer p{margin-bottom:4px;font-size:8px;line-height:1.2}.unit-detail-drawer dl,.status-drawer dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:5px 0}.unit-detail-drawer dl div,.status-drawer dl div,.drawer-map button{min-height:44px;padding:5px}.unit-detail-drawer dt,.status-drawer dt{font-size:6px}.unit-detail-drawer dd,.status-drawer dd{margin-top:1px;font-size:8px;line-height:1.15}.status-drawer dl,.drawer-map{grid-template-columns:repeat(4,minmax(0,1fr))}.progress-hub__panel{width:min(820px,100%);height:calc(100dvh - max(10px, env(safe-area-inset-top)) - max(10px, env(safe-area-inset-bottom)));border-radius:16px;padding:7px}.progress-hub__header{align-items:center;min-height:44px;margin:0}.progress-hub__eyebrow{margin:0;font-size:6px}.progress-hub__header h2{font-size:20px}.progress-hub__header p:last-child{display:none}.progress-hub__tabs{gap:4px;margin-bottom:4px}.progress-hub__tab{min-height:44px;font-size:7px}.progress-hub__page{align-content:start;gap:4px;min-height:0;display:grid}.progress-hub__section,.progress-hub__wallet{border-radius:9px;margin:0;padding:5px}.progress-hub__section-heading{margin-bottom:4px}.progress-hub__wallet{grid-template-columns:auto auto minmax(0,1fr);gap:4px 8px}.progress-hub__wallet h3,.progress-hub__section h3{font-size:9px}.progress-hub__currency{font-size:12px}.progress-hub__wallet>span,.progress-hub__section-heading span{font-size:6px}.progress-hub__shop-list,.progress-hub__mastery-list,.progress-hub__achievement-list,.progress-hub__settings{gap:3px}.progress-hub__shop-item,.progress-hub__mastery-item,.progress-hub__achievement-item{border-radius:7px;padding:3px}.progress-hub__shop-item{min-height:48px}.progress-hub__shop-item strong,.progress-hub__item-heading strong{font-size:7px}.progress-hub__shop-item span,.progress-hub__item-heading span,.progress-hub__mastery-item>span,.progress-hub__achievement-item p{font-size:6px}.progress-hub__buy{min-height:44px;padding-inline:5px;font-size:6px}.progress-hub__shop-item--character{grid-template-columns:48px minmax(0,1fr) auto;min-height:74px}.progress-hub__shop-art{width:48px;height:64px}.progress-hub__mastery-item{grid-template-columns:58px minmax(0,1fr);gap:4px;height:82px;min-height:82px}.progress-hub__mastery-art{width:58px;height:74px}.progress-hub__progress{height:5px;margin-top:3px}.progress-hub__achievement-item p{min-height:0;margin:2px 0 0;line-height:1.15}.progress-hub__daily-grid,.progress-hub__record-grid,.progress-hub__journey-grid{gap:3px}.progress-hub__daily-grid div,.progress-hub__record-grid div,.progress-hub__journey-grid div{min-height:36px;padding:3px}.progress-hub dt{font-size:5px}.progress-hub dd{margin-top:1px;font-size:7px}.progress-hub__settings label{min-height:44px;padding:4px}.progress-hub__settings strong{font-size:7px}.progress-hub__settings small{font-size:5px}.progress-hub__ending-item{padding:3px}.progress-hub__ending-art{height:42px}.progress-hub__ending-copy{padding:3px}.progress-hub__page--growth{grid-template-columns:minmax(160px,.65fr) minmax(0,1.35fr)}.progress-hub__page--growth .progress-hub__wallet,.progress-hub__page--growth>.progress-hub__section:first-of-type{grid-column:1}.progress-hub__page--growth>.progress-hub__section:last-child{grid-area:1/2/3}.progress-hub__page--growth .progress-hub__shop-list{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-hub__page--partners .progress-hub__mastery-list{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-hub__page--archive,.progress-hub__page--challenges{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-hub__page--archive .progress-hub__section,.progress-hub__page--challenges .progress-hub__section{margin:0}.progress-hub__page--records{grid-template-columns:minmax(0,1.35fr) minmax(150px,.65fr)}.progress-hub__page--records>.progress-hub__section:first-child{grid-row:1/3}.progress-hub__page--records .progress-hub__record-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}.reduced-motion .scene-cast .character-art{animation:none}@media (prefers-reduced-motion:reduce){.scene-cast .character-art,.story-toast{animation:none}}@media (forced-colors:active){.story-card,.home-copy-card,.story-scene-heading,.mission-hero-brief,.result-character-stage,.story-line,.story-bubble,.story-choice-button,.ending-option,.first-run-recommendation,.result-objective-row,.mobile-combat-strip{color:canvastext;box-shadow:none;background:canvas;border-color:canvastext}.home-screen{background:canvas}.home-hero-scene{opacity:.45}.result-objective-row>i,.story-choice-art>i,.result-emblem{color:canvastext;box-shadow:none;background:canvas;border:2px solid canvastext}.story-speaker,.result-objective-row.is-complete:before,.result-objective-row[data-complete=true]:before{color:highlighttext;background:highlight}}.blessing-ready-banner{z-index:46;color:#234d35;background:radial-gradient(circle at 16% 0,#fffffff0,#0000 42%),linear-gradient(145deg,#f7ffd3f5,#def39df5);border:2px solid #fff6bce6;border-radius:22px;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:9px;width:min(430px,100% - 18px);min-height:76px;padding:7px 9px 7px 5px;animation:.36s cubic-bezier(.18,.86,.24,1.18) both blessing-ready-arrive;display:grid;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 7px #4f712fd1,0 16px 34px #1c37184d}.blessing-ready-mascot{background:radial-gradient(circle at 50% 55%,#fffbc9 0 33%,#9ad64e 75%,#4c8a3e 100%);border-radius:17px;align-self:stretch;display:block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 2px #ffffffa6}.blessing-ready-mascot .character-art{object-fit:contain;filter:drop-shadow(0 5px 4px #30461a38);width:78px;max-width:none;height:78px;position:absolute;bottom:-9px;left:50%;transform:translate(-50%)}.blessing-ready-copy{gap:1px;min-width:0;display:grid}.blessing-ready-copy small{color:#5a883f;letter-spacing:.1em;font-size:8px;font-weight:900}.blessing-ready-copy b{font-size:14px;line-height:1.15}.blessing-ready-copy>span{color:#55705a;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.blessing-ready-banner>button{color:#fffde8;cursor:pointer;background:linear-gradient(#4f9a54,#33743e);border:1px solid #397346;border-radius:14px;min-width:86px;min-height:44px;padding:7px 10px;font-size:9px;font-weight:900;box-shadow:0 4px #24582f}.blessing-ready-banner>button:active{transform:translateY(3px);box-shadow:0 1px #24582f}.blessing-overlay{z-index:92;padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));place-items:center;position:fixed;inset:0;overflow:hidden}.blessing-card{width:min(720px,100%);max-height:calc(100dvh - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));background:radial-gradient(circle at 13% -14%,#f2ffc5 0 22%,#0000 50%),linear-gradient(160deg,#fffdf1,#f4ecd1);border:2px solid #fffadceb;border-radius:26px;padding:14px;animation:.28s cubic-bezier(.2,.82,.25,1.12) both blessing-card-open;overflow:hidden;box-shadow:0 12px #415b32b8,0 26px 70px #14251259}.blessing-heading{grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:10px;display:grid}.blessing-heading>span:last-child{min-width:0;display:block}.blessing-heading-mascot{background:radial-gradient(circle at 50% 58%,#fff7b4 0 28%,#b8de62 64%,#6fa13f 100%);border:2px solid #ffffffbf;border-radius:24px;width:76px;height:76px;display:block;position:relative;overflow:hidden;box-shadow:inset 0 -7px 12px #3b642d2e,0 6px 14px #4b5b302e}.blessing-heading-mascot .character-art{object-fit:contain;filter:drop-shadow(0 6px 4px #34462033);width:94px;max-width:none;height:94px;position:absolute;bottom:-11px;left:50%;transform:translate(-50%)}.blessing-heading .eyebrow{color:#508052;letter-spacing:.12em;margin:0 0 2px;font-size:8px}.blessing-heading h2{color:#183f32;margin:0;font-size:clamp(21px,4vw,31px);line-height:1.05}.blessing-heading p:last-child{color:#647167;margin:4px 0 0;font-size:9px}.blessing-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.blessing-options .blessing-option{color:#59431f;text-align:center;cursor:pointer;background:linear-gradient(155deg,#fffce5,#f0e2ae);border:2px solid #ecd27f;border-radius:18px;grid-template-rows:minmax(0,1fr) auto;align-content:stretch;gap:5px;min-width:44px;min-height:176px;padding:7px 7px 9px;transition:transform .15s,border-color .15s,box-shadow .15s;display:grid;position:relative;overflow:hidden;box-shadow:0 6px #c49b46,0 11px 21px #57401b2b}.blessing-options .blessing-option:after{border-radius:inherit;content:"";pointer-events:none;background:linear-gradient(120deg,#ffffff73,#0000 31% 68%,#ffffff2e);position:absolute;inset:0}:is(.blessing-options .blessing-option:hover,.blessing-options .blessing-option:focus-visible){z-index:1;outline-offset:2px;border-color:#9fc555;outline:3px solid #41824a59;transform:translateY(-3px);box-shadow:0 7px #6f9a43,0 14px 25px #3f5c273b}.blessing-options .blessing-option:active{transform:translateY(4px);box-shadow:0 2px #6f9a43,0 5px 11px #3f5c272b}.blessing-option__art{aspect-ratio:1;background:#f9e9bb;border:1px solid #ffffffb3;border-radius:13px;justify-self:center;width:min(100%,116px);display:block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #6f592d14,0 5px 11px #59452121}.blessing-option__art img{object-fit:cover;width:200%;max-width:none;height:200%;display:block;position:absolute;top:0;left:0}.blessing-art-haste img,.blessing-art-vitality img{left:-100%}.blessing-art-fortify img,.blessing-art-vitality img{top:-100%}.blessing-option__copy{z-index:1;color:#6b592e;text-align:center;gap:2px;display:grid;position:relative}.blessing-options .blessing-option__copy b{color:#51401f;font-size:11px;line-height:1.15}.blessing-options .blessing-option__copy strong{color:#51713e;font-size:8px;line-height:1.25}@keyframes blessing-ready-arrive{0%{opacity:0;transform:translate(-50%,-38%)scale(.9)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@keyframes blessing-card-open{0%{opacity:0;transform:translateY(12px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}@media (max-width:620px){.blessing-ready-banner{border-radius:18px;grid-template-columns:54px minmax(0,1fr) 82px;gap:6px;width:calc(100% - 14px);min-height:68px;padding:6px 7px 6px 4px}.blessing-ready-mascot .character-art{width:68px;height:68px}.blessing-ready-copy b{font-size:11px}.blessing-ready-copy>span{font-size:7px}.blessing-ready-banner>button{min-width:82px;padding-inline:6px;font-size:8px}.blessing-card{border-radius:21px;width:100%;padding:10px}.blessing-heading{grid-template-columns:58px minmax(0,1fr);gap:8px;margin-bottom:7px}.blessing-heading-mascot{border-radius:18px;width:58px;height:58px}.blessing-heading-mascot .character-art{width:73px;height:73px;bottom:-9px}.blessing-heading h2{font-size:clamp(17px,6vw,24px)}.blessing-heading p:last-child{margin-top:2px;font-size:7px}.blessing-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.blessing-options .blessing-option{border-radius:14px;gap:4px;min-height:148px;padding:4px 4px 7px;box-shadow:0 4px #c49b46,0 7px 13px #57401b26}.blessing-option__art{border-radius:10px;width:100%}.blessing-options .blessing-option__copy b{font-size:9px}.blessing-options .blessing-option__copy strong{font-size:6.5px}}@media (max-width:340px) and (max-height:620px){.blessing-ready-copy>span{display:none}.blessing-ready-copy small{font-size:7px}.blessing-card{padding:8px}.blessing-heading{grid-template-columns:48px minmax(0,1fr);margin-bottom:5px}.blessing-heading-mascot{border-radius:15px;width:48px;height:48px}.blessing-heading-mascot .character-art{width:63px;height:63px}.blessing-heading .eyebrow{font-size:6px}.blessing-heading h2{font-size:16px}.blessing-heading p:last-child{font-size:6.5px}.blessing-options .blessing-option{min-height:132px;padding:3px 3px 6px}.blessing-option__art{width:100%}.blessing-options .blessing-option__copy b{font-size:8px}.blessing-options .blessing-option__copy strong{font-size:5.8px}}@media (max-height:520px) and (orientation:landscape){.blessing-card{width:min(700px,100%);padding:8px 10px}.blessing-heading{grid-template-columns:54px minmax(0,1fr);gap:8px;margin-bottom:5px}.blessing-heading-mascot{border-radius:17px;width:54px;height:54px}.blessing-heading-mascot .character-art{width:68px;height:68px}.blessing-heading h2{font-size:20px}.blessing-heading p:last-child{margin-top:1px;font-size:7px}.blessing-options{gap:7px}.blessing-options .blessing-option{min-height:157px;padding:4px 5px 7px}.blessing-option__art{width:104px}}@media (forced-colors:active){.blessing-ready-banner,.blessing-card,.blessing-options .blessing-option,.blessing-option__art,.blessing-heading-mascot,.blessing-ready-mascot{color:canvastext;box-shadow:none;background:canvas;border-color:canvastext}.blessing-ready-copy small,.blessing-ready-copy b,.blessing-ready-copy>span,.blessing-heading .eyebrow,.blessing-heading h2,.blessing-heading p:last-child,.blessing-options .blessing-option__copy b,.blessing-options .blessing-option__copy strong{color:canvastext}}@media (max-width:620px),(max-height:520px) and (orientation:landscape){.ready-overlay .ready-card,.game-overlay .overlay-card,.story-card,.unit-detail-drawer>div,.status-drawer>div,.progress-hub__panel{height:auto;max-height:calc(100dvh - max(10px, env(safe-area-inset-top)) - max(10px, env(safe-area-inset-bottom)));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow:hidden auto}.result-card>.story-card{max-height:none;overflow:visible}.progress-hub__panel{grid-template-rows:auto auto auto}.progress-hub__page{overflow:visible}.ready-card .start-button{z-index:4;position:sticky;bottom:0;box-shadow:0 -5px 13px #fffdf5d1,0 4px #15523e}.ready-card.is-advanced .difficulty-preview{justify-content:initial;display:grid}.overlay-card p:not(.eyebrow),.overlay-card button,.result-character-message span,.result-objective-row,.run-review p,.run-review b,.story-card>p,.story-line,.story-bubble,.story-choice-button span,.ending-option span,.unit-detail-drawer p,.unit-detail-drawer dd,.status-drawer dd,.drawer-map button{font-size:11px;line-height:1.4}.overlay-card small,.overlay-card .eyebrow,.result-overview>.eyebrow,.result-stats span,.reward-summary,.result-milestones,.story-card small,.story-speaker,.story-route-marks span,.unit-detail-drawer dt,.status-drawer dt{color:#4f625c;font-size:10px;line-height:1.3}.blessing-heading p:last-child,.blessing-options .blessing-option__copy strong{font-size:10px}.blessing-options .blessing-option__copy b{font-size:11px}.progress-hub__eyebrow,.progress-hub__wallet>span,.progress-hub__section-heading span,.progress-hub__shop-item span,.progress-hub__item-heading span,.progress-hub__mastery-item>span,.progress-hub dt,.progress-hub__settings small{color:#4f625c;font-size:10px;line-height:1.3}.progress-hub__tab,.progress-hub__buy,.progress-hub__shop-item strong,.progress-hub__item-heading strong,.progress-hub__achievement-item p,.progress-hub dd,.progress-hub__settings strong{font-size:11px;line-height:1.35}.progress-hub__achievement-item p{color:#4f625c}}.fighter{isolation:isolate}.fighter.team-player .sprite{filter:drop-shadow(0 0 1px #efffff)drop-shadow(0 0 4px #22998de0)}.fighter.team-enemy .sprite{filter:drop-shadow(0 0 1px #fff4e9)drop-shadow(0 0 4px #cc415be6)}.fighter.team-player:after,.fighter.team-enemy:after{border-style:solid;border-width:2px;height:23%;bottom:-9%;left:-10%;right:-10%}.fighter.team-player:after{background:#2f9d8f4d;border-color:#55d7c4;box-shadow:0 0 0 2px #e4fff99e,0 3px 7px #1b69604d}.fighter.team-enemy:after{background:#cd465b4a;border-style:dashed;border-color:#ef7181;box-shadow:0 0 0 2px #ffefe194,0 3px 7px #7420344d}@media (max-width:360px){.fighter{width:max(42px, calc(var(--unit-size) * .86));height:max(46px, calc(var(--unit-size) * .96))}.fighter .sprite{height:138%;left:-22%;right:-22%}.unit-health{height:8px;top:-15px}.home-hero-scene{background-position:61%}.home-copy-card{padding:14px 13px 11px}.home-copy-card h1{font-size:clamp(42px,14vw,50px)}.home-tagline{margin:7px 0 9px;font-size:10px;line-height:1.4}.home-action-row{grid-template-columns:minmax(0,1.25fr) minmax(108px,.75fr);gap:6px}.home-start-button,.home-camp-button{min-height:54px}}@media (max-width:620px),(max-height:520px) and (orientation:landscape){.ready-overlay .ready-card :is(small,dt,.eyebrow,.story-route-marks span,.setup-section>span,.difficulty-preview small){color:#4f625c;line-height:1.3;font-size:10px!important}.ready-overlay .ready-card :is(p:not(.eyebrow),dd,label,button:not(.start-button),.mission-speech-bubble,.ready-visual-badge,.difficulty-preview,.roster-options button>span:last-child,.selected-squad-member b){line-height:1.35;font-size:11px!important}.ready-overlay .ready-card :is(.ready-difficulty-options button b,.mission-briefing h2,.ready-visual-badge b,.first-run-recommendation b,.advanced-setup-heading b){font-size:12px!important}.ready-overlay .ready-card .mission-briefing dl{grid-template-columns:1fr}.ready-overlay .ready-card .start-button{font-size:14px!important}:is(.ready-overlay .ready-card,.progress-hub,.game-overlay) button:disabled{color:#4f625c;filter:none;opacity:1}:is(.ready-overlay .ready-card,.progress-hub,.game-overlay) button:disabled img{filter:grayscale(.35);opacity:.58}.ready-overlay .ready-card.is-advanced .skill-options button[data-locked=true]{min-height:58px}.ready-overlay .ready-card.is-advanced .skill-options button[data-locked=true] small{display:block}}@media (max-width:620px){.ready-overlay .ready-card .ready-difficulty-picker{grid-template-columns:minmax(0,1fr);gap:6px}.ready-overlay .ready-card .ready-difficulty-heading,.ready-overlay .ready-card .ready-difficulty-options,.ready-overlay .ready-card .ready-difficulty-picker>.text-button{grid-area:auto/1;width:100%}.ready-overlay .ready-card .ready-difficulty-options button{min-width:0;min-height:58px;padding:5px 6px}.ready-overlay .ready-card .ready-difficulty-picker>.text-button{min-height:44px}.ready-card.is-advanced .roster-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.ready-card.is-advanced .roster-options button[data-unit]{grid-template-rows:54px auto;min-height:82px}.ready-card.is-advanced .roster-character-art{height:54px}}@media (max-height:520px) and (orientation:landscape){.progress-hub__page--records{grid-template-columns:1fr}.progress-hub__page--records>.progress-hub__section:first-child{grid-row:auto}.progress-hub__page--records .progress-hub__record-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.progress-hub__page--records .progress-hub__settings{grid-template-columns:repeat(3,minmax(0,1fr))}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
