:root{--ink: #1a120c;--cream: #fff4dc;--cream-dim: #e8d4a8;--coral: #ff6b4a;--coral-deep: #c4452d;--lime: #7cde6a;--gold: #ffd166;--pink: #ff8fab;--panel: linear-gradient(180deg, rgba(42, 28, 16, .96) 0%, rgba(14, 10, 8, .94) 100%);--stroke: #c9a45a;--shadow: 0 6px 0 #0a0604, 0 12px 26px rgba(0, 0, 0, .55);--hud-bottom: 16px;--palette-h: 118px;--safe-t: env(safe-area-inset-top, 0px);--safe-r: env(safe-area-inset-right, 0px);--safe-b: env(safe-area-inset-bottom, 0px);--safe-l: env(safe-area-inset-left, 0px);font-family:Trebuchet MS,Segoe UI,Comic Sans MS,system-ui,sans-serif;color:var(--cream)}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;height:100dvh;overflow:hidden;background:#142010;overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}html{position:fixed;inset:0;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}#game-canvas{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}#ui{position:fixed;inset:0;pointer-events:none;z-index:2}#ui>*{pointer-events:none}#ui>button,#ui button,#ui #palette,#ui #inspect,#ui #title-screen,#ui #end-screen,#ui #ability-bar,#ui #hud,#ui .mute-btn,#ui .start-wave,#ui .shop-open-btn,#ui .shop-sheet{pointer-events:auto;touch-action:manipulation}#palette{touch-action:pan-x}.shop-cols,.shop-sheet{touch-action:pan-y}.hidden{display:none!important}#vignette{position:absolute;inset:0;background:radial-gradient(ellipse at center,transparent 50%,rgba(20,40,12,.5) 100%);opacity:0;transition:opacity .28s ease}#vignette.on{opacity:1}#title-screen,#end-screen{position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-start;padding:24px 5vw;background:linear-gradient(90deg,rgba(12,8,16,.55) 0%,rgba(12,8,16,.12) 55%,transparent 80%);z-index:12}#end-screen{justify-content:center;background:linear-gradient(180deg,#0c081047,#0c08108c)}.title-card{text-align:center;padding:36px 48px 32px;background:var(--panel);border:4px solid var(--stroke);border-radius:22px;box-shadow:var(--shadow),inset 0 1px #ffdca047;max-width:560px}.eyebrow{letter-spacing:.22em;text-transform:uppercase;font-size:12px;color:var(--gold);margin:0 0 8px}h1{font-family:Trebuchet MS,Arial Black,Impact,sans-serif;font-size:clamp(48px,8vw,78px);line-height:.9;margin:0 0 12px;color:#fff8e8;text-shadow:0 4px 0 #c4452d,0 10px 0 rgba(0,0,0,.25)}.tag{margin:0 0 22px;color:var(--cream-dim);font-size:18px}.title-tips{list-style:none;padding:0;margin:18px 0 0;color:var(--cream-dim);font-size:14px;display:grid;gap:6px}.touch-tips{display:none}#title-screen .title-card{max-width:min(540px,100%);padding:30px 34px 22px;border-width:2px;box-shadow:0 12px 32px #0005,inset 0 1px #ffe6a922}#title-screen .tag{max-width:34ch;margin:0 auto 22px;line-height:1.45}#title-screen .title-subtitle{margin:0 0 16px;color:var(--gold);font-size:14px;line-height:1.4;white-space:pre-wrap}#title-screen .title-portrait{display:block;width:48px;height:48px;margin:0 auto 8px;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}@media(max-height:480px)and (orientation:landscape){#title-screen .title-portrait{display:none}}.title-objective{margin:16px 0 8px;color:var(--cream-dim);font-size:14px;line-height:1.5}.title-secondary{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.title-secondary button{min-height:44px;padding:8px 12px;border:0;border-radius:8px;color:var(--cream-dim);background:transparent;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.title-secondary button:hover{color:var(--gold);background:#ffffff08}.title-secondary button:disabled{opacity:.45;cursor:default}.title-secondary button:focus-visible{outline:3px solid #ffe5a3;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}kbd{font-family:inherit;background:#3a221c;border:2px solid var(--stroke);border-radius:8px;padding:1px 7px;color:var(--gold)}.btn{font-family:inherit;font-weight:700;font-size:16px;border:none;border-radius:16px;padding:12px 18px;color:var(--ink);background:var(--gold);box-shadow:0 5px #c4922a;cursor:pointer}@media(hover:hover)and (pointer:fine){.btn:hover{filter:brightness(1.06)}}.btn:active{transform:translateY(4px);box-shadow:0 1px #c4922a}.btn.mega{background:var(--coral);color:#fff8e8;box-shadow:0 7px 0 var(--coral-deep);font-size:26px;padding:14px 36px;letter-spacing:.04em}.btn.mega:active{box-shadow:0 2px 0 var(--coral-deep)}.btn.ghost{background:transparent;color:var(--cream);box-shadow:none;border:2px solid var(--stroke)}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}#hud{position:absolute;top:calc(12px + var(--safe-t));left:calc(12px + var(--safe-l));right:calc(12px + var(--safe-r));display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:10px;z-index:10}.hud-left,.hud-right{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hud-right{justify-content:flex-end;padding-right:56px}.chip{display:flex;align-items:baseline;gap:6px;background:var(--panel);border:3px solid var(--stroke);border-radius:999px;padding:8px 14px;box-shadow:var(--shadow),inset 0 1px #ffdca02e;position:relative;color:var(--cream)}.chip strong{font-size:22px;font-weight:700;color:var(--gold);text-shadow:0 2px 0 #120806}.chip.mini strong{font-size:16px}.chip-label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--cream-dim)}.chip-ico{font-size:18px}.chip.bones.punch strong{animation:punch .28s ease}.chip.tokens .tip{display:none;position:absolute;top:calc(100% + 8px);left:0;width:240px;padding:10px 12px;background:#2a140f;border:2px solid var(--gold);border-radius:12px;font-size:12px;line-height:1.35;color:var(--cream);z-index:20;pointer-events:none;box-shadow:var(--shadow)}.chip.tokens:focus-within .tip,.chip.tokens.open .tip{display:block}@media(hover:hover)and (pointer:fine){.chip.tokens:hover .tip{display:block}}.eggs-hero{display:flex;align-items:center;gap:8px;background:var(--panel);border:4px solid #e8c878;border-radius:999px;padding:6px 22px 6px 10px;box-shadow:var(--shadow),inset 0 1px #ffe6aa47;transform-origin:center}.eggs-hero .nest-ico{font-size:clamp(34px,4.2vw,48px);line-height:1;filter:drop-shadow(0 3px 0 rgba(0,0,0,.25))}.eggs-stack{display:flex;flex-direction:column;align-items:flex-start;line-height:1}.eggs-hero strong{font-size:clamp(34px,4.4vw,48px);font-weight:800;letter-spacing:-.03em;color:#fff8e8;text-shadow:0 3px 0 #c4452d}.eggs-hero .chip-label{font-size:12px;margin-top:2px}.eggs-hero{transition:border-color .42s ease,background .42s ease}.eggs-hero.hurt{animation:nestHurt .52s ease;border-color:#ff5a5a;background:#5a0c12e0;transition:none}.eggs-hero.hurt strong{color:#ff8a7a}#ability-bar{position:absolute;left:calc(18px + var(--safe-l));bottom:calc(var(--palette-h) + var(--hud-bottom) + var(--tip-h, 22px) + 9px + var(--safe-b));display:flex;flex-direction:row;align-items:flex-end;gap:12px;width:auto;z-index:5}.ability{position:relative;font-family:inherit;color:var(--cream);width:96px;height:96px;padding:10px 8px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;cursor:pointer;text-align:center;border-radius:50%;border:4px solid var(--stroke);background:radial-gradient(circle at 38% 30%,rgba(255,236,196,.28),transparent 46%),radial-gradient(circle at 50% 58%,#4a301c,#1a100c 72%);box-shadow:inset 0 0 0 3px #2a1810,inset 0 -10px 14px #00000080,0 6px #0a0604,0 10px 18px #00000059;filter:saturate(.6);transition:filter .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.ability.charging{filter:saturate(.35) brightness(.92)}.ability.ready{filter:saturate(1.15) brightness(1.06);border-color:var(--gold);box-shadow:inset 0 0 0 3px #2a1810,0 0 0 3px #ffd16673,0 0 18px #ffd16659,0 6px #0a0604}.ability.ready .ability-key{animation:keyWiggle .55s ease infinite;background:var(--gold);color:var(--ink)}.ability:active{transform:translateY(3px) scale(.97);filter:brightness(.88)}.ability-key{position:absolute;top:8px;left:10px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#3a221c;color:var(--gold);font-weight:700;font-size:11px;border:2px solid var(--stroke);box-shadow:0 2px #1a0c0a}.ability-ico{font-size:30px;line-height:1;margin-top:6px;filter:drop-shadow(0 2px 0 rgba(0,0,0,.35))}.ability-name{font-size:12px;font-weight:700;letter-spacing:.02em;margin-top:2px}.ability-cd{position:absolute;top:8px;right:10px;font-size:10px;color:var(--gold);font-weight:700}.meter{position:absolute;left:16%;right:16%;bottom:10px;height:7px;background:#3a221c;border-radius:99px;overflow:hidden;border:1px solid #8a6a40}.meter>span{display:block;height:100%;width:0%;background:linear-gradient(90deg,#ff8fab,#ffd166);border-radius:99px;transition:width 80ms linear}.ability.ready .meter>span{width:100%!important;background:linear-gradient(90deg,#ffd166,#fff4dc)}.meter.cool>span{background:#7ec8ff}.meter.stomp>span{background:#c9a227}.game-tip{--hint-dock-gap: 1px;--hint-dock-radius: 22px;position:absolute;left:50%;bottom:calc(var(--palette-h) + var(--hud-bottom) + 1px + var(--safe-b));transform:translate(-50%);width:min(540px,calc(100vw - 32px));max-width:calc(100vw - 32px);margin:0;background:transparent;border:0;border-radius:7px 7px 0 0;padding:6px 8px;font-size:clamp(10px,1.15vw,12px);line-height:1.3;color:#e8dfc8;text-align:center;box-shadow:none;pointer-events:none;z-index:4}.game-tip:before{content:"";position:absolute;top:0;left:0;right:0;bottom:calc(-1 * (var(--palette-h) + var(--hint-dock-gap)));background:#201a10c9;border-radius:7px 7px var(--hint-dock-radius) var(--hint-dock-radius);pointer-events:none;z-index:-1}#ui.modal .hint-slot{display:none!important}#palette{position:absolute;left:50%;bottom:calc(var(--hud-bottom) + var(--safe-b));transform:translate(-50%);display:flex;gap:8px;padding:12px 14px;background:linear-gradient(180deg,#3a2818,#120c08);border:4px solid #c9a45a;border-radius:22px;box-shadow:var(--shadow),inset 0 1px #ffdca038;z-index:5;scrollbar-width:none}#palette::-webkit-scrollbar{display:none}.tower-btn{position:relative;width:96px;border:2px solid #8a6a38;background:radial-gradient(circle at 50% 28%,#2a1c12,#0e0a08 72%);color:var(--cream);border-radius:16px;padding:10px 6px 8px;font-family:inherit;cursor:pointer;box-shadow:inset 0 1px #ffdca029;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;transform-style:preserve-3d}.tower-btn .ico{font-size:28px;line-height:1}.tower-btn .ico img{width:56px;height:56px;display:block;margin:0 auto 4px;border-radius:10px;border:2px solid #6a4a28;background:#140c08;box-shadow:inset 0 0 0 1px #ffd16626}.tower-btn.rich-portrait{--portrait-halo: #586731;background:radial-gradient(ellipse at 50% 35%,var(--portrait-halo) 0%,#272219 52%,#100c08 90%)}.tower-btn.rich-portrait[data-kind=tar]{--portrait-halo: #514065}.tower-btn.rich-portrait[data-kind=ptero]{--portrait-halo: #79502e}.tower-btn.rich-portrait[data-kind=quake]{--portrait-halo: #285b60}.tower-btn.rich-portrait[data-kind=chili]{--portrait-halo: #663c2b}.tower-btn.rich-portrait[data-kind=rex]{--portrait-halo: #795428}.tower-btn.rich-portrait .ico img{width:80px;height:80px;max-width:100%;object-fit:contain;border:0;background:none;box-shadow:none;filter:drop-shadow(0 4px 3px #000b);transform:scale(1.06)}.tower-btn.rich-portrait .keycap{z-index:1}.tower-btn.rich-portrait[data-kind=rex] .ico img{transform:translate(4px,3px) scale(1)}html:not(.touch-ui):has(.rich-portrait){--palette-h: 170px}.tower-btn .nm{font-size:12px;font-weight:700;color:var(--cream)}.tower-btn .short-name{display:none}.tower-btn.selected .nm{text-decoration:underline;text-underline-offset:3px}.tower-btn.placed .price{color:var(--cream)}button:focus-visible{outline:3px solid var(--cream);outline-offset:3px}#game-canvas:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}.tower-btn .price{font-size:12px;color:var(--gold);font-weight:700}.tower-btn .keycap{position:absolute;top:6px;left:6px;min-width:20px;height:20px;padding:0 4px;display:grid;place-items:center;font-size:11px;font-weight:800;color:#2a140f;background:var(--gold);border:2px solid #fff4dc;border-radius:50%;box-shadow:0 2px #8a6a20}@media(hover:hover)and (pointer:fine){.tower-btn:hover:not(:disabled):not(.broke){border-color:var(--gold);transform:translateY(-8px) rotate(-2deg);box-shadow:0 12px #00000040}.shop-card:hover:not(:disabled){border-color:var(--gold);transform:translateY(-6px) rotate(1.4deg)}.mute-btn:hover{border-color:var(--gold)}.start-wave:hover{filter:brightness(1.05)}}.tower-btn.selected{border-color:var(--lime);box-shadow:0 0 0 3px #7cde6a4d;transform:translateY(-4px)}.tower-btn.hero.selected{border-color:var(--pink)}.tower-btn.broke{opacity:.48;filter:grayscale(.55)}.tower-btn.broke .need{font-size:11px;color:#ffb0a0;font-weight:700}.tower-btn.hero{background:linear-gradient(180deg,#5a3a14,#3a221c);box-shadow:inset 0 0 0 1px #ffd16659}.start-wave{position:absolute;right:calc(16px + var(--safe-r));bottom:calc(var(--hud-bottom) + var(--safe-b));display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:220px;max-width:min(280px,calc(50vw - 40px));padding:12px 16px 10px;border:none;border-radius:20px;background:var(--lime);color:#16340f;font-family:inherit;font-weight:800;font-size:18px;letter-spacing:.03em;box-shadow:0 8px #3e9a3a,var(--shadow);cursor:pointer;z-index:8;text-align:left}.start-wave:active{transform:translateY(5px);box-shadow:0 3px #3e9a3a}.start-wave.pulse{animation:startPulse 1.1s ease infinite}.start-wave .sw-title{font-size:18px;line-height:1.1}.start-wave .sw-preview,#btn-next-wave .sw-preview{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;font-weight:700}.start-wave .sw-hotkey{position:absolute;top:-10px;right:10px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;background:#16340f;color:var(--lime);border-radius:8px;padding:2px 7px}.preview-chip{background:#16340f2e;border-radius:999px;padding:2px 8px;white-space:nowrap}#shop{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:center;padding:calc(88px + var(--safe-t)) calc(16px + var(--safe-r)) calc(var(--palette-h) + 24px + var(--safe-b)) calc(16px + var(--safe-l));background:#0a060c75;z-index:6;pointer-events:none}.shop-sheet{width:min(960px,calc(100vw - 32px));height:100%;max-height:100%;display:flex;flex-direction:column;background:var(--panel);border:4px solid var(--stroke);border-radius:22px;padding:16px 18px 14px;box-shadow:var(--shadow),inset 0 1px #ffdca040;overflow:hidden}.shop-head{flex-shrink:0}.shop-head-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.shop-head h2{font-family:Trebuchet MS,Arial Black,Impact,sans-serif;margin:0;font-size:clamp(26px,3vw,34px);font-weight:400;line-height:1.1}.shop-close{display:block;flex-shrink:0;font-family:inherit;font-weight:800;font-size:28px;line-height:1;letter-spacing:.04em;text-transform:uppercase;color:var(--ink);background:var(--gold);border:none;border-radius:12px;padding:0;width:44px;height:44px;min-height:44px;box-shadow:0 3px #c4922a;cursor:pointer}.shop-close:active{transform:translateY(2px);box-shadow:0 1px #c4922a}.shop-head p{margin:4px 0 10px;color:var(--cream-dim);font-size:13px}.shop-tabs{display:none;gap:6px;margin-bottom:8px;flex-shrink:0}.shop-tabs button{flex:1;font-family:inherit;font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--cream-dim);background:#3a221c;border:2px solid transparent;border-radius:12px;padding:8px 10px;cursor:pointer}.shop-tabs button.on{color:var(--ink);background:var(--gold);border-color:#c4922a}.shop-cols{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;min-height:0;overflow:auto;overscroll-behavior:contain;flex:1;padding-bottom:6px}.shop-col h3{margin:0 0 8px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}.shop-grid{display:flex;flex-direction:column;gap:8px}.owned-strip{margin:0 0 8px;padding:8px 10px;background:#7cde6a1f;border:1px dashed var(--lime);border-radius:12px;font-size:12px;color:var(--cream-dim)}.shop-card{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;gap:1px 10px;align-items:center;width:100%;background:#3a221c;border:2px solid transparent;color:var(--cream);border-radius:16px;padding:8px 10px;font-family:inherit;cursor:pointer;text-align:left;transition:transform .16s ease,border-color .16s ease}.shop-card .ico{grid-row:span 2;font-size:28px}.shop-card .nm{font-size:15px;font-weight:800}.shop-card small{grid-column:2;color:var(--cream-dim);font-size:12px;line-height:1.25}.shop-card .price{grid-row:span 2;color:var(--gold);font-weight:800;white-space:nowrap;background:#1a0c0a;border-radius:999px;padding:6px 10px;font-size:13px}.shop-card:disabled{opacity:.5;cursor:not-allowed}.shop-card.broke:disabled{opacity:.55}.shop-card .need{color:#ffb0a0;font-size:12px;font-weight:700}.shop-card:active:not(:disabled){transform:translateY(2px) scale(.98);filter:brightness(.9);border-color:var(--gold)}.shop-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding-top:10px;border-top:2px solid var(--stroke);flex-shrink:0}.shop-wallet{display:flex;gap:14px;font-size:15px;font-weight:700}#btn-next-wave{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:auto;min-width:240px;margin:0;background:var(--lime);color:#16340f;box-shadow:0 7px #3e9a3a;font-size:20px;padding:10px 18px 8px;text-align:left}#btn-next-wave.pulse{animation:startPulse 1.1s ease infinite}#btn-next-wave:active{box-shadow:0 2px #3e9a3a}#shop.shop-ready #btn-next-wave{animation:startPulse 1.1s ease infinite}#inspect{position:absolute;left:calc(16px + var(--safe-l));top:calc(86px + var(--safe-t));width:220px;background:var(--panel);border:2px solid var(--stroke);border-radius:16px;padding:12px;z-index:5}.inspect-name{margin:0;font-weight:700}.inspect-body{margin:6px 0 10px;font-size:13px;color:var(--cream-dim)}#inspect .btn{width:100%;margin-top:6px}#inspect.pea-inspect{width:280px;top:calc(110px + var(--safe-t))}#inspect.pea-inspect .inspect-body{display:none}.inspect-role{margin:8px 0 6px;font-size:13px;color:var(--cream)}.inspect-stats{margin:0;font-size:14px;font-variant-numeric:tabular-nums}.inspect-stats>div{display:flex;justify-content:space-between;gap:12px;padding:2px 0}.inspect-stats dt{color:var(--cream-dim)}.inspect-stats dd{margin:0;font-weight:700}.stat-next{color:var(--lime)}.inspect-upgrade-note{font-size:12px;line-height:1.4;color:var(--cream-dim);margin:10px 0 4px}#inspect.pea-inspect #btn-upgrade{background:var(--gold);color:var(--ink);border-color:var(--gold);min-height:44px;font-size:14px}#inspect.pea-inspect #btn-upgrade:disabled{background:#453721;color:var(--cream-dim);border-color:#6d5734;cursor:default}#inspect.pea-inspect #btn-sell{background:transparent;border-color:#6d5734;min-height:44px;font-size:13px}#inspect.pea-inspect .btn{padding:8px}#ui:has(#inspect:not(.hidden)) .hint-slot{visibility:hidden}html:not(.touch-ui) #inspect.pea-inspect{max-height:calc(100% - var(--palette-h) - var(--hud-bottom) - 136px - var(--safe-t) - var(--safe-b));overflow-y:auto;overscroll-behavior:contain}html:not(.touch-ui):has(#ability-bar:not(.hidden)) #inspect.pea-inspect{max-height:calc(100% - var(--palette-h) - var(--hud-bottom) - 232px - var(--safe-t) - var(--safe-b))}#wave-banner{position:absolute;top:26%;left:50%;transform:translate(-50%,-50%);margin:0;z-index:9;pointer-events:none}#wave-banner .ribbon{display:block;background:var(--coral);padding:10px 64px;clip-path:polygon(18px 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,18px 100%,0 50%);box-shadow:0 8px 0 var(--coral-deep)}#wave-banner .ribbon-text{display:block;font-family:Trebuchet MS,Arial Black,Impact,sans-serif;font-size:clamp(28px,4.6vw,52px);font-weight:800;color:#fff8e8;letter-spacing:.04em;white-space:nowrap;-webkit-text-stroke:4px #2a140f;paint-order:stroke fill;text-shadow:0 4px 0 #c4452d,3px 5px 0 #2a140f}#wave-banner.slam{animation:ribbonSlam 1.2s cubic-bezier(.16,1.2,.32,1) both}#wave-banner.boss .ribbon{background:#7b1e4a;box-shadow:0 8px #3a0c22}#comic{position:absolute;left:50%;top:38%;transform:translate(-50%,-50%) rotate(-6deg);font-family:Trebuchet MS,Arial Black,Impact,sans-serif;font-size:64px;color:#fff8e8;text-shadow:4px 4px 0 #c4452d,-2px 0 0 #2a140f;opacity:0;pointer-events:none;z-index:10}#comic.pop{animation:comic .62s ease forwards}#floaters{position:absolute;inset:0;overflow:hidden}.floater{position:absolute;font-weight:700;font-size:18px;text-shadow:0 2px 0 #2a140f;animation:floatUp .8s ease forwards;white-space:nowrap}.floater.bone{animation:boneFly .7s cubic-bezier(.2,.7,.2,1) forwards;font-size:22px}.floater.egg{animation:boneFly .82s cubic-bezier(.2,.7,.2,1) forwards;font-size:28px;z-index:8}@keyframes floatUp{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-48px)}}@keyframes boneFly{to{opacity:.2;transform:translate(var(--dx),var(--dy)) scale(.4)}}@keyframes punch{50%{transform:scale(1.28);color:var(--gold)}}@keyframes nestHurt{0%,to{transform:translate(0) rotate(0)}20%{transform:translate(-10px) rotate(-4deg)}40%{transform:translate(10px) rotate(4deg)}60%{transform:translate(-7px) rotate(-2deg)}80%{transform:translate(6px) rotate(2deg)}}@keyframes comic{0%{opacity:0;transform:translate(-50%,-40%) rotate(-8deg) scale(.4)}30%{opacity:1;transform:translate(-50%,-50%) rotate(-6deg) scale(1.12)}to{opacity:0;transform:translate(-50%,-70%) rotate(4deg) scale(1)}}@keyframes keyWiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-12deg) scale(1.08)}75%{transform:rotate(12deg) scale(1.08)}}@keyframes startPulse{0%,to{transform:scale(1);box-shadow:0 8px #3e9a3a,0 0 #7cde6a73}50%{transform:scale(1.04);box-shadow:0 8px #3e9a3a,0 0 0 10px #7cde6a00}}@keyframes ribbonSlam{0%{transform:translate(-50%,-50%) scale(2.4) rotate(-10deg);opacity:0}16%{transform:translate(-50%,-50%) scale(.94) rotate(2deg);opacity:1}28%{transform:translate(-50%,-50%) scale(1.04) rotate(-1deg)}70%{transform:translate(-50%,-50%) scale(1) rotate(0);opacity:1}to{transform:translate(-50%,-58%) scale(1) rotate(0);opacity:0}}@keyframes hopTitle{0%{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-8px) rotate(1deg)}}@keyframes mascotDance{0%{transform:translateY(0) rotate(-8deg) scale(1)}to{transform:translateY(-10px) rotate(8deg) scale(1.08)}}@keyframes starStamp{0%{transform:scale(3) rotate(-20deg);opacity:0}55%{transform:scale(.9) rotate(8deg);opacity:1}to{transform:scale(1) rotate(0);opacity:1}}#end-screen.win h1{animation:hopTitle .55s ease infinite alternate}#end-screen.lose{background:linear-gradient(180deg,#32080e59,#28040a9e)}.end-mascot{font-size:72px;margin:0 0 8px;line-height:1}#end-screen.win .end-mascot{animation:mascotDance .45s ease infinite alternate}#end-screen.lose .end-mascot{filter:grayscale(.4);transform:rotate(18deg)}.end-stars{display:flex;justify-content:center;gap:8px;min-height:42px;margin:0 0 6px;font-size:36px}.end-stars .star{display:inline-block;opacity:0;animation:starStamp .42s cubic-bezier(.2,1.4,.3,1) forwards}.end-stars .star:nth-child(2){animation-delay:.14s}.end-stars .star:nth-child(3){animation-delay:.28s}.end-stars .star.off{filter:grayscale(1);opacity:.35}.end-stats{margin:0 0 18px;font-size:15px;color:var(--gold);font-weight:700}.mute-btn{position:absolute;top:calc(12px + var(--safe-t));right:calc(12px + var(--safe-r));z-index:14;width:44px;height:44px;min-width:44px;min-height:44px;border-radius:14px;border:2px solid var(--stroke);background:var(--panel);color:var(--cream);font-size:20px;cursor:pointer;box-shadow:var(--shadow)}.mute-btn.on{opacity:.7}.mute-btn:active{transform:translateY(2px) scale(.96);filter:brightness(.88)}.shop-open-btn{position:absolute;z-index:9;display:flex;left:calc(16px + var(--safe-l));bottom:calc(22px + var(--safe-b));align-items:center;justify-content:center;font-family:inherit;font-weight:800;font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink);background:var(--gold);border:none;border-radius:14px;min-width:72px;min-height:48px;padding:8px 12px;box-shadow:0 4px #c4922a,var(--shadow);cursor:pointer}.shop-open-btn:active{transform:translateY(3px);box-shadow:0 1px #c4922a}@media(min-width:1280px)and (min-height:700px){.eggs-hero strong{font-size:46px}.shop-sheet{width:960px}}@media(min-width:1440px){.tower-btn{width:104px}.start-wave{min-width:250px}}@media(max-width:1100px){.shop-tabs{display:flex}.shop-cols{grid-template-columns:1fr}.shop-col{display:none}.shop-col.on{display:block}.shop-foot{flex-wrap:wrap}#btn-next-wave{width:100%;min-width:0}}@media(max-width:900px){#hud{grid-template-columns:1fr auto 1fr}.hud-right{display:flex;padding-right:48px}.game-tip{max-width:calc(100vw - 32px)}.tower-btn{width:76px;min-height:44px}.start-wave{min-width:0;width:auto;font-size:15px;padding:10px 12px}#ability-bar{width:auto;gap:8px}.ability{width:76px;height:76px;min-width:44px;min-height:44px}.shop-foot{flex-direction:column;align-items:stretch}}@media(max-height:740px){.shop-sheet{padding:12px 14px 10px}.shop-head h2{font-size:24px}}html.touch-ui .desk-tips{display:none}html.touch-ui .touch-tips{display:grid}html.touch-ui .start-wave .sw-hotkey{display:none}html.touch-ui .shop-card,html.touch-ui .shop-tabs button,html.touch-ui .btn.mega,html.touch-ui .start-wave{min-height:48px}html.touch-ui #palette{overflow-x:auto;-webkit-overflow-scrolling:touch;gap:8px}html.touch-ui .tower-btn{min-width:56px;min-height:56px}html.touch-ui .tower-btn .ico img{width:36px;height:36px;min-width:32px;min-height:32px}html.touch-ui .tower-btn .nm{overflow:hidden;text-overflow:clip;white-space:nowrap;max-width:100%}html.touch-ui .tower-btn .full-name{display:none}html.touch-ui .tower-btn .short-name{display:inline}html.touch-ui .ability-key,html.touch-ui .tower-btn .keycap{display:none}html.touch-ui .ability-name,html.touch-ui .ability-cd{font-size:12px;line-height:1.15}html.touch-ui .ability-cd{position:static;top:auto;right:auto}html.touch-ui .chip.tokens .tip{width:min(240px,calc(100vw - 32px))}html.touch-ui #hud{top:calc(8px + var(--safe-t));left:calc(8px + var(--safe-l));right:calc(8px + var(--safe-r));max-height:56px;align-items:center;gap:6px;overflow:visible;pointer-events:auto;z-index:12;grid-template-columns:1fr auto 1fr}html:has(#end-screen:not(.hidden)) #hud{display:none!important}html.touch-ui .hud-left{order:3;justify-content:flex-end;flex-wrap:nowrap;padding-right:52px;min-width:0}html.touch-ui .hud-right{order:1;justify-content:flex-start;flex-wrap:nowrap;padding-right:0;min-width:0}html.touch-ui .eggs-hero{order:2;min-height:55px;max-height:56px;white-space:nowrap;flex-shrink:0;justify-self:center;padding:4px 14px 4px 8px}html.touch-ui .chip{flex-wrap:nowrap;white-space:nowrap;padding:6px 10px;min-height:44px;max-height:44px}html.touch-ui .chip.mini strong,html.touch-ui .chip.wave strong{font-size:16px;white-space:nowrap}html.touch-ui .chip-label{font-size:12px}html.touch-ui .chip.wave .chip-label{display:inline}html.touch-ui .chip.wave{align-items:center}html.touch-ui .chip.wave strong,html.touch-ui .chip.mini strong,html.touch-ui .eggs-hero strong{font-variant-numeric:tabular-nums}html.touch-ui .eggs-hero .nest-ico,html.touch-ui .eggs-hero strong{font-size:20px}html.portrait{--palette-h: 110px;--ability-row: 52px;--start-row: 56px;--dock-gap: 8px;--dock-h: calc(var(--ability-row) + var(--palette-h) + var(--start-row) + var(--dock-gap) * 2)}html.portrait #hud{grid-template-columns:max-content auto max-content}html.portrait .chip.bones .chip-label,html.portrait .chip.tokens .chip-label,html.portrait .eggs-hero .chip-label{display:none}html.portrait .chip.wave .chip-label,html.touch-ui.portrait .chip.wave .chip-label{display:inline}html.touch-ui.portrait #hud{gap:4px;grid-template-columns:max-content auto max-content}html.portrait .hud-left{gap:4px;padding-right:0}html.portrait .chip{padding:6px 8px;gap:4px}html.portrait .chip.wave{padding:6px 8px;gap:3px}html.portrait .chip.wave strong{font-size:14px;letter-spacing:-.03em}html.portrait .eggs-hero{min-width:7.2rem;padding:2px 14px 2px 8px;justify-self:center}html.portrait .eggs-hero .nest-ico,html.portrait .eggs-hero strong{font-size:22px}html.portrait .mute-btn{top:calc(68px + var(--safe-t));right:calc(8px + var(--safe-r));width:44px;height:44px;min-width:44px;min-height:44px}html.portrait:has(#ability-bar.hidden){--ability-row: 0px}html.portrait:has(.start-wave.hidden){--start-row: 0px}html.portrait #title-screen,html.portrait #end-screen{justify-content:flex-end;align-items:flex-end;padding:calc(12px + var(--safe-t)) calc(14px + var(--safe-r)) calc(18px + var(--safe-b)) calc(14px + var(--safe-l));background:linear-gradient(180deg,#0c081014 8%,#0c08108c 62%,#0c0810b8)}html.portrait .title-card{max-width:100%;width:100%;padding:22px 18px 18px}html.portrait #title-screen .title-card{padding:22px 18px 16px}html.portrait #title-screen .tag{font-size:16px;margin-bottom:18px}@media(max-height:650px){html.portrait #title-screen .title-card{padding-top:8px}}html.portrait h1{font-size:clamp(40px,13vw,62px)}html.portrait .tag{font-size:16px;margin-bottom:16px}html.portrait .btn.mega{width:100%;font-size:22px;padding:14px 18px}html.portrait .eggs-hero{justify-self:center}html.portrait #ability-bar{left:calc(8px + var(--safe-l));right:calc(8px + var(--safe-r));bottom:calc(var(--palette-h) + var(--start-row) + var(--dock-gap) + var(--tip-h, 22px) + 9px + var(--safe-b));justify-content:stretch;gap:8px;z-index:6}html.portrait .ability{flex:1 1 0;width:auto;min-width:0;min-height:48px;height:52px;border-radius:999px;padding:4px 6px 12px}html.portrait .ability-ico{font-size:20px;margin-top:2px}html.portrait .ability-name{font-size:12px;position:relative;z-index:1;margin-top:0}html.portrait .ability-cd{position:absolute;top:4px;right:6px;font-size:12px;z-index:1}html.portrait .meter{height:5px;bottom:4px;left:12%;right:12%}html.portrait .ability-key{display:none}html.portrait #palette{left:calc(8px + var(--safe-l));right:calc(8px + var(--safe-r));transform:none;width:auto;max-width:none;justify-content:space-between;gap:4px;padding:8px 6px;border-radius:18px;bottom:calc(var(--start-row) + var(--dock-gap) + var(--safe-b));-webkit-mask-image:none;mask-image:none}html.portrait .tower-btn{width:auto;min-width:44px;min-height:56px;flex:1 0 44px;padding:6px 2px}html.portrait .tower-btn .nm{display:block;font-size:11px;line-height:1.25;margin-bottom:2px}html.portrait .shop-open-btn:not(.hidden){display:flex;left:calc(8px + var(--safe-l));right:auto;bottom:calc(8px + var(--safe-b));width:80px;min-height:52px}html.portrait .start-wave{left:calc(8px + var(--safe-l));right:calc(8px + var(--safe-r));bottom:calc(8px + var(--safe-b));width:auto;max-width:none;min-width:0;min-height:52px;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:8px 14px;border-radius:16px;font-size:16px;text-align:left}html.portrait .start-wave .sw-title{font-size:16px}html.portrait:has(.shop-open-btn:not(.hidden)) .start-wave{left:calc(96px + var(--safe-l))}html.portrait #inspect{left:calc(8px + var(--safe-l));right:calc(8px + var(--safe-r));top:auto;bottom:calc(var(--dock-h) + 10px + var(--safe-b));width:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px}html.portrait #inspect.hidden{display:none!important}html.portrait .inspect-name,html.portrait .inspect-body,html.portrait #inspect-details{grid-column:1 / -1}html.portrait .inspect-body{margin:0}html.portrait #inspect.pea-inspect{top:auto;width:auto;gap:4px;padding:10px;max-height:calc(100% - var(--dock-h) - 104px - var(--safe-t) - var(--safe-b));overflow-y:auto;overscroll-behavior:contain}html.portrait .inspect-role{margin:2px 0 4px}html.portrait .inspect-upgrade-note{margin-top:4px}html.portrait #inspect.pea-inspect .btn{margin-top:0}html.portrait .game-tip{--hint-dock-radius: 18px;top:auto;left:calc(8px + var(--safe-l));right:calc(8px + var(--safe-r));bottom:calc(var(--palette-h) + var(--start-row) + var(--dock-gap) + 1px + var(--safe-b));transform:none;width:auto;max-width:none}html.portrait #wave-banner .ribbon{padding:8px 28px}html.portrait #wave-banner .ribbon-text{font-size:clamp(22px,8vw,34px)}html.portrait #comic{font-size:42px;top:32%}html.landscape-phone{--palette-h: 100px}html.landscape-phone #title-screen,html.landscape-phone #end-screen{justify-content:flex-start;align-items:center;padding:calc(10px + var(--safe-t)) calc(16px + var(--safe-r)) calc(10px + var(--safe-b)) calc(16px + var(--safe-l));background:linear-gradient(90deg,rgba(12,8,16,.62) 0%,rgba(12,8,16,.18) 48%,transparent 72%)}html.landscape-phone .title-card{padding:14px 22px 12px;max-height:calc(100dvh - 20px - var(--safe-t) - var(--safe-b));overflow:auto;max-width:min(520px,62vw)}html.landscape-phone #title-screen{padding-left:calc(64px + var(--safe-l));padding-right:calc(64px + var(--safe-r))}html.landscape-phone #title-screen .title-card{padding:14px 22px 10px;max-width:min(500px,calc(100vw - 128px))}html.landscape-phone #title-screen .tag{font-size:14px;margin-bottom:12px}html.landscape-phone .title-objective{margin-top:10px;margin-bottom:2px;font-size:13px}html.landscape-phone #title-screen:not(.hidden)~#btn-fullscreen{top:calc(10px + var(--safe-t))}html.landscape-phone h1{font-size:clamp(32px,7vw,48px)}html.landscape-phone .tag{font-size:14px;margin-bottom:12px}html.landscape-phone .title-tips{font-size:13px;margin-top:10px}html.landscape-phone .chip.mini .chip-label,html.landscape-phone .eggs-hero .chip-label{display:none}html.landscape-phone .chip.wave{padding:6px 8px;gap:4px;max-width:7.1rem}html.landscape-phone .chip.wave strong{font-size:14px;letter-spacing:-.03em}html.landscape-phone .eggs-hero{min-width:8.9rem;min-height:55px;padding:4px 16px 4px 8px}html.landscape-phone .eggs-hero .nest-ico,html.landscape-phone .eggs-hero strong{font-size:24px}html.landscape-phone .mute-btn{top:calc(8px + var(--safe-t));right:calc(8px + var(--safe-r));width:44px;height:44px;min-width:44px;min-height:44px}html.landscape-phone #ability-bar{left:calc(8px + var(--safe-l));right:auto;bottom:calc(8px + var(--safe-b));width:min(25vw,148px);flex-direction:column;align-items:stretch;gap:8px;z-index:6}html.landscape-phone .ability{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 7px;align-items:center;column-gap:6px;row-gap:3px;flex:0 0 auto;width:100%;min-width:48px;min-height:48px;height:auto;border-radius:16px;padding:6px 8px 7px;flex-direction:unset;justify-content:unset}html.landscape-phone .ability-ico{grid-column:1;grid-row:1;font-size:20px;margin-top:0}html.landscape-phone .ability-name{display:block;grid-column:2;grid-row:1;font-size:12px;margin:0;text-align:left}html.landscape-phone .ability-cd{grid-column:3;grid-row:1;position:static;font-size:12px}html.landscape-phone .meter{grid-column:1 / -1;grid-row:2;position:relative;left:auto;right:auto;bottom:auto;width:100%;height:6px;margin:0}html.landscape-phone .ability-key{display:none}html.landscape-phone #palette{left:calc(var(--safe-l) + min(25vw,148px) + 16px);right:calc(var(--safe-r) + min(25vw,220px) + 16px);transform:none;width:auto;max-width:none;bottom:calc(8px + var(--safe-b));padding:8px;border-radius:16px;gap:6px}html.landscape-phone .tower-btn{width:52px;min-width:0;min-height:56px;flex:1 1 0;max-width:64px;padding:6px 2px}html.landscape-phone .tower-btn .nm{font-size:12px}html.landscape-phone #inspect.pea-inspect{left:calc(var(--safe-l) + min(25vw,148px) + 16px);right:calc(8px + var(--safe-r));top:calc(76px + var(--safe-t));width:auto;max-width:400px;max-height:calc(100% - 200px - var(--safe-t) - var(--safe-b));overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:1fr 1fr;gap:6px}html.landscape-phone #inspect.pea-inspect .inspect-name,html.landscape-phone #inspect.pea-inspect #inspect-details{grid-column:1 / -1}html.landscape-phone #inspect.pea-inspect #inspect-details{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}html.landscape-phone .inspect-role{margin:0 0 4px}html.landscape-phone .inspect-stats{grid-column:2;grid-row:1 / 3}html.landscape-phone .inspect-upgrade-note{margin:0}html.landscape-phone #inspect.pea-inspect .btn{margin-top:0;font-size:12px}html.touch-ui:has(#inspect:not(.hidden)) #art-preview-switch{visibility:hidden}html.landscape-phone .shop-open-btn:not(.hidden){display:flex;left:auto;right:calc(8px + var(--safe-r));bottom:calc(80px + var(--safe-b));width:min(25vw,220px);max-width:25vw;min-height:44px}html.landscape-phone .start-wave{left:auto;right:calc(8px + var(--safe-r));bottom:calc(8px + var(--safe-b));width:min(25vw,220px);max-width:25vw;min-width:120px;min-height:64px;flex-direction:column;align-items:stretch;justify-content:center;padding:10px 12px;border-radius:16px;z-index:8}html.landscape-phone .start-wave .sw-title{font-size:15px}html.landscape-phone #inspect{left:calc(min(25vw,148px) + 16px + var(--safe-l));top:calc(60px + var(--safe-t));width:min(220px,28vw)}html.landscape-phone #wave-banner .ribbon-text{font-size:clamp(22px,5vw,36px)}html.landscape-phone #comic{font-size:40px}html.touch-ui #shop:not(.hidden):not(.collapsed){pointer-events:auto;align-items:flex-end;justify-content:center;padding:calc(64px + var(--safe-t)) 0 0;background:#0a060c80}#shop.collapsed{display:none;pointer-events:none;background:transparent;padding:0}html.touch-ui #shop.collapsed .shop-sheet{display:none}html.touch-ui .shop-close{display:flex;align-items:center;justify-content:center}html.touch-ui:not(.landscape-phone) .shop-head-row{min-height:44px;margin:8px 0;padding:0}html.touch-ui .shop-sheet{width:100%;height:55dvh;max-height:min(55dvh,calc(100dvh - 64px - var(--safe-t)));min-height:0;border-radius:22px 22px 0 0;border-left:none;border-right:none;border-bottom:none;padding:0 12px calc(8px + var(--safe-b));display:flex;flex-direction:column}html.touch-ui .shop-head,html.touch-ui .shop-tabs,html.touch-ui .shop-foot{flex-shrink:0}html.touch-ui .shop-cols{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden}html.touch-ui .shop-col.on{display:flex;flex-direction:column;min-height:0}html.landscape-phone.touch-ui #shop:not(.hidden):not(.collapsed){padding:calc(56px + var(--safe-t)) 0 0}html.touch-ui .shop-head h2{font-size:22px}html.touch-ui .shop-head p,html.touch-ui .shop-col h3{display:none}html.touch-ui .shop-tabs{display:flex}html.touch-ui .shop-tabs button{padding:10px 8px;min-height:44px}html.touch-ui .shop-foot{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:10px}html.touch-ui #btn-next-wave{width:auto;min-width:148px;max-width:58%;flex:1;font-size:15px;padding:8px 12px;gap:2px}html.touch-ui #btn-next-wave .sw-title{font-size:15px;white-space:nowrap}html.touch-ui #btn-next-wave .sw-preview{font-size:12px;gap:4px}html.portrait .shop-wallet{flex-direction:column;gap:2px;font-size:13px}html.touch-ui:has(#shop:not(.hidden):not(.collapsed)) #ability-bar,html.touch-ui:has(#shop:not(.hidden):not(.collapsed)) #palette,html.touch-ui:has(#shop:not(.hidden):not(.collapsed)) .start-wave,html.touch-ui:has(#shop:not(.hidden):not(.collapsed)) .game-tip{display:none!important}html.landscape-phone.touch-ui .shop-sheet{position:relative;height:min(68dvh,calc(100dvh - 56px - var(--safe-t)));max-height:calc(100dvh - 56px - var(--safe-t));margin-top:auto}html.landscape-phone.touch-ui .shop-head-row{min-height:44px;padding-top:4px}html.landscape-phone.touch-ui .shop-head h2{font-size:18px}html.landscape-phone.touch-ui .shop-tabs{margin-bottom:4px}html.landscape-phone.touch-ui .shop-tabs button{min-height:40px;padding:6px 8px}html.landscape-phone.touch-ui .shop-foot{margin-top:4px;padding-top:6px}html.landscape-phone.touch-ui #btn-next-wave{min-height:44px;padding:6px 10px}#art-preview-switch{position:fixed;left:12px;top:72px;z-index:80;max-width:calc(100vw - 24px);padding:5px 9px;border:1px solid #b5944c;border-radius:8px;color:#f4e4b9;background:#201c17df;font:11px/1.3 system-ui,sans-serif;text-decoration:none}#title-screen h1.grove-title{position:relative;isolation:isolate;width:max-content;max-width:100%;margin:8px auto 10px;font-family:Rex Storybook,Georgia,serif;font-weight:900;font-variation-settings:"opsz" 144,"SOFT" 100,"WONK" 1;font-size:clamp(36px,5.6vw,72px);line-height:1.12;letter-spacing:-.045em;white-space:nowrap;text-shadow:none}.grove-title-lettering{position:relative;display:block;color:#fff0bd;background:linear-gradient(#fffbe0 20%,#fff1c0 56%,#efc77c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(1px 0 0 #dba755) drop-shadow(-1px 0 0 #dba755) drop-shadow(0 -1px 0 #dba755) drop-shadow(0 1px 0 #dba755)}.grove-title-depth{position:absolute;inset:0;transform:translateY(4px);color:#c18b3d;-webkit-text-stroke:3px #6a411f;paint-order:stroke fill;text-shadow:0 3px 0 #51301b,0 6px 8px #120e0c80}.grove-title-sprig{position:absolute;width:.7em;height:.7em;right:-.12em;top:-.35em;transform:rotate(12deg);filter:drop-shadow(0 2px 0 #1b251b80);pointer-events:none}.grove-title-sprig svg{display:block;width:100%;height:100%}html.portrait #title-screen h1.grove-title{font-size:clamp(36px,13.2vw,62px);margin-top:8px;margin-bottom:10px}html.landscape-phone #title-screen h1.grove-title{font-size:clamp(30px,5.7vw,46px);margin-top:4px;margin-bottom:8px}@media(max-height:320px)and (min-width:600px){html.landscape-phone #title-screen .title-card{width:min(440px,calc(100vw - 128px));padding:10px 18px 8px}html.landscape-phone #title-screen .eyebrow{font-size:10px;margin-bottom:4px}html.landscape-phone #title-screen h1.grove-title{font-size:36px;margin:2px auto 8px}html.landscape-phone #title-screen .title-subtitle{font-size:12px;margin-bottom:6px}html.landscape-phone #title-screen .tag{max-width:none;font-size:13px;margin-bottom:8px}html.landscape-phone #title-screen .btn.mega{min-height:44px;padding:8px 24px;font-size:23px}html.landscape-phone #title-screen .title-objective{margin:10px 0 0;font-size:12px}}html.landscape-phone:has(#title-screen:not(.hidden) .grove-title) #art-preview-switch{top:calc(10px + var(--safe-t))}#ui .audio-settings-trigger{position:absolute;top:calc(64px + var(--safe-t));right:calc(12px + var(--safe-r));z-index:14;display:grid;place-items:center;width:44px;height:44px;padding:0;border:2px solid var(--stroke);border-radius:14px;background:var(--panel);color:var(--cream);box-shadow:var(--shadow);cursor:pointer}html.portrait #ui .audio-settings-trigger{top:calc(120px + var(--safe-t));right:calc(8px + var(--safe-r))}html.landscape-phone #ui .audio-settings-trigger{top:calc(60px + var(--safe-t));right:calc(8px + var(--safe-r))}#game-settings{width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;padding:0;border:2px solid #c39958;border-radius:24px;background:#251e15;color:var(--cream);box-shadow:0 18px 60px #0009,inset 0 1px #ffe6a92b;font:inherit;overflow:hidden;touch-action:pan-y}#game-settings::backdrop{background:#0b160ea6}#game-settings[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}.audio-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:14px 20px 6px}.audio-settings-heading h2{margin:0;font-size:26px;color:#ffe3a4}.audio-close{width:44px;height:44px;border:0;border-radius:12px;background:#ffffff0b;color:#fff4dc;font-size:30px;cursor:pointer}.audio-mute{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;cursor:pointer}.audio-mute input{width:20px;height:20px;accent-color:#dfb76e}.audio-levels{padding-top:14px;border-top:1px solid #e4c08b25}.audio-level{display:grid;grid-template-columns:1fr auto;column-gap:12px;margin-bottom:8px;font-size:14px}.audio-level label{font-weight:700}.audio-level p{grid-column:1 / -1;color:#e6cfad;font-size:13px;line-height:1.4;margin:4px 0}.audio-level output{color:#d8c4a0;font-variant-numeric:tabular-nums}.audio-level input{grid-column:1 / -1;width:100%;height:44px;margin:0;accent-color:#dfb76e;cursor:pointer;touch-action:pan-x}#audio-status{color:#e6cfad;font-size:12px;line-height:1.4}#audio-status:empty{display:none}.audio-defaults{min-height:44px;padding:0 12px;border:1px solid #a98246;border-radius:10px;background:#54402a;color:#fff1d7;font:inherit;font-size:13px;cursor:pointer}.audio-credits{margin-top:8px;font-size:12px;color:#d6c4a7}.audio-credits summary{min-height:36px;padding-top:12px;box-sizing:border-box;cursor:pointer}.audio-credits p{line-height:1.5;margin:8px 0}.audio-credits a{color:#e9c888}.audio-credits pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto;font-size:10px}#game-settings :focus-visible,#ui .audio-settings-trigger:focus-visible{outline:3px solid #ffe5a3;outline-offset:3px}.settings-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:6px 20px 12px}.settings-tabs button{min-height:44px;border:1px solid #a98246;border-radius:10px;background:#ffffff08;color:#dbc8a5;font:inherit;font-size:15px;cursor:pointer}.settings-tabs button[aria-selected=true]{background:#54402a;color:#fff1d7;box-shadow:inset 0 -2px #dfb76e}.settings-help,#video-status{color:#e6cfad;font-size:13px;line-height:1.5;margin:6px 0 12px}#video-status:empty{display:none}#game-settings [hidden]{display:none}.settings-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 20px 16px}.settings-saved{margin:0;padding:10px 20px 14px;border-top:1px solid #e4c08b25;color:#e6cfad;font-size:13px;line-height:1.4}.settings-recommended{margin-left:auto;font-size:11px;color:#dfb76e}#settings-mode{margin:0;color:#dfb76e;font-size:12px}#settings-mode:empty{display:none}#settings-paused{margin:2px 0 0;color:#e6cfad;font-size:13px}.help-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;padding:0;border:2px solid #c39958;border-radius:22px;color:var(--cream);background:#251e15;box-shadow:0 18px 60px #0009;overflow:hidden}.help-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.help-dialog::backdrop{background:#0b160ea6}.help-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 20px 8px;font-size:14px;line-height:1.55;touch-action:pan-y}.help-content h3{color:#ffe3a4;font-size:16px;margin:18px 0 6px}.help-content p{margin:8px 0}.help-goal{color:#ffe3a4}.help-camera{padding-top:14px;color:#e6cfad}.help-footer{margin:0;padding:10px 20px 14px;border-top:1px solid #e4c08b25;text-align:right}.help-dialog :focus-visible{outline:3px solid #ffe5a3;outline-offset:3px}html.touch-ui .desk-tips-inline{display:none}@media(max-height:520px)and (min-width:600px){#game-settings,.help-dialog{width:min(640px,calc(100vw - 128px))}.audio-settings-heading{padding-top:8px}.audio-settings-heading h2{font-size:23px}#game-settings .audio-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.settings-saved{padding-top:8px;padding-bottom:8px}}.shop-open-icon,#btn-fullscreen,#btn-fullscreen .collapse-icon,#btn-fullscreen.is-fullscreen .expand-icon{display:none}#btn-fullscreen.is-fullscreen .collapse-icon{display:block}#fullscreen-help{width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:16px 20px;border:2px solid var(--stroke);border-radius:18px;background:#251e15;color:var(--cream);font:inherit;touch-action:pan-y}#fullscreen-help::backdrop{background:#0b160eb0}#fullscreen-help form{display:flex;align-items:center;justify-content:space-between;gap:12px}#fullscreen-help h2{margin:0;font-size:20px}#fullscreen-help p{font-size:14px;line-height:1.6}#fullscreen-help button{width:44px;height:44px;flex:0 0 44px;border:0;border-radius:12px;background:#ffffff10;color:inherit;font-size:28px;cursor:pointer}html.touch-ui #hud{top:calc(6px + var(--safe-t));max-height:32px}html.touch-ui .chip,html.touch-ui .chip.wave{min-height:28px;max-height:28px;padding:3px 8px;gap:4px;border-width:2px;box-shadow:0 3px #0a0604}html.touch-ui .chip.mini strong,html.touch-ui .chip.wave strong{font-size:13px}html.touch-ui .chip-ico{font-size:17px}html.touch-ui .chip.mini{align-items:center}html.touch-ui .chip.mini strong{display:block;line-height:1}html.touch-ui .chip.mini .chip-ico{display:inline-flex;align-items:center;height:20px;line-height:1}html.touch-ui .chip.wave .chip-label{font-size:10px}html.touch-ui .eggs-hero{min-height:32px;max-height:32px;min-width:72px;padding:2px 10px;gap:6px;border-width:2px;box-shadow:0 3px #0a0604}html.touch-ui .eggs-hero .nest-ico,html.touch-ui .eggs-hero strong{font-size:19px}html.touch-ui .eggs-hero .chip-label,html.touch-ui .chip.mini .chip-label,html.touch-ui .shop-open-label{display:none}html.touch-ui .shop-open-icon,html.touch-ui .shop-close-icon{display:block}html.touch-ui #ui .shop-open-btn:not(.hidden),html.touch-ui #ui #btn-fullscreen{position:absolute;display:grid;place-items:center;left:auto;right:calc(8px + var(--safe-r));bottom:auto;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;padding:0;border:2px solid var(--stroke);border-radius:12px;background:var(--panel);color:var(--cream);box-shadow:0 3px #0a0604;cursor:pointer;z-index:14}html.touch-ui #ui .shop-open-btn:not(.hidden){background:var(--gold);color:var(--ink);border:0;box-shadow:0 4px #c4922a,var(--shadow)}html.touch-ui #ui .shop-open-btn:not(.hidden):active{box-shadow:0 1px #c4922a}html.touch-ui #ui #btn-fullscreen{left:calc(8px + var(--safe-l));right:auto;top:calc(42px + var(--safe-t))}html.touch-ui #ui #btn-fullscreen.standalone{display:none}html.touch-ui #ui .mute-btn,html.touch-ui #ui #btn-settings{box-shadow:0 3px #0a0604;border-radius:12px}html.portrait #ui .mute-btn{top:calc(42px + var(--safe-t))}html.portrait #ui #btn-settings{top:calc(90px + var(--safe-t))}html.portrait #ui .shop-open-btn:not(.hidden){top:calc(138px + var(--safe-t))}html.portrait:has(.shop-open-btn:not(.hidden)) .start-wave{left:calc(8px + var(--safe-l))}html.portrait #palette .tower-btn .price,html.portrait #palette .tower-btn .need{margin-top:4px}#ui .ability{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 48px;width:48px;min-width:48px;max-width:48px;height:48px;min-height:48px;padding:3px 2px 9px;border-width:2px;border-radius:12px;gap:0;box-shadow:inset 0 0 0 1px #2a1810,0 3px #0a0604}#ui .ability.ready{box-shadow:inset 0 0 0 1px #2a1810,0 0 0 1px #ffd16670,0 3px #0a0604}#ui .ability.ready:after{content:"✓";position:absolute;top:1px;right:3px;color:var(--gold);font:700 11px/1.2 system-ui}#ui .ability-ico{font-size:19px;margin:0}#ui .ability-name{display:block;font-size:9px;line-height:1.1;margin:2px 0 0;text-align:center}#ui .ability-cd{display:none}#ui .ability.charging #cd-roar{display:block;position:absolute;top:1px;right:2px;font-size:9px}#ui .ability .meter{position:absolute;bottom:4px;left:6px;right:6px;width:auto;height:3px;margin:0}#ability-bar{gap:8px}html.portrait #ability-bar{justify-content:center}#ui .ability-key{display:none}html:not(.touch-ui) #ui .ability-key{display:grid;top:2px;right:2px;left:auto;width:12px;height:12px;border:1px solid var(--stroke);border-radius:3px;font-size:9px;line-height:1;background:#2a1810;color:var(--gold);box-shadow:none;animation:none}html:not(.touch-ui) #ui .ability.ready:after{left:3px;right:auto}html:not(.touch-ui) #ui .ability.charging #cd-roar{left:2px;right:auto}html.landscape-phone{--mobile-dock-left: calc(66px + var(--safe-l));--mobile-dock-right: calc(126px + var(--safe-r))}html.touch-ui:not(.portrait) #ui .mute-btn{top:calc(6px + var(--safe-t))}html.touch-ui:not(.portrait) #ui #btn-settings{top:calc(54px + var(--safe-t))}html.touch-ui:not(.portrait) #ui .shop-open-btn:not(.hidden){top:calc(102px + var(--safe-t))}html.landscape-phone .hud-left{padding-right:52px}html.landscape-phone #ability-bar{left:calc(8px + var(--safe-l));right:auto;bottom:calc(8px + var(--safe-b));width:48px;flex-direction:column;gap:6px}html.landscape-phone #palette{left:var(--mobile-dock-left);right:var(--mobile-dock-right);bottom:calc(6px + var(--safe-b));width:auto;max-width:540px;margin-inline:auto;padding:4px;gap:4px;border-width:2px;border-radius:13px;box-shadow:0 3px #0a0604;justify-content:center}html.landscape-phone #palette .tower-btn{display:grid;grid-template-columns:30px 1fr;grid-template-rows:1fr 1fr;align-items:center;column-gap:4px;row-gap:4px;flex:1 0 60px;width:72px;min-width:60px;max-width:86px;min-height:44px;height:44px;padding:3px;border-radius:9px}html.landscape-phone #palette .tower-btn .ico{grid-column:1;grid-row:1 / 3}html.landscape-phone #palette .tower-btn .ico img{width:30px;height:34px;min-width:0;min-height:0;margin:0;transform:none}html.landscape-phone #palette .tower-btn .nm{grid-column:2;grid-row:1;font-size:10px;align-self:end;line-height:1.1}html.landscape-phone #palette .tower-btn .price,html.landscape-phone #palette .tower-btn .need{grid-column:2;grid-row:2;font-size:10px;line-height:1.1;margin:0;white-space:nowrap;align-self:start}html.landscape-phone .start-wave{right:calc(8px + var(--safe-r));bottom:calc(6px + var(--safe-b));width:108px;min-width:108px;max-width:108px;min-height:48px;padding:5px 6px;gap:3px;border-width:2px;border-radius:12px;animation:none!important;box-shadow:0 3px #3e9a3a}html.landscape-phone .start-wave .sw-title{font-size:11px;white-space:nowrap}html.landscape-phone .sw-preview{gap:3px;flex-wrap:nowrap}html.landscape-phone .preview-chip{padding:1px 3px;font-size:10px}html.landscape-phone .game-tip{--hint-dock-radius: 13px;top:auto;bottom:calc(var(--palette-h) + 7px + var(--safe-b));left:var(--mobile-dock-left);right:var(--mobile-dock-right);transform:none;width:auto;max-width:540px;margin:0 auto;padding:6px 8px;border:0;border-radius:7px 7px 0 0;box-shadow:none;color:#e8dfc8;font-size:10px;line-height:1.3;pointer-events:none}html.landscape-phone #inspect,html.landscape-phone #inspect.pea-inspect{left:var(--mobile-dock-left);right:calc(60px + var(--safe-r));top:calc(44px + var(--safe-t));bottom:auto;width:auto;max-width:430px;max-height:calc(100% - var(--palette-h) - 66px - var(--safe-t) - var(--safe-b));overflow-y:auto}html.touch-ui:not(.portrait):not(.landscape-phone) #palette{left:calc(8px + var(--safe-l));right:calc(240px + var(--safe-r));transform:none;width:auto;max-width:720px;margin-inline:auto;justify-content:center}html.touch-ui:not(.portrait):not(.landscape-phone) .game-tip{left:calc(8px + var(--safe-l));right:calc(240px + var(--safe-r));transform:none;width:auto;max-width:540px;margin-inline:auto}html.touch-ui:not(.portrait):not(.landscape-phone) #ability-bar{bottom:calc(var(--palette-h) + var(--hud-bottom) + var(--tip-h, 22px) + 9px + var(--safe-b))}@media(min-width:600px){html:not(.landscape-phone) #ui #ability-bar{--ability-dock-bottom: var(--hud-bottom);left:calc(16px + var(--safe-l));right:auto;bottom:auto;top:min(50%,calc(100% - var(--palette-h) - var(--ability-dock-bottom) - var(--tip-h, 22px) - 128px - var(--safe-b)));transform:translateY(-50%);width:72px;flex-direction:column;align-items:center;gap:10px}html.portrait #ui #ability-bar{--ability-dock-bottom: calc(var(--start-row) + var(--dock-gap))}html:not(.landscape-phone) #ui .ability{flex-basis:72px;width:72px;min-width:72px;max-width:72px;height:72px;min-height:72px;padding:5px 4px 13px;border-radius:16px}html:not(.landscape-phone) #ui .ability-ico{font-size:28px}html:not(.landscape-phone) #ui .ability-name{font-size:11px;margin-top:3px}html:not(.landscape-phone) #ui .ability .meter{left:9px;right:9px;bottom:6px;height:4px}html:not(.landscape-phone) #ui .ability-key{top:4px;right:4px;width:16px;height:16px;font-size:11px}html:not(.landscape-phone) #ui .ability.ready:after{top:3px;left:auto;right:5px;font-size:13px}html:not(.landscape-phone) #ui .ability.charging #cd-roar{top:3px;left:auto;right:4px;font-size:11px}html:not(.landscape-phone):not(.touch-ui) #ui .ability.ready:after{left:5px;right:auto}html:not(.landscape-phone):not(.touch-ui) #ui .ability.charging #cd-roar{left:4px;right:auto}}html.landscape-phone.touch-ui #shop:not(.hidden):not(.collapsed){padding:0;z-index:30}html.landscape-phone.touch-ui .shop-sheet{width:100%;height:100%;max-height:none;margin:0;border:0;border-radius:0;padding:calc(6px + var(--safe-t)) calc(12px + var(--safe-r)) calc(6px + var(--safe-b)) calc(12px + var(--safe-l));background:var(--panel);box-shadow:none}html.landscape-phone.touch-ui .shop-head{display:flex;align-items:center;gap:14px;flex:0 0 44px;margin:0 0 6px;padding:0}html.landscape-phone.touch-ui #shop-sub{display:none}html.landscape-phone.touch-ui .shop-head-row{display:contents}html.landscape-phone.touch-ui .shop-head h2{order:0;margin:0;font-size:18px;white-space:nowrap}html.landscape-phone.touch-ui .shop-tabs{order:1;display:flex;gap:6px;margin:0;flex:1}html.landscape-phone.touch-ui .shop-tabs button{flex:0 1 100px;min-width:64px;min-height:44px;padding:6px 12px;font-size:12px}html.touch-ui .shop-close{font-size:28px;line-height:1;width:44px;min-width:44px;height:44px;min-height:44px;padding:0}html.landscape-phone.touch-ui .shop-close{order:2;margin-left:auto}html.landscape-phone.touch-ui .shop-cols{flex:1 1 0;min-height:0;padding:0 0 4px}html.landscape-phone.touch-ui .shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html.landscape-phone.touch-ui .shop-col[data-col=evos].on{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start}html.landscape-phone.touch-ui #shop-owned{grid-column:1 / -1;margin:0}html.landscape-phone.touch-ui #shop-rex,html.landscape-phone.touch-ui #shop-evos{display:contents}html.landscape-phone.touch-ui .shop-card{min-height:64px}html.landscape-phone.touch-ui .shop-foot{flex:0 0 auto;min-height:48px;margin:6px 0 0;padding:5px 0 0;gap:12px}html.landscape-phone.touch-ui .shop-wallet{flex-direction:row;gap:14px;font-size:12px}html.landscape-phone.touch-ui #btn-next-wave{flex:0 0 auto;width:auto;min-width:142px;max-width:220px;min-height:44px;margin-left:auto;padding:5px 12px;border-radius:11px;gap:5px;flex-direction:row;align-items:center;animation:none!important;box-shadow:0 3px #3e9a3a}html.landscape-phone.touch-ui #btn-next-wave .sw-title{font-size:12px;white-space:nowrap}html.landscape-phone.touch-ui:has(#shop:not(.hidden):not(.collapsed)) #hud,html.landscape-phone.touch-ui:has(#shop:not(.hidden):not(.collapsed)) #ui>.mute-btn,html.landscape-phone.touch-ui:has(#shop:not(.hidden):not(.collapsed)) #ui>#btn-settings,html.landscape-phone.touch-ui:has(#shop:not(.hidden):not(.collapsed)) #ui>#btn-fullscreen{visibility:hidden}@media(max-width:700px)and (orientation:landscape){html.landscape-phone #palette .tower-btn{grid-template-columns:1fr;grid-template-rows:24px 12px;row-gap:0;flex-basis:46px;min-width:46px;padding:2px}html.landscape-phone #palette .tower-btn .ico{grid-column:1;grid-row:1}html.landscape-phone #palette .tower-btn .ico img{width:26px;height:26px;margin:0 auto}html.landscape-phone #palette .tower-btn .nm{display:none}html.landscape-phone #palette .tower-btn .price,html.landscape-phone #palette .tower-btn .need{grid-column:1;grid-row:2;align-self:center}html.landscape-phone.touch-ui .shop-head{gap:8px}html.landscape-phone.touch-ui .shop-head h2{font-size:15px}html.landscape-phone.touch-ui .shop-tabs{gap:4px}html.landscape-phone.touch-ui .shop-tabs button{min-width:56px;padding:4px 6px}}html.ao-study-root{position:static;inset:auto;height:auto;min-height:100%;overflow:auto;touch-action:pan-y;user-select:text;-webkit-user-select:text;background:#17221f}body.ao-study{height:auto;min-height:100dvh;margin:0;background:#17221f;color:#f2efdf;overflow:auto;font-family:Arial,sans-serif;touch-action:auto}.ao-study *{box-sizing:border-box}.study-shell{max-width:1488px;margin:auto;padding:30px 36px 22px}.study-shell header{margin-bottom:24px}.study-eyebrow{font-size:11px;letter-spacing:2.5px;color:#bbcdad}.study-shell h1{text-shadow:none;color:#f2efdf;font:500 clamp(28px,4vw,44px)/1.1 Georgia,serif;margin:10px 0}.study-shell p{color:#bfcbc3;font-size:13px;line-height:1.5;margin:0}.study-stage{height:clamp(320px,59vh,650px);position:relative;overflow:hidden;border:1px solid #526054;border-radius:12px;background:#b6bbaa}.study-stage canvas{position:absolute!important;inset:0;width:100%!important;height:100%!important;display:block;touch-action:none}.study-labels{position:absolute;inset:18px 20px auto;display:flex;justify-content:space-between;pointer-events:none}.study-labels span{font-size:11px;letter-spacing:1.7px;color:#fff;background:#17221fe6;padding:10px 13px;border-radius:6px}.study-labels small{display:block;letter-spacing:0;font-size:11px;color:#ced7cd;margin-top:4px}.study-divider{position:absolute;top:0;bottom:0;left:50%;width:24px;transform:translate(-50%);cursor:ew-resize;touch-action:none}.study-divider:before{content:"";position:absolute;left:11px;height:100%;width:2px;background:#fff9}.study-divider:after{content:"↔";position:absolute;top:50%;left:-5px;border-radius:50%;width:34px;height:34px;background:#f2efdf;color:#24382f;display:grid;place-items:center}.study-hint{position:absolute;bottom:12px;left:18px;font-size:11px;color:#20302a;background:#f2efdfb8;padding:6px 9px;border-radius:4px}.study-loading{position:absolute;top:45%;left:35%;background:#17221f;padding:20px!important}.study-controls{padding-top:18px}.study-modes{display:flex;gap:7px;flex-wrap:wrap}.ao-study button{min-height:38px;padding:8px 16px;border:1px solid #526054;background:#24342d;color:#eeeadd;border-radius:7px;font:13px Arial;cursor:pointer;box-shadow:none}.ao-study button[aria-pressed=true]{color:#17221f;background:#d9e5ad;border-color:#d9e5ad}.ao-study :focus-visible{outline:2px solid #e0eea9;outline-offset:4px}.study-sliders{display:flex;align-items:end;gap:26px;margin:18px 0 12px}.study-sliders label{font-size:11px;color:#bdcabf;flex:1;max-width:270px}.study-sliders output{float:right;color:#f2efdf}.study-sliders input{display:block;width:100%;accent-color:#d5e69c;margin:10px 0 0;cursor:pointer}.study-sliders input:disabled{opacity:.3}.study-shell footer{display:flex;gap:20px;justify-content:space-between;margin-top:18px;padding-top:16px;border-top:1px solid #34463b;font-size:11px;color:#91a699;line-height:1.5}.study-shell a{color:#d9e5ad;white-space:nowrap}.ao-study [hidden]{display:none!important}@media(max-width:600px){.study-shell{padding:20px 14px}.study-shell header{margin-bottom:16px}.study-stage{height:370px}.study-labels{inset:10px 8px auto}.study-labels span{padding:8px;font-size:10px}.study-labels small{font-size:9px}.study-sliders{display:grid;grid-template-columns:1fr 1fr;gap:16px}.study-sliders label{max-width:none}.study-shell footer{flex-direction:column;gap:8px}.ao-study button{padding:8px 12px}.study-shell h1{font-size:31px}}
