:root{color-scheme:dark;--ink:#10172b;--lime:#e2ff70;--muted:#abb5c7}*{box-sizing:border-box}body{margin:0;background:var(--ink);font:14px system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#fff;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:700 11px system-ui;letter-spacing:.06em;color:inherit;background:#ffffff12;border:1px solid #ffffff30;border-radius:9px;padding:15px 20px;cursor:pointer;transition:background .15s,transform .15s}button:hover{background:#ffffff25;transform:translateY(-1px)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--lime);outline-offset:3px}button.primary{background:var(--lime);color:var(--ink);border:0}button.primary:hover{background:#edffa1}button span{float:right;margin-left:25px}button:disabled{opacity:.35;cursor:default}#game{position:fixed;inset:0;width:100%;height:100%;display:block}#veil{position:fixed;inset:0;background:linear-gradient(90deg,#0c1228ee 0%,#0c1228d0 30%,#0c12287a 57%,#0c122815 100%);pointer-events:none}#brand{position:fixed;left:4vw;right:4vw;top:30px;display:flex;justify-content:space-between;align-items:center}#brand a{font-weight:950;color:white;text-decoration:none;font-size:23px;letter-spacing:-1px}#brand a span{color:var(--lime)}#brand small{font-size:10px;letter-spacing:.23em;color:#d8e4f2}.panel{position:relative;margin:115px 4vw 60px;max-width:770px;max-height:calc(100dvh - 185px);overflow:auto;padding:0 15px 12px 0;scrollbar-width:thin}.eyebrow,.section-label{font-size:10px;letter-spacing:.17em;font-weight:750;color:var(--lime)}h1{font-size:clamp(44px,5.2vw,76px);line-height:1.02;letter-spacing:-.065em;margin:20px 0}h1 em{color:var(--lime);font-style:normal}.intro{font-size:14px;line-height:1.7;color:#c2cadd;margin-bottom:25px}.section-label{color:#aeb8ce;margin:22px 0 12px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.card{text-align:left;padding:0;overflow:hidden;background:#10182cb0;border-color:#ffffff28}.card.selected,.pilot.selected{border-color:var(--lime);box-shadow:0 0 0 1px var(--lime)}.card .art{height:78px;position:relative;overflow:hidden;background:linear-gradient(135deg,var(--a),var(--b))}.card .art:before{content:'';position:absolute;width:160px;height:60px;border:13px solid #ffffff8c;border-radius:50%;transform:rotate(-23deg);top:28px;left:33px}.card .art:after{content:'↗';font-size:42px;position:absolute;right:13px;top:4px;color:#ffffffa0}.card .info{padding:13px}.card h3{font-size:14px;letter-spacing:0;margin:0 0 6px}.card p{margin:0;color:#bbc7da;font-size:10px;letter-spacing:.03em}.pilots{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.pilot{padding:10px 4px;font-size:10px;letter-spacing:0}.pilot i{display:block;width:25px;height:25px;margin:0 auto 7px;background:var(--c);border-radius:9px 9px 6px 6px;border:5px solid #ffffff30;box-shadow:inset 0 -6px #152139}.launch{display:flex;gap:9px;margin-top:23px}.launch button{font-size:10px;padding:17px}.launch .primary{min-width:180px;text-align:left}.footnote{margin-top:18px;font-size:9px;letter-spacing:.07em;color:#a9b4ca;display:flex;align-items:center;gap:7px}.dot{height:5px;width:5px;background:var(--lime);border-radius:50%}#best{margin-left:auto;color:var(--lime)}footer{position:fixed;bottom:14px;left:4vw;right:4vw;display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.08em;color:#c2cadd}footer button{padding:7px 11px;font-size:9px;border:0}.glass{background:#10182cce;border:1px solid #ffffff30;border-radius:13px;backdrop-filter:blur(10px)}.hud-top{position:absolute;top:24px;left:28px;right:28px;display:flex;gap:12px;align-items:flex-start}.place{padding:12px 22px;display:flex;gap:12px;align-items:center}.place b{font-size:58px;line-height:1;color:var(--lime)}.place span{line-height:1.7;font-size:10px}.lap{padding:12px 22px;display:flex;flex-direction:column;gap:4px}.lap small{font-size:9px;letter-spacing:.1em;color:var(--lime)}.lap strong{font-size:20px}.lap span{font-variant-numeric:tabular-nums;font-size:12px}#pauseBtn{margin-left:auto;background:#10182cbb;font-size:22px}#ranking{position:absolute;top:165px;left:28px;padding:14px;width:175px;font-size:11px}#ranking div{padding:6px 0;color:#b8c3d9}#ranking div.you{color:var(--lime);font-weight:800}#map{position:absolute;right:23px;top:110px;width:190px;height:147px;background:#10182c99;border-radius:12px}.hud-bottom{position:absolute;bottom:58px;left:28px;right:28px;display:flex;align-items:stretch;gap:15px}.speed{padding:12px 20px;display:flex;align-items:baseline;gap:8px}.speed b{font-size:42px}.speed span{font-size:9px}.charge{width:300px;padding:14px}.charge>div:first-child{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.07em}.meter{height:5px;background:#ffffff25;margin:12px 0 8px;border-radius:5px;overflow:hidden}.meter i{height:100%;display:block;background:var(--lime);width:0}.charge small{font-size:9px;color:#c3cddd}#item{margin-left:auto;width:175px;display:flex;flex-direction:column;justify-content:center;gap:9px;text-align:left}#item small{font-size:9px;color:#c3cddd}#item strong{font-size:18px;color:var(--lime)}#countdown{position:absolute;top:34%;left:0;right:0;text-align:center;font-size:110px;font-weight:950;text-shadow:0 5px 40px #10182c;pointer-events:none}#toast{position:absolute;left:50%;top:22%;transform:translateX(-50%);background:#10182cdd;border-radius:30px;padding:12px 24px;font-weight:700;white-space:nowrap}#toast:empty{display:none}.modal{position:fixed;inset:0;background:#080c1ab5;display:grid;place-items:center;padding:24px;backdrop-filter:blur(9px)}[hidden]{display:none!important}.dialog{background:#151e32;border:1px solid #ffffff28;border-radius:20px;padding:30px;width:min(620px,96vw);max-height:90dvh;overflow:auto}.dialog h2{font-size:36px;letter-spacing:-.05em;margin:5px 0 15px}.dialog p{color:#bec8da;line-height:1.6}.dialog .actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}.dialog table{width:100%;border-collapse:collapse;font-size:12px;margin:15px 0}.dialog td,.dialog th{text-align:left;padding:10px 5px;border-bottom:1px solid #ffffff15}.dialog th{color:var(--lime)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settings-grid label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#c1cce0;font-size:11px}.settings-grid input,.settings-grid select{background:#0b1224;color:white;padding:7px;border:1px solid #ffffff30;border-radius:6px;width:85px}#touch{position:absolute;bottom:150px;left:15px;right:15px;display:flex;gap:7px;justify-content:space-between}#touch button{touch-action:none;user-select:none;padding:16px;background:#111a32aa;font-size:10px}.error{position:fixed;inset:20%;padding:30px;background:#151e32;z-index:99}.result-row{display:flex;justify-content:space-between;padding:12px;border-bottom:1px solid #ffffff20}.result-row.you{color:var(--lime)}@media(max-height:800px) and (min-width:800px){.panel{margin-top:95px;max-height:calc(100dvh - 145px)}h1{font-size:52px;margin:12px 0}.intro{margin-bottom:13px}.section-label{margin:17px 0 9px}.card .art{height:60px}.launch{margin-top:17px}}@media(max-width:700px){#brand{top:20px}#brand small{display:none}.panel{margin-top:85px;max-height:calc(100dvh - 140px)}h1{font-size:47px}.intro{font-size:12px}.cards{gap:7px}.card .art{height:60px}.card .info{padding:10px 7px}.card h3{font-size:12px}.card p{font-size:8px}.pilots{grid-template-columns:repeat(3,1fr)}.pilot i{display:inline-block;vertical-align:middle;margin:0 7px 0 0;width:20px;height:20px}.launch{flex-wrap:wrap}.launch button{flex:1;padding:13px}.launch .primary{min-width:140px}.footnote{font-size:7px}footer{font-size:7px}.hud-top{left:12px;right:12px;top:12px}.place{padding:10px}.place b{font-size:40px}.lap{padding:10px}.lap strong{font-size:16px}#ranking{display:none}#map{width:130px;height:100px;right:12px;top:120px}.hud-bottom{left:12px;right:12px;gap:6px;bottom:48px}.speed{padding:10px;flex-direction:column;gap:0}.speed b{font-size:30px}.charge{width:auto;flex:1;padding:10px}.charge small{font-size:8px}#chargeText{display:none}#item{width:105px;padding:10px}#item strong{font-size:13px}#toast{font-size:11px;max-width:94vw;white-space:normal;text-align:center}.dialog{padding:20px}.dialog h2{font-size:28px}}
