body[data-screen=garage] #grade{
  background:linear-gradient(180deg,#0d1113a8,transparent 26%,transparent 67%,#090d11d9),linear-gradient(110deg,#10100f32,transparent 50%);
}
#garage .garage-head{inset:clamp(15px,3.8vh,38px) clamp(18px,3.3vw,58px) auto;gap:12px}
#garage .bay-location{display:inline-flex;align-items:center;gap:.45em;max-width:100%;min-height:26px;padding:0;border:0;background:transparent;pointer-events:auto;font:400 1.15rem/1 VT323,monospace;text-transform:uppercase;letter-spacing:.13em;color:#f7d46c;margin:0 0 .28rem}
#garage .bay-id{min-width:0}
#workshop-sign-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#workshop-sign-editor{width:min(380px,92vw);max-height:90dvh;padding:0;border:2px solid #d6bd89;border-radius:4px;background:#1f433d;color:#faf0d3;text-shadow:none;color-scheme:dark;box-shadow:0 15px 50px #090e0bc9}
#workshop-sign-editor::backdrop{background:#0b100eb3}
#workshop-sign-editor form{padding:clamp(16px,4vw,25px);display:grid;gap:8px}
#workshop-sign-editor h2{margin:0 0 9px;font:400 2.15rem/1 VT323,monospace}
#workshop-sign-editor label{font:400 1.16rem/1.1 VT323,monospace;color:#e3cf9d}
#workshop-name{width:100%;padding:8px 10px;border:1px solid #c5b48c;background:#f4ecd8;color:#233c34;font:500 1.05rem/1.4 system-ui,sans-serif;user-select:text}
#workshop-sign-editor footer{margin-top:8px;display:flex;justify-content:flex-end;gap:8px}
#workshop-sign-editor button{min-height:38px;padding:4px 12px;border:1px solid #93a295;background:transparent;color:inherit;font:400 1.25rem/1 VT323,monospace}
#workshop-sign-editor button[type=submit]{background:#e8c77d;border-color:#e8c77d;color:#28392e}
#workshop-sign-editor :is(input,button):focus-visible{outline:2px solid #fff4d3;outline-offset:3px}
#garage .garage-head h2{font:400 clamp(2rem,4.3vw,4.6rem)/.95 VT323,monospace;letter-spacing:-.015em;color:#fff8e9}
#garage .garage-head p:not(.bay-location){color:#f5eee2;margin:.3rem 0 0}
#garage .garage-head .quiet{font-size:1.15rem;color:#fff6dd}
#garage .board-access{position:absolute;bottom:max(31px,5.4vh);left:clamp(18px,3.3vw,58px);display:grid;justify-items:start;gap:5px}
.bay-services{display:flex;flex-wrap:wrap;gap:8px}
.bay-services button{font:400 clamp(1.25rem,2.3vw,1.85rem)/1 VT323,monospace;letter-spacing:.03em;color:#221f18;text-transform:uppercase;padding:12px 17px;background:#f0ce72;border:1px solid #ffe4a3;border-radius:2px;box-shadow:2px 3px 0 #4f4028;text-shadow:none}
#open-paint,#wash-car{background:#d8e3d8;border-color:#f0f3dc;box-shadow:2px 3px 0 #344a49}
#wash-car:disabled{color:#46524e;background:#bac5bc;box-shadow:none;cursor:default}
#garage .bay-services button:enabled:is(:hover,:focus-visible){color:#17130c;background:#fff2ca;outline:2px solid white;outline-offset:3px;text-decoration:none}
.bay-readouts{display:flex;flex-wrap:wrap;gap:5px}
.bay-wallet{padding:.22rem .45rem;background:#171a18cb;color:#e8e1d5;font:400 1.12rem/1 VT323,monospace}
.bay-wallet output{margin-left:.25rem;color:#ffda80}
#garage .garage-controls{left:auto;right:clamp(18px,3.3vw,58px);bottom:max(24px,4vh);justify-content:flex-end;gap:.7rem;color:#f7efe0}
#garage .garage-controls .quiet{font-size:1.15rem}
#garage .garage-controls p{text-align:right;color:#e6dfcf}
#garage #lamp-test[aria-pressed=true]{color:#ffe4a1;text-decoration:underline}
#parts-board{box-sizing:border-box;max-height:91dvh;width:min(735px,94vw);overflow:auto;overscroll-behavior:contain;color:#27241f;border:7px solid #453a30;border-radius:4px;padding:0;box-shadow:inset 0 0 0 2px #8e6646,0 22px 90px #0009;color-scheme:light;
  background-color:#a27550;background-image:repeating-linear-gradient(27deg,#543e2b24 0 1px,transparent 1px 6px),repeating-linear-gradient(108deg,#e1bb9128 0 1px,transparent 1px 5px)}
#parts-board::backdrop{background:rgba(10,16,19,.56)}
.board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px clamp(16px,3vw,32px);background:#263e44;color:#fffaeb;border-bottom:4px solid #34494a}
.board-head p{margin:0 0 2px;font:400 1.1rem/1.1 VT323,monospace;text-transform:uppercase;letter-spacing:.12em;color:#e3c786}
.board-head h2{font:400 clamp(2.1rem,4.5vw,3.3rem)/.92 VT323,monospace;letter-spacing:-.02em}
.board-head button{color:#fff3d8;border:1px solid #a8b6ac88;background:transparent;border-radius:2px;padding:8px 12px;font:400 1.25rem/1 VT323,monospace}
.board-head kbd{color:inherit;font:inherit;font-size:.85em;margin-left:3px}
.board-strip,.board-foot{color:#29271e;background:#e1d8c1;font:400 1.12rem/1.17 VT323,monospace}
.board-strip{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #9b876b;padding:9px clamp(16px,3vw,32px)}
.board-strip span{text-transform:uppercase;letter-spacing:.06em}
.board-strip small{display:inline-block;color:#52564e;font:500 .74rem/1.2 system-ui,sans-serif}
.board-strip p{margin:3px 0 0;color:#214847}
.board-funds{display:grid;justify-items:end;white-space:nowrap}
.board-strip output{font-size:1.35rem;color:#154347}
#board-filters{display:flex;flex-wrap:wrap;gap:4px;padding:8px clamp(13px,2.8vw,27px);background:#d2c6a9;border-bottom:1px solid #89785e}
#board-filters button{padding:5px 10px;color:#38413a;background:transparent;border:1px solid #978f77;border-radius:2px;font:400 1.17rem/1 VT323,monospace}
#board-filters button[aria-pressed=true]{background:#2c504c;color:#fff5d9;border-color:#2c504c}
#board-filters button:last-child{margin-left:auto}
#board-empty{background:#f3edda;color:#40473f;margin:16px 20px;padding:16px;font:400 1rem/1.35 system-ui,sans-serif}
#part-notices{list-style:none;margin:0;padding:18px clamp(13px,2.8vw,27px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#part-notices li{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;background:#f3edda;color:#2e322f;padding:17px 15px 11px;border:1px solid #c7ba9e;box-shadow:1px 3px 4px #31231588;transform:rotate(-.6deg)}
#part-notices li:nth-child(2){background-color:#e6ebe0;transform:rotate(.55deg)}
#part-notices li:nth-child(3){background-color:#e2e8e7;transform:rotate(.35deg)}
#part-notices li:nth-child(4){background-color:#f2e5c6;transform:rotate(-.45deg)}
#part-notices li::before{content:"";position:absolute;top:4px;left:48%;width:7px;height:7px;background:radial-gradient(at 38% 29%,#c6d5c4,#516964 48%,#344641 80%);border-radius:50%;box-shadow:1px 2px 2px #382d2699}
#part-notices canvas{position:absolute;top:12px;right:10px;width:65px;height:38px;opacity:.87}
#part-notices small{display:block;min-height:25px;margin:4px 65px 6px 0;font:500 .81rem/1.2 ui-monospace,monospace;letter-spacing:.07em;text-transform:uppercase;color:#4d5954}
#part-notices h3{margin:4px 0 5px;font:400 clamp(1.48rem,2.6vw,1.85rem)/.95 VT323,monospace;letter-spacing:-.02em}
#part-notices p{margin:0 0 10px;font:400 .98rem/1.32 system-ui,sans-serif}
#part-notices li[hidden],#part-notices[hidden]{display:none}
#part-notices .fit-note{color:#59472d;font:600 .79rem/1.3 system-ui,sans-serif}
#part-notices .road-test{color:#32535a;font:600 .79rem/1.3 ui-monospace,monospace}
#part-notices li[data-state=fitted] .notice-deal b{color:#28603b}
.notice-deal{margin-top:auto;padding-top:7px;border-top:1px dashed #909286;display:flex;justify-content:space-between;align-items:center;gap:4px}
.notice-deal b{font:400 1.45rem/1 VT323,monospace;color:#215260}
.notice-deal button{padding:5px 8px;min-height:34px;background:#2c504c;color:#fff8dd;border:1px solid #25443e;border-radius:1px;font:400 1.11rem/1 VT323,monospace}
.notice-deal button:disabled{background:transparent;color:#555b53;border-color:#a6a99e;cursor:default}
#parts-board button:focus-visible{outline:3px solid #e2a12e;outline-offset:2px}
@media(max-width:450px){#board-filters{gap:3px;padding:7px 9px}#board-filters button{flex:1;padding:6px 3px;font-size:1.02rem}#board-filters button:last-child{margin-left:0}.board-strip small{display:block}.board-strip p{font-size:1.04rem}}
.board-foot{margin:0;padding:8px clamp(16px,3vw,32px);border-top:1px solid #ac9677}
@media(max-width:760px){#garage .garage-tools{position:absolute;left:18px;right:18px;bottom:max(12px,env(safe-area-inset-bottom));display:grid;justify-items:start;align-content:end;gap:10px;pointer-events:none}#garage .garage-tools .board-access,#garage .garage-tools .garage-controls{position:static}#garage .board-access,#garage .garage-controls button{pointer-events:auto}#garage .garage-controls{left:18px;justify-content:flex-start;gap:.55rem}#garage .garage-controls p{text-align:left}#garage .garage-head p:not(.bay-location){font-size:1rem}}
@media(max-width:520px){#part-notices{grid-template-columns:1fr;gap:12px;padding:14px}#parts-board{width:94vw;max-height:92dvh}#part-notices li{padding:12px 14px 8px}#part-notices h3{margin-right:58px}.board-head{padding:12px 14px}.board-head{position:sticky;top:0;z-index:2}.board-head button{white-space:nowrap}.board-head kbd{display:none}#garage .garage-controls .quiet{font-size:1rem;min-height:30px}#garage .garage-controls{bottom:max(10px,env(safe-area-inset-bottom))}#garage .board-access{bottom:max(76px,11vh)}}
@media(max-height:460px) and (min-width:521px){#garage .board-access{bottom:18px}#garage .garage-controls{left:auto;bottom:12px;gap:.35rem}#garage .garage-controls p{display:none}}

@media(max-height:460px) and (min-width:521px) and (max-width:760px){#garage .garage-tools{display:flex;justify-content:space-between;align-items:flex-end;gap:10px}#garage .garage-controls{justify-content:flex-end;max-width:62%}}

#paint-shop{
  position:absolute;left:clamp(16px,3.3vw,58px);bottom:max(15px,3.5vh,env(safe-area-inset-bottom));
  width:min(640px,calc(100% - 32px));overflow:auto;max-height:78dvh;
  color:#293633;background:#ede9d9;text-shadow:none;color-scheme:light;
  border:1px solid #364844;border-radius:3px;box-shadow:2px 4px 0 #19252299,0 8px 22px #10171555;
}
.paint-head,.paint-order{display:flex;align-items:center;gap:12px;padding:6px 14px}
.paint-head{background:#2e4947;color:#fff6db}
.paint-head h2{margin:0 auto 0 0;font:400 1.8rem/1 VT323,monospace;letter-spacing:.01em}
.paint-head span{font-size:1.12rem;color:#d9e1d5}
.paint-head output{color:#ffe19a}
#close-paint{width:32px;height:32px;border:0;background:transparent;color:inherit;font:400 1.7rem/1 system-ui}
.paint-options{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 16px;padding:10px 14px}
.paint-options h3{margin:0 0 6px;color:#515c59;font:400 1rem/1 VT323,monospace;text-transform:uppercase;letter-spacing:.09em}
#paint-swatches,#paint-finishes{display:flex;gap:4px}
#paint-swatches button{
  position:relative;width:32px;height:36px;padding:0;border:1px solid #4f554e;background:var(--swatch);
  box-shadow:inset 0 -4px #0002,inset 0 1px #fff4;
}
#paint-swatches button[aria-pressed=true]::after{
  content:'✓';position:absolute;right:1px;bottom:1px;width:15px;height:15px;
  color:white;background:#202d29;font:700 12px/15px system-ui;
}
#paint-finishes button{
  min-width:78px;padding:3px 6px;background:transparent;color:#354742;
  border:1px solid #8d988b;font:400 1.15rem/1 VT323,monospace;
}
#paint-finishes button[aria-pressed=true]{background:#37554e;color:#fff5da;border-color:#37554e}
#paint-finishes small{display:block;font:400 .9rem/1 VT323,monospace}
.paint-order{justify-content:space-between;border-top:1px dashed #a5a596}
.paint-order p{margin:0;font-size:1.1rem}
#buy-paint{min-height:36px;flex:none;white-space:nowrap;padding:4px 12px;font:400 1.2rem/1 VT323,monospace;color:#272b21;background:#f0ce72;border:1px solid #927b42}
#buy-paint:disabled{cursor:default;background:#e0decd;color:#565d52;border-color:#c0c1af}
#garage #paint-shop button:enabled:is(:hover,:focus-visible){text-decoration:none;outline:2px solid #965b19;outline-offset:1px}
#garage #paint-finishes button{color:#354742}
#garage #paint-finishes button[aria-pressed=true]{color:#fff5da}
@media(max-width:1100px) and (min-width:761px){.bay-services{max-width:45vw}.bay-services button{padding:8px 12px}}
@media(max-width:570px){
  .paint-options{flex-wrap:wrap;gap:10px}.paint-options>div:first-child{width:100%}
  #paint-swatches button{max-width:40px;flex:1;min-width:0}
  #paint-finishes button{min-width:88px}
  .bay-services button{padding:9px 12px}
}
@media(max-height:460px) and (min-width:571px){
  #paint-shop{bottom:8px;left:auto;right:12px;width:235px;max-height:84dvh}
  .paint-options{display:grid;gap:8px;padding:7px 10px}
  #paint-swatches{display:grid;grid-template-columns:repeat(4,1fr)}
  #paint-swatches button{width:100%;height:25px}
  #paint-finishes button{flex:1}
  .paint-head,.paint-order{padding:4px 9px;gap:4px}
  .paint-head{display:grid;grid-template-columns:1fr auto;gap:1px}
  .paint-head span{grid-row:2;white-space:nowrap}
  #close-paint{grid-column:2;grid-row:1/3}
  .paint-order{flex-wrap:wrap}.paint-order p{width:100%}
  .bay-services button{padding:7px 10px}
}

#open-decor{background:#d8e3d8;border-color:#f0f3dc;box-shadow:2px 3px 0 #344a49}
#garage-arcade{margin-left:7px}
@media(min-width:761px) and (max-width:1070px){#garage .board-access{max-width:49vw}}

#decor-shop{
  --beside:1;position:absolute;right:clamp(12px,3vw,48px);top:50%;transform:translateY(-50%);
  box-sizing:border-box;width:min(385px,41vw);max-height:calc(100dvh - 28px);overflow:auto;
  color:#e7e8d4;background:#203b3d;border:1px solid #70928b;border-radius:4px;
  box-shadow:0 12px 40px #090f14a8;text-shadow:none;color-scheme:dark;font:400 1.15rem/1.1 VT323,monospace;
}
#garage:has(#decor-shop:not([hidden])) .bay-id{visibility:hidden}
#decor-shop header{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  border-bottom:1px solid #647c72;padding:11px 15px;
}
#decor-shop h2{margin:0;color:#ffdf91;font:400 clamp(1.7rem,3vw,2.4rem)/.95 VT323,monospace}
#decor-shop button{
  padding:6px 10px;min-height:34px;border:1px solid #718a81;border-radius:2px;color:#f6efd9;
  background:#243c3c;font:inherit;white-space:nowrap;cursor:pointer;
}
#decor-shop :is(button,select):focus-visible{
  outline:2px solid #ffdf91;outline-offset:2px;
}
#decor-shop button:enabled:hover{border-color:#ffdf91}
#decor-shop button:disabled{opacity:.55;cursor:default}
.decor-ledger,.decor-order{
  display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 15px;
}
.decor-ledger{color:#bbcec1;border-bottom:1px solid #526b64}
#decor-wallet{color:#ffdc86}
#decor-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:10px 15px}
#decor-list button{white-space:normal;text-align:left;line-height:.96;background:#2c4748;min-height:34px}
#decor-list button:is([data-state=displayed],[data-state=stored]){border-left:3px solid #b1cba5;padding-left:8px}
#decor-list button[aria-pressed=true]{color:#1d3232;background:#d9e3ce;border-color:#e4eedc}
.decor-details{padding:9px 15px;background:#1a3032;border-block:1px solid #435c56}
.decor-details h3{margin:0;color:#fff4cf;font:400 1.56rem/1 VT323,monospace}
#decor-description{margin:5px 0 0;color:#d4ded2;font:400 .85rem/1.25 system-ui,sans-serif}
.decor-placement{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin-top:8px;color:#f4cd79}
#decor-place{width:100%;min-height:34px;padding:4px 6px;border:1px solid #718a81;border-radius:2px;color:#f6efd9;background:#243c3c;font:inherit}
.decor-order{flex-wrap:wrap}
#decor-status{flex:1;color:#c5d5c7}
#buy-decor,#start-arcade{background:#efce83!important;color:#292d24!important;border-color:#efce83!important}
@media(max-width:680px) and (orientation:portrait){
  #decor-shop{--beside:0;inset:auto 10px max(10px,env(safe-area-inset-bottom));width:auto;transform:none;max-height:55dvh}
  #decor-shop header,.decor-ledger,.decor-order{padding:7px 10px}
  #decor-list{display:flex;overflow:auto;scrollbar-width:thin;padding:7px 10px}
  #decor-list button{flex:none;padding-inline:8px}
  .decor-details{padding:7px 10px}
}
@media(max-height:520px) and (orientation:landscape){
  #decor-shop header,.decor-ledger,.decor-order{padding:5px 9px}
  #decor-list{padding:6px 9px;gap:3px}
  #decor-list button{min-height:25px;padding-block:2px}
  .decor-details{padding:5px 9px}
}

#garage-arcade-game{
  position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;
  margin:0;padding:clamp(6px,1.8vmin,18px);overflow:auto;border:0;background:#05090c;color:#f7ecd0;
  text-shadow:none;font:400 clamp(1.1rem,3.2vmin,1.55rem)/1 VT323,monospace;color-scheme:dark;
}
#garage-arcade-game[open]{display:grid;place-items:center}
#garage-arcade-game::backdrop{background:#05090c}
.arcade-crt{
  box-sizing:border-box;width:min(100%,1120px,max(224px,calc((100dvh - clamp(26px,6vmin,58px))*1.2)));
  position:relative;isolation:isolate;overflow:hidden;border:1px solid #56747a;
  border-radius:8%/11%;background:#11232c;
  box-shadow:0 0 0 3px #1a282c,0 0 0 8px #0e171c,0 0 42px #294f5340;
}
.arcade-crt::before,.arcade-crt::after{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
}
.arcade-crt::after{
  --scanline:#020b2038;
  --red-slot:#ff361310;
  --green-slot:#65ff6415;
  --blue-slot:#777eff13;
  z-index:3;
  background:radial-gradient(ellipse 75% 30% at 50% -12%,#b5dfec32,transparent),
    radial-gradient(ellipse at 50% 46%,transparent 52%,#050a16bd 100%),
    repeating-linear-gradient(0deg,var(--scanline) 0 1px,transparent 1px 4px),
    repeating-linear-gradient(90deg,var(--red-slot) 0 1px,var(--green-slot) 1px 2px,var(--blue-slot) 2px 3px);
  box-shadow:inset 0 2px 2px #c5e1e04d,inset 0 0 23px #060e19a8;
}
.arcade-crt:has(#arcade-phosphor:not([hidden])):has(#arcade-intro[hidden])::after{
  --scanline:transparent;
  --red-slot:transparent;
  --green-slot:transparent;
  --blue-slot:transparent;
}
.arcade-crt::before{z-index:4;background:#03070b;opacity:0}
@media(prefers-reduced-motion:no-preference){
  #garage-arcade-game[open] .arcade-crt::before{animation:arcade-crt-flicker 6.4s linear infinite}
}
@keyframes arcade-crt-flicker{
  0%,14%,20%,44%,51%,75%,81%,100%{opacity:0}
  16%,48%,77%{opacity:.038}
  18%,50%,79%{opacity:.012}
}
#arcade-road{display:block;width:100%;height:auto;image-rendering:pixelated;touch-action:none;cursor:crosshair}
#arcade-phosphor{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#garage-arcade-game button{
  padding:0 .4em;min-height:32px;border:0;background:none;color:inherit;
  font:inherit;white-space:nowrap;touch-action:manipulation;
}
#garage-arcade-game button:focus-visible{outline:none;text-decoration:underline;text-underline-offset:.2em}
#garage-arcade-game button:disabled{opacity:.52}
#arcade-intro{
  position:absolute;inset:0;display:grid;align-content:safe center;justify-items:center;gap:clamp(3px,1.05vmin,11px);
  padding:clamp(12px,4vmin,38px) max(16px,9%);overflow:auto;scrollbar-width:thin;
  text-align:center;background:radial-gradient(ellipse at 50% 42%,#162d39eb,#0c1a25f5 80%);
  color:#d5e5d6;font-size:clamp(1rem,3.3vmin,1.55rem);
}
#arcade-title{
  margin:0;color:#ffdf91;text-transform:uppercase;font:400 clamp(1.9rem,8vmin,4.7rem)/.87 VT323,monospace;
  text-shadow:0 0 15px #e6a65055;
}
#arcade-screen-title{margin:0;color:#a5c9c4;font:inherit;letter-spacing:.1em;text-transform:uppercase}
#arcade-intro p{max-width:42ch;margin:0}
#arcade-result{color:#d8e6d9}
.arcade-menu{display:grid;justify-items:center;margin-block:clamp(1px,.9vmin,8px)}
#arcade-intro .arcade-menu button{
  position:relative;width:100%;padding-inline:1.2em;line-height:1;
  color:#bbcfc5;font-size:clamp(1.15rem,4.1vmin,1.9rem);text-transform:uppercase;
}
#arcade-intro .arcade-menu button:focus{color:#ffdf91;text-shadow:0 0 10px #e6a65066}
#arcade-intro .arcade-menu button:focus::before{content:"▸";position:absolute;left:.12em}
#arcade-intro .arcade-menu button:focus-visible{text-decoration:none}
#arcade-intro :is(#arcade-wallet-row,.arcade-menu-help,#arcade-cost-status){color:#9fc5bc;font-size:.86em}
.arcade-menu-help{display:flex;justify-content:center;flex-wrap:wrap;gap:3px 1.5em}
.arcade-menu-help span{white-space:nowrap}
#arcade-wallet{color:#dec48b}
#arcade-cost-status:empty{display:none}
.arcade-play-actions{
  position:absolute;left:59%;right:7%;bottom:2%;display:grid;grid-template-columns:1fr 1fr;
}
#garage-arcade-game .arcade-play-actions button{min-height:clamp(28px,6vmin,52px);margin:0}
#garage-arcade-game #arcade-brake{touch-action:none}
#garage-arcade-game .arcade-play-actions button:focus-visible{outline:1px solid #e6be72;outline-offset:-5px}
#garage-arcade-game .arcade-play-actions button:active{background:#e6be7225}
@media (pointer:coarse){
  #garage-arcade-game .arcade-play-actions button{min-height:44px}
}
@media(max-height:400px) and (orientation:landscape){
  #arcade-intro .arcade-menu button{min-height:28px}
}

#arcade-play-screen[inert]{visibility:hidden}
#arcade-score-screen{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;
  gap:clamp(4px,1.6vmin,15px);padding:clamp(18px,4.8vmin,44px) max(18px,8%);
  overflow:auto;scrollbar-width:thin;text-align:center;outline:none;
  background:radial-gradient(ellipse at 50% 40%,#1d3943,#0d1d28 78%);
  color:#d5e5d6;font-size:clamp(1rem,3.3vmin,1.7rem);
}
.arcade-score-heading{margin-top:auto}
#arcade-score-screen p{margin:0}
.arcade-score-heading p{color:#8fbdba;letter-spacing:.13em;text-transform:uppercase}
#garage-arcade-game #arcade-score-title{
  margin:4px 0 0;color:#ffdf91;text-transform:uppercase;
  font:400 clamp(1.75rem,6.6vmin,4.1rem)/.95 VT323,monospace;text-shadow:0 0 15px #e6a65055;
}
#arcade-score-entry,#arcade-score-board{width:min(100%,36ch)}
#arcade-score-entry{display:grid;justify-items:center;gap:clamp(4px,1.3vmin,12px)}
#arcade-score-finish{color:#d8e6d9}
#arcade-initials{min-width:0;margin:0;padding:0;border:0}
.initial-dials{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(8px,2.4vmin,22px)}
.initial-dial{display:grid;justify-items:center}
#arcade-score-screen button{
  padding:0 .4em;border:0;border-radius:0;background:none;color:inherit;
  font:inherit;cursor:inherit;touch-action:manipulation;
}
#arcade-score-screen button:focus-visible{outline:none;text-decoration:underline;text-underline-offset:.2em}
#arcade-score-screen :is(.initial-step,.initial-letter){min-width:44px}
#arcade-score-screen .initial-step{color:#95beb9;line-height:1;font-size:.95em}
#arcade-score-screen .initial-letter{
  min-width:1.14em;border-bottom:.06em solid #72a09f;padding:0;color:#d9e7da;
  font-size:clamp(2.4rem,9vmin,5.1rem);line-height:.95;
}
#arcade-score-screen .initial-dial[data-selected] button{color:#ffe29e;text-shadow:0 0 11px #e6a65077}
#arcade-score-screen .initial-dial[data-selected] .initial-letter{border-color:currentColor}
#arcade-initials-help{display:flex;justify-content:center;flex-wrap:wrap;gap:2px 1em;color:#a6c5c0;font-size:.85em}
#arcade-score-rule{color:#a6c5c0;font-size:.85em}
#arcade-score-table{width:100%;margin:0;border-collapse:collapse;font:inherit;text-align:right}
#arcade-score-table :is(th,td){padding:0 .3em;font-weight:400}
#arcade-score-table thead{color:#a6c5c0;text-transform:uppercase}
#arcade-score-table td:nth-child(3){color:#ffdc88}
#arcade-score-table tbody tr[data-your-score]{color:#ffe29e;background:#c08c472e;text-shadow:0 0 9px #e6a65066}
#arcade-score-status{color:#acd1c7;font-size:.9em}
#arcade-score-status:empty{display:none}
.arcade-score-actions{display:grid;justify-items:center;margin-bottom:auto}
#arcade-score-screen :is(#arcade-score-submit,#arcade-score-back){
  color:#ffe29e;text-shadow:0 0 10px #e6a65066;text-transform:uppercase;
}
#arcade-score-screen :is(#arcade-score-submit,#arcade-score-back)::before{content:"▸ ";color:#dfaa61}
#arcade-score-screen #arcade-score-exit{min-height:28px;color:#a3bdb9;font-size:.8em}
@media (pointer:coarse){
  #arcade-score-screen .initial-step{min-height:40px}
  #arcade-score-screen #arcade-score-exit{min-height:38px}
}
@media (max-width:460px),(max-height:420px){
  #arcade-score-screen{gap:4px;padding-block:12px}
  .arcade-score-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 6px}
}
