/* La Ruta. Sign-painted, loud, on the move. Tokens are set per truck by app.js. */
@font-face { font-family: 'Shrikhand'; src: url(../fonts/shrikhand.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Lalezar'; src: url(../fonts/lalezar.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Bowlby One'; src: url(../fonts/bowlby-one.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url(../fonts/atkinson-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url(../fonts/atkinson-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Azeret Mono'; src: url(../fonts/azeret-mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Azeret Mono'; src: url(../fonts/azeret-mono-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #FFF1DC; --surface: #FBE3C2; --ink: #241A14; --ink2: #5C4636; --line: #E3C9A4;
  --hot: #D81E5B; --hot-text: #B8184C; --cool: #0B6E6D; --sun: #F5A623; --road: #2A2420; --on-hot: #FFF7EC; --on-sun: #241A14;
  --f-display: 'Shrikhand', 'Cooper Black', serif; --f-body: 'Atkinson Hyperlegible', system-ui, sans-serif; --f-mono: 'Azeret Mono', ui-monospace, monospace;
  --d-case: none; --d-scale: 1;
  --tick-h: 40px; --lane: 170px; --gutter: clamp(18px, 3.5vw, 56px); --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--tick-h) + 24px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.55 var(--f-body); overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cool); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; z-index: 300; background: var(--ink); color: var(--bg); padding: 8px 12px; }
.skip:focus { left: 8px; top: 48px; }
.display { font-family: var(--f-display); font-weight: 400; text-transform: var(--d-case); line-height: .95; letter-spacing: -0.005em; }
.kicker { font: 700 14px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--hot-text); }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink2); max-width: 50ch; margin-top: 10px; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 700; font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 22px; border: 3px solid var(--ink); border-bottom-width: 6px; border-radius: var(--r); background: var(--bg); font-weight: 700; font-size: 17px; cursor: pointer; text-decoration: none; transition: transform .1s, border-bottom-width .1s; }
.btn:active { transform: translateY(3px); border-bottom-width: 3px; }
.btn-hot { background: var(--hot); color: var(--on-hot); }
.btn-hot:hover { background: var(--ink); color: var(--bg); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.x { width: 44px; height: 44px; border: 3px solid var(--ink); border-radius: var(--r); background: var(--bg); font-size: 22px; cursor: pointer; }

/* ============ Header ============ */
.top { position: fixed; z-index: 60; top: 0; left: 0; right: 0; pointer-events: none; }
.ticker { height: var(--tick-h); overflow: hidden; background: var(--hot); color: var(--on-hot); border-bottom: 3px solid var(--ink); pointer-events: auto; }
.ticker-track { display: flex; width: max-content; height: 100%; align-items: center; animation: tick 38s linear infinite; }
.ticker-track span { font: 700 15px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; padding: 0 28px; }
.ticker-track span::before { content: "●"; margin-right: 12px; color: var(--sun); }
@keyframes tick { to { transform: translateX(-50%); } }
.sticker { position: absolute; left: 18px; top: calc(var(--tick-h) + 10px); width: 118px; height: 118px; pointer-events: auto; text-decoration: none; display: grid; place-items: center; }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.st-bg { fill: var(--sun); stroke: var(--ink); stroke-width: 4; }
.st-ring { font: 700 17px var(--f-mono); fill: var(--on-sun); letter-spacing: 3px; }
.st-name { position: relative; font-family: var(--f-display); text-transform: var(--d-case); font-size: calc(22px * var(--d-scale)); line-height: .9; text-align: center; max-width: 76px; color: var(--on-sun); }
@keyframes spin { to { transform: rotate(360deg); } }
.stops-nav { position: absolute; right: 184px; top: calc(var(--tick-h) + 14px); display: flex; gap: 6px; pointer-events: auto; background: var(--bg); border: 3px solid var(--ink); border-radius: var(--r); padding: 4px; }
.stops-nav a { display: flex; align-items: center; gap: 6px; padding: 6px 10px; text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 9px; min-height: 40px; }
.stops-nav a b { font: 700 14px/1 var(--f-mono); width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 6px; }
.stops-nav a:hover, .stops-nav a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.skip-line { position: absolute; right: 18px; top: calc(var(--tick-h) + 14px); pointer-events: auto; min-height: 52px; padding: 0 18px; border: 3px solid var(--ink); border-bottom-width: 6px; border-radius: var(--r); background: var(--hot); color: var(--on-hot); font-weight: 700; font-size: 16px; cursor: pointer; }
.skip-line:hover { background: var(--ink); color: var(--bg); }

/* ============ Road ============ */
.road { position: absolute; z-index: 1; left: 0; top: 0; width: var(--lane); pointer-events: none; }
.road-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.asphalt { fill: none; stroke: var(--road); stroke-width: 46; stroke-linecap: round; stroke-linejoin: round; }
.lane { fill: none; stroke: var(--sun); stroke-width: 4; stroke-dasharray: 18 16; stroke-linecap: round; }
.truck { position: absolute; left: 0; top: 0; width: 96px; height: 56px; will-change: transform; }
.truck svg { width: 100%; height: 100%; overflow: visible; }
.t-body { fill: var(--hot); stroke: var(--ink); stroke-width: 3; }
.t-cab { fill: var(--bg); stroke: var(--ink); stroke-width: 3; }
.t-win { fill: var(--cool); }
.t-awn { fill: var(--sun); }
.t-hatch { fill: var(--ink); }
.t-wheel { fill: var(--ink); } .t-hub { fill: var(--bg); }
[data-road="off"] .road { display: none; }
main, .foot { position: relative; z-index: 2; padding-left: var(--lane); }
[data-road="off"] main, [data-road="off"] .foot { padding-left: 0; }

/* ============ Right now ============ */
.here { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: 100vh; padding: calc(var(--tick-h) + 140px) var(--gutter) 60px; }
.concept { font: 500 14px/1.3 var(--f-mono); color: var(--ink2); margin-bottom: 14px; }
.here-name { font-size: calc(clamp(72px, 10vw, 176px) * var(--d-scale)); color: var(--hot-text); transform: rotate(-3deg); transform-origin: left bottom; margin-bottom: 18px; }
.here-tag { font-size: clamp(20px, 1.8vw, 26px); max-width: 32ch; margin-bottom: 26px; font-weight: 700; }
.now-card { background: var(--surface); border: 3px solid var(--ink); border-radius: var(--r); padding: 20px 22px; display: grid; gap: 10px; max-width: 560px; }
.now-card .lbl { font: 700 14px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; display: flex; align-items: center; gap: 10px; }
.now-card .lbl i { width: 12px; height: 12px; border-radius: 3px; background: #1F9D55; border: 2px solid var(--ink); }
.now-card .lbl i.off { background: var(--line); }
.now-card .where { font-family: var(--f-display); text-transform: var(--d-case); font-size: calc(clamp(30px, 3vw, 44px) * var(--d-scale)); line-height: 1; }
.now-card .hood { font-weight: 700; color: var(--ink2); }
.clock { font: 700 clamp(28px, 3vw, 40px)/1 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.clock small { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-left: 8px; color: var(--ink2); }
.now-card .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.left-today { margin-top: 18px; font-weight: 700; }
.count { font: 700 28px/1 var(--f-mono); background: var(--ink); color: var(--bg); padding: 4px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.window-frame { position: relative; border: 4px solid var(--ink); border-radius: var(--r); background: var(--ink); padding: 0 0 0; transform: rotate(1.5deg); }
.awning { position: absolute; left: -4px; right: -4px; top: -34px; width: calc(100% + 8px); height: 48px; }
.awning .s1 { fill: var(--hot); stroke: var(--ink); stroke-width: 3; } .awning .s2 { fill: var(--bg); stroke: var(--ink); stroke-width: 3; }
.window-frame video { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 10px; }
.open-sign { position: absolute; right: -18px; top: 30px; background: var(--sun); border: 3px solid var(--ink); border-radius: 10px; padding: 6px 12px; font: 700 20px/1 var(--f-mono); transform: rotate(8deg); color: var(--on-sun); }
.open-sign.closed { background: var(--line); }
.vid-btn { position: absolute; left: 12px; bottom: 12px; min-height: 40px; padding: 0 14px; border: 2px solid #FFF7EC; border-radius: 10px; background: rgba(20, 14, 10, .7); color: #FFF7EC; font: 700 14px var(--f-mono); cursor: pointer; }

/* ============ Stops ============ */
.stop { position: relative; padding: clamp(64px, 9vw, 130px) var(--gutter); }
.stop-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: clamp(28px, 4vw, 48px); max-width: 980px; }
.stop-no { flex: none; width: 72px; height: 72px; display: grid; place-items: center; background: var(--sun); color: var(--on-sun); border: 4px solid var(--ink); border-radius: 26px 26px 26px 6px; font-family: var(--f-display); font-size: 40px; line-height: 1; transform: rotate(-6deg); }
.stop-head h2 { font-size: calc(clamp(48px, 6vw, 96px) * var(--d-scale)); margin-top: 8px; }

/* Stop 1: menu + order */
.window-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.dish { background: var(--surface); border: 3px solid var(--ink); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.dish:nth-child(4n+1) { transform: rotate(-1deg); } .dish:nth-child(4n+3) { transform: rotate(.8deg); }
.dish figure { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 3px solid var(--ink); position: relative; }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dish:hover img { transform: scale(1.06); }
.dish .fire { position: absolute; left: 10px; top: 10px; background: var(--hot); color: var(--on-hot); border: 2px solid var(--ink); border-radius: 8px; font: 700 14px/1 var(--f-mono); padding: 5px 8px; }
.dish .body { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.dish h3 { font-size: 20px; line-height: 1.2; }
.dish p { font-size: 15px; color: var(--ink2); }
.dish .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.dish .price { font: 700 20px/1 var(--f-mono); }
.dish .left { font: 500 14px/1.2 var(--f-mono); color: var(--ink2); }
.dish .left.low { color: var(--hot-text); font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--bg); }
.qty button { width: 42px; height: 42px; border: 0; background: none; font-size: 22px; font-weight: 700; cursor: pointer; }
.qty button:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 30px; text-align: center; font: 700 17px var(--f-mono); }
.dish.soldout img { filter: grayscale(1); opacity: .6; }
.order { position: sticky; top: calc(var(--tick-h) + 90px); background: var(--bg); border: 3px solid var(--ink); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; }
.order-h { font-family: var(--f-display); text-transform: var(--d-case); font-size: calc(32px * var(--d-scale)); line-height: 1; }
.o-line { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; border-bottom: 2px dashed var(--line); padding-bottom: 6px; }
.o-total { display: flex; justify-content: space-between; font: 700 20px var(--f-mono); }
.o-small { font-size: 14px; color: var(--ink2); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.slots button { border: 2px solid var(--ink); border-radius: 10px; background: var(--bg); padding: 6px 4px 8px; cursor: pointer; display: grid; gap: 4px; text-align: center; min-height: 52px; }
.slots button b { font: 700 15px/1 var(--f-mono); }
.slots button i { display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.slots button i span { display: block; height: 100%; background: var(--cool); }
.slots button small { font-size: 14px; color: var(--ink2); }
.slots button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.slots button[aria-pressed="true"] small { color: var(--bg); }
.slots button:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.fld { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld > span, .fld legend, .phone span { font: 700 14px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink2); padding: 0; margin-bottom: 4px; }
.fld input, .phone input { min-height: 50px; border: 3px solid var(--ink); border-radius: 10px; background: var(--bg); padding: 0 12px; font-size: 17px; width: 100%; }
.fld input[aria-invalid="true"], .phone input[aria-invalid="true"] { border-color: var(--hot-text); border-style: dashed; }
.err { font-weight: 700; font-size: 15px; color: var(--ink); }
.err::before { content: "✕ "; color: var(--hot-text); }
.stub { border: 3px dashed var(--ink); border-radius: var(--r); padding: 18px; text-align: center; display: grid; gap: 8px; background: var(--surface); }
.stub .num { font-family: var(--f-display); font-size: 96px; line-height: .9; color: var(--hot-text); }
.stub .serving { font: 700 16px var(--f-mono); }
.demo-note { font-size: 14px; color: var(--ink2); border-left: 4px solid var(--hot); padding-left: 10px; text-align: left; }

/* Stop 2: route */
.route-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.map-wrap { background: var(--surface); border: 3px solid var(--ink); border-radius: var(--r); padding: 10px; }
.map { width: 100%; height: auto; }
.map .land { fill: var(--bg); }
.map .river { fill: var(--cool); opacity: .85; }
.map .street { stroke: var(--line); stroke-width: 3; fill: none; }
.map .main-st { stroke: var(--ink2); stroke-width: 4; fill: none; }
.map .st-lbl { font: 700 14px var(--f-mono); fill: var(--ink2); }
.map .hood-lbl { font: 500 14px var(--f-mono); fill: var(--ink2); }
.map .river-lbl { font: 700 14px var(--f-mono); fill: #FFF7EC; letter-spacing: 2px; }
.map .route-line { fill: none; stroke: var(--hot); stroke-width: 3; stroke-dasharray: 8 8; }
.map .pin { cursor: pointer; }
.map .pin circle { fill: var(--bg); stroke: var(--ink); stroke-width: 3; }
.map .pin text { font: 700 14px var(--f-mono); fill: var(--ink); pointer-events: none; }
.map .pin.on circle { fill: var(--hot); }
.map .pin.on text { fill: var(--on-hot); }
.map .pin.today circle { stroke: var(--hot); stroke-width: 5; }
.map .pin:focus { outline: none; } .map .pin:focus-visible circle { stroke: var(--cool); stroke-width: 6; }
.map .me { fill: var(--sun); stroke: var(--ink); stroke-width: 3; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 14px; }
.days button { min-height: 52px; border: 3px solid var(--ink); border-radius: 10px; background: var(--bg); cursor: pointer; font: 700 14px/1.1 var(--f-mono); display: grid; place-items: center; }
.days button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.days button.off { opacity: .45; }
.days button.today { border-color: var(--hot); }
.day-stop { background: var(--surface); border: 3px solid var(--ink); border-radius: var(--r); padding: 18px; display: grid; gap: 8px; margin-bottom: 14px; }
.day-stop h3 { font-family: var(--f-display); text-transform: var(--d-case); font-size: calc(32px * var(--d-scale)); line-height: 1; }
.day-stop .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.reel { border: 3px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--ink); aspect-ratio: 3 / 4; max-height: 420px; }
.reel video { width: 100%; height: 100%; object-fit: cover; }

/* Stop 3: spotted wall */
.spotted { background: var(--ink); color: var(--bg); }
.spotted .lede { color: var(--line); }
.spotted .kicker { color: var(--sun); }
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; height: min(760px, 90vh); overflow: hidden; }
.col { display: grid; gap: 16px; align-content: start; animation: rise var(--dur, 40s) linear infinite; }
.col:nth-child(2) { animation-direction: reverse; --dur: 46s; }
.col:nth-child(3) { --dur: 34s; }
.wall.paused .col { animation-play-state: paused; }
@keyframes rise { to { transform: translateY(-50%); } }
.post { background: var(--bg); color: var(--ink); border-radius: var(--r); overflow: hidden; border: 3px solid var(--bg); }
.post img, .post video { width: 100%; height: auto; display: block; }
.post p { padding: 10px 12px; font: 500 14px/1.35 var(--f-mono); }
.wall-pause { margin-top: 16px; min-height: 44px; padding: 0 16px; border: 2px solid var(--bg); border-radius: 10px; background: none; color: var(--bg); font: 700 14px var(--f-mono); cursor: pointer; }

/* Stop 4: book */
.book-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(300px, 5fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.book-ctl { display: grid; gap: 22px; }
.ctl { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.ctl-lbl { font: 700 14px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink2); display: flex; justify-content: space-between; padding: 0; margin-bottom: 4px; }
.ctl-lbl output { font-size: 20px; color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--hot); height: 34px; }
input[type="date"] { min-height: 50px; border: 3px solid var(--ink); border-radius: 10px; background: var(--bg); padding: 0 12px; font-size: 17px; max-width: 260px; }
.choices { display: grid; gap: 8px; }
.choices label { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; border: 3px solid var(--ink); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: var(--bg); }
.choices label:has(input:checked) { background: var(--surface); border-bottom-width: 6px; }
.choices label:has(input:focus-visible) { outline: 3px solid var(--cool); outline-offset: 2px; }
.choices input { width: 20px; height: 20px; accent-color: var(--hot); margin: 0; }
.choices b { font-size: 17px; }
.choices em { font-style: normal; font: 700 15px var(--f-mono); }
.choices small { grid-column: 2 / -1; font-size: 14px; color: var(--ink2); }
.ticket-quote { position: sticky; top: calc(var(--tick-h) + 90px); background: var(--sun); color: #1E1A12; border: 3px solid var(--ink); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; }
.ticket-quote .big { font-family: var(--f-display); font-size: calc(64px * var(--d-scale)); line-height: 1; }
.ticket-quote .row { display: flex; justify-content: space-between; gap: 12px; font: 500 15px/1.3 var(--f-mono); border-bottom: 2px dashed rgba(30, 26, 18, .35); padding-bottom: 6px; }
.ticket-quote .fldq input { background: #FFF7EC; border-color: #1E1A12; }
.ticket-quote .btn { background: #1E1A12; color: #F5E9CF; border-color: #1E1A12; }
.ticket-quote .btn:hover { background: #FFF7EC; color: #1E1A12; }
.ticket-quote .demo-note { color: #1E1A12; border-left-color: #1E1A12; }

/* Stop 5: follow */
.follow { background: var(--surface); border-top: 3px solid var(--ink); }
.follow-form { display: grid; gap: 18px; max-width: 820px; }
.hoods { display: flex; flex-wrap: wrap; gap: 8px; }
.hoods button { min-height: 48px; padding: 0 16px; border: 3px solid var(--ink); border-radius: 12px; background: var(--bg); font-weight: 700; cursor: pointer; }
.hoods button[aria-pressed="true"] { background: var(--cool); color: var(--on-cool, #F2FBFA); }
.phone { display: grid; gap: 6px; max-width: 360px; }
.follow-form .btn { justify-self: start; }
.follow-done { font-weight: 700; }

/* ============ Footer: plate ============ */
.foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding-top: 70px; padding-bottom: 90px; padding-right: var(--gutter); background: var(--bg); border-top: 3px solid var(--ink); }
.plate { margin-left: var(--gutter); width: min(460px, 86vw); aspect-ratio: 2 / 1; background: #F7F6F1; color: #13294B; border: 6px solid #13294B; border-radius: 22px; display: grid; grid-template-rows: auto 1fr auto; place-items: center; padding: 12px 16px; outline: 3px solid #13294B; outline-offset: 4px; }
.plate-top { font: 700 14px/1 var(--f-mono); letter-spacing: .3em; }
.plate-txt { font: 700 clamp(48px, 6vw, 80px)/1 var(--f-mono); letter-spacing: .06em; white-space: nowrap; }
.plate-bot { font: 700 14px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .2em; color: #8E1B1B; }
.foot-info { display: grid; gap: 8px; }
.foot-small { font-size: 15px; color: var(--ink2); }

/* ============ Panel ============ */
.keytag { position: fixed; z-index: 55; left: 18px; bottom: 18px; min-height: 52px; padding: 0 18px; border: 3px solid var(--ink); border-bottom-width: 6px; border-radius: var(--r); background: var(--sun); color: #1E1A12; font-weight: 700; font-size: 16px; cursor: pointer; }
.keytag:hover { background: var(--ink); color: var(--bg); }
.panel { position: fixed; z-index: 70; left: 18px; bottom: 84px; width: min(420px, calc(100vw - 36px)); max-height: calc(100vh - 150px); overflow-y: auto; background: var(--bg); border: 3px solid var(--ink); border-radius: var(--r); padding: 20px; display: grid; gap: 16px; }
.panel header { display: flex; justify-content: space-between; align-items: center; }
.panel h2 { font-size: 22px; }
.panel-trucks { display: grid; gap: 8px; }
.panel-trucks button { display: grid; grid-template-columns: 76px 1fr; gap: 2px 12px; align-items: center; text-align: left; padding: 8px; border: 3px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; }
.panel-trucks button img { grid-row: span 2; width: 76px; height: 56px; object-fit: cover; border-radius: 8px; }
.panel-trucks button b { font-size: 22px; font-weight: 400; line-height: 1.1; }
.panel-trucks button small { font-size: 14px; color: var(--ink2); }
.panel-trucks button[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); }
.inline { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.inline input[type="color"] { width: 54px; height: 46px; border: 3px solid var(--ink); border-radius: 10px; padding: 2px; background: none; cursor: pointer; min-height: 0; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; }
.seg button { min-height: 44px; border: 0; background: none; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.panel-foot { display: grid; gap: 10px; }
#p-note { font-size: 15px; color: var(--ink2); }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translate(-50%, 12px); background: var(--ink); color: var(--bg); border-radius: var(--r); padding: 12px 18px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .sticker svg, .col { animation: none; }
  .dish img { transition: none; }
}

/* ============ Tablet ============ */
@media (max-width: 1180px) {
  .stops-nav { display: none; }
  .window-grid, .route-grid, .book-grid { grid-template-columns: minmax(0, 1fr); }
  .order, .ticket-quote { position: static; }
}
@media (max-width: 900px) {
  .here { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--tick-h) + 150px); }
  .window-frame { order: -1; transform: rotate(1deg); margin-top: 20px; }
}

/* ============ Phone: the road narrows to a strip ============ */
@media (max-width: 640px) {
  :root { --lane: 44px; --tick-h: 36px; }
  body { font-size: 17px; }
  .asphalt { stroke-width: 20; } .lane { stroke-width: 2; stroke-dasharray: 8 8; }
  .truck { width: 44px; height: 26px; }
  .sticker { width: 86px; height: 86px; left: 10px; }
  .st-name { font-size: calc(16px * var(--d-scale)); max-width: 56px; }
  .st-ring { font-size: 16px; }
  .skip-line { right: 10px; min-height: 46px; font-size: 15px; padding: 0 14px; }
  .here { padding: calc(var(--tick-h) + 120px) 16px 40px 12px; }
  .here-name { font-size: calc(clamp(56px, 18vw, 84px) * var(--d-scale)); }
  .stop { padding: 56px 16px 56px 12px; }
  .stop-head { gap: 12px; }
  .stop-no { width: 52px; height: 52px; font-size: 28px; }
  .stop-head h2 { font-size: calc(clamp(38px, 11vw, 56px) * var(--d-scale)); }
  .menu { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dish .body { padding: 10px; }
  .dish h3 { font-size: 16px; }
  .dish p { display: none; }
  .dish .row { flex-wrap: wrap; }
  .qty button { width: 36px; height: 40px; }
  .open-sign { right: -6px; }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .days button { font-size: 14px; min-height: 48px; }
  .wall { grid-template-columns: 1fr 1fr; height: 620px; }
  .col:nth-child(3) { display: none; }
  .foot { grid-template-columns: 1fr; padding-bottom: 110px; }
  .plate { margin-left: 0; }
  .keytag { left: 10px; bottom: 10px; min-height: 46px; font-size: 15px; }
  .panel { left: 8px; bottom: 70px; width: calc(100vw - 16px); }
}
