html,body{color:#fff;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none;overscroll-behavior:none;background:#0a1b33;height:100%;margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;overflow:hidden}#game{width:100%;height:100%;display:block;position:fixed;inset:0}#ui{pointer-events:none;position:fixed;inset:0}#ui>*{pointer-events:auto}:root{--sl:env(safe-area-inset-left,0px);--sr:env(safe-area-inset-right,0px);--st:env(safe-area-inset-top,0px);--sb:env(safe-area-inset-bottom,0px)}.pad{touch-action:none;position:absolute;inset:0}.pad-zone{position:absolute;top:0;bottom:0}.pad-look{left:0;right:0}.pad-stick{width:48%;top:18%;left:0}.pad-mouse .pad-stick,.pad-mouse .pad-ring{display:none}.pad-ring{left:calc(82px + var(--sl));bottom:calc(20px + var(--sb));opacity:.55;pointer-events:none;background:#0a142838;border:3px solid #ffffff80;border-radius:50%;width:110px;height:110px;margin:-55px 0 0 -55px;transition:opacity .12s;position:absolute}.pad-ring.active{opacity:1;bottom:auto}.pad-ring[hidden]{display:none}.pad-knob{background:#ffffffbf;border-radius:50%;width:52px;height:52px;margin:-26px 0 0 -26px;position:absolute;top:50%;left:50%}.pad-btn{color:#fff;letter-spacing:.04em;-webkit-tap-highlight-color:transparent;touch-action:none;background:#0a142861;border:3px solid #fff9;border-radius:50%;place-items:center;padding:0;font:800 13px/1 system-ui,sans-serif;display:grid;position:absolute}.pad-btn.held,.pad-btn:active{background:#fff6}.pad-btn[hidden]{display:none}.pad-fire{right:calc(16px + var(--sr));bottom:calc(16px + var(--sb));background:#ff781466;border-color:#ff9a2e;width:88px;height:88px;font-size:17px}.pad-jump{right:calc(114px + var(--sr));bottom:calc(14px + var(--sb));width:64px;height:64px}.pad-car{right:calc(112px + var(--sr));bottom:calc(88px + var(--sb));background:#288c3c80;border-color:#7fe07f;width:70px;height:70px}.pad-action{left:50%;bottom:calc(18px + var(--sb));color:#10182b;background:#ff8c1ec7;border-color:#ff9a2e;border-radius:23px;min-width:148px;height:46px;padding:0 18px;font-size:13px;transform:translate(-50%);box-shadow:0 4px 16px #00000073}.pad-action[data-tone=crime]{color:#fff;background:#eb3a30d1;border-color:#ff5a52}.pad-action[data-tone=job]{color:#10182b;background:#ffd23fd9;border-color:#ffd23f}.pad-action[data-tone=hint]{color:#ffd23f;background:#10182bbf;border-color:#fff9}.pad-weapon{right:calc(18px + var(--sr));bottom:calc(112px + var(--sb));border-radius:12px;width:84px;height:42px;font-size:12px}.pad-phone{right:calc(128px + var(--sr));top:calc(42px + var(--st));border-radius:12px;width:48px;height:48px}.pad-phone-icon{box-sizing:border-box;border:3px solid #fff;border-radius:5px;width:16px;height:26px}.pad-badge{box-sizing:border-box;text-align:center;background:#ff3b30;border-radius:10px;min-width:20px;height:20px;padding:0 5px;font:700 12px/20px system-ui;position:absolute;top:-8px;right:-8px}.pad-badge[hidden],.pad-mouse .pad-fire,.pad-mouse .pad-jump,.pad-rotate{display:none}@media (orientation:portrait) and (pointer:coarse){.pad-rotate{z-index:50;text-align:center;background:#0a1b33;place-items:center;padding:24px;font:700 22px system-ui;display:grid;position:fixed;inset:0}}.crosshair{opacity:.85;mix-blend-mode:difference;background:linear-gradient(#fff,#fff) 50%/2px 100% no-repeat,linear-gradient(#fff,#fff) 50%/100% 2px no-repeat;width:18px;height:18px;margin:-9px 0 0 -9px;position:absolute;top:50%;left:50%;pointer-events:none!important}.fps{left:calc(8px + var(--sl));bottom:calc(4px + var(--sb));opacity:.7;font:600 11px ui-monospace,monospace;position:absolute;pointer-events:none!important}.hud{font-family:system-ui,-apple-system,sans-serif;position:absolute;inset:0;pointer-events:none!important}.hud *{pointer-events:none}.hud-left{left:calc(12px + var(--sl));top:calc(10px + var(--st));position:absolute}.hud-bar{background:#00000073;border:2px solid #ffffffb3;border-radius:7px;width:150px;height:14px;position:relative;overflow:hidden}.hud-hp{background:#e5484d;transition:width .15s;position:absolute;top:0;bottom:0;left:0}.hud-armor{background:#6cc4ff;height:5px;transition:width .15s;position:absolute;top:0;left:0}.hud-stars{letter-spacing:2px;text-shadow:0 1px 3px #000000b3;margin-top:3px;font-size:20px;line-height:1}.hud-stars b{color:#ffffff4d;font-weight:400}.hud-stars b.on{color:#ffd23f}.hud-cash{right:calc(128px + var(--sr));top:calc(10px + var(--st));color:#9be28b;text-shadow:0 1px 3px #000c;font:800 20px/1 system-ui;position:absolute}.hud-coin-pop{right:calc(184px + var(--sr));top:calc(52px + var(--st));color:#ffd738;text-shadow:0 2px 4px #000000d9;font:900 16px/1 system-ui;position:absolute}.hud-coin-pop[hidden]{display:none}.hud-radar-wrap{right:calc(12px + var(--sr));top:calc(8px + var(--st));cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;width:104px;height:104px;padding:0;position:absolute;pointer-events:auto!important}.hud-radar{pointer-events:none;width:104px;height:104px;display:block}.hud-map-tag{color:#fff;letter-spacing:.08em;background:#0a1020e0;border:1px solid #ffffffa6;border-radius:8px;padding:1px 7px;font:800 9px/1.3 system-ui;position:absolute;bottom:-4px;left:50%;transform:translate(-50%)}.hud-holdup{left:50%;bottom:calc(82px + var(--sb));text-align:center;background:#0a1020d1;border:2px solid #ffd23f;border-radius:12px;width:min(260px,68vw);padding:7px 12px;position:absolute;transform:translate(-50%)}.hud-holdup[hidden]{display:none}.hud-holdup-label{color:#ffd23f;letter-spacing:.06em;margin-bottom:5px;font:800 11px/1.2 system-ui;display:block}.hud-holdup-bar{background:#fff3;border-radius:4px;height:8px;overflow:hidden}.hud-holdup-bar i{background:#ffd23f;width:0%;height:100%;transition:width 80ms linear;display:block}.hud-objective{left:50%;top:calc(8px + var(--st));text-align:center;white-space:pre-line;background:#08101e99;border-radius:10px;max-width:44%;padding:5px 12px;font:700 13px/1.3 system-ui;position:absolute;transform:translate(-50%)}.hud-objective[hidden],.hud-banner[hidden],.hud-flash[hidden]{display:none}.hud-banner{left:50%;top:calc(64px + var(--st));color:#14213d;text-overflow:ellipsis;white-space:nowrap;background:#ffffffeb;border-radius:14px;max-width:60%;padding:6px 14px;font:600 13px/1.3 system-ui;position:absolute;overflow:hidden;transform:translate(-50%)}.hud-flash{text-align:center;letter-spacing:.04em;text-shadow:0 3px #0009,0 0 18px #0009;white-space:pre-line;font:900 clamp(28px,7vw,54px)/1.1 system-ui;position:absolute;top:34%;left:0;right:0}.hud-flash[data-tone=bad]{color:#ff5a52}.hud-flash[data-tone=good]{color:#ffd23f}.hud-hurt{opacity:0;position:absolute;inset:0;box-shadow:inset 0 0 70px 20px #ff00008c}.hud-hurt.on{animation:.45s ease-out hud-hurt}@keyframes hud-hurt{0%{opacity:1}to{opacity:0}}@media (height<=360px){.hud-radar-wrap,.hud-radar{width:92px;height:92px}.hud-cash{right:calc(114px + var(--sr));font-size:18px}.pad-phone{right:calc(116px + var(--sr));top:calc(38px + var(--st));width:46px;height:46px}.hud-coin-pop{right:calc(170px + var(--sr));top:calc(48px + var(--st))}}.phone-open .pad,.phone-open .crosshair{display:none}.phone{z-index:20;padding:calc(8px + var(--st)) calc(8px + var(--sr)) calc(8px + var(--sb)) calc(8px + var(--sl));box-sizing:border-box;background:#040a1699;place-items:center;display:grid;position:absolute;inset:0}.phone[hidden]{display:none}.ph-frame{background:#10182b;border:3px solid #2c3a5c;border-radius:26px;width:min(760px,100%);height:min(430px,100%);display:flex;overflow:hidden;box-shadow:0 12px 40px #0009}.ph-nav{background:#0a1020;flex-direction:column;flex:none;gap:4px;width:84px;padding:10px 6px;display:flex}.ph-nav button{color:#9fb0d0;background:0 0;border:0;border-radius:14px;flex-direction:column;align-items:center;gap:2px;padding:7px 2px;font:600 11px system-ui;display:flex;position:relative}.ph-nav button i{font-size:20px;font-style:normal;line-height:1}.ph-nav button.on{color:#fff;background:#1d2b4d}.ph-nav em{box-sizing:border-box;color:#fff;background:#ff3b30;border-radius:9px;min-width:18px;height:18px;padding:0 4px;font:700 11px/18px system-ui;position:absolute;top:2px;right:12px}.ph-nav em[hidden]{display:none}.ph-nav .ph-close{color:#ffb4ae;margin-top:auto}.ph-main{flex-direction:column;flex:1;min-width:0;display:flex}.ph-main header{border-bottom:1px solid #223052;justify-content:space-between;align-items:center;padding:10px 16px 8px;font:800 17px system-ui;display:flex}.ph-cash{color:#9be28b}.ph-screen{-webkit-overflow-scrolling:touch;touch-action:pan-y;flex-direction:column;flex:1;gap:8px;padding:10px 14px 16px;font:500 14px/1.35 system-ui;display:flex;overflow-y:auto}.ph-screen h3{text-transform:uppercase;letter-spacing:.06em;color:#8497bd;margin:6px 0 0;font:700 12px system-ui}.ph-empty{color:#8497bd;text-align:center;margin:24px 0}.ph-card{background:#1a2440;border-radius:14px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.ph-card span{color:#b6c3df;font-size:13px}.ph-account{background:#243a2c}.ph-btn{color:#fff;background:#2c3a5c;border:0;border-radius:12px;padding:9px 14px;font:700 14px system-ui}.ph-btn:disabled{opacity:.55}.ph-primary{color:#1b1205;background:#ff9a2e}.ph-danger{background:#5a2530}.ph-wide{box-sizing:border-box;width:100%}.ph-row{gap:8px;display:flex}.ph-row .ph-btn{flex:1}.ph-thread{text-align:left;color:#fff;font:inherit;background:#1a2440;border:0;border-radius:14px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.ph-thread b{align-items:center;gap:6px;display:flex}.ph-thread span{color:#b6c3df;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.ph-dot{background:#ff9a2e;border-radius:50%;width:9px;height:9px}.ph-back{color:#7fb2ff;background:0 0;border:0;align-self:flex-start;padding:2px 0;font:600 14px system-ui}.ph-thread-name{font:800 16px system-ui}.ph-thread-name small{color:#8497bd;font:500 12px system-ui;display:block}.ph-bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:#27345a;border-radius:16px 16px 16px 4px;align-self:flex-start;max-width:86%;padding:8px 12px}.ph-bubble.result{background:#20402c}.ph-bubble.system{background:#3a3550}.ph-job{border:2px solid #2c3a5c}.ph-job.offer{border-color:#ff9a2e}.ph-job.active{border-color:#5ad1ff}.ph-job.done{opacity:.7}.ph-job-head{justify-content:space-between;gap:8px;display:flex}.ph-job-head span{color:#9be28b;font-size:14px;font-weight:800}.ph-job-kind{color:#b6c3df;font-size:12px}.ph-job-kind i{font-style:normal}.ph-job-state{color:#d6e0f5;font-size:13px}.ph-job-state.bad{color:#ff8f88}.ph-progress{background:#1a2440;border-radius:13px;flex:none;height:26px;position:relative;overflow:hidden}.ph-progress div{background:#2e7d4f;position:absolute;top:0;bottom:0;left:0}.ph-progress span{color:#fff;place-items:center;font:700 13px system-ui;display:grid;position:absolute;inset:0}.ph-shop{flex-direction:row;justify-content:space-between;align-items:center;gap:10px}.ph-shop>div{flex-direction:column;min-width:0;display:flex}.ph-shop.off{opacity:.75}.ph-shop .ph-btn{flex:none;max-width:48%;font-size:13px}.ph-stats{grid-template-columns:1fr 1fr;gap:6px;display:grid}.ph-stats div{background:#1a2440;border-radius:12px;flex-direction:column;padding:8px 10px;display:flex}.ph-stats span{color:#8497bd;font-size:12px}.title,.sheet,.win{z-index:30;box-sizing:border-box;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:calc(10px + var(--st)) calc(14px + var(--sr)) calc(10px + var(--sb)) calc(14px + var(--sl));background:#040a168c;place-items:center;display:grid;position:absolute;inset:0;overflow-y:auto}.sheet{z-index:40;background:#040a16cc}.title-card,.win-card{text-align:center;flex-direction:column;align-items:center;gap:10px;max-width:560px;display:flex}.title-kicker{letter-spacing:.14em;color:#ffe047;text-shadow:0 2px #0b1830;background:#1f6fd6;border:2px solid #fff;border-radius:999px;margin:0 0 -6px;padding:3px 14px;font:900 clamp(14px,3vw,20px)/1 system-ui}.title h1,.win h1{letter-spacing:.02em;color:#fff;text-shadow:0 4px #0b1830,0 0 24px #0009;gap:.28em;margin:0;font:900 clamp(34px,9vw,72px)/.95 system-ui;display:flex}.title h1 span:nth-child(2),.win h1 span:nth-child(2){color:#ff9a2e}.win h1{font-size:clamp(22px,5vw,36px)}.title-sub{opacity:.9;margin:0 0 6px;font:600 15px system-ui}.title-btn{color:#1b1205;cursor:pointer;background:#ff9a2e;border:0;border-radius:16px;min-width:200px;padding:13px 22px;font:800 18px system-ui}.title-btn:disabled{opacity:.6}.title-account,.sheet-create,.win-new{color:#fff;background:#2c3a5c}.title-intro{color:#ffe047;background:#10182bd9;border:2px solid #ffe047;padding:9px 18px;font-size:15px}.title-btn[hidden]{display:none}.sheet-card{box-sizing:border-box;background:#10182b;border:3px solid #2c3a5c;border-radius:22px;flex-direction:column;gap:8px;width:min(430px,100%);padding:16px 18px;display:flex}.sheet-card h2{margin:0;font:800 20px system-ui}.sheet-reason{color:#b6c3df;margin:0;font:500 14px/1.35 system-ui}.sheet-card label{color:#8497bd;flex-direction:column;gap:3px;font:600 12px system-ui;display:flex}.sheet-card label[hidden]{display:none}.sheet-card input{color:#fff;-webkit-user-select:text;user-select:text;touch-action:manipulation;background:#0a1020;border:2px solid #2c3a5c;border-radius:12px;padding:10px 12px;font:500 17px system-ui}.sheet-card input:focus{border-color:#ff9a2e;outline:none}.sheet-msg{color:#ffd08a;min-height:1.3em;margin:0;font:600 13px system-ui}.sheet-row{gap:8px;display:flex}.sheet-row .title-btn{flex:1;min-width:0;padding:11px 10px;font-size:16px}.sheet-cancel{color:#8497bd;background:0 0;border:0;align-self:center;padding:4px 10px;font:600 14px system-ui}.win{background:#040a16c7;align-items:start}.win-card{margin:auto}.win-kicker{letter-spacing:.12em;text-transform:uppercase;color:#ffd23f;margin:0;font:800 13px system-ui}.win-city{margin:0;font:700 16px system-ui}.win-story{white-space:pre-line;color:#e3eaf8;-webkit-user-select:text;user-select:text;margin:0;font:500 14px/1.45 system-ui}.win-stats{grid-template-columns:repeat(4,auto);gap:8px;display:grid}.win-stats div{background:#1a2440e6;border-radius:12px;flex-direction:column;padding:7px 12px;display:flex}.win-stats span{color:#8497bd;font:600 11px system-ui}.win-stats b{font:800 15px system-ui}.win-row{gap:10px;display:flex}.win-row .title-btn{min-width:150px;padding:11px 16px;font-size:16px}@media (width<=520px){.win-stats{grid-template-columns:repeat(2,auto)}}.store-modal{z-index:25;padding:calc(10px + var(--st)) calc(12px + var(--sr)) calc(10px + var(--sb)) calc(12px + var(--sl));box-sizing:border-box;background:#040a16a6;place-items:center;display:grid;position:absolute;inset:0}.store-modal[hidden]{display:none}.store-card{background:#10182b;border:3px solid #ff9a2e;border-radius:22px;flex-direction:column;width:min(560px,100%);max-height:min(410px,100%);display:flex;overflow:hidden;box-shadow:0 14px 40px #000000a6}.store-card header{background:#0a1020;border-bottom:1px solid #223052;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;display:flex}.store-title{color:#fff;font:800 17px/1.15 system-ui;display:block}.store-sub{color:#9fb0d0;margin-top:2px;font:500 11px/1.3 system-ui;display:block}.store-head-right{flex:none;align-items:center;gap:10px;display:flex}.store-cash{color:#9be28b;font:800 16px system-ui}.store-close{color:#fff;cursor:pointer;background:#2c3a5c;border:0;border-radius:10px;width:32px;height:32px;font:800 15px system-ui}.store-list{-webkit-overflow-scrolling:touch;touch-action:pan-y;flex-direction:column;flex:1;gap:8px;padding:10px 12px 14px;display:flex;overflow-y:auto}.map-layout{align-items:flex-start;gap:12px;min-height:0;display:flex}.map-canvas-box{flex-direction:column;flex:none;align-items:center;gap:6px;width:250px;display:flex}.ph-map-canvas{background:#10203a;border:2px solid #2c3a5c;border-radius:14px;width:250px;height:250px;display:block}.map-tip{color:#8497bd;text-align:center;font:500 11px/1.3 system-ui}.map-clear-wp{width:100%;padding:6px 10px;font-size:12px}.map-list{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.map-poi{background:#1a2440;border:1.5px solid #0000;border-radius:12px;align-items:center;gap:6px;padding:6px 8px;display:flex}.map-poi.on{border-color:#d966ff}.map-poi-go{color:#fff;text-align:left;min-width:0;font:inherit;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:8px;padding:0;display:flex}.map-poi-go>div{flex-direction:column;min-width:0;display:flex}.map-poi-go b{text-overflow:ellipsis;white-space:nowrap;font:700 13px/1.2 system-ui;overflow:hidden}.map-poi-go span{color:#a7b8d8;text-overflow:ellipsis;white-space:nowrap;font:500 11px/1.25 system-ui;overflow:hidden}.map-badge{border:2px solid #fff;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font:900 13px/1 system-ui;display:grid}.map-badge.b-weapons{color:#fff;background:#ff6a2b;font-size:12px}.map-badge.b-clinic{color:#e5484d;background:#fff;border-color:#e5484d;font-size:16px}.map-badge.b-bank{color:#10182b;background:#ffd23f}.map-badge.b-spray{color:#10182b;background:#1ec8d8}.map-badge.b-holdup{color:#fff;background:#32c968}.map-badge.b-active{color:#10182b;background:#5ad1ff}.map-badge.b-drop{color:#fff;background:#1a2440}.map-badge.b-docks{color:#fff;background:#2c7be5}.map-badge.b-garage{color:#fff;background:#4a607a}.map-badge.b-home{color:#fff;background:#5c6bc0}.map-badge.b-offer{color:#10182b;background:#ff9a2e}.map-accept{flex:none;padding:6px 10px;font-size:12px}@media (width<=560px){.map-layout{flex-direction:column}.map-canvas-box{width:100%}.ph-map-canvas{aspect-ratio:1;width:min(260px,100%);height:auto}}:is(#ui:has(.win,.sheet,.title) .hud-flash,#ui:has(.win,.sheet,.title) .hud-banner,#ui:has(.win,.sheet,.title) .crosshair,#ui:has(.win,.sheet,.title) .pad,#ui:has(.win,.sheet,.title) .hud-radar-wrap),.phone-open .hud-radar-wrap{display:none}.win{background:#040a16e0}
