:root{color-scheme:dark;--ink:#080e17;--paper:#f4f0e7;--blue:#14acff;--blue-deep:#0876e8;--red:#f53243;--muted:#a3b4c2;--display:Impact,'Arial Narrow','Helvetica Neue',sans-serif;--body:Arial,Helvetica,sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--ink);font-family:var(--body);color:var(--paper);touch-action:pan-y;overscroll-behavior:auto}button,a{font:inherit}button{cursor:pointer}button,a,kbd{-webkit-user-select:none;user-select:none}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:5px}button{color:inherit}#game{position:fixed;inset:0;width:100%;height:100%;display:block}button svg{flex:none}.hidden{display:none!important}.screen-vignette{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 130px #02071070;z-index:1}.start-screen{position:fixed;inset:0;z-index:5;background:linear-gradient(90deg,rgba(4,10,19,.95) 0%,rgba(4,10,19,.84) 25%,rgba(4,10,19,.4) 51%,rgba(4,10,19,.05) 78%);display:flex;flex-direction:column;padding:35px 4.6vw 0;overflow:hidden}.start-screen:before{content:'';position:absolute;left:-100px;top:11%;width:560px;height:660px;background:radial-gradient(ellipse,rgba(6,118,232,.14),transparent 68%);pointer-events:none}.start-screen:after{content:'';position:absolute;right:5%;bottom:20%;height:110px;width:20px;transform:skew(-15deg);background:var(--red);box-shadow:30px 0 0 rgba(245,50,67,.55),60px 0 0 rgba(245,50,67,.2);opacity:.8;z-index:-1}.start-header{display:flex;align-items:center;justify-content:space-between;position:relative}.wordmark{width:max-content;transform:skew(-8deg)}.logo-top{display:flex;align-items:center;gap:.1em;font-family:var(--display);font-weight:900;font-size:clamp(28px,3.3vw,44px);letter-spacing:-.04em;line-height:.94;font-style:italic}.logo-n{font-size:.66em;color:var(--red);transform:translateY(-1px);margin:0 .07em}.logo-sub{font-size:10px;letter-spacing:.5em;font-weight:900;color:var(--blue);margin-top:7px;text-align:center}.logo-crosshair{width:.5em;height:.5em;border:2px solid var(--blue);border-radius:50%;position:relative;margin-left:.1em}.logo-crosshair:before,.logo-crosshair:after{content:'';position:absolute;background:var(--blue)}.logo-crosshair:before{width:140%;height:2px;top:calc(50% - 1px);left:-20%}.logo-crosshair:after{height:140%;width:2px;left:calc(50% - 1px);top:-20%}.start-content{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center;align-items:flex-start;padding:30px 0 34px;min-height:0}.eyebrow{display:flex;gap:12px;align-items:center;font-size:11px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;color:var(--blue)}.eyebrow-line{height:2px;width:30px;background:var(--blue)}h1{font-family:var(--display);font-weight:900;font-style:italic;letter-spacing:-.025em;line-height:.84;margin:20px 0 23px;font-size:clamp(88px,10.8vw,174px);transform:translateX(-6px)}h1 span{display:block}.title-outline{color:transparent;-webkit-text-stroke:1.5px var(--paper)}.challenge-line{display:flex;align-items:center;gap:11px;font-size:13px;letter-spacing:.11em;text-transform:uppercase;font-weight:800}.challenge-number{display:inline-flex;align-items:center;justify-content:center;background:var(--red);padding:5px 9px;transform:skew(-8deg);font-family:var(--display);font-size:23px;letter-spacing:.02em}.start-description{max-width:345px;font-size:15px;color:#bac7d1;line-height:1.55;margin:15px 0 25px}.button{min-height:58px;border:0;display:flex;align-items:center;justify-content:center;gap:14px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;text-decoration:none;font-size:15px;transition:filter .15s,transform .15s;position:relative}.button:hover{filter:brightness(1.12)}.button:active{transform:translateY(2px)}.button-primary{background:var(--blue);color:var(--ink);padding:0 24px;box-shadow:0 0 28px #079eff20;min-width:280px;clip-path:polygon(0 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%)}.button-primary svg{width:20px;height:20px}.button-key{font-size:10px;font-weight:700;border:1px solid #00528b60;border-radius:3px;padding:4px 6px;margin-left:20px;letter-spacing:.04em}.start-record{display:flex;gap:8px;align-items:center;margin-top:18px;font-size:11px;color:#9cabb8;letter-spacing:.09em;text-transform:uppercase}.start-record b{color:var(--paper);font-size:13px;font-variant-numeric:tabular-nums}.record-dot{width:4px;height:4px;background:var(--red);border-radius:50%}.start-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #a8c9ee20;min-height:85px;position:relative}.controls-guide{display:flex;gap:12px;align-items:center;font-size:11px;font-weight:700;letter-spacing:.04em;color:#b9c6d1}.keys{display:flex;flex-direction:column;align-items:center;gap:2px}.keys>div{display:flex;gap:2px}kbd{font-family:var(--body);border:1px solid #b2c5dc50;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:18px;font-size:10px;color:#e9f2fb;background:#0a172a66}.guide-separator{height:24px;width:1px;background:#a8c9ee20;margin:0 10px}.mouse-icon{width:19px;height:26px}.escape-key{width:32px;height:23px}.footer-tag{font-size:10px;letter-spacing:.2em;font-weight:800;color:#99aab9}.scene-callout{position:absolute;top:43%;right:13%;display:flex;align-items:center;gap:14px;opacity:.8;pointer-events:none}.scene-callout:after{content:'';position:absolute;width:80px;height:1px;background:#d1e9ff50;left:-95px;top:50%}.scene-callout b,.scene-callout span{display:block;font-size:10px;letter-spacing:.15em;font-weight:800}.scene-callout span{color:#c0cdda;font-size:9px;margin-top:5px}.callout-reticle{width:36px;height:36px;border:1px solid #b5e2ff55;border-radius:50%;display:grid;place-items:center}.callout-reticle span{width:16px;height:16px;border:1px solid var(--blue);border-radius:50%;margin:0;position:relative}.callout-reticle span:after{content:'';width:4px;height:4px;background:var(--blue);position:absolute;left:5px;top:5px;border-radius:50%}.corner-actions{position:fixed;right:max(18px,env(safe-area-inset-right));top:max(25px,env(safe-area-inset-top));z-index:15;display:flex;gap:8px}.icon-button{width:38px;height:38px;border:1px solid #b7d3e238;border-radius:50%;background:#08142270;color:#e9f1f7;display:grid;place-items:center;backdrop-filter:blur(8px)}.icon-button svg{width:19px;height:19px}.sound-off{display:none}.muted .sound-on{display:none}.muted .sound-off{display:block}#pause{display:none}.playing #pause{display:grid}.playing .corner-actions{top:max(22px,env(safe-area-inset-top))}.hud{position:fixed;inset:0;z-index:4;pointer-events:none}.hud-top{position:absolute;top:max(25px,env(safe-area-inset-top));left:max(30px,env(safe-area-inset-left));right:30px;display:flex;align-items:flex-start;justify-content:space-between}.hud-score{display:grid;grid-template-columns:auto auto;gap:0 14px;align-items:center}.hud-label{font-size:10px;letter-spacing:.18em;font-weight:800;text-transform:uppercase;color:#d0e0e8}.hud-score>.hud-label{grid-column:1 / -1;color:var(--blue);margin-bottom:2px}.hud-score>strong{font-family:var(--display);font-size:56px;font-weight:900;line-height:1.02;letter-spacing:.01em;font-variant-numeric:tabular-nums;text-shadow:0 2px 12px #0008}.combo-chip{font-size:13px;font-weight:900;color:var(--ink);background:var(--blue);padding:6px 8px;transform:skew(-7deg)}.combo-chip:empty{display:none}.hud-round{position:absolute;left:50%;top:0;transform:translateX(-50%);width:100px;text-align:center}.hud-round strong{font-family:var(--display);font-size:55px;display:block;line-height:1.13;font-variant-numeric:tabular-nums;text-shadow:0 2px 12px #0008}.timer-track{height:3px;width:100%;background:#f4f0e72e;margin-top:5px}#timebar{width:100%;height:100%;background:var(--blue);transform-origin:left;transition:background .3s}.urgent .hud-round{color:var(--red)}.urgent #timebar{background:var(--red)}.hud-lower{position:absolute;bottom:32px;left:32px;display:flex;align-items:center;gap:16px}.field-label{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.15em;font-weight:800}.live-dot{width:5px;height:5px;background:var(--blue);border-radius:50%;box-shadow:0 0 10px var(--blue)}.wave-label{font-size:10px;font-weight:800;letter-spacing:.13em;color:#d0e0e8;border-left:1px solid #ffffff40;padding-left:16px}.crosshair{position:absolute;left:50%;top:50%;width:28px;height:28px;transform:translate(-50%,-50%);filter:drop-shadow(0 1px 2px #0009)}.crosshair i{display:block;position:absolute;background:#f6fbff;border-radius:1px}.crosshair i:nth-child(1){width:2px;height:7px;left:13px;top:0}.crosshair i:nth-child(2){width:2px;height:7px;left:13px;bottom:0}.crosshair i:nth-child(3){height:2px;width:7px;left:0;top:13px}.crosshair i:nth-child(4){height:2px;width:7px;right:0;top:13px}.crosshair b{position:absolute;left:13px;top:13px;width:2px;height:2px;background:var(--blue);border-radius:50%}.hitmarker{position:absolute;left:50%;top:50%;width:40px;height:40px;transform:translate(-50%,-50%);opacity:0}.hitmarker.active{animation:hit .2s ease-out}.hitmarker i{position:absolute;height:2px;width:10px;background:var(--blue);box-shadow:0 0 8px #1cbcff80}.hitmarker i:nth-child(1){top:7px;left:4px;transform:rotate(45deg)}.hitmarker i:nth-child(2){top:7px;right:4px;transform:rotate(-45deg)}.hitmarker i:nth-child(3){bottom:7px;left:4px;transform:rotate(-45deg)}.hitmarker i:nth-child(4){bottom:7px;right:4px;transform:rotate(45deg)}@keyframes hit{0%{opacity:1;scale:.8}40%{opacity:1}100%{opacity:0;scale:1.15}}.toast{position:absolute;top:27%;left:50%;transform:translateX(-50%);font-family:var(--display);font-style:italic;font-size:40px;text-align:center;color:var(--blue);text-shadow:0 2px 18px #0008;white-space:nowrap;transition:opacity .2s}.toast:empty{display:none}.floaters{position:absolute;inset:0;overflow:hidden}.floater{position:absolute;font-family:var(--display);font-size:30px;font-style:italic;color:var(--blue);text-shadow:0 2px 10px #0009;pointer-events:none;animation:float-score .8s ease-out forwards}@keyframes float-score{0%{opacity:0;transform:translate(-50%,0) scale(.7)}15%{opacity:1;transform:translate(-50%,-8px) scale(1.05)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-70px) scale(.9)}}.desktop-game-tip{position:absolute;right:30px;bottom:32px;letter-spacing:.08em;font-size:10px;font-weight:700;color:#c1d1de88}.touch-only{display:none}.touch-controls{display:none;position:fixed;inset:0;z-index:7;pointer-events:none;user-select:none;-webkit-user-select:none}.touch.playing .touch-controls{display:block}.joystick{position:absolute;pointer-events:auto;left:max(27px,env(safe-area-inset-left));bottom:max(43px,env(safe-area-inset-bottom));width:114px;height:114px;border:1px solid #d0ebff50;border-radius:50%;background:#09152530;box-shadow:inset 0 0 0 14px #07132320;touch-action:none}.stick{position:absolute;left:34px;top:34px;width:44px;height:44px;border-radius:50%;background:#d7e8f124;border:1px solid #eef8ff7a;box-shadow:0 2px 12px #0002}.joystick-axis{position:absolute;background:#ecf9ff20}.x-axis{width:74%;height:1px;top:50%;left:13%}.y-axis{height:74%;width:1px;left:50%;top:13%}.joystick-label{position:absolute;left:max(27px,env(safe-area-inset-left));bottom:max(20px,calc(env(safe-area-inset-bottom) + 2px));width:114px;text-align:center;font-size:9px;font-weight:800;letter-spacing:.18em;color:#d0e0e8a0}.fire-button{position:absolute;pointer-events:auto;right:max(25px,env(safe-area-inset-right));bottom:max(35px,env(safe-area-inset-bottom));border-radius:50%;width:122px;height:122px;border:3px solid #ff707c;background:linear-gradient(150deg,#fc4455,#db142a);box-shadow:0 0 0 7px #f5324320,0 6px 25px #0005,inset 0 2px 2px #ffffff50;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;touch-action:none;color:white}.fire-button:active,.fire-button.firing{transform:scale(.95);background:#ff5b66;box-shadow:0 0 0 12px #f5324328,0 0 40px #f5324340}.fire-button svg{width:25px;height:25px;margin-bottom:2px}.fire-button span{font-family:var(--display);font-size:28px;letter-spacing:.04em;line-height:1}.fire-button small{font-size:8px;letter-spacing:.2em;font-weight:900;opacity:.7}.touch-aim-hint{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);font-size:9px;letter-spacing:.14em;font-weight:800;color:#e1f1fb70;white-space:nowrap}.overlay{position:fixed;inset:0;z-index:12;background:rgba(3,9,17,.83);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto;touch-action:pan-y}.overlay-card{position:relative;width:min(100%,480px);background:linear-gradient(145deg,#152334,#0b1522);border:1px solid #b3d7ed2b;padding:36px 38px;box-shadow:0 35px 120px #0006}.overlay-card:before{content:'';position:absolute;left:-1px;top:-1px;width:65px;height:4px;background:var(--blue)}.overlay-card:after{content:'';position:absolute;right:13px;top:18px;width:8px;height:30px;transform:skew(-15deg);background:var(--red);box-shadow:-13px 0 0 #f5324340}.overlay-card h2{font-family:var(--display);text-transform:uppercase;font-size:62px;font-style:italic;line-height:.95;letter-spacing:-.02em;margin:24px 0;color:var(--paper)}.overlay-card p{font-size:14px;line-height:1.5;color:#afc1cf}.overlay-card .button{width:100%;min-width:0}.button-secondary{background:transparent;border:1px solid #adcde533;margin-top:12px;color:#cad8e2;min-height:48px;font-size:12px}.pause-card p{margin-bottom:28px}.end-card{width:min(100%,510px)}.end-topline{display:flex;justify-content:space-between;gap:15px;align-items:center}.end-topline .eyebrow{font-size:9px;letter-spacing:.16em}.end-logo{font-family:var(--display);font-size:16px;font-style:italic;letter-spacing:-.03em;margin-right:10px}.end-card h2{font-size:51px;margin:23px 0 21px}.final-score-wrap{position:relative;border-top:1px solid #adcde526;border-bottom:1px solid #adcde526;padding:16px 0 13px}.final-score-wrap>.hud-label{color:var(--blue);display:block}.final-score-wrap>strong{display:block;font-family:var(--display);font-size:88px;line-height:1.1;letter-spacing:.01em;font-variant-numeric:tabular-nums}.new-best{position:absolute;right:0;top:47px;background:var(--red);padding:7px 9px;font-size:9px;font-weight:900;letter-spacing:.1em;transform:rotate(-6deg)}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:22px 0 25px}.result-stats>div{display:flex;flex-direction:column;gap:7px;text-align:center;border-right:1px solid #adcde526}.result-stats>div:first-child{text-align:left}.result-stats>div:last-child{border:0;text-align:right}.result-stats b{font-family:var(--display);font-size:30px;line-height:1}.result-stats span{font-size:9px;letter-spacing:.13em;font-weight:800;color:#a6b9c8;text-transform:uppercase}.real-party{margin-top:23px;text-align:center;border-top:1px solid #adcde526;padding-top:5px}.real-party p{font-size:12px;margin:15px 0 12px;color:#a7bac9}.button-book{background:var(--red);color:white;min-height:57px;clip-path:polygon(0 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%);font-size:13px}
@media(min-width:1500px){.start-screen{padding-left:7vw;padding-right:7vw}.start-content{max-height:840px}.start-description{font-size:17px}.button-primary{min-height:65px;min-width:320px}.start-footer{min-height:100px}.corner-actions{right:40px;top:35px}}
@media(max-height:760px) and (min-width:761px){.start-screen{padding-top:25px}.start-content{padding:22px 0}.logo-top{font-size:32px}h1{font-size:min(12vw,122px);margin:14px 0 18px}.start-description{margin:12px 0 20px;font-size:14px}.start-footer{min-height:68px}.button-primary{min-height:54px}.start-record{margin-top:14px}.overlay-card{padding:25px 32px}.end-card h2{margin:20px 0 17px;font-size:46px}.final-score-wrap>strong{font-size:70px}.result-stats{padding:17px 0 20px}.real-party{margin-top:18px}}
@media(pointer:coarse){.desktop-only{display:none!important}.touch-only{display:flex}.start-description{max-width:320px}.touch-aim-icon{font-size:26px;color:var(--blue)}.footer-tag{font-size:9px}.controls-guide{font-size:11px}.hud-lower{bottom:auto;top:113px;left:22px;gap:10px}.wave-label,.field-label{font-size:8px}.wave-label{padding-left:10px}.hud-top{left:22px}.hud-score>strong{font-size:46px}.hud-round{width:80px;left:51%}.hud-round strong{font-size:47px}.hud-label{font-size:8px}.hud-score{gap:0 10px}.combo-chip{font-size:11px;padding:5px 7px}.toast{font-size:33px;top:27%}}
@media(max-width:760px){.start-screen{padding:26px 25px 0;background:linear-gradient(90deg,#040a13de 0%,#040a1380 65%,#040a1330 100%),linear-gradient(0deg,#040a13c9,transparent 45%)}.logo-top{font-size:30px}.logo-sub{font-size:8px;letter-spacing:.42em;margin-top:6px}.start-content{padding:32px 0 28px;justify-content:center}.eyebrow{font-size:9px;letter-spacing:.19em;gap:9px}.eyebrow-line{width:22px}h1{font-size:clamp(76px,18vw,130px);margin:20px 0 24px;line-height:.85;transform:translateX(-3px)}.challenge-line{font-size:10px;letter-spacing:.08em;gap:9px}.challenge-number{font-size:21px;padding:5px 7px}.start-description{font-size:14px;max-width:275px;margin:15px 0 25px;line-height:1.5}.start-content>.button{min-height:58px;min-width:280px;max-width:100%;font-size:14px}.start-record{font-size:9px;letter-spacing:.08em}.start-record b{font-size:12px}.start-footer{min-height:76px;gap:15px;align-items:center}.footer-tag{max-width:90px;text-align:right;line-height:1.6;font-size:8px;letter-spacing:.1em}.controls-guide{font-size:10px;gap:9px;max-width:240px;line-height:1.5}.scene-callout{display:none}.start-screen:after{right:17%;bottom:27%;height:75px;width:10px;box-shadow:18px 0 0 #f5324350,36px 0 0 #f5324320;opacity:.45}.corner-actions{top:24px;right:19px;gap:6px}.icon-button{width:34px;height:34px}.icon-button svg{width:17px;height:17px}.playing .corner-actions{top:max(23px,env(safe-area-inset-top))}.hud-score>strong{font-size:44px}.hud-round strong{font-size:45px}.hud-top{top:max(24px,env(safe-area-inset-top));left:20px}.hud-round{left:52%;width:69px}.hud-lower{left:20px;top:104px}.field-label{font-size:8px}.wave-label{font-size:8px}.desktop-game-tip{display:none}.overlay{padding:17px}.overlay-card{padding:30px 25px}.end-card h2{font-size:43px;line-height:.95;margin:24px 0 20px}.end-logo{font-size:15px}.end-topline .eyebrow{font-size:8px}.final-score-wrap{padding:15px 0 12px}.final-score-wrap>strong{font-size:75px}.result-stats{padding:21px 0 24px}.result-stats b{font-size:28px}.result-stats span{font-size:8px;letter-spacing:.09em}.real-party{margin-top:21px}.button-book{font-size:12px}.toast{top:25%;font-size:34px}.crosshair{scale:.85}}
@media(max-width:390px){.start-screen{padding-left:21px;padding-right:21px}.logo-top{font-size:27px}h1{font-size:21vw}.start-content>.button{min-width:260px}.start-description{max-width:255px}.joystick{width:101px;height:101px;left:21px}.stick{left:29px;top:29px;width:41px;height:41px}.joystick-label{left:21px;width:101px}.fire-button{width:108px;height:108px;right:21px}.fire-button span{font-size:25px}.fire-button svg{width:22px;height:22px}.hud-round{left:53%}.hud-round strong{font-size:41px}.hud-score>strong{font-size:40px}.combo-chip{font-size:9px;padding:4px 5px}.corner-actions{right:14px;gap:5px}.icon-button{width:30px;height:30px}.end-card h2{font-size:40px}}
@media(max-height:700px) and (max-width:760px) and (orientation:portrait){.start-screen{padding-top:20px}.start-content{padding:22px 0 20px}h1{font-size:19vw;margin:16px 0 20px}.start-description{margin:12px 0 20px;font-size:13px}.start-content>.button{min-height:53px}.start-record{margin-top:14px}.start-footer{min-height:67px}.end-card{padding:23px 24px}.end-card h2{font-size:40px;margin:19px 0 16px}.final-score-wrap>strong{font-size:64px}.result-stats{padding:16px 0 20px}.real-party{margin-top:17px}.real-party p{margin:12px 0 10px}.button{min-height:53px}.button-book{min-height:52px}}
@media(max-height:520px) and (orientation:landscape){.start-screen{padding:19px 30px 0}.start-header{flex:none}.logo-top{font-size:27px}.logo-sub{font-size:7px;margin-top:4px}.start-content{padding:17px 0 18px;display:block}.eyebrow{font-size:8px;gap:7px}.eyebrow-line{width:17px}h1{font-size:clamp(58px,12.7vh,84px);margin:12px 0;line-height:.83}h1 span{display:inline-block;margin-right:.2em}.title-outline{-webkit-text-stroke:1px var(--paper)}.challenge-line{font-size:9px}.challenge-number{font-size:16px;padding:3px 6px}.start-description{font-size:11px;line-height:1.4;max-width:290px;margin:10px 0 14px}.start-content>.button{min-height:45px;min-width:225px;width:225px;font-size:12px;position:absolute;left:360px;bottom:52px}.button-primary svg{width:16px;height:16px}.start-record{font-size:8px;position:absolute;left:360px;bottom:28px;margin:0}.start-footer{min-height:49px}.controls-guide{font-size:9px;gap:8px}.footer-tag{font-size:8px}.touch-aim-icon{font-size:20px}.scene-callout{display:none}.start-screen:after{height:60px;width:9px;right:9%;bottom:28%;box-shadow:17px 0 0 #f5324350,34px 0 0 #f5324320}.corner-actions{top:17px;right:18px}.icon-button{width:32px;height:32px}.playing .corner-actions{top:max(15px,env(safe-area-inset-top))}.hud-top{top:16px;left:22px}.hud-score>strong{font-size:39px}.hud-round{left:50%;width:70px}.hud-round strong{font-size:40px}.hud-label{font-size:8px}.hud-lower{top:auto;bottom:16px;left:50%;transform:translateX(-50%);white-space:nowrap}.joystick{width:92px;height:92px;left:max(25px,env(safe-area-inset-left));bottom:29px}.stick{width:36px;height:36px;left:27px;top:27px}.joystick-label{width:92px;left:max(25px,env(safe-area-inset-left));bottom:12px;font-size:8px}.fire-button{width:99px;height:99px;bottom:25px;right:max(28px,env(safe-area-inset-right))}.fire-button svg{width:20px;height:20px}.fire-button span{font-size:23px}.fire-button small{font-size:7px}.touch-aim-hint{bottom:39px;font-size:8px}.toast{top:27%;font-size:30px}.overlay{padding:12px}.overlay-card{padding:23px 30px}.pause-card{max-width:430px}.pause-card h2{font-size:43px;margin:16px 0}.pause-card p{font-size:12px;margin-bottom:18px}.pause-card .button{min-height:44px;font-size:12px}.pause-card .button-secondary{min-height:38px;margin-top:10px}.end-card{max-width:650px;display:grid;grid-template-columns:1fr 1fr;gap:0 28px;padding:24px 30px}.end-topline{grid-column:1 / -1}.end-card h2{grid-column:1;font-size:39px;margin:18px 0 12px}.final-score-wrap{grid-column:1;padding:10px 0;grid-row:3 / 5}.final-score-wrap>strong{font-size:65px}.final-score-wrap>.hud-label{font-size:8px}.new-best{font-size:7px;top:38px;right:0}.result-stats{grid-column:2;grid-row:2;padding:20px 0 17px;gap:8px}.result-stats b{font-size:25px}.result-stats span{font-size:7px;letter-spacing:.06em}.end-card>#again{grid-column:2;grid-row:3;min-height:44px;font-size:12px}.real-party{grid-column:2;grid-row:4 / 6;margin-top:14px;padding-top:0}.real-party p{font-size:10px;margin:10px 0}.button-book{font-size:10px;min-height:44px}.end-card:after{top:12px;height:20px;width:6px;right:11px}.end-logo{margin-right:13px;font-size:14px}.end-topline .eyebrow{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Official owner-supplied brand artwork, kept small and local. */
.wordmark{transform:none}.brand-logo{display:block;width:103px;height:103px;object-fit:contain;mix-blend-mode:screen}.start-header{align-items:flex-start}
@media(max-width:760px){.brand-logo{width:86px;height:86px}}
@media(max-height:760px) and (min-width:761px){.brand-logo{width:78px;height:78px}}
@media(max-height:520px) and (orientation:landscape){.brand-logo{width:62px;height:62px}.start-content{padding-top:8px}}
/* Runtime state hooks. */
#stick{left:50%;top:50%;transform:translate(-50%,-50%)}.toast{opacity:0}.toast.show{opacity:1}.hitmarker.show{opacity:1}.floating-score{position:absolute;font-family:var(--display);font-size:30px;font-style:italic;color:var(--blue);text-shadow:0 2px 10px #0009;pointer-events:none;animation:float-score .8s ease-out forwards}#timer.urgent{color:var(--red)}.fire-button.active{transform:scale(.95);background:#ff5b66;box-shadow:0 0 0 12px #f5324328,0 0 40px #f5324340}
/* Keep the full title legible on narrow screens with system-font fallbacks. */
@media(max-width:760px) and (orientation:portrait){h1{font-size:16.5vw;letter-spacing:-.035em}.start-content{padding-top:20px}.hud-round .hud-label{font-size:9px;letter-spacing:.12em}.toast{font-size:clamp(23px,7vw,34px)}}
/* A live round owns all in-page gestures, including Safari's root overscroll. */
#game,.touch-controls{touch-action:pan-y;overscroll-behavior:auto;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.playing{position:fixed;inset:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;touch-action:none}
body.playing #game,body.playing #touch-controls,body.playing #joystick,body.playing #fire,body.playing .corner-actions{touch-action:none}
/* Blacklight phase. These layers only change opacity/transform at the drop. */
.glow-transition{position:fixed;inset:0;z-index:3;pointer-events:none;background:#01000e;opacity:0;will-change:opacity;transition:opacity .075s linear}
.glow-transition:before,.glow-transition:after{content:'';position:absolute;top:0;bottom:0;width:2px;background:#ff24dc;box-shadow:0 0 16px #ff24dc}
.glow-transition:before{left:0}.glow-transition:after{right:0;background:#35ffe9;box-shadow:0 0 16px #35ffe9}
.glow-blackout .glow-transition{opacity:.985}
.glow-callout{position:fixed;left:50%;top:24%;z-index:6;width:max-content;max-width:92vw;pointer-events:none;text-align:center;visibility:visible;opacity:.001;transform:translate(-50%,0) scale(1) skew(-5deg);will-change:opacity,transform;contain:layout style}
.glow-callout:before,.glow-callout:after{content:'';position:absolute;width:46px;height:3px;top:50%;background:#ff26cf;box-shadow:0 0 12px #f124dba0;transform:skew(-22deg)}
.glow-callout:before{left:-66px}.glow-callout:after{right:-66px;background:#48ffe8;box-shadow:0 0 12px #48ffe8a0}
.glow-kicker,.glow-remaining{display:block;font-weight:900;font-size:11px;letter-spacing:.27em;line-height:1.2;text-transform:uppercase}
.glow-kicker{color:#e2b7ff;margin-bottom:7px;text-shadow:0 0 12px #9e36e380}
.glow-title{display:block;white-space:nowrap;font-family:var(--display);font-size:clamp(46px,7vw,100px);font-style:italic;font-weight:900;letter-spacing:-.035em;line-height:.95;color:#f6edff;text-shadow:2px 2px 0 #8314e2,-2px -1px 0 #52fff2,0 0 13px #d52dffa0}
.glow-remaining{width:max-content;max-width:100%;margin:13px auto 0;padding:6px 12px;border:1px solid #d65bff70;background:#15052ccb;color:#6dffe9;box-shadow:0 0 15px #a818d830;font-size:10px;letter-spacing:.2em}
.playing.glow-intro .glow-callout{visibility:visible;opacity:1;transform:translate(-50%,0) scale(1) skew(-5deg);animation:glow-callout-drop 1.85s cubic-bezier(.19,.85,.24,1) both}
@keyframes glow-callout-drop{0%,8%{opacity:.001;transform:translate(-50%,16px) scale(1) skew(-5deg)}18%,78%{opacity:1;transform:translate(-50%,0) scale(1) skew(-5deg)}100%{opacity:.001;transform:translate(-50%,-9px) scale(1) skew(-5deg)}}
.glow-intro #toast{opacity:0!important}
body.glow-party{--blue:#4bffe5;--red:#ff28c7;--paper:#f7edff}
.glow-party #score{color:#ddfff9;text-shadow:0 0 5px #54ffeaa0,0 0 18px #19e7ce60}
.glow-party .hud-score>.hud-label{color:#75ffe9;text-shadow:0 0 8px #42d8c060}
.glow-party .hud-round .hud-label{color:#e7baff}
.glow-party #timer,.glow-party #timer.urgent{color:#ffb9f1;text-shadow:0 0 6px #ff29d5c0,0 0 18px #ec28d560}
.glow-party #timebar{background:linear-gradient(90deg,#a645ff,#ff30d2,#62ffe7);box-shadow:0 0 9px #ec28ff80}
.glow-party .timer-track{background:#7139a355;outline:1px solid #985fe530}
.glow-party .combo-chip{background:#ff30c8;color:#190927;outline:1px solid #ffbcf1;box-shadow:0 0 14px #f731cd50}
.glow-party .crosshair i{background:#d8fff7;box-shadow:0 0 5px #5cffe9a0}.glow-party .crosshair b{background:#ff32cb;box-shadow:0 0 6px #f92fff}
.glow-party .hitmarker i{background:#fff3fb;box-shadow:0 0 8px #ff3bd5b0}
.glow-party .floating-score{color:#65ffe8;text-shadow:0 0 7px #29ffc680,0 2px 8px #030011}
.glow-party .toast{color:#f5caff;text-shadow:0 0 9px #dd40fda0,0 2px 13px #030011}
.glow-party .field-label{color:#dec1ff}.glow-party .live-dot{background:#ff44d2;box-shadow:0 0 9px #ff30c8}
.glow-party .wave-label{color:#75ffe9;border-left-color:#ae56ff8c}
.glow-party .icon-button{color:#abfff1;border-color:#b676ff80;background:#100823bc}
.glow-party .fire-button{color:#fff1fc;background:linear-gradient(145deg,#fa28c7,#9c13db);border-color:#ffbaf1;box-shadow:0 0 0 7px #ff32c72b,0 0 23px #d92ae65c,inset 0 2px 2px #ffffff60}
.glow-party .fire-button.active{background:linear-gradient(145deg,#ff64dd,#bd29ff);box-shadow:0 0 0 10px #ff35d330,0 0 28px #e938ef70,inset 0 1px 3px #fff8}
.glow-party .joystick{border-color:#68ffe799;background:#0e082e85;box-shadow:inset 0 0 0 14px #57118826,0 0 18px #35dac321}
.glow-party .joystick-axis{background:#75ffe640}.glow-party .stick{background:#71f8df30;border-color:#a4ffec;box-shadow:0 0 13px #4fffe954}
.glow-party .joystick-label,.glow-party .touch-aim-hint{color:#bd95e6}.glow-party .desktop-game-tip{color:#b7a3d0b0}
.glow-party .overlay-card{background:linear-gradient(145deg,#1e1134,#0e0920);border-color:#bc65eb55}.glow-party .end-card:before{background:#f634d2}
.real-party .glow-booking{color:#dcb7ff;font-size:13px;font-weight:700;line-height:1.4;margin:6px 0 14px;letter-spacing:.015em}
.glow-booking:before{content:'';display:inline-block;width:5px;height:5px;vertical-align:2px;margin-right:8px;background:#fa40d4;box-shadow:0 0 8px #fa40d4;transform:rotate(45deg)}
@media(max-width:760px){.glow-callout{top:25%;max-width:92vw}.glow-title{font-size:clamp(42px,10.6vw,68px)}.glow-kicker{font-size:9px;letter-spacing:.2em}.glow-remaining{font-size:8px;letter-spacing:.15em;margin-top:10px;padding:5px 10px}.glow-callout:before,.glow-callout:after{width:17px;height:2px}.glow-callout:before{left:-25px}.glow-callout:after{right:-25px}.real-party .glow-booking{font-size:12px;margin:5px 0 12px}}
@media(max-height:520px) and (orientation:landscape){.glow-callout{top:23%}.glow-title{font-size:45px;line-height:.9}.glow-kicker{font-size:8px;letter-spacing:.2em;margin-bottom:5px}.glow-remaining{font-size:7px;letter-spacing:.18em;margin-top:7px;padding:4px 9px}.glow-callout:before,.glow-callout:after{width:24px}.glow-callout:before{left:-37px}.glow-callout:after{right:-37px}.real-party .glow-booking{font-size:10px;line-height:1.3;margin:5px 0 8px}.glow-booking:before{width:4px;height:4px;margin-right:5px}}
@media(prefers-reduced-motion:reduce){.playing.glow-intro .glow-callout{animation:none!important;opacity:1;transform:translate(-50%,0) skew(-5deg)}.glow-transition{transition:none!important}}
/* Keep long scores readable when the record badge and glow invitation appear. */
.final-score-wrap>.new-best{position:static;display:table;margin-top:4px;transform:rotate(-3deg)}
.real-party .glow-booking{font-size:14px}
@media(max-height:520px) and (orientation:landscape){.final-score-wrap>.new-best{font-size:8px;padding:4px 6px}.real-party .glow-booking{font-size:12px}}

/* The timer fill scales without resizing its layout box during a round. */
#timebar{will-change:transform}

/* The announcement is baked and uploaded before Play; this live region stays available to assistive technology. */
#glow-callout{opacity:0!important;animation:none!important;visibility:visible!important;transform:none!important;left:0;top:0;width:1px;height:1px;max-width:1px;overflow:hidden;contain:strict}#glow-callout:before,#glow-callout:after{display:none}
/* Keep live filter, shadow and gradient shapes warm; the blacklight switch changes their colors. */
#glow-transition{display:none!important}
body{--live-score-near:#000000a0;--live-score-far:#00000060;--live-timer-near:#000000c0;--live-timer-far:#00000060;--live-label:#00000060;--live-dot-shadow:#14acff;--live-bar-a:#12a9fc;--live-bar-b:#14acff;--live-bar-c:#16afff;--live-bar-glow:#00000080;--live-combo-glow:#00000050;--live-combo-outline:#07324b;--live-dot-glow:#000000ff;--live-track-outline:#12304430;--live-toast-near:#000000a0;--live-toast-far:#00000099;--live-crosshair-glow:#000000a0;--live-fire-a:#fc4455;--live-fire-b:#db142a;--live-fire-active-a:#ff5b66;--live-fire-active-b:#e13243;--live-fire-ring:#f532432b;--live-fire-shadow:#0000005c;--live-fire-active-ring:#f5324330;--live-fire-active-shadow:#f5324370;--live-joy-shadow:#00000021;--live-stick-shadow:#00000054;--live-float-near:#00000080;--live-float-far:#00000099}
body.glow-party{--live-score-near:#54ffeaa0;--live-score-far:#19e7ce60;--live-timer-near:#ff29d5c0;--live-timer-far:#ec28d560;--live-label:#42d8c060;--live-dot-shadow:#ff30c8;--live-bar-a:#a645ff;--live-bar-b:#ff30d2;--live-bar-c:#62ffe7;--live-bar-glow:#ec28ff80;--live-combo-glow:#f731cd50;--live-combo-outline:#ffbcf1;--live-dot-glow:#f92fffff;--live-track-outline:#985fe530;--live-toast-near:#dd40fda0;--live-toast-far:#03001199;--live-crosshair-glow:#5cffe9a0;--live-fire-a:#fa28c7;--live-fire-b:#9c13db;--live-fire-active-a:#ff64dd;--live-fire-active-b:#bd29ff;--live-fire-ring:#ff32c72b;--live-fire-shadow:#d92ae65c;--live-fire-active-ring:#ff35d330;--live-fire-active-shadow:#e938ef70;--live-joy-shadow:#35dac321;--live-stick-shadow:#4fffe954;--live-float-near:#29ffc680;--live-float-far:#03001199}
.playing .icon-button{-webkit-backdrop-filter:none;backdrop-filter:none}
.playing #score{ text-shadow:0 0 5px var(--live-score-near),0 0 18px var(--live-score-far)}
.playing #timer,.playing #timer.urgent{text-shadow:0 0 6px var(--live-timer-near),0 0 18px var(--live-timer-far)}
.playing .hud-score>.hud-label{text-shadow:0 0 8px var(--live-label)}
.playing #timebar{background:linear-gradient(90deg,var(--live-bar-a),var(--live-bar-b),var(--live-bar-c));box-shadow:0 0 9px var(--live-bar-glow)}
.playing .combo-chip{outline:1px solid var(--live-combo-outline);box-shadow:0 0 14px var(--live-combo-glow)}
.playing .crosshair i{box-shadow:0 0 5px var(--live-crosshair-glow)}
.playing .fire-button{background:linear-gradient(145deg,var(--live-fire-a),var(--live-fire-b));box-shadow:0 0 0 7px var(--live-fire-ring),0 0 23px var(--live-fire-shadow),inset 0 2px 2px #ffffff60}
.playing .fire-button.active{background:linear-gradient(145deg,var(--live-fire-active-a),var(--live-fire-active-b));box-shadow:0 0 0 10px var(--live-fire-active-ring),0 0 28px var(--live-fire-active-shadow),inset 0 1px 3px #ffffff88}
.playing .joystick{box-shadow:inset 0 0 0 14px #57118826,0 0 18px var(--live-joy-shadow)}
.playing .stick{box-shadow:0 0 13px var(--live-stick-shadow)}
.playing .floating-score{text-shadow:0 0 7px var(--live-float-near),0 2px 8px var(--live-float-far)}
.playing .timer-track{outline:1px solid var(--live-track-outline)}
.playing .crosshair b{box-shadow:0 0 6px var(--live-dot-glow)}
.playing .toast{text-shadow:0 0 9px var(--live-toast-near),0 2px 13px var(--live-toast-far)}
.playing .live-dot{box-shadow:0 0 9px var(--live-dot-shadow)}

/* Reward rules stay compact beside the start CTA; migration copy stays by best. */
.scoring-guide{max-width:365px;margin:-12px 0 18px;font-size:10px;line-height:1.55;letter-spacing:.02em;color:#a8b9c7}.scoring-guide span{display:block}.scoring-guide span:first-child{color:#72cfff;font-weight:800}
.best-version-note{margin:0 0 13px;color:#b7a4c9;font-size:10px;line-height:1.35}
@media(max-height:520px) and (orientation:landscape){.scoring-guide{font-size:9px;line-height:1.4;margin:-4px 0 10px}.best-version-note{font-size:9px;margin:0 0 8px}}
/* Keep the legacy-best explanation compact and in reading order at both phone orientations. */
.end-card .best-version-note{margin:0 0 13px;font-size:10px;line-height:1.35}
@media(max-height:520px) and (orientation:landscape){.scoring-guide{max-width:320px}.end-card{width:min(100%,650px);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.end-card .best-version-note{grid-column:1 / -1;grid-row:3;font-size:9px;line-height:1.35;margin:0 0 8px}.end-card .final-score-wrap{grid-row:4 / 6}.end-card>#again{grid-row:4}.end-card .real-party{grid-row:5 / 7}}
/* Reserve a portrait column for six-digit scores; combo never competes with the centered timer. */
@media(max-width:760px) and (orientation:portrait){.touch .hud-score{grid-template-columns:max-content;gap:0 6px}.touch .hud-score>.hud-label{grid-column:1}.touch .hud-score>strong{font-size:clamp(27px,8.2vw,32px);grid-column:1;grid-row:2}.touch .hud-score>.combo-chip{grid-column:1;grid-row:3;justify-self:start}}

/* Idle gestures belong to the page; a live round owns its input surface. */
html:has(body.playing) { touch-action: none; overscroll-behavior: none; }

/* The mobile menu has three real regions. Content never occupies logo or hint space. */
@media (max-width: 900px) {
  .start-screen {
    display: grid;
    grid-template-rows: auto minmax(min-content, 1fr) auto;
    gap: 12px;
    padding: 20px 24px 14px;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior: auto;
    background: linear-gradient(90deg, #040a13ed, #040a1399 68%, #040a1350),
      linear-gradient(0deg, #040a13dd, transparent 58%);
  }
  .start-screen .start-header {
    position: relative;
    min-height: 64px;
    align-items: center;
    flex: none;
  }
  .start-screen .wordmark { position: static; transform: none; }
  .start-screen .brand-logo {
    position: static;
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
  }
  .start-screen .start-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: none;
    min-width: 0;
    min-height: min-content;
    max-height: none;
    padding: 0;
  }
  .start-screen .eyebrow {
    min-height: 12px;
    margin: 0 0 10px;
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: .18em;
  }
  .start-screen h1 {
    margin: 0 0 14px;
    max-width: 100%;
    font-size: clamp(54px, min(17vw, 11vh), 96px);
    line-height: .88;
    letter-spacing: -.025em;
    transform: none;
  }
  .start-screen h1 span { display: block; margin-right: 0; }
  .start-screen .challenge-line {
    gap: 9px;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .07em;
  }
  .start-screen .challenge-number { font-size: 22px; line-height: 1; padding: 5px 7px; }
  .start-screen .start-description {
    max-width: 100%;
    margin: 12px 0;
    font-size: 13px;
    line-height: 1.45;
  }
  .start-screen .scoring-guide {
    max-width: 100%;
    margin: 0 0 16px;
    font-size: 10px;
    line-height: 1.5;
  }
  .start-screen .start-content > .button {
    position: static;
    inset: auto;
    flex: none;
    width: min(100%, 340px);
    min-width: 0;
    max-width: 100%;
    min-height: 56px;
    padding: 12px 18px;
    font-size: 14px;
  }
  .start-screen .start-record {
    position: static;
    inset: auto;
    flex: none;
    margin: 12px 0 0;
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: .07em;
  }
  .start-screen .start-record b { font-size: 12px; }
  .start-screen .start-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 48px;
    padding: 10px 0 0;
    flex: none;
  }
  .start-screen .controls-guide {
    min-width: 0;
    max-width: none;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .02em;
  }
  .start-screen .controls-guide.touch-only { flex-wrap: nowrap; }
  .start-screen .touch-aim-icon { flex: none; font-size: 24px; line-height: 1; }
  .start-screen .footer-tag {
    max-width: 84px;
    margin: 0;
    font-size: 7.5px;
    line-height: 1.5;
    letter-spacing: .1em;
    text-align: right;
  }
  .start-screen .scene-callout { display: none; }
  .start-screen:before {
    inset: 0;
    width: auto;
    height: auto;
    background: radial-gradient(ellipse at 10% 40%, #0876e824, transparent 65%);
  }
  .start-screen:after { opacity: .18; z-index: -1; }
}

@media (max-width: 900px) and (max-height: 620px) and (orientation: portrait) {
  .start-screen { gap: 8px; padding: 14px 20px 10px; }
  .start-screen .start-header { min-height: 52px; }
  .start-screen .brand-logo { width: 52px; height: 52px; }
  .start-screen .eyebrow { margin-bottom: 8px; }
  .start-screen h1 { font-size: clamp(48px, 14vw, 58px); margin-bottom: 10px; }
  .start-screen .challenge-number { font-size: 20px; padding: 4px 7px; }
  .start-screen .start-description { font-size: 12px; line-height: 1.4; margin: 8px 0; }
  .start-screen .scoring-guide { font-size: 9.5px; line-height: 1.45; margin-bottom: 12px; }
  .start-screen .start-content > .button { min-height: 54px; }
  .start-screen .start-record { margin-top: 8px; }
  .start-screen .start-footer { min-height: 44px; padding-top: 8px; }
}

@media (max-width: 900px) and (max-height: 560px) and (orientation: portrait) {
  .start-screen { gap: 6px; padding: 12px 18px 8px; }
  .start-screen .start-header { min-height: 44px; }
  .start-screen .brand-logo { width: 44px; height: 44px; }
  .start-screen h1 { font-size: 48px; }
  .start-screen .start-content > .button { min-height: 54px; }
  .start-screen .start-footer { min-height: 40px; }
}

@media (max-width: 900px) and (max-height: 460px) and (orientation: portrait) {
  .start-screen { gap: 4px; padding: 10px 16px 8px; }
  .start-screen .start-header { min-height: 40px; }
  .start-screen .brand-logo { width: 40px; height: 40px; }
  .start-screen h1 { font-size: 44px; margin-bottom: 8px; }
  .start-screen .start-description { font-size: 11px; }
  .start-screen .scoring-guide { font-size: 9px; margin-bottom: 10px; }
}

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .start-screen { padding: 14px 26px 10px; gap: 8px; }
  .start-screen .start-header { min-height: 44px; }
  .start-screen .brand-logo { width: 44px; height: 44px; }
  .start-screen .start-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 28px;
    row-gap: 6px;
    align-content: center;
    align-items: start;
  }
  .start-screen .eyebrow { grid-column: 1; grid-row: 1; margin: 0; font-size: 8px; }
  .start-screen h1 {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(44px, 7.2vw, 68px);
    line-height: .86;
    margin: 0;
  }
  .start-screen .challenge-line { grid-column: 1; grid-row: 3; align-self: center; font-size: 9px; }
  .start-screen .challenge-number { font-size: 18px; padding: 4px 6px; }
  .start-screen .start-description { grid-column: 1; grid-row: 4; font-size: 11px; margin: 0; }
  .start-screen .scoring-guide { grid-column: 2; grid-row: 1 / 3; align-self: end; margin: 0 0 8px; font-size: 10px; }
  .start-screen .start-content > .button { grid-column: 2; grid-row: 3; width: 100%; min-height: 52px; font-size: 13px; }
  .start-screen .start-record { grid-column: 2; grid-row: 4; margin: 4px 0 0; font-size: 9px; }
  .start-screen .start-footer { min-height: 32px; padding-top: 8px; }
  .start-screen .controls-guide { font-size: 9px; }
  .start-screen .footer-tag { max-width: none; font-size: 8px; }
}

@media (max-width: 900px) and (max-height: 360px) and (orientation: landscape) {
  .start-screen { padding: 10px 24px 8px; gap: 6px; }
  .start-screen .start-header { min-height: 40px; }
  .start-screen .brand-logo { width: 40px; height: 40px; }
  .start-screen h1 { font-size: clamp(44px, 6.6vw, 60px); }
}

@media (max-width: 900px) and (max-height: 300px) and (orientation: landscape) {
  .start-screen { padding: 8px 22px; gap: 4px; }
  .start-screen .start-header { min-height: 36px; }
  .start-screen .brand-logo { width: 36px; height: 36px; }
  .start-screen .start-content { row-gap: 4px; }
  .start-screen h1 { font-size: 44px; }
  .start-screen .start-content > .button { min-height: 48px; }
}
