:root{font-family:Inter,Segoe UI,system-ui,sans-serif;color:#deddd4;background:#10161b;font-synthesis:none;color-scheme:dark;--muted: #a4adb1;--accent: #cfaa67;--edge: #344149;--panel: #1b242b}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,select{min-height:44px;border-radius:10px;border:1px solid #3b484f;color:inherit;background:#232e35;padding:10px 14px}button{cursor:pointer;transition:background .15s,border-color .15s,transform .15s}button:hover{background:#30404a;border-color:#75818a}button:active{transform:translateY(1px)}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{opacity:.45;cursor:default}.primary{background:#c5a164;color:#171b1c;border-color:#c5a164;font-weight:750}.primary:hover{background:#d4b77e;border-color:#d4b77e}.quiet{background:transparent}.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.2em;color:#b29b74}.wordmark{font-weight:950;letter-spacing:-.075em;line-height:.95;color:#d2ae6e;font-size:clamp(66px,10vw,112px);text-shadow:0 5px 0 #574837,0 12px 24px #0004;transform:rotate(-3deg);margin:16px 0 32px}.brand-small{font-size:24px;font-weight:900;letter-spacing:-1.5px;color:#ceab70}.icon{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px;flex-shrink:0}.icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.actions{display:flex;gap:6px;align-items:center}.mobile-context{display:none}.pill{border:1px solid #485244;padding:5px 9px;border-radius:20px;font-size:11px;color:#d5be87;display:inline-block}.hidden,[hidden]{display:none!important}#home{min-height:100dvh;background:radial-gradient(ellipse at 68% 36%,#27343b88,transparent 55%),linear-gradient(135deg,#151d23,#0e1419);padding:28px clamp(20px,6vw,100px)}.home-top{max-width:1180px;margin:auto;display:flex;justify-content:space-between;align-items:center}.home-main{max-width:1000px;min-height:calc(100dvh - 130px);margin:auto;display:grid;grid-template-columns:1.1fr 1fr;gap:65px;align-items:center}.home-copy>p{max-width:390px;line-height:1.7;color:#b7bdbd}.setup{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:30px}.mode-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:25px}.mode-tabs button{font-size:12px;padding:9px 5px}.mode-tabs button[aria-pressed=true]{color:#dec48d;border-color:#b2935f;background:#302e28}.mode-config{width:100%;font-size:12px;margin-top:8px}.puzzle-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.puzzle-grid button{padding:8px 3px;min-height:62px}.puzzle-grid span{display:block;font-weight:750;font-size:17px}.puzzle-grid small{font-size:9px;display:block;line-height:1.3;margin-top:4px;overflow-wrap:anywhere}.setting-row input[type=number]{width:85px;min-height:44px;border-radius:8px;padding:8px;background:#121b22;color:#ddd5c4;border:1px solid #46555e}.setup label{display:grid;gap:8px;font-size:12px;color:var(--muted)}.setup select{width:100%}.home-start{width:100%;margin-top:14px;min-height:52px}.home-secondary{display:flex;gap:8px;margin-top:10px}.home-secondary button{flex:1}.home-best{font-size:13px;line-height:1.7;color:var(--muted);margin:14px 0}.home-art{position:relative;display:grid;place-items:center;min-height:400px}.home-art:before{content:"";position:absolute;width:310px;height:140px;border-radius:50%;background:#0005;bottom:45px;filter:blur(22px)}.toy{width:128px;height:128px;position:absolute;display:grid;place-items:center;box-shadow:inset 0 8px 10px #ffffff15,inset 0 -12px 14px #0004,0 16px 25px #0006;border:3px solid #ffffff15;font-size:40px;font-weight:900;color:#202a2a;letter-spacing:7px}.toy:after{content:"⌣";position:absolute;top:58px;font-size:36px}.toy.chip{background:#b89052;border-radius:22px;transform:translate(-58px,34px) rotate(-12deg);z-index:3}.toy.gum{background:#639983;border-radius:46% 40% 48% 35%;transform:translate(76px,-48px) rotate(16deg);z-index:2}.toy.rivet{background:#64869e;clip-path:polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%);transform:translate(83px,100px) rotate(8deg);z-index:1}.art-caption{position:absolute;bottom:-10px;text-align:center;color:#87959d;font-size:12px;letter-spacing:.08em}.home-foot{font-size:11px;color:#87959d;max-width:1180px;margin:auto;display:flex;justify-content:space-between;gap:12px}#game{position:fixed;left:0;top:0;width:100%;height:100dvh;overflow:hidden;background:radial-gradient(ellipse at 40% 50%,#1c2930,#10161b 75%);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}#play-layout{height:100%;display:flex;align-items:center;justify-content:center;gap:16px;padding:16px}.stage-slot{position:relative;flex:none;overflow:hidden;border-radius:14px;box-shadow:0 20px 60px #0005;outline:1px solid #465157;touch-action:auto}.stage-slot canvas{display:block;width:100%;height:100%}.stage-label{position:absolute;z-index:3;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.04em;color:#aab3b6;pointer-events:none;transform:translate(-50%,-50%);text-shadow:0 1px 2px #10161b}.limit-caption{transform:translate(-100%,-50%);color:#bba195}.no-fit .stage-label{visibility:hidden}.input-surface{position:absolute;inset:0;cursor:crosshair}.touch-pad{position:absolute;left:0;right:0;bottom:0;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:ew-resize;z-index:2}#input{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.pad-caption{display:none;position:absolute;bottom:7px;left:10px;color:#a5aeb3;font-size:10px;pointer-events:none}.narrow-stage .pad-caption{display:none}@media(pointer:coarse){.pad-caption{display:block}}.storage-failed #game .actions:before{content:"Not saving";font-size:11px;color:#d2b47d}.rail{width:224px;flex:none;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:22px}.rail-top{display:flex;flex-direction:column;gap:16px}.hud{display:grid;grid-template-columns:1fr 1fr;gap:16px}.score{grid-column:1/-1}.label{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);display:block;margin-bottom:6px}#target-hint{font-size:9px;letter-spacing:0;white-space:nowrap;text-transform:none}.score-value{font-size:42px;font-variant-numeric:tabular-nums;font-weight:750;letter-spacing:-2px;color:#e2d4b6}.stat-value{font-size:23px;font-variant-numeric:tabular-nums}.best-value{color:#c9b17e}.danger-block{grid-column:1/-1}.danger-title{display:flex;justify-content:space-between;font-size:12px;color:#bfc5c3;margin-bottom:8px}.danger-meter{display:flex;gap:4px;height:10px}.danger-meter i{display:block;background:#35434b;flex:1;border-radius:2px}.danger-meter i.on{background:#be9b61}.danger-note{font-size:11px;line-height:1.5;color:#aab3b6;margin-top:9px;min-height:32px}.context{font-size:11px;color:#9aa7ac;line-height:1.7}.rail-bottom{display:grid;gap:8px}.rail-hint{font-size:12px;color:#a4b0b4;line-height:1.6}.angle{font-variant-numeric:tabular-nums}.bottom-controls{display:flex;gap:6px}.bottom-controls button{flex:1}.cancel-strip{display:none;min-height:44px;border:1px dashed #a88b65;border-radius:9px;color:#dec69e;background:#2b2924;align-items:center;justify-content:center;font-size:12px}.aiming .cancel-strip{display:flex}.aiming .bottom-controls{display:none}.status-line{font-size:12px;min-height:38px;color:#cabb9d;line-height:1.5}.overlay{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;background:#0b1219bd;backdrop-filter:blur(3px);padding:14px}.overlay-card{max-height:100%;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain;max-width:360px;text-align:center;border-radius:16px;padding:24px;background:#1c262e;border:1px solid #4c555a;box-shadow:0 20px 60px #0006}.overlay-details{min-height:0;overflow:auto;overscroll-behavior:contain}.overlay-actions{flex:0 0 auto}.overlay-card .result-guidance{margin:4px 0;font-size:11px;line-height:1.35;color:#d5c7ae}.overlay-scroll-cue{flex:0 0 auto;margin:4px 0;font-size:11px;color:#b9c1c2}.overlay-card h2{font-size:26px;margin:0 0 12px;letter-spacing:-.04em}.overlay-card p{color:#b9c1c2;font-size:13px;line-height:1.65}.overlay-card button{margin-top:8px;width:100%}.terminal-score{font-size:42px;font-weight:750;color:#d4b376}.result-badge{font-size:13px;color:#d8bd82}.announcement{position:absolute;left:12px;right:12px;top:47%;text-align:center;z-index:3;pointer-events:none;color:#d8c69d;text-shadow:0 2px 4px #000;font-size:18px;font-weight:700}.saved-notice{font-size:11px;color:#c9b183;line-height:1.5}dialog{position:fixed;inset:auto;top:calc(var(--view-top, 0px) + var(--view-height, 100dvh) / 2);left:calc(var(--view-left, 0px) + var(--view-width, 100vw) / 2);transform:translate(-50%,-50%);margin:0;padding:0;border:1px solid #485760;border-radius:17px;width:min(530px,calc(var(--view-width, 100vw) - 24px));max-height:calc(var(--view-height, 100dvh) - 24px);background:#1b252d;color:#deddd4;box-shadow:0 30px 120px #000a;overflow:hidden}dialog::backdrop{background:#060c12b8;backdrop-filter:blur(4px)}.dialog-shell{display:flex;flex-direction:column;max-height:calc(var(--view-height, 100dvh) - 26px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #34424b;flex-shrink:0}.dialog-head h2{font-size:20px;margin:0;letter-spacing:-.04em}.dialog-body{padding:22px;overflow:auto;overscroll-behavior:contain;line-height:1.65;font-size:14px;min-height:0}.dialog-body h3{font-size:22px;line-height:1.25;margin:0 0 14px;color:#dfccaa}.dialog-body p{color:#b9c3c5}.dialog-foot{padding:12px 20px;border-top:1px solid #34424b;display:flex;justify-content:space-between;align-items:center;gap:8px;flex-shrink:0}.help-example{background:#121b22;border:1px solid #384751;padding:20px;border-radius:12px;font-size:17px;text-align:center;color:#d6b774;margin:20px 0}.setting-row{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #34424b;align-items:center}.setting-row span{max-width:290px}.setting-row small{display:block;color:#a8b2b6;font-size:11px;line-height:1.5}.setting-row input[type=checkbox]{width:24px;height:24px;accent-color:#c5a164}.setting-row input[type=range]{max-width:140px;accent-color:#c5a164;min-height:44px}.score-table{width:100%;border-collapse:collapse;font-size:13px}.score-table th,.score-table td{text-align:left;padding:10px 6px;border-bottom:1px solid #34414a}.score-table td:nth-child(2){color:#dac397;font-weight:700}.record-category{padding:10px 13px;background:#121c23;border-radius:9px;color:#b6c0c3;font-size:12px}.record-tabs{display:flex;gap:8px;margin:13px 0}.record-tabs button{flex:1;font-size:12px}.record-tabs button[aria-pressed=true]{border-color:#b49460;color:#d9bc84;background:#302e28}@media(max-width:330px)and (max-aspect-ratio:1/1){.mobile-context{font-size:9px;line-height:1.15}}.lesson-list{display:grid;gap:10px}.lesson-list button{text-align:left;padding:16px}.lesson-list small{display:block;font-weight:400;color:#aab7bb;margin-top:4px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.no-fit .stage-slot canvas,.no-fit .input-surface,.no-fit .touch-pad{visibility:hidden}.no-fit .stage-slot{outline:0;box-shadow:none}.no-fit .hud,.no-fit .rail-bottom{display:none}.no-fit .overlay{background:transparent;backdrop-filter:none}.reduced-motion *{transition:none!important;animation:none!important}a{color:#d6b877}@media(max-width:1050px)and (min-aspect-ratio:1/1){#play-layout{padding:12px;gap:12px}.rail{width:176px;gap:14px}.actions{gap:0}.rail-hint{font-size:11px}.score-value{font-size:36px}.hud{gap:12px}}@media(max-aspect-ratio:1/1){#game .actions:before{display:none}.mobile-context{display:block;margin-right:auto;white-space:pre-line;text-transform:capitalize;font-size:10px;line-height:1.25;color:#b7c0c4;min-width:0}#new-best{display:none}#play-layout{display:grid;padding:4px 8px;gap:4px;grid-template-rows:44px 44px minmax(0,1fr) 44px;justify-content:stretch;align-items:center}.stage-slot{grid-row:3;justify-self:center;align-self:center}.rail,.rail-top{display:contents}.rail-top>.brand-small{display:none}.actions{grid-row:1;justify-content:flex-end}.actions:before{content:"smashy";margin-right:auto;color:#ceab70;font-weight:900;font-size:24px;letter-spacing:-1.5px}.hud{grid-row:2;display:flex;align-items:center;gap:12px;justify-content:space-between;min-width:0}.score{grid-column:auto}.label{font-size:9px;letter-spacing:.06em;margin-bottom:2px}.score-value,.stat-value{font-size:18px;letter-spacing:0}.danger-block{width:36%;flex-shrink:0}.danger-title{margin-bottom:4px;font-size:10px}.danger-meter{height:6px;gap:2px}.danger-note,.context,.rail-hint,.status-line,.saved-notice,.run-label{display:none}.rail-bottom{grid-row:4;display:block}.bottom-controls{height:44px}.bottom-controls button{padding:7px 8px;font-size:12px}.cancel-strip{height:44px}.rail-bottom>.pill{display:none}.home-main{grid-template-columns:1fr;gap:10px;min-height:auto;padding-top:36px;max-width:450px}.home-art{display:none}.home-copy>p{font-size:14px}.home-foot{margin-top:25px;flex-direction:column;gap:6px}.wordmark{font-size:82px}.home-top .brand-small{font-size:20px}#home{padding:14px 20px}.home-top .actions{gap:3px}.home-top .actions:before{display:none}.overlay-card{padding:18px}.overlay-card h2{font-size:22px}.overlay-card .terminal-score{font-size:clamp(32px,5vw,42px);line-height:1.15}}@media(min-aspect-ratio:1/1)and (max-height:520px){.mobile-context{display:block;grid-column:1/-1;white-space:pre-line;text-transform:capitalize;font-size:10px;line-height:1.2;color:#b7c0c4}#new-best{display:none}#play-layout{padding:0 8px;gap:12px}.rail{width:208px;gap:7px;justify-content:center}.rail-top{gap:7px}.rail-top>.brand-small{display:none}.actions{display:grid;grid-template-columns:1fr 1fr}#game .actions .icon{width:100%}.hud{display:flex;flex-wrap:wrap;gap:8px 18px}.score{width:100%}.score-value{font-size:26px;display:inline}.label{font-size:9px}.stat-value{font-size:18px}.danger-block{width:100%}.danger-note,.context,.rail-hint,.run-label,.status-line,.saved-notice,.rail-bottom>.pill{display:none}.danger-meter{height:6px}.danger-title{margin-bottom:4px}.bottom-controls button{font-size:11px;padding:5px}.rail-bottom{gap:4px}.overlay-card{padding:12px}.overlay-card p{font-size:11px}.overlay-card h2{font-size:20px}.overlay-card .terminal-score{font-size:32px;line-height:1.15}.overlay-card button{min-height:44px;padding:6px;margin-top:4px}}#game{background:linear-gradient(#080d16aa,#080c14aa),var(--workshop-art) center/cover no-repeat}#play-layout{display:grid;margin:0 auto;height:100%;max-width:100%;min-height:0;padding:14px;gap:12px;align-items:center;justify-content:stretch}#play-layout.desktop-shell{grid-template-columns:minmax(0,1fr) var(--rail-width)}.game-header{grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;height:100%}.game-logo{width:clamp(140px,16vw,220px);max-height:58px;object-fit:contain;display:block;flex:none;filter:drop-shadow(0 3px 3px #000a)}.game-heading{min-width:0;flex:1;text-align:center}#mode-title{text-transform:uppercase;color:#d2b3a0;font-size:clamp(13px,1.5vw,21px);letter-spacing:.16em;font-weight:650}#game .game-header .run-label{display:block;font-size:10px;line-height:1.35;max-width:100%;color:#b9aaa0}#game .game-header .actions{display:flex;gap:6px;flex:none}#game .game-header .actions:before{display:none}#game .game-header .actions .icon{width:44px;height:44px;min-height:44px;padding:10px;background:linear-gradient(#393335,#211f24);border-color:#8b77716b;box-shadow:inset 0 1px #e4c1a426,0 2px 5px #0008}#game .game-header .mobile-context{display:none}#play-layout.desktop-shell .stage-slot{grid-column:1;grid-row:2;justify-self:center;align-self:center;border-radius:17px;outline:2px solid #9c888080;box-shadow:inset 0 0 0 5px #aaa1,0 15px 45px #000a}#play-layout.desktop-shell .rail{grid-column:2;grid-row:2;display:flex;width:100%;height:var(--stage-height);min-height:0;align-self:center;flex-direction:column;justify-content:space-between;gap:12px;padding:20px 18px;border:2px solid #9c888080;border-radius:17px;background:linear-gradient(145deg,#25252aec,#111319f5);box-shadow:inset 0 0 0 5px #aaa1,0 15px 45px #0008}#game .rail-top{display:none}#play-layout.desktop-shell .hud{display:grid;grid-template-columns:1fr 1fr;gap:14px}#play-layout.desktop-shell .score-value{font-size:clamp(32px,4vw,50px);color:#d7bdac;line-height:1.1}#play-layout.desktop-shell .stat-value{font-size:24px}#play-layout.desktop-shell .label{font-size:11px;margin-bottom:5px;color:#baa99e}#play-layout.desktop-shell .danger-block{width:auto}#play-layout.desktop-shell .danger-title{font-size:12px}#play-layout.desktop-shell .danger-meter{height:17px;gap:3px}#game .danger-meter i{border-radius:4px;background:linear-gradient(#47434a,#292a31);border:1px solid #8f817448}#game .danger-meter i.on{background:linear-gradient(#c99750,#bf8f4a);box-shadow:inset 0 1px 1px #edc48e66}#play-layout.desktop-shell .bottom-controls{display:flex;flex-direction:column;gap:8px;height:auto}#play-layout.desktop-shell .bottom-controls button{min-height:46px;flex:none;margin:0;padding:9px 12px;font-size:14px;text-align:center;white-space:nowrap;background:linear-gradient(#403a3d,#27242b);border:1px solid #a18d7e99;box-shadow:inset 0 1px #ffe3c122,0 3px 6px #0006}#game #guide-button[aria-pressed=true]{border-color:#d3a45e;box-shadow:inset 0 0 0 1px #b77e37,0 0 0 1px #0009;color:#e2c3a0}#play-layout.desktop-shell #fire-button{background:linear-gradient(#8d613b,#65422d);color:#f0d7b9;border-color:#b08b67}#play-layout.desktop-shell .rail-bottom{display:grid;gap:9px}#play-layout.desktop-shell .rail-hint{font-size:11px;line-height:1.4}#play-layout.desktop-shell .status-line{font-size:12px;color:#d4bda3;min-height:28px}#play-layout.desktop-shell .danger-note{font-size:11px;min-height:0;line-height:1.3;margin-top:7px}#play-layout.desktop-shell .rail-bottom>.pill{align-self:start;font-size:10px;padding:3px 8px}#play-layout.tight-desktop .rail{padding:12px 14px;gap:7px}#play-layout.tight-desktop .hud{gap:8px}#play-layout.tight-desktop .score-value{font-size:36px}#play-layout.tight-desktop .stat-value{font-size:20px}#play-layout.tight-desktop .rail-hint{display:none}#play-layout.tight-desktop .rail-bottom,#play-layout.tight-desktop .bottom-controls{gap:6px}#play-layout.tight-desktop .status-line{min-height:0;font-size:11px}#play-layout.portrait-shell{grid-template-columns:1fr;padding:8px;gap:6px}#play-layout.portrait-shell .game-header{display:grid;grid-template-columns:92px 1fr;grid-template-rows:44px 16px;gap:4px 6px}#play-layout.portrait-shell .game-logo{grid-column:1;grid-row:1;width:92px;height:36px}#play-layout.portrait-shell .game-heading{display:contents}#play-layout.portrait-shell #mode-title{display:none}#play-layout.portrait-shell .game-header .run-label{grid-column:1/-1;grid-row:2;text-align:left;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#play-layout.portrait-shell .game-header .actions{grid-column:2;grid-row:1;justify-self:end;gap:4px}#play-layout.portrait-shell .stage-slot{grid-column:1;grid-row:3}#play-layout.portrait-shell .rail{display:contents}#play-layout.portrait-shell .hud{grid-row:2}#play-layout.portrait-shell .rail-bottom{grid-row:4}#play-layout.portrait-shell .bottom-controls{display:flex;height:44px;gap:6px}#play-layout.portrait-shell .bottom-controls button{font-size:12px;white-space:nowrap;min-height:44px;padding:7px}#play-layout.portrait-shell .actions:before{display:none}#home{background:linear-gradient(#0b1119bb,#0b1119cc),var(--workshop-art) center/cover fixed}@media(max-width:340px){#play-layout.portrait-shell .game-logo{width:72px}#play-layout.portrait-shell .game-header{grid-template-columns:74px 1fr}}#game .bottom-controls button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}#game .bottom-controls button{display:flex;align-items:center;justify-content:center;gap:10px}#play-layout.portrait-shell .bottom-controls button svg{display:none}.wordmark img{display:block;width:min(100%,450px);height:auto;filter:drop-shadow(0 8px 8px #0008)}.home-toy{position:absolute;left:50%;top:50%;width:190px;height:190px;object-fit:contain;filter:drop-shadow(0 14px 14px #0008)}.home-toy-0{transform:translate(-95%,-28%) rotate(-12deg);z-index:3}.home-toy-1{transform:translate(-18%,-78%) rotate(14deg);z-index:2}.home-toy-2{transform:translate(-8%,7%) rotate(7deg);z-index:1}#play-layout.tight-desktop #mode-title{font-size:16px;letter-spacing:.1em;white-space:nowrap}#play-layout.short-portrait{padding:4px 8px;gap:4px}#play-layout.short-portrait .game-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px;gap:4px}#play-layout.short-portrait .overlay.result-overlay{position:fixed;inset:0;z-index:20;padding:12px}#play-layout.short-portrait .result-overlay .overlay-card{width:100%}#play-layout.short-portrait .result-overlay .terminal-score{font-size:28px}#play-layout.short-portrait .game-logo{display:none}#play-layout.short-portrait .game-header .run-label{grid-column:1;grid-row:1;white-space:pre-line;overflow:visible;text-overflow:clip;font-size:10px;line-height:1.2}#play-layout.short-portrait .game-header .actions{grid-column:2;grid-row:1}#play-layout.tight-desktop .game-logo{width:150px}#play-layout.compact-shell .game-logo{width:130px}#play-layout.compact-shell .game-header{gap:8px}#play-layout.compact-shell #mode-title{font-size:13px;letter-spacing:.06em;white-space:nowrap}#play-layout.compact-shell .game-header .run-label{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#play-layout.short-landscape{padding:1px 14px;gap:6px}#play-layout.short-landscape .stage-slot{grid-column:1;grid-row:1 / span 2}#play-layout.short-landscape .game-header{grid-column:2;grid-row:1;display:grid;grid-template-columns:110px minmax(0,1fr);grid-template-rows:36px 44px;gap:8px}#play-layout.short-landscape .game-logo{width:110px;max-height:36px}#play-layout.short-landscape #mode-title{font-size:12px;letter-spacing:.06em}#play-layout.short-landscape .game-header .run-label{font-size:9px;white-space:nowrap}#play-layout.short-landscape .game-header .actions{grid-column:1/-1;justify-self:end;gap:6px}#play-layout.short-landscape .rail{grid-column:2;grid-row:2;height:100%;padding:10px 12px;gap:6px}#play-layout.short-landscape .hud{grid-template-columns:1fr 1fr 1fr;gap:6px}#play-layout.short-landscape .score{grid-column:auto}#play-layout.short-landscape .score-value{font-size:28px}#play-layout.short-landscape .label{font-size:10px;margin-bottom:3px}#play-layout.short-landscape .danger-block{grid-column:1/-1}#play-layout.short-landscape .danger-note{margin-top:4px;font-size:10px}#play-layout.short-landscape .bottom-controls{flex-direction:row;gap:5px}#play-layout.short-landscape .bottom-controls button{flex:1;min-width:0;min-height:44px;padding:6px 2px;font-size:11px}#play-layout.short-landscape .bottom-controls button svg{display:none}#play-layout.short-landscape .status-line{font-size:10px}#play-layout.aiming .bottom-controls{display:none}#play-layout.aiming .cancel-strip{display:flex;align-items:center;justify-content:center;height:44px;min-height:44px}.touch-deck{display:none}.fire-dock{min-width:0}#game #storage-note:empty{display:none}#game #storage-note:not(:empty){display:block;grid-column:1 / -1;font-size:10px;margin:0}#play-layout.touch-shell .touch-deck{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-height:0;width:100%}#play-layout.touch-shell .touch-pad{display:flex;position:relative;inset:auto;width:100%;min-height:44px;height:100%;padding:10px;flex-direction:column;align-items:center;justify-content:center;gap:8px;overflow:hidden;border:1px solid #a18d7e99;border-radius:20px;color:#d6b8a0;background:radial-gradient(circle,#d8b88b0d 1px,transparent 1.5px) 0 0 / 9px 9px,linear-gradient(140deg,#403a3df0,#252329f5);box-shadow:inset 0 1px 1px #ffe3c129,0 4px 10px #0007}#play-layout.touch-shell .touch-pad strong{font-size:15px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;pointer-events:none}#play-layout.touch-shell .pad-caption{display:block;position:static;font-size:11px;color:#c6b0a1;text-transform:uppercase;letter-spacing:.05em;text-align:center}.aim-hand{width:130px;height:80px;fill:none;stroke:currentColor;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}body.simple-backdrop #home,body.simple-backdrop #game{background:#10141b}body.simple-backdrop #game .stage-slot{outline-color:#46515f;box-shadow:none}body.simple-backdrop #play-layout .rail{background:#1b242b;border-color:#46515f;box-shadow:none}body.simple-backdrop #game .game-header .actions .icon,body.simple-backdrop #game .bottom-controls button,body.simple-backdrop #play-layout .touch-pad,body.simple-backdrop #play-layout .cancel-strip{background:#232e35;border-color:#46515f;box-shadow:none}body.simple-backdrop #game #fire-button{background:#755032;color:#f0d7b9}body.simple-backdrop #game .danger-meter i{background:#292a31;box-shadow:none}body.simple-backdrop #game .danger-meter i.on{background:#bf8f4a}body.simple-backdrop .wordmark,body.simple-backdrop .wordmark img,body.simple-backdrop .home-toy,body.simple-backdrop .game-logo{filter:none;text-shadow:none}#play-layout.touch-shell.desktop-shell .touch-deck{grid-template-rows:minmax(80px,1fr) 46px;flex:1;max-height:288px;order:2}#play-layout.touch-shell.desktop-shell .rail-bottom{order:3}#play-layout.touch-shell.desktop-shell .rail-hint,#play-layout.touch-shell .rail-bottom>.pill,#play-layout.touch-shell .status-line{display:none}#play-layout.touch-shell.desktop-shell .guide-tools{flex-direction:row}#play-layout.touch-shell.desktop-shell .guide-tools button{flex:1;min-width:0;padding:7px 5px;gap:5px;font-size:12px}#play-layout.touch-shell .cancel-strip{height:100%;min-height:44px;gap:8px;border-style:solid;border-color:#a18d7e99;background:linear-gradient(#403a3d,#27242b);text-transform:uppercase}#play-layout.touch-shell .cancel-strip svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}#play-layout.touch-shell .fire-controls,#play-layout.touch-shell .fire-controls button{height:100%;min-height:44px}#play-layout.touch-shell.portrait-shell .rail-bottom{display:none}#play-layout.touch-shell.portrait-shell .touch-deck{grid-column:1 / -1;grid-row:4;grid-template-columns:minmax(0,1fr) 62px;grid-template-rows:minmax(0,1fr);height:var(--touch-deck-height);gap:8px}#play-layout.touch-shell.portrait-shell .touch-pad{border-radius:15px;display:grid;grid-template-columns:48px auto;grid-template-rows:auto auto;gap:1px 8px;padding:5px 10px}#play-layout.touch-shell.portrait-shell .aim-hand{grid-column:1;grid-row:1 / 3;width:48px;height:36px}#play-layout.touch-shell.portrait-shell .touch-pad strong{font-size:12px;align-self:end;white-space:nowrap}#play-layout.touch-shell.portrait-shell .pad-caption{font-size:9px;align-self:start;white-space:nowrap}#play-layout.touch-shell.portrait-shell .fire-dock button{padding:4px;font-size:12px;height:100%;border-color:#b08b67;color:#f0d7b9;background:linear-gradient(#8d613b,#65422d)}#play-layout.touch-shell.portrait-shell .cancel-strip{flex-direction:column;gap:2px;font-size:10px}#play-layout.touch-shell.portrait-shell .guide-tools{position:absolute;left:6px;bottom:6px;height:44px;gap:6px;z-index:3}#play-layout.touch-shell.portrait-shell .guide-tools button{width:44px;min-width:44px;flex:none;height:44px;font-size:9px;padding:3px;gap:2px;flex-direction:column;border-color:#a18d7e99;background:linear-gradient(#403a3d,#27242b)}#play-layout.touch-shell.portrait-shell .guide-tools button svg{display:block;width:18px;height:18px}#play-layout.touch-shell.side-tools .game-header,#play-layout.touch-shell.side-tools .hud{grid-column:1 / -1}#play-layout.touch-shell.side-tools .guide-tools{position:static;grid-column:2;grid-row:3;align-self:end;display:flex;flex-direction:column;height:auto}#play-layout.touch-shell.roomy-touch-deck .touch-pad{display:flex;gap:3px}#play-layout.touch-shell.roomy-touch-deck .aim-hand{width:90px;height:49px}#play-layout.touch-shell.roomy-touch-deck .touch-pad strong{font-size:13px;align-self:center}#play-layout.touch-shell.roomy-touch-deck .pad-caption{font-size:10px;align-self:center}#play-layout.touch-shell.short-landscape .rail{gap:6px}#play-layout.touch-shell.short-landscape .touch-deck{grid-template-columns:minmax(0,1fr) 62px;grid-template-rows:minmax(44px,1fr);max-height:92px}#play-layout.touch-shell.short-landscape .touch-pad{padding:5px;gap:2px}#play-layout.touch-shell.short-landscape .aim-hand{width:65px;height:36px}#play-layout.touch-shell.short-landscape .touch-pad strong{font-size:12px}#play-layout.touch-shell.short-landscape .pad-caption{font-size:9px}#play-layout.touch-shell.short-landscape .fire-controls button{flex-direction:column}#play-layout.touch-shell.short-landscape .cancel-strip{flex-direction:column;font-size:10px;gap:2px}#play-layout.aiming .guide-tools{visibility:hidden}#play-layout.aiming .guide-tools{display:flex}#play-layout.aiming .fire-controls{display:none}#play-layout.aiming .cancel-strip{height:100%}#play-layout:not(.touch-shell) .guide-tools{margin-bottom:0}#dialog.help-redesign{--help-ink: #e5e4db;--help-muted: #adb9c0;--help-accent: #d4b47b;--help-line: #394951;--help-bg: #172128;color:var(--help-ink);background:var(--help-bg);border:1px solid #4e5b61;border-radius:22px;width:min(800px,calc(var(--view-width, 100vw) - 40px));max-width:none;padding:0;height:min(750px,calc(var(--view-height, 100dvh) - 48px));max-height:none;overflow:hidden;box-shadow:0 30px 100px #0009}.help-redesign::backdrop{background:#070c11d9;backdrop-filter:blur(8px)}.help-redesign *{box-sizing:border-box}.help-shell{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.help-head{display:flex;align-items:center;justify-content:space-between;padding:20px 28px 16px;border-bottom:1px solid var(--help-line);gap:12px}.help-head>div{display:flex;align-items:baseline;gap:18px}.help-wordmark{font-size:28px;letter-spacing:-2px;font-weight:900;color:var(--help-accent)}.help-head h1{font-size:16px;font-weight:550;margin:0;color:#bac5ca}.help-redesign .help-close{height:44px;width:44px;padding:11px;flex:none;border:1px solid #45545d;background:#233039;border-radius:50%}.help-close svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.help-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:12px 28px;background:#141e25}.help-redesign .help-tabs button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;background:transparent;border-color:transparent;padding:8px 12px;color:#b0bdc4;border-radius:8px;min-height:56px;font-weight:600}.help-tab-number{font-size:10px;letter-spacing:1px;color:#a7b2b9}.help-redesign .help-tabs button[aria-selected=true]{background:#2c3538;border-color:#7f6d50;color:#f0d4a1}.help-tabs button[aria-selected=true] .help-tab-number{color:#d3b27a}.help-scroll{overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#52616b #172128;scrollbar-gutter:stable;padding:25px 30px 28px}.help-panel{outline:none}.help-kicker{font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--help-accent);margin-bottom:10px}.help-panel h2{font-size:clamp(23px,3.3vw,32px);font-weight:700;line-height:1.14;letter-spacing:-.7px;margin:0 0 12px;max-width:580px}.help-lead{font-size:16px;line-height:1.55;color:#bec9ce;margin:0 0 22px;max-width:610px}.help-figure{margin:0 0 18px;border:1px solid #394952;background:#111c23;border-radius:15px;overflow:hidden}.help-example-label{color:#adbcc4;font-size:10px;letter-spacing:1.25px;padding:14px 17px 0;font-weight:700}.help-board{position:relative;width:320px;height:184px;margin:4px auto 0;background-image:radial-gradient(#3b4b5560 1px,transparent 1px);background-size:26px 22.5px}.help-toy{position:absolute;left:var(--x);top:var(--y);width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 4px 5px #0005);user-select:none}.help-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#e5bf7a;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.help-lines .help-faint-line{stroke:#50616d;stroke-dasharray:3 7}.help-board-tag{position:absolute;top:146px;font-size:11px;font-weight:600}.help-good{left:34px;color:#dfc089}.help-no{right:24px;color:#b9c3c8}.help-figure figcaption{padding:9px 16px 15px;font-size:12px;line-height:1.5;color:#c0cbd1;text-align:center}.help-tip{background:#253138;border-left:3px solid #a98e60;border-radius:0 9px 9px 0;color:#c3cdd1;font-size:14px;line-height:1.5;padding:13px 15px;margin:16px 0 0}.help-tip strong{color:#e9dbc3}.help-small{font-size:12px;line-height:1.55;color:var(--help-muted);margin:15px 0 0}.help-support{height:208px}.help-ceiling{position:absolute;left:24px;right:24px;top:6px;text-align:left;font-size:9px;letter-spacing:2px;color:#afbbc3;border-top:4px solid #53636b;padding-top:3px}.help-support .help-lines{height:208px}.help-cut-label{position:absolute;top:32px;left:10px;width:89px;font-size:11px;color:#e5c796;line-height:1.5}.help-support-piece,.help-falling{transition:opacity .25s,transform .4s}.is-cut .help-support-piece{opacity:.12;transform:scale(.7)}.is-cut .help-falling{transform:translateY(34px)}.is-cut .help-lines{opacity:.15}.is-cut .help-cut-label{opacity:.3}.help-drop-result{position:absolute;top:181px;left:83px;color:#e4c287;font-size:12px}.help-demo-button{display:flex;justify-content:space-between;width:calc(100% - 28px);margin:0 14px 14px;min-height:44px;text-align:left;font-size:13px!important;font-weight:600}.help-demo-button span{color:#e7c282}.help-anchor-tip{display:flex;align-items:center;gap:10px}.help-anchor-tip>.help-toy{position:static;flex:none;width:45px;height:45px}.help-anchor-tip p{margin:0}.help-meter-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin:22px 20px 12px}.help-meter-heading strong{font-size:38px;color:#e1c085;letter-spacing:-1px;white-space:nowrap}.help-meter-heading>span{font-size:12px;color:#becbd1;max-width:210px;text-align:right}.help-meter{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;margin:0 20px}.help-meter span{height:20px;border-radius:4px;background:#2d3a44;border:1px solid #46545e}.help-meter .filled{background:#c8a469;border-color:#dfc18e}.help-danger-steps{display:flex;justify-content:center;gap:10px;padding:20px 10px;color:#bccad1;font-size:12px}.help-danger-steps i{color:#6f818c;font-style:normal}.help-danger-steps span:last-child{color:#e4bf7c}.help-danger-demo figcaption{min-height:53px;padding-top:0}.help-aim-art{position:relative;width:320px;height:183px;margin:0 auto}.help-aim-art svg{width:320px;height:150px;fill:none;stroke:#d4b47b;stroke-width:2.5}.help-bank-wall{stroke:#52646f;stroke-width:4}.help-aim-line{stroke-dasharray:5 6}.help-swipe{stroke:#b8c8d1}.help-aim-art circle{fill:#334550;stroke:#b8c8d1}.help-drag-label{position:absolute;top:136px;left:80px;font-size:11px;color:#bbccd5}.help-cancel-strip{position:absolute;left:32px;right:32px;bottom:0;border:1px dashed #b18c68;border-radius:6px;background:#302c29;text-align:center;font-size:11px;line-height:25px;color:#e1bfa1}.help-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:17px 0}.help-control-grid strong{font-size:14px;color:#e1d2b7}.help-control-grid p{font-size:13px;line-height:1.55;color:#b9c6ce;margin:7px 0 0}.help-details{border-bottom:1px solid #3c4a54;margin:6px 0}.help-details summary{min-height:48px;padding:13px 4px;cursor:pointer;font-size:14px;color:#d5d9d7;font-weight:600}.help-details p,.help-modes{font-size:13px;line-height:1.65;color:#bfccd2}.help-modes{display:grid;grid-template-columns:70px 1fr;gap:8px 12px;margin:10px 0}.help-modes dt{color:#e0cbab;font-weight:650}.help-modes dd{margin:0}.help-site-address{overflow-wrap:anywhere;background:#101a20;border:1px solid #3a4b56;border-radius:6px;padding:9px;font-family:monospace}.help-score-sum{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 12px 22px}.help-score-sum>div{display:flex;flex-direction:column;align-items:center}.help-score-sum span{font-size:11px;color:#c1ccd1;margin:3px 0 8px}.help-score-sum strong{font-size:33px;line-height:1;color:#e2d6bf}.help-score-sum>b{color:#7e919e;font-weight:400}.help-mini-toys{display:flex;height:42px;align-items:center;justify-content:center}.help-mini-toys .help-toy{position:static;width:33px;height:33px;margin-left:-7px}.help-mini-toys .help-toy:first-child{margin-left:0}.help-score-sum .help-total{padding-left:4px}.help-score-sum .help-total strong{font-size:48px;letter-spacing:-2px;color:#e8c78c}.help-total span{order:2;margin-top:7px}.help-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 28px;border-top:1px solid #3a4b55;background:#141e25}.help-progress{font-size:12px;color:#a9b8c0}.help-redesign .help-primary{background:#d2b079;border-color:#d2b079;color:#191e20;font-weight:750}.help-redesign button:disabled{opacity:.4;cursor:default}.help-redesign button:hover:not(:disabled){border-color:#d4b47b}.help-redesign :is(button,summary,[tabindex]):focus-visible{outline:2px solid #efd093;outline-offset:3px}.help-redesign .help-panel:focus-visible{outline:2px solid #8d9da6;outline-offset:8px;border-radius:3px}@media(max-width:600px){#dialog.help-redesign{width:calc(var(--view-width, 100vw) - 16px);height:calc(var(--view-height, 100dvh) - 16px);border-radius:15px}.help-head{padding:12px 16px}.help-head>div{gap:13px}.help-wordmark{font-size:25px}.help-head h1{font-size:14px}.help-tabs{padding:8px 10px;gap:2px}.help-redesign .help-tabs button{font-size:12px;padding:7px 8px;min-height:52px}.help-scroll{padding:20px 16px 24px;scrollbar-gutter:auto}.help-panel h2{font-size:26px;line-height:1.16}.help-lead{font-size:14px;margin-bottom:18px}.help-board,.help-aim-art{max-width:100%}.help-figure{border-radius:12px}.help-example-label{font-size:9px;padding-left:12px;letter-spacing:.9px}.help-control-grid{gap:15px}.help-control-grid strong{font-size:13px}.help-control-grid p{font-size:12px}.help-tip{font-size:13px;padding:11px 12px}.help-footer{padding:12px 16px}.help-score-sum{gap:8px}.help-mini-toys .help-toy{width:29px;height:29px}.help-score-sum span{font-size:10px}.help-score-sum strong{font-size:30px}.help-score-sum .help-total strong{font-size:40px}.help-meter-heading{margin:15px 15px 10px}.help-meter-heading strong{font-size:32px}.help-danger-steps{gap:8px;font-size:11px}}@media(prefers-reduced-motion:reduce){.help-redesign *{transition:none!important;scroll-behavior:auto!important}}.help-redesign .dialog-shell.help-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;max-height:none}.help-redesign .dialog-body.help-body-shell{display:grid;grid-template-rows:auto minmax(0,1fr);padding:0;overflow:hidden;min-height:0;line-height:normal}.help-redesign .help-head h2{font-size:16px;font-weight:550;margin:0;color:#bac5ca;letter-spacing:normal}.help-redesign .help-panel .help-tip{color:#c3cdd1}.help-redesign .help-panel .help-site-address{color:#bfccd2}@media(max-width:600px){.help-redesign .help-head h2{font-size:14px}}@media(max-height:500px){#dialog.help-redesign{width:min(800px,calc(var(--view-width, 100vw) - 12px));height:calc(var(--view-height, 100dvh) - 12px)}.help-redesign .help-head,.help-redesign .help-footer{padding:4px 12px}.help-redesign .help-tabs{padding:2px 12px;gap:4px}.help-redesign .help-tabs button{min-height:44px;flex-direction:row;align-items:center;justify-content:center;gap:6px;padding:6px}.help-redesign .help-scroll{padding:8px 16px}}@media(max-height:500px)and (max-width:600px){.help-redesign .help-tab-number{display:none}}.records-dialog{width:min(620px,calc(var(--view-width, 100vw) - 24px));max-width:calc(var(--view-width, 100vw) - 24px);background:linear-gradient(150deg,#252a2e,#171f26 65%);border-color:#6b6054}.records-dialog .dialog-head{border-color:#64574680;padding:16px 20px}.records-dialog #dialog-title{display:flex;align-items:center;gap:12px;color:#eadac1;font-size:24px}.records-dialog svg,.result-record svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.records-dialog #dialog-title>svg{color:#d8b176;width:32px;height:32px}.records-dialog .dialog-body{padding:18px 22px 12px}.records-filter label{display:block;color:#b4b9ba;font-size:11px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:6px}.records-filter select{position:absolute;inset:0;height:100%;opacity:0;z-index:1;width:100%;min-width:0;min-height:44px;font-size:16px;padding:10px 32px 10px 12px;border-radius:9px;text-overflow:ellipsis}.records-select{position:relative}.records-selected{display:block;min-height:44px;padding:11px 32px 11px 12px;border:1px solid #43505a;border-radius:9px;background:#222e36;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.records-select:after{content:"⌄";position:absolute;right:12px;top:50%;transform:translateY(-55%);pointer-events:none}.records-select:focus-within{outline:2px solid #d6b579;outline-offset:3px;border-radius:9px}.records-dialog .record-tabs{gap:4px;padding:4px;margin:16px 0 12px;border:1px solid #3e464b;border-radius:12px;background:#11191f}.records-dialog .record-tabs button{min-height:44px;padding:8px;background:transparent;border-color:transparent;border-radius:8px;color:#b6babc;font-size:13px}.records-dialog .record-tabs button[aria-pressed=true]{border-color:#8d744f;background:#393127;color:#f0d3a3;box-shadow:0 2px 6px #0004}.records-dialog .score-table{border-collapse:separate;border-spacing:0 6px;font-variant-numeric:tabular-nums}.records-dialog .score-table th{padding:0 10px 4px;border:0;font-size:10px;color:#b4b9ba;font-weight:500;letter-spacing:.08em;text-transform:uppercase}.records-dialog .score-table td{padding:10px;border:0;background:#222c33}.records-dialog .score-table td:first-child{border-radius:9px 0 0 9px;width:46px}.records-dialog .score-table td:last-child{border-radius:0 9px 9px 0;white-space:nowrap}.record-rank{display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:15px;font-weight:700;color:#bac2c6}.record-score{font-size:21px;color:#e0dace;font-weight:700}.record-outcome{font-size:12px;color:#b7bec0;white-space:nowrap}.record-outcome.clear{color:#b6caa8}.records-dialog time{font-size:12px;color:#aeb8bd}.records-dialog .record-place-1 td{background:#3a3126}.record-place-1 .record-score{color:#f0cb8e;font-size:25px}.record-place-1 .record-rank{color:#e5b869}.record-place-2 .record-rank{color:#d2dce3;border:1px solid #7f919e;border-radius:50%}.record-place-3 .record-rank{color:#d9b190;border:1px solid #9d7353;border-radius:50%}.record-mobile-outcome{display:none}.records-dialog .records-note{margin:14px 0 0;color:#a4afb4;font-size:11px;text-align:center}.records-dialog .dialog-foot{border-color:#64574680;justify-content:flex-end;padding:10px 20px}.records-dialog .dialog-foot button{min-height:44px;min-width:100px}.records-empty{padding:22px 8px;text-align:center}.records-empty>svg{width:52px;height:52px;color:#b4986c;margin-bottom:12px}.records-dialog .records-empty h3{font-size:20px;margin:0 0 8px}.records-dialog .records-empty p{margin:0;font-size:13px}.result-record{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:6px 0 10px;color:#e7bf7b}.result-record svg{width:20px;height:20px}.result-record .result-badge{font-size:16px;font-weight:700;color:inherit;line-height:1.3}.result-placement{font-size:12px;color:#c1b295}@media(max-width:520px){.records-dialog .dialog-head{padding:12px 14px}.records-dialog #dialog-title{font-size:21px;gap:9px}.records-dialog .dialog-body{padding:12px}.records-selected{font-size:12px;padding-left:8px}.records-dialog .record-tabs{margin:12px 0 8px}.records-dialog .score-table th,.records-dialog .score-table td{padding-left:7px;padding-right:7px}.records-dialog .record-outcome-column{display:none}.record-mobile-outcome{display:block;font-size:10px;line-height:1.3;font-weight:400;color:#b6c2c4}.records-dialog .score-table td:first-child{width:36px}.record-score{font-size:19px}.record-place-1 .record-score{font-size:22px}.records-dialog time{font-size:11px}.records-dialog .dialog-foot{padding:8px 12px}.result-record{margin:4px 0 6px}.result-record .result-badge{font-size:14px}}@media(max-height:520px)and (min-width:600px){.records-dialog .dialog-head{padding:8px 14px}.records-dialog #dialog-title{font-size:21px}.records-dialog .dialog-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:8px 12px;padding:10px 14px}.records-filter{align-self:center}.records-filter label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.records-selected{font-size:12px}.records-dialog .record-tabs{margin:0}.records-dialog .score-table,.records-dialog .records-empty,.records-dialog .records-note,.records-dialog .saved-notice{grid-column:1 / -1}.records-dialog .dialog-foot{padding:8px 14px}}.shelf-progress{margin:0 0 6px;color:#dcc8a5}.shelf-note,.shelf-practice{font-size:12px;line-height:1.45;margin:6px 0 12px}.shelf-practice{border-left:2px solid #b09163;padding-left:10px}.puzzle-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.puzzle-grid .puzzle-tile{position:relative;min-width:0;min-height:78px;padding:19px 5px 9px}.puzzle-tile.is-locked{background:#20272d;border-color:#39434a}.puzzle-tile.is-locked:disabled{opacity:.7;color:#9ba4aa}.puzzle-tile.is-next{border-color:#b79a66;background:#332f27}.puzzle-tile.is-complete{border-color:#637b5c}.puzzle-grid .puzzle-lock,.puzzle-grid .puzzle-check,.puzzle-grid .puzzle-next{position:absolute;right:5px;top:5px;line-height:1;font-size:10px}.puzzle-grid .puzzle-lock{color:#a2aab0}.puzzle-lock svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.puzzle-grid .puzzle-check{color:#b5c6a6;font-size:13px}.puzzle-grid .puzzle-next{color:#dfc28d;font-weight:500;font-size:9px}@media(max-width:420px){.puzzle-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}}#home{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;width:100%;height:var(--view-height, 100dvh);min-height:0;max-height:var(--view-height, 100dvh);padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(clamp(12px,4vw,64px),env(safe-area-inset-left));padding-right:max(clamp(12px,4vw,64px),env(safe-area-inset-right));overflow:hidden}#home .home-top,#home .home-foot{width:100%;max-width:1180px;margin:0 auto}#home .home-top{min-width:0;min-height:44px;gap:12px}#home .home-top .actions{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:4px}#home .home-top .actions:before{display:none}#home .home-main{display:grid;grid-template-areas:"identity art" "controls art";grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:clamp(24px,4vw,56px);row-gap:16px;align-items:center;align-self:center;width:100%;height:100%;min-height:0;max-width:1080px;max-height:780px;padding:0;margin:0 auto}#home .home-identity{grid-area:identity;display:grid;gap:8px;min-width:0}#home .wordmark{margin:0;padding:0;line-height:1;font-size:inherit;text-shadow:none;transform:none}#home .wordmark img{width:min(100%,420px);height:auto;max-height:142px;object-fit:contain;object-position:left center}#home .home-tagline{margin:0;color:#bbc2c2;font-size:14px;line-height:1.45}#home .home-copy{grid-area:controls;display:grid;align-self:start;align-content:start;gap:9px;min-width:0;min-height:0;max-height:100%;padding:16px;border:1px solid #485058;border-radius:16px;background:#151f27de;box-shadow:0 12px 28px #0003;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8d7854 #151f27}#home .home-copy>*{min-width:0}#home .home-copy>p{max-width:none;margin:0}#home .mode-tabs{gap:5px;margin:0}#home .mode-tabs button{min-width:0;min-height:44px;padding:8px 4px;font-size:12px}#home .mode-config{min-height:44px;margin:0;padding:8px 10px;font-size:12px;line-height:1.35;overflow-wrap:anywhere}#home #mode-description{color:#b5bec1;font-size:12px;line-height:1.4}#home .setup{gap:10px;margin:0}#home .setup label{min-width:0;gap:4px;font-size:11px;line-height:1.25}#home .setup select{min-width:0;min-height:44px;padding:8px;font-size:16px;text-overflow:ellipsis}#home #home-best{margin:0;color:#cfba94;font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#home .home-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}#home.home-has-save .home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}#home .home-actions .home-start{width:100%;min-width:0;min-height:48px;margin:0;padding:9px 8px;font-size:13px;line-height:1.3}#home .home-actions .primary{color:#171b1c;background:#c5a164;border-color:#c5a164}#home .home-actions .primary:not(:disabled):hover{color:#171b1c;background:#d4b77e;border-color:#d4b77e}#home .home-resume-summary{color:#b7c0c3;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#home .home-secondary{display:flex;gap:0;margin:0}#home .home-secondary button{width:100%;min-height:44px;padding:8px;font-size:13px}#home #home-storage{display:block;color:#cfb887;font-size:11px;line-height:1.35}#home #home-storage:empty{display:none}#home .home-art{grid-area:art;display:block;align-self:center;width:100%;height:100%;min-width:0;min-height:0;max-height:500px}#home .home-art:before{width:min(85%,310px);height:90px;left:50%;bottom:calc(50% - 172px);transform:translate(-50%)}#home .home-toy{width:clamp(148px,17vw,210px);height:clamp(148px,17vw,210px)}#home .art-caption{width:100%;bottom:4px;font-size:10px;letter-spacing:.1em}#home .home-foot{flex-direction:row;align-items:center;gap:8px;min-width:0;min-height:14px;font-size:10px;line-height:1.4}#home .home-foot span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-height:850px){#home .home-identity .eyebrow,#home .home-tagline,#home #mode-description{display:none}#home .home-main{max-height:650px;row-gap:10px}#home .wordmark img{width:min(100%,330px);max-height:110px}#home .home-identity{gap:6px}#home .home-copy{gap:8px;padding:14px}}@media(max-width:780px),(max-aspect-ratio:1/1){#home{row-gap:8px}#home .home-main{grid-template-areas:"identity" "controls";grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);row-gap:10px;max-width:450px;max-height:780px}#home .home-identity{justify-items:center;text-align:center}#home .wordmark{width:100%}#home .wordmark img{width:min(100%,285px);max-height:95px;margin:0 auto;object-position:center}#home .home-art{display:none}#home .home-copy{width:100%}#home .home-foot span+span{display:none}}@media(max-height:720px){#home .home-identity .eyebrow,#home .home-tagline,#home #mode-description{display:none}#home .home-main{row-gap:8px}#home .home-copy{gap:6px;padding:10px}#home .home-actions .home-start{min-height:44px}#home .home-foot span+span{display:none}}@media(max-width:780px)and (max-height:720px),(max-aspect-ratio:1/1)and (max-height:720px){#home .wordmark img{width:180px;max-height:60px}#home .home-main{max-width:450px}#home .home-top .brand-small{font-size:20px}#home .home-copy{gap:5px;padding:9px}#home .setup{gap:8px}#home .setup label{gap:3px}#home #home-best{font-size:11px}#home .home-actions .home-start{font-size:12px}}@media(min-width:600px)and (max-height:520px)and (min-aspect-ratio:1/1){#home{gap:6px;padding-top:max(6px,env(safe-area-inset-top));padding-bottom:max(6px,env(safe-area-inset-bottom))}#home .home-main{grid-template-areas:"identity controls";grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr);gap:18px;max-width:1100px;max-height:none}#home .home-identity{align-self:center}#home .wordmark img{width:min(100%,300px);max-height:102px;margin:0 auto;object-position:center}#home .home-copy{grid-template-areas:"tabs tabs" "setup setup" "config best" "actions actions" "learn resume" "storage storage";grid-template-columns:repeat(2,minmax(0,1fr));align-self:center;align-items:center;gap:4px 8px;padding:9px}#home .mode-tabs{grid-area:tabs}#home .setup{grid-area:setup}#home .mode-config{grid-area:config;height:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#home #home-best{grid-area:best;font-size:11px}#home .home-actions{grid-area:actions}#home .home-secondary{grid-area:learn}#home .home-resume-summary{grid-area:resume}#home #home-storage{grid-area:storage}#home .home-art,#home .home-foot{display:none}}[data-action=sound]>svg{pointer-events:none}#audio-flyout{position:fixed;z-index:80;width:min(330px,calc(var(--view-width, 100vw) - 16px));max-width:calc(var(--view-width, 100vw) - 16px);max-height:calc(var(--view-height, 100dvh) - 16px);display:grid;gap:8px;padding:8px 12px 12px;overflow:auto;overscroll-behavior:contain;color:#e2ddd2;background:linear-gradient(145deg,#273037,#182128 80%);border:1px solid #75644e;border-radius:14px;box-shadow:0 14px 42px #0009,inset 0 1px #ffffff08}#audio-flyout[hidden]{display:none!important}#audio-flyout .audio-flyout-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}#audio-flyout .audio-flyout-head strong{color:#ead3ae;font-size:14px;font-weight:650;letter-spacing:.025em}#audio-flyout .audio-flyout-row{display:grid;grid-template-columns:44px 44px minmax(0,1fr) 32px;align-items:center;gap:8px;min-height:44px}#audio-flyout .audio-channel-label{color:#deddd4;font-size:13px;font-weight:600;line-height:1.2}#audio-flyout .audio-channel-mute,#audio-flyout .audio-flyout-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:1px solid #4b575e;border-radius:9px;color:#d0d4d3;background:#263139}#audio-flyout .audio-flyout-close{border-color:transparent;background:transparent;color:#bdc5c7}#audio-flyout .audio-channel-mute:hover,#audio-flyout .audio-flyout-close:hover{border-color:#9b815b;color:#f0d3a3;background:#33332f}#audio-flyout .audio-channel-mute[aria-pressed=true]{color:#f0cd92;border-color:#ad8b55;background:#3a3126}#audio-flyout button:focus-visible,#audio-flyout input:focus-visible{outline:2px solid #e1bf82;outline-offset:2px}#audio-flyout svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}#audio-flyout input[type=range]{display:block;width:100%;min-width:0;height:44px;min-height:44px;margin:0;padding:0;accent-color:#d0ad71;cursor:pointer;touch-action:none;font-size:16px}#audio-flyout .audio-channel-level{min-width:0;font-size:11px;line-height:1.2;text-align:right;color:#d4bd94;font-variant-numeric:tabular-nums}#audio-flyout #audio-flyout-status{margin:0;color:#b5c0c4;font-size:11px;line-height:1.4;overflow-wrap:anywhere}#audio-flyout #audio-flyout-status:empty{display:none}@media(max-width:350px){#audio-flyout{padding-right:10px;padding-left:10px}#audio-flyout .audio-flyout-row{grid-template-columns:42px 44px minmax(0,1fr) 30px;gap:6px}#audio-flyout .audio-channel-label{font-size:12px}}
