/* Bössman.live: red-on-cream greaseproof wrapper.
   Colour rules: red #e3101a for big type, rules and fills; dark red #b3000c for small red text;
   body text always #111; mustard #e0a800 for status only, always with black text;
   white on red only for bold or large text. */

@font-face {
  font-family: "Bossman Black";
  src: url("bossman-black.woff?v=157c5153ba") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbf6ea;
  --red: #e3101a;
  --red-dk: #b3000c;
  --ink: #111;
  --mustard: #e0a800;
  --card: rgba(255, 253, 246, .88);
  --white: #fffdf6;
  --rule-pale: #f1c9c4;
  --grey: #6b665c;
  --grey-dot: #a8a193;
  --grey-lt: #e2dccd;
  --display: "Bossman Black", "Arial Black", "Helvetica Neue", Impact, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --band: url("band.svg?v=3b54926864");
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(91deg, rgba(120, 88, 40, .028) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-1deg, rgba(120, 88, 40, .022) 0 1px, transparent 1px 5px);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
  overflow-x: hidden;
}
/* grease blotches, fixed to the viewport so they sit "on the paper" */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 30vmax 22vmax at 9% 22%, rgba(196, 140, 34, .09), transparent 70%),
    radial-gradient(ellipse 20vmax 26vmax at 88% 38%, rgba(196, 140, 34, .08), transparent 68%),
    radial-gradient(ellipse 34vmax 20vmax at 28% 84%, rgba(196, 140, 34, .10), transparent 70%),
    radial-gradient(ellipse 14vmax 12vmax at 74% 88%, rgba(196, 140, 34, .08), transparent 70%);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--red-dk); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: .6em 1em; font-weight: 700;
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.display {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: .9;
  margin: 0;
}

/* ---------- print band and rules ---------- */
.band {
  height: 44px;
  border-block: 6px double var(--red);
  background: var(--band) repeat-x left center / auto 22px;
}
.rule-stack { display: none; }
.rule {
  border: 0;
  height: 9px;
  border-block: 3px solid var(--red);
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
  margin: clamp(40px, 7vw, 72px) auto;
}

/* ---------- stamps ---------- */
.stamp {
  display: inline-block;
  font-family: var(--display);
  font-weight: 900;
  color: var(--red);
  border: 4px double currentColor;
  padding: .3em .65em .26em;
  line-height: 1;
  letter-spacing: -0.01em;
  transform: rotate(-4.5deg);
  opacity: .9;
  mix-blend-mode: multiply;
  white-space: nowrap;
}
.stamp-sm { font-size: .95rem; }

