*{box-sizing:border-box;margin:0;padding:0}html,body{color:#24324a;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none;background:#8fd8ff;width:100%;height:100%;font-family:ui-rounded,Nunito,Segoe UI,system-ui,sans-serif;font-weight:800;overflow:hidden}#game{width:100%;height:100%;display:block;position:fixed;inset:0}.hidden{display:none!important}#hud{pointer-events:none;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 12px max(12px, env(safe-area-inset-left));flex-direction:row-reverse;justify-content:space-between;align-items:flex-start;gap:10px;display:flex;position:fixed;inset:0}#stats{pointer-events:auto;cursor:pointer;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-right:56px;display:flex}#money-pill{position:relative}#money-pill.due:after{content:"";background:#ff4f4f;border:2px solid #fff;border-radius:50%;width:11px;height:11px;position:absolute;top:-3px;right:-2px}#now{align-items:center;gap:8px;min-width:0;display:flex}#order-card{pointer-events:auto;background:#fff;border:3px solid #ffd23f;border-radius:26px;align-items:center;gap:9px;min-width:0;padding:5px 14px 5px 6px;transition:border-color .25s;display:flex;box-shadow:0 5px #24324a2e}#order-card.pop{animation:.35s ease-out pop}#order-card.can{cursor:pointer}.act{color:#fff;white-space:nowrap;cursor:pointer;touch-action:manipulation;border:none;border-radius:999px;padding:8px 16px;font-family:inherit;font-size:18px;font-weight:900}.act.yes{background:#2ecc71;box-shadow:0 4px #1f9d55}.act.no{background:#ff5a5a;box-shadow:0 4px #d43d3d}.act:active{box-shadow:none;transform:translateY(3px)}#order-icon{background:#fff6d6;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-size:22px;line-height:1;display:grid}#order-text{min-width:0}#order-title{font-size:18px;line-height:1.15}#order-sub{opacity:.65;margin-top:1px;font-size:13px;font-weight:700}#order-sub:empty{display:none}#btn-yes{flex:none;margin:2px 0 2px 2px}#call{z-index:5;left:max(20px, env(safe-area-inset-left));bottom:max(22px, env(safe-area-inset-bottom));cursor:pointer;touch-action:manipulation;background:conic-gradient(#2ecc71 calc(var(--left,1) * 360deg), #dfe4ec 0);border:none;border-radius:50%;width:78px;height:78px;padding:0;font-family:inherit;animation:1.1s ease-out infinite calling;position:fixed;box-shadow:0 6px #24324a40}#call:before{content:"";background:#fff;border-radius:50%;position:absolute;inset:6px}#call-phone{font-size:34px;line-height:1;animation:.45s ease-in-out infinite ring;display:block;position:relative}#call-what{border:3px solid var(--tint,#ffd23f);background:#fff;border-radius:50%;place-items:center;width:38px;height:38px;font-size:20px;line-height:1;display:grid;position:absolute;top:-9px;right:-9px;box-shadow:0 3px #24324a2e}body.pedals #call{bottom:calc(max(22px, env(safe-area-inset-bottom)) + 102px)}#call:active{transform:translateY(3px)}#phone{z-index:20;pointer-events:none;background:#1b163000;transition:background .25s;position:fixed;inset:0}#phone.open{pointer-events:auto;background:#1b16304d}#phone-body{left:max(12px, env(safe-area-inset-left));visibility:hidden;background:#24324a;border-radius:36px 36px 0 0;width:min(292px,100vw - 24px);padding:10px 10px 32px;transition:transform .32s cubic-bezier(.2,.9,.3,1.12),visibility 0s .32s;position:absolute;bottom:-18px;transform:translateY(108%);box-shadow:0 0 0 4px #ffffffd9,0 -8px 26px #1b163059}#phone.open #phone-body{visibility:visible;transition-delay:0s;transform:none}#phone-ear{background:#4b5b7a;border-radius:4px;width:62px;height:7px;margin:3px auto 9px;display:block}#phone-screen{text-align:center;border-top:12px solid var(--tint,#ffd23f);background:#fff;border-radius:26px;padding:12px 14px 14px}#phone-head{opacity:.6;font-size:15px}#phone-icon{background:#fff6d6;border-radius:22px;place-items:center;width:68px;height:68px;margin:7px auto 0;font-size:44px;line-height:1;animation:.9s ease-in-out infinite ring;display:grid}#phone-title{color:#24324a;margin-top:6px;font-size:26px;line-height:1.1}#phone-where{justify-content:center;align-items:center;gap:7px;margin-top:3px;font-size:17px;display:flex}#phone-dot{border:2px solid #24324a73;border-radius:6px;flex:none;width:18px;height:18px}#phone-pay{color:#1f9d55;background:#eafaf0;border-radius:999px;margin-top:8px;padding:4px 16px;font-size:20px;font-weight:900;display:inline-block}#phone-bar{background:#e8ecf2;border-radius:4px;height:8px;margin-top:11px;overflow:hidden}#phone-left{transform-origin:0;background:#2ecc71;width:100%;height:100%;display:block}#phone-btns{gap:10px;margin-top:12px;display:flex}#phone-btns .act{flex:1;padding:11px 8px;font-size:20px}#phone-btns .act.yes{flex:1.5}#btn-sound{z-index:10;top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));cursor:pointer;background:#fff;border:none;border-radius:50%;width:46px;height:46px;font-size:22px;line-height:1;position:fixed;box-shadow:0 5px #24324a2e}#btn-sound:active{transform:translateY(3px);box-shadow:0 2px #24324a2e}#btn-sound.off{background:#e3e8ef}.pill{white-space:nowrap;background:#fff;border-radius:999px;padding:8px 14px;font-size:18px;box-shadow:0 5px #24324a2e}#money-pill.gain{animation:.9s ease-out gain}#money-pill.loss{animation:.9s ease-out loss}#day-pill{align-items:center;gap:6px;transition:background .6s,color .6s;display:flex}#day-bar{background:#e8ecf2;border-radius:4px;width:44px;height:8px;display:inline-block;overflow:hidden}#day-gone{background:#ffb347;width:0;height:100%;display:block}#day-pill.night{color:#fff;background:#2b3358}#day-pill.night #day-gone{background:#8ea2ff}#gauge-pill{flex-direction:column;justify-content:center;gap:3px;padding-top:4px;padding-bottom:4px;display:flex}.gauge{align-items:center;gap:6px;font-size:14px;line-height:1;display:flex}.gauge>span{text-align:center;width:18px}.gauge .bar{background:#e8ecf2;border-radius:5px;width:52px;height:9px;display:block;overflow:hidden}.gauge .bar b{background:#2ecc71;width:100%;height:100%;transition:width .35s ease-out;display:block}#fuel-gauge .bar b{background:#4aa8ff}.gauge.low .bar b,#fuel-gauge.low .bar b{background:#ffb347}.gauge.last .bar b,#fuel-gauge.last .bar b{background:#ff4f4f}#gauge-pill.alarm{animation:.5s ease-in-out infinite alternate throb}#timer-pill{text-align:center;min-width:84px;transition:background .2s,color .2s}#timer-pill.hurry{background:#ffb347;animation:.5s ease-in-out infinite alternate throb}#timer-pill.late{color:#fff;background:#ff4f4f;animation:.5s ease-in-out infinite alternate throb}#map{top:68px;right:max(12px, env(safe-area-inset-right));cursor:pointer;touch-action:manipulation;border:4px solid #fff;border-radius:18px;width:132px;height:132px;position:fixed;box-shadow:0 5px #24324a2e}#map:active{transform:translateY(3px);box-shadow:0 2px #24324a2e}#fade{opacity:0;pointer-events:none;background:#1b1630;transition:opacity .22s linear;position:fixed;inset:0}#fade.on{opacity:1}#toast{color:#fff;text-align:center;text-shadow:0 4px #24324a,0 0 18px #24324a73;opacity:0;font-size:clamp(28px,7vw,64px);line-height:1.1;transition:opacity .25s,transform .25s;position:fixed;top:30%;left:4vw;right:4vw;transform:translateY(-50%)scale(.6)}#toast.show{opacity:1;transform:translateY(-50%)scale(1)}#touch{pointer-events:none;position:fixed;inset:0}#steer,#pedals{bottom:max(22px, env(safe-area-inset-bottom));pointer-events:none;align-items:flex-end;gap:14px;display:flex;position:absolute}#steer{left:max(20px, env(safe-area-inset-left))}#pedals{right:max(20px, env(safe-area-inset-right));flex-direction:column;align-items:center}.ctl{pointer-events:auto;touch-action:none;color:#24324a;-webkit-backdrop-filter:blur(4px);background:#ffffff8c;border:4px solid #fff;border-radius:50%;width:84px;height:84px;font-family:inherit;font-size:34px;font-weight:900;box-shadow:0 6px #24324a40}.ctl.small{width:64px;height:64px;font-size:26px}.ctl.down{background:#ffd23f;transform:translateY(4px);box-shadow:0 2px #24324a40}#btn-gas{background:#78e08fbf}#btn-gas.down{background:#2ecc71}#btn-horn{bottom:max(22px, env(safe-area-inset-bottom));right:max(20px, env(safe-area-inset-right));background:#ffd23fcc;position:fixed}body.pedals #btn-horn{right:calc(max(20px, env(safe-area-inset-right)) + 98px)}#btn-horn.down{background:#ffb400}#btn-foot{bottom:max(22px, env(safe-area-inset-bottom));right:max(20px, env(safe-area-inset-right));cursor:pointer;background:#ffffffd9;position:fixed}body.touch #btn-foot{bottom:calc(max(22px, env(safe-area-inset-bottom)) + 76px)}body.pedals #btn-foot{right:calc(max(20px, env(safe-area-inset-right)) + 98px)}#btn-foot.far{opacity:.45}#btn-foot:active{background:#ffd23f;transform:translateY(4px)}.stick{pointer-events:none;background:#ffffff38;border:4px solid #ffffffd9;border-radius:62px;width:124px;height:124px;margin:-62px 0 0 -62px;position:fixed}.stick.wide{width:176px;height:74px;margin:-37px 0 0 -88px}.stick.tall{width:74px;height:176px;margin:-88px 0 0 -37px}.knob{background:#ffffffeb;border-radius:50%;width:58px;height:58px;margin:-29px 0 0 -29px;position:absolute;top:50%;left:50%;box-shadow:0 4px #24324a40}#flash{opacity:0;pointer-events:none;background:#fff;position:fixed;inset:0}#flash.go{animation:.45s ease-out flash}#overlay{-webkit-backdrop-filter:blur(1.5px);background:#286eaa29;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.panel{text-align:center;background:#fff;border:6px solid #ffd23f;border-radius:34px;width:100%;max-width:480px;padding:30px 34px;animation:.4s ease-out pop;box-shadow:0 12px #24324a38}.panel h1{color:#ff6b4a;font-size:clamp(30px,7vw,44px);line-height:1.1}.panel p{white-space:pre-line;margin-top:12px;font-size:19px;font-weight:700}#ov-stars{letter-spacing:4px;min-height:0;margin-top:12px;font-size:40px}#ov-btn{color:#fff;cursor:pointer;background:#2ecc71;border:none;border-radius:999px;margin-top:22px;padding:14px 44px;font-family:inherit;font-size:28px;font-weight:900;box-shadow:0 7px #1f9d55}#ov-btn:active{transform:translateY(5px);box-shadow:0 2px #1f9d55}#ov-btn:disabled{cursor:default;background:#b9c2cf;transform:none;box-shadow:0 7px #98a2b0}#ov-alt{color:#6b7890;cursor:pointer;background:0 0;border:none;margin:14px auto 0;font-family:inherit;font-size:15px;font-weight:800;text-decoration:underline;display:block}#ov-controls{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px;display:flex}.seg{color:#24324a;cursor:pointer;background:#eef1f6;border:3px solid #0000;border-radius:999px;padding:9px 16px;font-family:inherit;font-size:17px;font-weight:800}.seg.on{background:#fff6d6;border-color:#ffd23f}.hint{opacity:.55;font-size:15px!important}#sheet{z-index:20;background:#1b163073;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.panel.sheet{text-align:left;flex-direction:column;max-width:520px;max-height:calc(100dvh - 24px);padding:16px 16px 18px;display:flex}#sheet-head{align-items:center;gap:12px;display:flex}#sheet-icon{background:#fff6d6;border-radius:16px;flex:none;place-items:center;width:54px;height:54px;font-size:32px;line-height:1;display:grid}#sheet-title{color:#ff6b4a;flex:1;font-size:clamp(21px,5.5vw,29px);line-height:1.1}#sheet-money{box-shadow:none;background:#eef1f6}#sheet-note{opacity:.75;margin-top:8px;font-size:16px}#sheet-note:empty{display:none}#sheet-list{touch-action:pan-y;flex-direction:column;gap:8px;min-height:0;margin-top:12px;padding:2px;display:flex;overflow-y:auto}.row{text-align:left;color:#24324a;cursor:pointer;background:#f4f6fa;border:3px solid #0000;border-radius:18px;flex:none;align-items:center;gap:12px;width:100%;padding:7px 12px 7px 7px;font-family:inherit;font-weight:800;display:flex}.row .ico{background:#fff;border-radius:14px;flex:none;place-items:center;width:48px;height:48px;font-size:27px;line-height:1;display:grid}.row .txt{flex:1;min-width:0}.row .txt b{font-size:18px;line-height:1.15;display:block}.row .txt small{opacity:.65;margin-top:1px;font-size:14px;font-weight:700;display:block}.row .tag{color:#fff;white-space:nowrap;background:#2ecc71;border-radius:999px;flex:none;padding:6px 13px;font-size:17px;font-weight:900;box-shadow:0 3px #1f9d55}.row.off .tag{background:#b9c2cf;box-shadow:0 3px #98a2b0}.row.pick .tag{background:#4aa8ff;box-shadow:0 3px #2f7fd0}.row.on{cursor:default;background:#eafaf0;border-color:#2ecc71}.row.on .tag{color:#1f9d55;box-shadow:none;background:0 0}.row.late{background:#fff1f1;border-color:#ff8f8f}.row.info{cursor:default;background:0 0;padding:2px 8px}.row.info .ico{background:#f4f6fa;width:36px;height:36px;font-size:22px}.row.info .tag{color:#24324a;box-shadow:none;background:0 0;padding-right:0}.row.info .tag.gain{color:#1f9d55}.row.info .tag.loss{color:#e0483d}.row.shake{animation:.3s shake}#sheet-close{color:#fff;cursor:pointer;background:#2ecc71;border:none;border-radius:999px;flex:none;align-self:center;margin-top:12px;padding:11px 36px;font-family:inherit;font-size:22px;font-weight:900;box-shadow:0 6px #1f9d55}#sheet-close:active{transform:translateY(4px);box-shadow:0 2px #1f9d55}#bigmap{z-index:20;background:#1b163073;place-items:center;padding:10px;display:grid;position:fixed;inset:0}.panel.bigmap{text-align:left;flex-direction:column;gap:8px;max-width:540px;max-height:calc(100dvh - 20px);padding:12px 14px 14px;display:flex}#bigmap-head{align-items:center;gap:10px;display:flex}#bigmap-icon{background:#fff6d6;border-radius:14px;flex:none;place-items:center;width:44px;height:44px;font-size:26px;line-height:1;display:grid}#bigmap-title{color:#ff6b4a;flex:1;font-size:clamp(20px,5.2vw,27px);line-height:1.1}#bigmap-close{cursor:pointer;color:#24324a;background:#eef1f6;border:none;border-radius:50%;flex:none;width:42px;height:42px;font-family:inherit;font-size:18px;font-weight:900}#bigmap-body{flex-direction:column;gap:8px;min-height:0;display:flex}#bigmap-canvas{aspect-ratio:1;cursor:pointer;touch-action:manipulation;border:4px solid #e8ecf2;border-radius:16px;flex:none;align-self:center;width:min(100%,100dvh - 330px)}#bigmap-side{flex-direction:column;gap:8px;min-width:0;display:flex}#bigmap-places{grid-template-columns:repeat(8,minmax(0,46px));justify-content:center;gap:6px;display:grid}.spot{aspect-ratio:1;cursor:pointer;touch-action:manipulation;background:#f4f6fa;border:3px solid #0000;border-radius:14px;min-width:0;padding:0;font-size:clamp(17px,5.4vw,25px);line-height:1}.spot.on{background:#e6f0ff;border-color:#2f7fe6}.spot:disabled{opacity:.45;cursor:default}#bigmap-info{text-align:center;min-height:1.3em;margin:0;font-size:17px;font-weight:800}#bigmap-go{color:#fff;cursor:pointer;background:#2ecc71;border:none;border-radius:999px;flex:none;align-self:center;padding:10px 28px;font-family:inherit;font-size:21px;font-weight:900;box-shadow:0 6px #1f9d55}#bigmap-go.stop{background:#a9b3c2;box-shadow:0 6px #8a94a6}#bigmap-go:active{transform:translateY(4px);box-shadow:0 2px #24324a4d}@media (orientation:landscape) and (height<=520px){.panel.bigmap{max-width:780px}#bigmap-body{flex-direction:row;align-items:center;gap:12px}#bigmap-canvas{width:auto;height:calc(100dvh - 104px)}#bigmap-side{flex:1}}@keyframes calling{0%{box-shadow:0 6px #24324a40,0 0 #2ecc7199}to{box-shadow:0 6px #24324a40,0 0 0 20px #2ecc7100}}@keyframes ring{0%,to{transform:rotate(0)}25%{transform:rotate(-14deg)scale(1.08)}75%{transform:rotate(14deg)scale(1.08)}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}@keyframes pop{0%{transform:scale(.8)}60%{transform:scale(1.06)}to{transform:scale(1)}}@keyframes gain{0%{background:#fff;transform:scale(1)}25%{background:#9df0ae;transform:scale(1.25)}to{background:#fff;transform:scale(1)}}@keyframes loss{0%{background:#fff;transform:scale(1)}25%{background:#ff9d9d;transform:scale(1.25)}to{background:#fff;transform:scale(1)}}@keyframes throb{0%{transform:scale(1)}to{transform:scale(1.1)}}@keyframes flash{0%{opacity:.75}to{opacity:0}}@media (height<=480px){#map{border-radius:14px;width:96px;height:96px}#order-sub{display:none}#phone-body{padding-top:7px}#phone-ear{margin-bottom:6px}#phone-screen{padding:8px 12px 10px}#phone-icon{width:50px;height:50px;margin-top:4px;font-size:34px}#phone-title{font-size:21px}#phone-pay{margin-top:5px}#phone-bar{margin-top:8px}#phone-btns{margin-top:9px}}@media (width<=640px){#order-title{font-size:15px}#order-sub{display:none}#order-icon{width:28px;height:28px;font-size:17px}#order-card{gap:7px;padding:4px 11px 4px 5px}.pill{padding:6px 11px;font-size:15px}#hud{flex-direction:column;justify-content:flex-start;gap:8px}#stats{justify-content:flex-start}#now{max-width:calc(100% - 104px)}#timer-pill{min-width:70px}.act{padding:6px 12px;font-size:15px}#day-bar{width:28px}#call{width:70px;height:70px;left:max(14px, env(safe-area-inset-left))}#call-phone{font-size:30px}body.pedals #call{bottom:calc(max(22px, env(safe-area-inset-bottom)) + 90px)}#gauge-pill{gap:2px;padding-top:3px;padding-bottom:3px}.gauge{gap:5px;font-size:12px}.gauge>span{width:15px}.gauge .bar{width:40px;height:8px}.row .txt b{font-size:16px}.row .txt small{font-size:13px}.row .ico{width:42px;height:42px;font-size:24px}.row .tag{padding:5px 10px;font-size:15px}#map{border-width:3px;border-radius:14px;width:92px;height:92px;top:64px}.ctl{width:74px;height:74px;font-size:30px}.ctl.small{width:58px;height:58px;font-size:24px}#steer{left:max(14px, env(safe-area-inset-left));gap:12px}#pedals{right:max(14px, env(safe-area-inset-right));flex-direction:column;align-items:center;gap:12px}#btn-horn,#btn-foot{right:max(14px, env(safe-area-inset-right))}body.touch #btn-foot{bottom:calc(max(22px, env(safe-area-inset-bottom)) + 70px)}body.pedals #btn-horn,body.pedals #btn-foot{right:calc(max(14px, env(safe-area-inset-right)) + 84px)}}
