:root{font-family:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;color:#4b6d5c;background:#f7f6ec;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 5%,#e8f0dc,transparent 50%),#f7f6ec}button{font:inherit;border:0;cursor:pointer;touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #d99d72;outline-offset:3px}[hidden]{display:none!important}.site-nav{max-width:1160px;margin:auto;padding:24px 18px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:800}.brand>span{display:grid;place-items:center;width:33px;height:33px;border:2px solid #537963;background:#dfeaca;border-radius:11px;box-shadow:2px 2px #537963}.brand small{font-size:10px;color:#97a48c;font-weight:500;margin-left:5px}main{max-width:1160px;margin:auto;padding:0 18px}.shell{position:relative;background:#fcfaef;border:1px solid #cddbc5;border-radius:19px;overflow:hidden;box-shadow:0 15px 40px #4a76521b}.heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 21px;min-height:62px;border-bottom:1px solid #e1e8d4}.heading>div{display:flex;align-items:center;gap:12px}.number{display:grid;place-items:center;width:32px;height:32px;font:700 14px ui-monospace;border:1px solid #a3b996;border-radius:50%;color:#8ca27b}.heading b{font-size:17px;letter-spacing:2px}.heading small{font:9px ui-monospace;letter-spacing:1.8px;color:#9ca98e}.heading nav{display:flex;gap:6px}.heading button{font-size:10px;background:#f0f4e4;border:1px solid #d8e2cb;color:#889e7c;padding:8px 10px;border-radius:7px}.heading button:hover{background:#e5efd9}.stage{position:relative;isolation:isolate;height:490px;max-height:650px;background:#edf4e7;container-type:size;overflow:hidden}canvas{display:block;width:100%;height:100%;object-fit:contain;touch-action:none}.screen{position:absolute;inset:0;z-index:3}.home-screen{display:flex;align-items:center;padding:4% 6%;background:linear-gradient(90deg,#fbf9eafb,#fbf8e9e8 39%,#fbf8e900 75%)}.hero-copy{width:57%;max-width:520px}.eyebrow{font-size:clamp(7px,2.1cqh,10px);font-weight:750;letter-spacing:2px;color:#9bab88;margin:0 0 3cqh}.hero-copy h1{font-size:clamp(24px,15cqh,69px);font-weight:900;line-height:1.05;letter-spacing:4px;margin:0;color:#6a9b7c}.hero-copy h1 span{display:block;margin-top:2cqh;color:#658674}.hero-copy h1 i{font-style:normal;font-size:.66em;color:#d9b383;margin-left:13px}.english{font:clamp(7px,2.1cqh,10px) ui-monospace;letter-spacing:3px;color:#acb096;margin:4cqh 0}.intro{font-size:clamp(9px,3.1cqh,14px);line-height:1.8;color:#7c906e;margin:0}.hero-badge{position:absolute;right:7%;top:13%;color:#8da482;transform:rotate(5deg);padding:10px 0;border-top:1px solid #adbc9e}.hero-badge span{font:clamp(6px,2cqh,10px) ui-monospace;letter-spacing:2px}.hero-badge b{display:block;font-size:clamp(12px,5.2cqh,24px);line-height:1.5;letter-spacing:3px;margin-top:2cqh}.lobby{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:18px 22px;background:#fbf9ed;border-top:1px solid #dde5cf}.lobby-settings{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.mode-tabs{display:flex;border:1px solid #b7c9a6;border-radius:8px;overflow:hidden;background:#f0f4e5}.mode-tabs button{font-size:11px;color:#94a781;padding:11px 13px;background:none;white-space:nowrap}.mode-tabs button.active{background:#6c957a;color:#fcf7dd}.levels{display:flex;gap:7px}.level-button{border:1px solid #c9d6b9;border-radius:8px;background:#fcfaed;padding:8px 10px;text-align:left;min-width:98px;color:#8ea17d}.level-button.active{border:2px solid #8aad8c;padding:7px 9px;background:#edf2dd}.level-button b{display:block;font-size:11px}.level-button span{display:block;font-size:10px;letter-spacing:2px;margin-top:4px;color:#baa06b}.lobby-start{min-width:235px}.primary,.secondary{display:block;width:100%;min-height:42px;border-radius:9px;padding:12px 18px;font-size:13px;font-weight:750;margin-top:10px}.primary{background:#71977d;color:#fff8dd;box-shadow:0 3px #52795f}.primary:hover{background:#81a489}.primary span{float:right;color:#eed4a5}.secondary{border:1px solid #c6d5b5;background:#eef3df;color:#8da17b}.lobby .primary{margin-top:0}.lobby-start p{font-size:8px;color:#879975;text-align:center;margin:10px 0 0}.text-button{display:block;padding:8px;margin:11px auto 0;background:transparent;color:#a2b08f;font-size:11px}.hud{display:flex;align-items:center;gap:25px;min-height:64px;padding:10px 22px;background:#f1f5e7;border-bottom:1px solid #dce5ce}.player-health,.opponent-health{display:flex;align-items:center;gap:9px}.player-dot{width:28px;height:28px;border-radius:50%;border:3px solid #fff9e4;box-shadow:0 2px 5px #71875c22}.player-dot.peach{background:#e9b286}.player-dot.mint{background:#9ed1da}.player-health b,.opponent-health b{display:block;font-size:10px;color:#8ba07a;margin-bottom:4px}.player-health span:not(.player-dot),.opponent-health span:not(.player-dot){display:block;color:#dba394;font-size:12px;letter-spacing:2px}.round-info{flex:1;display:flex;flex-direction:column;gap:5px}.round-info b{font-size:12px;color:#70917a}.round-info span{font-size:9px;color:#80936e}.timer{display:flex;flex-direction:column;align-items:center;gap:1px}.timer b{font:700 25px ui-monospace;color:#9caf84}.timer.warning b{color:#d1977d}.timer span{font-size:8px;color:#839771}.hud>button{border:1px solid #cad8bc;border-radius:7px;color:#87a075;background:#e7efd9;padding:9px 12px}.gear{display:flex;align-items:center;justify-content:center;gap:25px;background:#f5f7e9;border-top:1px solid #dde6cb;padding:10px 15px;font-size:10px;color:#81936f}.gear b{color:#7f9c79;margin:0 3px}.game-footer{display:flex;justify-content:space-between;gap:12px;padding:11px 20px;border-top:1px solid #e4e9d5;color:#829371;font-size:9px}.game-footer>span:last-child{font:8px ui-monospace;letter-spacing:1px;white-space:nowrap}.shade{display:grid;place-items:center;background:#41644ab0;backdrop-filter:blur(5px);padding:15px;overflow:auto}.panel{background:#fcfaeb;border:1px solid #e5ebcc;border-radius:16px;padding:26px;width:350px;max-width:100%;text-align:center;box-shadow:0 15px 40px #31564022;max-height:100%;overflow:auto}.panel .eyebrow{font-size:9px;letter-spacing:2px;margin:0 0 12px}.panel h2{font-size:25px;letter-spacing:2px;margin:8px 0 17px;color:#6d9476}.panel>p:not(.eyebrow){font-size:12px;color:#7d8e6c;line-height:1.8;margin:12px 0 20px}.guide{width:700px;text-align:left}.guide h2{font-size:24px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 23px;margin:22px 0}.guide-grid b{font-size:12px;color:#819d78}.guide-grid p{font-size:11px;line-height:1.85;color:#788a69;margin:7px 0 0}.guide .help-keys{font-size:10px!important;margin:15px 0!important}.guide .primary{max-width:280px;margin:10px auto 0;text-align:center}.stars{color:#ccb57d;font-size:32px;letter-spacing:6px;margin:12px 0}.result-stats{display:flex;justify-content:center;gap:9px;font-size:11px;color:#9dae8d;margin:17px 0}.result-stats span{padding:9px 10px;border-radius:7px;background:#edf2dd}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding:30px 5px}.features article{display:flex;gap:12px}.features article>span{font-size:30px;color:#b7c3a2}.features h2{font-size:13px;margin:0 0 7px}.features p{font-size:11px;color:#82966f;line-height:1.85;margin:0}body>footer{max-width:1160px;margin:auto;padding:0 20px 30px;font-size:9px;color:#899a76;text-align:center;line-height:2}footer a{text-decoration:underline;text-underline-offset:3px}#toast{position:fixed;bottom:23px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;transition:.2s;z-index:99;background:#53785eec;color:#fff7d9;border-radius:9px;padding:12px 18px;font-size:12px;text-align:center;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.touchbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 22px;background:#f1f5e5;border-top:1px solid #dde6ca;user-select:none}.dpad{display:grid;grid-template-columns:repeat(3,29px);grid-template-rows:repeat(3,25px);gap:3px}.dpad button{width:29px;height:25px;border:1px solid #b9cfa9;border-radius:7px;color:#8baa78;background:#e4efcf;touch-action:none;font-size:10px;box-shadow:0 2px #cfddba}.dpad .up{grid-area:1/2}.dpad .left{grid-area:2/1}.dpad .right{grid-area:2/3}.dpad .down{grid-area:3/2}.dpad>span{grid-area:2/2;display:grid;place-items:center;color:#c2c99d;font-size:14px}.bubble-button{width:69px;height:69px;border:2px solid #d0e8df;border-radius:50%;background:radial-gradient(circle at 30% 25%,#effdf0,#a2d6ce);color:#64958b;box-shadow:0 3px #a9c7b6;display:flex;align-items:center;justify-content:center;flex-direction:column;touch-action:none}.bubble-button i{font-style:normal;font-size:24px;line-height:1}.bubble-button span{font-size:10px;margin-top:4px}.touchbar button.pressed,.touchbar button:active{filter:brightness(.93);transform:translateY(1px)}.touch-note{font-size:9px;color:#839b6c;text-align:center;line-height:1.9}.in-game .site-nav,.in-game .features,.in-game>footer{display:none}.in-game main{padding-top:9px}.shell:fullscreen{width:100%;height:100%;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center}.shell:fullscreen .stage{flex-shrink:0}.shell:fullscreen .lobby{flex-shrink:0}
@media(max-width:900px){.heading{padding:10px 14px;min-height:55px}.heading b{font-size:14px}.heading small{display:none}.heading nav button{font-size:9px;padding:7px 8px}.lobby{padding:14px;gap:15px}.lobby-settings{gap:9px}.lobby-start{min-width:185px}.mode-tabs button{padding:9px;font-size:10px}.level-button{min-width:82px;padding:7px 8px}.level-button.active{padding:6px 7px}.level-button b{font-size:9px}.level-button span{font-size:8px}.primary{font-size:12px;padding:11px 14px}.hud{gap:16px;padding:9px 15px;min-height:59px}.gear{gap:17px;font-size:9px;padding:9px 12px}.features{gap:15px}.features article{gap:8px}.features h2{font-size:12px}.guide{padding:20px}.guide h2{font-size:21px}.guide-grid{gap:14px;margin:17px 0}.guide-grid p{font-size:10px}}
@media(max-width:560px){.site-nav{padding:14px 11px;font-size:9px}.brand{font-size:13px;gap:7px}.brand>span{width:28px;height:28px;font-size:13px}.brand small{display:none}main{padding:0 8px}.in-game main{padding-top:5px}.shell{border-radius:12px}.heading{padding:9px 10px;min-height:48px}.heading>div{gap:7px}.number{width:25px;height:25px;font-size:11px}.heading b{font-size:11px;letter-spacing:1px}.heading nav{gap:3px}.heading nav button{font-size:8px;padding:6px 5px}.home-screen{padding:3% 5%;background:linear-gradient(90deg,#fbf9eaf9,#fbf8e9d0 44%,#fbf8e900 90%)}.hero-copy{width:64%}.hero-copy h1{letter-spacing:2px}.hero-badge{right:5%;letter-spacing:1px;top:9%;padding:6px 0}.hero-badge b{letter-spacing:1px}.hero-badge span{letter-spacing:1px}.lobby{padding:11px;display:block}.lobby-settings{display:flex;align-items:center;gap:8px}.mode-tabs{width:100%}.mode-tabs button{flex:1;padding:7px;font-size:10px}.levels{width:100%;gap:5px}.level-button{flex:1;min-width:0;padding:6px 7px}.level-button.active{padding:5px 6px}.level-button b{font-size:9px}.level-button span{font-size:8px;letter-spacing:1px}.lobby-start{margin-top:10px;min-width:0;display:flex;align-items:center;gap:10px}.lobby .primary{flex:1;min-height:34px;padding:9px 12px;font-size:11px}.lobby-start p{font-size:7px;line-height:1.9;width:80px;margin:0}.hud{gap:9px;padding:8px 10px;min-height:55px}.player-dot{width:22px;height:22px;border-width:2px}.player-health,.opponent-health{gap:5px}.player-health b,.opponent-health b{font-size:8px;margin-bottom:3px}.player-health span:not(.player-dot),.opponent-health span:not(.player-dot){font-size:9px;letter-spacing:1px}.round-info b{font-size:9px}.round-info span{font-size:8px}.timer b{font-size:20px}.timer span{font-size:7px}.hud>button{padding:7px 8px;font-size:12px}.gear{gap:11px;padding:8px 9px;font-size:8px;flex-wrap:wrap}.gear b{margin:0 1px}.game-footer{padding:9px 10px;font-size:7px}.game-footer>span:last-child{font-size:6px;letter-spacing:0}.touchbar{padding:8px 18px}.features{grid-template-columns:1fr;gap:17px;padding:22px 5px}.features h2{font-size:11px;margin-bottom:5px}.features p{font-size:9px}.features article>span{font-size:24px}.panel{padding:17px;width:290px}.panel .eyebrow{font-size:7px;margin:0 0 8px}.panel h2{font-size:20px;margin:5px 0 10px}.panel>p:not(.eyebrow){font-size:10px;margin:9px 0 13px}.panel .primary,.panel .secondary{font-size:11px;padding:9px 12px;min-height:34px}.stars{font-size:25px;margin:9px 0}.result-stats{font-size:9px;margin:12px 0;gap:6px}.result-stats span{padding:8px}.guide h2{font-size:17px;letter-spacing:1px}.guide-grid{grid-template-columns:1fr;gap:11px;margin:13px 0}.guide-grid b{font-size:10px}.guide-grid p{font-size:9px;margin:5px 0 0}.guide .help-keys{font-size:9px!important}.text-button{font-size:10px;padding:6px}.opponent-health .player-dot{display:none}}
@media(max-height:550px) and (orientation:landscape){.site-nav,.features,body>footer{display:none}main{padding:0 8px}.in-game main{padding-top:3px}.heading{padding:6px 13px;min-height:39px}.number{width:24px;height:24px;font-size:11px}.heading b{font-size:12px}.heading button{padding:5px 7px;font-size:9px}.hud{min-height:46px;padding:6px 13px;gap:17px}.player-health b,.opponent-health b{font-size:8px}.player-health span:not(.player-dot),.opponent-health span:not(.player-dot){font-size:10px}.round-info b{font-size:10px}.round-info span{font-size:8px}.timer b{font-size:20px}.timer span{display:none}.hud>button{padding:6px 10px}.gear,.game-footer{display:none!important}.touchbar{position:absolute;left:12px;right:12px;bottom:14px;height:0;padding:0;border:0;background:transparent;align-items:end;pointer-events:none;z-index:2}.touchbar>*{pointer-events:auto}.touchbar .touch-note{display:none}.dpad{grid-template-columns:repeat(3,26px);grid-template-rows:repeat(3,24px);gap:3px}.dpad button{width:26px;height:24px;background:#e4efcfdb;backdrop-filter:blur(3px)}.bubble-button{width:61px;height:61px}.lobby{padding:9px 13px;gap:12px;display:flex}.lobby-settings{gap:8px;flex-wrap:wrap}.mode-tabs{width:auto}.mode-tabs button{font-size:9px;padding:8px 10px}.levels{width:auto;gap:5px}.level-button{min-width:80px;padding:5px 7px}.level-button.active{padding:4px 6px}.level-button b{font-size:9px}.level-button span{font-size:8px;letter-spacing:1px}.lobby-start{min-width:150px;margin:0;display:block}.lobby .primary{font-size:10px;min-height:32px;padding:8px 10px}.lobby-start p{display:none}.panel{padding:15px}.panel h2{font-size:20px;margin:5px 0 9px}.panel>p:not(.eyebrow){font-size:10px;margin:8px 0}.panel .primary,.panel .secondary{min-height:31px;padding:8px}.stars{font-size:23px;margin:7px 0}.result-stats{font-size:9px;margin:9px 0}.guide{width:690px}.guide h2{font-size:18px}.guide-grid{grid-template-columns:1fr 1fr;gap:9px 16px;margin:10px 0}.guide-grid b{font-size:11px}.guide-grid p{font-size:9px;margin:4px 0}.guide .help-keys{font-size:9px!important;margin:10px 0!important}}
@container (max-height:180px){.hero-copy .intro,.hero-copy .english{display:none}.hero-copy h1{display:flex;gap:8px;font-size:29px}.hero-copy h1 span{margin:0}.hero-copy h1 i{display:none}.hero-copy .eyebrow{margin:0 0 10px}.hero-badge b{font-size:13px}.hero-badge span{font-size:7px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(max-width:500px) and (min-height:551px){.touchbar{padding:10px 16px;gap:14px}.touch-note{display:none}.dpad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,40px);gap:4px}.dpad button{width:44px;height:40px}}
