:root{--gold:#edbb76;--muted:#a9b6bf;--ink:#0f1c25;--stroke:#ffffff25}*{box-sizing:border-box}body{margin:0;background:#0f1c25;color:#f5f3eb;font-family:Tahoma,Arial,sans-serif;overflow:hidden}button,select{font:inherit}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button{transition:background .2s,border-color .2s,transform .2s}button:hover:not(:disabled){filter:brightness(1.12)}[hidden]{display:none!important}#viewport{position:fixed;inset:0}#viewport canvas{display:block;width:100%;height:100%}.shade{pointer-events:none;position:fixed;inset:0;background:linear-gradient(90deg,#06121d70,transparent 45%,#06121d65),linear-gradient(0deg,#06121d99,transparent 35%)}header{position:fixed;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:23px 35px;z-index:4;background:linear-gradient(#07121b90,transparent)}.logo{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none;font-size:23px;font-weight:bold;line-height:1.3}.logo b{color:var(--gold)}.logo small{display:block;font-size:8px;letter-spacing:2px;color:#c6d0d6;margin-top:5px}.logo-mark{font-size:24px;border:1px solid #efc48377;background:linear-gradient(145deg,#eec27b20,#152a38);width:45px;height:45px;display:grid;place-items:center;border-radius:12px;color:var(--gold)}.header-center{display:flex;align-items:center;gap:10px;font-size:11px;color:#d1d6d7}.header-center i{height:12px;width:1px;background:var(--stroke);margin:0 8px}.live-dot{background:#b6c88c;width:6px;height:6px;border-radius:50%;box-shadow:0 0 10px #c3e5a1}.wallet{display:flex;align-items:center;gap:9px;border:1px solid var(--stroke);border-radius:30px;background:#11232dbb;padding:11px 19px;min-width:120px}.wallet span,.wallet small{font-size:10px;color:var(--muted)}.wallet strong{font-size:19px;color:var(--gold)}main{position:absolute;inset:0}.intro{position:absolute;left:5%;top:21%;direction:rtl;text-align:right;width:280px}.kicker{font-size:10px;color:var(--gold);letter-spacing:1px}h1{font-size:clamp(36px,4.2vw,66px);line-height:1.18;margin:18px 0;font-weight:800;text-shadow:0 3px 20px #0005}h1 em{font-style:normal;color:var(--gold)}.intro p{font-size:12px;line-height:1.9;color:#d4d9db;text-shadow:0 2px 10px #000}.intro-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.intro-tags span{font-size:9px;border:1px solid #ffffff35;border-radius:20px;padding:7px 9px;background:#12232d65}.text-button{background:transparent;color:#c1cbd1;font-size:10px;padding:10px 0}.intro .text-button{margin-top:19px;color:var(--gold)}.glass{background:linear-gradient(140deg,#152631ed,#0c1922e8);border:1px solid var(--stroke);box-shadow:0 18px 60px #0004;backdrop-filter:blur(18px)}.setup{position:absolute;right:3%;top:16%;width:310px;padding:23px;border-radius:20px}.section-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px}.section-label>span{font-weight:bold;color:var(--gold)}.section-label>small{color:#9eafb9;font-size:9px}.regions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:19px 0}.regions button{padding:12px 13px;text-align:right;background:#ffffff04;border:1px solid #ffffff19;border-radius:10px}.regions b{font-size:13px}.regions small{display:block;font-size:9px;color:#a6b5bc;margin-top:5px}.regions .selected{border-color:#dcb174b0;background:linear-gradient(140deg,#b1884b2b,#b1884b08)}.setup>label{font-size:10px;color:#a9b9c4}.mode-tabs{display:flex;gap:4px;background:#050f1760;padding:4px;border-radius:9px;margin-top:9px}.mode-tabs button{padding:10px 3px;flex:1;font-size:10px;border-radius:6px;background:transparent;color:#9eb0bb}.mode-tabs .selected{background:#364651;color:#f2d3a7}.mode-note{font-size:9px;color:#a5b6c0;min-height:27px;line-height:1.7;margin:12px 0}.selects{display:flex;gap:10px;margin-bottom:20px}.selects label{width:50%;font-size:9px;color:#9aacb8}select{width:100%;display:block;padding:10px 7px;margin-top:7px;background:#20313d;color:#f3f1e8;border:1px solid #ffffff18;border-radius:8px;font-size:11px}.primary{width:100%;background:linear-gradient(110deg,#edba73,#f4d19c);color:#32271c;padding:15px 17px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:bold;box-shadow:0 5px 24px #d1a46025}.setup-foot{display:block;font-size:8px;text-align:center;color:#8f9fa9;margin-top:12px}.garage{position:absolute;bottom:66px;left:5%;right:calc(3% + 338px);padding:17px 21px;border-radius:18px}.garage-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.garage-head .section-label{justify-content:flex-start}.vehicle-counter{font-size:10px;letter-spacing:2px;color:#9eafb9;direction:ltr}.vehicle-list{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.vehicle-card{height:77px;border:1px solid #ffffff15;background:linear-gradient(150deg,#34455155,#14242d77);border-radius:9px;padding:8px 4px;text-align:center;position:relative}.vehicle-card.selected{border-color:var(--gold);background:linear-gradient(120deg,#a57b3e45,#29374677)}.vehicle-card b{display:block;font-size:9px;margin-top:6px}.vehicle-card small{color:#8ea4b2;display:block;font-size:7px;margin-top:5px}.vehicle-icon{height:21px;width:46px;display:block;margin:2px auto 0}.vehicle-icon svg{width:100%;height:100%;filter:drop-shadow(0 3px 2px #0008)}.vehicle-spec{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid #ffffff13;margin-top:14px;padding-top:12px}.vehicle-spec strong{font-size:13px;display:block}.vehicle-spec small{display:block;font-size:8px;color:#94a7b4;margin-top:5px}.spec-num{direction:ltr;text-align:left}.spec-num b{font-size:23px;font-weight:normal}.swatches{display:flex;gap:6px}.swatches button{width:19px;height:19px;background:var(--c);border-radius:50%;border:2px solid #ffffff1a;box-shadow:inset 0 0 0 2px #0004}.swatches .selected{outline:1px solid var(--gold);outline-offset:3px}footer{position:absolute;bottom:15px;left:4%;right:3%;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#9fadb6;font-size:9px}footer small{font-size:8px;letter-spacing:1px}#load-state{font-size:9px;color:#d3c5af}.play-top{position:absolute;top:100px;left:28px;right:28px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.mission{width:300px;padding:19px 22px;border-radius:15px}.mission h3{font-size:18px;margin:10px 0}.mission p{font-size:10px;color:#b8c7d0;margin:0;line-height:1.8}.mission-progress{height:2px;background:#ffffff20;margin-top:15px}.mission-progress i{display:block;height:100%;background:var(--gold);width:0;transition:width .2s}.play-actions{display:flex;gap:8px;pointer-events:auto}.play-actions button{width:43px;height:43px;border:1px solid #ffffff30;border-radius:12px;background:#11222cd9;font-size:20px}.map-wrap{position:absolute;bottom:28px;right:28px;border-radius:17px;overflow:hidden;width:185px}.map-wrap canvas{width:185px;height:165px;display:block;opacity:.9}.map-wrap>div{padding:0 12px 12px;display:flex;justify-content:space-between;align-items:center}.map-wrap span{font-size:11px;color:var(--gold)}.map-wrap small{font-size:7px;color:#9badb7}.dashboard{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:30px;background:linear-gradient(0deg,#101e29e0,#101e2955);border:1px solid #ffffff18;border-radius:22px;padding:16px 30px}.speed{width:110px;text-align:center;position:relative;direction:ltr}.speed>strong{display:block;font-size:58px;font-weight:normal;line-height:1}.speed>small{font-size:8px;letter-spacing:2px;color:#9fadb7}.speed>span{position:absolute;left:-9px;top:5px;font-size:12px;color:var(--gold)}.speed-line{height:3px;background:#ffffff18;margin-top:10px;overflow:hidden}.speed-line i{display:block;background:var(--gold);height:100%;width:0}.dash-side small{font-size:8px;color:#9aadb8;display:block}.dash-side strong{display:block;font-size:17px;margin-top:9px;font-weight:normal;white-space:nowrap}.dash-side strong small{display:inline}.health>div{height:2px;background:#ffffff18;margin-top:9px;width:65px}.health i{display:block;height:100%;background:#b4ca91;width:100%}.mobile-controls{position:absolute;bottom:28px;left:25px;right:25px;display:flex;justify-content:space-between;pointer-events:none}.mobile-controls>div{display:flex;gap:10px}.mobile-controls button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;width:64px;height:64px;border-radius:16px;border:1px solid #ffffff35;background:#18313ed9;box-shadow:0 6px 20px #0004;font-size:22px}.mobile-controls div:last-child button{font-size:11px}.mobile-controls .gas{background:#ba8b48c9;color:#fff4d9;border-color:#e8bc7b90}.horn{position:absolute;left:25px;bottom:115px;background:#182e3bda;border:1px solid #ffffff25;border-radius:30px;width:42px;height:42px;font-size:20px}#toast{position:absolute;bottom:210px;left:50%;transform:translateX(-50%);max-width:85vw;padding:13px 22px;border-radius:30px;background:#10232eee;border:1px solid #e0b47c66;color:#eed2a7;font-size:12px;text-align:center;pointer-events:none;opacity:0;transition:opacity .2s;z-index:10}#toast.show{opacity:1}dialog{color:#f0efe9;border-radius:21px;padding:30px;width:420px;max-width:90vw;z-index:20}dialog::backdrop{background:#05101caa;backdrop-filter:blur(7px)}dialog h2{font-size:27px;line-height:1.5;margin:15px 0}dialog p{font-size:12px;line-height:1.9;color:#afc0cd}dialog .primary{margin-top:22px;justify-content:center}.secondary{width:100%;background:#ffffff09;border:1px solid #ffffff25;border-radius:10px;padding:13px;margin-top:10px;color:#b8c8d3;font-size:12px}.credits{font-size:9px!important}.credits a{color:#c5b190}#error{position:absolute;inset:0;background:#101d28ee;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}#error p{max-width:500px;font-size:13px;color:#b5c3cf;line-height:1.8}#error button{background:var(--gold);color:#2d241b;padding:14px 24px;border-radius:10px;margin-top:15px}body.playing .shade{background:linear-gradient(0deg,#07121d55,transparent 30%)}@media (hover:hover) and (pointer:fine){.mobile-controls{opacity:.35}.mobile-controls:hover{opacity:1}.mobile-controls{bottom:28px}.map-wrap{bottom:115px}.horn{bottom:115px}}
@media(max-height:770px) and (min-width:901px){.setup{top:14%;padding:19px;width:290px}.regions{margin:13px 0}.regions button{padding:9px}.mode-note{margin:9px 0;min-height:23px}.selects{margin-bottom:14px}.garage{right:calc(3% + 318px);bottom:57px;padding:13px 17px}.vehicle-card{height:64px}.vehicle-card small{display:none}.vehicle-spec{margin-top:9px;padding-top:9px}.intro{top:20%}h1{font-size:48px}.intro-tags{display:none}}
@media(max-width:1100px){.intro{left:4%;width:210px}.intro p{font-size:10px}h1{font-size:44px}.setup{width:280px;right:3%;padding:18px}.garage{left:4%;right:calc(3% + 301px)}.vehicle-list{gap:4px}.vehicle-spec{gap:12px}.vehicle-spec strong{font-size:11px}.swatches{gap:5px}.swatches button{width:16px;height:16px}.header-center{display:none}}
@media(max-width:800px){header{padding:14px 18px}.logo{font-size:19px}.logo-mark{width:36px;height:36px;font-size:20px}.logo small{font-size:6px}.wallet{padding:8px 12px;min-width:94px}.wallet strong{font-size:16px}.intro{display:none}.setup{top:89px;right:14px;width:230px;padding:15px}.regions{margin:12px 0;gap:6px}.regions button{padding:8px 9px}.regions b{font-size:11px}.regions small{font-size:8px}.mode-tabs button{font-size:9px;padding:8px 1px}.mode-note{font-size:8px;min-height:23px;margin:8px 0}.selects{margin-bottom:12px;gap:7px}select{font-size:10px;padding:8px 3px}.primary{padding:12px;font-size:12px}.setup-foot{font-size:7px}.section-label{font-size:9px}.section-label>small{font-size:8px}.garage{bottom:54px;left:14px;right:14px;padding:13px}.garage-head{margin-bottom:10px}.vehicle-card{height:63px}.vehicle-card b{font-size:8px}.vehicle-card small{display:none}.vehicle-icon{width:36px;height:18px}.garage-head .section-label>small{font-size:8px}.vehicle-spec{margin-top:9px;padding-top:8px}.vehicle-spec strong{font-size:11px}.vehicle-spec small{font-size:7px}.spec-num b{font-size:19px}footer{bottom:8px;left:16px;right:16px}footer small{display:none}footer .text-button{font-size:8px}#load-state{font-size:8px}.map-wrap{bottom:185px;right:14px;width:120px}.map-wrap canvas{width:120px;height:105px}.map-wrap>div{padding:0 7px 9px}.map-wrap small{display:none}.play-top{top:80px;left:14px;right:14px}.mission{width:215px;padding:14px}.mission h3{font-size:14px}.mission p{font-size:9px}.play-actions{gap:5px}.play-actions button{width:35px;height:35px;border-radius:10px;font-size:17px}.dashboard{bottom:100px;gap:17px;padding:11px 20px;border-radius:17px}.speed{width:75px}.speed>strong{font-size:40px}.dash-side strong{font-size:14px}.mobile-controls{bottom:20px;left:15px;right:15px}.mobile-controls button{width:59px;height:59px}.horn{left:15px;bottom:95px}.health>div{width:46px}#toast{bottom:245px;font-size:10px;padding:11px 17px}}
@media(max-height:650px) and (max-width:900px) and (orientation:landscape){header{padding:10px 18px}.setup{top:68px;width:220px;padding:12px;bottom:12px;overflow:auto;scrollbar-width:thin}.regions small,.setup-foot,.mode-note{display:none}.regions{margin:10px 0}.regions button{padding:7px}.selects{margin-top:12px}.garage{right:250px;bottom:18px;left:18px}.garage .vehicle-spec{display:none}.garage-head{margin-bottom:9px}.vehicle-card{height:53px}.vehicle-card b{font-size:7px}.vehicle-icon{height:17px;width:33px}.garage-head .section-label>small{display:none}footer{bottom:0;left:18px;right:auto}#load-state{display:none}.play-top{top:65px}.mission{padding:10px 14px;width:230px}.mission h3{margin:6px 0;font-size:13px}.mission-progress{margin-top:9px}.map-wrap{bottom:95px;width:100px}.map-wrap canvas{width:100px;height:85px}.dashboard{bottom:12px;gap:17px;padding:9px 20px}.mobile-controls{bottom:15px}.mobile-controls button{width:53px;height:53px}.horn{bottom:80px}.map-wrap>div{display:none}.speed>strong{font-size:36px}#toast{bottom:120px}}

