:root{color:#15231c;background:#fbfaf6;font-family:Manrope,ui-sans-serif,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--sage: #2f6b4f;--sage-enamel: #57b58e;--mint-light: #b9e8cd;--mint-wash: #b9e8cd;--moss-tone: #6f8061;--sage-bright: #57b58e;--ivory-warm: #fff7e6;--ink: #15231c;--ink-soft: #15231c;--muted: #6f8061;--paper: #fbfaf6;--paper-deep: #fbfaf6;--hairline: #fff7e6;--line-strong: #fff7e6;--ivory: #fff7e6;--stage-sage: #c5cec1;--target-mint: #b7d0bc;--target-sage: #91b99a;--target-moss: #a7a875;--action-orange: #ff6b4a;--reward-sun: #d7b853;--power-sky: #4d8ca6;--panel: rgba(255, 247, 230, .92);--active-accent: var(--sage-enamel);--active-accent-hot: var(--mint-light);--theme-accent: var(--sage);--theme-hot: var(--mint-light);--paper-soft: var(--paper);--line: rgba(21, 35, 28, .14);--shadow: rgba(21, 35, 28, .28);--mint-sky: var(--mint-wash);--font-display: "Bricolage Grotesque", ui-rounded, "Avenir Next Rounded", "Avenir Next", ui-sans-serif, system-ui, sans-serif;--font-ui: "Manrope", ui-sans-serif, system-ui, sans-serif;--font-mono: "DM Mono", ui-monospace, monospace}*{box-sizing:border-box}html,body,#app{min-height:100%;margin:0}[hidden]{display:none!important}body{overflow-x:hidden;background:radial-gradient(circle at 18% 8%,rgba(185,232,205,.26),transparent 26rem),radial-gradient(circle at 82% 18%,rgba(87,181,142,.14),transparent 22rem),linear-gradient(180deg,var(--paper) 0%,var(--paper-deep) 100%);color:var(--ink);font-family:var(--font-ui);-webkit-font-smoothing:antialiased}body:before{position:fixed;inset:0;pointer-events:none;content:"";opacity:0}.feedback-layer{position:absolute;inset:0;z-index:5;overflow:hidden;pointer-events:none}.score-pop{position:absolute;top:34%;left:50%;display:grid;justify-items:center;color:var(--ivory);filter:drop-shadow(0 4px 10px rgba(21,35,28,.35));animation:premium-score-pop .72s cubic-bezier(.16,.8,.22,1) both}.score-pop strong{font:800 clamp(1.35rem,2.4vw,2.2rem)/1 var(--font-display)}.score-pop span{margin-top:.22rem;border-radius:999px;padding:.24rem .52rem;background:var(--sage-enamel);color:var(--ink);font:800 .66rem/1 var(--font-mono);letter-spacing:.08em}@keyframes premium-score-pop{0%{opacity:0;transform:translate(-50%,14px) scale(.62)}24%{opacity:1;transform:translate(-50%) scale(1.08)}64%{opacity:1;transform:translate(-50%,-12px) scale(1)}to{opacity:0;transform:translate(-50%,-36px) scale(.92)}}@media(prefers-reduced-motion:reduce){.score-pop{animation-duration:.18s}}button,a{font:inherit}a{color:var(--sage)}.shell{position:relative;display:grid;grid-template-columns:minmax(14rem,.34fr) minmax(42rem,2fr);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"hero game" "hud game";gap:clamp(.55rem,1.15vw,1rem);min-height:100dvh;padding:clamp(.55rem,1.25vw,1.1rem)}.shell.is-playing{grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:"game"}.shell.is-playing .hero-panel,.shell.is-playing .hud-panel,.shell.is-playing .help-card,.shell.is-playing .cabinet-brand{display:none}.hero-panel,.hud-panel,.hud-card{border:1px solid var(--hairline);border-radius:18px;background:var(--panel);box-shadow:0 24px 50px -32px var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.hero-panel{grid-area:hero;display:flex;flex-direction:column;min-height:0;padding:clamp(.75rem,1.2vw,1.1rem)}.hud-panel{grid-area:hud;align-self:end;padding:.85rem}.brand{display:inline-flex;align-items:center;gap:.7rem;color:var(--ink);text-decoration:none;text-transform:uppercase;letter-spacing:.12em}.brand-mark{display:grid;width:2.45rem;height:2.45rem;place-items:center;border:0;border-radius:11px;background:var(--sage);color:var(--paper);font-weight:950}.brand strong,.brand small{display:block}.brand small{margin-top:.16rem;color:var(--muted);font-size:.64rem}.title-block{margin-top:auto;padding:2rem 0 1.4rem}.eyebrow{margin:0 0 .65rem;color:var(--sage-enamel);font-family:var(--font-mono);font-size:.76rem;font-weight:900;letter-spacing:.22em;text-transform:uppercase}h1{max-width:9ch;margin:0;color:var(--ink);font-size:clamp(2.25rem,3.2vw,2.95rem);line-height:.94;letter-spacing:0;text-transform:uppercase;font-family:var(--font-display)}.title-block p:last-child{max-width:26rem;color:var(--muted);font-size:clamp(.95rem,1vw,1.05rem);line-height:1.5}.actions{display:grid;grid-template-columns:1fr;gap:.62rem}.primary-button,.secondary-button{min-height:3rem;border:0;border-radius:13px;cursor:pointer;font-weight:800;letter-spacing:.04em;text-transform:uppercase;transition:transform .16s ease,filter .16s ease,opacity .16s ease}.primary-button{background:var(--action-orange);color:var(--ink);box-shadow:0 10px 24px #ff6b4a3d}.secondary-button{border:1.5px solid var(--line-strong);background:var(--ivory);color:var(--ink)}.primary-button:hover,.secondary-button:hover{transform:translateY(-2px);filter:brightness(1.03)}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.42;transform:none}.theme-picker{display:grid;gap:.46rem;margin-top:.85rem;color:var(--muted);font-family:var(--font-mono);font-size:.72rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.board-select{display:grid;gap:6px;color:var(--muted);font-family:var(--font-mono);font-size:10px;font-weight:700;text-transform:uppercase}.board-select select{width:100%;min-height:42px;border:1px solid var(--line-strong);border-radius:8px;padding:0 10px;color:var(--ink);background:var(--ivory);font:700 13px var(--font-ui)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem}.theme-chip{display:inline-flex;min-height:2.08rem;align-items:center;gap:.42rem;border:1px solid var(--hairline);border-radius:11px;background:var(--paper-deep);color:var(--ink);cursor:pointer;font-size:.7rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.theme-chip i{width:.78rem;height:.78rem;background:var(--theme);box-shadow:0 0 16px var(--theme-hot)}.theme-chip[aria-pressed=true]{border-color:var(--theme-hot);background:color-mix(in srgb,var(--theme) 16%,#fff7e6)}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;margin:0 0 .75rem}.stat-grid div{border:1px solid var(--hairline);border-radius:13px;padding:.62rem;background:var(--ivory)}.stat-grid dt{color:var(--muted);font-size:.62rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.stat-grid dd{margin:.16rem 0 0;color:var(--sage);font-size:1.22rem;font-weight:800}.status-line{min-height:2rem;margin:0;color:var(--ink-soft);font-weight:700;line-height:1.35}.game-panel{position:relative;isolation:isolate;contain:paint;grid-area:game;overflow:hidden;min-height:calc(100dvh - clamp(1.1rem,2.5vw,2.2rem));border:1px solid rgba(47,107,79,.42);border-radius:18px;background:linear-gradient(180deg,rgba(251,250,246,.1),transparent 24%),radial-gradient(circle at 50% 5%,rgba(185,232,205,.2),transparent 42%),linear-gradient(90deg,rgba(251,250,246,.04),transparent 14%,transparent 86%,rgba(251,250,246,.04)),var(--ink);box-shadow:inset 0 0 0 1px #fff7e61f,inset 0 0 80px #15231c80,0 30px 80px var(--shadow)}.shell.is-playing .game-panel{min-height:calc(100dvh - clamp(1.1rem,2.5vw,2.2rem));border-color:#2f6b4f94}.game-panel:before{position:absolute;inset:.75rem;z-index:0;pointer-events:none;content:"";border:1px solid rgba(185,232,205,.26);box-shadow:0 0 36px #2f6b4f38}.game-mount{position:absolute;inset:0;z-index:1;width:100%;height:100%;min-height:36rem;touch-action:none}.game-mount canvas{display:block;width:100%;height:100%;touch-action:none}.loading-screen{position:absolute;inset:0;z-index:8;display:grid;place-content:center;justify-items:center;gap:10px;padding:1rem;overflow:hidden;background:var(--paper-deep);color:var(--ink);opacity:1;transition:opacity .18s cubic-bezier(.22,1,.36,1)}.loading-screen.is-exiting{pointer-events:none;opacity:0}.loading-screen>img{width:52px;height:52px}.loading-copy{display:grid;gap:.2rem;justify-items:center;text-align:center}.loading-copy>strong{font-family:var(--font-display);font-size:14px;letter-spacing:0}.loading-copy>span{max-width:22rem;color:var(--muted);font-family:var(--font-mono);font-size:.68rem;font-weight:700;letter-spacing:.04em}.loading-board{position:relative;width:min(240px,58vw);aspect-ratio:1.45;border:7px solid rgba(251,250,246,.96);border-radius:8px 8px 18px 18px;background:var(--sage);box-shadow:0 18px 34px -24px #15231c8f;transform:perspective(420px) rotateX(54deg);transform-origin:50% 100%}.loading-board:before{position:absolute;top:14%;right:10%;left:10%;height:36%;border-radius:5px;background:repeating-linear-gradient(90deg,transparent 0 15%,rgba(251,250,246,.5) 15% 17%),linear-gradient(180deg,var(--mint-wash) 0 24%,var(--sage-bright) 24% 48%,var(--mint-light) 48% 72%,var(--sage-enamel) 72%);content:""}.loading-board>span{position:absolute;right:26%;bottom:12%;left:26%;height:11%;border-radius:999px;background:var(--sage-enamel)}.loading-stages{display:flex;max-width:min(260px,86vw);margin:0;padding:0;color:var(--muted);font-family:var(--font-mono);font-size:.58rem;font-weight:800;letter-spacing:.07em;list-style:none;text-transform:uppercase}.loading-stages li{display:inline-flex;min-width:0;flex:1;align-items:center;justify-content:center;gap:.28rem;white-space:nowrap}.loading-stages li:before{width:.56rem;height:.56rem;border:1px solid var(--line-strong);border-radius:50%;background:var(--paper-deep);box-shadow:inset 0 0 0 2px var(--paper-deep);content:""}.loading-stages li.is-complete,.loading-stages li.is-current,.loading-screen[data-stage=document] .loading-stages li[data-loading-stage=document]{color:var(--sage)}.loading-stages li.is-complete:before,.loading-stages li.is-current:before{border-color:var(--sage);background:var(--sage)}.loading-screen[data-stage=document] .loading-stages li[data-loading-stage=document]:before{border-color:var(--sage);background:var(--sage)}.loading-stages li.is-current:before{box-shadow:0 0 0 3px #2f6b4f24}.loading-indicator{display:flex;gap:6px}.loading-indicator span{width:6px;height:6px;border-radius:50%;background:var(--sage);animation:loading-dot .9s ease-in-out infinite alternate}.loading-indicator span:nth-child(2){animation-delay:.15s}.loading-indicator span:nth-child(3){animation-delay:.3s}.loading-retry{min-height:2.6rem;padding:0 1rem}.loading-screen[data-stage=error] .loading-indicator,.loading-screen[data-stage=error] .loading-stages{display:none}.shell.is-loading .game-mount,.shell.is-loading .cabinet-brand,.shell.is-loading .game-toolbar,.shell.is-loading .hud-card,.shell.is-loading .play-stat-grid,.shell.is-loading .status-line,.shell.is-loading .feedback-layer,.shell.is-loading .mobile-controls{visibility:hidden}@keyframes loading-dot{0%{opacity:.34;transform:translateY(0)}to{opacity:1;transform:translateY(-4px)}}.hud-card{position:absolute;z-index:2;padding:.72rem .9rem}.level-card{top:4.05rem;left:1rem}.level-card span,.level-card small,.help-card span,.help-card strong{display:block}.level-card span,.help-card strong{color:var(--ink);font-weight:800;letter-spacing:.04em;text-transform:uppercase}.level-card small,.help-card span{margin-top:.2rem;color:var(--muted)}.level-card small:first-of-type{color:var(--sage);font-family:var(--font-mono);font-size:.66rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.help-card{right:1rem;bottom:1rem;max-width:13.5rem}.shell.is-playing .level-card{max-width:min(18rem,calc(100% - 2rem));background:#fff7e6e6}.round-card{right:1rem;bottom:1rem;display:none;width:min(23rem,calc(100% - 2rem));background:#fff7e6eb}.round-card strong,.round-card span{display:block}.round-card strong{color:var(--ink);font-weight:800;letter-spacing:.04em;text-transform:uppercase}.round-card>span{margin-top:.3rem;color:var(--muted);line-height:1.35}.round-actions{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:.42rem;margin-top:.72rem}.round-actions .primary-button,.round-actions .secondary-button{min-height:2.34rem;font-size:.72rem}.theme-picker.compact{margin-top:.68rem}.theme-picker.compact .theme-options{grid-template-columns:repeat(4,minmax(0,1fr))}.theme-picker.compact .theme-chip{justify-content:center;min-height:1.95rem;padding:.26rem}.theme-picker.compact .theme-chip span{display:none}.shell.is-between-rounds .round-card{display:block}.shell:not(.is-playing) .round-card{display:none}.cabinet-brand{position:absolute;top:1rem;right:1rem;z-index:2;display:inline-flex;align-items:center;gap:.6rem;padding:.56rem .72rem;border:1px solid var(--hairline);border-radius:13px;background:#fff7e6e0;color:var(--ink);font-size:.76rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.cabinet-brand .brand-mark{width:1.8rem;height:1.8rem;font-size:.78rem}.game-toolbar{position:absolute;top:1rem;left:1rem;z-index:3;display:inline-flex;max-width:calc(100% - 2rem);gap:.42rem}.chrome-button{min-height:2.25rem;border:1px solid var(--hairline);border-radius:11px;background:#fff7e6e0;color:var(--ink);cursor:pointer;font-size:.68rem;font-weight:950;letter-spacing:.1em;padding:0 .68rem;text-transform:uppercase;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.chrome-button:hover{border-color:var(--sage);color:var(--sage)}.screen-panel{position:absolute;z-index:6;top:50%;left:50%;display:grid;width:min(26rem,calc(100% - 2rem));max-height:calc(100% - 2rem);gap:.72rem;overflow:auto;padding:clamp(.9rem,2vw,1.25rem);border:1px solid var(--hairline);border-radius:18px;background:#fff7e6f0;box-shadow:0 30px 90px #15231c9e;transform:translate(-50%,-50%);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.screen-panel strong{color:var(--ink);font-size:1.05rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;font-family:var(--font-display)}.screen-panel>span{color:var(--muted);line-height:1.4}.screen-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.48rem}.screen-actions .primary-button,.screen-actions .secondary-button{min-height:2.5rem;font-size:.72rem}.result-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;margin:0}.result-stats div{border:1px solid var(--hairline);border-radius:13px;background:var(--paper-deep);padding:.58rem}.result-stats dt{color:var(--muted);font-size:.62rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.result-stats dd{margin:.16rem 0 0;color:var(--sage);font-size:1rem;font-weight:800}.settings-row,.settings-range{display:flex;min-height:2.65rem;align-items:center;justify-content:space-between;gap:.75rem;border:1px solid var(--hairline);border-radius:13px;background:var(--paper-deep);color:var(--ink);padding:.58rem .68rem;font-size:.82rem;font-weight:850}.settings-row input{width:1.2rem;height:1.2rem;accent-color:var(--active-accent)}.settings-range{display:grid;grid-template-columns:1fr minmax(8rem,12rem)}.settings-range input{width:100%;accent-color:var(--active-accent)}.settings-range-label{display:flex;align-items:center;justify-content:space-between;gap:.65rem}.settings-range output{min-width:3rem;color:var(--sage);font-variant-numeric:tabular-nums;text-align:right}.settings-row input:focus-visible,.settings-range input:focus-visible{outline:3px solid var(--mint-light);outline-offset:3px}.mobile-controls{position:absolute;left:50%;bottom:max(.85rem,env(safe-area-inset-bottom));z-index:10;display:none;width:min(26rem,calc(100% - 1.4rem));grid-template-columns:1fr 1.2fr 1fr;gap:.55rem;transform:translate(-50%)}.mobile-controls button{min-height:3.35rem;border:1px solid var(--hairline);border-radius:13px;background:#fff7e6eb;color:var(--ink);font-weight:800;letter-spacing:.04em;text-transform:uppercase;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.mobile-controls button:nth-child(2){border-color:transparent;background:var(--sage-enamel);color:var(--ink);box-shadow:0 12px 24px #57b58e42}.mobile-controls button:active{border-color:var(--sage-enamel);background:#57b58e2e}.mobile-controls button:nth-child(2):active{background:color-mix(in srgb,var(--sage-enamel) 82%,var(--ink))}.shell.mobile-controls-disabled .mobile-controls{display:none!important}.guide-strip{display:grid;grid-template-columns:1.45fr 1fr;gap:.75rem;margin-top:.85rem;color:var(--muted);line-height:1.4}.guide-strip h2{margin:0 0 .5rem;color:var(--ink);font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}.guide-strip p{margin:0}.brick-guide{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem}.brick-guide span{display:flex;align-items:center;gap:.35rem;border:1px solid var(--hairline);border-radius:11px;padding:.38rem;background:var(--ivory)}.brick-guide i{width:1rem;height:.62rem;flex:0 0 auto;background:var(--brick);box-shadow:0 0 18px var(--brick)}.brick-guide b{overflow:hidden;color:var(--ink);font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1120px){.shell{grid-template-columns:1fr;grid-template-rows:auto minmax(32rem,68dvh) auto;grid-template-areas:"hero" "game" "hud"}.hero-panel{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:end}.title-block{padding:1.2rem 0 0}h1{max-width:none;font-size:clamp(2.65rem,6vw,5.4rem);line-height:.86}.actions{min-width:12rem}.game-panel{min-height:68dvh}.shell.is-playing .game-panel{min-height:calc(100dvh - 1.5rem)}}@media(max-width:680px){.shell{padding:.65rem}.hero-panel{display:block}.actions,.stat-grid,.guide-strip{grid-template-columns:1fr 1fr}.game-panel{min-height:70dvh}.shell.is-playing .game-panel{min-height:calc(100dvh - 1.3rem)}.game-mount{inset:6.6rem 0 4.85rem;height:auto;min-height:0}.help-card{display:none}h1{font-size:clamp(2.15rem,10vw,3rem);line-height:.9}.level-card{top:4.2rem;right:.75rem;left:.75rem;max-width:none;padding:.62rem .72rem}.brick-guide{grid-template-columns:repeat(2,minmax(0,1fr))}.cabinet-brand{display:none}.game-toolbar{top:.75rem;right:.75rem;left:.75rem;justify-content:space-between}.chrome-button{flex:1;min-width:0;padding:0 .35rem;font-size:.58rem}.screen-actions,.result-stats,.settings-range{grid-template-columns:1fr}.mobile-controls{bottom:max(.75rem,env(safe-area-inset-bottom))}}@media(max-width:460px){.actions,.stat-grid,.guide-strip{grid-template-columns:1fr}}@media(pointer:coarse),(max-width:680px){.mobile-controls{display:grid}}@media(pointer:coarse)and (min-width:681px){.shell.mobile-controls-enabled .game-mount{inset:4.8rem 0 5.25rem;height:auto;min-height:0}.shell.mobile-controls-enabled .round-card{bottom:5.15rem}}@media(pointer:coarse)and (max-height:520px){.shell{padding:.45rem}.game-panel,.shell.is-playing .game-panel{min-height:calc(100dvh - .9rem)}.game-toolbar{top:.55rem;right:.55rem;left:.55rem}.level-card{top:.55rem;right:.55rem;left:min(18.25rem,44vw);max-width:none;padding:.5rem .62rem}.level-card span,.level-card small:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.level-card span{font-size:.82rem}.level-card small:first-of-type{font-size:.54rem}.level-card #power-status{display:none}.shell.mobile-controls-enabled .game-mount{inset:4.55rem 0 4.25rem}.shell.mobile-controls-enabled .round-card{bottom:4.1rem}.mobile-controls{bottom:max(.45rem,env(safe-area-inset-bottom));width:min(22rem,calc(100% - 1rem))}.mobile-controls button{min-height:2.75rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important}}.shell{grid-template-columns:minmax(0,1fr) minmax(220px,250px);grid-template-rows:minmax(0,1fr);grid-template-areas:"game hero";width:100vw;height:100dvh;min-height:100dvh;gap:8px;overflow:hidden;padding:8px}.shell.is-playing{position:fixed;inset:0;z-index:10;grid-template-columns:minmax(0,1fr);grid-template-areas:"game";width:100%;height:100dvh;gap:0;padding:0}.shell.is-playing .hero-panel{display:none}.hero-panel,.hud-card,.screen-panel{border-radius:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.hero-panel{grid-area:hero;gap:16px;overflow-y:auto;padding:16px;background:var(--paper);box-shadow:0 20px 42px -34px #15231c9e}.brand{letter-spacing:0;text-transform:none}.brand-mark,.cabinet-brand .brand-mark{display:block;width:38px;height:38px;border-radius:0;background:transparent}.brand strong{font-family:var(--font-display);font-size:18px;letter-spacing:0}.brand small{font-family:var(--font-mono);font-size:9px;letter-spacing:0;text-transform:uppercase}.title-block{margin-top:auto;padding:8px 0 0}.eyebrow{margin-bottom:8px;font-size:10px;letter-spacing:0}h1{max-width:none;font-size:30px;line-height:1;text-transform:none}.title-block p:last-child{margin:12px 0 0;font-size:13px;line-height:1.5}.actions{grid-template-columns:1fr}.primary-button,.secondary-button,.chrome-button,.mobile-controls button{border-radius:8px;letter-spacing:0;text-transform:none}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary-button svg,.secondary-button svg,.chrome-button svg,.mobile-controls svg{width:16px;height:16px;flex:0 0 auto;stroke-width:2.2}.theme-picker{margin-top:0;font-size:10px;letter-spacing:0}.theme-chip{min-height:34px;border-radius:8px;letter-spacing:0}.theme-chip i{box-shadow:none}.game-panel{grid-area:game;width:100%;height:calc(100dvh - 16px);min-height:0;border:1px solid rgba(21,35,28,.2);border-radius:8px;background:var(--paper-deep);box-shadow:0 20px 44px -32px #15231c6b}.shell.is-playing .game-panel{width:100vw;height:100dvh;border:0;border-radius:0;box-shadow:none}.game-panel:before{display:none}.game-mount{inset:0;min-height:0}.shell.is-playing .hud-card,.shell.is-playing .play-stat-grid div,.shell.is-playing .status-line,.shell.is-playing .chrome-button{border-color:#fbfaf657;background:#fbfaf6c7;box-shadow:0 10px 28px -20px #15231cb8;-webkit-backdrop-filter:blur(12px) saturate(1.12);backdrop-filter:blur(12px) saturate(1.12)}.shell.is-playing .chrome-button:focus-visible,.shell.is-playing .mobile-controls button:focus-visible{outline:3px solid var(--mint-light);outline-offset:2px}.cabinet-brand{top:12px;right:auto;left:12px;border-radius:8px;padding:7px 10px;font-size:10px;letter-spacing:0;text-transform:none}.cabinet-brand .brand-mark{width:28px;height:28px}.game-toolbar{top:12px;right:12px;left:auto}.shell.is-playing .game-toolbar{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}.chrome-button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:6px;padding:0 11px;font-size:11px}.level-card{top:62px;left:12px;width:min(310px,calc(50% - 18px));padding:9px 11px}.shell.is-playing .level-card{top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left))}.level-card span{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.level-card small:first-of-type{overflow:hidden;font-size:9px;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.level-card #power-status{display:inline-flex;margin-top:5px;border-radius:999px;padding:3px 7px;color:var(--ink);background:#fff7e6;font-size:9px;font-weight:800}.play-stat-grid{position:absolute;z-index:3;top:62px;right:12px;display:grid;width:min(390px,calc(50% - 18px));grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0;pointer-events:none}.shell.is-playing .play-stat-grid{top:calc(max(12px,env(safe-area-inset-top)) + 48px);right:max(12px,env(safe-area-inset-right))}.play-stat-grid div{min-width:0;border-radius:6px;padding:6px 7px;background:#fbfaf6f5}.play-stat-grid .secondary-stat{display:none}.play-stat-grid dt{overflow:hidden;font-size:8px;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.play-stat-grid dd{margin-top:2px;color:var(--ink);font-size:13px}.status-line{position:absolute;z-index:3;right:50%;bottom:12px;max-width:min(460px,calc(100% - 32px));min-height:0;border:1px solid var(--hairline);border-left:4px solid var(--theme-accent);border-radius:8px;padding:8px 11px;color:var(--ink-soft);background:#fbfaf6f5;box-shadow:0 14px 28px -24px #15231c7a;font-size:11px;line-height:1.35;pointer-events:none;transform:translate(50%)}.shell.is-playing .status-line{display:none}.shell:not(.is-playing) .status-line{right:auto;bottom:16px;left:16px;max-width:min(360px,calc(100% - 32px));transform:none}.shell.is-playing .play-stat-grid{top:max(12px,env(safe-area-inset-top));right:calc(max(12px,env(safe-area-inset-right)) + 370px);width:min(380px,calc(100% - 760px))}.round-card{right:12px;bottom:60px;border-radius:8px}.screen-panel{width:min(440px,calc(100% - 24px));max-height:calc(100% - 24px);gap:12px;border-radius:8px;padding:22px;background:var(--paper);box-shadow:0 0 0 100vmax #15231c85,0 28px 70px -34px #15231ccc;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.screen-panel:before{position:absolute;inset:0 auto 0 0;width:5px;background:var(--sage);content:""}.result-screen:before{background:var(--reward-sun)}.shell.is-paused .round-card{display:none}.shell.has-result .round-card{display:none!important}.screen-heading{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px}.screen-heading img{width:46px;height:46px}.screen-heading small,.screen-heading strong{display:block}.screen-heading small{color:var(--sage-enamel);font-family:var(--font-mono);font-size:9px;font-weight:700;text-transform:uppercase}.screen-heading strong{margin-top:3px;color:var(--ink);font-family:var(--font-display);font-size:30px;letter-spacing:0;line-height:1;text-transform:none}.screen-actions{gap:8px}.screen-actions .primary-button,.screen-actions .secondary-button{min-height:44px;font-size:13px}.result-stats div,.settings-row,.settings-range{min-height:44px;border-radius:8px;background:var(--ivory)}.mobile-controls{bottom:max(10px,env(safe-area-inset-bottom));width:min(360px,calc(100% - 20px));gap:8px}.mobile-controls button{min-height:50px;border-radius:8px}.mobile-controls button:disabled{cursor:default;filter:saturate(.45);opacity:.46}.mobile-controls button:first-child svg,.mobile-controls button:last-child svg{width:22px;height:22px}@media(max-width:760px){body{overflow-x:hidden}.shell,.shell.is-playing{width:100%;height:auto;min-height:100dvh;grid-template-columns:minmax(0,1fr);grid-template-rows:calc(100dvh - 16px) auto;grid-template-areas:"game" "hero";overflow:visible}.shell.is-playing{position:fixed;inset:0;width:100%;height:100dvh;grid-template-rows:minmax(0,1fr);grid-template-areas:"game";overflow:hidden;padding:0}.hero-panel{display:flex;min-height:auto}.shell.is-playing .hero-panel{display:none}.shell.is-playing .hud-card,.shell.is-playing .play-stat-grid div,.shell.is-playing .chrome-button,.shell.is-playing .cabinet-brand{-webkit-backdrop-filter:none;backdrop-filter:none}.game-panel{height:calc(100dvh - 16px);min-height:0}.shell.is-playing .game-panel{width:100%;height:100dvh}.game-mount,.shell.mobile-controls-enabled .game-mount{inset:188px 0 68px;height:auto}.shell.is-playing .game-mount,.shell.is-playing.mobile-controls-enabled .game-mount{inset:104px 0 58px}.cabinet-brand{display:flex;top:10px;left:10px}.cabinet-brand span:last-child{display:none}.game-toolbar{top:10px;right:10px;left:52px;justify-content:flex-end}.shell.is-playing .game-toolbar{top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));left:auto;gap:6px}.chrome-button{flex:0 1 auto;min-width:42px;padding:0 8px;font-size:9px}.shell.is-playing .chrome-button{width:40px;min-height:40px;flex:0 0 40px;padding:0}.shell.is-playing .chrome-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.level-card,.shell.is-playing .level-card{top:58px;right:10px;left:10px;width:auto;max-width:none}.shell.is-playing .level-card{top:max(8px,env(safe-area-inset-top));right:calc(max(8px,env(safe-area-inset-right)) + 138px);left:max(8px,env(safe-area-inset-left));min-width:0;min-height:40px;padding:6px 9px}.shell.is-playing .level-card span,.shell.is-playing .level-card small:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell.is-playing .level-card #power-status{display:none}.play-stat-grid{top:136px;right:10px;left:10px;width:auto}.shell.is-playing .play-stat-grid{top:calc(max(8px,env(safe-area-inset-top)) + 48px);right:max(8px,env(safe-area-inset-right));left:max(8px,env(safe-area-inset-left));width:auto;gap:3px}.shell.is-playing .play-stat-grid div{padding:4px 5px}.status-line{inset:184px 10px auto;max-width:calc(100% - 20px);transform:none}.shell:not(.is-playing) .status-line{inset:176px 10px auto;width:auto;max-width:none}.shell.is-playing .status-line{display:none}.round-card,.shell.mobile-controls-enabled .round-card{right:10px;bottom:70px;width:calc(100% - 20px)}.shell.is-playing .round-card,.shell.is-playing.mobile-controls-enabled .round-card{right:max(8px,env(safe-area-inset-right));bottom:calc(max(8px,env(safe-area-inset-bottom)) + 58px);left:max(8px,env(safe-area-inset-left));width:auto}.screen-panel{width:min(440px,calc(100% - 20px));padding:18px}.screen-actions{grid-template-columns:minmax(0,1fr)}.result-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-range{grid-template-columns:minmax(0,1fr)}h1{font-size:32px}}@media(max-width:380px){.shell.is-playing .level-card span{font-size:9px;letter-spacing:.02em}}@media(orientation:landscape)and (max-height:520px){.shell,.shell.is-playing{height:100dvh;min-height:100dvh;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"game";overflow:hidden;padding:6px}.shell.is-playing{padding:0}.hero-panel{display:none}.game-panel{height:calc(100dvh - 12px)}.shell.is-playing .game-panel{height:100dvh}.game-mount,.shell.mobile-controls-enabled .game-mount{inset:54px 0 56px;height:auto;min-height:0}.shell.is-playing .game-mount,.shell.is-playing.mobile-controls-enabled .game-mount{inset:52px 0 0}.cabinet-brand{top:8px;left:8px}.game-toolbar{top:8px;right:8px;left:auto}.shell.is-playing .game-toolbar{top:max(6px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));gap:6px}.shell.is-playing .chrome-button{width:42px;min-width:42px;min-height:38px;flex:0 0 42px;padding:0}.shell.is-playing .chrome-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.level-card,.shell.is-playing .level-card{top:8px;left:58px;width:min(250px,36vw);padding:7px 9px}.shell.is-playing .level-card{top:max(6px,env(safe-area-inset-top));right:auto;left:max(8px,env(safe-area-inset-left));width:min(250px,31vw);min-height:40px}.level-card span,.shell.is-playing .level-card span{font-size:10px;letter-spacing:.02em}.level-card #power-status,.status-line{display:none}.shell.is-playing .play-stat-grid{top:max(6px,env(safe-area-inset-top));right:calc(max(8px,env(safe-area-inset-right)) + 138px);left:calc(max(8px,env(safe-area-inset-left)) + min(250px,31vw) + 8px);width:auto}.shell.is-playing .play-stat-grid div{padding:4px}.mobile-controls{display:grid;right:8px;bottom:8px;left:auto;width:min(300px,44vw);transform:none}.shell.is-playing .mobile-controls{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom))}.mobile-controls button{min-height:44px}.round-card,.shell.mobile-controls-enabled .round-card{right:auto;bottom:8px;left:8px;width:min(360px,48vw)}.shell.is-playing .round-card,.shell.is-playing.mobile-controls-enabled .round-card{right:auto;bottom:max(8px,env(safe-area-inset-bottom));left:max(8px,env(safe-area-inset-left));width:min(360px,48vw)}}@media(min-width:761px)and (min-height:521px){.shell{grid-template-columns:minmax(0,1fr) clamp(168px,12.5vw,188px)}.hero-panel{gap:10px;padding:12px;border-color:#15231c1a;background:#fbfaf6b8;box-shadow:0 14px 32px -30px #15231c6b;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.hero-panel .brand{gap:8px}.hero-panel .brand-mark{width:30px;height:30px}.hero-panel .brand strong{font-size:15px}.hero-panel .brand small,.hero-panel .eyebrow,.hero-panel .theme-picker{font-size:8px}.hero-panel .title-block{padding-top:4px}.hero-panel .eyebrow{margin-bottom:6px}.hero-panel h1{font-size:23px;line-height:1.04}.hero-panel .title-block p:last-child{margin-top:8px;font-size:11px;line-height:1.42}.hero-panel .primary-button,.hero-panel .secondary-button{min-height:38px;padding-inline:9px;font-size:11px}.hero-panel .theme-chip{min-height:30px;padding-inline:7px;font-size:9px}.cabinet-brand{top:10px;left:10px;padding:5px 8px;border-color:#fbfaf647;background:#fbfaf69e;box-shadow:none;font-size:9px}.cabinet-brand .brand-mark{width:24px;height:24px}.game-toolbar{top:10px;right:10px}.chrome-button{min-height:32px;padding-inline:8px;border-color:#fbfaf647;background:#fbfaf69e;box-shadow:none;-webkit-backdrop-filter:blur(8px) saturate(1.05);backdrop-filter:blur(8px) saturate(1.05);font-size:10px}.level-card{top:50px;left:10px;width:min(278px,calc(50% - 16px));padding:6px 9px;border-color:#fbfaf647;border-left-width:2px;background:#fbfaf69e;box-shadow:none;-webkit-backdrop-filter:blur(8px) saturate(1.05);backdrop-filter:blur(8px) saturate(1.05)}.level-card span{font-size:11px}.level-card small:first-of-type,.level-card #power-status{font-size:8px}.level-card #power-status{margin-top:3px;padding:2px 6px}.play-stat-grid{top:50px;right:10px;width:min(338px,calc(50% - 16px));gap:3px}.play-stat-grid div{padding:4px 6px;border-color:#fbfaf647;background:#fbfaf69e;box-shadow:none;-webkit-backdrop-filter:blur(8px) saturate(1.05);backdrop-filter:blur(8px) saturate(1.05)}.play-stat-grid dt{font-size:7px}.play-stat-grid dd{margin-top:1px;font-size:12px;text-shadow:none}}@media(orientation:landscape)and (max-height:520px)and (max-width:700px){.shell.is-playing .play-stat-grid div:nth-child(7),.shell.is-playing .play-stat-grid div:nth-child(8){display:none}}@media(orientation:landscape)and (max-height:520px){.shell:not(.is-playing) .play-stat-grid{display:none}.shell.is-playing.mobile-controls-enabled .game-mount{inset:52px 0}}.shell.is-playing.is-between-rounds .round-card{right:auto;bottom:max(8px,env(safe-area-inset-bottom));left:50%;width:min(460px,calc(100% - 16px));padding:6px;transform:translate(-50%)}.shell.is-playing.is-between-rounds .round-card>strong,.shell.is-playing.is-between-rounds .round-card>span,.shell.is-playing.is-between-rounds .round-card>.theme-picker{display:none}.shell.is-playing.is-between-rounds .round-card .round-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}.shell.is-playing.is-between-rounds .round-card .round-actions button{min-height:42px}@media(max-width:760px){.shell.is-playing.mobile-controls-enabled .round-card{display:none}}.hud-card,.play-stat-grid div,.chrome-button,.round-card{border:1px solid rgba(251,250,246,.62);background:#fbfaf6db;box-shadow:0 10px 24px -18px #15231c9e,inset 0 1px #fff7e6c7;-webkit-backdrop-filter:blur(14px) saturate(1.14);backdrop-filter:blur(14px) saturate(1.14)}.level-card{border-left:4px solid var(--theme-accent)}.level-card span,.play-stat-grid dd,.round-card strong{text-shadow:0 1px 0 rgba(255,247,230,.62)}.play-stat-grid div{transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.play-stat-grid dd{font-variant-numeric:tabular-nums;transition:color .16s ease,transform .16s ease}.chrome-button{transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease}.chrome-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--theme-accent) 42%,white);background:#fff7e6f0;box-shadow:0 14px 28px -20px #15231cb8,inset 0 1px #fff;transform:translateY(-1px)}.screen-panel:not([hidden]){animation:premium-panel-in .22s cubic-bezier(.2,.82,.25,1) both}.shell.is-clear .play-stat-grid div{border-color:#57b58e6b;background:#b9e8cdeb}.shell.is-life-lost .play-stat-grid div:nth-child(3){border-color:#57b58e85;background:#fff7e6f0}.score-pop{filter:drop-shadow(0 8px 12px rgba(21,35,28,.24))}.score-pop strong{font-size:clamp(1.05rem,1.7vw,1.55rem)}.score-pop span{padding:.2rem .44rem;font-size:.56rem}@keyframes premium-panel-in{0%{opacity:0;transform:translate(-50%,calc(-50% + 10px)) scale(.985)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@media(max-width:900px),(pointer:coarse){.hud-card,.play-stat-grid div,.chrome-button,.round-card{-webkit-backdrop-filter:blur(9px) saturate(1.08);backdrop-filter:blur(9px) saturate(1.08);box-shadow:0 8px 20px -18px #15231c8f,inset 0 1px #fff7e6b8}}@media(prefers-reduced-motion:reduce){.screen-panel:not([hidden]),.play-stat-grid div,.play-stat-grid dd,.chrome-button{animation:none;transition:none}.loading-indicator span{animation:none}.loading-screen{transition:none}}@media(orientation:landscape)and (max-height:520px){.loading-screen{gap:6px;padding:.65rem}.loading-screen>img{width:34px;height:34px}.loading-board{width:min(172px,42vw);border-width:5px}.loading-copy>span{font-size:.6rem}.loading-indicator span{width:5px;height:5px}}@media(min-width:761px)and (max-width:1120px)and (min-height:521px){.hero-panel{display:flex;grid-template-columns:none}}@media(max-width:760px){.shell:not(.is-playing) .game-mount,.shell:not(.is-playing).mobile-controls-enabled .game-mount{inset:104px 0 60px}.shell.is-playing .game-mount,.shell.is-playing.mobile-controls-enabled .game-mount{inset:0}}@media(orientation:landscape)and (max-height:520px){.game-mount,.shell.mobile-controls-enabled .game-mount,.shell.is-playing .game-mount,.shell.is-playing.mobile-controls-enabled .game-mount{inset:0}}@keyframes serve-ready-cue{0%{opacity:.72;transform:translateY(6px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.shell.is-serve-ready.is-between-rounds .round-card .round-actions{grid-template-columns:minmax(0,1fr)}.shell.is-serve-ready .round-card [data-round-action]:not([data-round-action=launch]){display:none}.shell.is-serve-ready .round-card [data-round-action=launch]{animation:serve-ready-cue .19s cubic-bezier(.22,1,.36,1)}.round-card [data-round-action=launch]:focus-visible{outline:3px solid var(--mint-light);outline-offset:2px}@media(pointer:coarse),(max-width:760px),(orientation:landscape)and (max-height:520px){.shell #launch-button{display:none}.shell.mobile-controls-disabled:not(.is-playing).is-between-rounds .round-card{right:auto;bottom:max(8px,env(safe-area-inset-bottom));left:50%;display:block;width:min(460px,calc(100% - 16px));padding:6px;transform:translate(-50%)}.shell.mobile-controls-disabled:not(.is-playing).is-between-rounds .round-card>strong,.shell.mobile-controls-disabled:not(.is-playing).is-between-rounds .round-card>span,.shell.mobile-controls-disabled:not(.is-playing).is-between-rounds .round-card>.theme-picker{display:none}.shell.mobile-controls-disabled:not(.is-playing).is-between-rounds .round-card .round-actions{grid-template-columns:minmax(0,1fr);gap:6px;margin:0}.shell.mobile-controls-disabled:not(.is-playing).is-between-rounds .round-card [data-round-action]:not([data-round-action=launch]){display:none}.shell.mobile-controls-disabled:not(.is-playing).is-between-rounds .round-card .round-actions button{min-height:42px}.shell:not(.is-playing) .status-line{top:auto;right:auto;bottom:calc(max(8px,env(safe-area-inset-bottom)) + 62px);left:max(8px,env(safe-area-inset-left));width:auto;max-width:min(360px,calc(100% - 16px));transform:none}}@media(pointer:coarse),(max-width:680px),(orientation:landscape)and (max-height:520px){.shell.mobile-controls-enabled.is-between-rounds .round-card{display:none}.shell.mobile-controls-enabled.is-serve-ready .round-card [data-round-action=launch]{animation:none}.shell.mobile-controls-enabled.is-serve-ready #mobile-launch-button{animation:serve-ready-cue .19s cubic-bezier(.22,1,.36,1)}}@media(orientation:landscape)and (max-height:520px){.shell:not(.is-playing) .status-line{top:auto;right:auto;bottom:max(8px,env(safe-area-inset-bottom));left:max(8px,env(safe-area-inset-left));display:block;width:min(360px,44vw);max-width:44vw;transform:none}.shell.mobile-controls-disabled:not(.is-playing) .status-line{bottom:calc(max(8px,env(safe-area-inset-bottom)) + 58px)}.shell.mobile-controls-disabled:not(.is-playing).is-between-rounds .round-card{right:auto;bottom:max(8px,env(safe-area-inset-bottom));left:max(8px,env(safe-area-inset-left));width:min(360px,44vw);transform:none}}.shell.is-paused .round-card,.shell.has-result .round-card{display:none!important}@media(prefers-reduced-motion:reduce){.shell.is-serve-ready .round-card [data-round-action=launch],.shell.mobile-controls-enabled.is-serve-ready #mobile-launch-button{animation-duration:1ms!important;opacity:1!important;transform:none!important}}.play-hud{display:contents}.primary-button,.secondary-button,.mobile-controls button{border-radius:12px;box-shadow:0 4px #15231c1f,0 10px 20px -15px #15231c7a,inset 0 1px #fff7e6d1}.primary-button{border:1px solid color-mix(in srgb,var(--action-orange) 72%,var(--ink));background:linear-gradient(180deg,color-mix(in srgb,var(--action-orange) 86%,var(--ivory)) 0%,var(--action-orange) 72%,color-mix(in srgb,var(--action-orange) 88%,var(--ink)) 100%)}.secondary-button,.mobile-controls button:not(#mobile-launch-button){border:1px solid var(--line-strong);background:linear-gradient(180deg,#fff7e6,#fbfaf6 72%,#fff7e6)}.primary-button:active:not(:disabled),.secondary-button:active:not(:disabled),.mobile-controls button:active:not(:disabled){box-shadow:0 1px #15231c1f,0 5px 12px -10px #15231c70,inset 0 2px 4px #15231c1a;transform:translateY(3px)}#mobile-launch-button{border:1px solid color-mix(in srgb,var(--action-orange) 72%,var(--ink));background:linear-gradient(180deg,color-mix(in srgb,var(--action-orange) 86%,var(--ivory)) 0%,var(--action-orange) 72%,color-mix(in srgb,var(--action-orange) 88%,var(--ink)) 100%)}.round-card,.screen-panel{border-color:#fbfaf6f0;background:linear-gradient(155deg,#fff7e6fa,#fbfaf6f7)}button svg,.chrome-button svg,.mobile-controls svg{display:block;flex:0 0 auto;pointer-events:none}@media(max-width:900px),(pointer:coarse){.shell.is-playing .level-card,.shell.is-playing .game-toolbar,.shell.is-playing .play-stat-grid,.shell.is-playing .play-stat-grid div,.shell.is-playing .chrome-button,.shell.is-playing .round-card,.mobile-controls button{-webkit-backdrop-filter:none;backdrop-filter:none}.mobile-controls button{min-height:52px}}@media(max-width:900px)and (orientation:portrait),(orientation:landscape)and (max-height:520px){.shell.is-playing .play-hud{position:absolute;right:max(8px,env(safe-area-inset-right));left:max(8px,env(safe-area-inset-left));z-index:4;display:grid;gap:6px;pointer-events:none}.shell.is-playing .level-card,.shell.is-playing .game-toolbar,.shell.is-playing .play-stat-grid{position:relative;inset:auto;width:auto;max-width:none;min-height:50px;margin:0;border:1px solid rgba(251,250,246,.96);border-radius:13px;background:linear-gradient(155deg,#fff7e6f5,#fbfaf6f0);box-shadow:0 4px #15231c1a,0 10px 20px -16px #15231c80,inset 0 1px #fff7e6eb}.shell.is-playing .level-card{grid-area:level;min-width:0;border-left:4px solid var(--theme-accent);padding:7px 10px}.shell.is-playing .level-card span{font-size:11px;letter-spacing:.02em;line-height:1.12;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}.shell.is-playing .level-card small:first-of-type{margin-top:4px;font-size:9px;line-height:1}.shell.is-playing .game-toolbar{grid-area:tools;display:grid;grid-template-columns:repeat(4,44px);gap:0;padding:3px;pointer-events:auto}.shell.is-playing .game-toolbar .chrome-button{position:relative;width:44px;min-width:44px;min-height:44px;flex:0 0 44px;border:0;border-radius:9px;padding:0;background:transparent;box-shadow:none;line-height:1}.shell.is-playing .game-toolbar .chrome-button+.chrome-button{border-left:1px solid rgba(251,250,246,.9);border-top-left-radius:0;border-bottom-left-radius:0}.shell.is-playing .game-toolbar .chrome-button svg{width:19px;height:19px;stroke-width:2.15}.shell.is-playing .game-toolbar .chrome-button span{display:none}.shell.is-playing .play-stat-grid{grid-area:stats;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:3px;pointer-events:none}.shell.is-playing .play-stat-grid div{display:block;min-width:0;min-height:44px;border:0;border-radius:8px;padding:5px 7px;background:transparent;box-shadow:none}.shell.is-playing .play-stat-grid .secondary-stat{display:none}.shell.is-playing .play-stat-grid div:not(.secondary-stat):not(:nth-child(2)){border-left:1px solid rgba(251,250,246,.9);border-top-left-radius:0;border-bottom-left-radius:0}.shell.is-playing .play-stat-grid dt{font-size:9px;line-height:1}.shell.is-playing .play-stat-grid dd{margin-top:4px;font-size:13px;line-height:1}}@media(max-width:900px)and (orientation:portrait){.shell.is-playing .play-hud{top:max(8px,env(safe-area-inset-top));grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"level tools" "stats stats"}}@media(max-width:380px)and (orientation:portrait){.shell.is-playing .play-hud{top:max(4px,env(safe-area-inset-top));grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"level level" "stats tools"}.shell.is-playing .play-stat-grid{min-height:46px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0}.shell.is-playing .level-card{min-height:42px;padding:5px 8px}.shell.is-playing .game-toolbar{min-height:46px;padding:0}.shell.is-playing .play-stat-grid div:nth-child(7),.shell.is-playing .play-stat-grid div:nth-child(8){display:none}.shell.is-playing .play-stat-grid div{padding-inline:5px}}@media(orientation:landscape)and (max-height:520px){.shell.is-playing .play-hud{top:max(6px,env(safe-area-inset-top));grid-template-columns:clamp(168px,31vw,250px) minmax(0,1fr) auto;grid-template-areas:"level stats tools"}.shell.is-playing .level-card{padding:7px 9px}.level-card span,.shell.is-playing .level-card span{font-size:10px;letter-spacing:.02em;line-height:1.08}.shell.is-playing .level-card small:first-of-type{font-size:8px}.shell.is-playing .play-stat-grid div{padding:5px 6px}}@media(orientation:landscape)and (max-height:520px)and (max-width:700px){.level-card span,.shell.is-playing .level-card span{font-size:10px;letter-spacing:.02em}.shell.is-playing .play-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shell.is-playing .play-stat-grid div:nth-child(7),.shell.is-playing .play-stat-grid div:nth-child(8){display:none}}@media(hover:hover){.shell.is-playing .game-toolbar .chrome-button:hover:not(:disabled){background:color-mix(in srgb,var(--theme-accent) 12%,white);box-shadow:none;transform:none}}.launch-affordance{display:grid;gap:5px}.launch-cue{min-height:1.1em;color:var(--muted);font-size:9px;font-weight:750;line-height:1.25;text-align:center}#launch-button{min-height:42px;background:linear-gradient(180deg,#57b58e 0% 70%,#57b58e)}#launch-button:disabled{color:#15231cc7;cursor:default;filter:saturate(.86);opacity:.72}.hud-card,.play-stat-grid div,.chrome-button,.round-card{-webkit-backdrop-filter:none;backdrop-filter:none}.shell.is-playing .hud-card,.shell.is-playing .play-stat-grid div,.shell.is-playing .chrome-button{border-color:#fff7e68f;background:#fbfaf6ad;box-shadow:0 8px 18px -17px #15231c85}.shell.is-playing .level-card{border-left-color:var(--sage-enamel)}.game-toolbar .chrome-button{min-width:44px;min-height:44px}@media(min-width:761px)and (min-height:521px){.play-stat-grid{margin-top:9px}.hero-panel .launch-affordance .primary-button{min-height:42px}.hero-panel .launch-cue{font-size:8px}.play-stat-grid div{background:#fbfaf694}}@media(max-width:760px){.launch-cue{font-size:10px}}@media(max-width:760px)and (orientation:portrait){.level-card,.play-stat-grid{margin-top:2px}}:root{--forest: #174a34;--moss: #6f8061;--mint: #b9e8cd;--ivory: #fff7e6;--panel: rgba(251, 250, 246, .96)}body{background:var(--stage-sage)}.shell:not(.is-playing){grid-template-columns:minmax(0,1fr);grid-template-areas:"game"}.shell:not(.is-playing) .game-panel{width:100%}.shell:not(.is-playing) .hero-panel{position:absolute;top:50%;right:18px;z-index:8;width:min(320px,calc(100% - 36px));max-height:calc(100dvh - 36px);border:1px solid rgba(21,35,28,.18);background:var(--panel);box-shadow:0 22px 50px -30px #15231c6b;transform:translateY(-50%)}.game-toolbar{z-index:12}.shell:has(#settings-screen:not([hidden])) .hero-panel,.shell:has(#pause-screen:not([hidden])) .hero-panel,.shell:has(#result-screen:not([hidden])) .hero-panel{visibility:hidden;pointer-events:none}.hero-panel .title-block{margin-top:0;padding:4px 0 0}.onboarding-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.onboarding-strip>div{display:grid;min-width:0;justify-items:center;gap:5px;border:1px solid rgba(21,35,28,.14);border-radius:10px;padding:8px 4px;background:var(--paper);text-align:center}.onboarding-strip svg{display:none}.onboarding-strip>div:before{width:38px;height:34px;content:"";background-image:url(/assets/gold-level/onboarding-atlas.png);background-repeat:no-repeat;background-size:400% 100%;background-position:0 50%;filter:drop-shadow(0 2px 2px rgba(21,35,28,.14))}.onboarding-strip>div:nth-child(2):before{background-position:33.333% 50%}.onboarding-strip>div:nth-child(3):before{background-position:66.666% 50%}.onboarding-strip>div:nth-child(4):before{background-position:100% 50%}.onboarding-strip svg{width:25px;height:25px;fill:none;stroke:var(--sage);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.onboarding-strip span,.onboarding-strip strong,.onboarding-strip small{display:block;min-width:0}#power-status{display:inline-flex;align-items:center;gap:5px}#power-status:before{display:none;width:24px;height:24px;flex:0 0 24px;content:"";background-image:url(/assets/gold-level/power-atlas.png);background-repeat:no-repeat;background-size:300% 200%;filter:drop-shadow(0 1px 2px rgba(21,35,28,.18))}#power-status:not([data-power=ready]):before{display:block}#power-status[data-power=big]:before{background-position:0 0}#power-status[data-power=multi]:before{background-position:50% 0}#power-status[data-power=slow]:before{background-position:100% 0}#power-status[data-power=life]:before{background-position:0 100%}#power-status[data-power=pierce]:before{background-position:50% 100%}#power-status[data-power=blast]:before{background-position:100% 100%}body{background-color:var(--stage-sage);background-image:url(/assets/gold-level/sector-serve-school.jpg);background-position:center;background-size:cover}.onboarding-strip strong{color:var(--ink);font-size:10px}.onboarding-strip small{margin-top:2px;color:var(--moss);font-size:8px}.level-goal{margin:0;border-left:4px solid var(--mint);padding:7px 9px;color:var(--forest);background:var(--paper);font-size:11px;font-weight:750;line-height:1.35}.primary-button,#launch-button,#mobile-launch-button{border-color:color-mix(in srgb,var(--action-orange) 74%,var(--ink));background:var(--action-orange);color:var(--ink)}.secondary-button,.mobile-controls button:not(#mobile-launch-button),.round-card,.screen-panel,.shell.is-playing .level-card,.shell.is-playing .play-stat-grid,.shell.is-playing .game-toolbar{background:var(--paper)}.return-link{display:inline-flex;min-height:3rem;align-items:center;justify-content:center;text-decoration:none}.game-panel,.loading-screen{background:var(--paper)}.shell.is-playing .hud-card,.shell.is-playing .play-stat-grid div,.shell.is-playing .chrome-button{border-color:#15231c29;background:#fbfaf6d1}.score-pop span,.result-screen:before{background:var(--reward-sun)}.result-screen.is-loss:before{background:var(--action-orange)}@media(max-width:760px){body{overflow:hidden}.shell:not(.is-playing){position:fixed;inset:0;height:100dvh;min-height:0;grid-template-rows:minmax(0,1fr);overflow:hidden}.shell:not(.is-playing) .hero-panel{top:max(128px,calc(env(safe-area-inset-top) + 120px));right:8px;left:8px;width:auto;max-height:min(calc(100dvh - 136px),440px);overflow:hidden;padding:12px;transform:none}.hero-panel .title-block p:last-child{display:none}.hero-panel .brand small,.hero-panel>.theme-picker{display:none}.shell:not(.is-playing) .hero-panel .actions,.shell:not(.is-playing) .board-select{display:none}.hero-panel h1{font-size:24px}}@media(orientation:landscape)and (max-height:520px){.shell:not(.is-playing) .hero-panel{inset:64px 6px 6px auto;width:min(300px,43vw);max-height:none;transform:none}.shell:not(.is-playing) .onboarding-strip,.shell:not(.is-playing) .level-goal,.shell:not(.is-playing) .board-select,.shell:not(.is-playing) .theme-picker{display:none}}@media(max-width:380px)and (max-height:650px)and (orientation:portrait){.shell:not(.is-playing) .hero-panel{top:max(70px,calc(env(safe-area-inset-top) + 62px));bottom:auto;max-height:calc(100dvh - 140px);overflow:hidden;scrollbar-width:none}.shell:not(.is-playing) .hero-panel::-webkit-scrollbar{display:none}.shell:not(.is-playing) .hero-panel .actions,.shell:not(.is-playing) .board-select{display:none}.shell:not(.is-playing) .onboarding-strip>div{gap:2px;padding:4px 2px}.shell:not(.is-playing) .onboarding-strip>div:before{width:28px;height:24px}.shell:not(.is-playing) .onboarding-strip small{display:none}.shell:not(.is-playing) .level-goal{padding-block:5px}}@media(max-width:380px)and (orientation:portrait){.shell.is-playing .play-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shell.is-playing .play-stat-grid div:nth-child(7),.shell.is-playing .play-stat-grid div:nth-child(8){display:none}.shell.is-playing .play-stat-grid dt{overflow:visible;font-size:7px;text-overflow:clip}}@media(max-width:760px){.shell:not(.is-playing) .hero-panel{pointer-events:none}.shell:not(.is-playing) .hero-panel :is(button,a,select,input,label){pointer-events:auto}}