/* ---------- buttons, inputs, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 52px;
  padding: .55em 1.15em;
  border: 3px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--red-dk); border-color: var(--red-dk); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: var(--white); color: var(--red-dk); }
.btn-ghost:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-sm { min-height: 44px; font-size: .95rem; padding: .4em .9em; }
.btn[aria-pressed="true"] { background: var(--red); color: #fff; border-color: var(--red); }

.chip {
  min-height: 40px;
  padding: .3em .85em;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--white);
  color: var(--red-dk);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
}
.chip:hover { background: var(--red); color: #fff; }

.check { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; cursor: pointer; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--red); margin: 0; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(20px, 4vw, 44px) clamp(20px, 3vw, 32px);
}
.hero-logo { color: var(--red); }
.hero-logo img { width: 100%; height: auto; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4em .8em;
  margin: 0 0 .9rem;
  font-size: .95rem;
  font-weight: 600;
}
.live {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .28em .6em .24em;
  border-radius: 3px;
  font-family: var(--display);
  font-weight: 900;
  font-size: .82rem;
  line-height: 1;
  background: var(--grey-lt);
  color: var(--ink);
}
.live::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.live[data-state="live"] { background: var(--mustard); }
.live[data-state="offline"] { background: transparent; box-shadow: inset 0 0 0 2px var(--grey); color: var(--grey); }

.hero-main { container-type: inline-size; min-width: 0; }
.hero-title {
  color: var(--red);
  font-size: clamp(2.6rem, 8.2vw, 6.6rem);
  line-height: .86;
  margin: 0 0 .26em;
  margin-left: -0.04em;
}
.hero-title .l { display: block; white-space: nowrap; }
@supports (font-size: 1cqi) { .hero-title { font-size: min(15.3cqi, 7.4rem); } }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.45; max-width: 36em; margin: 0 0 1.4rem; }

.search-label { display: block; font-family: var(--display); font-weight: 900; font-size: 1.15rem; margin-bottom: .45rem; letter-spacing: -0.01em; }
.search-row { display: flex; gap: 10px; flex-wrap: wrap; }
.search-row input {
  flex: 1 1 260px;
  min-width: 0;
  min-height: 56px;
  padding: .4em .8em;
  border: 3px solid var(--red);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: 700 1.2rem/1.2 var(--body);
}
.search-row input::placeholder { color: #6f6a60; font-weight: 500; }
.search-row input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.search-row .btn { min-height: 56px; }
.search-status { min-height: 1.5em; margin: .5rem 0 .2rem; font-weight: 600; }
.search-status.err { color: var(--red-dk); }
.try, .alts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; }
.try > span, .alts > span { margin-right: .2em; }
.alts { margin-top: .6rem; }

/* ---------- eating when ---------- */
.when { margin-block: 8px 28px; }
.when-card {
  background: var(--card);
  border: 3px solid var(--red);
  border-radius: 6px;
  padding: clamp(14px, 2.4vw, 22px) clamp(14px, 2.6vw, 26px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "top top top" "days slider quick";
  gap: 14px 26px;
  align-items: center;
}
.when-top { grid-area: top; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3em 1em; position: relative; }
.when-h { font-family: var(--display); font-weight: 900; font-size: 1.15rem; margin: 0; letter-spacing: -0.01em; }
.when-readout { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 3.2vw, 2.2rem); color: var(--red); letter-spacing: -0.025em; line-height: 1; }
.doner-oclock { position: relative; top: -2px; }
.when-days { grid-area: days; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.day {
  min-width: 46px; min-height: 44px; padding: 0;
  border: 2px solid var(--red);
  border-radius: 4px;
  background: var(--white);
  color: var(--red-dk);
  font-family: var(--display); font-weight: 900; font-size: .92rem;
  cursor: pointer;
}
.day[aria-checked="true"] { background: var(--red); color: #fff; }
.when-slider { grid-area: slider; min-width: 0; }
.when-slider input { width: 100%; height: 44px; margin: 0; accent-color: var(--red); cursor: pointer; }
.when-ticks { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--grey); margin-top: -4px; }
.when-quick { grid-area: quick; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- ticker ---------- */
.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  border-block: 3px solid var(--red-dk);
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 10px 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: .01em;
  animation: tick 60s linear infinite;
  will-change: transform;
}
.ticker-track svg { width: 16px; height: 22px; flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
main { display: block; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.sec-title { color: var(--red); font-size: clamp(2.3rem, 6.2vw, 4.4rem); margin-bottom: .2em; overflow-wrap: break-word; }
.sec-sub { margin: 0 0 1.1rem; max-width: 40em; font-weight: 500; }
.finder { padding-top: clamp(32px, 5vw, 56px); scroll-margin-top: 8px; outline: none; }
.filters { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: -.2rem 0 .9rem; }

.finder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
}

/* menu board */
.board {
  background: var(--card);
  border: 3px solid var(--red);
  border-radius: 6px;
  overflow: hidden;
}
.board-head, .board-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 92px 118px 84px;
  gap: 10px;
  align-items: center;
  padding-inline: 12px;
}
.board-head {
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
  font-size: .9rem;
  min-height: 42px;
}
.board-head .r { text-align: right; }
.board-head .c { text-align: center; }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li { border-bottom: 1px solid var(--rule-pale); }
.board-list li:nth-child(even) { background: rgba(255, 255, 255, .55); }
.board-list li:last-child { border-bottom: 0; }
.board-row {
  width: 100%;
  min-height: 62px;
  padding-block: 8px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.board-row:hover, .board-row.is-hot { background: rgba(227, 16, 26, .07); }
.board-row:focus-visible { outline-offset: -3px; }
.pin-no {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: .95rem;
  background: var(--red); color: #fff;
}
.pin-no[data-s="unknown"] { background: var(--mustard); color: var(--ink); }
.pin-no[data-s="closed"] { background: var(--grey-lt); color: var(--ink); }
.shop-name { display: block; font-weight: 800; font-size: 1.04rem; line-height: 1.2; overflow-wrap: anywhere; }
.shop-name.unnamed { font-style: italic; font-weight: 600; }
.shop-where { display: block; font-size: .86rem; color: var(--grey); margin-top: 2px; }
.dist { text-align: right; font-variant-numeric: tabular-nums; color: var(--red-dk); font-weight: 800; line-height: 1.15; }
.dist small { display: block; color: var(--grey); font-weight: 600; font-size: .78rem; }
.status { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: .8rem; font-weight: 600; color: var(--grey); line-height: 1.2; }
.badge {
  display: inline-block;
  padding: .25em .5em .2em;
  border-radius: 3px;
  font-family: var(--display); font-weight: 900; font-size: .78rem; line-height: 1;
  letter-spacing: .01em;
}
.badge-open { background: var(--mustard); color: var(--ink); }
.badge-closed { box-shadow: inset 0 0 0 2px var(--grey); color: var(--grey); }
.badge-unknown { box-shadow: inset 0 0 0 2px var(--grey-dot); color: var(--grey); background: repeating-linear-gradient(-45deg, transparent 0 4px, rgba(0, 0, 0, .05) 4px 6px); }
.hyg-cell { display: flex; justify-content: center; }

.board-empty { padding: 26px 20px 30px; }
.board-empty-big { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--red); letter-spacing: -0.02em; margin: 0 0 .4rem; }
.board-empty p:last-child { margin: 0; max-width: 32em; }
.sd { display: inline-block; margin-left: 4px; padding: 1px 5px 0; border: 1.5px solid var(--red-dk); border-radius: 3px; color: var(--red-dk); font-family: var(--display); font-weight: 900; font-size: .64rem; letter-spacing: .02em; vertical-align: 1px; white-space: nowrap; }
.sit-stamp { align-self: center; transform: rotate(-3deg); }
.t-sit { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-weight: 700; }
.t-sit .stamp { transform: rotate(-4deg); font-size: .8rem; }
.board-more { padding: 12px; font-size: .9rem; color: var(--grey); font-weight: 600; margin: 0; }

/* hygiene rating stamp */
.hyg {
  --s: 40px;
  width: var(--s); height: var(--s);
  display: inline-grid; place-items: center;
  border-radius: 4px;
  font-family: var(--display); font-weight: 900;
  font-size: calc(var(--s) * .52);
  line-height: 1;
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 2.5px var(--ink);
  position: relative;
}
.hyg[data-r="5"], .hyg[data-r="4"], .hyg[data-r="P"] { background: var(--red); color: #fff; box-shadow: none; }
.hyg[data-r="3"] { background: var(--mustard); color: var(--ink); box-shadow: none; }
.hyg[data-r="P"], .hyg[data-r="I"], .hyg[data-r="A"], .hyg[data-r="E"] { width: auto; min-width: var(--s); padding: 0 calc(var(--s) * .14); font-size: calc(var(--s) * .29); letter-spacing: -0.01em; white-space: nowrap; }
.hyg[data-r="A"], .hyg[data-r="E"], .hyg[data-r="-"] { box-shadow: inset 0 0 0 2px var(--grey-dot); color: var(--grey); background: transparent; }
.hyg[data-c="l"]::after, .hyg[data-c="m"]::after {
  content: "?";
  position: absolute; right: -7px; top: -7px;
  width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-family: var(--body); font-weight: 800; font-size: 11px;
}
.hyg[data-c="m"]::after { content: "~"; }

/* radar */
.radar-wrap { margin: 0; position: sticky; top: 12px; }
.radar { width: 100%; height: auto; aspect-ratio: 1; overflow: visible; }
.radar .ring { fill: none; stroke: var(--red); stroke-opacity: .45; stroke-width: 1.3; }
.radar .ring-outer { stroke-opacity: 1; stroke-width: 3; fill: rgba(255, 253, 246, .7); }
.radar .ring-lbl { font: 700 10px var(--body); fill: var(--red-dk); }
.radar .axis { stroke: var(--red); stroke-opacity: .25; stroke-width: 1; }
.radar .north { font: 900 13px var(--display); fill: var(--red); }
.radar .pin circle { stroke: var(--paper); stroke-width: 2.5; }
.radar .pin text { font: 900 10.5px var(--display); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.radar .pin { cursor: pointer; }
.radar .pin[data-s="open"] circle { fill: var(--red); }
.radar .pin[data-s="open"] text { fill: #fff; }
.radar .pin[data-s="unknown"] circle { fill: var(--mustard); }
.radar .pin[data-s="unknown"] text { fill: var(--ink); }
.radar .pin[data-s="closed"] circle { fill: var(--grey-lt); stroke: var(--grey); stroke-width: 1.5; }
.radar .pin[data-s="closed"] text { fill: var(--ink); }
.radar .pin.is-hot circle { stroke: var(--ink); stroke-width: 3; }
.radar .pin:focus-visible { outline: none; }
.radar .pin:focus-visible circle { stroke: var(--ink); stroke-width: 3.5; }
.radar .you { fill: var(--ink); }
.radar .you-ring { fill: none; stroke: var(--ink); stroke-width: 2; }
.radar .leader { stroke: var(--ink); stroke-width: 1; stroke-opacity: .55; }
.radar .true-pos { fill: var(--ink); fill-opacity: .7; }
.radar .sweep { transform-origin: 0 0; }
.radar .idle-txt { font: 900 15px var(--display); fill: var(--red); text-anchor: middle; }
.radar.is-sweeping .sweep { animation: sweep 1.5s cubic-bezier(.4, .1, .3, 1) 1 forwards; }
@keyframes sweep { from { transform: rotate(0deg); opacity: 1; } 85% { opacity: 1; } to { transform: rotate(360deg); opacity: 0; } }
.radar-cap { font-size: .88rem; color: var(--grey); font-weight: 500; margin-top: 8px; max-width: 34em; }

/* ---------- number tiles ---------- */
.tiles {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
}
.tile {
  background: var(--red);
  color: #fff;
  padding: 18px 16px 16px;
  border-radius: 4px;
  outline: 3px solid var(--red);
  outline-offset: 4px;
  min-height: 160px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.tile:nth-child(odd) { transform: rotate(-1.2deg); }
.tile:nth-child(even) { transform: rotate(1deg); }
.tile-n { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: .9; letter-spacing: -0.035em; margin: 0; }
.tile-l { font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 10px 0 0; }

/* ---------- who's open map ---------- */
.open-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}
.map-wrap { position: relative; background: var(--card); border: 3px solid var(--red); border-radius: 6px; overflow: hidden; }
.map { width: 100%; height: auto; aspect-ratio: 630 / 960; background: #f3eee1; touch-action: pan-y; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.map.is-zoomed { touch-action: none; cursor: grab; }
.map.is-dragging { cursor: grabbing; }
.map .land { fill: var(--white); stroke: var(--red); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map .land-ie { fill: #e9e1cd; stroke: #d6cab3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.map .inset { fill: none; stroke: var(--red); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 3; }
.map .d-open { fill: var(--red); }
.map .d-unknown { fill: var(--mustard); fill-opacity: .55; }
.map .d-closed { fill: var(--grey-dot); fill-opacity: .7; }
/* map style switcher and key */
.map-styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px; border-bottom: 2px solid var(--red); background: var(--white); }
.map-styles button {
  min-height: 44px; padding: 4px 6px;
  border: 2px solid var(--red); border-radius: 4px;
  background: var(--white); color: var(--red-dk);
  font-family: var(--display); font-weight: 900; font-size: .88rem; line-height: 1.05; letter-spacing: -0.01em;
  cursor: pointer;
}
.map-styles button:hover { background: rgba(227, 16, 26, .08); }
.map-styles button[aria-checked="true"] { background: var(--red); color: #fff; }
.map-key { padding: 10px 12px 12px; border-top: 2px solid var(--red); background: var(--white); font-size: .88rem; }
.map-key p { margin: 0; }
.key-h { font-family: var(--display); font-weight: 900; font-size: 1.15rem; color: var(--red); letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px !important; }
.key-sub { font-weight: 700; margin-bottom: 6px !important; }
.key-note { color: var(--grey); font-weight: 600; line-height: 1.4; }
.key-heat { list-style: none; margin: 2px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.key-heat li { display: grid; justify-items: center; gap: 3px; font-weight: 800; font-size: .82rem; font-variant-numeric: tabular-nums; text-align: center; }
.key-heat li i { display: block; width: 100%; height: 12px; border-radius: 2px; }
.chillies { flex: none; width: 100%; max-width: 60px; height: auto; }
.open-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); margin-right: 6px; vertical-align: 0; }
.key-pins { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 700; }
.key-pins li { display: inline-flex; align-items: center; gap: 6px; }
.kp-open { fill: var(--red); } .kp-closed { fill: var(--grey-lt); stroke: var(--grey); stroke-width: 2; } .kp-unknown { fill: var(--mustard); }
.key-poster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px 18px; align-items: start; }
.key-poster .sizes { display: block; margin-bottom: 4px; overflow: visible; }
.key-poster .sizes circle { fill: var(--red); }
.key-poster .sizes text { font: 800 10px var(--body); fill: var(--ink); text-anchor: middle; }
.top5 { list-style: none; margin: 0; padding: 0; }
.top5 li { display: grid; grid-template-columns: 1.3em auto minmax(10px, 1fr) auto; gap: 6px; align-items: baseline; padding: 3px 0; border-bottom: 1px solid var(--rule-pale); font-weight: 800; }
.top5 .rk { font-family: var(--display); color: var(--red-dk); }
.top5 .dots { border-bottom: 3px dotted var(--red); transform: translateY(-.25em); }
.top5 .ct { font-family: var(--display); color: var(--red); font-variant-numeric: tabular-nums; }

/* chilli heat */
.map[data-style="heat"] .land { fill: #fdf9ef; stroke-opacity: .55; }
.map .hx-empty { fill: #f4ecdb; stroke: var(--white); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map .hx { stroke: var(--white); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map .hx-open { fill: var(--ink); }
.map .hl { font-family: var(--display); font-weight: 900; fill: var(--ink); stroke: var(--white); stroke-width: 4.5; paint-order: stroke; stroke-linejoin: round; letter-spacing: -0.01em; pointer-events: none; }
.map .tn { font-family: var(--body); font-weight: 700; fill: var(--ink); stroke: var(--white); stroke-width: 3; paint-order: stroke; stroke-linejoin: round; pointer-events: none; }
/* clusters */
.map .cl { cursor: pointer; }
.map .cl circle { fill: var(--red); stroke: var(--white); stroke-width: 2.5; }
.map .cl:hover circle { fill: var(--red-dk); }
.map .cl:focus { outline: none; }
.map .cl:focus-visible circle { stroke: var(--ink); stroke-width: 4; }
.map .cl-n { fill: #fff; font-family: var(--display); font-weight: 900; text-anchor: middle; letter-spacing: -0.02em; pointer-events: none; }
.map .cl-tag rect { fill: var(--ink); }
.map .cl-tag text { fill: #fff; font: 800 10px var(--body); text-anchor: middle; pointer-events: none; }
.map .pin { cursor: pointer; }
.map .pin use { stroke: var(--white); stroke-width: 2; }
.map .pin[data-s="open"] use { fill: var(--red); }
.map .pin[data-s="unknown"] use { fill: var(--mustard); }
.map .pin[data-s="closed"] use { fill: var(--grey-lt); stroke: var(--grey); stroke-width: 1.6; }
.map .pin-dot { fill: var(--white); pointer-events: none; }
.map .pin:focus { outline: none; }
.map .pin:focus-visible use, .map .pin:hover use { stroke: var(--ink); stroke-width: 2.5; }
.map .pn { font: 700 12px var(--body); fill: var(--ink); stroke: var(--white); stroke-width: 3.5; paint-order: stroke; stroke-linejoin: round; pointer-events: none; }
.map .fan { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-opacity: .7; }
.map .fan-hub { fill: var(--ink); }
/* town poster */
.map[data-style="poster"] .land { stroke-opacity: .6; }
.map .tc { fill: var(--red); stroke: var(--white); stroke-width: .8; vector-effect: non-scaling-stroke; cursor: pointer; mix-blend-mode: multiply; }
.map .tc.top { stroke-width: 2; }
.map .tc:hover { fill: var(--red-dk); }
.map .in-n { font-family: var(--display); font-weight: 900; font-size: 26px; fill: #fff; text-anchor: middle; letter-spacing: -0.03em; pointer-events: none; }
.map .in-t { font-family: var(--display); font-weight: 900; font-size: 13px; fill: #fff; text-anchor: middle; letter-spacing: .02em; pointer-events: none; }
.map .tl { font-family: var(--display); font-weight: 900; fill: var(--red-dk); stroke: var(--white); stroke-width: 4; paint-order: stroke; stroke-linejoin: round; letter-spacing: -0.02em; pointer-events: none; }
.map .tl-n { font: 800 11px var(--body); fill: var(--ink); stroke: var(--white); stroke-width: 3.5; paint-order: stroke; stroke-linejoin: round; pointer-events: none; }

#map-me { pointer-events: none; }
.map .me { fill: none; stroke: var(--ink); vector-effect: non-scaling-stroke; stroke-width: 2.5; }
.map .me-dot { fill: var(--ink); }
.map .hot { fill: none; stroke: var(--ink); stroke-width: 2.5; vector-effect: non-scaling-stroke; pointer-events: none; }
.map-tip {
  position: absolute; z-index: 3; pointer-events: none;
  background: var(--ink); color: #fff;
  padding: 6px 9px; border-radius: 4px;
  font-size: .85rem; font-weight: 600; line-height: 1.3;
  max-width: 240px;
  transform: translate(-50%, calc(-100% - 12px));
}
.map-tip b { display: block; font-weight: 800; }
.map-zoom { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 10px; border-top: 2px solid var(--red); background: var(--white); }
.map-hint { font-size: .8rem; color: var(--grey); font-weight: 600; margin-left: 6px; }
@media (hover: none) { .map-hint { display: none; } }
.map-zoom button {
  min-width: 44px; min-height: 44px;
  border: 2px solid var(--red); border-radius: 4px;
  background: var(--white); color: var(--red-dk);
  font-family: var(--display); font-weight: 900; font-size: 1.3rem; line-height: 1;
  cursor: pointer;
}
.map-zoom .z-reset { font-size: .78rem; padding: 0 .6em; }
.map-zoom button:hover { background: var(--red); color: #fff; }

.open-big { margin: .2rem 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .45em; }
.open-n { font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 12vw, 9rem); line-height: .82; color: var(--red); letter-spacing: -0.05em; }
.open-lbl { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.02em; }
.open-when { font-family: var(--display); font-weight: 900; font-size: 1.25rem; margin: .5rem 0 .4rem; letter-spacing: -0.01em; }
.open-note { margin: 0 0 1.1rem; max-width: 30em; }
.legend { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: 6px; }
.legend li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; font-weight: 600; max-width: 22rem; border-bottom: 1px solid var(--rule-pale); padding-bottom: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 50%; }
.legend b { font-variant-numeric: tabular-nums; color: var(--red-dk); }
.open-tip { font-size: .92rem; color: var(--grey); font-weight: 600; margin: .4rem 0 0; }

/* ---------- sponsor spaces ----------
   Class names avoid "ad"/"sponsor" so ad blockers' cosmetic filters don't hide directly sold partner spots.
   Each .spot carries its sizes as --w/--h (desktop) and --mw/--mh (phones). */
.spot-wrap { margin-top: clamp(32px, 5vw, 56px); display: flex; justify-content: center; }
.spot-foot { margin-block: clamp(36px, 6vw, 64px) clamp(24px, 4vw, 40px); }
.spot-side { margin-top: 1.4rem; max-width: 300px; }
.spot {
  width: min(100%, calc(var(--w) * 1px));
  aspect-ratio: var(--w) / var(--h);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 10px 14px;
  border: 2px dashed var(--red);
  border-radius: 6px;
  background:
    repeating-linear-gradient(-45deg, rgba(227, 16, 26, .045) 0 10px, transparent 10px 20px),
    var(--white);
  text-align: center;
  position: relative;
}
.spot p { margin: 0; }
.spot-tag { font-family: var(--display); font-weight: 900; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red-dk); }
.spot-txt { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.spot-size { font-size: .78rem; font-weight: 600; color: var(--grey); }
.spot-get { font-size: .85rem; font-weight: 700; margin-top: 4px !important; }
.spot[data-spot="footer"] { flex-direction: row; flex-wrap: wrap; gap: 2px 12px; }
.spot[data-spot="footer"] .spot-size { flex-basis: 100%; }
/* a live sponsor: their creative, labelled */
.spot.is-live { border: 0; padding: 0; background: none; aspect-ratio: auto; display: block; }
.spot.is-live .spot-tag { text-align: left; margin-bottom: 4px; font-size: .72rem; color: var(--grey); }
.spot.is-live img { width: 100%; height: auto; border-radius: 4px; }
/* spoof ads: made-up brands, labelled as spoofs. Sized by container queries so one creative fits desktop and phone. */
.spot.is-spoof { border: 0; padding: 0; background: none; aspect-ratio: auto; display: block; }
.spot.is-spoof .spot-tag { text-align: left; margin-bottom: 4px; font-family: var(--body); font-weight: 700; font-size: .72rem; letter-spacing: .02em; text-transform: none; color: var(--grey); }
.spot.is-spoof .spot-tag a { color: inherit; }
.sp-frame { width: 100%; aspect-ratio: var(--w) / var(--h); display: flex; container-type: inline-size; }
@media (max-width: 720px) { .sp-frame { aspect-ratio: var(--mw) / var(--mh); } }
.sp { flex: 1; display: flex; position: relative; overflow: hidden; border-radius: 4px; font-family: var(--body); text-align: left; }
.sp p { margin: 0; }
.sp-head { font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; line-height: .92; }

/* billboard: Napkin Council */
.sp-napkin { background: #12543a; color: #f6f1e2; align-items: center; justify-content: space-between; gap: 4cqi; padding: 3cqi 5cqi; }
.sp-napkin .sp-kick { font-weight: 800; font-size: clamp(10px, 1.3cqi, 14px); letter-spacing: .14em; text-transform: uppercase; color: #a8d5b9; margin-bottom: .6em; }
.sp-napkin .sp-head { font-size: clamp(24px, 5.6cqi, 60px); margin-bottom: .25em; }
.sp-napkin .sp-sub { font-weight: 600; font-size: clamp(12px, 1.8cqi, 19px); max-width: 32em; }
.sp-napkin .sp-art { position: relative; flex: none; width: 19cqi; height: 19cqi; }
.sp-napkin .sp-art i { position: absolute; inset: 0; background: #fff linear-gradient(135deg, transparent 49.4%, rgba(0, 0, 0, .1) 50%, transparent 50.6%); border-radius: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.sp-napkin .sp-art i:nth-child(1) { transform: rotate(-14deg) translate(-8%, 6%); }
.sp-napkin .sp-art i:nth-child(2) { transform: rotate(-4deg) translate(4%, 2%); }
.sp-napkin .sp-art i:nth-child(3) { transform: rotate(7deg) translate(-2%, -3%); }
.sp-napkin .sp-art i:nth-child(4) { transform: rotate(16deg) translate(6%, -6%); }
/* billboard: Garlic Mayo Holdings */
.sp-mayo { background: #0f1f3d; color: #f4efe4; align-items: center; justify-content: space-between; gap: 4cqi; padding: 3cqi 5cqi; }
.sp-mayo .sp-kick { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(11px, 1.6cqi, 17px); color: #e9c46a; margin-bottom: .5em; }
.sp-mayo .sp-head { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -0.01em; line-height: 1.02; font-size: clamp(22px, 4.6cqi, 50px); margin-bottom: .3em; }
.sp-mayo .sp-sub { font-weight: 600; font-size: clamp(12px, 1.7cqi, 18px); }
.sp-mayo .sp-fine { margin-top: .9em !important; font-size: clamp(9px, 1.05cqi, 12px); color: #9fb0cf; }
.sp-mayo .sp-chart { flex: none; width: 26cqi; height: auto; overflow: visible; }
.sp-chart .ax { fill: none; stroke: #4a5d86; stroke-width: 1.5; }
.sp-chart .ln { fill: none; stroke: #e9c46a; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.sp-chart circle { fill: #e9c46a; }
.sp-chart text { fill: #9fb0cf; font: 700 9px var(--body); }
@container (max-width: 520px) {
  .sp-napkin, .sp-mayo { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3cqi; padding: 7cqi; }
  .sp-napkin .sp-kick { font-size: 3.4cqi; } .sp-napkin .sp-head { font-size: 10.5cqi; } .sp-napkin .sp-sub { font-size: 4.6cqi; max-width: 70%; }
  .sp-napkin .sp-art { position: absolute; right: 7cqi; bottom: 7cqi; width: 22cqi; height: 22cqi; }
  .sp-mayo .sp-kick { font-size: 4cqi; } .sp-mayo .sp-head { font-size: 9cqi; } .sp-mayo .sp-sub { font-size: 4.4cqi; } .sp-mayo .sp-fine { font-size: 3.2cqi; max-width: 60%; }
  .sp-mayo .sp-chart { position: absolute; right: 6cqi; bottom: 6cqi; width: 30cqi; }
}

/* in-list: Chip Guard, Extra Sauce Society */
.sp-chip, .sp-sauce, .sp-insure, .sp-philo { align-items: center; gap: .35em 1em; padding: 0 3.5cqi; flex-wrap: wrap; align-content: center; }
.sp-chip { background: #ffd23f; color: #111; border-left: 12px solid; border-image: repeating-linear-gradient(-45deg, #111 0 6px, #ffd23f 6px 12px) 12; }
.sp-chip b { font-family: var(--display); font-weight: 900; font-size: clamp(13px, 3.6cqi, 18px); letter-spacing: -0.01em; }
.sp-chip span { font-weight: 700; font-size: clamp(11px, 2.9cqi, 14px); }
.sp-sauce { background: radial-gradient(circle at 9px -3px, #c8102e 8px, transparent 9px) 0 0 / 26px 13px repeat-x, #fffaf0; color: #5a1010; padding-top: 12px; box-shadow: inset 0 0 0 1px #ead7c4; }
.sp-sauce b { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(13px, 3.5cqi, 18px); }
.sp-sauce span { font-weight: 700; font-size: clamp(11px, 2.8cqi, 14px); color: #333; }
/* MPU: Spit Cam, Mint Condition */
.sp-cam, .sp-mint { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2.5cqi; padding: 6cqi; }
.sp-cam { background: radial-gradient(circle at 50% 38%, #2a2a2a, #121212 70%); color: #fff; }
.sp-live { position: absolute; left: 5cqi; top: 5cqi; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 3px; background: #c8102e; font: 800 11px var(--body); letter-spacing: .08em; }
.sp-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: sp-blink 1.2s steps(2) infinite; }
.sp-spit { position: relative; width: 22cqi; height: 34cqi; margin-top: 4cqi; }
.sp-spit::before { content: ""; position: absolute; left: 50%; top: -6cqi; bottom: -5cqi; width: 3px; margin-left: -1.5px; background: #bbb; border-radius: 2px; }
.sp-spit span { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%); border-radius: 6px;
  background: repeating-linear-gradient(97deg, #7a3f1c 0 7px, #b36a35 7px 12px, #d08a4e 12px 15px, #5e2f14 15px 20px); background-size: 40px 100%; animation: sp-turn 2.4s linear infinite; }
.sp-spit span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .45), transparent 30%, rgba(255, 210, 150, .25) 55%, transparent 75%, rgba(0, 0, 0, .5)); }
.sp-cam .sp-head { font-size: 13cqi; color: #fff; }
.sp-cam .sp-sub { font-weight: 600; font-size: 4.4cqi; line-height: 1.35; color: #cfcfcf; }
.sp-mint { background: #c9f0dc; color: #0b4d34; }
.sp-disc { width: 24cqi; height: 24cqi; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, #e8faf1 31% 46%, #fff 47% 60%, #9fdcbd 61% 64%, #fff 65%); box-shadow: 0 3px 10px rgba(11, 77, 52, .25); }
.sp-mint .sp-head { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; letter-spacing: -0.01em; font-size: 11cqi; }
.sp-mint .sp-sub { font-weight: 700; font-size: 4.8cqi; line-height: 1.35; }
.sp-mint .sp-fine { font-size: 3.6cqi; font-weight: 600; opacity: .75; }
@keyframes sp-turn { to { background-position: 40px 0; } }
@keyframes sp-blink { 50% { opacity: .2; } }
/* footer: Chilli Sauce Insurance, 2am Philosophy Club */
.sp-insure { background: #ff6b1a; color: #111; }
.sp-insure b { font-family: var(--display); font-weight: 900; font-size: clamp(12px, 2.9cqi, 22px); letter-spacing: -0.01em; }
.sp-insure span { font-weight: 700; font-size: clamp(10px, 1.9cqi, 15px); }
.sp-philo { background: #2b1d4f; color: #e9defc; }
.sp-philo b { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(12px, 2.9cqi, 22px); color: #fff; }
.sp-philo span { font-weight: 600; font-size: clamp(10px, 1.9cqi, 15px); }
@container (max-width: 400px) {
  .sp-chip, .sp-sauce, .sp-insure, .sp-philo { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 2px; padding: 6px 12px; }
  .sp-insure b, .sp-philo b { font-size: 12px; } .sp-insure span, .sp-philo span { font-size: 10.5px; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) { .sp-spit span, .sp-live i { animation: none; } }

/* in-list spot on the menu board */
.board-list li.spot-li { background: transparent !important; padding: 12px; }
.board-list li.spot-li .spot { margin-inline: auto; }

/* ---------- merch ---------- */
.merch {
  background: var(--red);
  color: #fff;
  border-block: 6px double var(--red-dk);
  margin-block: clamp(48px, 8vw, 88px);
  padding-block: clamp(32px, 6vw, 64px);
  scroll-margin-top: 8px;
  overflow: hidden;
}
.merch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.merch-gallery { display: grid; gap: 14px; max-width: 520px; width: 100%; justify-self: center; }
.merch-main { margin: 0; background: var(--white); padding: 10px; border-radius: 4px; transform: rotate(-1.6deg); box-shadow: 0 10px 0 -2px var(--red-dk); }
.merch-main img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; background: #f3f1ea; }
.merch-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-inline: 6px; }
.merch-thumb { padding: 4px; border: 3px solid transparent; border-radius: 6px; background: var(--white); cursor: pointer; min-height: 44px; }
.merch-thumb img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.merch-thumb[aria-pressed="true"] { border-color: var(--ink); }
.merch-thumb:hover { border-color: #fff; }
.merch-thumb:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.merch-copy { min-width: 0; }
.merch-kick { margin: 0 0 .8rem; }
.merch-kick .stamp { color: #fff; mix-blend-mode: normal; font-size: 1rem; }
.merch-title { color: #fff; font-size: clamp(2.8rem, 7.4vw, 5.6rem); line-height: .86; margin: 0 0 .3em; }
.merch-title span { display: block; }
.merch-lede { font-size: clamp(1.1rem, 1.9vw, 1.35rem); font-weight: 700; line-height: 1.4; max-width: 28em; margin: 0 0 1rem; }
.merch-points { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 6px; font-weight: 700; }
.merch-points li { display: flex; gap: .6em; align-items: baseline; }
.merch-points li::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 50%; background: #fff; transform: translateY(-.1em); }
.btn-merch { background: var(--white); color: var(--red-dk); border-color: var(--white); font-size: 1.2rem; min-height: 56px; padding-inline: 1.4em; text-decoration: none; }
.btn-merch:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-merch:focus-visible { outline-color: #fff; }
.merch-small { font-size: .9rem; font-weight: 600; margin: .7rem 0 0; }
.foot-merch { margin: 1rem 0 0; font-family: var(--display); font-weight: 900; font-size: 1.1rem; }
.foot-legal { max-width: 46rem; margin: 2.2rem auto 0; padding-top: 1.2rem; border-top: 3px double var(--red); text-align: left; font-size: .9rem; line-height: 1.5; }
.foot-legal p { margin: 0 0 .9rem; }
.foot-check { font-weight: 600; }
.foot-check .stamp { margin: 0 .5em .3em 0; transform: rotate(-2.5deg); font-size: .82rem; vertical-align: 1px; }
.foot-copy { color: var(--grey); font-weight: 600; font-size: .84rem; }
.foot-copy a { color: inherit; }

/* ---------- league + hygiene pair ---------- */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.menu { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { counter-increment: m; }
.menu button {
  width: 100%;
  display: grid;
  grid-template-columns: 2.1em auto minmax(16px, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  min-height: 44px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
}
.menu button::before { content: counter(m); font-family: var(--display); font-weight: 900; color: var(--red-dk); font-size: .95rem; }
.menu .dots { border-bottom: 3px dotted var(--red); transform: translateY(-.28em); }
.menu .n { font-variant-numeric: tabular-nums; color: var(--red-dk); font-weight: 800; }
.menu button:hover .item { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .15em; }
.nations { margin: 1rem 0 0; font-weight: 600; color: var(--grey); font-size: .95rem; }

.chart-card { background: var(--card); border: 3px solid var(--red); border-radius: 6px; padding: 16px 16px 14px; margin-bottom: 14px; position: relative; }
.chart-h { margin: 0 0 12px; font-size: 1.02rem; font-weight: 800; line-height: 1.3; }
.chart-h span { display: block; font-weight: 500; font-size: .88rem; color: var(--grey); }
.cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; height: 220px; }
.col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; outline-offset: 2px; border-radius: 3px; }
.col-v { font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--red-dk); margin-bottom: 4px; }
.col-bar { width: 100%; max-width: 56px; background: var(--red); border-radius: 3px 3px 0 0; min-height: 2px; }
.col:hover .col-bar, .col:focus-visible .col-bar { background: var(--red-dk); }
.col-x { margin-top: 8px; }
.col-x .hyg { --s: 30px; }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: 11.5em minmax(0, 1fr) 3.4em; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; }
.hbar-track { height: 22px; }
.hbar-fill { height: 100%; background: var(--red); border-radius: 0 3px 3px 0; }
.hbar-n { text-align: right; color: var(--red-dk); font-variant-numeric: tabular-nums; font-weight: 800; }
.chart-tip { position: absolute; z-index: 3; pointer-events: none; background: var(--ink); color: #fff; padding: 6px 9px; border-radius: 4px; font-size: .85rem; font-weight: 600; transform: translate(-50%, calc(-100% - 8px)); white-space: nowrap; }
.table-twin { margin: 4px 0 12px; }
.table-twin summary { cursor: pointer; font-weight: 700; color: var(--red-dk); min-height: 44px; display: flex; align-items: center; }
.tbl { width: 100%; border-collapse: collapse; background: var(--white); font-size: .95rem; }
.tbl th { background: var(--red); color: #fff; text-align: left; padding: 8px 10px; font-weight: 800; }
.tbl td { padding: 7px 10px; border-bottom: 1px solid var(--rule-pale); }
.tbl td.r, .tbl th.r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.r { color: var(--red-dk); font-weight: 700; }
.hyg-note { font-size: .95rem; max-width: 40em; margin: 0; }

/* ---------- small print ---------- */
.fineprint { padding-bottom: clamp(36px, 6vw, 64px); }
.small-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; font-size: .95rem; }
.small-grid h3 { font-family: var(--display); font-weight: 900; font-size: 1.1rem; letter-spacing: -0.01em; margin: 0 0 .5rem; }
.small-grid p { margin: 0 0 .8rem; }

/* ---------- footer ---------- */
.foot { text-align: center; padding: 28px var(--gutter) calc(40px + env(safe-area-inset-bottom)); }
.foot-big { color: var(--red); font-size: clamp(2.6rem, 9vw, 6rem); }
.foot-small { margin: .6rem 0 0; font-weight: 600; }

/* ---------- shop ticket (dialog) ---------- */
.ticket {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(520px, calc(100vw - 24px));
  width: 100%;
  max-height: calc(100dvh - 24px);
  overflow: visible;
  color: var(--ink);
}
.ticket::backdrop { background: rgba(40, 6, 8, .55); }
.ticket-paper {
  --zig: 10px;
  position: relative;
  background: var(--white);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--zig) + 22px) 22px calc(var(--zig) + 24px);
  -webkit-mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zig) * 2) var(--zig) repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--zig) + 1px) no-repeat;
  mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zig) * 2) var(--zig) repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--zig) + 1px) no-repeat;
}
.ticket[open] { animation: ticket-in .22s ease-out; }
@keyframes ticket-in { from { transform: translateY(16px); opacity: 0; } }
.ticket-close {
  position: absolute; right: 12px; top: calc(var(--zig) + 8px);
  width: 44px; height: 44px;
  border: 2px solid var(--red); border-radius: 50%;
  background: var(--white); color: var(--red-dk);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.ticket-close:hover { background: var(--red); color: #fff; }
.t-top { font-size: .88rem; font-weight: 700; color: var(--grey); margin: 0 52px .5rem 0; }
.t-name { font-family: var(--display); font-weight: 900; color: var(--red); font-size: clamp(1.9rem, 6vw, 2.5rem); line-height: .92; letter-spacing: -0.03em; margin: 0 48px .45rem 0; overflow-wrap: anywhere; }
.t-addr { margin: 0 0 .9rem; font-weight: 600; }
.t-sec { border-top: 2px dashed var(--rule-pale); padding-top: 14px; margin-top: 14px; }
.t-sec h3 { font-family: var(--display); font-weight: 900; font-size: 1.05rem; margin: 0 0 .55rem; letter-spacing: -0.01em; }
.t-status { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.t-status .badge { font-size: .9rem; }
.t-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.t-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .3em .9em; border: 2px solid var(--red); border-radius: 999px; text-decoration: none; font-weight: 700; background: var(--white); }
.t-links a:hover { background: var(--red); color: #fff; }
.t-hyg { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.t-hyg .hyg { --s: 64px; }
.t-hyg p { margin: 0 0 .4rem; }
.t-hyg .small { font-size: .9rem; color: var(--grey); font-weight: 500; }
.t-recheck { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.t-recheck .btn { min-height: 40px; font-size: .88rem; }
.t-recheck-out { font-size: .9rem; font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 5px 6px; border-bottom: 1px dotted var(--rule-pale); }
.hours td:first-child { font-weight: 700; width: 4.5em; }
.hours tr.is-day td { background: rgba(224, 168, 0, .22); font-weight: 800; }
.hours .closed { color: var(--grey); }
.raw-oh { font-size: .85rem; color: var(--grey); margin: .5rem 0 0; overflow-wrap: anywhere; }

.sauce { position: relative; }
.sauce-h { font-family: var(--display); font-weight: 900; font-size: 1.35rem; color: var(--red); margin: 0 0 .2rem; letter-spacing: -0.02em; }
.sauce .stamp { position: absolute; right: 0; top: 4px; font-size: .78rem; transform: rotate(5deg); }
.dials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 4px; }
.dial { text-align: center; margin: 0; }
.dial svg { width: 100%; max-width: 190px; margin-inline: auto; overflow: visible; }
.dial figcaption { font-weight: 800; margin-top: 2px; }
.dial figcaption span { display: block; font-weight: 600; color: var(--grey); font-size: .88rem; }
.dial .arc { fill: none; stroke: var(--rule-pale); stroke-width: 12; }
.dial .arc-fill { fill: none; stroke: var(--red); stroke-width: 12; }
.dial .tick { stroke: var(--red-dk); stroke-width: 1.5; }
.dial .needle { stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; transform-origin: 60px 64px; transition: transform .9s cubic-bezier(.3, 1.6, .5, 1); }
.dial .hub { fill: var(--ink); }
.sauce-note { font-size: .85rem; color: var(--grey); margin: .3rem 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .small-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .when-card { grid-template-columns: 1fr; grid-template-areas: "top" "days" "slider" "quick"; }
}
@media (max-width: 900px) {
  .finder-grid, .open-grid, .pair { grid-template-columns: minmax(0, 1fr); }
  .pair { gap: 0; }
  .rule-stack { display: block; width: 100%; margin: 44px 0; }
  .finder:not(.has-loc) .radar-wrap { display: none; }
  .radar-wrap { position: static; max-width: 480px; margin-inline: auto; width: 100%; }
  .open-read { order: -1; }
  .spot-side { margin-inline: auto; }
  .merch-grid { grid-template-columns: minmax(0, 1fr); }
  .merch-copy { text-align: center; }
  .merch-points { width: fit-content; margin-inline: auto; text-align: left; }
  .merch-lede { margin-inline: auto; }
}
@media (max-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero-title .l { text-align: center; }
  .hero-logo { width: min(210px, 56vw); margin-inline: auto; }
  .hero-meta { justify-content: center; }
  .hero-title { text-align: center; margin-left: 0; }
  .lede { text-align: center; margin-inline: auto; }
  .search-row .btn { flex: 1 1 auto; }
  .board-head { display: none; }
  .board-row {
    grid-template-columns: 32px minmax(0, 1fr) auto auto;
    grid-template-areas: "no name name hyg" "no status dist dist";
    gap: 6px 10px;
    padding: 10px 10px;
  }
  .board-row .pin-no { grid-area: no; align-self: start; width: 30px; height: 30px; }
  .board-row .nm { grid-area: name; }
  .board-row .hyg-cell { grid-area: hyg; justify-content: flex-end; }
  .board-row .status { grid-area: status; flex-direction: row; align-items: center; gap: 6px; flex-wrap: wrap; }
  .board-row .dist { grid-area: dist; display: flex; gap: 6px; align-items: baseline; justify-content: flex-end; white-space: nowrap; }
  .board-row .dist small { display: inline; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; padding: 6px 4px 0; }
  .tile { min-height: 132px; padding: 14px 12px 12px; }
  .tile:nth-child(odd) { transform: rotate(-.7deg); }
  .tile:nth-child(even) { transform: rotate(.6deg); }
  .tile-l { font-size: .92rem; }
  .tile:last-child { grid-column: 1 / -1; }
  .small-grid { grid-template-columns: minmax(0, 1fr); }
  .hbar { grid-template-columns: 8.5em minmax(0, 1fr) 3em; font-size: .9rem; }
  .cols { height: 180px; gap: 5px; }
  .ticket { margin: auto auto 0; max-width: 100vw; }
  .ticket-paper { max-height: calc(100dvh - 12px); padding-inline: 18px; }
  .band { background-size: auto 18px; height: 38px; }
  .sauce .stamp { position: static; display: inline-block; margin: 2px 0 10px; transform: rotate(-3deg); }
  .spot { width: min(100%, calc(var(--mw) * 1px)); aspect-ratio: var(--mw) / var(--mh); }
  .spot-txt { font-size: .92rem; }
  .spot[data-spot="footer"] { padding: 6px 10px; }
  .spot[data-spot="footer"] .spot-txt { font-size: .8rem; }
  .spot[data-spot="footer"] .spot-size { display: none; }
  .spot.is-spoof[data-spot="footer"] { padding: 0; }
  .spot.is-spoof[data-spot="footer"] .sp-frame { aspect-ratio: auto; min-height: 50px; }
  .merch-thumbs { gap: 8px; padding-inline: 0; }
  .map-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .key-poster { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .day { min-width: 40px; font-size: .85rem; }
  .when-quick .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .radar.is-sweeping .sweep { animation: none; opacity: 0; }
  .dial .needle { transition: none; }
  .ticket[open] { animation: none; }
  .spin-dash { animation: none !important; }
}
@media (forced-colors: active) {
  .badge, .hyg, .pin-no { border: 2px solid CanvasText; }
}
@media print {
  .ticker, .when, .map-zoom, .filters, .spot-wrap, .spot-side, .spot-li { display: none; }
  body::before { display: none; }
}
