@font-face{font-family:"DIN Pro";src:url("./assets/din-pro-regular-617311af2fbd10bf.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"DIN Pro";src:url("./assets/din-pro-medium-4f353e87997c254c.otf") format("opentype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"DIN Pro";src:url("./assets/din-pro-bold-e67ddf8c385e538b.otf") format("opentype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Due Date';src:url('./assets/due-date-279d544eb5fc.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
:root{color-scheme:dark;--lime:#d6ff62;--ink:#111615;--muted:#89968e;--line:#313a35;--red:#ff654e}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#101414;color:#f2f4e9;font-family:'DIN Pro',sans-serif}body{min-height:100svh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 45%,#222c27 0,transparent 65%),#101414}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #fff;outline-offset:5px}button{color:inherit}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.site-header{height:86px;flex-shrink:0;display:flex;align-items:center;gap:16px;max-width:1440px;width:100%;padding:0 56px;margin:0 auto}.wordmark{font-weight:700;font-size:37px;letter-spacing:-5px;line-height:1}.wordmark span{display:inline-block;color:var(--lime);font-size:30px;letter-spacing:0;transform:translateY(-8px)}.site-title{font-size:13px;letter-spacing:3px;color:#a2aea3}.icon-button{position:relative;width:38px;height:38px;border:1px solid #445045;background:#131c17a8;display:grid;place-items:center;font-size:23px;border-radius:50%}.site-header>.icon-button{margin-left:auto}.sound-slash{position:absolute;width:20px;height:1px;background:#ddd;transform:rotate(-45deg)}.sound-on .sound-slash{display:none}main{position:relative;display:grid;place-items:center;flex:1;padding:0 24px}.game-shell{position:relative;isolation:isolate;aspect-ratio:3/5;height:min(calc(100svh - 135px),900px);max-height:900px;min-height:400px;overflow:hidden;background:#121c20;border:1px solid #3d4a40;border-radius:5px;box-shadow:0 16px 80px #0008;width:auto;max-width:100%}#game{width:100%;height:100%;display:block;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 50px #0005;z-index:1}.screen{position:absolute;inset:0;z-index:5}.warning-screen{display:flex;flex-direction:column;justify-content:center;padding:9%;background:#d6ff62;color:#142016}.warning-screen h1{font-size:clamp(54px,10svh,95px);font-weight:700;letter-spacing:-2px;line-height:.9;margin:25px 0 10px}.warning-screen h1 span{color:#416137}.warning-screen p{font-size:15px;letter-spacing:.4px;margin:18px 0 34px}.warning-symbol{border:2px solid #152017;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;font-size:27px;font-weight:600}.warning-stripe{height:12px;background:repeating-linear-gradient(130deg,#17251a 0 12px,transparent 12px 25px);width:100%;margin:8px 0}.warning-screen>.warning-stripe:first-child{position:absolute;top:7%;left:9%;width:82%}.warning-screen>.warning-stripe:last-child{margin-top:34px}.primary-button{width:100%;min-height:56px;background:var(--lime);color:#172016;border:0;border-radius:2px;display:flex;align-items:center;justify-content:space-between;padding:13px 22px;font-weight:700;font-size:22px;letter-spacing:.7px;transition:background .15s,transform .15s}.primary-button:hover{background:#e4ff9a}.primary-button:active{transform:translateY(2px)}.primary-button>span{font:30px/1 'DIN Pro';transition:transform .15s}.primary-button:hover>span{transform:translate(2px,-2px)}.warning-screen .primary-button{background:#17251a;color:var(--lime)}.text-button{border:0;background:none;color:#bdc9ba;letter-spacing:1.8px;font-weight:600;font-size:13px;padding:18px}.start-screen{display:flex;flex-direction:column;justify-content:space-between;padding:9%;background:linear-gradient(#0e171ecc 0,transparent 47%,#0c141ed4 71%,#0e171ef5)}.game-heading{padding-top:4%;position:relative}.game-heading h1{font-weight:700;letter-spacing:-2.8px;font-size:clamp(60px,10.5svh,99px);line-height:.83;margin:0;color:#f2f4e9;text-shadow:0 4px 40px #071016}.game-heading em{font-style:normal;color:var(--lime)}.menu-bottom{display:flex;flex-direction:column;align-items:center}.best-line{display:flex;justify-content:space-between;align-items:baseline;width:100%;padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid #7385754d}.best-line span{font-size:11px;letter-spacing:2px;color:#a8b7a6}.best-line strong{font-weight:600;font-size:27px;letter-spacing:2px;font-variant-numeric:tabular-nums}.hud{position:absolute;inset:0 0 auto;z-index:3;padding:6% 7%;background:linear-gradient(#123c724d,#123c720a,transparent);pointer-events:none}.hud-top{display:flex;justify-content:space-between;align-items:flex-start}.eyebrow{font-size:11px;letter-spacing:2px;color:#bbc5bc;display:block;font-weight:600}.hud-top strong{font-weight:600;font-variant-numeric:tabular-nums;font-size:37px;letter-spacing:1px;line-height:1.1;display:block;text-shadow:0 2px 8px #000}.meter-box{margin-top:14px;background:#111b26d9;border:1px solid #53617678;padding:9px 11px 10px;border-radius:3px}.meter-track{position:relative;height:6px;background:#354039;border-radius:1px}.meter-track>div{height:100%;background:var(--lime);transition:width .08s linear,background .15s;width:0;border-radius:1px}.meter-track>i{position:absolute;left:62.5%;top:-2px;width:2px;height:10px;background:#f6f4e1;opacity:.8}.meter-box.danger{border-color:#ff665b}.meter-box.danger .meter-track>div{background:var(--red)}.checkpoint-alert{background:#d6ff62ee;color:#132015;margin:12px auto 0;padding:8px 10px;text-align:center;max-width:260px;box-shadow:0 4px 24px #0005;border-radius:2px}.checkpoint-alert>span{display:block;letter-spacing:2px;font-weight:700;font-size:12px}.checkpoint-alert>strong{display:block;font-size:18px;line-height:1.1;margin-top:2px}.checkpoint-alert.danger{background:#ff654ef5;color:#1c0c0b}.feedback{opacity:0;position:absolute;left:0;right:0;top:39%;z-index:4;text-align:center;color:var(--lime);font-size:23px;font-weight:700;letter-spacing:1px;text-shadow:0 3px 6px #000;pointer-events:none}.feedback small{display:block;font-weight:400;font-size:15px;margin-top:3px;color:white}.feedback-pop{animation:feedback-pop 1.4s ease-out both}@keyframes feedback-pop{0%{opacity:0;transform:translateY(12px) scale(.92)}12%,68%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-20px)}}.dialog-screen{display:grid;place-items:center;padding:8%;background:#081217d9;backdrop-filter:blur(5px)}.dialog-card{width:100%;text-align:center}.dialog-card h2{font-size:clamp(54px,9svh,84px);letter-spacing:-1px;line-height:.9;margin:14px 0 29px;font-weight:700}.dialog-card h2 span{color:var(--lime)}.dialog-card .eyebrow{color:var(--lime)}.end-screen .eyebrow{color:var(--red)}.end-score{padding-bottom:24px;border-bottom:1px solid #728b763d}.end-score>span{display:block;font-size:11px;letter-spacing:2px;color:#acb9ad}.end-score>strong{display:block;font-size:72px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}.end-stats{display:grid;grid-template-columns:1fr;margin:18px 0 26px}.end-stats strong{display:block;font-size:27px;font-weight:600}.end-stats span{display:block;font-size:10px;letter-spacing:1.3px;color:#a0b09f;margin-top:3px}.new-best{margin:-8px 0 22px;font-size:12px;color:var(--lime);letter-spacing:2px}.help-card{text-align:left}.help-card h2{font-size:54px;margin-bottom:16px}.help-card>p{font-size:16px;line-height:1.35;color:#c5d0c2;margin:12px 0}.help-card .controls-copy{font-size:14px;line-height:1.6}.pickup-guide{display:grid;grid-template-columns:1fr 1fr;gap:8px 13px;border-block:1px solid #5367486b;padding:14px 0;margin:16px 0}.pickup-guide>div{display:flex;align-items:center;gap:9px;font-size:15px}.pickup-guide canvas{width:32px;height:32px;flex:none}.pickup-guide small{display:block;color:#96a58d;font-size:11px;letter-spacing:.5px}.desktop-note{position:absolute;left:calc(50% + 315px);bottom:15%;color:#6e8274}.desktop-note .note-line{display:block;width:34px;height:2px;background:#53694e}.desktop-note p{font-size:45px;line-height:.94;font-weight:700;letter-spacing:-.5px;margin:18px 0 27px}.key-guide{display:flex;gap:6px;margin:9px 0;align-items:center}.key-guide kbd{border:1px solid #39483c;border-bottom-width:2px;padding:5px 9px;font:12px 'DIN Pro';border-radius:3px}.key-guide span{font-size:10px;letter-spacing:2px;margin-left:7px}footer{display:flex;justify-content:space-between;flex-shrink:0;max-width:1440px;width:100%;margin:0 auto;padding:15px 56px;font-size:10px;letter-spacing:2px;color:#738276}
@media(max-width:1040px){.desktop-note{display:none}}
@media(max-width:600px){.site-header{height:48px;padding:0 17px;gap:10px}.wordmark{font-size:27px}.wordmark span{font-size:22px;transform:translateY(-5px)}.site-title{font-size:10px;letter-spacing:2.4px}.site-header>.icon-button{width:29px;height:29px;font-size:19px}main{padding:0 8px}.game-shell{height:calc(100svh - 82px);min-height:0;max-height:none;border-radius:3px;width:min(100%,calc((100svh - 82px)*.6))}footer{padding:10px 17px;font-size:9px;letter-spacing:1.3px}.warning-screen h1{font-size:clamp(41px,9.5svh,85px)}.primary-button{min-height:48px;padding:10px 17px;font-size:20px}.help-card h2{font-size:clamp(36px,7svh,54px);margin-bottom:10px}.help-card>p{font-size:14px;margin:8px 0}.pickup-guide{padding:9px 0;margin:9px 0;gap:4px 10px}.pickup-guide>div{font-size:13px}.help-card .controls-copy{font-size:12px}.hud-top strong{font-size:32px}.game-heading h1{font-size:clamp(48px,10.5svh,84px)}}
@media(max-height:620px){.warning-screen h1{font-size:9svh}.warning-screen p{margin:11px 0 18px}.warning-screen>.warning-stripe:last-child{margin-top:18px}.warning-symbol{width:27px;height:27px;font-size:20px}.game-heading h1{font-size:10svh}.text-button{padding:12px}.dialog-card h2{margin:10px 0 16px}.end-score{padding-bottom:12px}.end-score>strong{font-size:52px}.end-stats{margin:12px 0 18px}.help-card h2{font-size:35px}.help-card>p{font-size:12px}.pickup-guide canvas{width:25px;height:25px}.help-card .controls-copy{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}.feedback-pop{animation-duration:.01ms}}

.world-3d{position:absolute;inset:0;width:100%;height:100%;z-index:0}.input-canvas{position:relative;opacity:0}


.boost-status{margin-top:10px;text-align:center;border:1px solid #a9f3ff;background:#163145df;border-radius:3px;padding:7px;color:#d9fbff;font-size:18px;font-weight:600;letter-spacing:.3px}.alcohol-warning{position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse at center,transparent 25%,rgba(221,28,16,.9) 100%)}

.pickup-effects{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
.speed-status{border-color:#ffd07b;background:#4b2c0ee8;color:#ffe2a8}

/* The site shell supplies the surrounding navigation and branding. */
.embedded-game{height:100svh;min-height:0;overflow:hidden;background:#101414;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.embedded-game :is(canvas,button){-webkit-user-drag:none}
.embedded-game :is(input,textarea,[contenteditable="true"]){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
.embedded-game>.site-header{position:absolute;z-index:10;inset:auto max(12px,calc((100% - 60svh)/2 + 12px)) max(12px,env(safe-area-inset-bottom)) auto;width:auto;height:auto;padding:0;pointer-events:none}
.embedded-game>.site-header>.wordmark,.embedded-game>.site-header>.site-title{display:none}
.embedded-game>.site-header>.icon-button{pointer-events:auto;width:31px;height:31px;font-size:18px}
.embedded-game>main{height:100%;width:100%;padding:0;min-height:0}
.embedded-game .game-shell{height:100svh;min-height:0;max-height:none;width:min(100%,60svh);border:0;border-radius:0;box-shadow:none}
.embedded-game .desktop-note,.embedded-game>footer{display:none}

.meter-box{--thermometer-liquid:#c6ff54;position:relative;display:flex;align-items:center;gap:0;margin-top:15px;padding:11px 13px 11px 9px;border:1px solid #8295a9;background:#081726ed;border-radius:22px;box-shadow:0 3px 15px #0006}
.thermometer-bulb{position:relative;flex:none;z-index:1;width:30px;height:30px;border:4px solid #e4edf3;border-radius:50%;background:var(--thermometer-liquid);box-shadow:0 0 12px color-mix(in srgb,var(--thermometer-liquid),transparent 45%)}
.meter-box .meter-track{flex:1;height:21px;margin-left:-4px;border:3px solid #e4edf3;border-left:0;border-radius:0 13px 13px 0;background:#314254;overflow:visible}
.meter-box .meter-track>div{position:relative;min-width:0;border-radius:0 9px 9px 0;background:transparent;overflow:hidden;transition:width .08s linear}
#meter-liquid{display:block;width:100%;height:100%}
.thermometer-bulb::after{content:'';position:absolute;inset:3px 8px 9px 3px;border-radius:50%;background:#ffffff70}
.meter-box .meter-track::after{content:'';position:absolute;inset:0;border-radius:0 9px 9px 0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),#10233680 calc(10% - 1px),#10233680 10%);pointer-events:none}
.meter-box .meter-track>i{z-index:1;left:62.5%;top:-9px;width:4px;height:33px;background:#fff;opacity:1;box-shadow:0 0 0 1px #122337}
.meter-box .meter-track>i::before{content:'';position:absolute;left:-3px;top:-2px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #fff}
.meter-box.near-limit{--thermometer-liquid:#ffc64d;border-color:#ffc64d}
.meter-box.danger{--thermometer-liquid:#ff4e43;border-color:#ff4e43}
.meter-box.danger .meter-track>div{background:transparent}


.boost-outline{
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  border:7px solid #81f3ff;
  border-radius:inherit;
  box-shadow:inset 0 0 10px #fff9,inset 0 0 32px #40dcffb3,inset 0 0 65px #986dff70;
  animation:boost-border-glow 1.2s ease-in-out infinite alternate;
}
@keyframes boost-border-glow{
  from{border-color:#81f3ff;box-shadow:inset 0 0 10px #fff9,inset 0 0 32px #40dcffb3,inset 0 0 65px #986dff70}
  to{border-color:#c6b1ff;box-shadow:inset 0 0 15px #fffc,inset 0 0 42px #8b72ffc9,inset 0 0 75px #40dcff70}
}
@media(prefers-reduced-motion:reduce){.boost-outline{animation:none}}
.boost-outline.triple-boost{animation-name:triple-border-glow;border-color:#e6a0ff}
@keyframes triple-border-glow{
  from{border-color:#e6a0ff;box-shadow:inset 0 0 12px #fffc,inset 0 0 38px #bd68ffce,inset 0 0 75px #ff87c980}
  to{border-color:#ffcb82;box-shadow:inset 0 0 18px #fff,inset 0 0 48px #ff99ccce,inset 0 0 85px #b87fff80}
}
@media(prefers-reduced-motion:reduce){.boost-outline,.boost-outline.triple-boost{animation:none}}
.hud-donuts{display:block;margin-top:3px;font-size:17px;font-weight:600;color:#b9f5ae;letter-spacing:.6px}
.end-stats{grid-template-columns:1fr 1fr}
.bribe-button{margin-bottom:12px;background:#87e9d0;font-size:clamp(16px,2.8svh,22px);justify-content:center}
button:disabled{cursor:default;opacity:.55}

.start-screen{
  padding:clamp(22px,8%,42px);
  background:linear-gradient(163deg,#0b1426ed 4%,#12233b64 35%,transparent 56%),
             linear-gradient(0deg,#0b1425 2%,#0b1425f0 18%,transparent 57%);
}
.start-screen .game-heading{padding-top:clamp(16px,4svh,38px)}
.start-screen .game-heading h1{
  font-family:'Due Date','DIN Pro',sans-serif;font-weight:400;
  font-size:clamp(34px,min(8.9svh,14svw),86px);font-style:normal;letter-spacing:-.02em;
  text-shadow:0 3px #0b162c,0 8px 24px #0a1125a8;
}
.start-screen .game-heading em{display:inline-block;margin-top:.14em;filter:drop-shadow(0 0 16px #d6ff6238)}
.start-screen .menu-bottom{
  position:relative;padding:13px 14px 0;border:1px solid #8db5b859;border-top:2px solid #d6ff62aa;
  border-radius:10px;background:linear-gradient(145deg,#283b50ed,#0f1a2af5);
  box-shadow:0 12px 28px #0007;
}
.start-screen .best-line{margin-bottom:8px;padding-bottom:7px}
.start-screen .best-line strong{font-size:clamp(20px,3.2svh,27px)}
.start-screen .primary-button{border-radius:5px;box-shadow:0 0 18px #d6ff6240}
.start-screen .text-button{padding:13px}
@media(max-height:580px){
  .start-screen .game-heading{padding-top:0}
    .start-screen .menu-bottom{padding:8px 10px 0}
  .start-screen .best-line{padding-bottom:4px;margin-bottom:5px}
  .start-screen .text-button{padding:9px}
}

.bribe-button{justify-content:space-between;gap:10px;font-size:clamp(15px,2.5svh,21px)}
.bribe-button>span{font:inherit}
.bribe-price{background:#12382f;color:#dbfff2;border-radius:4px;padding:6px 9px;white-space:nowrap}
.arrest-stamp{display:table;margin:clamp(26px,4svh,36px) auto 16px;padding:6px 12px 4px;border:3px solid #ff685d;border-radius:3px;color:#ff685d;font:700 clamp(30px,5.4svh,46px)/1 'DIN Pro',sans-serif;letter-spacing:1px;transform:rotate(-8deg);text-shadow:1px 1px #301311;box-shadow:inset 0 0 0 1px #ff685d80,0 0 0 1px #ff685d80}
.arrest-stamp.stamp-in{animation:arrested-stamp .38s cubic-bezier(.2,.85,.2,1) both}
.end-screen{padding:6% 8%}
.end-screen .end-score{padding-bottom:10px}
.end-screen .end-score>strong{font-size:52px}
.end-screen .end-stats{margin:12px 0}
.end-screen .end-stats strong{font-size:22px}
.end-screen .new-best{margin:0 0 10px}
.end-screen .primary-button{min-height:48px;padding:10px 17px;font-size:20px}
.end-screen .text-button{padding:12px}
@keyframes arrested-stamp{0%{opacity:0;transform:scale(2) rotate(-15deg)}65%{opacity:1;transform:scale(.94) rotate(-8deg)}100%{opacity:1;transform:scale(1) rotate(-8deg)}}
@media(prefers-reduced-motion:reduce){.arrest-stamp.stamp-in{animation:none}}
.feedback.pickup-points{font-size:clamp(28px,5.2svh,42px);letter-spacing:0;color:#eaffba;text-shadow:0 3px 0 #1d3525,0 0 22px #a0ff7770}

.embedded-game>.site-header{gap:8px}
.fullscreen-symbol{position:relative;display:block;width:15px;height:15px}
.fullscreen-symbol i{position:absolute;width:6px;height:6px;border:solid currentColor}
.fullscreen-symbol i:nth-child(1){left:0;top:0;border-width:2px 0 0 2px}
.fullscreen-symbol i:nth-child(2){right:0;top:0;border-width:2px 2px 0 0}
.fullscreen-symbol i:nth-child(3){left:0;bottom:0;border-width:0 0 2px 2px}
.fullscreen-symbol i:nth-child(4){right:0;bottom:0;border-width:0 2px 2px 0}
#fullscreen[aria-pressed="true"] .fullscreen-symbol{transform:scale(.8)}
html.dui-fullscreen-page{position:fixed;inset:0;width:100%;height:100%;overflow:hidden}

.menu-links{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}
.menu-links .text-button{padding:13px 8px;font-size:12px}
.leaderboard-card{display:flex;flex-direction:column;max-height:100%;text-align:left;min-height:0}
.leaderboard-heading{display:flex;align-items:flex-start;gap:10px}
.leaderboard-heading h2{font-size:clamp(28px,5svh,42px);margin:0;flex:1}
#leaderboard-close{flex:none;width:30px;height:30px;padding:0}
#leaderboard-close::before,#leaderboard-close::after{content:"";grid-area:1/1;width:14px;height:2px;background:currentColor;border-radius:1px}
#leaderboard-close::before{transform:rotate(45deg)}
#leaderboard-close::after{transform:rotate(-45deg)}
.leaderboard-day{font-size:12px;color:#adbdb7;margin:10px 0}
#leaderboard-name-form{display:flex;gap:7px;margin:4px 0 12px}
#leaderboard-name{min-width:0;flex:1;border:1px solid #64796e;background:#101e23;color:#fff;padding:9px;font:18px 'DIN Pro';border-radius:3px}
#leaderboard-save{border:0;background:var(--lime);color:#142016;font-size:15px;font-weight:700;padding:8px 12px;border-radius:3px}
#leaderboard-best{margin:0 0 10px;color:var(--lime);font-size:16px}
.leaderboard-columns,#leaderboard-rows li{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:8px;align-items:center}
.leaderboard-columns{font-size:11px;letter-spacing:1px;color:#adbdb7;padding:8px;border-bottom:1px solid #53665c}
#leaderboard-rows{overflow-y:auto;list-style:none;padding:0;margin:0;min-height:0;max-height:52svh}
#leaderboard-rows li{font-size:19px;padding:10px 8px;border-bottom:1px solid #33463b}
#leaderboard-rows li span:nth-child(2){overflow-wrap:anywhere}
#leaderboard-rows li span:last-child{text-align:right;font-variant-numeric:tabular-nums}
#leaderboard-rows .leaderboard-you{background:#243c29;color:var(--lime)}
#leaderboard-status{font-size:14px;color:#bac9c0;margin:10px 0;text-align:center}
#leaderboard-status:empty{display:none}
#leaderboard-refresh{align-self:center;padding-bottom:0}
.end-screen>.dialog-card{display:flex;flex-direction:column;height:100%;min-height:0;justify-content:flex-start}
.end-screen>.dialog-card>*{flex-shrink:0}
.end-screen .menu-links{flex-wrap:nowrap;gap:10px;margin-top:10px;width:100%}
.end-screen .menu-links .text-button{flex:1;min-height:44px;padding:10px 6px;background:#23372e;border:1px solid #708174;border-radius:4px;color:#f2f4e9;font-size:13px;letter-spacing:1px}
.end-screen .menu-links .text-button:hover{background:#314c3b;border-color:#d6ff62}
.end-screen .result-board{overflow:hidden;flex:1 1 170px;min-height:75px;max-height:190px;display:flex;flex-direction:column;text-align:left;border-top:1px solid #53665c;margin:10px 0;padding-top:8px}
.result-board h3{font-size:13px;letter-spacing:1px;margin:0 0 5px;color:#bdc9ba}
#result-rows{flex:1 1 auto;list-style:none;overflow-y:auto;min-height:0;margin:0;padding:0}
#result-rows li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;padding:5px 6px;font-size:15px;border-bottom:1px solid #33463b}
#result-rows li span:nth-child(2){overflow-wrap:anywhere}
#result-rows .leaderboard-you{background:#243c29;color:var(--lime)}
#result-status{font-size:13px;color:#bac9c0;margin:4px 0}
#result-status:empty{display:none}
@media(max-height:700px){.end-screen .arrest-stamp{font-size:30px;margin:12px auto 9px}.end-screen .end-score>strong{font-size:38px}.end-screen .end-stats{margin:7px 0}.end-screen .end-stats strong{font-size:19px}.end-screen .primary-button{min-height:40px;padding:7px 14px;font-size:18px}.end-screen .result-board{max-height:140px;margin:6px 0}.end-screen .menu-links{margin-top:6px}}

.embedded-game .hud{padding:8px 12px 0 7%}
.hud-top{display:grid;grid-template-columns:minmax(95px,30%) minmax(0,1fr);gap:12px;align-items:start;padding-right:0}
.hud-score{min-width:0;text-align:left}
.hud-best{display:flex;flex-direction:column;margin-top:6px;gap:1px;color:#e4edf3}
.hud-best>span:first-child{font-size:10px;letter-spacing:1.4px;color:#bbc5bc;font-weight:600}
#hud-best{font-size:20px;line-height:1.1;font-weight:600;font-variant-numeric:tabular-nums;text-shadow:0 2px 8px #000}
.hud-score strong{font-size:clamp(20px,6vw,34px);letter-spacing:.3px}
.hud-top .meter-box{min-width:0;margin-top:17px;padding:8px 9px 8px 6px;border-radius:28px}
.hud-top .thermometer-bulb{width:38px;height:38px;border-width:3px}
.hud-top .meter-track{height:30px}
.hud-top .meter-track>i{height:40px;top:-8px}
.hud .feedback{position:relative;inset:auto;margin-top:12px}

.embedded-game :is(.start-screen,.dialog-screen){padding-bottom:max(56px,calc(env(safe-area-inset-bottom) + 43px),8%)}

#start .steering-wheel{position:relative;display:block;width:28px;height:28px;flex:none;border:3px solid currentColor;border-radius:50%;background:linear-gradient(currentColor,currentColor) center 45%/100% 3px no-repeat,linear-gradient(currentColor,currentColor) center bottom/3px 52% no-repeat;transform:none}
#start .steering-wheel::after{content:'';position:absolute;left:50%;top:45%;width:8px;height:8px;border-radius:50%;background:currentColor;transform:translate(-50%,-50%)}
.officer-speech{position:absolute;z-index:4;width:54%;padding:10px 12px;border:2px solid #223442;border-radius:14px;background:#fff9e9;color:#172631;transform:translate(-50%,-100%);text-align:center;font-size:clamp(13px,3.4vw,17px);font-weight:600;line-height:1.25;box-shadow:0 3px 10px #0005;pointer-events:none}
.officer-speech::before,.officer-speech::after{content:'';position:absolute;left:var(--speech-tail,50%);top:100%;transform:translateX(-50%);border:10px solid transparent;border-bottom:0;border-top-color:#223442}
.officer-speech::after{margin-top:-2px;border-width:8px;border-bottom:0;border-top-color:#fff9e9}
.speech-size{visibility:hidden}
.speech-words{position:absolute;inset:10px 12px}
