:root{color:#17363b;font-synthesis:none;--ink:#17363b;--muted:#617879;--paper:#f1f6f2;--lime:#e3f19c;--line:#25414226;background:#dce8e7;font-family:Noto Sans TC,Microsoft JhengHei,sans-serif}*{box-sizing:border-box}body{-webkit-tap-highlight-color:transparent;width:100%;height:100dvh;min-height:690px;margin:0;overflow:hidden}button,a,select{touch-action:manipulation}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible{outline-offset:4px;outline:3px solid #457e7e}button{transition:background .2s,transform .2s,color .2s}button:active:not(:disabled){transform:translateY(1px)}.hidden{display:none!important}.svg-definitions{width:0;height:0;position:absolute;overflow:hidden}.icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:22px;height:22px}#world{z-index:0;width:100%;height:100%;position:fixed;inset:0}.vignette{pointer-events:none;z-index:1;background:linear-gradient(90deg,#dfeceaed 0%,#e2edeae0 20%,#e4eeea3d 43%,#0000 61%),linear-gradient(#0000 60%,#e0ebe7b3);position:fixed;inset:0}.driving .vignette{background:linear-gradient(#0000 66%,#07161e85),linear-gradient(#07161e3d,#0000 23%)}.topbar{z-index:5;border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:100px;margin:0 4.4%;display:flex;position:relative}.brand{letter-spacing:2px;align-items:center;gap:11px;font-size:20px;font-weight:800;display:flex}.brand>svg{fill:none;width:39px;height:42px;stroke:var(--ink);stroke-width:2.8px;stroke-linecap:round;stroke-linejoin:round}.brand small{letter-spacing:3.2px;margin-top:3px;font:600 11px Barlow Condensed,sans-serif;display:block}.top-actions{align-items:center;gap:13px;display:flex}.icon-button{background:0 0;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.icon-button:hover{background:#ffffff73}.source-button{letter-spacing:1px;background:0 0;align-items:center;gap:10px;font-size:12px;font-weight:600;display:flex}.source-button .icon{width:16px;height:16px;transform:rotate(-45deg)}.open-dot{background:#397e67;border-radius:50%;width:6px;height:6px}.header-divider{background:var(--line);width:1px;height:20px;margin:0 4px}.menu{z-index:2;height:calc(100dvh - 100px);min-height:590px;padding:0 4.4%;position:relative}.intro{width:410px;position:absolute;top:47px}.eyebrow{letter-spacing:3px;align-items:center;gap:10px;font-size:12px;font-weight:500;display:flex}.eyebrow>span{background:var(--ink);width:20px;height:1px}h1{letter-spacing:-2px;margin:20px 0 16px;font-size:clamp(40px,4.3vw,64px);font-weight:900;line-height:1.32}.title-outline{color:#0000;-webkit-text-stroke:1.3px var(--ink)}.intro-copy{color:#4c696c;letter-spacing:1px;margin:0 0 25px;font-size:14px;line-height:1.9}.route-note{align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex}.route-note .icon{width:16px;height:16px}.route-note-line{background:var(--line);width:1px;height:12px;margin:0 5px}.route-note>span:last-child{color:var(--muted);font-size:11px;font-weight:400}.route-description{color:var(--muted);margin-top:9px;font-size:11px}.mode-selector{background:#eef6ef66;border:1px solid #a4b5b1;border-radius:6px;margin-top:12px;padding:3px;display:inline-flex}.mode-selector button{background:0 0;border-radius:3px;align-items:center;gap:6px;padding:8px 15px;font-size:11px;display:flex}.mode-selector .selected{background:var(--ink);color:#f6faf5}.mode-selector .icon{width:13px;height:13px}.keyboard-tip{color:var(--muted);align-items:center;gap:4px;margin-top:16px;font-size:10px;display:flex}kbd{text-align:center;background:#f9fcf68c;border:1px solid #637d7a59;border-radius:3px;min-width:16px;padding:0 3px;font-family:monospace;font-size:9px;line-height:17px;display:inline-block}.keyboard-tip>span{margin:0 10px 0 4px}.vehicle-panel{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f4f9f2d6;border:1px solid #fff6;border-radius:10px;width:239px;padding:20px 18px 15px;position:absolute;top:48px;right:0;box-shadow:0 6px 35px #2f4c4b0a}.vehicle-heading{justify-content:space-between;align-items:center;display:flex}.small-label{letter-spacing:2.2px;color:var(--muted);font:600 10px Barlow Condensed,sans-serif}.vehicle-heading h2{letter-spacing:1px;margin:5px 0 4px;font-size:20px}.vehicle-heading p{color:var(--muted);margin:0;font-size:10px}.vehicle-index{font:500 28px Barlow Condensed,sans-serif}.vehicle-index span{color:var(--muted);font-size:13px}.paint-options{gap:9px;margin:15px 0 13px;display:flex}.paint-dot{background:var(--paint);border:1px solid #53757438;border-radius:50%;width:16px;height:16px;padding:0;position:relative}.paint-dot.selected:after{content:"";border:1px solid var(--ink);border-radius:50%;position:absolute;inset:-4px}.vehicle-choices{grid-template-columns:1fr 1fr;gap:6px;display:grid}.vehicle-choice{color:#78968a;background:#e1ebe091;border:1px solid #0000;border-radius:5px;padding:4px 5px 6px}.vehicle-choice.selected{color:var(--car-color);background:#f7faf0;border-color:#527776}.vehicle-choice:hover{background:#f7faf0}.vehicle-choice svg{width:100%;height:37px;display:block}.vehicle-choice span{color:var(--ink);font-size:9px}.vehicle-stats{flex-wrap:wrap;gap:9px;margin-top:13px;display:flex}.vehicle-stats>span{color:var(--muted);width:calc(50% - 5px);font-size:9px}.vehicle-stats>span:first-child{justify-content:space-between;align-items:center;width:100%;display:flex}.vehicle-stats strong{color:var(--ink);font:600 23px Barlow Condensed,sans-serif}.vehicle-stats small{color:var(--muted);font:9px monospace}.stat-track{background:#dae2d9;width:100%;height:3px;margin-top:6px}.stat-track i{background:#5c8275;height:100%;transition:width .25s;display:block}.trip-panel{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f9fbf5ed;border:1px solid #fffc;border-radius:12px;padding:23px 25px 21px;position:absolute;bottom:53px;left:0;right:0;box-shadow:0 12px 45px #2c514b12}.trip-heading{justify-content:space-between;align-items:center;margin-bottom:17px;display:flex}.trip-heading h2{letter-spacing:1px;margin:0;font-size:15px;font-weight:700}.trip-heading>span{letter-spacing:2px;color:var(--muted);font:500 10px Barlow Condensed,sans-serif}.trip-heading b{color:var(--ink);margin-left:13px;font-size:17px}.trip-bottom{align-items:stretch;gap:26px;display:flex}.map-choices{flex:1;grid-template-columns:repeat(4,1fr);gap:12px;min-width:0;display:grid}.map-card{text-align:left;background:#f2f6ee;border:1px solid #cad8cf;border-radius:6px;padding:0;transition:transform .2s,border-color .2s,box-shadow .2s;position:relative;overflow:hidden}.map-card:hover{border-color:#517d72;transform:translateY(-3px)}.map-card.selected{border:2px solid #456f67;box-shadow:0 0 0 2px #dce8d3}.map-art{height:77px;position:relative;overflow:hidden}.map-art>svg{object-fit:cover;width:100%;height:100%;display:block}.map-number{letter-spacing:1px;background:#f2f9edcc;border-radius:3px;padding:1px 5px;font:600 12px Barlow Condensed,sans-serif;position:absolute;top:8px;left:9px}.selected-check{text-align:center;color:#fff;background:#325c54;border-radius:50%;width:17px;font-size:10px;line-height:17px;display:none;position:absolute;top:7px;right:7px}.map-card.selected .selected-check{display:block}.map-caption{padding:9px 10px 11px}.map-caption strong{white-space:nowrap;font-size:11px;font-weight:600;display:block}.map-caption>span{letter-spacing:1.6px;color:#698077;margin-top:4px;font:500 9px Barlow Condensed,sans-serif;display:block}.departure{border-left:1px solid var(--line);flex-direction:column;flex-shrink:0;justify-content:center;width:207px;padding-left:25px;display:flex}.departure p{white-space:nowrap;align-items:center;gap:7px;margin:0 0 13px;font-size:11px;display:flex}.departure .icon{width:16px;height:16px}.departure strong{font:600 20px Barlow Condensed,sans-serif}.departure p>span{background:#e1ebd7;border-radius:3px;margin-left:auto;padding:3px 7px;font-size:9px}.start-button{background:var(--lime);letter-spacing:2px;color:#1f4436;border-radius:5px;justify-content:space-between;align-items:center;width:100%;padding:14px 17px;font-size:15px;font-weight:700;display:flex;box-shadow:inset 0 0 0 1px #c5d585}.start-button:hover{background:#d4e880}.start-button .icon{width:22px;height:22px}.departure small{text-align:center;color:var(--muted);letter-spacing:.7px;margin-top:10px;font-size:9px}.menu-footer{color:#64817c;letter-spacing:1px;justify-content:space-between;font-size:9px;display:flex;position:absolute;bottom:21px;left:0;right:0}.menu-footer>span:last-child{letter-spacing:1.5px;font:10px Barlow Condensed,sans-serif}.footer-dot{margin:0 8px}body[data-map=taipei]:not(.driving) .vignette{background:linear-gradient(90deg,#dce2e9f5,#dce2e9d6 21%,#dde3e933 43%,#0000 61%),linear-gradient(#0000 60%,#b4c1cf8c)}.hud{z-index:6;pointer-events:none;color:#f0f5ea;padding:max(24px,env(safe-area-inset-top)) 32px 25px;text-shadow:0 1px 10px #00000038;position:fixed;inset:0}.hud button{pointer-events:auto}.hud-top{align-items:flex-start;gap:30px;display:flex}.hud-route{width:250px}.hud-route .small-label{color:#e4f49e;font-size:11px}.hud-route strong{letter-spacing:1px;margin:7px 0 14px;font-size:20px;display:block}.progress-track{background:#f0f6ea40;border-radius:3px;width:100%;height:3px;overflow:hidden}.progress-track i{background:#e4f49e;height:100%;transition:width .1s;display:block}.hud-route>span:last-child{color:#e0e7dd;margin-top:8px;font:11px monospace;display:block}.hud-clock{text-align:right;margin-left:auto}.hud-clock>span{letter-spacing:1px;font-size:10px}.hud-clock strong{letter-spacing:1px;font-variant-numeric:tabular-nums;margin-top:4px;font:500 38px Barlow Condensed,sans-serif;display:block}.hud-button{color:#f3f7ea;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#132f2f61;border:1px solid #e9f5e64d;border-radius:8px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.hud-bottom{align-items:flex-end;gap:30px;display:flex;position:absolute;bottom:30px;left:32px;right:32px}.mini-map{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-align:center;background:#193c414d;border:1px solid #ecf6e22e;border-radius:12px;width:138px}.mini-map canvas{width:110px;height:110px;margin:auto;display:block}.mini-map span{color:#e3eddc;letter-spacing:2px;margin:0 0 10px;font-size:9px;display:block}.speedometer{flex-wrap:wrap;align-items:center;gap:8px;width:185px;margin-left:auto;display:flex}.speed-number{font-variant-numeric:tabular-nums;letter-spacing:-2px;font:500 92px/.9 Barlow Condensed,sans-serif}.speed-unit{flex-direction:column;gap:12px;padding-top:10px;display:flex}.speed-unit span{letter-spacing:1px;font:11px monospace}.speed-unit b{text-align:center;border:1px solid #d8e9d269;border-radius:4px;width:23px;font:500 18px Barlow Condensed,sans-serif}.boost-meter{background:#e1eacb38;border-radius:3px;width:100%;height:4px;margin-top:8px;overflow:hidden}.boost-meter i{background:#e3f19c;height:100%;display:block}.boost-label{letter-spacing:1px;color:#e0edcf;justify-content:space-between;width:100%;font-size:9px;display:flex}.boost-label kbd{color:#e9f4d6;background:#122e3438;border-color:#e5f2d638;font-size:8px;line-height:13px}.camera-button{flex-direction:column;gap:4px;width:54px;height:54px;margin-left:4px}.camera-button>span{font-size:8px}.drive-message{color:#31443a;letter-spacing:2px;opacity:0;white-space:nowrap;background:#e8d998;border-radius:5px;padding:10px 20px;font-size:12px;transition:opacity .2s;position:absolute;top:26%;left:50%;transform:translate(-50%)}.drive-message.visible{opacity:1}.urgent{color:#f8b78a}.touch-controls{display:none}.countdown{z-index:8;color:#f4fadf;text-shadow:0 5px 35px #102a3380;pointer-events:none;font:600 120px Barlow Condensed,sans-serif;position:fixed;top:39%;left:50%;transform:translate(-50%,-50%)}.overlay{z-index:10;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#10292e8f;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.overlay-card,dialog{width:min(440px,100vw - 40px);color:var(--ink);background:#f3f7ee;border-radius:16px;padding:39px 35px;box-shadow:0 25px 80px #102a332b}.overlay-card{text-align:center}.overlay-card h2,dialog h2{letter-spacing:-.5px;margin:14px 0;font-size:27px;line-height:1.4}.overlay-card>p,dialog>p{color:var(--muted);margin:0 0 26px;font-size:12px;line-height:1.9}.primary-button,.secondary-button{letter-spacing:1px;border-radius:6px;justify-content:space-between;align-items:center;gap:18px;width:100%;min-height:47px;padding:14px 18px;font-size:13px;font-weight:600;display:flex}.primary-button{background:var(--lime);color:#254633}.primary-button:hover{background:#d5e685}.secondary-button{background:#e3eade;justify-content:center;margin-top:10px}.secondary-button:hover{background:#d8e3d2}.text-button{text-underline-offset:4px;color:var(--muted);background:0 0;margin-top:22px;font-size:11px;text-decoration:underline}.result-stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:20px;margin-bottom:17px;padding:20px 0;display:flex}.result-stats>div{flex:1}.result-stats span{color:var(--muted);font-size:10px;display:block}.result-stats strong{letter-spacing:1px;margin-top:7px;font:500 36px Barlow Condensed,sans-serif;display:block}.overlay-card .best-record{margin-bottom:25px;font-size:10px}dialog{border:1px solid #fff;max-height:calc(100dvh - 40px);position:fixed;overflow:auto}dialog::backdrop{-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#1b394566}.dialog-close{position:absolute;top:13px;right:13px}.dialog-note{line-height:1.85;margin:20px 0 0!important;font-size:10px!important}.setting-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:20px 0;font-size:12px;display:flex}.setting-row small{color:var(--muted);margin-top:7px;font-size:9px;display:block}.setting-row select{color:var(--ink);background:#e1e9dc;border:1px solid #b5c6b2;border-radius:4px;padding:9px 12px;font-size:11px}.controls-guide h3{margin:25px 0 12px;font-size:13px}.controls-guide p{color:var(--muted);font-size:11px;line-height:1.9}.source-detail{gap:11px;padding:18px 0 25px;font-size:11px;display:grid}.source-detail>span:before{content:"↗";color:#438477;margin-right:12px}.source-version{letter-spacing:2px;color:var(--muted);margin-top:25px;font:10px Barlow Condensed,sans-serif;display:block}.loading-screen{z-index:30;background:#e8f0e8;flex-direction:column;justify-content:center;align-items:center;transition:opacity .5s;display:flex;position:fixed;inset:0}.loading-screen.loaded{opacity:0;pointer-events:none}.loading-mark{border:1px solid #afc6b9;border-radius:17px;width:67px;height:67px;margin-bottom:25px;padding:11px}.loading-mark svg{fill:none;width:100%;stroke:var(--ink);stroke-width:2px;stroke-linecap:round}.loading-screen p{color:var(--muted);letter-spacing:1px;text-align:center;max-width:320px;margin:18px 20px;font-size:12px;line-height:1.9}.loading-track{background:#cedbd0;width:160px;height:3px;margin-top:13px;overflow:hidden}.loading-track i{background:#5a8f76;width:50%;height:100%;animation:1.2s ease-in-out infinite load;display:block}.loading-screen>.primary-button{justify-content:center;width:180px;margin-top:15px}.toast{z-index:40;color:#e8f3df;letter-spacing:.5px;text-align:center;background:#1b3b40e8;border:1px solid #c6d9bc33;border-radius:7px;max-width:90vw;padding:13px 20px;font-size:11px;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}@keyframes load{0%{transform:translate(-100%)}to{transform:translate(300%)}}@media (width>=1600px){.intro{top:8vh}.vehicle-panel{width:260px;top:8vh}.trip-panel{padding:26px 30px;bottom:64px}.map-art{height:100px}.map-caption strong{font-size:13px}.departure{width:240px}.menu-footer{bottom:28px}}@media (height<=800px) and (width>=901px){.topbar{height:79px}.menu{height:calc(100dvh - 79px)}.intro{top:28px}h1{margin:17px 0 13px;font-size:48px}.intro-copy{margin-bottom:15px}.route-description{display:none}.mode-selector{margin-top:13px}.vehicle-panel{padding:16px;top:25px}.trip-panel{padding:17px 22px;bottom:45px}.trip-heading{margin-bottom:12px}.map-art{height:62px}.menu-footer{bottom:17px}.keyboard-tip{margin-top:11px}}@media (width<=1100px) and (width>=901px){.intro{width:345px}h1{font-size:46px}.vehicle-panel{width:195px;padding:14px;right:-10px}.map-choices{gap:8px}.trip-bottom{gap:16px}.departure{width:167px;padding-left:16px}.map-caption{padding:8px 6px}.map-caption strong{font-size:10px}.start-button{padding:12px;font-size:13px}.trip-panel{padding:19px}}@media (width<=900px){body{min-height:700px;overflow-y:auto}#world{height:100dvh}.topbar{height:77px;margin:0 24px}.brand{gap:8px;font-size:17px}.brand small{letter-spacing:2.5px;font-size:9px}.brand>svg{width:32px;height:35px}.top-actions{gap:4px}.source-button{gap:7px;font-size:10px}.header-divider{margin:0 2px}.icon-button{width:35px;height:35px}.icon-button .icon{width:19px;height:19px}.vignette{background:linear-gradient(#e2ede959,#0000 47%,#e3ece5cc 67%)}.menu{height:calc(100dvh - 77px);min-height:623px;padding:0 24px}.intro{pointer-events:none;width:100%;top:26px}.eyebrow{letter-spacing:2px;font-size:10px}.eyebrow>span{width:15px}h1{letter-spacing:-1px;margin:12px 0 7px;font-size:37px;line-height:1.3}h1 br{display:none}.intro-copy{letter-spacing:.5px;margin:0;font-size:10px;line-height:1.8}.intro-copy br{display:none}.route-note{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f1f5e999;border-radius:5px;padding:8px 10px;font-size:10px;position:absolute;top:155px;right:0}.route-note>span:last-child,.route-note-line,.route-description,.keyboard-tip{display:none}.mode-selector{pointer-events:auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f1f5e999;border-color:#edf6e788;margin:0;position:absolute;top:154px;left:0}.mode-selector button{padding:6px 9px;font-size:9px}.vehicle-panel{width:auto;box-shadow:none;background:#f2f7eeeb;border-bottom:0;border-radius:10px 10px 0 0;grid-template-columns:140px 1fr;gap:0 14px;padding:13px 16px;display:grid;inset:auto 0 332px}.vehicle-heading h2{margin:4px 7px 0 0;font-size:17px;display:inline-block}.vehicle-heading p{font-size:9px;display:inline-block}.vehicle-heading .small-label{font-size:9px;display:block}.vehicle-index{display:none}.paint-options{grid-column:1;gap:10px;margin:10px 0 0}.paint-dot{width:14px;height:14px}.vehicle-choices{grid-area:1/2/3;grid-template-columns:repeat(4,1fr);align-items:center;gap:6px;display:grid}.vehicle-choice{padding:3px 3px 6px}.vehicle-choice svg{height:32px}.vehicle-choice span{white-space:nowrap;font-size:8px}.vehicle-stats{display:none}.trip-panel{border-radius:0 0 10px 10px;padding:18px 17px 17px;bottom:35px;box-shadow:0 8px 35px #23463812}.trip-heading{margin-bottom:12px}.trip-heading h2{letter-spacing:.5px;font-size:12px}.trip-heading>span{font-size:8px}.trip-heading b{margin-left:5px;font-size:14px}.trip-bottom{display:block}.map-choices{gap:9px}.map-art{height:74px}.map-caption{padding:9px 6px}.map-caption strong{font-size:10px}.map-caption>span{letter-spacing:1px;font-size:8px}.departure{border:0;grid-template-columns:1fr 185px;align-items:center;gap:0 14px;width:100%;padding:15px 0 0;display:grid}.departure p{justify-content:flex-start;margin:0}.departure p>span{margin-left:8px}.start-button{padding:12px 16px;font-size:13px}.departure small{grid-column:2;margin-top:7px;font-size:8px}.menu-footer{font-size:8px;bottom:13px}.menu-footer>span:last-child{letter-spacing:1px;font-size:8px}.footer-dot{margin:0 3px}.desktop-only{display:none}.driving{min-height:0;overflow:hidden}.hud{padding:22px 20px}.hud-route{width:176px}.hud-route strong{margin:6px 0 11px;font-size:15px}.hud-route .small-label,.hud-route>span:last-child{font-size:9px}.hud-top{gap:16px}.hud-clock strong{font-size:29px}.hud-clock>span{font-size:9px}.hud-button{width:38px;height:38px}.hud-bottom{gap:16px;bottom:185px;left:20px;right:20px}.mini-map{border-radius:9px;width:87px}.mini-map canvas{width:76px;height:76px}.mini-map span{letter-spacing:1px;margin-bottom:7px;font-size:8px}.speedometer{gap:8px;width:155px}.speed-number{font-size:74px}.speed-unit span{font-size:9px}.speed-unit{gap:7px}.boost-label{font-size:8px}.boost-label kbd{display:none}.camera-button{width:44px;height:47px;margin:0}.touch-controls{bottom:max(25px,env(safe-area-inset-bottom));pointer-events:none;justify-content:space-between;align-items:flex-end;gap:12px;display:flex;position:absolute;left:20px;right:20px}.touch-controls button{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;color:#eaf4e0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#163c4359;border:1px solid #eaf8e54d;border-radius:13px}.steering-controls{gap:12px;display:flex}.steering-controls button{place-items:center;width:65px;height:66px;display:grid}.steering-controls .icon{width:29px;height:29px}.pedal-controls{align-items:flex-end;gap:12px;display:flex}.pedal-controls button{flex-direction:column;justify-content:center;align-items:center;gap:5px;width:62px;height:79px;display:flex}.pedal-controls .throttle{background:#e2ef9861;height:106px}.pedal-controls span{letter-spacing:1px;margin-bottom:6px;font-size:10px}.pedal-controls i{background:#deebdc80;border-radius:2px;width:28px;height:3px}.touch-boost{align-self:flex-start;place-items:center;width:42px;height:42px;margin-top:0;display:grid}.touch-controls button.held{color:#123c33;background:#e1f099b3;border-color:#e5f2be}.countdown{font-size:100px;top:38%}}@media (width<=600px){body{min-height:720px}.topbar{height:70px;margin:0 20px}.menu{height:calc(100dvh - 70px);min-height:650px;padding:0 18px}.brand{font-size:16px}.top-actions{gap:0}.source-button .icon,.header-divider{display:none}.source-button{margin-right:3px;font-size:9px}.icon-button{width:32px;height:35px}.intro{top:22px}.eyebrow{font-size:9px}h1{letter-spacing:-1.2px;margin-top:10px;font-size:31px}.intro-copy{max-width:270px;font-size:10px}.intro-copy br{display:block}.route-note,.mode-selector{top:208px}.route-note{padding:8px;font-size:9px}.vehicle-panel{grid-template-columns:1fr;gap:0;padding:13px 14px;bottom:337px}.vehicle-heading{width:100%;padding-right:120px}.vehicle-heading p{display:inline-block}.paint-options{gap:10px;margin:0;position:absolute;top:18px;right:16px}.vehicle-choices{grid-area:auto/1;gap:6px;margin-top:11px}.vehicle-choice{justify-content:center;align-items:center;gap:3px;padding:6px 5px;display:flex}.vehicle-choice svg{width:41px;height:23px}.vehicle-choice span{font-size:8px}.trip-panel{padding:16px 14px;bottom:36px}.trip-heading{margin-bottom:12px}.trip-heading h2{font-size:12px}.map-choices{grid-template-columns:repeat(2,1fr);gap:9px}.map-card{border-radius:5px;align-items:center;min-height:64px;display:flex}.map-art{flex-shrink:0;width:48%;height:66px}.map-art>svg{width:180px;max-width:none;transform:translate(-20px)}.map-caption{padding:7px}.map-caption strong{font-size:9px}.map-caption>span{letter-spacing:.8px;font-size:7px}.map-number{font-size:10px;top:5px;left:5px}.selected-check{width:14px;font-size:8px;line-height:14px;top:5px;right:5px}.departure{grid-template-columns:1fr 162px;gap:0 8px;padding-top:14px}.departure p{gap:5px;font-size:9px}.departure p>span{margin-left:2px;padding:3px 5px;font-size:8px}.departure strong{font-size:19px}.departure .icon{width:13px;height:13px}.start-button{letter-spacing:1px;min-height:44px;padding:12px 14px;font-size:13px}.departure small{letter-spacing:.3px;margin-top:6px;font-size:7px}.menu-footer>span:first-child{display:none}.menu-footer{justify-content:center;bottom:13px}.overlay-card,dialog{padding:32px 26px}.overlay-card h2,dialog h2{font-size:23px}.hud{padding:18px 16px}.hud-top{gap:10px}.hud-route{width:155px}.hud-clock strong{font-size:26px}.hud-button{width:35px;height:35px}.hud-bottom{gap:12px;bottom:166px;left:16px;right:16px}.speedometer{width:139px}.speed-number{font-size:67px}.camera-button{width:40px;height:44px}.touch-controls{left:16px;right:16px;bottom:max(24px,env(safe-area-inset-bottom));gap:10px}.steering-controls{gap:9px}.steering-controls button{width:58px;height:60px}.pedal-controls{gap:9px}.pedal-controls button{width:56px;height:76px}.pedal-controls .throttle{height:100px}.touch-boost{width:37px;height:37px}}@media (hover:none) and (width>=901px){.touch-controls{justify-content:space-between;display:flex;position:absolute;bottom:30px;left:30px;right:30px}.steering-controls,.pedal-controls{gap:12px;display:flex}.touch-controls button{color:#fff;touch-action:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#22464788;border-radius:10px;width:70px;height:70px}.touch-controls span{display:block}.hud-bottom{bottom:130px}}@media (height<=520px) and (orientation:landscape){body{min-height:0}.topbar{height:56px;margin:0 20px}.menu{height:calc(100dvh - 56px);min-height:0;padding:0 20px}.intro{width:260px;top:18px}h1{font-size:28px}.intro-copy{font-size:9px}.eyebrow{font-size:8px}.mode-selector{top:117px;left:0}.route-note{display:none}.vehicle-panel{width:193px;padding:11px;display:block;inset:15px 0 auto auto}.vehicle-heading{padding:0}.paint-options{gap:7px;top:14px;right:12px}.paint-dot{width:10px;height:10px}.vehicle-heading h2{font-size:14px}.vehicle-heading p{display:none}.vehicle-choices{grid-template-columns:repeat(2,1fr);gap:4px;margin-top:8px}.vehicle-choice{padding:3px}.trip-panel{border-radius:8px;padding:10px 13px;bottom:15px;left:0;right:0}.trip-heading,.menu-footer{display:none}.trip-bottom{gap:12px;display:flex}.map-choices{grid-template-columns:repeat(4,1fr);gap:7px}.map-card{min-height:0;display:block}.map-art{width:100%;height:38px}.map-art>svg{width:100%;transform:none}.map-caption{padding:5px}.map-caption strong{font-size:8px}.map-caption>span{display:none}.map-number{font-size:8px;top:3px;left:4px}.departure{flex-shrink:0;gap:0;width:135px;padding:0;display:flex}.departure p{gap:4px;margin-bottom:6px;font-size:8px}.departure p>span,.departure small{display:none}.start-button{min-height:34px;padding:9px 12px;font-size:11px}.hud{padding:12px 18px}.hud-route strong{margin:3px 0 6px;font-size:12px}.hud-route{width:140px}.hud-clock strong{font-size:26px}.hud-bottom{gap:12px;bottom:96px;left:18px;right:18px}.mini-map{width:65px}.mini-map canvas{width:55px;height:55px}.mini-map span{margin-bottom:4px;font-size:7px}.speedometer{width:130px}.speed-number{font-size:54px}.boost-meter{margin-top:0}.speed-unit{gap:3px;padding-top:0}.boost-label{display:none}.touch-controls{bottom:16px;left:18px;right:18px}.steering-controls button{width:66px;height:55px}.pedal-controls button{width:62px;height:55px}.pedal-controls .throttle{height:70px}.touch-boost{align-self:flex-end}.drive-message{padding:7px 12px;font-size:9px;top:27%}.countdown{font-size:72px;top:39%}.overlay-card{padding:20px 30px}.overlay-card h2{margin:8px 0;font-size:22px}.overlay-card>p{margin:0 0 15px}.overlay-card .text-button{margin-top:12px}.result-stats{margin-bottom:9px;padding:10px 0}.result-stats strong{font-size:27px}.overlay-card .best-record{margin-bottom:12px}.primary-button,.secondary-button{min-height:38px;padding:10px 15px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.menu{margin-left:4.4%;margin-right:4.4%;padding-left:0;padding-right:0}.vehicle-choice{min-width:0}@media (width<=900px){.menu{margin-left:24px;margin-right:24px}.vehicle-panel{bottom:283px}}@media (width<=600px){.menu{margin-left:18px;margin-right:18px}.vehicle-panel{bottom:320px}.vehicle-choice{flex-direction:column;gap:1px;min-height:44px;padding:4px 3px}.vehicle-choice svg{width:50px;height:24px}.vehicle-choice span{font-size:8px}.vehicle-heading{padding-right:118px}.paint-options{gap:7px;top:18px;right:15px}.paint-dot{width:16px;height:16px}}@media (height<=520px) and (orientation:landscape){.menu{margin-left:20px;margin-right:20px}.vehicle-panel{bottom:auto}.vehicle-choice{flex-direction:row;gap:3px;min-height:25px;padding:3px}.vehicle-choice svg{width:40px;height:23px}}@media (width<=600px) and (height>=521px){.intro .mode-selector,.intro .route-note{top:132px}}@media (height<=520px) and (orientation:landscape){.intro h1 br{display:initial}.intro .mode-selector{top:139px}}.school-links{align-items:center;gap:10px;display:flex}.school-links a{background:#eef5ed70;border-radius:6px;align-items:center;gap:7px;min-height:44px;padding:0 10px;font-size:11px;display:flex}.school-links a:hover{background:#f4f9eef0}.school-links a>span{font-size:19px}.school-links b{font-weight:600}@media (width<=600px){.school-links{gap:2px}.school-links a{justify-content:center;min-width:29px;padding:0 5px}.school-links b{display:none}.school-links a>span{font-size:17px}.brand{letter-spacing:1px}.topbar .source-button{letter-spacing:0;margin-right:1px}.topbar .top-actions{gap:0}}.tilt-toolbar{pointer-events:auto;gap:8px;display:flex;position:absolute;top:132px;right:32px}.tilt-toolbar .hud-button{touch-action:manipulation;flex-direction:column;gap:4px;width:56px;height:56px}.tilt-toolbar span{white-space:nowrap;font-size:9px}.tilt-toggle.is-active{color:#173c35;background:#e4f29ac9;border-color:#e8f5b2}.tilt-toolbar button:disabled{opacity:.65}.tilt-settings-button{min-width:64px;min-height:44px;color:var(--ink);background:#e1e9dc;border:1px solid #b5c6b2;border-radius:6px;font-size:12px}.tilt-settings-button[aria-pressed=true]{background:var(--lime)}.tilt-setting small{line-height:1.7}.tilt-setting #tilt-status{color:#326f5c}.tilt-enabled .steering-controls{opacity:.6}.tilt-enabled .steering-controls:has(.held){opacity:1}@media (width<=900px){.tilt-toolbar{top:120px;right:20px}}@media (width<=600px){.tilt-toolbar{gap:6px;top:112px;right:16px}.tilt-toolbar .hud-button{width:50px;height:50px}}@media (height<=520px) and (orientation:landscape){.tilt-toolbar{gap:6px;top:96px;right:18px}.tilt-toolbar .hud-button{width:48px;height:48px}.tilt-toolbar span{font-size:8px}}body[data-game=car]{--lime:#ffd23f;--star:#ffc61a}body[data-game=car] .title-outline{color:#ff8a1f;-webkit-text-stroke:0;text-shadow:0 3px #fff3c4}body[data-game=car] .icon-button{min-width:44px;min-height:44px}body[data-game=car] .source-button{min-height:44px}body[data-game=car] .mode-selector button{min-height:44px;font-size:13px;font-weight:700}body[data-game=car] .paint-options{gap:0!important}body[data-game=car] .paint-dot{background:radial-gradient(circle,var(--paint) 0 11px,#fff 11.5px 13.5px,#17363b2e 14px 14.5px,transparent 15px);border:0;border-radius:50%;width:44px!important;height:44px!important}body[data-game=car] .paint-dot.selected{background:radial-gradient(circle,var(--paint) 0 13px,#fff 13.5px 16px,#17363b 16.5px 18px,transparent 18.5px)}body[data-game=car] .paint-dot.selected:after{display:none}body[data-game=car] .start-button{color:#4a2f00;letter-spacing:1px;background:linear-gradient(#fd5,#ffc21a);border-radius:16px;font-size:18px;transition:transform .12s;box-shadow:0 5px #d99a00,0 10px 22px #d99a0052}body[data-game=car] .start-button:not(:disabled){animation:1.6s ease-in-out infinite car-start-bob}body[data-game=car] .start-button:active{transform:translateY(4px);box-shadow:0 1px #d99a00}@keyframes car-start-bob{0%,to{box-shadow:0 5px #d99a00,0 10px 22px #d99a0052,0 0 #ffc61a8c}50%{box-shadow:0 5px #d99a00,0 10px 22px #d99a0052,0 0 0 10px #ffc61a00}}body[data-game=car] .map-card.selected{border-color:#ff8a1f;box-shadow:0 0 0 3px #ff8a1f40}body[data-game=car] .vehicle-choice.selected{border-color:#ff8a1f;box-shadow:0 0 0 2px #ff8a1f38}.hud-stars{border:3px solid var(--star,#ffc61a);color:#5a3b00;background:#fff8d6f0;border-radius:999px;align-self:flex-start;align-items:center;gap:6px;margin:0 auto;padding:6px 16px 6px 10px;font-weight:900;display:flex;box-shadow:0 5px #78460033}.hud-stars b{font-size:26px;line-height:1}.hud-stars span{font-family:Barlow Condensed,sans-serif;font-size:28px;line-height:1}.hud-stars small{opacity:.7;font-size:15px}.hud-stars.bump{animation:.45s cubic-bezier(.2,1.6,.4,1) hud-star-bump}@keyframes hud-star-bump{0%{transform:scale(1)}40%{transform:scale(1.28)}to{transform:scale(1)}}.finish-stars{flex-direction:column;align-items:center;gap:6px;margin:-10px 0 18px;display:flex}.finish-stars .rating{gap:6px;display:flex}.finish-stars .rating i{color:#d9dfd8;text-shadow:0 3px #00000014;font-size:40px;font-style:normal;line-height:1}.finish-stars .rating i.on{color:#ffc61a;text-shadow:0 3px #d99a00;animation:.5s cubic-bezier(.2,1.6,.4,1) backwards finish-star-pop}.finish-stars .rating i.on:nth-child(2){animation-delay:.18s}.finish-stars .rating i.on:nth-child(3){animation-delay:.36s}.finish-stars .haul{color:#5a3b00;font-size:14px;font-weight:700}.finish-stars .haul b{font-size:20px}@keyframes finish-star-pop{0%{transform:scale(0)rotate(-40deg)}to{transform:scale(1)rotate(0)}}@media (width<=600px){.hud-top{flex-wrap:wrap;gap:12px}.hud-stars{order:3;margin:0;padding:4px 12px 4px 8px}.hud-stars b{font-size:20px}.hud-stars span{font-size:22px}}@media (height<=520px) and (orientation:landscape){body[data-game=car] .vehicle-panel{width:300px;padding:10px 12px}body[data-game=car] .paint-options{margin:2px 0 0;position:static}body[data-game=car] .paint-dot{width:44px!important;height:44px!important}body[data-game=car] .vehicle-choices{grid-template-columns:repeat(4,1fr);margin-top:4px}body[data-game=car] .vehicle-choice{justify-content:center;min-height:44px;padding:2px}body[data-game=car] .vehicle-choice span,body[data-game=car] .vehicle-stats{display:none}body[data-game=car] .mode-selector button{min-height:44px;padding:6px 10px;font-size:11px}body[data-game=car] .start-button{min-height:44px;font-size:14px}.hud-stars{border-width:2px;padding:3px 10px 3px 7px}.hud-stars b{font-size:17px}.hud-stars span{font-size:19px}.hud-stars small{font-size:11px}.finish-stars{margin:-6px 0 8px}.finish-stars .rating i{font-size:28px}}body[data-game=car] .vehicle-stats{display:none}body[data-game=car] .paint-dot{flex-shrink:0}@media (height<=520px) and (orientation:landscape){body[data-game=car] .intro h1{margin:8px 0 6px;font-size:26px;line-height:1.2}body[data-game=car] .intro h1 br{display:none}body[data-game=car] .intro-copy{margin:0 0 6px;font-size:11px}body[data-game=car] .intro-copy br{display:none}body[data-game=car] .mode-selector{top:104px}}body[data-game=car] .brand{min-height:44px}body[data-game=car] .hud-button{min-width:44px;min-height:44px}@media (height<=520px) and (orientation:landscape){body[data-game=car] .result-card{grid-template-columns:1fr 1fr;column-gap:12px;max-height:calc(100dvh - 56px);padding:12px 22px;display:grid}body[data-game=car] .result-card>*{grid-column:1/-1}body[data-game=car] .result-card>#again-button{grid-column:1}body[data-game=car] .result-card>#choose-button{grid-column:2;margin-top:0}body[data-game=car] .result-card h2{margin:2px 0;font-size:20px}body[data-game=car] #finish-route,body[data-game=car] #best-record,body[data-game=car] #finish-eyebrow{display:none}body[data-game=car] .finish-stars{flex-direction:row;justify-content:center;gap:14px;margin:0 0 4px}body[data-game=car] .result-stats{margin-bottom:8px;padding:4px 0}body[data-game=car] .result-stats strong{font-size:22px}body[data-game=car] .result-card .primary-button,body[data-game=car] .result-card .secondary-button{min-height:44px}}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:500;src:url(./barlow-condensed-latin-500-normal-BgYH2mbd.woff2)format("woff2"),url(./barlow-condensed-latin-500-normal-HIEiP5Ov.woff)format("woff")}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:700;src:url(./barlow-condensed-latin-700-normal-v1xN8_Wq.woff2)format("woff2"),url(./barlow-condensed-latin-700-normal-Dmwat-ge.woff)format("woff")}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:800;src:url(./barlow-condensed-latin-800-normal-BKzMuPgK.woff2)format("woff2"),url(./barlow-condensed-latin-800-normal-e9GbPXiK.woff)format("woff")}
