:root{--blue:#2d6cdf;--blue-d:#1d4fb0;--yellow:#ffc83d;--yellow-d:#e0a400;--green:#22b35a;--green-d:#178a43;--red:#e5484d;--ink:#1b2440;--card:#fffffff5;--shadow:0 6px 0 #0000002e, 0 10px 24px #0000002e;--font:"Segoe UI", "Nunito", "Trebuchet MS", system-ui, -apple-system, sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%;font-family:var(--font);color:var(--ink);-webkit-user-select:none;user-select:none;touch-action:none;overscroll-behavior:none;background:#9cc9f5;margin:0;overflow:hidden}#oyun{outline:none;width:100%;height:100%;display:block;position:fixed;inset:0}#ui{pointer-events:none;position:fixed;inset:0}#ui>*{pointer-events:auto}.hidden{display:none!important}.btn{font-family:var(--font);color:#fff;background:var(--blue);box-shadow:0 6px 0 var(--blue-d), 0 10px 20px #0003;cursor:pointer;letter-spacing:.3px;border:0;border-radius:22px;padding:14px 26px;font-size:22px;font-weight:900;transition:transform 80ms,box-shadow 80ms,filter .15s}.btn:hover{filter:brightness(1.06)}.btn:active{box-shadow:0 2px 0 var(--blue-d), 0 4px 10px #0003;transform:translateY(4px)}.btn.yellow{background:var(--yellow);color:var(--ink);box-shadow:0 6px 0 var(--yellow-d), 0 10px 20px #0003}.btn.green{background:var(--green);box-shadow:0 6px 0 var(--green-d), 0 10px 20px #0003}.btn.white{color:var(--ink);background:#fff;box-shadow:0 6px #c9d3e6,0 10px 20px #00000026}.btn.big{border-radius:30px;padding:18px 64px;font-size:40px}#loading{z-index:50;background:linear-gradient(#5aa7f2,#bfe2ff 70%,#8fd16a 70.2%,#6fbf4a);flex-direction:column;justify-content:center;align-items:center;gap:22px;display:flex;position:fixed;inset:0}#loading .logo{font-size:64px;animation:1.1s ease-in-out infinite bounce}#loading .bar{background:#ffffffb3;border:4px solid #fff;border-radius:20px;width:min(460px,80vw);height:30px;overflow:hidden;box-shadow:inset 0 3px 6px #00000026}#loading .fill{background:repeating-linear-gradient(45deg, var(--yellow) 0 18px, #ffd86b 18px 36px);width:0%;height:100%;transition:width .2s}#loading .label{color:#fff;text-shadow:0 2px 4px #0000004d;font-size:22px;font-weight:800}@keyframes bounce{0%,to{transform:translateY(0)rotate(-3deg)}50%{transform:translateY(-14px)rotate(3deg)}}.screen{z-index:20;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}#title{background:radial-gradient(#fff0 30%,#14285a59);flex-direction:column;gap:26px}#title h1{color:#fff;text-align:center;text-shadow:0 5px 0 var(--blue-d), 0 10px 22px #00000059;-webkit-text-stroke:2px #1b244040;margin:0;font-size:clamp(40px,8vw,88px);font-weight:900;line-height:1.02}#title h1 span{color:var(--yellow)}#title .sub{color:#fff;background:#1b244073;border-radius:999px;padding:8px 18px;font-size:22px;font-weight:800}#title .row{gap:14px;display:flex}#setup{justify-content:flex-start;padding:16px}.card{background:var(--card);box-shadow:var(--shadow);border-radius:28px;padding:22px 24px}#setup .card{flex-direction:column;gap:14px;width:min(520px,94vw);max-height:94vh;margin-left:max(0px,8vw - 40px);display:flex;overflow:auto}.card h2{margin:0;font-size:30px;font-weight:900}.field label{margin-bottom:6px;font-size:19px;font-weight:900;display:block}.field input[type=text]{width:100%;font-family:var(--font);color:var(--ink);-webkit-user-select:text;user-select:text;border:4px solid #cfd9ee;border-radius:18px;outline:none;padding:12px 18px;font-size:28px;font-weight:800}.field input[type=text]:focus{border-color:var(--blue)}.err{color:#fff;background:var(--red);border-radius:14px;padding:8px 14px;font-size:17px;font-weight:800}.picker{align-items:center;gap:12px;display:flex}.picker .btn{padding:8px 18px;font-size:26px}.picker .val{text-align:center;flex:1;font-size:22px;font-weight:900}.swatches{flex-wrap:wrap;gap:12px;display:flex}.swatch{cursor:pointer;border:5px solid #fff;border-radius:50%;width:56px;height:56px;box-shadow:0 0 0 3px #cfd9ee,0 4px 8px #0003}.swatch.on{box-shadow:0 0 0 5px var(--blue), 0 4px 8px #0003;transform:scale(1.08)}.toggle{cursor:pointer;align-items:center;gap:12px;font-size:19px;font-weight:800;display:flex}.toggle .sw{background:#cfd9ee;border-radius:20px;flex:none;width:64px;height:36px;transition:background .15s;position:relative}.toggle .sw:after{content:"";background:#fff;border-radius:50%;width:28px;height:28px;transition:left .15s;position:absolute;top:4px;left:4px;box-shadow:0 2px 4px #0003}.toggle.on .sw{background:var(--green)}.toggle.on .sw:after{left:32px}.small{opacity:.75;font-size:15px;font-weight:700}details summary{cursor:pointer;font-size:17px;font-weight:800}#hud{pointer-events:none;z-index:10;position:fixed;inset:0}#hud>*{pointer-events:auto}.pill{background:#ffffffeb;border-radius:999px;align-items:center;gap:8px;padding:8px 16px;font-size:22px;font-weight:900;display:flex;box-shadow:0 4px #0000001f,0 6px 14px #00000026}#hud .tl{left:max(12px, env(safe-area-inset-left));top:max(12px, env(safe-area-inset-top));align-items:center;gap:10px;display:flex;position:absolute}#hud .tr{right:max(12px, env(safe-area-inset-right));top:max(12px, env(safe-area-inset-top));gap:10px;display:flex;position:absolute}.iconbtn{cursor:pointer;width:58px;height:58px;font-size:28px;font-family:var(--font);color:var(--ink);background:#fff;border:0;border-radius:20px;justify-content:center;align-items:center;font-weight:900;display:flex;box-shadow:0 5px #c9d3e6,0 8px 14px #00000026}.iconbtn:active{transform:translateY(3px);box-shadow:0 2px #c9d3e6}.iconbtn.on{background:var(--yellow);box-shadow:0 5px 0 var(--yellow-d), 0 8px 14px #00000026}#net{cursor:pointer;font-size:17px}#net .dot{background:#aaa;border-radius:50%;width:14px;height:14px}#net.online .dot{background:var(--green)}#net.connecting .dot{background:var(--yellow)}#prompt{cursor:pointer;padding:12px 22px 12px 12px;font-size:26px;animation:.25s pop;position:absolute;bottom:22%;left:50%;transform:translate(-50%)}#prompt kbd{background:var(--yellow);font-family:var(--font);box-shadow:0 3px 0 var(--yellow-d);border-radius:12px;padding:2px 12px;font-weight:900}#prompt.nokey kbd{display:none}#prompt.nokey{opacity:.9;cursor:default;padding-left:22px;font-size:20px}@keyframes pop{0%{transform:translate(-50%)scale(.7)}to{transform:translate(-50%)scale(1)}}#toasts{pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:absolute;top:84px;left:50%;transform:translate(-50%)}.toast{color:#fff;white-space:nowrap;background:#1b2440d9;border-radius:999px;padding:8px 18px;font-size:19px;font-weight:800;animation:.25s toastin}@keyframes toastin{0%{opacity:0;transform:translateY(-10px)}}#speedo{right:max(18px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom));color:#fff;pointer-events:none;background:radial-gradient(circle at 50% 40%,#2b3558,#151b30);border:7px solid #fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:170px;height:170px;display:flex;position:absolute;box-shadow:0 8px 20px #0000004d}#speedo canvas{width:100%;height:100%;position:absolute;inset:0}#speedo .num{z-index:1;font-size:50px;font-weight:900;line-height:1}#speedo .unit{opacity:.8;z-index:1;font-size:16px;font-weight:800}#speedo .icons{z-index:1;gap:6px;height:22px;margin-top:4px;font-size:18px;display:flex}#speedo .icons span{opacity:.18}#speedo .icons span.on{opacity:1}#carbar{width:-moz-fit-content;width:fit-content;left:0;right:0;bottom:max(14px, env(safe-area-inset-bottom));flex-wrap:wrap;justify-content:center;gap:8px;max-width:calc(100vw - 400px);margin:0 auto;display:flex;position:absolute}#carbar .iconbtn{gap:6px;width:auto;min-width:58px;padding:0 12px;font-size:24px}#carbar .iconbtn small{opacity:.6;font-size:13px}#emotes{left:max(12px, env(safe-area-inset-left));flex-direction:column;gap:10px;display:flex;position:absolute;top:50%;transform:translateY(-50%)}#emotes .iconbtn{width:54px;height:54px;font-size:28px}.celebrate{pointer-events:none;z-index:30;color:#fff;text-shadow:0 5px 0 var(--yellow-d), 0 8px 20px #00000059;justify-content:center;align-items:center;font-size:clamp(40px,7vw,80px);font-weight:900;animation:3.2s forwards celebrate;display:flex;position:fixed;inset:0}@keyframes celebrate{0%{opacity:0;transform:scale(.3)}15%{opacity:1;transform:scale(1.1)}25%{transform:scale(1)}85%{opacity:1}to{opacity:0}}.confetti{z-index:29;pointer-events:none;width:12px;height:18px;animation:linear forwards fall;position:fixed;top:-20px}@keyframes fall{to{transform:translateY(110vh)rotate(720deg)}}#touch{pointer-events:none;position:absolute;inset:0}#touch>*{pointer-events:auto}#joy{left:max(24px, env(safe-area-inset-left));bottom:max(24px, env(safe-area-inset-bottom));touch-action:none;background:#ffffff4d;border:5px solid #ffffffd9;border-radius:50%;width:190px;height:190px;position:absolute}#joy .knob{background:#fff;border-radius:50%;width:84px;height:84px;margin:-42px 0 0 -42px;position:absolute;top:50%;left:50%;box-shadow:0 6px 12px #0000004d}#tbtns{right:max(20px, env(safe-area-inset-right));bottom:max(24px, env(safe-area-inset-bottom));grid-template-columns:repeat(2,96px);gap:14px;display:grid;position:absolute}.tbtn{width:96px;height:96px;font-family:var(--font);color:var(--ink);touch-action:none;background:#ffffffeb;border:0;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;font-size:17px;font-weight:900;line-height:1.05;display:flex;box-shadow:0 6px #0000002e,0 8px 18px #0003}.tbtn b{font-size:34px}.tbtn:active,.tbtn.down{transform:translateY(4px);box-shadow:0 2px #0000002e}.tbtn.primary{background:var(--yellow)}body.touch #speedo{transform-origin:bottom;bottom:6px;left:50%;right:auto;transform:translate(-50%)scale(.72)}body.touch #carbar{max-width:96vw;top:84px;bottom:auto}body.touch #prompt{bottom:250px}body.touch #toasts{top:156px}.overlay{z-index:40;background:#0f193773;justify-content:center;align-items:center;padding:14px;display:flex;position:fixed;inset:0}.menu{flex-direction:column;gap:14px;width:min(560px,96vw);max-height:94vh;display:flex;overflow:auto}.menu .btn{width:100%}.menu .head{justify-content:space-between;align-items:center;gap:10px;display:flex}.menu table{border-collapse:collapse;width:100%;font-size:17px}.menu td{border-bottom:2px solid #eef2fa;padding:6px 4px}.menu kbd{font-weight:900;font-family:var(--font);white-space:nowrap;background:#eef2fa;border-radius:8px;padding:2px 8px;box-shadow:0 2px #cfd9ee}.seg{gap:8px;display:flex}.seg .btn{flex:1;padding:10px;font-size:19px}.seg .btn.off{color:var(--ink);background:#eef2fa;box-shadow:0 4px #cfd9ee}input[type=range]{width:100%;height:40px;accent-color:var(--blue)}.plist{flex-direction:column;gap:8px;display:flex}.plist .p{background:#f3f6fc;border-radius:16px;align-items:center;gap:10px;padding:8px 10px;font-size:19px;font-weight:800;display:flex}.plist .p .c{border:3px solid #fff;border-radius:50%;width:22px;height:22px;box-shadow:0 0 0 2px #cfd9ee}.plist .p .n{flex:1}.plist .iconbtn{width:46px;height:46px;font-size:22px}.about p{margin:4px 0;font-size:16px;line-height:1.4}@media (max-width:700px),(max-height:520px){.btn.big{padding:14px 44px;font-size:30px}#speedo{width:130px;height:130px}#speedo .num{font-size:38px}.iconbtn{width:50px;height:50px;font-size:24px}#carbar{max-width:96vw}.tbtn{width:84px;height:84px}#tbtns{grid-template-columns:repeat(2,84px)}#joy{width:160px;height:160px}}.menu .head .btn{width:auto}#navmini{left:max(14px, env(safe-area-inset-left));bottom:max(14px, env(safe-area-inset-bottom));cursor:pointer;background:#16202b;border:5px solid #fff;border-radius:50%;width:184px;height:184px;position:absolute;overflow:hidden;box-shadow:0 6px 18px #0000004d}#navmini canvas{width:100%;height:100%;display:block}body.touch #navmini{bottom:auto;top:max(76px, calc(env(safe-area-inset-top) + 64px));border-width:4px;width:128px;height:128px}@media (max-width:700px),(max-height:680px){#navmini{width:140px;height:140px}}@media (max-height:520px){#navmini{border-width:4px;width:108px;height:108px}body.touch #navmini{top:auto;bottom:max(10px, env(safe-area-inset-bottom));left:calc(max(24px, env(safe-area-inset-left)) + 172px);width:96px;height:96px}}.garage{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.garage .vcard{color:#1b2440;cursor:pointer;font:inherit;background:#f2f5fb;border:3px solid #0000;border-radius:14px;flex-direction:column;align-items:center;gap:2px;padding:8px 6px 10px;display:flex;position:relative;overflow:hidden}.garage .vcard:hover{background:#e6edf9}.garage .vcard.on{background:#fff7df;border-color:#ffc83d}.garage .vcard .vi{font-size:30px;line-height:1.1}.garage .vcard .vn{font-size:15px;font-weight:800}.garage .vcard .vk{opacity:.75;text-align:center;font-size:11px}.garage .vcard .vs{opacity:.85;font-size:11px;font-weight:700}.garage .vcard .vbar{background:0 0;height:4px;position:absolute;bottom:0;left:0;right:0}.garage .vcard.loading .vbar{background:#0000001a}.garage .vcard .vbar .fill{background:#22b35a;width:0;height:100%;transition:width .2s}.garage.busy .vcard:not(.loading){opacity:.55}.about .credits{margin:4px 0 8px;padding-left:18px;font-size:13px;line-height:1.45}#loading.bg{z-index:5}#loading.bg>*{display:none}.mini-load{flex-direction:column;align-items:center;gap:6px;display:flex}.mini-load .bar{background:#ffffffb3;border:3px solid #fff;border-radius:10px;width:min(320px,70vw);height:14px;overflow:hidden}.mini-load .fill{background:repeating-linear-gradient(45deg, var(--yellow) 0 12px, #ffd86b 12px 24px);width:0%;height:100%;transition:width .2s}.mini-load .label{color:#fff;text-shadow:0 2px 4px #0000004d;font-size:15px;font-weight:800}#basla.wait{opacity:.75;cursor:progress}body.touch{--gl:max(10px, env(safe-area-inset-left));--gr:max(10px, env(safe-area-inset-right));--gt:max(8px, env(safe-area-inset-top));--gb:max(10px, env(safe-area-inset-bottom));--row2:calc(var(--gt) + 52px);--side:92px;--tb:58px;--joy:136px;--pw:64px;--ph:88px}body.touch #hud .tl{left:var(--gl);top:var(--gt);max-width:calc(100vw - var(--gl) - var(--gr) - 4 * 50px - 12px);gap:6px}body.touch #hud .tl .pill{box-sizing:border-box;white-space:nowrap;background:#ffffffdb;gap:5px;height:44px;padding:0 11px;font-size:15px}body.touch #net{min-width:0;overflow:hidden}body.touch #net span{text-overflow:ellipsis;overflow:hidden}body.touch #net .dot{flex:none;width:11px;height:11px}body.touch #hud .tr{right:var(--gr);top:var(--gt);gap:6px}body.touch #hud .iconbtn{background:#ffffffe6;border-radius:14px;width:44px;height:44px;font-size:21px;box-shadow:0 3px #c9d3e6,0 5px 10px #00000026}body.touch #hud .iconbtn.on{background:var(--yellow)}body.touch #daha{display:none}body.touch[data-mod=surus] #daha{display:flex}body.touch #emotes,body.touch #carbar{top:var(--row2);right:var(--gr);width:auto;max-width:min(calc(100vw - var(--gl) - var(--gr) - var(--side) - 12px), 300px);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:6;background:#141c348c;border-radius:18px;flex-flow:wrap;justify-content:flex-end;gap:8px;margin:0;padding:8px;display:none;position:absolute;bottom:auto;left:auto;transform:none}body.touch #emotes.open,body.touch[data-mod=surus] #carbar.open{display:flex}body.touch #carbar .iconbtn,body.touch #emotes .iconbtn{width:50px;min-width:0;height:50px;padding:0;font-size:24px}body.touch #carbar [data-id=exit]{display:none}body.touch #polis-hud{top:var(--row2);transform-origin:top;transform:translate(-50%)scale(.8)}body.touch #navmini{top:var(--row2);bottom:auto;left:var(--gl);width:var(--side);height:var(--side);border-width:3px}body.touch #speedo{top:var(--row2);bottom:auto;right:var(--gr);width:var(--side);height:var(--side);border-width:3px;left:auto;transform:none}body.touch #speedo .num{font-size:28px}body.touch #speedo .unit{font-size:10px}body.touch #speedo .icons{gap:2px;height:13px;margin-top:1px;font-size:11px}html body.touch #hud #turbo-bar{left:auto;right:var(--gr);bottom:auto;top:calc(var(--row2) + var(--side) + 6px);width:var(--side);box-sizing:border-box;gap:4px;padding:4px 7px;font-size:0;transform:none}html body.touch #hud #turbo-bar span:nth-child(2){display:none}html body.touch #hud #turbo-bar .tb{flex:1;width:auto}body.touch #toasts{top:calc(var(--row2) + var(--side) + 40px);width:calc(100vw - var(--gl) - var(--gr))}body.touch .toast{white-space:normal;text-align:center;box-sizing:border-box;max-width:100%;padding:6px 14px;font-size:15px}body.touch #joy{left:var(--gl);bottom:var(--gb);width:var(--joy);height:var(--joy);background:#ffffff38;border-width:4px}body.touch #joy .knob{width:58px;height:58px;margin:-29px 0 0 -29px}body.touch #tbtns{right:var(--gr);bottom:var(--gb);grid-template-columns:repeat(2, var(--tb));gap:8px}body.touch .tbtn{width:var(--tb);height:var(--tb);background:#ffffffd1;font-size:11px;box-shadow:0 3px #0000002e,0 5px 10px #0000002e}body.touch .tbtn b{font-size:22px;line-height:1.1}body.touch .tbtn.primary{background:#ffc83deb}body.touch #pedals{right:var(--gr);bottom:var(--gb);align-items:flex-end;gap:8px;display:none;position:absolute}body.touch[data-mod=surus] #pedals{display:flex}body.touch[data-mod=surus] #tbtns{bottom:calc(var(--gb) + var(--ph) + 10px)}body.touch .tbtn.pedal{width:var(--pw);height:calc(var(--ph) - 8px);border-radius:16px}body.touch .tbtn.pedal[data-id=gaz]{height:var(--ph)}body.touch #prompt{bottom:calc(var(--gb) + var(--joy) + 14px);max-width:calc(100vw - 2 * var(--gl));box-sizing:border-box;white-space:nowrap;padding:8px 16px 8px 8px;font-size:18px}body.touch[data-mod=surus] #prompt{bottom:calc(var(--gb) + var(--ph) + 10px + 2 * var(--tb) + 8px + 12px)}body.touch #yakalanma-yazi{bottom:calc(var(--gb) + 80px);font-size:16px}body.touch #yakalanma-gec{bottom:var(--gb);right:var(--gr);padding:8px 14px;font-size:16px}@media (max-width:440px) and (orientation:portrait){body.touch #polis-hud{top:calc(var(--row2) + var(--side) + 34px)}body.touch #toasts{top:calc(var(--row2) + var(--side) + 34px + 70px)}}@media (max-height:540px) and (orientation:landscape){body.touch{--side:78px;--tb:54px;--joy:124px;--row2:calc(var(--gt) + 50px)}body.touch #polis-hud{top:var(--gt)}body.touch #toasts{top:var(--row2);width:calc(100vw - 2 * (var(--gl) + var(--side) + 12px))}body.touch[data-mod=surus] #tbtns{bottom:var(--gb);right:calc(var(--gr) + 2 * var(--pw) + 8px + 12px)}body.touch #prompt,body.touch[data-mod=surus] #prompt{bottom:var(--gb);max-width:calc(100vw - 2 * (var(--gl) + var(--joy) + 16px) - 150px);font-size:16px}}@media (min-width:700px) and (min-height:700px){body.touch{--side:128px;--tb:72px;--joy:170px;--pw:80px;--ph:110px;--row2:calc(var(--gt) + 60px)}body.touch #hud .iconbtn{width:50px;height:50px}body.touch #hud .tl .pill{height:50px;font-size:18px}body.touch #speedo .num{font-size:38px}body.touch .tbtn{font-size:13px}body.touch .tbtn b{font-size:28px}}@media (min-width:900px) and (orientation:landscape) and (min-height:540px){body.touch #polis-hud{top:var(--gt)}body.touch[data-mod=surus] #tbtns{bottom:var(--gb);right:calc(var(--gr) + 2 * var(--pw) + 8px + 14px)}body.touch[data-mod=surus] #prompt{bottom:calc(var(--gb) + var(--joy) + 14px)}body.touch #toasts{top:var(--row2);width:calc(100vw - 2 * (var(--gl) + var(--side) + 16px))}}
