@font-face{font-family:Dela;src:url(/fonts/dela.woff2) format("woff2");font-display:swap}@font-face{font-family:Barlow;src:url(/fonts/barlow.woff2) format("woff2");font-weight:800;font-display:swap}@font-face{font-family:Noto;src:url(/fonts/noto.woff2) format("woff2");font-weight:100 900;font-display:swap}:root{font-family:Noto,sans-serif;color:#243d37;background:#f5f0e5;font-synthesis:none;--paper:#f5f0e5;--ink:#243d37;--muted:#657366;--orange:#de7047;--mint:#85b4a1;--shadow:#b5bda6}*{box-sizing:border-box}body{margin:0;overscroll-behavior:none}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #df7047;outline-offset:4px}button{border:0}button svg{height:24px;width:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}#app{width:100%;max-width:1440px;height:100svh;min-height:600px;margin:auto;display:flex;flex-direction:column;position:relative;overflow:hidden}.topbar{height:72px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 44px;position:relative;z-index:4}.wordmark{font-family:Dela,sans-serif;font-size:22px;letter-spacing:-.06em;background:none;padding:8px 0}.wordmark:disabled{opacity:1;cursor:default}.icon-button{width:44px;height:44px;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:500}.icon-button:hover{background:#e5e7d6}.icon-button svg{width:25px;height:25px;stroke-width:1.8}#round-label{font-size:14px;font-weight:800;margin-right:auto;color:var(--muted)}#game-shell{flex:1;min-height:0;position:relative;isolation:isolate}#game{width:100%;height:100%;outline:none;touch-action:none}#game canvas{display:block;width:100%!important;height:100%!important;object-fit:contain}#hud{position:absolute;top:12px;left:max(32px,calc(50% - 430px));right:max(32px,calc(50% - 430px));display:flex;justify-content:space-between;pointer-events:none}.hud-left{display:flex;flex-direction:column;gap:0}.hud-left>span:first-child{font-size:13px;font-weight:800}.hud-left>strong{font-family:Barlow,sans-serif;font-size:45px;line-height:1.05;font-weight:800;letter-spacing:-.01em}.hud-left>span:last-child{font-size:13px;color:var(--muted);font-weight:700}.hud-right{display:flex;align-items:baseline;gap:5px}.hud-right strong{font-family:Barlow,sans-serif;font-size:38px}.hud-right span{font-size:12px;font-weight:800}.hud-right.urgent{color:#b85139}#cargo-label{position:absolute;top:23%;left:50%;transform:translate(-50%);display:flex;align-items:baseline;gap:9px;background:var(--paper);padding:4px 10px;white-space:nowrap;pointer-events:none;font-size:13px;font-weight:800;border-radius:3px}#cargo-label strong{font-family:Barlow;font-size:19px;letter-spacing:.02em}#route-progress{position:absolute;top:94px;width:100%;height:4px;background:#d7ddc7}#route-fill{height:100%;background:var(--orange);width:0}#route-distance{position:absolute;right:0;top:8px;font-size:12px;color:var(--muted);font-weight:800}#feedback{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);font-family:Dela;font-size:clamp(17px,3vw,26px);color:#b55438;text-shadow:0 2px 0 var(--paper);pointer-events:none;white-space:nowrap}#title-screen{position:absolute;inset:0;pointer-events:none;display:flex;flex-direction:column;justify-content:space-between;padding:12px max(40px,calc(50% - 470px)) 38px}h1{font-family:Dela,sans-serif;letter-spacing:-.06em;font-size:clamp(52px,8.5vw,102px);line-height:1.08;margin:0;font-weight:400;transform:rotate(-3deg);align-self:flex-start}.title-dot{color:var(--orange);margin-left:-.1em}.title-actions{display:flex;flex-direction:column;align-items:center;gap:14px;pointer-events:auto}.button{min-height:58px;display:inline-flex;align-items:center;justify-content:center;gap:24px;border-radius:7px;font-size:17px;font-weight:850;padding:0 24px;transition:background-color .15s,transform .08s;white-space:nowrap}.button.primary{background:var(--orange);color:#fff8e8;box-shadow:0 4px #a95137}.button.primary:hover:not(:disabled){background:#c76441}.button.dark{background:var(--ink);color:var(--paper);box-shadow:0 4px #132d27}.button.dark:hover:not(:disabled){background:#33564b}.button.secondary{background:#e3e7d6;color:var(--ink);box-shadow:0 4px #aab59f}.button.secondary:hover:not(:disabled){background:#d7dfc8}#start-button{min-width:250px;font-family:Dela;font-size:20px;font-weight:400;gap:75px;min-height:64px}.text-button{background:transparent;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:4px;padding:5px 0}#controls{padding:9px 32px calc(22px + env(safe-area-inset-bottom));background:var(--paper);position:relative;z-index:3;flex-shrink:0}#load-controls{display:flex;gap:14px;max-width:740px;justify-content:center;margin:auto}#rotate-left{min-width:130px;gap:10px}#rotate-left>span:first-child{font-size:31px;font-weight:400;line-height:1}#drop-button{min-width:250px;justify-content:space-between}#depart-button{min-width:160px;justify-content:space-between}#drive-controls{display:flex;gap:24px;max-width:740px;margin:auto;align-items:center;justify-content:center}#drive-controls button{width:250px;user-select:none;-webkit-user-select:none;touch-action:none}#drive-controls button.held{transform:translateY(3px);box-shadow:none}.speed{min-width:80px;text-align:center;display:flex;flex-direction:column}.speed strong{font-family:Barlow;font-weight:800;font-size:40px;line-height:1}.speed span{font-size:11px;color:var(--muted)}.overlay{position:absolute;inset:0;z-index:5;background:#f5f0e5e8;display:flex;align-items:center;justify-content:center;padding:20px}.delivery-panel{width:440px;text-align:center}.delivery-panel>span{font-size:14px;font-weight:800;color:var(--muted)}h2{font-family:Dela;font-size:34px;letter-spacing:-.04em;font-weight:400;line-height:1.3;margin:14px 0 24px}#delivery-stats{margin-bottom:28px}#delivery-stats .cash{font-family:Barlow;font-weight:800;font-size:64px;display:block;line-height:1}#delivery-stats p{font-size:14px;line-height:1.8;font-weight:700;margin:13px 0}#next-button{min-width:260px;justify-content:space-between}#result{background:var(--paper);align-items:flex-start;overflow:auto;padding:10px 24px 36px}.result-panel{width:100%;max-width:620px;display:grid;grid-template-columns:1fr 1fr;gap:12px 30px;align-items:center}.result-heading{grid-column:1/-1;text-align:center}.result-heading>span{font-size:12px;font-weight:800;color:var(--muted)}.result-heading h2{margin:4px 0 6px;font-size:29px}#result-image{grid-row:2/5;grid-column:1}#result-image img{width:100%;display:block;border-radius:6px;background:#e8e8d6}#result-score{align-self:end}#result-score>span{font-size:12px;font-weight:700}#result-score>strong{display:block;font-size:53px;line-height:1;font-family:Barlow}#result-score p{margin:10px 0 0;font-size:12px;line-height:1.7;color:var(--muted);font-weight:700}#result-controls,#result-controls .mg-result{display:flex;flex-direction:column;gap:12px}.mg-share-pair{display:flex;flex-direction:column;gap:10px}.mg-button{background:#e3e7d6;border:0;border-radius:6px;padding:13px;font-weight:800;text-align:center;text-decoration:none;font-size:13px;color:var(--ink);cursor:pointer}.mg-primary{background:var(--orange);color:#fff8e8;font-size:17px}.mg-action-error{font-size:12px;color:#a84634}.mg-share-pair button{font:inherit;font-size:13px;font-weight:800}#share-hint,#share-error{font-size:11px;line-height:1.7;color:var(--muted);margin:0;grid-column:2}#x-followup{font-size:12px;color:var(--ink);font-weight:800;grid-column:2}#share-error{color:#a84634}dialog{border:0;border-radius:12px;padding:28px;width:min(570px,calc(100% - 28px));max-height:calc(100svh - 32px);background:var(--paper);color:var(--ink);box-shadow:0 20px 120px #142f2740}dialog::backdrop{background:#20382f90;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-heading h2{font-size:28px;margin:0}.settings-tabs{display:flex;gap:5px;border-bottom:1px solid #c4cdb7;margin-bottom:24px}.settings-tabs button{padding:12px 16px;background:none;font-weight:800;color:var(--muted);font-size:13px;border-bottom:3px solid transparent}.settings-tabs button.selected{color:var(--ink);border-color:var(--orange)}.settings-content{min-height:260px;max-height:55svh;overflow-y:auto;overscroll-behavior:contain;padding:0 5px 0 0}.slider-row{display:grid;grid-template-columns:1fr auto;gap:10px;margin:20px 0 24px;font-size:14px;font-weight:800}.slider-row:first-child{margin-top:0}.slider-row input{grid-column:1/-1;width:100%;accent-color:var(--orange);margin:0;cursor:pointer;height:22px}.slider-row output{font-family:Barlow;font-size:21px;line-height:1}.check-row{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:13px;font-weight:700;margin:22px 0}.check-row input{height:20px;width:20px;accent-color:var(--orange)}.resume{width:100%;margin-top:24px;min-height:50px}.key-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;font-size:13px;font-weight:700}.key-row button{border-radius:4px;background:#e0e5d4;padding:8px;min-width:90px;font-weight:800;font-family:inherit;font-size:13px}.key-row button.waiting{background:var(--orange);color:var(--paper)}#key-message{font-size:12px;line-height:1.7;color:#ae4a32;min-height:20px}#tab-howto h3{font-size:15px;margin:18px 0 8px}#tab-howto h3:first-child{margin-top:0}#tab-howto p{font-size:13px;line-height:1.9;margin:0 0 20px}#tab-howto a{color:var(--ink);font-size:12px}details{font-size:12px;margin:28px 0 0}summary{cursor:pointer;font-weight:700;margin-bottom:10px}@media(min-width:1100px){#title-screen{padding-bottom:44px}#game-shell{max-height:900px}.title-actions{align-self:flex-end;padding-right:25px;padding-bottom:20px}#title-screen h1{margin:10px 0 0 25px}}@media(max-width:650px){#app{min-height:480px}.topbar{height:60px;padding:0 20px;gap:14px}.wordmark{font-size:18px}#round-label{font-size:11px}.icon-button{width:38px;height:38px}.topbar .icon-button svg{width:23px}.topbar .wordmark:not(:disabled){font-size:18px}#title-screen{padding:12px 24px 22px}h1{font-size:68px;letter-spacing:-.055em}.title-actions{gap:14px}#start-button{min-height:58px;min-width:240px;font-size:18px}.text-button{font-size:12px}#hud{top:6px;left:20px;right:20px}.hud-left>strong{font-size:36px}.hud-left>span:first-child,.hud-left>span:last-child{font-size:11px}.hud-right strong{font-size:32px}.hud-right span{font-size:10px}#route-progress{top:80px}#route-distance{font-size:10px}#cargo-label{font-size:11px;gap:7px;top:26%;padding:3px 8px}#cargo-label strong{font-size:16px}#controls{padding:6px 16px calc(20px + env(safe-area-inset-bottom))}#load-controls{gap:9px}#load-controls .button{min-width:0;min-height:54px;gap:8px;font-size:14px;padding:0 14px}#rotate-left{flex:0 0 78px}#rotate-left>span:first-child{font-size:25px}#drop-button{flex:1}#depart-button{flex:0 0 94px}#load-controls svg{width:20px;height:20px}#drive-controls{gap:10px}#drive-controls button{width:auto;flex:1;font-size:14px;gap:9px;min-height:56px;padding:0 10px}#drive-controls button svg{height:20px;width:20px}.speed{min-width:54px}.speed strong{font-size:34px}.speed span{font-size:9px}.delivery-panel h2{font-size:28px}#delivery-stats .cash{font-size:57px}.overlay{padding:15px}#result{padding:7px 20px 30px}.result-panel{max-width:360px;display:flex;flex-direction:column;gap:14px}.result-heading h2{font-size:26px;margin-bottom:0}.result-heading>span{font-size:11px}#result-image{width:min(210px,55vw)}#result-score{text-align:center;align-self:center}#result-score>strong{font-size:45px}#result-score p{margin-top:6px}#result-controls{width:100%}#result-controls .mg-result{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mg-share-pair{grid-column:2;grid-row:1;gap:8px}.mg-primary{grid-column:1;align-self:stretch;display:flex;align-items:center;justify-content:center;font-size:15px}.mg-button{padding:11px;font-size:11px}.mg-action-error{grid-column:1/-1}#share-hint,#share-error{text-align:center;font-size:10px}dialog{padding:22px}.settings-tabs button{padding:11px 12px}.settings-content{max-height:52svh}.settings-tabs{margin-bottom:18px}}@media(max-height:620px)and (min-width:651px){#app{min-height:400px}.topbar{height:50px}#title-screen{padding-top:0;padding-bottom:20px}h1{font-size:64px}.title-actions{padding:0}#controls{padding-bottom:14px}.button{min-height:48px}#title-screen .button{min-height:54px}#hud{top:0}.hud-left>strong{font-size:34px}#cargo-label{top:24%}.result-panel{max-width:530px}#result-image{max-width:185px}.result-heading h2{font-size:24px}#result-score>strong{font-size:42px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(max-height:620px)and (min-width:651px){#app{min-height:320px}}
