@charset "UTF-8";

:root{font-family:"Segoe UI",Arial,sans-serif;color:#f1f5ec;background:#071817;font-synthesis:none;--mint:#b7f7c9;--mint-bright:#c4ffd5;--muted:#7e9a96;--line:rgba(187,226,211,.15);--mono:"Cascadia Code",Consolas,"Courier New",monospace;--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{overscroll-behavior:none}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:5px}button{color:inherit}button svg,a svg{flex-shrink:0}a{color:inherit;text-decoration:none}svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}#app{position:relative;width:100%;height:100%;min-height:460px;isolation:isolate;background:#071817}#scene,.scene-shade,.screen-grain,#impact{position:absolute;inset:0}#scene{z-index:-4;overflow:hidden}#scene canvas{display:block;width:100%;height:100%;outline:none}.scene-shade{pointer-events:none;z-index:-3;background:linear-gradient(90deg,rgba(5,20,20,.97) 0%,rgba(5,20,20,.92) 19%,rgba(5,20,20,.45) 42%,transparent 66%),linear-gradient(0deg,rgba(3,14,15,.9),transparent 25%,transparent 80%,rgba(3,14,15,.4));transition:background .6s}.screen-grain{z-index:18;pointer-events:none;opacity:.055;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.5' filter='url(%23n)'/%3E%3C/svg%3E")}#impact{z-index:16;pointer-events:none;opacity:0;background:radial-gradient(ellipse at center,transparent 25%,rgba(255,62,57,.65));transition:opacity .15s}#impact.active{opacity:1}
.site-header{position:absolute;z-index:12;top:0;left:0;right:0;height:104px;display:flex;align-items:center;justify-content:space-between;margin:0 5.4%;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center}.brand>svg{width:36px;height:36px;color:var(--mint)}.brand>svg path:first-child{stroke-width:1}.brand>svg path:last-child{stroke-width:2}.brand strong,.brand small{display:block}.brand strong{font-size:15px;font-weight:750;letter-spacing:2.7px}.brand small{font-family:var(--mono);font-size:8px;letter-spacing:3.4px;color:var(--muted);margin-top:4px}.sector-label{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:30px;padding:11px 17px;color:#a5beb5;font:9px var(--mono);letter-spacing:1.2px;white-space:nowrap}.status-dot{display:inline-block;flex-shrink:0;width:5px;height:5px;background:var(--mint);border-radius:50%;box-shadow:0 0 9px rgba(183,247,201,.3)}.sector-divider{color:#47635b;margin:0 2px}.header-actions{display:flex;gap:8px}.icon-button{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;width:39px;height:39px;border:1px solid var(--line);border-radius:8px;background:rgba(12,34,31,.32);color:#bed0c5;transition:background .2s,border-color .2s,transform .2s}.icon-button:hover{background:rgba(183,247,201,.13);border-color:rgba(183,247,201,.5)}.icon-button svg{width:18px;height:18px}.icon-button[aria-pressed="false"] .sound-on,.icon-button[aria-pressed="true"] .sound-off{display:none}
#start-screen{position:absolute;inset:0}.launch-panel{position:absolute;top:49.6%;left:7.4%;transform:translateY(-48%);width:360px;z-index:2}.eyebrow{font-family:var(--mono);font-size:9px;letter-spacing:1.7px;font-weight:400;display:flex;align-items:center;gap:10px;color:#adc9bb}.eyebrow>span:empty{display:inline-block;width:17px;height:1px;background:var(--mint)}h1{font-family:"Arial Narrow","Segoe UI",sans-serif;font-size:108px;font-weight:800;font-style:italic;letter-spacing:-7px;line-height:.83;margin:28px 0 26px;transform-origin:left center;transform:scaleX(.96)}h1>span:first-child{color:var(--mint)}.title-period{color:var(--mint);margin-left:1px}.hero-tagline{font-size:20px;font-weight:500;letter-spacing:-.5px;margin:0 0 12px}.hero-description{font-size:12px;line-height:1.9;color:#a0b3aa;margin:0 0 25px}.launch-settings{display:flex;align-items:center;justify-content:space-between;padding:0 1px;margin-bottom:13px}.launch-settings>label{font:8px var(--mono);letter-spacing:1.25px;color:var(--muted)}.select-wrap{position:relative}.select-wrap>svg{position:absolute;right:9px;top:10px;width:12px;height:12px;pointer-events:none;color:var(--mint)}select{appearance:none;border:1px solid var(--line);border-radius:5px;color:#c0d5c7;background:#112b25;font-size:10px;padding:8px 30px 8px 11px;cursor:pointer}select option{background:#112b25}.primary-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px;padding:15px 21px;border:1px solid var(--mint);border-radius:7px;background:var(--mint);color:#15382b;font-size:15px;letter-spacing:-.2px;font-weight:650;box-shadow:0 0 35px rgba(135,233,169,.07);transition:background .2s,transform .2s,box-shadow .2s}.primary-button svg{width:22px;height:22px}.primary-button:hover:not(:disabled){background:#d6ffdf;transform:translateY(-2px);box-shadow:0 7px 26px rgba(135,233,169,.15)}.primary-button:active:not(:disabled){transform:translateY(0)}.primary-button:disabled{opacity:.6}.launch-under{margin-top:13px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8ca59a}.launch-key{display:flex;align-items:center;gap:6px}kbd{display:inline-flex;justify-content:center;align-items:center;min-width:20px;height:19px;padding:0 5px;font:8px var(--mono);color:#b6cabf;background:rgba(155,190,170,.07);border:1px solid rgba(183,221,199,.22);border-radius:3px;box-shadow:0 1px rgba(183,221,199,.12)}.text-button{display:inline-flex;align-items:center;gap:13px;padding:0;border:0;background:transparent;font-size:10px;color:#b8cabc}.text-button:hover{color:var(--mint)}.text-button>span{font-size:16px;color:var(--mint)}.menu-record{display:flex;align-items:center;gap:8px;padding-top:24px;margin-top:22px;border-top:1px solid var(--line)}.menu-record>svg{height:15px;width:15px;color:#a1b8a9}.menu-record>span{font:8px var(--mono);letter-spacing:1px;color:var(--muted)}.menu-record>strong{font:12px var(--mono);letter-spacing:1.5px;margin-left:auto;color:#d5e8d7}.scene-annotation{position:absolute;right:9%;bottom:26%;display:flex;align-items:center;gap:17px;opacity:.65}.annotation-cross{font:23px var(--mono);font-weight:300;color:var(--mint)}.scene-annotation div{display:flex;flex-direction:column;gap:6px}.scene-annotation div>span{font:8px var(--mono);color:var(--mint);letter-spacing:2px}.scene-annotation div>strong{font:8px var(--mono);color:#b4ccbb;letter-spacing:1.5px}.annotation-line{height:1px;width:65px;background:linear-gradient(90deg,#8cae9a,transparent)}
.briefing{position:absolute;bottom:74px;left:5.4%;right:5.4%;height:75px;padding-top:24px;border-top:1px solid var(--line);display:flex;align-items:center;gap:0}.briefing-item{display:flex;align-items:center;min-width:211px;margin-right:40px;gap:17px}.briefing-item+.briefing-item{border-left:1px solid var(--line);padding-left:32px}.briefing-number{font:8px var(--mono);color:#688d7c;align-self:flex-start;padding-top:2px}.briefing-item>svg{width:26px;height:26px;color:var(--mint);stroke-width:1}.briefing-item strong{display:block;font:10px var(--mono);letter-spacing:1.6px;font-weight:600}.briefing-item p{font-size:10px;color:#7d9a8a;margin:6px 0 0}.briefing-note{display:flex;align-items:center;gap:9px;margin-left:auto;font:7px var(--mono);letter-spacing:1.4px;color:#849e8f;white-space:nowrap}.briefing-note .status-dot{width:3px;height:3px}.mobile-copy{display:none}.site-footer{position:absolute;z-index:5;bottom:calc(22px + var(--safe-bottom));left:5.4%;right:5.4%;display:flex;justify-content:space-between;align-items:center;gap:20px;font:7px var(--mono);letter-spacing:1.3px;color:#608676;pointer-events:none}.site-footer>span:first-child{display:flex;gap:8px;align-items:center}.site-footer .status-dot{width:4px;height:4px;opacity:.7}.footer-center{opacity:.65;position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap}.engine-mark{color:#7f9a8a}.engine-mark>span{padding:0 5px;color:#4f7663}.engine-mark .footer-version{margin-left:15px;padding:0}
.hud{position:absolute;top:130px;left:5.4%;right:5.4%;z-index:5;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.instrument-label{font:8px var(--mono);letter-spacing:1.6px;color:#9eb6a9}.score-panel{position:relative;min-width:190px}.score-panel>.instrument-label{display:block;margin-bottom:3px}#score{font-size:37px;line-height:1.2;font-weight:600;letter-spacing:1px;font-variant-numeric:tabular-nums}.combo{display:inline-block;margin-left:9px;font:12px var(--mono);color:var(--mint)}.best-line{font:8px var(--mono);color:#718e7f;letter-spacing:1.2px;margin-top:6px}.best-line span{color:#a9beaf;margin-left:10px}.center-instruments{position:absolute;left:50%;transform:translateX(-50%);width:180px;padding-top:4px}.health-row,.energy-row{display:flex;align-items:center;justify-content:space-between}.health-row{margin-bottom:17px}#health{display:flex;gap:5px}.life{display:block;width:17px;height:7px;background:var(--mint);transform:skewX(-15deg);box-shadow:0 0 8px rgba(183,247,201,.15)}.life.lost,.life.empty,.life.dead{opacity:.15;box-shadow:none}.boost-key{font:7px var(--mono);letter-spacing:1px;color:#749989}.energy-track{height:4px;border-radius:2px;background:rgba(128,183,150,.18);margin-top:8px;overflow:hidden}#energy-fill{height:100%;width:100%;background:var(--mint);box-shadow:0 0 10px var(--mint);transform-origin:left center;transition:width .1s linear}.speed-panel{margin-left:auto;text-align:right}.speed-panel>div:first-child{display:flex;align-items:baseline;justify-content:flex-end;gap:8px}#speed{font-size:36px;font-style:italic;font-weight:500;letter-spacing:-1px;font-variant-numeric:tabular-nums}.speed-panel>div:first-child>span{font:8px var(--mono);color:#8ca89a}.distance-line{font:8px var(--mono);color:#739783;letter-spacing:.6px;margin-top:5px}.distance-line>span{color:#c7dece}.pause-button{margin-left:25px;pointer-events:auto;width:36px;height:36px}.hud .pause-button svg{stroke-width:2.5;width:16px}.overlay-screen{position:absolute;z-index:10;inset:104px 0 50px;display:flex;align-items:center;justify-content:center;background:rgba(3,16,16,.4);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);padding:20px}.modal-card{width:390px;border:1px solid rgba(174,230,195,.2);border-radius:15px;padding:36px;background:linear-gradient(135deg,rgba(28,56,44,.94),rgba(7,27,24,.97));box-shadow:0 20px 100px rgba(0,0,0,.25)}h2{font-size:42px;line-height:1.02;letter-spacing:-2px;font-weight:650;margin:25px 0 17px}h2 em{color:var(--mint);font-style:normal}.modal-card>p{font-size:12px;color:#9eb5a7;line-height:1.7;margin:0 0 25px}.modal-card .primary-button{margin-top:25px}.secondary-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;padding:12px;border:1px solid var(--line);border-radius:7px;background:transparent;font-size:11px;color:#a7c2b1;margin-top:10px;transition:background .2s}.secondary-button:hover{background:rgba(183,247,201,.08)}.modal-footnote{text-align:center;font-size:10px;color:#7f9d8d;margin-top:20px}.modal-footnote kbd{margin-right:5px}.gameover-card{padding:30px 34px}.gameover-card h2{font-size:49px;margin:22px 0 12px}.gameover-card>.record-label{color:var(--mint);font-size:11px;margin-bottom:20px}.final-score-wrap{border-top:1px solid var(--line);padding-top:17px}.final-score-wrap .instrument-label{display:block}#final-score{display:block;font-size:43px;letter-spacing:1px;line-height:1.3;font-weight:500;font-variant-numeric:tabular-nums}.result-grid{display:grid;grid-template-columns:1fr .85fr 1fr;margin-top:16px;gap:10px}.result-grid>div+div{border-left:1px solid var(--line);padding-left:14px}.result-grid>div>span{display:block;font:7px var(--mono);letter-spacing:1px;color:#88a592}.result-grid strong{display:block;font:17px var(--mono);margin-top:8px;color:#c8e0cd}.result-grid small{font-size:9px;font-weight:normal;color:#8daa99}
#touch-controls{position:absolute;z-index:7;bottom:calc(62px + var(--safe-bottom));left:6%;right:6%;display:flex;align-items:center;justify-content:space-between;pointer-events:none;user-select:none;-webkit-user-select:none}#touch-controls button{pointer-events:auto;touch-action:none;border:1px solid rgba(180,235,198,.3);background:rgba(17,52,39,.65);color:var(--mint);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}#touch-controls button:active,#touch-controls button.pressed{background:rgba(183,247,201,.3);border-color:var(--mint)}.touch-arrow{display:flex;justify-content:center;align-items:center;width:70px;height:65px;border-radius:13px}.touch-arrow svg{height:26px;width:26px}.touch-boost{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:74px;height:74px;border-radius:50%}.touch-boost svg{width:23px;height:23px}.touch-boost span{font:7px var(--mono);letter-spacing:1px}#loading{position:absolute;z-index:9;left:50%;bottom:21%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;font:10px var(--mono);letter-spacing:.5px;color:var(--mint);padding:12px 17px;background:rgba(8,33,27,.8);border:1px solid var(--line);border-radius:6px;white-space:nowrap}.loading-spinner{width:12px;height:12px;border:1px solid rgba(183,247,201,.2);border-top-color:var(--mint);border-radius:50%;animation:spin 1s linear infinite}.fatal-card{position:absolute;z-index:25;width:360px;max-width:90%;top:50%;left:50%;transform:translate(-50%,-50%);padding:25px;background:#183129;border:1px solid #93b09b;border-radius:10px;font-size:15px}.fatal-card p{font-size:12px;line-height:1.7;color:#c1d0c3}#toast{position:absolute;left:50%;top:31%;transform:translateX(-50%);z-index:15;pointer-events:none;color:var(--mint);font:11px var(--mono);letter-spacing:1.5px;text-align:center;text-shadow:0 2px 12px #03291d;white-space:nowrap}#toast:empty{display:none}dialog{width:420px;max-width:calc(100vw - 36px);max-height:calc(100dvh - 40px);padding:30px;border:1px solid rgba(174,230,195,.25);border-radius:14px;background:#102a23;color:#e1eddf;box-shadow:0 25px 100px #0006}dialog::backdrop{background:rgba(2,15,15,.8);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.help-head{display:flex;align-items:center;justify-content:space-between}.help-head .eyebrow{font-size:8px}.help-head .icon-button{width:30px;height:30px}dialog h2{font-size:33px;margin-top:20px}dialog>p{font-size:12px;color:#9cb7a5;line-height:1.7}.help-controls{padding:8px 0;margin:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.help-controls>div{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0;font-size:11px;color:#bdd0bf}.help-controls kbd{min-width:22px;height:22px;font-size:9px}.help-tip{display:flex;gap:13px;align-items:baseline}.help-tip>span{font:9px var(--mono);color:var(--mint)}.help-tip p{font-size:12px;line-height:1.6;color:#b0c6b6;margin:7px 0}.help-touch{font-size:10px!important;margin-top:20px;color:#7f9d89!important}
#app:not([data-phase="menu"]) .scene-shade{background:linear-gradient(0deg,rgba(3,14,15,.5),transparent 24%,transparent 70%,rgba(3,14,15,.7))}#app:not([data-phase="menu"]) .footer-center{display:none}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.launch-panel{width:390px;left:9%}h1{font-size:126px}.hero-description{font-size:13px}.hero-tagline{font-size:23px}.briefing-item{min-width:250px}.briefing{bottom:89px}.scene-annotation{right:11%;bottom:25%}}
@media(max-width:1180px){.launch-panel{left:6%;width:322px}h1{font-size:98px}.briefing-item{min-width:175px;margin-right:20px;gap:12px}.briefing-item+.briefing-item{padding-left:22px}.briefing-note{display:none}.briefing{justify-content:space-between}.briefing-item:last-of-type{margin-right:0}.hero-description{font-size:11px}.scene-annotation{right:5%;bottom:26%}.sector-label{font-size:8px;padding:10px 13px;letter-spacing:.7px}}
@media(max-height:820px) and (min-width:761px){.site-header{height:83px}.launch-panel{top:47%;transform:translateY(-47%);width:310px}.launch-panel h1{font-size:86px;margin:22px 0 19px}.hero-tagline{font-size:18px}.hero-description{margin-bottom:18px}.launch-settings{margin-bottom:10px}.launch-button{min-height:50px}.menu-record{margin-top:16px;padding-top:15px}.briefing{bottom:63px;height:65px;padding-top:16px}.overlay-screen{inset:83px 0 43px}.hud{top:109px}.gameover-card{padding:23px 30px}.gameover-card h2{font-size:43px;margin-top:18px}.gameover-card .primary-button{margin-top:20px}}
@media(max-width:760px){#app{min-height:460px}.site-header{height:79px;margin:0 6%}.brand>svg{width:30px;height:30px}.brand{gap:10px}.brand strong{font-size:12px;letter-spacing:2px}.brand small{font-size:6px;letter-spacing:2.8px}.sector-label{display:none}.icon-button{width:34px;height:34px;border-radius:7px}.icon-button svg{width:16px;height:16px}.header-actions{gap:6px}.scene-shade{background:linear-gradient(0deg,#071b17 0%,rgba(5,24,20,.95) 29%,rgba(5,20,18,.67) 47%,rgba(5,20,20,.02) 76%,rgba(5,20,20,.28) 100%)}.launch-panel{left:7%;right:7%;top:auto;bottom:calc(112px + var(--safe-bottom));width:auto;transform:none}.launch-panel>.eyebrow{font-size:8px;letter-spacing:1.1px}h1{font-size:clamp(71px,18vw,100px);line-height:.86;letter-spacing:-5px;margin:20px 0 15px;transform:scaleX(.99)}h1 br{display:none}h1>span:first-child{margin-right:11px}.title-period{display:none}.hero-tagline{font-size:17px;margin-bottom:8px}.hero-description{font-size:11px;line-height:1.65;margin-bottom:20px}.launch-settings{position:absolute;top:2px;right:0;gap:8px}.launch-settings>label{display:none}.select-wrap select{font-size:9px;padding:6px 25px 6px 8px;background:rgba(23,51,38,.8)}.select-wrap>svg{top:8px;right:7px;width:10px}.primary-button{min-height:53px;font-size:14px}.launch-under{margin-top:13px}.launch-key{visibility:hidden}.menu-record{position:absolute;right:0;bottom:-2px;border:0;padding:0;margin:0;gap:6px;pointer-events:none}.menu-record>span{font-size:6px;letter-spacing:.5px}.menu-record>strong{font-size:10px;margin-left:4px}.menu-record>svg{width:11px;height:11px}.launch-under .text-button{margin-right:auto;position:absolute;left:0;font-size:10px}.scene-annotation{top:105px;right:7%;bottom:auto;gap:11px;opacity:.6}.scene-annotation div>strong{font-size:6px;letter-spacing:.8px}.scene-annotation div>span{font-size:7px}.annotation-cross{font-size:17px}.annotation-line{display:none}.briefing{bottom:calc(44px + var(--safe-bottom));height:47px;left:7%;right:7%;padding-top:12px;justify-content:space-between;gap:8px}.briefing-item{min-width:0;gap:7px;margin:0}.briefing-item+.briefing-item{padding-left:10px}.briefing-number{display:none}.briefing-item>svg{width:18px;height:18px}.briefing-item strong{font-size:7px;letter-spacing:1px}.briefing-item p{font-size:7px;margin-top:4px}.desktop-copy{display:none}.mobile-copy{display:inline}.site-footer{bottom:calc(16px + var(--safe-bottom));left:7%;right:7%;font-size:5px;letter-spacing:.75px;gap:10px}.footer-center{display:none}.engine-mark .footer-version{margin-left:5px}.engine-mark>span{padding:0 2px}.hud{top:100px;left:6%;right:6%;gap:10px}.score-panel{min-width:100px}.instrument-label{font-size:6px;letter-spacing:1px}#score{font-size:25px}.combo{font-size:9px;margin-left:5px}.best-line{font-size:6px;letter-spacing:.5px}.best-line span{margin-left:4px}.center-instruments{top:85px;width:135px;left:0;transform:none}.health-row{margin-bottom:11px}.life{width:14px;height:6px;transform:skewX(-15deg)}.boost-key{display:none}.energy-track{height:3px;margin-top:6px}.speed-panel{padding-right:2px}#speed{font-size:27px}.speed-panel>div:first-child{gap:5px}.speed-panel>div:first-child>span{font-size:6px}.distance-line{font-size:6px;margin-top:6px}.pause-button{width:30px;height:30px;margin-left:6px}.overlay-screen{inset:79px 0 35px;padding:17px}.modal-card{padding:28px;width:355px;border-radius:12px}.modal-card h2{font-size:40px}.gameover-card{padding:24px 27px}.gameover-card h2{font-size:45px;margin-top:20px}.gameover-card>.record-label{margin-bottom:17px}.final-score-wrap{padding-top:15px}#final-score{font-size:38px}.result-grid{margin-top:13px}.modal-card .primary-button{margin-top:23px}#loading{bottom:auto;top:32%;font-size:8px;padding:10px 13px}.help-head .eyebrow{font-size:8px}dialog{padding:25px}#toast{top:30%;font-size:9px}}
@media(max-width:400px){h1{font-size:17.4vw;letter-spacing:-4px}h1>span:first-child{margin-right:7px}.launch-panel{bottom:calc(104px + var(--safe-bottom))}.briefing-item{gap:5px}.briefing-item+.briefing-item{padding-left:6px}.briefing-item>svg{width:15px}.briefing-item p{font-size:6px}.briefing-item strong{font-size:6px}.menu-record>span{font-size:5px}.menu-record>strong{font-size:9px}.result-grid strong{font-size:14px}}
@media(max-height:690px) and (max-width:760px){.site-header{height:66px}.scene-annotation{top:88px}.launch-panel{bottom:calc(99px + var(--safe-bottom))}h1{font-size:17vw;max-height:70px;margin-top:16px;margin-bottom:11px}.hero-description{margin-bottom:13px;font-size:10px}.hero-tagline{font-size:15px;margin-bottom:6px}.launch-button{min-height:47px}.launch-under{margin-top:10px}.briefing{bottom:calc(41px + var(--safe-bottom));height:42px}.site-footer{bottom:calc(14px + var(--safe-bottom))}.overlay-screen{inset:66px 0 30px}.modal-card{padding:22px 26px}.modal-card h2{font-size:35px;margin-top:17px;margin-bottom:12px}.modal-card>p{font-size:11px;margin-bottom:14px}.gameover-card h2{font-size:36px;line-height:.98;margin-top:16px;margin-bottom:10px}.gameover-card>.record-label{margin-bottom:12px}.final-score-wrap{padding-top:12px}#final-score{font-size:31px}.result-grid{margin-top:10px}.result-grid strong{margin-top:6px}.modal-card .primary-button{margin-top:18px;min-height:47px}.secondary-button{min-height:36px;padding:9px}.hud{top:87px}#touch-controls{bottom:calc(49px + var(--safe-bottom))}.touch-arrow{width:61px;height:56px}.touch-boost{width:65px;height:65px}}
@media(max-height:540px) and (min-width:641px){.site-header{height:62px}.brand>svg{width:27px;height:27px}.brand strong{font-size:11px}.brand small{font-size:6px}.launch-panel{top:52%;left:6%;width:275px;bottom:auto;transform:translateY(-50%)}.launch-panel .eyebrow{font-size:7px}.launch-panel h1{font-size:68px;line-height:.78;margin:14px 0}.launch-panel h1 br{display:none}.launch-panel h1>span:first-child{margin-right:7px}.launch-panel .title-period{display:none}.hero-description{font-size:10px;line-height:1.5;margin-bottom:10px}.hero-tagline{font-size:15px;margin-bottom:6px}.launch-settings{margin-bottom:7px;position:static}.launch-settings>label{display:block;font-size:7px}.launch-button{min-height:41px;padding:10px 16px;font-size:12px}.launch-under{margin-top:8px}.menu-record{display:none}.briefing{display:none}.site-footer{bottom:15px}.scene-annotation{bottom:18%;top:auto;right:8%}.overlay-screen{inset:62px 0 30px}.modal-card{width:420px;padding:20px 27px}.modal-card h2{font-size:28px;margin:14px 0 10px}.modal-card h2 br{display:none}.modal-card .primary-button{min-height:40px;margin-top:14px;padding:10px 16px}.modal-card>p{margin-bottom:13px}.modal-footnote{margin-top:12px}.gameover-card>.record-label{margin-bottom:10px}.final-score-wrap{padding-top:10px}#final-score{font-size:29px}.result-grid{margin-top:8px}.result-grid strong{font-size:13px;margin-top:5px}.secondary-button{min-height:32px;padding:8px}.hud{top:79px}.center-instruments{top:0;left:50%;transform:translateX(-50%)}#touch-controls{bottom:35px}#loading{bottom:15%;top:auto}}
@media(max-height:760px) and (min-height:541px) and (min-width:761px){.launch-panel{top:50%;transform:translateY(-57%);width:305px}.launch-panel h1{font-size:73px;line-height:.81;margin:17px 0 15px}.hero-tagline{font-size:17px;margin-bottom:8px}.hero-description{line-height:1.7;margin-bottom:14px}.launch-settings{margin-bottom:8px}.launch-button{min-height:47px}.launch-under{margin-top:10px}.menu-record{display:none}}
@media(max-width:760px) and (min-width:401px){h1{font-size:16.7vw;letter-spacing:-4.5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
.ar-menu-button,.multiplayer-menu-button{min-height:40px;margin-top:10px;padding:10px 13px;border-color:rgba(183,247,201,.18);font-size:10px;gap:9px;justify-content:flex-start;background:rgba(14,42,34,.38)}.ar-menu-button:hover:not(:disabled),.ar-menu-button.active{border-color:var(--mint);background:rgba(183,247,201,.12);color:var(--mint)}.ar-menu-button .ar-arrow{margin-left:auto;font-size:16px}.ar-dot{width:7px;height:7px;border:1px solid var(--mint);border-radius:50%;box-shadow:0 0 0 3px rgba(183,247,201,.1)}.multiplayer-menu-button{opacity:.68;cursor:not-allowed;position:relative}.multi-icon{font-size:17px;color:#8da99b}.dev-badge{margin-left:auto;font:6px var(--mono);letter-spacing:.7px;color:#8aa699;border:1px solid rgba(183,247,201,.16);border-radius:3px;padding:4px 5px}.ar-preview{position:absolute;z-index:13;top:125px;right:5.4%;width:300px;padding:10px;border:1px solid rgba(183,247,201,.4);border-radius:12px;background:rgba(4,24,24,.78);box-shadow:0 18px 65px rgba(0,0,0,.36);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.ar-preview-head,.ar-preview-foot{display:flex;align-items:center;justify-content:space-between;font:7px var(--mono);letter-spacing:1.25px;color:#b6d3c2}.ar-preview-head i{display:inline-block;width:6px;height:6px;margin-right:6px;background:#ff8579;border-radius:50%;box-shadow:0 0 9px #ff8579;vertical-align:middle}.ar-preview-head button{border:0;background:transparent;color:#b5d0bf;font-size:18px;line-height:1;padding:0 2px}.ar-camera-frame{position:relative;overflow:hidden;margin:9px 0 8px;aspect-ratio:4/3;border:1px solid rgba(183,247,201,.2);border-radius:7px;background:#08201f}.ar-camera-frame video,.ar-camera-frame canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.ar-camera-frame canvas{z-index:2;pointer-events:none}.ar-scanline{position:absolute;z-index:3;left:0;right:0;top:45%;height:1px;background:linear-gradient(90deg,transparent,var(--mint),transparent);opacity:.35;animation:ar-scan 2.8s ease-in-out infinite}.ar-face-status{position:absolute;z-index:4;left:8px;bottom:7px;padding:4px 6px;border-radius:3px;background:rgba(3,17,18,.7);font:7px var(--mono);letter-spacing:.7px;color:#c4f6cf}.ar-preview-foot{font-size:6px;color:#7fa893}.ar-preview-foot span:last-child{color:var(--mint)}@keyframes ar-scan{0%,100%{transform:translateY(-24px);opacity:.1}50%{transform:translateY(27px);opacity:.55}}#scene canvas{touch-action:none}
@media(max-width:760px){.ar-menu-button,.multiplayer-menu-button{min-height:36px;padding:8px 10px;font-size:9px}.dev-badge{font-size:5px;padding:3px 4px}.ar-preview{top:92px;right:6%;width:min(42vw,230px);padding:7px;border-radius:9px}.ar-preview-head,.ar-preview-foot{font-size:5px;letter-spacing:.7px}.ar-camera-frame{margin:6px 0;aspect-ratio:4/3}.ar-face-status{left:5px;bottom:5px;font-size:5px;padding:3px 4px}.ar-preview-head button{font-size:16px}.ar-preview-foot{font-size:5px}}
#app[data-phase="playing"]{touch-action:none}
.ar-camera-frame video{object-fit:fill}
@media(max-width:760px),(max-height:600px){#app{min-height:0;height:100dvh}#start-screen{top:80px;bottom:45px;overflow-y:auto;overflow-x:hidden;padding:24px 7% 26px}.launch-panel{position:relative;inset:auto;transform:none;width:min(100%,390px);margin:0;min-height:0}.launch-panel h1{font-size:clamp(56px,15vw,86px);margin:24px 0 16px}.launch-settings{position:relative;inset:auto}.launch-settings>label{display:block}.launch-under{min-height:25px}.menu-record{position:static;margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.briefing{position:relative;inset:auto;margin-top:28px;height:auto;padding-bottom:16px}.scene-annotation{display:none}.ar-preview{top:155px;width:min(38vw,180px)}#app[data-phase="menu"] .ar-preview{top:85px;width:130px}.ar-preview-head button{min-width:28px;min-height:28px}}

/* Camera flight deck and pilot hangar. */
#app:is([data-phase="paused"],[data-phase="gameover"]) .capture-dock{bottom:calc(16px + var(--safe-bottom));left:50%;width:min(248px,calc(100vw - 40px));padding:9px 14px;border-radius:12px}
#app:is([data-phase="paused"],[data-phase="gameover"]) .capture-actions,#app:is([data-phase="paused"],[data-phase="gameover"]) .capture-labels,#app:is([data-phase="paused"],[data-phase="gameover"]) .capture-note{display:none}
#app:is([data-phase="paused"],[data-phase="gameover"]) .recording-status{font-size:8px;min-height:13px;letter-spacing:.5px}
#app:is([data-phase="paused"],[data-phase="gameover"]) .recording-download{margin-top:8px;min-height:34px;font-size:10px}
#app:is([data-phase="paused"],[data-phase="gameover"]):has(#capture-dock:not([hidden])) .overlay-screen{bottom:calc(105px + var(--safe-bottom));overflow-y:auto;align-items:flex-start}
#app:is([data-phase="paused"],[data-phase="gameover"]):has(#capture-dock:not([hidden])) .modal-card{margin:auto}
.pilot-progress{display:flex;flex-direction:column;align-items:center;gap:6px;flex-shrink:0;min-width:55px}.pilot-progress>span{max-width:90px;color:#87ae96;font:7px var(--mono);text-align:center;line-height:1.5;overflow-wrap:anywhere}
.gallery-button{width:auto;gap:8px;padding:0 12px}.gallery-button span{font:8px var(--mono);letter-spacing:1.1px}.gallery-button[aria-expanded="true"]{background:var(--mint);color:#12382b;border-color:var(--mint)}
.ar-preview{top:225px;width:250px;border-color:rgba(183,247,201,.28);padding:11px}.ar-preview-head{font-size:8px;letter-spacing:1px}.ar-preview-head button{display:flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;border-radius:5px}.ar-preview-head button:hover{background:rgba(183,247,201,.1)}.ar-preview-head i{background:var(--mint);box-shadow:0 0 9px #b7f7c94d}.ar-camera-frame{margin-top:6px}.ar-face-status{max-width:calc(100% - 16px);font-size:8px;line-height:1.5;letter-spacing:.15px}.ar-preview-foot{font-size:7px;letter-spacing:.4px}.face-controls{display:flex;flex-direction:column;align-items:stretch;gap:9px;margin-top:11px;padding-top:11px;border-top:1px solid var(--line)}.face-toggle{display:flex;gap:9px;align-items:center;position:relative;min-height:30px;font-size:11px;color:#cee6d7;cursor:pointer}.face-toggle input{position:absolute;width:1px;height:1px;opacity:0}.toggle-track{display:block;position:relative;width:29px;height:17px;flex-shrink:0;border:1px solid #739b8666;border-radius:12px;background:#173b2e;transition:background .18s}.toggle-track::after{content:"";position:absolute;width:11px;height:11px;top:2px;left:2px;border-radius:50%;background:#789d85;transition:transform .18s,background .18s}.face-toggle input:checked+.toggle-track{background:#b7f7c926;border-color:#b7f7c9}.face-toggle input:checked+.toggle-track::after{background:var(--mint);transform:translateX(12px)}.face-toggle input:focus-visible+.toggle-track{outline:2px solid var(--mint);outline-offset:4px}.calibrate-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border:1px solid var(--line);background:#b7f7c908;border-radius:5px;color:#a9c9b7;font-size:10px}.calibrate-button:hover{border-color:#b7f7c977;background:#b7f7c912}.calibrate-button svg{width:15px;height:15px}.camera-privacy{margin:9px 0 0;text-align:center;color:#7da28f;font-size:8px;line-height:1.5}
.capture-dock{position:absolute;z-index:14;bottom:calc(47px + var(--safe-bottom));left:50%;transform:translateX(-50%);width:248px;padding:14px 15px 10px;background:linear-gradient(135deg,rgba(15,41,33,.95),rgba(5,25,24,.92));border:1px solid rgba(183,247,201,.24);border-radius:20px;box-shadow:0 12px 40px #021a16aa;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);text-align:center}.recording-status{min-height:13px;color:#a6c3b2;font:8px var(--mono);letter-spacing:1.2px;line-height:1.6}.capture-actions{display:flex;align-items:center;justify-content:center;gap:21px;margin:11px 0 7px}.capture-orbit{display:flex;align-items:center;justify-content:center;width:34px;color:#b7f7c955}.capture-orbit svg{width:30px;height:30px;stroke-width:.75}.record-button{position:relative;display:flex;align-items:center;justify-content:center;width:66px;height:66px;flex-shrink:0;border:2px solid #f3fff5;border-radius:50%;background:transparent;padding:5px;box-shadow:0 0 0 4px #f3fff50a;transition:transform .18s,box-shadow .18s}.record-core{display:block;width:100%;height:100%;border-radius:50%;background:#ff6d67;box-shadow:inset 0 1px 1px #ffceae88;transition:width .18s,height .18s,border-radius .18s}.record-button:hover{transform:scale(1.05);box-shadow:0 0 0 5px #f3fff517}.record-button[aria-pressed="true"] .record-core,.record-button.is-recording .record-core,.record-button.recording .record-core{width:24px;height:24px;border-radius:5px;background:#ff706b}.record-button[aria-pressed="true"]{box-shadow:0 0 0 5px #ff706b18}.play-button{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0;border:1px solid #b7f7c944;border-radius:50%;background:#b7f7c90a;color:var(--mint);transition:background .18s,transform .18s}.play-button svg{width:19px;height:19px;margin-left:3px;fill:currentColor;stroke-width:0}.play-button:hover{background:#b7f7c92a;transform:scale(1.04)}.capture-labels{display:flex;justify-content:flex-end;gap:14px;color:#afc9b9;font:6px var(--mono);letter-spacing:.45px;padding-right:4px}.capture-labels span:first-child{width:93px}.capture-labels span:last-child{width:55px}.capture-note{margin:10px 0 0;color:#729d88;font-size:8px;line-height:1.5}.recording-download{display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px;margin-top:12px;border:1px solid #b7f7c966;border-radius:7px;background:#b7f7c915;font-size:11px;color:var(--mint)}.recording-download svg{width:15px;height:15px}.recording-download:hover{background:#b7f7c928}
.helmet-gallery{position:absolute;z-index:22;top:119px;right:3.5%;bottom:calc(55px + var(--safe-bottom));width:352px;padding:23px;border:1px solid #b7f7c940;border-radius:17px;background:linear-gradient(145deg,rgba(20,47,37,.99),rgba(6,25,23,.99));box-shadow:-15px 20px 100px #00181399;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#719e8355 transparent}.gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.gallery-heading .eyebrow{font-size:8px;letter-spacing:1px}.gallery-heading .icon-button{width:31px;height:31px}.gallery-heading .icon-button svg{width:15px;height:15px}.gallery-title-row{display:flex;justify-content:space-between;align-items:center;gap:15px}.gallery-title-row h2{font-size:31px;line-height:1.08;letter-spacing:-1.4px;margin:20px 0 12px}.pilot-level{align-self:center;text-align:center;width:51px;min-height:54px;padding:9px 7px;border:1px solid #b7f7c930;border-radius:7px;background:#b7f7c908}.pilot-level>span{display:block;font:6px var(--mono);letter-spacing:1.4px;color:#829f8e}.pilot-level strong{font:22px var(--mono);color:var(--mint)}.gallery-description{color:#8eaf9d;font-size:11px;line-height:1.6;margin:0 0 22px}.gallery-legend{display:flex;align-items:center;gap:17px;padding:12px 0;border-top:1px solid var(--line);font:6px var(--mono);letter-spacing:.7px;color:#99bba7}.gallery-legend>span{display:flex;gap:6px;align-items:center}.gallery-legend i{display:inline-block;width:4px;height:4px;border-radius:50%}.level-dot{background:var(--mint)}.premium-dot{background:#e5baf2}.helmet-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.helmet-card{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:10px;border:1px solid #a7d6b820;border-radius:9px;background:#183e2d33;color:#d6e9dc;overflow:hidden;text-align:left}.helmet-card.selected,.helmet-card[aria-pressed="true"]{border-color:#b7f7cad0;background:linear-gradient(150deg,#b7f7c915,#0a241bcc);box-shadow:inset 0 0 0 1px #b7f7c918}.helmet-card.premium{background:linear-gradient(145deg,#472b5528,#1b242e22);border-color:#d6b8e636}.helmet-card.locked .helmet-thumbnail{opacity:.55}.helmet-thumbnail{display:flex;align-items:center;justify-content:center;aspect-ratio:1.35;min-height:74px;overflow:hidden;border-radius:6px;background:radial-gradient(ellipse at center,#7bb68b0a,transparent 75%)}.helmet-thumbnail img,.helmet-card>img{display:block;max-width:100%;width:100%;height:94px;object-fit:contain}.helmet-meta{display:flex;flex-direction:column;gap:4px;padding-top:7px}.helmet-name{display:block;color:#d5e9db;font-size:12px;font-weight:600;letter-spacing:-.2px}.helmet-tag,.helmet-price{display:block;color:#7fa48d;font:7px var(--mono);letter-spacing:.7px;line-height:1.6}.helmet-card.premium .helmet-tag,.helmet-card.premium .helmet-price{color:#c8a4da}.helmet-action{display:flex;align-items:center;justify-content:center;width:100%;min-height:31px;margin-top:11px;padding:6px;border:1px solid #aedcc12e;border-radius:5px;background:#aedcc108;color:#c0dcc8;font-size:9px;text-align:center}.helmet-action:hover:not(:disabled){background:#b7f7c91c;border-color:#b7f7c980}.helmet-action:disabled{cursor:not-allowed;color:#718e7c}.helmet-card.selected .helmet-action{color:#183f2d;background:var(--mint);border-color:var(--mint)}.helmet-card.premium .helmet-action{border-color:#d7b8e62a;color:#bd9aca;background:#d7b8e60a}.helmet-card p{font-size:10px;line-height:1.5;color:#8daa98;margin:6px 0}.helmet-card>strong{font-size:12px;margin-top:5px}.helmet-card>span{font-size:9px;color:#8daa98;line-height:1.5}.gallery-footnote{display:flex;align-items:flex-start;gap:9px;border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.gallery-footnote svg{width:18px;height:18px;flex-shrink:0;color:#709a80}.gallery-footnote p{font-size:9px;color:#7fa38c;line-height:1.7;margin:0}
#app.ar-active .site-footer{display:none}#app.ar-active #touch-controls .touch-boost{visibility:hidden}#app.ar-active .scene-annotation{display:none}#app.ar-active #start-screen{bottom:225px}#app.ar-active .briefing{display:none}#app.ar-active .launch-panel{top:130px;transform:none}#app.ar-active .launch-panel h1{font-size:85px}#app.ar-active .menu-record{display:none}
@media(min-width:761px) and (max-height:850px){#start-screen{top:100px;bottom:105px;overflow-y:auto;overflow-x:hidden;padding:25px 6%}.launch-panel{position:relative;inset:auto;transform:none;width:310px}.briefing{display:none}.launch-panel h1{font-size:76px;margin:21px 0}.menu-record{display:none}#app.ar-active .launch-panel{top:auto}#app.ar-active .launch-panel h1{font-size:65px}.helmet-gallery{top:98px;bottom:25px}}
@media(max-width:1000px) and (min-width:761px){.sector-label{display:none}.ar-preview{right:5%;width:215px}.capture-dock{left:53%}}
@media(max-width:760px){.gallery-button{width:34px;padding:0}.gallery-button span{display:none}.site-header{margin:0 5%}.brand{gap:8px}.brand strong{font-size:11px}.brand small{font-size:6px;letter-spacing:2.3px}.header-actions{gap:5px}.ar-preview,#app[data-phase="menu"] .ar-preview{top:190px;right:5%;width:151px;padding:7px;border-radius:10px}.ar-preview-head{font-size:6px;letter-spacing:.6px}.ar-preview-head button{min-width:28px;min-height:28px}.ar-preview-foot{font-size:5px;letter-spacing:0}.ar-face-status{font-size:6px;left:5px;bottom:5px;max-width:calc(100% - 10px)}.ar-camera-frame{margin-top:2px;margin-bottom:7px}.face-controls{gap:5px;margin-top:8px;padding-top:7px}.face-toggle{font-size:8px;gap:6px;min-height:26px}.toggle-track{width:26px;height:16px}.toggle-track::after{width:10px;height:10px}.face-toggle input:checked+.toggle-track::after{transform:translateX(10px)}.calibrate-button{min-height:29px;font-size:8px;gap:5px}.calibrate-button svg{width:12px;height:12px}.camera-privacy{font-size:6px;margin-top:7px}.capture-dock{width:215px;bottom:calc(20px + var(--safe-bottom));padding:11px 12px 9px;border-radius:17px}.capture-actions{gap:16px;margin-top:9px}.capture-orbit{width:27px}.capture-orbit svg{width:26px}.record-button{width:59px;height:59px}.play-button{width:38px;height:38px}.recording-status{font-size:7px;letter-spacing:.75px}.capture-labels{gap:8px;padding-right:0;font-size:5px}.capture-labels span:first-child{width:85px}.capture-labels span:last-child{width:50px}.capture-note{font-size:7px;margin-top:8px}.recording-download{font-size:10px;min-height:34px}#app.ar-active #touch-controls{bottom:calc(64px + var(--safe-bottom));left:4%;right:4%}#app.ar-active .touch-arrow{width:51px;height:54px}#app.ar-active #start-screen{top:80px;bottom:210px;padding-top:20px}#app.ar-active .launch-panel{top:auto;width:100%;padding-right:155px}#app.ar-active .launch-panel h1{font-size:52px;letter-spacing:-4px;line-height:.9;margin-top:20px}#app.ar-active .launch-panel h1 br{display:block}#app.ar-active .launch-panel .eyebrow{font-size:6px;line-height:1.6}#app.ar-active .launch-panel .eyebrow>span{display:none}#app.ar-active .launch-panel .hero-description,#app.ar-active .launch-settings,#app.ar-active .launch-button,#app.ar-active .multiplayer-menu-button,#app.ar-active .launch-under{display:none}#app.ar-active .hero-tagline{font-size:12px;line-height:1.6}#app.ar-active .ar-menu-button{margin-top:18px;font-size:8px;line-height:1.5;gap:5px;padding:8px}#app.ar-active .ar-menu-button .ar-arrow{display:none}.helmet-gallery{inset:89px 12px calc(14px + var(--safe-bottom));width:auto;max-width:390px;margin-left:auto;padding:19px;border-radius:14px}.gallery-title-row h2{font-size:30px;margin-top:16px}.gallery-description{font-size:11px;margin-bottom:16px}.helmet-list{gap:10px}.helmet-thumbnail img,.helmet-card>img{height:92px}.gallery-footnote p{font-size:9px}#toast{max-width:90%;white-space:normal;line-height:1.6}}
@media(max-width:360px){.brand strong{font-size:10px;letter-spacing:1.4px}.brand small{font-size:5px;letter-spacing:2px}.brand>svg{width:25px}.header-actions{gap:4px}.header-actions .icon-button{width:31px;height:33px}.capture-dock{width:190px}.capture-actions{gap:12px}.capture-labels{gap:3px}.ar-preview,#app[data-phase="menu"] .ar-preview{width:137px}#app.ar-active .launch-panel{padding-right:135px}.helmet-gallery{padding:16px}.helmet-card{padding:8px}}
@media(max-height:600px) and (min-width:641px){.site-header{height:60px}#start-screen{top:60px;bottom:25px}.helmet-gallery{top:69px;bottom:12px;width:340px}.gallery-title-row h2{font-size:26px}.gallery-description{margin-bottom:12px}.ar-preview,#app[data-phase="menu"] .ar-preview{top:115px;right:4%;width:178px;padding:7px}.ar-camera-frame{aspect-ratio:16/9}.ar-preview-head{font-size:6px}.ar-preview-foot{font-size:6px}.face-controls{flex-direction:row;align-items:center;gap:7px;margin-top:7px;padding-top:7px}.face-toggle{font-size:7px;gap:5px}.face-toggle span:last-child{max-width:43px;line-height:1.4}.calibrate-button{width:29px;min-height:28px;padding:0;margin-left:auto}.calibrate-button>span{display:none}.camera-privacy{font-size:6px;margin-top:5px}.capture-dock{left:50%;bottom:12px;width:213px;padding:8px 12px}.capture-actions{margin-top:6px;margin-bottom:4px;gap:15px}.capture-orbit{width:25px}.record-button{width:50px;height:50px}.play-button{width:34px;height:34px}.capture-note{display:none}.capture-labels{font-size:5px;gap:8px}.capture-labels span:first-child{width:76px}.capture-labels span:last-child{width:47px}.recording-status{font-size:6px;min-height:10px}.recording-download{margin-top:8px;min-height:28px;font-size:9px}#app.ar-active #start-screen{top:60px;bottom:25px;width:42%;padding:16px 5%}#app.ar-active .launch-panel{width:100%;padding-right:0;top:auto}#app.ar-active .launch-panel h1{font-size:49px;margin-top:12px}#app.ar-active .launch-panel h1 br{display:none}#app.ar-active .hero-tagline{font-size:12px}#app.ar-active .hero-description,#app.ar-active .launch-settings,#app.ar-active .launch-button,#app.ar-active .multiplayer-menu-button,#app.ar-active .launch-under{display:none}#app.ar-active .ar-menu-button{margin-top:15px;min-height:34px}#app.ar-active #touch-controls{bottom:22px}.overlay-screen{overflow-y:auto;align-items:flex-start}.modal-card{margin:auto}}
#app:not(.ar-active) .capture-actions,#app:not(.ar-active) .capture-labels,#app:not(.ar-active) .capture-note{display:none}

/* The floating camera stays compact; expand it when adjusting the fit. */
.ar-preview{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#719e8355 transparent}
.ar-preview.ar-expanded,#app[data-phase="menu"] .ar-preview.ar-expanded{width:min(320px,calc(100vw - 24px))}
.ar-preview-head{gap:2px;min-height:36px}.ar-preview-head>span{min-width:0;line-height:1.5}.ar-preview-head button{flex-shrink:0;min-width:36px;min-height:36px;touch-action:manipulation}.ar-preview-head button svg{width:17px;height:17px}.ar-preview-head button[aria-pressed="true"]{color:var(--mint);background:#b7f7c915}
.ar-face-guide{position:absolute;z-index:3;left:25%;top:9%;width:50%;height:74%;border:1px dashed #c4ffd5a6;border-radius:46% 46% 44% 44%;box-shadow:0 0 0 100px #021a1625;pointer-events:none;transition:border-color .2s,opacity .2s}.ar-face-guide::before{content:"";position:absolute;left:12%;right:12%;top:43%;border-top:1px solid #c4ffd548}.ar-face-guide::after{content:"";position:absolute;left:50%;top:35%;height:30%;border-left:1px solid #c4ffd52e}.ar-preview[data-tracking="aligning"] .ar-face-guide,.ar-preview[data-tracking="lost"] .ar-face-guide{border-color:#ffd38ca6}.ar-preview[data-tracking="error"] .ar-face-guide{display:none}.ar-preview:is([data-tracking="ready"],[data-tracking="error"]) .ar-scanline{display:none}
.ar-calibration-progress{height:3px;margin:-1px 0 8px;overflow:hidden;border-radius:2px;background:#b7f7c919}.ar-calibration-progress>span{display:block;width:0;height:100%;border-radius:inherit;background:var(--mint);box-shadow:0 0 8px #b7f7c966;transition:width .14s linear}.ar-preview:is([data-tracking="ready"],[data-tracking="error"]) .ar-calibration-progress{display:none}
.ar-settings{margin-top:9px;border-top:1px solid var(--line);font-size:10px;color:#bdd8c8}.ar-settings>summary{display:flex;justify-content:space-between;align-items:center;min-height:36px;list-style:none;cursor:pointer;touch-action:manipulation}.ar-settings>summary::-webkit-details-marker{display:none}.ar-settings>summary::after{content:"+";font:15px var(--mono);color:#87b499}.ar-settings[open]>summary::after{content:"−"}.ar-settings>summary:focus-visible,.ar-setting-field input:focus-visible,.ar-guide-toggle input:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
.ar-setting-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:5px;margin-top:5px}.ar-setting-field label{line-height:1.5}.ar-setting-field output{font:9px var(--mono);color:var(--mint);white-space:nowrap}.ar-setting-field input{grid-column:1/-1;width:100%;min-width:0;height:32px;margin:0;accent-color:var(--mint);cursor:pointer;touch-action:pan-y}.ar-guide-toggle{display:flex;align-items:center;gap:7px;min-height:36px;line-height:1.4;cursor:pointer}.ar-guide-toggle input{flex-shrink:0;width:16px;height:16px;margin:0;accent-color:var(--mint)}.ar-setting-tip{margin:3px 0 9px;font-size:9px;line-height:1.6;color:#8eb09d}
.ar-preview.ar-expanded .ar-preview-head{font-size:8px}.ar-preview.ar-expanded .ar-face-status{font-size:9px}.ar-preview.ar-expanded .ar-preview-foot{font-size:7px}.ar-preview.ar-expanded .face-toggle{font-size:11px}.ar-preview.ar-expanded .calibrate-button{font-size:10px}.ar-preview.ar-expanded .ar-settings{font-size:11px}.ar-preview.ar-expanded .camera-privacy{font-size:8px}
@media(max-width:760px){.ar-preview-head{font-size:6px;letter-spacing:.3px}.ar-preview-head button{min-width:34px;min-height:36px}.ar-preview-foot{flex-wrap:wrap;gap:4px}.face-toggle{min-height:36px;font-size:9px}.calibrate-button{min-height:36px;font-size:9px}.ar-settings{font-size:9px;margin-top:7px}.ar-setting-field output{font-size:8px}.ar-setting-tip{font-size:8px}.ar-guide-toggle{gap:5px}.ar-guide-toggle input{width:15px;height:15px}.camera-privacy{font-size:7px}.ar-preview.ar-expanded .face-controls{flex-direction:row;align-items:center;gap:9px}.ar-preview.ar-expanded .face-toggle{flex:1}.ar-preview.ar-expanded .calibrate-button{padding:0 9px}}
@media(pointer:coarse){.ar-preview-head button{min-width:44px;min-height:44px}.ar-preview-head>span{min-height:44px;display:flex;flex-wrap:wrap;align-content:center}.ar-preview-head i{margin:0 5px 0 0;align-self:center}.face-toggle,.calibrate-button,.ar-settings>summary,.ar-guide-toggle{min-height:44px}.ar-setting-field input{height:44px}.ar-preview-head button:focus-visible{outline-offset:-3px}}
@media(max-height:600px) and (min-width:641px){.ar-preview.ar-expanded,#app[data-phase="menu"] .ar-preview.ar-expanded{width:260px}.ar-preview.ar-expanded .face-controls{flex-direction:row}.ar-preview.ar-expanded .calibrate-button{width:auto;padding:0 7px}.ar-preview.ar-expanded .calibrate-button>span{display:block}.ar-preview.ar-expanded .face-toggle span:last-child{max-width:none}}
@media(prefers-reduced-motion:reduce){.ar-face-guide,.ar-calibration-progress>span{transition:none}.ar-scanline{animation:none}}
