@charset "UTF-8";
:root{color-scheme:dark;--ink:#091722;--white:#eff8f1;--muted:#90aaa9;--mint:#b9ffe2;--gold:#f8dbaa;--coral:#ff747d;--font:"Trebuchet MS","Avenir Next",Avenir,sans-serif}
*{box-sizing:border-box}html{height:100%;overscroll-behavior:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}body{margin:0;height:100%;background:var(--ink);color:var(--white);font-family:var(--font);overflow:hidden;overscroll-behavior:none}button,a{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid var(--mint);outline-offset:5px}button{border:0}button:active{transform:scale(.96)}[hidden]{display:none!important}#app{height:100vh;height:100dvh;min-height:300px;position:relative;overflow:hidden;isolation:isolate}#game-canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair;outline:none}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(6,18,29,.55),transparent 22%,transparent 70%,rgba(6,18,29,.5));z-index:1}.topbar{position:absolute;top:0;left:0;right:0;padding:calc(28px + env(safe-area-inset-top)) max(36px,env(safe-area-inset-right)) 0 max(36px,env(safe-area-inset-left));display:flex;align-items:center;gap:30px;z-index:12;pointer-events:none}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--white);pointer-events:auto}.brand svg{width:38px;height:38px;fill:none;stroke:var(--mint);stroke-width:1.4;stroke-linecap:round}.brand>span{font-size:29px;font-weight:bold;letter-spacing:-1.7px;line-height:1}.brand-dot{color:var(--mint)}.home-best{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin-left:auto}.home-best strong{font-size:14px;color:var(--white);font-weight:400;font-variant-numeric:tabular-nums}.tiny-star{font-size:23px;color:var(--gold)}.top-actions{display:flex;align-items:center;gap:10px;margin-left:auto;pointer-events:auto}.home-best+.top-actions{margin-left:0}.icon-button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #b8e7de26;background:#0d252b59;border-radius:50%;transition:background .15s,transform .12s;color:#bfd6d2;backdrop-filter:blur(8px)}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sound-off{display:none}#sound-button[aria-pressed=false] .sound-on{display:none}#sound-button[aria-pressed=false] .sound-off{display:block}.screen{position:absolute;inset:0;z-index:5}.home-screen{pointer-events:none}.home-copy{position:absolute;left:9%;top:50%;transform:translateY(-49%);pointer-events:auto;max-width:660px}.intro-line{color:#a6bdb8;display:flex;gap:10px;align-items:center;font-size:13px;letter-spacing:.3px;margin-bottom:24px}.live-dot{height:5px;width:5px;border-radius:100%;background:var(--mint);box-shadow:0 0 14px #a9ffde}.home-copy h1{font-size:clamp(45px,5.1vw,82px);line-height:1.09;letter-spacing:-4.5px;font-weight:400;margin:0 0 24px}.home-copy h1 span{color:#bce2d5}.home-description{font-size:15px;line-height:1.8;color:#9ab4b1;margin:0 0 33px}.home-cta{display:flex;align-items:center;gap:26px}.primary-button{display:flex;justify-content:center;align-items:center;gap:15px;border-radius:5px;background:var(--mint);color:#102c29;min-height:56px;padding:0 26px;font-weight:bold;font-size:14px;box-shadow:0 4px 28px #83ffd51a;transition:transform .12s,background .15s;white-space:nowrap}.primary-button svg{width:20px;height:20px;fill:currentColor}.primary-button>span:last-child:not(:first-child){font-size:17px}.primary-button>span:only-child{font-size:14px}.text-button{background:none;color:#b6ccc5;display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 0;min-height:44px;font-size:13px;transition:color .15s,transform .12s}.help-mark{border:1px solid #7f9f9470;border-radius:50%;width:18px;height:18px;display:grid;place-items:center;font-size:11px}.home-details{display:flex;align-items:center;gap:12px;margin-top:23px;color:#789891;font-size:11px}.detail-dot{width:3px;height:3px;background:#6c9083;border-radius:50%}.art-caption{position:absolute;top:80%;left:66.5%;transform:translateX(-50%);color:#8cae9f;font-size:11px;white-space:nowrap;letter-spacing:.3px}.caption-line{display:block;width:1px;height:26px;background:linear-gradient(transparent,#a8d3b785);margin:0 auto 13px}.home-bottom{position:absolute;bottom:27px;left:36px;right:36px;display:flex;align-items:center;gap:8px;font-size:11px;color:#78928e;padding-bottom:env(safe-area-inset-bottom)}.headphone-icon{color:var(--gold);font-size:17px}.edition{margin-left:auto;font-size:11px;color:#5e817d}.is-home .vignette{background:linear-gradient(90deg,#091722cd,transparent 83%),linear-gradient(0deg,#09172277,transparent 20%)}.game-hud{position:absolute;inset:0;z-index:3;pointer-events:none}.score-block{position:absolute;left:36px;top:116px}.hud-label{display:block;color:#83a39c;font-size:11px;margin-bottom:3px}.score-block>strong{font-size:55px;line-height:1.15;font-weight:400;letter-spacing:-2px;font-variant-numeric:tabular-nums}.combo-display{font-size:22px;color:var(--gold);margin-top:4px;opacity:0;transition:opacity .2s}.combo-display.is-active{opacity:1}.combo-display span{font-size:11px;margin-left:3px;color:#a99575}.run-status{position:absolute;right:37px;top:116px;text-align:right}.timer-line{display:flex;align-items:baseline;gap:8px}#time-value{font-size:28px;font-weight:400;letter-spacing:-1px;font-variant-numeric:tabular-nums}.timer-label{font-size:10px;color:#75938b}.integrity{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.integrity i{width:7px;height:7px;transform:rotate(45deg);background:var(--mint);box-shadow:0 0 10px #a5ffd545;transition:background .25s,box-shadow .25s}.integrity i.lost{background:#304449;box-shadow:none}.phase-label{position:absolute;bottom:35px;left:36px;display:flex;align-items:center;gap:13px}.phase-label>span{font-size:35px;color:#59776d44;font-weight:400;letter-spacing:-2px}.phase-label div>span{font-size:12px;color:#9ab5ac}.phase-label small{display:block;font-size:10px;color:#597c73;margin-top:4px}.bottom-hud{position:absolute;bottom:35px;left:50%;transform:translateX(-50%);min-width:245px;max-width:90%;padding-bottom:env(safe-area-inset-bottom)}.context-hint{text-align:center;color:#91aea4;font-size:12px;margin-bottom:13px;white-space:nowrap;transition:color .2s}.thread-meter{display:flex;align-items:center;gap:9px;color:#729e8c}.thread-symbol{font-size:22px;line-height:1}.meter-track{width:150px;height:3px;border-radius:4px;background:#97dfbd1a;overflow:hidden}#energy-fill{height:100%;width:100%;background:var(--mint);box-shadow:0 0 8px #a4ffdc;transform-origin:left center;transition:background .2s}#energy-label{font-size:10px;white-space:nowrap}.toast{position:absolute;bottom:140px;left:50%;transform:translate(-50%,10px);padding:11px 20px;border:1px solid #cceede20;background:#11292de8;backdrop-filter:blur(12px);border-radius:30px;font-size:12px;color:var(--gold);opacity:0;z-index:16;pointer-events:none;transition:opacity .2s,transform .2s;white-space:nowrap}.toast.visible{opacity:1;transform:translate(-50%,0)}.announcement{position:absolute;top:40%;left:0;right:0;pointer-events:none;text-align:center;opacity:0;transform:scale(.96);z-index:4;transition:opacity .4s,transform .6s}.announcement.visible{opacity:1;transform:scale(1)}.announcement>span{display:block;color:#9dc4b5;letter-spacing:3px;font-size:11px;margin-bottom:12px}.announcement>strong{font-size:clamp(30px,5vw,62px);letter-spacing:-2px;font-weight:400;text-shadow:0 0 35px #a5ffbd66}.modal-screen{display:grid;place-items:center;background:#06121dbf;backdrop-filter:blur(16px);padding:25px;z-index:15;overflow-y:auto}.dialog{text-align:center;position:relative;width:100%;max-width:440px;padding:34px 30px;animation:dialog-in .35s ease-out}.dialog-eyebrow{font-size:12px;color:#8db1a0;margin:0 0 16px}.dialog h2{font-size:38px;letter-spacing:-1.9px;font-weight:400;margin:0 0 15px}.dialog>p:not(.dialog-eyebrow){font-size:13px;line-height:1.7;color:#91aaa1}.dialog .primary-button{width:100%;margin-top:30px}.dialog>.text-button{margin:8px auto 0}.dialog-symbol{font-size:28px;color:#b9eacb;margin-bottom:28px;letter-spacing:8px}.result-dialog{max-width:450px}.record-badge{display:inline-block;padding:7px 14px;color:var(--gold);font-size:11px;border:1px solid #bda36d55;border-radius:20px;margin-bottom:20px;background:#dccd9722}.result-score{font-size:88px;line-height:1.1;font-weight:400;letter-spacing:-5px;color:#e0ffdf;font-variant-numeric:tabular-nums;text-shadow:0 0 55px #b5ffcc30}.dialog p.result-score-label{margin:0 0 23px;color:#779e8a;font-size:11px}.result-stats{display:flex;justify-content:space-around;padding:22px 0;border-top:1px solid #9bceb51c;border-bottom:1px solid #9bceb51c;margin:25px 0 18px}.result-stats>div{display:flex;flex-direction:column;gap:6px;min-width:75px}.result-stats strong{font-size:23px;font-weight:400;color:#d0e8da}.result-stats span{font-size:10px;color:#749384}.dialog p.result-message{font-size:12px;max-width:300px;margin:auto}.close-button{position:absolute;right:2px;top:0;font-size:25px}.help-dialog{max-width:500px;padding:30px 20px}.help-steps{padding:12px 0 0;margin:0;list-style:none;text-align:left;display:grid;gap:25px}.help-steps li{display:flex;gap:16px;align-items:center}.help-steps svg{width:76px;height:66px;flex:none;fill:var(--gold);stroke:var(--mint);stroke-width:1.4}.help-steps .help-orbit{fill:none;stroke:var(--mint);stroke-width:1.3;stroke-dasharray:3 3}.help-steps .dim{opacity:.3}.help-steps svg.danger-example{fill:#ff697d22;stroke:var(--coral)}.help-steps strong{font-size:14px;font-weight:400;color:var(--mint)}.help-steps p{font-size:12px;line-height:1.65;color:#87a699;margin:7px 0 0}.help-footnote{display:flex;justify-content:space-between;margin-top:25px;font-size:10px;color:#638676;gap:10px}.help-dialog .primary-button{margin-top:25px}.is-playing .brand{opacity:.65}.is-playing .topbar{padding-top:calc(25px + env(safe-area-inset-top))}.is-playing .home-best{display:none}.is-playing .top-actions{margin-left:auto}.is-playing #fullscreen-button{display:none}.low-time #time-value{color:var(--coral)}
@media(hover:hover) and (pointer:fine){.primary-button:hover{background:#d1ffed;box-shadow:0 5px 35px #83ffd52b}.icon-button:hover{background:#21413f80;color:var(--white)}.text-button:hover{color:var(--mint)}}
@media(min-width:1600px){.home-copy{left:13%}.art-caption{left:69%}}
@media(max-width:900px) and (min-width:601px){.home-copy{left:6%;max-width:450px}.home-copy h1{font-size:52px;letter-spacing:-3px}.home-description{font-size:13px}.home-cta{gap:20px}.art-caption{left:75%;top:78%}.phase-label small{display:none}.phase-label{gap:9px}.phase-label>span{font-size:28px}}
@media(max-width:600px){.topbar{padding:calc(19px + env(safe-area-inset-top)) 22px 0;gap:15px}.brand svg{width:31px;height:31px}.brand>span{font-size:25px}.brand{gap:6px}.icon-button{width:39px;height:39px}.top-actions{gap:8px}.desktop-control{display:none}.home-best{font-size:10px;gap:5px}.home-best strong{font-size:12px}.tiny-star{font-size:19px}.home-copy{left:25px;right:25px;top:auto;bottom:109px;transform:none;max-width:none}.intro-line{font-size:10px;margin-bottom:15px;gap:8px}.home-copy h1{font-size:43px;line-height:1.09;letter-spacing:-2.6px;margin-bottom:17px}.home-description{font-size:12px;line-height:1.8;max-width:310px;margin-bottom:24px}.desktop-break{display:none}.home-cta{gap:22px}.primary-button{font-size:13px;min-height:53px;padding:0 22px;gap:11px}.home-cta .primary-button{flex:1;max-width:235px}.text-button{font-size:11px}.home-details{font-size:10px;margin-top:17px;gap:9px}.home-bottom{left:25px;right:25px;bottom:22px;font-size:10px}.edition{display:none}.art-caption{top:41%;left:auto;right:25px;transform:none;font-size:9px;text-align:right}.caption-line{display:none}.is-home .vignette{background:linear-gradient(0deg,#091722 6%,#091722d9 35%,transparent 72%)}.score-block{left:23px;top:calc(91px + env(safe-area-inset-top))}.score-block>strong{font-size:40px;letter-spacing:-1.5px}.hud-label{font-size:9px}.combo-display{font-size:20px}.run-status{right:24px;top:calc(91px + env(safe-area-inset-top))}#time-value{font-size:24px}.timer-label{font-size:9px}.integrity{gap:8px;margin-top:14px}.integrity i{width:6px;height:6px}.phase-label{left:23px;bottom:calc(76px + env(safe-area-inset-bottom));gap:8px}.phase-label>span{font-size:23px}.phase-label div>span{font-size:10px}.phase-label small{display:none}.bottom-hud{bottom:22px;min-width:230px}.context-hint{font-size:11px;margin-bottom:11px}.meter-track{flex:1;width:130px}.thread-meter{gap:8px}.thread-symbol{font-size:20px}#energy-label{font-size:9px}.toast{bottom:128px;font-size:11px;max-width:95%;white-space:normal;text-align:center}.dialog{padding:25px 10px}.dialog h2{font-size:32px;letter-spacing:-1.4px}.result-score{font-size:78px}.result-dialog .primary-button{margin-top:24px}.help-steps{gap:20px}.help-steps svg{width:61px}.help-steps li{gap:13px}.help-steps p{font-size:11px}.help-steps strong{font-size:13px}.help-footnote{font-size:9px}.help-dialog{max-width:420px}.home-screen .intro-line{color:#a5c6b4}}
@media(max-width:380px){.home-copy{left:22px;right:22px;bottom:98px}.home-copy h1{font-size:37px}.home-cta{gap:15px}.home-description{margin-bottom:17px}.home-details{font-size:9px}.home-bottom{font-size:9px}.home-best{display:none}.top-actions{margin-left:auto!important}.help-dialog h2{font-size:28px}}
@media(max-height:700px) and (max-width:600px){.home-copy{bottom:83px}.home-copy h1{font-size:36px;letter-spacing:-2px}.intro-line{margin-bottom:10px}.home-description{margin-bottom:17px;font-size:11px}.home-details{margin-top:13px;font-size:9px}.art-caption{top:36%}.home-bottom{bottom:16px}.help-steps{gap:13px}.help-dialog{padding-top:15px;padding-bottom:10px}.help-dialog h2{margin-bottom:5px}.help-dialog .primary-button{margin-top:16px}.help-footnote{margin-top:17px}.result-dialog{padding-top:15px;padding-bottom:10px}.result-score{font-size:67px}.result-stats{margin:16px 0;padding:17px 0}.result-dialog .primary-button{margin-top:18px}}
@media(max-height:500px) and (min-width:601px){.home-copy{top:51%;left:7%}.home-copy h1{font-size:43px;margin-bottom:12px;letter-spacing:-2px}.intro-line{margin-bottom:13px}.home-description{font-size:12px;margin-bottom:17px}.home-details{margin-top:12px}.home-bottom{bottom:13px}.topbar{padding-top:13px}.score-block{top:80px}.run-status{top:80px}.phase-label{bottom:24px}.bottom-hud{bottom:24px}.dialog{padding:18px;max-width:420px}.dialog h2{font-size:28px}.dialog-symbol{display:none}.result-score{font-size:50px}.result-stats{padding:10px 0;margin:10px 0}.dialog .primary-button{margin-top:15px}.dialog-eyebrow{margin-bottom:8px}.result-dialog p.result-score-label{margin-bottom:10px}.help-dialog{max-width:660px}.help-steps{display:flex;gap:20px;padding-top:0}.help-steps li{display:block;flex:1}.help-steps svg{height:42px;width:60px}.help-steps p{font-size:10px}.help-steps strong{font-size:12px}.help-footnote{margin-top:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@keyframes dialog-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
/* Portal integration keeps the original YANKI rendering and instruments intact. */
.portal-link{pointer-events:auto;color:#a5c8bd;display:flex;align-items:center;gap:8px;min-height:44px;text-decoration:none;font-size:11px;white-space:nowrap}.portal-link>span:first-child{font-size:21px}.topbar{gap:20px}.mode-badge{font-size:10px;color:#bce2d5;border:1px solid #b8e7de26;padding:7px 10px;border-radius:20px;white-space:nowrap;background:#091722a6;max-width:190px;overflow:hidden;text-overflow:ellipsis}.language-button{display:flex;gap:5px;align-items:center;background:none;color:#6f948a;min-height:44px;padding:0 6px;font-size:11px;white-space:nowrap}.language-button .selected{color:#e0ffef}.mode-picker{display:flex;gap:10px;margin:-8px 0 26px;max-width:430px}.mode-option{flex:1;text-align:left;display:flex;flex-direction:column;gap:7px;border:1px solid #91b7a333;background:#0a20264d;padding:14px 16px;border-radius:5px;min-height:66px;transition:background .15s,border-color .15s}.mode-option strong{font-size:12px;font-weight:400;color:#bdd8ce}.mode-option small{font-size:9px;color:#80a498;white-space:nowrap}.mode-option[aria-pressed=true]{border-color:#b9ffe2b3;background:#b9ffe20e}.mode-option[aria-pressed=true] strong{color:var(--mint)}.practice-info{max-width:400px;color:var(--gold);font-size:11px;line-height:1.6;margin:-10px 0 18px}.daily-arena #game-canvas{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.daily-arena{background:#071219}.challenge-bar{position:absolute;top:calc(85px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);max-width:calc(100% - 36px);padding:9px 16px;font-size:11px;text-align:center;border:1px solid #f8dbaa33;background:#13262aeb;color:var(--gold);z-index:12;border-radius:4px;overflow-wrap:anywhere;pointer-events:none}.score-form{margin:22px auto 0;text-align:left}.score-form label{display:block;margin-bottom:7px;font-size:11px;color:#b4d5c8}.score-form-row{display:flex;gap:8px}.score-form input,.challenge-link{font:inherit;min-width:0;max-width:100%;background:#091b22;border:1px solid #93c3ac66;color:var(--white);padding:11px 12px;border-radius:4px;outline-offset:3px;font-size:16px;min-height:44px}.score-form input{flex:1;width:100%}.score-form small{display:block;font-size:10px;color:#8baf9d;margin-top:7px}.save-button{padding:9px 13px;border:1px solid #b9ffe255;color:var(--mint);background:#15372f;font-size:11px;border-radius:4px;white-space:nowrap;min-height:44px}.save-button:disabled{opacity:.5;cursor:default}.dialog p.score-status{font-size:11px;min-height:18px;margin:12px auto 0;color:var(--gold);max-width:100%}.challenge-link{width:100%;font-size:11px}.run-leaderboard{margin:16px auto;max-height:180px;overflow-y:auto;padding:10px 15px;background:#0c2226;border-radius:4px;text-align:left}.run-leaderboard h3{font-size:11px;font-weight:400;color:var(--mint);margin:0 0 12px}.run-leaderboard ol{font-size:11px;padding-left:20px;margin:0}.run-leaderboard li{padding:4px 0;color:#95b6a4}.run-leaderboard li span{display:inline-block;max-width:70%;overflow-wrap:anywhere}.run-leaderboard li strong{float:right;color:#d9efdf;font-weight:400;font-variant-numeric:tabular-nums}.modal-screen{padding-top:calc(100px + env(safe-area-inset-top));padding-bottom:calc(25px + env(safe-area-inset-bottom))}.result-dialog{margin:auto}.result-dialog .primary-button{margin-top:15px}.result-score{font-size:70px}.result-stats{margin:17px 0;padding:16px 0}.result-dialog h2{font-size:32px}.dialog .record-badge{margin-bottom:15px}.home-copy h1{font-size:clamp(42px,4.8vw,75px)}.home-copy{max-width:700px}.home-description{margin-bottom:28px}.primary-button>span[data-i18n=start]{font-size:14px}.primary-button{white-space:normal}.home-screen .mode-picker{pointer-events:auto}.topbar a:focus-visible,.language-button:focus-visible,.mode-option:focus-visible,.save-button:focus-visible,input:focus-visible{outline:2px solid var(--mint);outline-offset:4px}
@media(max-width:1100px){.home-best{display:none!important}.topbar{gap:15px}.top-actions{margin-left:auto!important}.portal-label{display:none}.home-copy h1{font-size:50px}}
@media(max-width:600px){.topbar{padding:calc(12px + env(safe-area-inset-top)) 15px 0;gap:10px}.brand>span{display:none}.brand svg{width:28px;height:28px}.portal-link{min-width:22px}.mode-badge{max-width:115px;font-size:9px;padding:6px 9px}.top-actions{gap:5px}.language-button{font-size:10px;gap:4px;padding:0 2px}.icon-button{width:35px;height:35px}.home-copy{bottom:100px;left:24px;right:24px}.home-copy h1{font-size:38px;letter-spacing:-2px;margin-bottom:15px}.home-description{font-size:12px;margin-bottom:22px;max-width:330px}.mode-picker{gap:8px;margin:0 0 23px;max-width:370px}.mode-option{padding:12px 10px;min-height:62px;gap:7px}.mode-option strong{font-size:11px}.mode-option small{font-size:8px}.home-cta{gap:18px}.home-cta .primary-button{max-width:240px}.home-details{margin-top:17px}.home-bottom{left:24px;right:24px;bottom:18px}.challenge-bar{top:calc(66px + env(safe-area-inset-top));font-size:10px;padding:7px 10px;max-width:calc(100% - 30px);width:max-content}.score-block,.run-status{top:calc(114px + env(safe-area-inset-top))}.modal-screen{padding:calc(90px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom))}.result-dialog{padding:20px 0}.result-score{font-size:64px}.result-dialog h2{font-size:29px}.result-stats{padding:13px 0;margin:14px 0}.score-form{margin-top:15px}.result-dialog .primary-button{margin-top:14px}.result-dialog>.text-button{margin-top:0}.help-dialog{padding:20px 0}.help-steps{gap:15px}.help-steps svg{width:54px}.is-playing .topbar{padding-top:calc(12px + env(safe-area-inset-top))}.art-caption{display:none}.practice-info{font-size:10px}.home-copy .intro-line{font-size:9px}}
@media(max-width:380px){.topbar{gap:7px;padding-left:10px;padding-right:10px}.mode-badge{max-width:95px;padding:6px 7px}.brand{display:none}.home-copy h1{font-size:34px}.home-copy{left:22px;right:22px}.home-cta{gap:15px}.home-details{font-size:9px}.mode-option strong{font-size:10px}.mode-option small{font-size:7px}}
@media(max-height:740px) and (max-width:600px){.home-copy{bottom:73px}.home-copy h1{font-size:33px;margin-bottom:12px}.home-description{font-size:11px;margin-bottom:16px;line-height:1.65}.intro-line{margin-bottom:11px}.mode-picker{margin-bottom:17px}.mode-option{padding:10px;min-height:56px}.home-details{margin-top:12px;font-size:9px}.home-cta .primary-button{min-height:48px}.home-bottom{font-size:9px;bottom:10px}.help-dialog{margin:auto}.modal-screen{display:flex;align-items:flex-start;justify-content:center}.result-dialog{margin:auto}.score-form{margin-top:12px}.result-score{font-size:55px}.dialog-eyebrow{margin-bottom:10px}.result-dialog h2{font-size:27px}.record-badge{margin-bottom:8px}}
@media(max-height:540px) and (min-width:601px){.home-copy{top:54%;max-width:430px}.home-copy h1{font-size:33px;letter-spacing:-1.5px}.home-description{font-size:10px;margin-bottom:15px}.home-copy .intro-line{margin-bottom:10px;font-size:10px}.mode-picker{margin-bottom:15px}.mode-option{min-height:45px;padding:9px 12px;gap:3px}.home-cta .primary-button{min-height:43px}.home-details{margin-top:12px;font-size:9px}.topbar{padding-top:calc(10px + env(safe-area-inset-top))}.modal-screen{display:flex;align-items:flex-start;justify-content:center}.result-dialog{margin:auto}.help-dialog{margin:auto}.is-playing .topbar{padding-top:calc(10px + env(safe-area-inset-top))}}
.topbar{z-index:20}.challenge-bar{z-index:19}
/* Shared mobile controls keep a full touch target without crowding the arena. */
@media(max-width:600px){.topbar .brand{display:none}.portal-link{min-width:44px;justify-content:center}.top-actions .icon-button{width:44px;height:44px;flex:none}.language-button{min-width:44px;justify-content:center}.topbar{gap:8px}}
@media(max-width:380px){.topbar{gap:6px}.mode-badge{max-width:90px}.top-actions{gap:3px}}
