:root{--yellow:#ffda46;--red:#f0224c;--glass:rgba(7,22,36,.78);--muted:#9bb3c2}#topbar{padding-block:22px;background:linear-gradient(#06131c55,#06131c05);backdrop-filter:blur(4px)}.brand-icon{box-shadow:0 0 34px #ffd74320}.version-tag{font-size:9px;color:#fff;border:1px solid #ffffff35;padding:5px 7px;letter-spacing:1px}.menu-copy{top:21%;max-width:680px}h1{text-shadow:0 8px 55px #00111e44}.intro{color:#d0dde4}.course-facts{margin-bottom:22px}.mode-select{margin-bottom:8px}.mode-select button{padding:10px 15px;font-size:10px;letter-spacing:1.6px}.mode-description{font-size:11px;color:#a5bbc9;max-width:470px;margin:0 0 19px;line-height:1.6}.button{border-radius:3px}.primary{background:linear-gradient(115deg,#f02a4e,#d91140);box-shadow:0 8px 35px #ea1e4c30}.primary:hover{background:linear-gradient(115deg,#ff4262,#ee2252);box-shadow:0 10px 40px #ed17454f}.secondary{backdrop-filter:blur(8px);background:#0f263ab0}.menu-links{display:flex;gap:22px;align-items:center}.menu-links .text-button{font-size:10px;letter-spacing:.4px}.aircraft-card{bottom:18%;right:4%;width:305px;border:1px solid #ffffff26;border-left:2px solid var(--yellow);border-radius:4px;background:linear-gradient(115deg,#091e31dd,#132f4470)}.aircraft-card .spec-row{display:flex;font-size:17px;color:#f7f7ed;gap:10px;margin:0 0 20px}.spec-row b{font-size:24px;font-weight:500}.spec-row small{display:block;font-size:8px;color:#a8bac9;letter-spacing:.4px;margin-top:5px}.aircraft-card h2{font-size:23px}.aircraft-card p{font-size:11px}#load-status{font-size:9px;letter-spacing:1.2px;color:#8eacbb}.menu-bottom{bottom:21px}.menu-bottom>span:first-child{color:#e5eac9}.playing #topbar{padding-block:16px}.playing .brand-icon{width:34px;height:34px;font-size:38px}.playing .brand b{font-size:16px}.playing .brand strong{font-size:14px}.playing .event-tag{font-size:8px}.race-strip{top:95px;background:var(--glass);border-radius:3px;padding:13px 0;box-shadow:0 8px 35px #00101a20}.race-strip b{font-family:Race,'Consolas',monospace;font-size:24px;font-weight:500}#gate-prompt{top:105px}#race-progress{position:absolute;left:42px;top:188px;display:flex;gap:4px;width:526px}#race-progress i{flex:1;height:3px;background:#ffffff35;transition:background .3s}#race-progress i:nth-child(4n){margin-right:6px}#race-progress i.done{background:#8ce3c1}#race-progress i.bad{background:#ff6181}#race-progress i.active{background:#ffdc45;box-shadow:0 0 9px #ffe25388}#delta-box{position:absolute;top:214px;left:43px;display:flex;flex-direction:column;gap:7px}#delta-box>span{font-size:7px;letter-spacing:1.7px;color:#b2c5cf}#delta-box>b{font-size:24px;font-family:Consolas,monospace;font-weight:500;color:#d8e5ee}#delta-box>b.ahead{color:#89f1c4}#delta-box>b.behind{color:#ff819b}#delta-box>small{font-size:8px;letter-spacing:1.7px;color:#e6c94d}#flight-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.flight-instruments{padding:15px 20px 17px;left:22px;bottom:73px;border:1px solid #ffffff12;background:linear-gradient(110deg,#071e2bd4,#0a203d10);border-radius:4px;gap:24px}.flight-instruments b{font-size:48px;font-family:Race,Consolas,monospace}#horizon{box-shadow:0 0 0 5px #11243290,0 4px 15px #0005}.throttle{left:435px;bottom:95px}.map-panel{width:218px;bottom:90px;border-radius:5px;background:linear-gradient(130deg,#071b2ded,#113249ad);box-shadow:0 10px 50px #03132444}.map-panel canvas{width:180px;height:167px}.map-panel p{font-size:6px;gap:6px}#precision-pill{position:absolute;bottom:100px;left:50%;transform:translateX(-50%);display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:center;width:220px;font-size:9px;letter-spacing:1.7px;text-shadow:0 2px 5px #000}#precision-pill>span{width:5px;height:5px;background:#8adebf;border-radius:50%}#precision-pill>small{width:100%;text-align:center;font-size:7px;color:#c3d2dc;letter-spacing:1px}#precision-pill.active>b{color:var(--yellow)}#precision-pill.active>span{background:var(--yellow);box-shadow:0 0 15px #ffdf3b}#notification{top:28%;background:#061c2de8;border-radius:3px;font-size:11px;letter-spacing:1.7px;box-shadow:0 4px 25px #03132022}#warning{top:35%;font-size:12px}#countdown{font-size:160px;text-shadow:0 12px 70px #0005}#cockpit{display:none!important}.cockpit-view .flight-instruments{transform:scale(.85);transform-origin:bottom left}.cockpit-view .throttle{left:370px}.cockpit-view #precision-pill{bottom:72px}.hud-bottom{font-size:7px;color:#bdced8;bottom:24px}.hud-bottom kbd{background:#061b2990;font-size:9px}.modal{border-radius:7px;background:linear-gradient(140deg,#132c40,#081c2d);border-color:#accbd32a;box-shadow:0 35px 130px #0008}.modal-shade{background:#030d1cbf;backdrop-filter:blur(17px)}.modal>.eyebrow{color:#f3d158}.modal h2{font-size:39px}.settings-modal{max-width:810px}.settings-modal>p{font-size:12px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px 35px;margin-top:28px}.settings-grid>label{font-size:9px;letter-spacing:1.5px;color:#cadbe4;display:block}.settings-grid select{display:block;width:100%;margin:11px 0 8px;background:#061523;color:#e9f3f7;border:1px solid #6a8b9c55;padding:13px 12px;font:12px 'Segoe UI',sans-serif;border-radius:3px}.settings-grid small{font-size:10px;color:#809faf;letter-spacing:0;line-height:1.7}.settings-grid input[type=range]{width:100%;margin-top:19px;accent-color:#ffcf39;height:4px;cursor:pointer}.settings-grid output{float:right;color:var(--yellow);font-family:Consolas,monospace}.settings-checks{display:flex;flex-direction:column;gap:13px;font-size:12px;color:#b7ceda}.settings-checks input{accent-color:#e9234a;margin:0 10px 0 0}.settings-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:32px;padding-top:25px;border-top:1px solid #ffffff15}.settings-footer .button{min-width:240px}.settings-footer .text-button{font-size:11px}.result{max-width:630px}.result h2{margin-bottom:14px;font-size:34px}#result-grade{margin:24px auto 12px;width:60px;height:60px;border:1px solid #ffda4677;background:linear-gradient(130deg,#ffda4622,#ffda4600);display:grid;place-items:center;transform:rotate(-7deg);font-size:37px;font-weight:bold;font-style:italic;color:#ffdc50;border-radius:8px}#result-time{font-size:62px}.result-stats{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#90adbb;text-align:left}.result-stats b{display:block;margin-top:8px;font-size:16px;font-weight:500;color:#e5edf1}.result-grid{margin:20px 0}.result-actions{display:flex;justify-content:center;gap:32px}#sector-results{display:flex;gap:6px;margin-top:15px}#sector-results>span{flex:1;background:#07172599;border-bottom:2px solid #7bd6b0;padding:9px 2px;font:11px Consolas,monospace;color:#d5e3e9}#sector-results small{display:block;font:7px Arial,sans-serif;color:#91b2c2;margin-bottom:5px;letter-spacing:1px}.leaderboard-modal{max-width:720px}.leaderboard-modal h2{font-size:36px}.leaderboard-table{width:100%;border-collapse:collapse;margin:22px 0 25px;font-variant-numeric:tabular-nums}.leaderboard-table th{font-size:8px;letter-spacing:1.3px;color:#8caabb;font-weight:normal;text-align:left;padding:15px 9px;border-bottom:1px solid #69839455}.leaderboard-table td{font:13px Consolas,monospace;padding:15px 9px;border-bottom:1px solid #69839422}.leaderboard-table tr:first-child td{color:#ffda46}.leaderboard-table td:first-child{color:#91aabb}.empty-results{padding:40px 25px;text-align:center;border:1px dashed #6a8b9c55;color:#a1b9c9;line-height:1.8}.small-note{font-size:10px!important;color:#708fa2!important}#replay-bar{position:fixed;z-index:8;left:50%;bottom:24px;transform:translateX(-50%);width:min(760px,90vw);background:#051729e8;border:1px solid #5e889b66;backdrop-filter:blur(12px);border-radius:5px;display:flex;align-items:center;gap:18px;padding:15px 20px;box-shadow:0 8px 50px #00122255}#replay-bar>span{color:#ffda46;font-size:9px;letter-spacing:2px}#replay-bar button{background:none;font-size:12px;white-space:nowrap}#replay-bar input{flex:1;min-width:50px;accent-color:#ffda46;height:4px}#replay-clock{font:12px Consolas,monospace;white-space:nowrap}#replay-exit{font-size:9px!important;color:#aac3d1}.replaying .hud-bottom,.replaying #race-progress,.replaying #delta-box,.replaying #precision-pill{display:none}.replaying .flight-instruments,.replaying .map-panel{bottom:115px}#mouse-reticle{position:fixed;width:106px;height:106px;border:1px solid #ffffee66;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:7}#mouse-reticle i{position:absolute;left:47px;top:47px;width:12px;height:12px;border:2px solid #ffde48;border-radius:50%;box-shadow:0 0 12px #ffd84f55}#fps{font:10px Consolas,monospace;color:#bfd3c9;align-self:center;margin-right:10px}
@media(max-height:850px){.menu-copy{top:19%}h1{font-size:68px;margin:20px 0}.intro{margin:15px 0}.course-facts{margin:18px 0}.mode-description{margin-bottom:13px}.course-facts b{font-size:21px}.aircraft-card{bottom:19%}.modal{padding:28px 36px}.result h2{font-size:28px}.result #result-grade{margin:12px auto 5px;width:42px;height:42px;font-size:28px}#result-time{font-size:47px}.result-grid{margin:13px 0;padding:13px 0}.result p{margin:12px 0}.result>.button{margin-top:16px}.result-stats b{font-size:13px}.result>.eyebrow{font-size:8px}}
@media(max-width:1100px){.aircraft-card{width:255px}.spec-row b{font-size:19px}#delta-box{left:25px}#race-progress{left:24px;width:480px}.flight-instruments{left:8px}.throttle{left:390px}.map-panel{width:180px}.map-panel canvas{width:142px;height:143px}.menu-copy{max-width:600px}#precision-pill{bottom:70px}.settings-grid{gap:25px}.hud-bottom{font-size:6px}.hud-bottom kbd{font-size:8px}}
@media(max-width:700px){#topbar{padding:15px 18px}.top-actions{gap:5px}.icon-button{width:30px;height:30px;font-size:17px}.menu-copy{left:7%;top:18%;max-width:87%}h1{font-size:58px;margin:20px 0}.intro{font-size:12px}.course-facts{margin:19px 0}.mode-select button{font-size:8px;padding:9px 13px}.mode-description{font-size:10px;max-width:320px}.menu-links{gap:17px}.menu-links .text-button{font-size:9px}.aircraft-card{display:none}.course-facts b{font-size:22px}.menu-bottom{font-size:6px}.race-strip{top:88px}.race-strip b{font-size:16px}#race-progress{top:153px;left:13px;width:calc(100% - 26px);gap:3px}#delta-box{top:170px;left:18px}#delta-box>span{font-size:6px;letter-spacing:.7px}#delta-box>b{font-size:20px}#sector-label{font-size:7px!important}#gate-prompt{top:173px;right:18px}#gate-prompt b{font-size:14px}.flight-instruments{bottom:205px;padding:10px;gap:15px;left:9px}.flight-instruments b{font-size:30px}.throttle{left:265px;bottom:229px}.map-panel{width:90px;right:12px;bottom:220px;padding:7px}.map-panel canvas{width:74px;height:88px}.map-panel>div span,.map-panel p{display:none}#precision-pill{bottom:207px;left:40%;font-size:7px;width:160px}#precision-pill>small{font-size:6px}.settings-grid{grid-template-columns:1fr;gap:23px}.settings-modal{max-height:92vh;overflow:auto}.settings-footer{flex-direction:column-reverse}.settings-footer .button{width:100%}.settings-footer .text-button{padding:5px}.modal{padding:30px 23px}.settings-modal h2{font-size:29px}.result h2{font-size:27px}#result-time{font-size:43px}.result-stats{font-size:6px}.result-stats b{font-size:12px}.result-grid span{font-size:6px}#sector-results{gap:3px}#sector-results>span{font-size:9px}#sector-results small{font-size:6px}#replay-bar{padding:12px;gap:8px}#replay-bar>span{display:none}#replay-clock{font-size:10px}#replay-exit{font-size:7px!important}.leaderboard-table td{font-size:11px;padding:13px 5px}.leaderboard-table th{font-size:6px;padding:13px 5px}.cockpit-view .throttle{left:245px}.cockpit-view .flight-instruments{transform:none}}
@media(pointer:coarse){.flight-instruments{bottom:228px}.map-panel{bottom:230px}.throttle{bottom:249px}}

#delta-box{background:#071b2b9c;border-left:2px solid #8fe1c077;padding:12px 16px;border-radius:2px;min-width:175px}#delta-box>span{color:#bcd0dc}.throttle{padding:10px 12px;background:#071b2b6b;border-radius:3px}#precision-pill{text-shadow:0 2px 5px #001a2d,0 0 10px #001a2d}.spec-row{color:#fff!important}.spec-row b{color:#e8f2f5!important}@media(max-width:700px){#delta-box{padding:8px 10px;min-width:142px;max-width:145px}.throttle{padding:8px;left:256px}}
