:root{color-scheme:dark;--bg:#101b21;--panel:#16262c;--line:#30444a;--ink:#e2ede7;--muted:#91a9ab;--mint:#a5daca;--peach:#efbd91;font-family:Inter,"Avenir Next","Segoe UI","PingFang SC","Hiragino Sans",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.35}button,a,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible,canvas:focus-visible,summary:focus-visible{outline:3px solid var(--peach);outline-offset:4px}[hidden]{display:none!important}.game{width:min(1100px,100%);padding:25px 24px 16px;margin:auto}.game-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.identity{display:flex;align-items:center;gap:13px}.mark{width:40px;height:40px;fill:none;stroke:var(--mint);stroke-width:2}.mark circle{fill:var(--peach);stroke:var(--peach)}.eyebrow,.label{font-size:10px;letter-spacing:1.6px;font-weight:600;color:var(--muted)}.eyebrow{margin:0 0 7px}h1{margin:0;font-size:24px;font-weight:550;letter-spacing:1px}.language select{max-width:130px;border:1px solid var(--line);border-radius:6px;background:#172a30;color:#c3d5d0;padding:9px 10px;font-size:12px}.cabinet{border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden}.topline{display:flex;justify-content:space-between;gap:12px;padding:17px 23px;border-bottom:1px solid var(--line);font:9px ui-monospace,monospace;letter-spacing:1.6px;color:#a2bcbb}.topline i,.statusbar i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--mint);margin-right:9px}.topline>span:last-child{color:#67878a;font-size:8px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 206px;gap:24px;padding:24px}.board-wrap{position:relative;border-radius:9px;overflow:hidden;background:#0b1a24;border:1px solid #35515a}canvas{display:block;width:100%;height:auto;aspect-ratio:4/3;touch-action:none;outline-offset:-4px!important}.screen{position:absolute;inset:0;display:grid;place-items:center;background:#0b1a24dc;backdrop-filter:blur(5px);padding:22px}.screen-content{max-width:355px;text-align:center;display:flex;flex-direction:column;align-items:center}.screen-symbol{color:var(--mint);font-size:50px;line-height:1.2;margin-bottom:15px}.screen .eyebrow{font:8px ui-monospace,monospace;letter-spacing:2px}.screen h2{font-size:27px;font-weight:500;line-height:1.45;letter-spacing:.5px;margin:10px 0 13px}.screen p{font-size:13px;line-height:1.9;color:#a7c0c0;margin:0 0 25px;max-width:300px}.primary{display:flex;justify-content:space-between;align-items:center;gap:32px;min-width:160px;min-height:46px;border:0;border-radius:6px;background:var(--mint);color:#18342f;padding:12px 23px;font-size:14px;font-weight:650}.primary:hover{background:#c7eee0}.primary b{font-size:18px}.serve-banner{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;width:90%;pointer-events:none}.serve-banner>*{pointer-events:auto}.serve-banner p{margin:0 0 14px;font-size:13px;letter-spacing:1px;color:#b1c8c8;text-align:center;background:#0b1a2488;border-radius:6px;padding:7px 12px}.serve-banner .primary{background:var(--peach);color:#3f2e22;min-width:145px}.serve-hint{font-size:10px;margin-top:10px;color:#789b9e}.control-strip{display:flex;align-items:center;gap:9px;margin-top:14px}.control-strip button{min-width:45px;min-height:41px;border:1px solid #3b5960;border-radius:6px;background:#1d333a;color:#bbd7d2;font-size:19px;user-select:none;-webkit-user-select:none}.control-strip button.held{background:#4a6b66;color:#fff}.control-strip>span{font-size:10px;color:#7f9fa2;flex:1;margin-left:5px}.control-strip #launch-touch{font-size:11px;min-width:65px;padding:0 10px}.board-caption{display:flex;align-items:center;justify-content:space-between;color:#60878d;font:8px ui-monospace,monospace;letter-spacing:1.4px;margin-top:16px}.board-caption>span:last-child{font-size:17px;color:var(--peach)}.sidebar{display:flex;flex-direction:column;gap:16px;min-width:0}.score-card{padding-bottom:16px;border-bottom:1px solid var(--line)}.score-card>strong{display:block;font:37px ui-monospace,monospace;letter-spacing:-1px;color:var(--mint);margin:9px 0 16px}.lives{display:flex;align-items:center;justify-content:space-between;gap:10px}.lives>span:last-child{color:var(--peach);font-size:11px;letter-spacing:3px}.best-card{display:flex;align-items:center;justify-content:space-between;gap:7px}.best-card strong{font:17px ui-monospace,monospace}.best-card>span:last-child{color:#77999b;font-size:15px}.stage-card{border-top:1px solid var(--line);padding-top:15px}.stage-title{display:flex;justify-content:space-between;align-items:center}.stage-title strong{font:17px ui-monospace,monospace;color:#d0deda}.stage-title small{font-size:10px;color:#6c8d92}.stage-card h2{font-size:16px;font-weight:500;margin:11px 0 13px;color:#c3d7d3}.stage-dots{display:grid;grid-template-columns:repeat(6,1fr);gap:5px}.stage-dots i{height:3px;background:#2d454c;border-radius:2px}.stage-dots i.done{background:var(--mint)}.stage-dots i.active{background:var(--peach)}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stats strong{display:block;font:25px ui-monospace,monospace;margin-top:8px}.stats>div:last-child strong{color:#c0b4e4}.power-card{border:1px solid #355057;border-radius:6px;padding:12px 11px 9px;background:#162b32}.power-card>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:5px}.power-card strong{font:11px ui-monospace,monospace;color:var(--peach)}.power-track{height:3px;border-radius:2px;background:#30434a;margin:12px 0 9px;overflow:hidden}.power-track i{display:block;height:100%;width:0;background:var(--peach)}.power-card p{font-size:9px;line-height:1.7;color:#7e9fa1;margin:0}.actions{display:flex;flex-direction:column;gap:7px;margin-top:auto}.actions button{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid var(--line);border-radius:5px;background:#1a3037;color:#bdcfcd;min-height:40px;font-size:12px}.actions button:hover:enabled{background:#28464d;border-color:#6b9995}.actions b{font-size:17px;font-weight:400;color:var(--mint)}kbd{font:10px ui-monospace,monospace;margin-left:auto;color:#6d9195}.statusbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;border-top:1px solid var(--line);padding:12px 23px;font-size:10px;color:var(--muted)}.statusbar>span:first-child{display:flex;align-items:center}.statusbar i{background:#5c7c83;margin-right:7px;flex-shrink:0}.statusbar i.active{background:var(--mint);box-shadow:0 0 8px #a5daca44}.statusbar>span:last-child{font-size:9px;color:#71979b;flex-shrink:0}.instructions{margin:24px 2px 0}.instructions h2{font-size:15px;font-weight:500;margin:0 0 10px;letter-spacing:.5px}.instructions p{font-size:11px;line-height:1.9;color:var(--muted);margin:7px 0}.instructions details{margin-top:13px}.instructions summary{cursor:pointer;font-size:11px;color:#b2cfca;width:max-content;padding:4px 0}.instructions details p{max-width:760px}.notice{font-size:11px;line-height:1.8;color:var(--peach);padding:10px 13px;background:#efbd910a;border:1px solid #efbd9122;border-radius:5px}footer{margin-top:23px;display:flex;justify-content:space-between;color:#63878c;font-size:9px}footer a{color:#97b9b8;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:800px){.game{padding:18px 15px 15px}.play-layout{grid-template-columns:minmax(0,1fr) 170px;gap:16px;padding:16px}.sidebar{gap:13px}.label{font-size:9px;letter-spacing:1px}.score-card>strong{font-size:29px}.score-card{padding-bottom:13px}.best-card strong{font-size:14px}.stage-card{padding-top:12px}.stage-card h2{margin:8px 0 11px}.power-card{padding:10px 9px 8px}.power-card p{font-size:8px}.actions button{min-height:37px;font-size:11px}.screen h2{font-size:23px}.screen-symbol{font-size:39px;margin-bottom:8px}.screen p{font-size:11px;margin-bottom:18px}.screen .eyebrow{font-size:7px}.primary{font-size:12px;min-height:43px;min-width:145px}.serve-banner p{font-size:11px;padding:5px 9px}.serve-hint{font-size:8px}.serve-banner .primary{min-width:120px;min-height:38px;padding:8px 17px}.topline{padding:15px 17px;font-size:8px}.topline>span:last-child{font-size:7px;letter-spacing:1px}.control-strip{gap:6px}.control-strip>span{font-size:8px}.control-strip button{min-width:39px;min-height:38px}.control-strip #launch-touch{min-width:50px;font-size:10px}.board-caption{letter-spacing:1px;font-size:7px}.statusbar{padding:12px 17px}}
@media(max-width:580px){.game{padding:16px 12px 14px}.game-header{margin-bottom:17px}.identity{gap:9px}.mark{width:34px;height:34px}h1{font-size:21px}.game-header .eyebrow{font-size:7px;letter-spacing:1.1px}.language select{font-size:10px;padding:8px;max-width:112px}.topline{padding:13px;font-size:8px}.topline>span:last-child{font-size:6px;letter-spacing:.8px}.play-layout{display:flex;flex-direction:column;padding:12px;gap:18px}.screen{padding:16px}.screen h2{font-size:22px;margin:8px 0 9px}.screen-symbol{font-size:32px;margin-bottom:7px}.screen p{font-size:11px;line-height:1.75;margin-bottom:17px;max-width:260px}.screen .eyebrow{font-size:6px;letter-spacing:1.4px}.primary{min-height:40px;padding:10px 18px;font-size:12px}.control-strip{margin-top:11px;gap:7px}.control-strip button{min-width:48px;min-height:44px}.control-strip #launch-touch{min-width:58px}.control-strip>span{line-height:1.5;font-size:9px;margin:0;text-align:center}.board-caption{margin-top:12px;font-size:6px;letter-spacing:1px}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}.score-card{border:0;padding:0;grid-column:1;grid-row:1}.score-card>strong{font-size:29px;margin:7px 0 11px}.lives{justify-content:flex-start;gap:12px}.lives .label{font-size:8px}.lives>span:last-child{font-size:10px;letter-spacing:2px}.best-card{grid-column:1;grid-row:2;align-self:start;justify-content:flex-start;gap:12px}.best-card>span:last-child{display:none}.stage-card{grid-column:2;grid-row:1;padding:0;border:0}.stage-card h2{font-size:15px;margin:9px 0 14px}.stats{grid-column:2;grid-row:2;gap:8px}.stats strong{font-size:23px;margin-top:6px}.power-card{grid-column:1;grid-row:3;padding:11px 9px 9px}.power-card p{font-size:8px}.actions{grid-column:2;grid-row:3;margin:0;gap:6px}.actions button{min-height:38px;font-size:11px;padding:8px 10px}.statusbar{padding:12px 13px;font-size:9px}.statusbar>span:last-child{font-size:8px}.instructions{margin-top:20px}.instructions>p{font-size:10px}.serve-banner{top:52%}.serve-banner p{font-size:10px;margin-bottom:9px}.serve-banner .primary{min-height:36px;min-width:115px}.serve-hint{font-size:8px;margin-top:7px}}
@media(max-width:360px){h1{font-size:19px}.game-header .eyebrow{font-size:6px}.screen h2{font-size:20px}.screen p{font-size:10px}.screen-symbol{display:none}.control-strip>span{font-size:8px}.control-strip button{min-width:42px}.best-card{gap:7px}.label{font-size:8px}.power-card strong{font-size:10px}.statusbar{font-size:8px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,border-color .15s}.power-track i{transition:width .12s}}
