/* Fredoka (SIL Open Font License), self-hosted so no visitor's IP address is sent to Google */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/fredoka-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/fredoka-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #f5f6f2;
  --surface: #ffffff;
  --ink: #14181f;
  --muted: #5d6573;
  --line: #dfe2dc;
  --pitch: #1f6f43;
  --pitch-ink: #ffffff;
  --flood: #f4c430;
  --tbc: #b5651d;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1216; --surface: #181d24; --ink: #eef1f4; --muted: #9aa3b1; --line: #2a313b;
    --pitch: #2f9e62; --flood: #f4c430; --tbc: #e3a15a;
    --shadow: 0 1px 2px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"] {
  --bg: #0f1216; --surface: #181d24; --ink: #eef1f4; --muted: #9aa3b1; --line: #2a313b;
  --pitch: #2f9e62; --flood: #f4c430; --tbc: #e3a15a; --shadow: 0 1px 2px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--pitch); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.005em; font-family: "Fredoka", -apple-system, sans-serif; font-weight: 600; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* header / footer */
.top { position: sticky; top: 0; z-index: 10; background: var(--pitch); color: var(--pitch-ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.brand { color: inherit; text-decoration: none; font-weight: 700; font-family: "Fredoka", -apple-system, sans-serif; font-size: 1.15rem; letter-spacing: .01em; white-space: nowrap; }
.brand .ball { color: var(--flood); margin-right: 4px; }
.tally { color: var(--pitch); background: var(--flood); text-decoration: none; font-weight: 700; font-size: .85rem;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.foot { margin-top: 48px; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.foot a { color: inherit; }

/* index */
.intro { padding-top: 32px; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.progress .bar { height: 12px; background: var(--line); border-radius: 999px; overflow: hidden; max-width: 520px; }
.progress .bar span { display: block; height: 100%; width: 0; background: var(--pitch); transition: width .3s; }
.progress p { margin: .5em 0 0; }
.link { background: none; border: 0; color: var(--pitch); font: inherit; font-weight: 600; cursor: pointer; padding: 0 0 0 8px; text-decoration: underline; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.finder { margin-top: 28px; }
.finder form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.finder label { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); gap: 4px; }
input[type="date"] { font: inherit; font-size: 16px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); min-height: 44px; }
.results { margin-top: 16px; }
.results h4 { margin: 14px 0 6px; font-size: .95rem; }
.results ul { list-style: none; margin: 0; padding: 0; }
.results li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.results li a { font-weight: 600; text-decoration: none; color: var(--ink); }
.results .where { color: var(--muted); font-size: .9rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
  border-radius: 10px; border: 0; background: var(--pitch); color: var(--pitch-ink); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--pitch); border: 2px solid var(--pitch); }

.list-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin: 36px 0 14px; }
.list-head h2 { margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-size: .9rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; min-height: 36px; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.slist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.scard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.scard .thumb img, .scard .noimg { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--line); }
.scard .sbody { padding: 12px 14px 14px; }
.scard .sbody a { text-decoration: none; color: var(--ink); }
.scard .sub { margin: 0; color: var(--muted); font-size: .9rem; }
.scard .next { margin: 6px 0 0; font-size: .85rem; }
.scard.done { border-color: var(--pitch); }
.scard.done .thumb img { filter: saturate(.5); }
.scard.done::after { content: "VISITED"; position: absolute; top: 10px; left: 10px; background: var(--pitch); color: var(--pitch-ink);
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; }

/* tick button */
.tick { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px;
  padding: 8px 14px; border-radius: 10px; border: 2px solid var(--pitch); background: var(--surface); color: var(--pitch); }
.tick .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid currentColor; display: inline-block; position: relative; }
.tick[aria-pressed="true"] { background: var(--pitch); color: var(--pitch-ink); }
.tick[aria-pressed="true"] .box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
  border: solid currentColor; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.tick.small { position: absolute; top: 8px; right: 8px; padding: 0; width: 44px; height: 44px; justify-content: center;
  border-radius: 12px; box-shadow: var(--shadow); }

/* stadium page */
.stadium { padding-top: 16px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: inherit; }
.hero { margin: 0 0 16px; }
.hero img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); }
.hero figcaption { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.hero figcaption a { color: inherit; }
.title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.title-row .sub { color: var(--muted); margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 18px 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.facts span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts strong { font-size: 1.1rem; }
.note { border-left: 4px solid var(--flood); padding: 8px 12px; background: var(--surface); border-radius: 0 10px 10px 0; }
.stadium section { margin-top: 24px; }
.cta { border: 2px solid var(--pitch); }
.games { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.games th, .games td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.games th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tbc { color: var(--tbc); font-weight: 700; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.grid2 .card h2 { margin-top: 0; }
.plain { padding-left: 18px; margin: 0; }
.plain li { margin: 4px 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; }

/* stats + badges */
.stats { color: var(--muted); font-size: .95rem; margin-top: .4em; }
.badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.badge { background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column;
  gap: 2px; opacity: .55; filter: grayscale(1); transition: opacity .2s, filter .2s, transform .2s; }
.badge .bi { font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.badge strong { font-size: .95rem; }
.badge .bd { font-size: .8rem; color: var(--muted); }
.badge.on { opacity: 1; filter: none; border: 2px solid var(--flood); box-shadow: var(--shadow); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* cartoon map */
.cmap-scroll { border-radius: var(--radius); border: 3px solid #2d2a32; overflow: auto; background: #86c9ec;
  box-shadow: 5px 6px 0 rgba(45,42,50,.25); -webkit-overflow-scrolling: touch; }
.cmap { display: block; width: 100%; min-width: 640px; height: auto; }
.cmap .land { filter: drop-shadow(4px 6px 0 rgba(45,42,50,.22)); }
.cmap text { font-family: "Fredoka", -apple-system, sans-serif; pointer-events: none; }
.cmap .cty { fill: #2d2a32; fill-opacity: .5; font-weight: 700; letter-spacing: .12em; }
.cmap .sea { fill: #ffffff; fill-opacity: .85; font-weight: 600; font-style: italic; letter-spacing: .04em; }
.cmap .compass text { font-family: "Fredoka", sans-serif; }
.pin { cursor: pointer; outline: none; }
.pin .pin-shadow { fill: #2d2a32; fill-opacity: .25; }
.pin .bowl { fill: #ffffff; stroke: #2d2a32; stroke-width: 2.4; }
.pin .pitch { fill: #3aa35c; stroke: #2d2a32; stroke-width: 1.2; }
.pin .halfway { stroke: #ffffff; stroke-width: 1; }
.pin .star { display: none; }
.pin .star circle { fill: #ffc531; stroke: #2d2a32; stroke-width: 2; }
.pin .star path { fill: none; stroke: #2d2a32; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pin.done .star { display: inline; }
.pin.done .bowl { fill: #fff3c4; }
.pin .pin-label { font-size: 13px; font-weight: 700; fill: #2d2a32; paint-order: stroke; stroke: #ffffff; stroke-width: 4px;
  stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.pin:hover .pin-label, .pin:focus-visible .pin-label, .pin.active .pin-label { opacity: 1; }
.pin:hover .bowl, .pin.active .bowl, .pin:focus-visible .bowl { stroke-width: 3.4; }
.map-card { position: relative; margin-top: 12px; display: flex; gap: 14px; align-items: stretch; background: var(--surface);
  border: 3px solid #2d2a32; border-radius: var(--radius); overflow: hidden; box-shadow: 5px 6px 0 rgba(45,42,50,.2); }
.map-card[hidden] { display: none; }
.map-card img { width: 180px; object-fit: cover; flex-shrink: 0; }
.mc-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 44px 12px 0; }
.mc-body strong { font-family: "Fredoka", sans-serif; font-size: 1.2rem; }
.mc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.btn.small-btn, .tick.mini { min-height: 40px; padding: 6px 12px; font-size: .9rem; }
.mc-close { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.6rem;
  color: var(--muted); cursor: pointer; }

/* navigation */
.top .wrap { gap: 16px; }
.topnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.topnav a, .tabbar a { position: relative; color: var(--pitch-ink); text-decoration: none; font-family: "Fredoka", sans-serif; font-weight: 600; }
.topnav a { padding: 6px 10px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topnav a:hover { background: rgba(255,255,255,.12); }
.topnav a[aria-current="page"] { background: rgba(255,255,255,.18); }
.topnav .ni { font-size: 1rem; }
.nb { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--flood); color: #2d2a32; font-size: .72rem;
  font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.nb[hidden] { display: none; }
.tabbar { display: none; }
@media (max-width: 760px) {
  .topnav { display: none; }
  .tally { margin-left: auto; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--surface); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .tabbar a { color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .72rem; padding: 4px 0; min-height: 52px; justify-content: center; }
  .tabbar .ni { font-size: 1.35rem; line-height: 1; }
  .tabbar a[aria-current="page"] { color: var(--pitch); }
  .tabbar a[aria-current="page"] .nl { font-weight: 700; }
  .tabbar .nb { position: absolute; top: 0; left: 55%; }
}

/* add-to-trip buttons + toast */
.add-trip { font: inherit; font-size: .85rem; font-weight: 700; color: var(--pitch); background: var(--surface); border: 2px solid var(--pitch);
  border-radius: 999px; padding: 4px 10px; min-height: 34px; cursor: pointer; white-space: nowrap; }
.add-trip.on { background: var(--pitch); color: var(--pitch-ink); }
.add-trip.both { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: #2d2a32; color: #fff; padding: 10px 16px;
  border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* map: planned flag */
.pin .flag { display: none; }
.pin .flag line { stroke: #2d2a32; stroke-width: 2; }
.pin .flag path { fill: #ff7b6b; stroke: #2d2a32; stroke-width: 1.4; stroke-linejoin: round; }
.pin.planned .flag { display: inline; }

/* trips */
.trips-actions { margin-bottom: 12px; }
.trips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trip { display: flex; gap: 14px; background: var(--surface); border: 3px solid #2d2a32; border-radius: var(--radius); overflow: hidden;
  box-shadow: 5px 6px 0 rgba(45,42,50,.18); }
.trip img { width: 180px; object-fit: cover; flex-shrink: 0; }
.trip-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 12px 0; }
.trip-body strong { font-family: "Fredoka", sans-serif; font-size: 1.25rem; }
.trip-when { font-weight: 700; color: var(--pitch); }
.trip-status { font-weight: 600; }
.trip.is-moved .trip-status { color: #b8322a; }
.trip.is-tbc .trip-status { color: var(--tbc); }
.trip.is-gone { opacity: .6; }
.trips-empty[hidden] { display: none; }
.results li { align-items: center; }

/* groundle */
.gd-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gd-head h1 span { color: var(--muted); font-size: .7em; }
.gd-lede { margin-top: 0; }
.gd-board { border: 3px solid #2d2a32; box-shadow: 6px 7px 0 rgba(45,42,50,.2); max-width: 560px; }
.gd-stage { display: flex; justify-content: center; }
.gd-svg { width: min(100%, 320px); height: auto; display: block; }
.gd-outline { fill: #ffffff; stroke: #2d2a32; stroke-width: 3; stroke-linejoin: round; }
.gd-outline.draw { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; animation: gd-draw 1.4s ease forwards, gd-fill .4s 1.2s ease forwards; }
@keyframes gd-draw { to { stroke-dashoffset: 0; } }
@keyframes gd-fill { to { fill-opacity: 1; } }
.gd-pitch path:first-child { fill: #3aa35c; stroke: #2d2a32; stroke-width: 2; }
.gd-pitch .mk { fill: none; stroke: #ffffff; stroke-width: 2; }
.gd-pitch.pop { animation: gd-pop .45s ease-out; transform-origin: center; transform-box: fill-box; }
@keyframes gd-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.gd-compass text { font: 700 14px "Fredoka", sans-serif; fill: #2d2a32; }
.gd-compass path { fill: #ff7b6b; stroke: #2d2a32; stroke-width: 1.2; }
.gd-clues { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 6px; }
.gd-clues li { background: var(--bg); border-radius: 10px; padding: 8px 12px; font-weight: 600; animation: gd-pop .35s ease-out; }
.gd-form { display: flex; gap: 8px; }
.gd-input { position: relative; flex: 1; }
.gd-input input { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; min-height: 46px; border: 2px solid #2d2a32; border-radius: 12px;
  background: var(--surface); color: var(--ink); }
.gd-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; list-style: none; margin: 0; padding: 4px; background: var(--surface);
  border: 2px solid #2d2a32; border-radius: 12px; box-shadow: 4px 5px 0 rgba(45,42,50,.2); }
.gd-suggest li { padding: 8px 10px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; }
.gd-suggest li span { font-size: .8rem; color: var(--muted); }
.gd-suggest li.on, .gd-suggest li:hover { background: #fff3c4; color: #2d2a32; }
.gd-guesses { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.gd-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; min-height: 42px; padding: 6px 12px;
  border-radius: 10px; background: var(--surface); border: 2px solid var(--line); animation: gd-pop .3s ease-out; }
.gd-row.empty { border-style: dashed; background: transparent; animation: none; }
.gd-row.win { background: #dff3e6; border-color: var(--pitch); color: #14391f; grid-template-columns: 1fr auto; }
.gd-dir { font-size: 1.3rem; }
.gd-pct { font-weight: 700; color: var(--pitch); min-width: 3.2em; text-align: right; }
.gd-result { margin-top: 14px; }
.gd-result h2 { margin: 0 0 10px; }
.gd-answer { display: flex; gap: 12px; align-items: stretch; background: var(--bg); border-radius: 12px; overflow: hidden; }
.gd-answer img { width: 150px; object-fit: cover; }
.gd-answer > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 10px 0; }
.gd-answer strong { font: 600 1.2rem "Fredoka", sans-serif; }
.gd-share-row { align-items: center; margin-top: 12px; }
.gd-stats { margin-top: 16px; max-width: 560px; }
.gd-stats h2 { margin-top: 0; }
.gd-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; margin-bottom: 12px; }
.gd-nums strong { display: block; font: 700 1.8rem "Fredoka", sans-serif; }
.gd-nums span { font-size: .8rem; color: var(--muted); }
.gd-dist div { display: flex; align-items: center; gap: 8px; margin: 3px 0; }
.gd-dist span { width: 1em; font-weight: 700; }
.gd-dist b { background: var(--line); color: var(--ink); text-align: right; padding: 1px 6px; border-radius: 4px; font-size: .8rem; }
.gd-dist b.me { background: var(--pitch); color: var(--pitch-ink); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall 2.3s ease-in forwards; }
@keyframes fall { to { top: 105%; transform: translateX(40px) rotate(540deg); } }
.daily-teaser { display: flex; gap: 18px; align-items: center; text-decoration: none; color: inherit; border: 3px solid #2d2a32;
  box-shadow: 5px 6px 0 rgba(45,42,50,.2); margin-top: 24px; background: #fffaf0; }
.daily-teaser svg { width: 130px; height: 130px; flex-shrink: 0; }
.daily-teaser .gd-outline { fill: #fff; }
.daily-teaser h2 { margin: 2px 0 4px; color: #2d2a32; }
.daily-teaser p { margin: 0 0 10px; }
#spin { margin-top: 16px; }
.kicker { font: 700 .75rem "Fredoka", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--tbc); }

/* trip planner */
.trip-prefs { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 16px; }
.trip-prefs label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.trip-prefs input, .trip-prefs select { font: inherit; font-size: 16px; padding: 8px 10px; min-height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg); color: var(--ink); }
.trip-prefs input { width: 170px; text-transform: uppercase; }
.trip-prefs p { flex-basis: 100%; margin: 0; }
.trip { flex-direction: column; gap: 0; }
.trip-head { display: flex; gap: 14px; }
.planner { border-top: 2px dashed var(--line); padding: 12px 14px 14px; background: var(--bg); }
.pl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.pl-head strong { font: 600 1.05rem "Fredoka", sans-serif; }
.pl-head > span { color: var(--muted); font-size: .9rem; }
.pl-bar { flex-basis: 100%; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.pl-bar span { display: block; height: 100%; background: var(--pitch); transition: width .3s; }
.planner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.planner li { display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.planner li.done .pl-text { opacity: .55; }
.planner li.done .pl-text strong { text-decoration: line-through; }
.pl-check { width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--pitch); background: var(--surface); color: var(--pitch-ink);
  font-weight: 800; cursor: pointer; display: grid; place-items: center; }
.pl-check[aria-pressed="true"] { background: var(--pitch); }
.pl-icon { font-size: 1.3rem; }
.pl-text { display: flex; flex-direction: column; min-width: 0; }
.pl-text span { font-size: .85rem; color: var(--muted); }

/* passport */
.passport { border-radius: 18px; overflow: hidden; border: 3px solid #2d2a32; box-shadow: 6px 8px 0 rgba(45,42,50,.22); }
.pp-cover { background: #1d3b2a; color: #fff; display: flex; gap: 18px; align-items: center; padding: 22px; }
.pp-emblem { width: 72px; height: 72px; border-radius: 50%; border: 3px solid #e9c46a; display: grid; place-items: center; font-size: 2.2rem; flex-shrink: 0; }
.pp-kicker { margin: 0; color: #e9c46a; font-family: "Fredoka", sans-serif; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.pp-holder { display: flex; align-items: center; gap: 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #cfe3d6; margin: 6px 0; }
.pp-holder input { font: 600 1.3rem "Fredoka", sans-serif; color: #fff; background: transparent; border: 0; border-bottom: 2px dashed #e9c46a;
  padding: 2px 0; width: min(320px, 60vw); min-height: 40px; }
.pp-holder input::placeholder { color: #8fb39c; }
.pp-count { margin: 0; color: #cfe3d6; }
.pp-count strong { color: #fff; }
.pp-pages { background: #fbf6e9; padding: 18px;
  background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(45,42,50,.05) 27px 28px); }
.pp-hint { margin: 0 0 12px; color: #6b6355; font-size: .9rem; }
.stamps li { min-width: 0; }
.stamps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.stamp-slot { width: 100%; aspect-ratio: 1; border-radius: 14px; border: 2px dashed rgba(45,42,50,.22); background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px; color: rgba(45,42,50,.45); font: inherit; }
.stamp-slot:hover { border-color: var(--pitch); color: var(--pitch); }
.slot-name { font-weight: 700; font-size: .85rem; text-align: center; overflow-wrap: anywhere; }
.stamp-slot { min-width: 0; }
.slot-city { font-size: .75rem; }
.stamp-slot.stamped { border-color: transparent; padding: 2px; }
.stamp-svg { width: 100%; height: 100%; mix-blend-mode: multiply; opacity: .92; font-family: -apple-system, Arial, sans-serif; }
.stamp-slot.stamped:hover .stamp-svg { opacity: 1; }
.pp-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.stamp-dialog { border: 3px solid #2d2a32; border-radius: var(--radius); padding: 20px; background: var(--surface); color: var(--ink); max-width: 360px; }
.stamp-dialog::backdrop { background: rgba(0,0,0,.4); }
.stamp-dialog label { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; }

/* showdown */
.sd-board { background: #2d6a46; border-radius: 18px; padding: 16px; border: 3px solid #2d2a32; box-shadow: 6px 8px 0 rgba(45,42,50,.22);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 60px, transparent 60px 120px); }
.sd-score { display: flex; justify-content: space-between; color: #fff; font-family: "Fredoka", sans-serif; font-weight: 600; margin-bottom: 12px; }
.sd-score strong { color: var(--flood); font-size: 1.3rem; }
.sd-cards { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.sd-vs { font: 700 1.6rem "Fredoka", sans-serif; color: var(--flood); text-shadow: 2px 2px 0 #2d2a32; }
.tcard { background: #fffaf0; border: 3px solid #2d2a32; border-radius: 16px; overflow: hidden; box-shadow: 4px 5px 0 rgba(0,0,0,.25);
  transition: transform .25s; max-width: 300px; margin: 0 auto; color: #2d2a32; }
.tcard img, .tcard .noimg { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-bottom: 3px solid #2d2a32; }
.tc-title { padding: 8px 12px 4px; display: flex; flex-direction: column; }
.tc-title strong { font: 600 1.1rem "Fredoka", sans-serif; }
.tc-title span { font-size: .8rem; color: #6b6355; }
.tc-stats { list-style: none; margin: 0; padding: 6px 8px 10px; display: grid; gap: 6px; }
.tc-stats button, .tc-stats div { width: 100%; display: flex; justify-content: space-between; align-items: center; font: inherit; font-size: .92rem;
  padding: 8px 10px; border-radius: 10px; border: 2px solid #e6dcc6; background: #fff; color: #2d2a32; min-height: 40px; }
.tc-stats button { cursor: pointer; }
.tc-stats button:hover, .tc-stats button:focus-visible { border-color: #2d2a32; background: #fff3c4; }
.tc-stats .chosen { border-color: #2d2a32; background: #fff3c4; font-weight: 700; }
.tcard.win { transform: translateY(-6px) rotate(-1.5deg); box-shadow: 0 0 0 4px var(--flood), 4px 8px 0 rgba(0,0,0,.25); }
.tcard.lose { opacity: .7; transform: rotate(1.5deg); }
.tcard.back { aspect-ratio: 5/7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: repeating-linear-gradient(45deg, #ffd166 0 14px, #ffc531 14px 28px); font-family: "Fredoka", sans-serif; font-size: 1.1rem; }
.tcard.back span { font-size: 3rem; }
.sd-msg { color: #fff; text-align: center; min-height: 1.6em; font-weight: 600; margin: 14px 0 8px; }
.sd-controls { justify-content: center; }
.sd-controls .btn.ghost { color: #fff; border-color: #fff; }
.sd-rules { margin-top: 16px; }

/* top nav old rule replaced */

/* spin */
.spin { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; border: 3px solid #2d2a32; box-shadow: 5px 6px 0 rgba(45,42,50,.2); }
.spin h2 { margin: 0; }
.spin p { margin: 2px 0 0; }
.spin-reel { min-width: 230px; height: 56px; border-radius: 12px; background: #2d2a32; color: var(--flood); display: flex; align-items: center;
  justify-content: center; font-family: "Fredoka", sans-serif; font-size: 1.15rem; font-weight: 600; padding: 0 12px; text-align: center; overflow: hidden; }
.spin-reel.spinning span { animation: reel .09s linear infinite; }
.spin-reel .landed { animation: pop .35s ease-out; color: #ffffff; }
@keyframes reel { from { transform: translateY(-30%); opacity: .4; } to { transform: translateY(30%); opacity: 1; } }
@keyframes pop { 0% { transform: scale(.7); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.spin-btn { min-width: 120px; background: var(--flood); color: #2d2a32; border: 3px solid #2d2a32; font-family: "Fredoka", sans-serif; font-size: 1.1rem; }
.spin-result { grid-column: 1 / -1; display: flex; gap: 14px; align-items: stretch; }
.spin-result[hidden] { display: none; }
.spin-result img { width: 200px; border-radius: 10px; object-fit: cover; }
.spin-result > div { display: flex; flex-direction: column; gap: 3px; }
.spin-result strong { font-family: "Fredoka", sans-serif; font-size: 1.25rem; }

/* quiz */
.quiz, .quiz-end { border: 3px solid #2d2a32; box-shadow: 5px 6px 0 rgba(45,42,50,.2); max-width: 720px; }
.quiz[hidden], .quiz-end[hidden] { display: none; }
.q-top { display: flex; justify-content: space-between; font-weight: 700; font-family: "Fredoka", sans-serif; margin-bottom: 10px; }
.q-photo { margin: 0 0 12px; }
.q-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; background: var(--line); }
.q-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-opt { font: inherit; font-weight: 700; text-align: left; padding: 12px 14px; min-height: 56px; border-radius: 12px; cursor: pointer;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink); display: flex; flex-direction: column; }
.q-opt .muted { font-weight: 400; font-size: .85rem; }
.q-opt:hover:not(:disabled) { border-color: var(--pitch); }
.q-opt.right { border-color: var(--pitch); background: #dff3e6; color: #14391f; }
.q-opt.wrong { border-color: #d64545; background: #fbe3e3; color: #5c1414; }
.q-opt:disabled { cursor: default; }
.q-feedback { min-height: 1.6em; margin: 12px 0; font-weight: 600; }
.quiz-end h2 { font-size: 3rem; margin: 0; }

/* ticket helper */
.tickets-help { border: 3px solid #2d2a32; box-shadow: 5px 6px 0 rgba(45,42,50,.18); }
.tickets-help h2 { margin-top: 0; }
.th-club { padding: 14px 0; border-top: 1px dashed var(--line); }
.th-club:first-of-type { border-top: 0; padding-top: 4px; }
.th-club h3 { margin: 0 0 6px; }
.th-price { font: 700 2rem/1.1 "Fredoka", sans-serif; color: var(--pitch); margin: 0 0 8px; display: flex; flex-direction: column; }
.th-price span { font: 400 .8rem -apple-system, sans-serif; color: var(--muted); margin-top: 2px; }
.th-price.guide { color: var(--tbc); }
.th-price.none { font-size: 1.3rem; color: var(--muted); }
.th-chips { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.th-chips li { font-size: .85rem; font-weight: 600; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.th-chips li.warn { border-color: var(--tbc); color: var(--tbc); }
.th-chips li.ok { border-color: var(--pitch); color: var(--pitch); }
.th-when { margin: 0 0 6px; }
.th-meta { margin: 8px 0 0; }
.th-meta a { margin-right: 2px; }
.th-warn { margin-bottom: 0; color: var(--muted); }
.th-gt { margin: 0 0 8px; }
.th-legend { margin: 12px 0 6px; color: var(--muted); }
.th-stale { color: var(--tbc); font-weight: 700; }
.th-report { font-weight: 700; }
/* "Gettable" labels (ROADMAP step 1): the club's usual ticket access, next to every fixture */
.gt { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: help; }
.gt-o { border-color: var(--pitch); color: var(--pitch); }
.gt-v { border-color: var(--tbc); color: var(--tbc); }
.gt-m { border-color: #c4452d; color: #c4452d; }
.gt.rough { border-style: dashed; }
.getin-ban-wrap { margin-top: 22px; }
.getin-ban { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; text-decoration: none; color: #fff; border: 2.5px solid var(--edge);
  border-radius: 20px; padding: 22px 26px; box-shadow: 6px 7px 0 var(--edge-soft); position: relative; overflow: hidden;
  background: linear-gradient(135deg, #17492f 0%, #1f6f43 60%, #2f9e62 100%); }
.getin-ban::after { content: "🎟️"; position: absolute; right: -10px; bottom: -34px; font-size: 9rem; opacity: .09; transform: rotate(-14deg); pointer-events: none; }
.getin-ban:hover { transform: translateY(-2px); }
.gb-num { text-align: center; background: var(--flood); color: #1b1d22; border: 2.5px solid #1b1d22; border-radius: 18px; padding: 14px 22px; box-shadow: 0 4px 0 #1b1d22; transform: rotate(-3deg); }
.gb-num strong { display: block; font: 700 clamp(3rem, 9vw, 4.6rem)/1 "Fredoka", sans-serif; }
.gb-num span { font-weight: 700; font-size: .9rem; }
.gb-kicker { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--flood); }
.getin-ban h2 { color: #fff; font-size: clamp(1.4rem, 4vw, 2rem); margin: 4px 0 8px; }
.getin-ban p { margin: 0 0 14px; color: rgba(255,255,255,.9); max-width: 40em; }
@media (max-width: 640px) { .getin-ban { grid-template-columns: 1fr; padding: 18px; gap: 14px; } .gb-num { justify-self: start; padding: 10px 18px; } }
.gi-hero { margin-bottom: 8px; }
.gi-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; margin: 16px 0; }
.gi-stats li { background: var(--surface); border: 2.5px solid var(--edge); border-radius: 16px; box-shadow: 4px 5px 0 var(--edge-soft); padding: 12px 14px; text-align: center; }
.gi-stats strong { display: block; font: 700 2.2rem/1 "Fredoka", sans-serif; color: var(--pitch); }
.gi-stats span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.gi-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 8px; }
.gi-how > div { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.gi-how p { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) { .gi-stats, .gi-how { grid-template-columns: 1fr; } .gi-stats li { display: flex; align-items: center; gap: 12px; text-align: left; } .gi-stats strong { font-size: 1.8rem; min-width: 2.2ch; } }
.get-in li { align-items: center; }
.gi-actions { display: inline-flex; gap: 8px; align-items: center; flex-shrink: 0; }
@media (max-width: 560px) { .get-in li { flex-direction: column; align-items: flex-start; } }
.gt[data-plan] { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.gt[data-plan]:hover, .gt[data-plan]:focus-visible { background: var(--line); }
/* the "ways in and Plan B" panel */
.plan-dlg { border: 3px solid var(--edge); border-radius: var(--radius); padding: 20px 22px; background: var(--surface); color: var(--ink);
  width: min(560px, calc(100vw - 24px)); max-height: 86vh; overflow-y: auto; }
.plan-dlg::backdrop { background: rgba(0,0,0,.45); }
.plan-dlg h3 { margin: 0 28px 2px 0; }
.plan-dlg h4 { margin: 16px 0 6px; }
.plan-x { position: absolute; top: 8px; right: 10px; font-size: 1.6rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink); }
.plan-why { margin: 8px 0; }
.plan-route { margin: 8px 0; padding: 8px 10px; border-radius: 10px; background: var(--bg); border: 1.5px solid var(--edge-soft); }
.plan-routes { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 8px; }
.plan-b { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-b li { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 10px; border: 1.5px solid var(--edge-soft); border-radius: 12px; }
.plan-b .where { display: block; font-size: .8rem; color: var(--muted); }
.gt-e { border-color: #5a4bd1; color: #5a4bd1; }
.th-euro { margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed var(--line); }
.th-euro h4 { margin: 0 0 6px; font-size: 1rem; }
.euro-price { font-size: 1.05rem; }
/* European games: a competition chip beside the fixture, and a tag on the ground's page */
.euro { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap;
  background: #ece9ff; color: #3d2fb5; border: 1.5px solid #cfc8ff; }
.eu-tag { display: inline-block; margin: 6px 6px 0 0; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: rgba(255,255,255,.92); color: #3d2fb5; }
.gt + .where, .derby + .where { margin-left: 8px; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.chk input { width: auto; }
.easy-bar { margin: 8px 0 12px; }
/* "No membership needed" switch: lists carry data-gt on each game (o = open sale); the rest hide while it is on */
.easy-only li[data-gt]:not([data-gt="o"]) { display: none; }
.easy-empty { display: none !important; }
.from { font-weight: 700; color: var(--pitch); font-size: .85rem; margin: 4px 0 0; }
.trip-tix { font-size: .9rem; }

/* double-headers */
.dhs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dh { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 34px 14px 12px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.dh > div { display: flex; flex-direction: column; min-width: 0; }
.dh > div.here { font-weight: 600; }
.dh a { color: var(--ink); text-decoration: none; }
.dh a:hover { text-decoration: underline; }
.dh .when { font-size: .8rem; color: var(--muted); }
.dh .where { font-size: .85rem; color: var(--muted); }
.dh .plus { font-size: 1.4rem; font-weight: 800; color: var(--pitch); }
.dh-tag { position: absolute; top: 8px; left: 14px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pitch); }
.dh-ok, .dh-tbc { position: absolute; top: 8px; right: 14px; font-size: .72rem; font-weight: 700; border-radius: 6px; padding: 1px 6px; }
.dh-ok { background: var(--pitch); color: var(--pitch-ink); }
.dh-tbc { background: transparent; color: var(--tbc); border: 1px solid var(--tbc); }
h3.wk { margin: 22px 0 10px; font-size: 1rem; }

@media (max-width: 560px) {
  .spin { grid-template-columns: 1fr; }
  .daily-teaser svg { width: 96px; height: 96px; }
  .gd-row { grid-template-columns: 1fr auto auto; }
  .gd-row .gd-pct { display: none; }
  .gd-answer { flex-direction: column; }
  .gd-answer img { width: 100%; height: 140px; }
  .gd-answer > div { padding: 0 12px 12px; }
  .gd-nums strong { font-size: 1.4rem; }
  .spin-reel { min-width: 0; }
  .spin-result { flex-direction: column; }
  .spin-result img { width: 100%; height: 160px; }
  .q-options { grid-template-columns: 1fr; }
  .trip-head { flex-direction: column; gap: 0; }
  .trip img { width: 100%; height: 140px; }
  .planner li { grid-template-columns: auto 1fr; }
  .planner li .pl-icon { display: none; }
  .planner li .btn { grid-column: 1 / -1; justify-self: stretch; }
  .trip-body { padding: 12px 14px; }
  .pp-cover { flex-direction: column; align-items: flex-start; }
  .stamps { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .slot-name { font-size: .7rem; }
  .slot-city { font-size: .65rem; }
  .stamp-slot { padding: 4px; }
  .sd-cards { grid-template-columns: 1fr 1fr; }
  .sd-vs { display: none; }
  .tc-stats button, .tc-stats div { font-size: .8rem; padding: 6px; flex-direction: column; align-items: flex-start; }
  .tc-title strong { font-size: .95rem; }
  .games td:last-child { padding-left: 0; }
  .map-card { flex-direction: column; gap: 0; }
  .map-card img { width: 100%; height: 150px; }
  .mc-body { padding: 12px 14px; }
  .dh { grid-template-columns: 1fr; gap: 4px; }
  .dh .plus { justify-self: start; line-height: 1; }
  .games th:nth-child(3), .games td:nth-child(3) { white-space: nowrap; }
  .games th, .games td { padding: 8px; font-size: .9rem; }
  .title-row .tick { width: 100%; justify-content: center; }
  .finder form label { flex: 1 1 140px; }
  .finder form .btn { flex: 1 1 100%; }
}
.sd-controls .btn:not(.ghost) { background: var(--flood); color: #2d2a32; border: 3px solid #2d2a32; }

/* ---- derbies, matchday guide, weekend and city pages (2026-11-05) ---- */
.derby { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: rgba(214, 69, 47, .12); color: #c8402b; white-space: nowrap; vertical-align: 1px; }
:root[data-theme="dark"] .derby { color: #ff8a73; background: rgba(255, 120, 95, .14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .derby { color: #ff8a73; background: rgba(255, 120, 95, .14); } }
.matchday { margin-top: 24px; }
.matchday .wide { grid-column: 1 / -1; }
.md-list { list-style: none; padding: 0; margin: 0; }
.md-list li { padding: 4px 0; }
.matchday ul.plain { list-style: none; padding: 0; margin: 0; }
.wx { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.wx li { text-align: center; border-radius: 10px; padding: 8px 2px; display: flex; flex-direction: column; gap: 1px; font-size: .8rem;
  background: color-mix(in srgb, hsl(calc(230 - var(--t) * 7.5) 75% 55%) 22%, var(--surface)); }
.wx .mo { font-weight: 700; color: var(--muted); }
.wx strong { font: 600 1.05rem "Fredoka", sans-serif; }
.wx .lo { color: var(--muted); }
.glist { list-style: none; margin: 0; padding: 0; }
.glist li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.glist li > div { min-width: 0; }
.glist li a { text-decoration: none; color: var(--ink); }
.glist .where { display: block; color: var(--muted); font-size: .88rem; }
.day { margin: 22px 0 4px; font-size: 1rem; }
.weekend section, .city section { margin-top: 26px; }
.big-games { margin-top: 20px; }
.big-games h2 { margin-bottom: 4px; }
.wk-nav { display: flex; justify-content: space-between; gap: 10px; margin: 16px 0; font-size: .92rem; flex-wrap: wrap; }
.wk-list { list-style: none; padding: 0; margin: 16px 0 0; }
.wk-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.weekend-teaser { margin-top: 24px; }
.weekend-teaser h2 { margin: 6px 0 8px; }
.weekend-teaser .glist { margin-bottom: 14px; }
#derbies, #cities { margin-top: 28px; }
#cities .chips { display: flex; flex-wrap: wrap; gap: 8px; }
#cities .chip { text-decoration: none; }
.city .slist { margin-top: 18px; }
.city > .card { margin-top: 20px; }
@media (max-width: 640px) {
  .wx { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .glist li { align-items: flex-start; }
}
.derby-line { margin: 0 0 10px; } .derby-line .derby { margin-left: 0; }

/* ================= games (2026-11-05): Radar, Ground Connections, Higher or Lower, hub ================= */
.game-page .lede { max-width: 640px; }
/* Radar */
.radar-board { padding: 14px; }
.radar-map { position: relative; margin-bottom: 14px; }
.radar-map .cmap-scroll { overflow: hidden; }
.radar-map .cmap { min-width: 0; }
.radar-map .pin .pin-label { font-size: 15px; }
.rd-halo { fill: none; stroke: #fff; stroke-width: 9; opacity: .75; }
.rd-ring { fill: none; stroke: var(--heat); stroke-width: 4.5; stroke-dasharray: 12 7; }
.rd-halo.grow, .rd-ring.grow { animation: rdGrow .9s cubic-bezier(.2,.8,.3,1) both; }
.rd-pulse { fill: none; stroke: var(--heat); stroke-width: 6; animation: rdPulse 1.6s ease-out both; }
@keyframes rdGrow { from { transform: scale(0); opacity: 0; } 60% { opacity: 1; } to { transform: scale(1); } }
@keyframes rdPulse { from { transform: scale(0); opacity: .9; } to { transform: scale(1.12); opacity: 0; } }
.rd-needle .rd-dial { fill: rgba(255,250,240,.55); stroke: #2d2a32; stroke-width: 2.5; stroke-dasharray: 4 4; }
.rd-needle .rd-arrow { fill: #e8432f; stroke: #2d2a32; stroke-width: 3; stroke-linejoin: round; }
.rd-needle { pointer-events: none; }
.rd-spin { transform-origin: 0 0; transform: rotate(var(--to)); }
.rd-spin.spinning { animation: rdSpin 1.1s cubic-bezier(.15,.85,.35,1.15) both; }
@keyframes rdSpin { from { transform: rotate(0deg); } to { transform: rotate(var(--to)); } }
.rd-needle.old { opacity: .55; }
.rd-needle.old .rd-dial { display: none; }
.radar-map .pin.rd-guessed .bowl { fill: var(--heat, #fff); stroke-width: 3; }
.radar-map .pin.rd-guessed .pin-label { opacity: 1; }
.radar-map .pin.rd-drop { animation: rdDrop .55s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes rdDrop { from { translate: 0 -70px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.radar-map .pin.rd-win .bowl, .radar-map .pin.rd-answer .bowl { fill: #ffc531; stroke-width: 3.4; }
.radar-map .pin.rd-win .pin-label, .radar-map .pin.rd-answer .pin-label { opacity: 1; font-size: 18px; }
.rd-glow { fill: rgba(255,197,49,.35); stroke: #ffc531; stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: rdGlow 1.4s ease-in-out infinite alternate; }
.rd-glow:not(.won) { fill: rgba(232,67,47,.18); stroke: #e8432f; }
@keyframes rdGlow { from { transform: scale(.8); opacity: .6; } to { transform: scale(1.35); opacity: 1; } }
.radar-bubble { position: absolute; z-index: 5; transform: translate(-50%, calc(-100% - 34px)); background: #2d2a32; color: #fff; padding: 7px 12px;
  border-radius: 12px; font: 600 .95rem "Fredoka", sans-serif; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.3); pointer-events: none;
  animation: bubbleIn .35s cubic-bezier(.3,1.5,.5,1) both; display: flex; gap: 6px; align-items: baseline; }
.radar-bubble span { font-size: .78rem; opacity: .85; }
.radar-bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: #2d2a32; }
@keyframes bubbleIn { from { opacity: 0; transform: translate(-50%, calc(-100% - 20px)) scale(.7); } }
.rd-row { border-left: 6px solid var(--line); }
.rd-row.rd-scorch { border-left-color: #e8432f; } .rd-row.rd-hot { border-left-color: #ff8c2e; } .rd-row.rd-warm { border-left-color: #ffc531; }
.rd-row.rd-cool { border-left-color: #3aa0e8; } .rd-row.rd-cold { border-left-color: #5b8fd1; }
.radar-tip { margin: 8px 0 0; }
/* Ground Connections */
.conn-board { padding: 16px; }
.conn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.conn-tile { font: inherit; min-height: 74px; padding: 8px 6px; border-radius: 12px; border: 2px solid #2d2a32; background: #f3ecdc; color: #2d2a32; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; transition: transform .12s, background .12s;
  box-shadow: 0 3px 0 #2d2a32; }
.conn-tile strong { font: 600 .92rem/1.15 "Fredoka", sans-serif; overflow-wrap: anywhere; }
.conn-tile span { font-size: .72rem; opacity: .7; }
.conn-tile:active { transform: translateY(2px); box-shadow: 0 1px 0 #2d2a32; }
.conn-tile.on { background: #1f6f43; color: #fff; border-color: #0f3a22; box-shadow: 0 3px 0 #0f3a22; transform: translateY(-1px); }
.conn-tile.jump { animation: cnJump .45s ease both; }
.conn-tile.shake { animation: cnShake .4s ease; }
@keyframes cnJump { 40% { transform: translateY(-12px); } }
@keyframes cnShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.conn-group { border-radius: 12px; padding: 12px; margin-bottom: 8px; text-align: center; color: #2d2a32; border: 2px solid #2d2a32; }
.conn-group strong { display: block; font: 700 1rem "Fredoka", sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.conn-group span { font-size: .88rem; }
.conn-group.pop { animation: cnPop .45s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes cnPop { from { transform: scale(.85); opacity: 0; } }
.c-yellow { background: #f9d65c; } .c-green { background: #a3d977; } .c-blue { background: #9cc3f5; } .c-purple { background: #c9a6eb; }
.conn-msg { min-height: 1.5em; text-align: center; font-weight: 700; margin: 12px 0 4px; }
.conn-msg.flash { animation: cnPop .3s ease; }
.conn-lives { text-align: center; color: var(--muted); font-size: .9rem; display: flex; justify-content: center; align-items: center; gap: 6px; }
.life { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); display: inline-block; }
.life.lost { background: var(--line); }
.conn-actions { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.conn-actions .btn[disabled] { opacity: .45; cursor: default; }
/* Higher or Lower */
.hl-board { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; margin-top: 16px; position: relative; }
.hl-card { position: relative; min-height: 360px; }
.hl-face { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; border: 3px solid #2d2a32; background: #2d2a32 center/cover no-repeat;
  color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.hl-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,.35), rgba(10,14,20,.8)); }
.hl-text { position: relative; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hl-text h2 { margin: 0; font-size: 1.5rem; }
.hl-city { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.hl-q { opacity: .85; font-size: .95rem; }
.hl-val { font: 700 2.6rem/1 "Fredoka", sans-serif; color: #ffc531; }
.hl-btns { display: flex; flex-direction: column; gap: 8px; margin: 6px 0; }
.hl-btns .btn { min-width: 170px; }
.hl-face.enter { animation: hlIn .45s cubic-bezier(.3,1.3,.5,1) both; }
.hl-face.right { box-shadow: inset 0 0 0 4px #3aa35c; }
.hl-face.wrong { box-shadow: inset 0 0 0 4px #e8432f; animation: cnShake .4s ease; }
@keyframes hlIn { from { transform: translateX(40px) scale(.95); opacity: 0; } }
.hl-board.slide .hl-card { transition: transform .4s ease, opacity .4s; transform: translateX(-30px); opacity: 0; }
.hl-vs { display: flex; align-items: center; }
.hl-vs span { width: 52px; height: 52px; border-radius: 50%; background: #ffc531; color: #2d2a32; border: 3px solid #2d2a32; display: grid; place-items: center;
  font: 700 1rem "Fredoka", sans-serif; }
.hl-over { position: absolute; inset: 0; border-radius: var(--radius); background: rgba(20,24,31,.92); color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; animation: cnPop .35s ease both; z-index: 2; }
.hl-over h2 { margin: 0; }
.hl-bar { display: flex; justify-content: center; gap: 28px; margin-top: 14px; font-size: 1.05rem; }
/* Games hub */
.streak-card { display: flex; align-items: center; gap: 16px; margin: 16px 0 24px; flex-wrap: wrap; }
.streak-card > div:nth-child(2) { flex: 1; min-width: 180px; }
.streak-flame { font-size: 2.6rem; filter: grayscale(1); opacity: .5; }
.streak-card.lit .streak-flame { filter: none; opacity: 1; animation: flicker 1.6s ease-in-out infinite alternate; }
@keyframes flicker { to { transform: scale(1.08) rotate(-3deg); } }
.streak-num { font: 700 2.2rem/1 "Fredoka", sans-serif; margin-right: 8px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 26px; }
.game-card { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); transition: transform .15s; }
.game-card:hover { transform: translateY(-2px); }
.game-card h3 { margin: 0 0 2px; }
.game-card p { margin: 0; font-size: .9rem; }
.gc-icon { font-size: 2.2rem; }
.gc-status { display: block; margin-top: 6px; font-size: .82rem; font-weight: 700; color: var(--tbc); }
.game-card.played .gc-status { color: var(--pitch); }
@media (max-width: 640px) {
  .conn-grid { gap: 6px; }
  .conn-tile { min-height: 64px; padding: 6px 3px; }
  .conn-tile strong { font-size: .78rem; }
  .conn-tile span { display: none; }
  .hl-board { grid-template-columns: 1fr; gap: 0; }
  .hl-card { min-height: 230px; }
  .hl-vs { justify-content: center; margin: -22px 0; z-index: 3; position: relative; }
  .hl-text h2 { font-size: 1.25rem; }
  .hl-text { padding-top: 30px; }
  .hl-val { font-size: 2.1rem; }
  .radar-bubble { font-size: .85rem; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-glow, .streak-card.lit .streak-flame { animation: none; }
}
.more-games { margin: 10px 2px 0; font-weight: 600; }

/* ================= levels, sticker album, "Been there?" swipe (2026-11-06) ================= */
.level-card { display: flex; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.lv-icon { font-size: 2.6rem; line-height: 1; }
.lv-body { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 3px; }
.lv-title { font: 700 1.35rem/1.1 "Fredoka", sans-serif; }
.lv-bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 4px 0; }
.lv-bar span { display: block; height: 100%; background: linear-gradient(90deg, #39a35c, #ffc531); border-radius: 99px; transition: width .6s ease; }
.lv-next { font-size: .88rem; } .lv-parts { font-size: .8rem; }
.swipe-invite { display: flex; gap: 18px; align-items: center; margin-top: 18px; border: 3px solid #2d2a32; background: #fffaf0; color: #2d2a32; box-shadow: 5px 6px 0 rgba(45,42,50,.2); }
.swipe-invite h2 { margin: 0 0 4px; color: #2d2a32; } .swipe-invite .muted { color: #5d6573; margin: 0 0 10px; }
.si-fan { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.si-fan span { position: absolute; inset: 10px 25px; border-radius: 10px; border: 3px solid #2d2a32; background: #ccc center/cover; box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.si-fan span:nth-child(1) { transform: rotate(-14deg) translateX(-18px); }
.si-fan span:nth-child(2) { transform: rotate(2deg); }
.si-fan span:nth-child(3) { transform: rotate(16deg) translateX(18px); }
.album-teaser { display: flex; gap: 14px; align-items: center; margin: 14px 0 22px; text-decoration: none; color: var(--ink); }
.album-teaser h3 { margin: 0 0 2px; } .album-teaser p { margin: 0; font-size: .9rem; }
/* overlays */
.pg-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(10,14,20,.72); display: flex; align-items: center; justify-content: center; padding: 16px;
  animation: pgIn .2s ease both; }
.pg-overlay.out { animation: pgOut .2s ease both; }
@keyframes pgIn { from { opacity: 0; } } @keyframes pgOut { to { opacity: 0; } }
.pg-sheet { background: var(--surface); color: var(--ink); border: 3px solid #2d2a32; border-radius: 20px; padding: 22px; width: 100%; max-width: 420px;
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.4); animation: cnPop .35s cubic-bezier(.3,1.5,.5,1) both; max-height: calc(100vh - 32px); overflow: auto; }
.pg-sheet h2 { margin: 4px 0 8px; }
.pg-sheet .mc-actions { justify-content: center; }
.lvup-icon { font-size: 4rem; line-height: 1; animation: lvBounce 1s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes lvBounce { from { transform: scale(0) rotate(-30deg); } }
/* swipe */
.swipe-ov .pg-sheet { max-width: 400px; padding: 16px; }
.sw-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sw-top .kicker { margin: 0; }
.sw-count { font-weight: 700; color: var(--muted); }
.sw-stack { position: relative; height: min(56vh, 440px); margin: 12px 0; }
.sw-card { position: absolute; inset: 0; border-radius: 18px; border: 3px solid #2d2a32; background: #2d2a32 center/cover; color: #fff; overflow: hidden;
  touch-action: none; user-select: none; cursor: grab; text-align: left;
  transform: translateY(calc(var(--d) * 10px)) scale(calc(1 - var(--d) * .04)); transition: transform .25s ease, opacity .25s; }
.sw-card.dragging { transition: none; cursor: grabbing; }
.sw-card.gone.to-yes { transform: translateX(140%) rotate(22deg); opacity: 0; }
.sw-card.gone.to-no { transform: translateX(-140%) rotate(-22deg); opacity: 0; }
.sw-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85)); }
.sw-text { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.sw-text h2 { margin: 0; color: #fff; font-size: 1.7rem; }
.sw-text span { opacity: .9; }
.sw-stamp { position: absolute; top: 22px; padding: 4px 12px; border: 4px solid; border-radius: 10px; font: 700 1.5rem "Fredoka", sans-serif; letter-spacing: .06em; }
.sw-stamp.yes { left: 18px; color: #4ddc7e; transform: rotate(-12deg); opacity: var(--yes, 0); }
.sw-stamp.no { right: 18px; color: #ff6b5b; transform: rotate(12deg); opacity: var(--no, 0); }
.sw-card.to-yes .sw-stamp.yes, .sw-card.to-no .sw-stamp.no { opacity: 1; }
.sw-btns { display: flex; justify-content: center; gap: 28px; }
.sw-btns button { width: 74px; height: 74px; border-radius: 50%; border: 3px solid #2d2a32; font-size: 1.9rem; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; line-height: 1; box-shadow: 0 4px 0 #2d2a32; transition: transform .1s; }
.sw-btns button span { font-size: .62rem; font-weight: 700; margin-top: 3px; }
.sw-btns button:active { transform: translateY(3px); box-shadow: 0 1px 0 #2d2a32; }
.sw-no { background: #ffe1dc; color: #c8402b; } .sw-yes { background: #d6f5df; color: #1f6f43; }
.sw-hint { margin: 10px 0 0; }
.sw-end { margin-top: 14px; }
/* stickers */
.sticker { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; border: 3px solid var(--st, #2d2a32); background: #fffaf0; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 3px 0 rgba(45,42,50,.35); color: #2d2a32; text-align: left; }
.st-photo { flex: 1; background: #ddd center/cover; display: grid; place-items: center; font-size: 2rem; }
.st-band { background: var(--st, #2d2a32); color: #fff; padding: 5px 7px; display: flex; flex-direction: column; }
.st-band strong { font: 600 .82rem/1.15 "Fredoka", sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-band span { font-size: .66rem; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-no { position: absolute; top: 5px; left: 5px; background: #fff; color: #2d2a32; border: 2px solid #2d2a32; border-radius: 99px; font: 700 .7rem/1 "Fredoka", sans-serif; padding: 3px 6px; }
.st-dup { position: absolute; top: 5px; right: 5px; background: #ffc531; color: #2d2a32; border: 2px solid #2d2a32; border-radius: 99px; font: 700 .72rem/1 "Fredoka", sans-serif; padding: 3px 6px; }
.sticker.shiny::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.75) 35%, rgba(255,120,220,.5) 45%, rgba(120,220,255,.55) 55%, transparent 70%) 0 0 / 250% 250%;
  animation: holo 3.2s linear infinite; }
.sticker.shiny { box-shadow: 0 0 0 2px #ffc531, 0 3px 12px rgba(255,197,49,.55); }
@keyframes holo { from { background-position: 100% 100%; } to { background-position: 0 0; } }
.sticker.is-new { animation: stNew 1s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes stNew { from { transform: scale(.4) rotate(-10deg); opacity: 0; } }
.sticker.empty { border: 2px dashed var(--line); background: transparent; box-shadow: none; align-items: center; justify-content: center; padding: 8px; color: var(--muted); }
.sticker.empty .st-no { background: var(--surface); color: var(--muted); border-color: var(--line); }
.st-ghost { font: 600 .78rem/1.2 "Fredoka", sans-serif; text-align: center; opacity: .55; }
/* album page */
.al-summary { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.al-summary .bar { height: 12px; border-radius: 99px; background: var(--line); overflow: hidden; }
.al-summary .bar span { display: block; height: 100%; background: linear-gradient(90deg, #39a35c, #ffc531); }
.al-page { margin-top: 26px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.al-page.full { border: 3px solid #ffc531; }
.al-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.al-head h2 { margin: 0 0 12px; }
.al-prog { font-weight: 700; color: var(--muted); }
.al-page.full .al-prog { color: #b8860b; }
.al-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
/* pack reveal */
.pack { perspective: 900px; width: 190px; height: 253px; margin: 12px auto; cursor: pointer; }
.pack-inner { position: relative; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.3,1.3,.5,1); transform-style: preserve-3d; }
.pack.open .pack-inner { transform: rotateY(180deg); }
.pack:not(.open) .pack-inner { animation: packWiggle 1s ease-in-out infinite; }
@keyframes packWiggle { 50% { transform: rotate(-3deg) scale(1.03); } }
.pack-back, .pack-front { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; }
.pack-back { background: repeating-linear-gradient(45deg, #1f6f43 0 14px, #2a8a55 14px 28px); border: 3px solid #2d2a32; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.pack-back span { font-size: 3rem; } .pack-back strong { font: 700 1.3rem/1.1 "Fredoka", sans-serif; } .pack-back em { font-size: .8rem; opacity: .85; }
.pack-front { transform: rotateY(180deg); }
.pack-front .sticker { height: 100%; }
.pack-line { font-weight: 700; }
@media (max-width: 640px) {
  .swipe-invite { flex-direction: column; text-align: center; }
  .al-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .st-band strong { font-size: .72rem; } .st-band span { display: none; }
  .al-page { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .sticker.shiny::after, .pack:not(.open) .pack-inner { animation: none; } }

/* ================= Timeline and Pitch Perfect (2026-11-06) ================= */
.tl-board { padding: 16px; }
.tl-track { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; position: relative; }
.tl-track::before { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 4px; background: var(--line); border-radius: 4px; z-index: 0; }
.tl-slot { position: relative; z-index: 1; min-height: 120px; border-radius: 12px; border: 2px dashed var(--line); background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.tl-slot.empty .muted { font-size: .75rem; font-weight: 700; }
.tl-no { position: absolute; top: 6px; left: 6px; z-index: 2; background: #2d2a32; color: #fff; border-radius: 99px; font: 700 .7rem/1 "Fredoka", sans-serif; padding: 3px 7px; }
.tl-slot:not(.empty) { border: none; padding: 0; }
.tl-card { position: relative; font: inherit; width: 100%; min-height: 110px; border-radius: 12px; border: 3px solid #2d2a32; background: #2d2a32 center/cover;
  color: #fff; cursor: pointer; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; padding: 8px;
  box-shadow: 0 3px 0 #2d2a32; transition: transform .15s; }
.tl-card:hover { transform: translateY(-2px); }
.tl-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.8)); }
.tl-card strong, .tl-card .tl-city { position: relative; }
.tl-card strong { font: 600 .9rem/1.15 "Fredoka", sans-serif; }
.tl-city { font-size: .72rem; opacity: .85; }
.tl-card.placed { animation: cnPop .3s cubic-bezier(.3,1.6,.5,1) both; }
.tl-pool { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; min-height: 10px; }
.tl-year { position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); z-index: 3; background: #ffc531; color: #2d2a32; border: 2px solid #2d2a32;
  border-radius: 99px; font: 700 .9rem/1 "Fredoka", sans-serif; padding: 4px 10px; }
.tl-slot.ok .tl-card { box-shadow: 0 0 0 3px #3aa35c; } .tl-slot.ok .tl-year { background: #a3d977; }
.tl-slot.bad .tl-card { box-shadow: 0 0 0 3px #e8432f; } .tl-slot.bad .tl-year { background: #ffb3a7; }
.tl-slot.flip { animation: tlFlip .6s cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(var(--i) * .22s); }
@keyframes tlFlip { from { transform: rotateY(90deg); opacity: .3; } }
.tl-board .gd-result { margin-top: 24px; }
.pp-board { padding: 0; overflow: hidden; }
.pp-ground { position: relative; min-height: 210px; background: #2d2a32 center/cover; color: #fff; display: flex; align-items: flex-end; }
.pp-gtext { position: relative; padding: 16px; } .pp-gtext h2 { margin: 0; color: #fff; }
.pp-step { position: absolute; top: 12px; right: 12px; z-index: 1; background: #ffc531; color: #2d2a32; border: 2px solid #2d2a32; border-radius: 99px; font: 700 .8rem/1 "Fredoka", sans-serif; padding: 4px 10px; }
.pp-ask, .pp-reveal { padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pp-ask label { font-weight: 700; }
.pp-out { font: 700 2.6rem/1 "Fredoka", sans-serif; color: var(--pitch); }
.pp-ask input[type=range] { width: 100%; max-width: 460px; accent-color: #1f6f43; height: 32px; }
.pp-scale { width: 100%; max-width: 460px; display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: -6px; }
.pp-nudge { display: flex; gap: 8px; }
.pp-gauge { width: 100%; max-width: 300px; }
.pp-arc, .pp-arc-fill { fill: none; stroke-width: 18; stroke-linecap: round; }
.pp-arc { stroke: var(--line); }
.pp-arc-fill { stroke: #39a35c; stroke-dasharray: 100 100; stroke-dashoffset: 100; }
.pp-arc-fill.go { transition: stroke-dashoffset 1.1s cubic-bezier(.2,.8,.3,1); stroke-dashoffset: var(--to); }
.pp-needle { transform: rotate(-90deg); } .pp-needle path { fill: #2d2a32; } .pp-needle circle { fill: #ffc531; stroke: #2d2a32; stroke-width: 3; }
.pp-needle.go { transition: transform 1.1s cubic-bezier(.2,.8,.3,1.15); transform: rotate(var(--a)); }
.pp-mark { transform: rotate(-90deg); opacity: 0; } .pp-mark path { fill: #e8432f; stroke: #2d2a32; stroke-width: 1.5; }
.pp-mark.go { transition: transform .5s ease, opacity .3s; transform: rotate(var(--a)); opacity: 1; }
.now { transition: none !important; }
.pp-tick { font: 600 11px "Fredoka", sans-serif; fill: var(--muted); }
.pp-nums { display: flex; gap: 30px; } .pp-nums div { display: flex; flex-direction: column; } .pp-nums strong { font: 700 1.6rem "Fredoka", sans-serif; }
.pp-stars { font-size: 2rem; letter-spacing: 4px; } .pp-stars i { font-style: normal; color: var(--line); } .pp-stars i.on { color: #ffc531; text-shadow: 0 0 1px #2d2a32; }
.pp-stars i.pop { animation: stPop .45s cubic-bezier(.3,1.8,.5,1) both; }
@keyframes stPop { from { transform: scale(0); display: inline-block; } }
.pp-stars i { display: inline-block; }
.pp-verdict { font-weight: 700; margin: 0; }
.pp-total { text-align: center; padding: 18px 16px 4px; margin: 0; }
.pp-sum { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.pp-sum .pp-stars { grid-row: span 2; font-size: 1.3rem; }
.pp-board .gd-share-row { padding: 14px 16px; }
@media (max-width: 640px) {
  .tl-track { grid-template-columns: 1fr; }
  .tl-track::before { left: 50%; right: auto; top: 3%; bottom: 3%; width: 4px; height: auto; }
  .tl-slot { min-height: 64px; }
  .tl-card { min-height: 64px; flex-direction: row; align-items: center; gap: 8px; padding-left: 40px; }
  .tl-year { bottom: auto; top: 50%; left: auto; right: 10px; transform: translateY(-50%); }
  .tl-pool { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-pool .tl-card { min-height: 84px; padding-left: 8px; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .pp-out { font-size: 2.2rem; }
}
.nf-page { text-align: center; padding: 60px 16px; }
.nf-ball { font-size: 4.5rem; animation: nfBounce 1.4s cubic-bezier(.3,1.6,.5,1) infinite alternate; display: inline-block; }
@keyframes nfBounce { from { transform: translateY(-14px) rotate(-20deg); } to { transform: translateY(6px) rotate(25deg); } }
.nf-page .mc-actions { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .nf-ball { animation: none; } }

/* ================= Away Day Score, Did you know, rankings, country pages (2026-11-07) ================= */
.ads-card { display: flex; gap: 22px; align-items: flex-start; margin-top: 18px; flex-wrap: wrap; }
.ads-dial { --c: #39a35c; width: 130px; height: 130px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--line) 0); }
.ads-dial::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--surface); }
.ads-dial strong, .ads-dial span { position: relative; grid-area: 1 / 1; }
.ads-dial strong { font: 700 2.6rem/1 "Fredoka", sans-serif; transform: translateY(-6px); }
.ads-dial span { font-size: .8rem; color: var(--muted); transform: translateY(22px); }
.ads-body { flex: 1; min-width: 240px; }
.ads-body h2 { margin: 2px 0 10px; }
.ads-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ads-parts li { display: grid; grid-template-columns: 130px 1fr 44px; gap: 2px 10px; align-items: center; }
.ap-label { font-weight: 600; font-size: .9rem; }
.ap-bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ap-bar b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #39a35c, #ffc531); }
.ads-parts em { font-style: normal; font-weight: 700; font-size: .85rem; text-align: right; }
.ads-parts small { grid-column: 2 / 4; color: var(--muted); font-size: .78rem; margin-top: -2px; }
.dyk { margin-top: 18px; }
.dyk li { padding: 3px 0; }
.ads-chip { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 6px; border-radius: 8px; margin-left: 8px;
  font: 700 .85rem/1 "Fredoka", sans-serif; color: #fff; vertical-align: 2px; }
.ads-chip.s5 { background: #1f6f43; } .ads-chip.s4 { background: #39a35c; } .ads-chip.s3 { background: #8bbf3f; }
.ads-chip.s2 { background: #d9a520; } .ads-chip.s1 { background: #c8702b; }
.rankings h1 { margin-bottom: 6px; }
.rk-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; }
.rk-list li { display: grid; grid-template-columns: 34px 64px 1fr auto auto; gap: 12px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.rk-pos { font: 700 1.2rem "Fredoka", sans-serif; color: var(--muted); text-align: center; }
.rk-list li:nth-child(-n+3) .rk-pos { color: #b8860b; font-size: 1.45rem; }
.rk-thumb img, .rk-noimg { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; display: grid; place-items: center; background: var(--line); }
.rk-body { display: flex; flex-direction: column; min-width: 0; }
.rk-body a { color: var(--ink); text-decoration: none; }
.rk-body .muted { font-size: .85rem; }
.rk-val { font-weight: 700; text-align: right; font-size: .92rem; }
.rk-index { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.rk-index li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.rk-index.big li { font-weight: 600; }
.ads-method { margin: 22px 0; }
.country-page section { margin-top: 24px; }
.ct-grounds { padding-left: 22px; }
.ct-grounds li { padding: 6px 0; }
.ct-grounds .ads-chip { margin-left: 6px; }
.table-wrap { overflow-x: auto; }
.ct-table td { vertical-align: top; }
.ct-table .small { max-width: 380px; }
.scard .ads-chip { margin-left: 0; margin-top: 4px; }
.home-rank { margin-top: 28px; }
@media (max-width: 640px) {
  .ads-card { flex-direction: column; align-items: center; }
  .ads-body { width: 100%; }
  .ads-parts li { grid-template-columns: 1fr 44px; }
  .ap-bar { grid-column: 1 / 3; grid-row: 2; }
  .ads-parts small { grid-column: 1 / 3; }
  .rk-list li { grid-template-columns: 26px 52px 1fr; }
  .rk-thumb img, .rk-noimg { width: 52px; height: 40px; }
  .rk-val { grid-column: 3; text-align: left; font-size: .85rem; }
  .rk-list .ads-chip { grid-column: 3; justify-self: start; margin: 0; }
  .ct-table thead { display: none; }
  .ct-table tr { display: grid; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .ct-table td { border: none; padding: 2px 0; }
}

/* ================= Tour Builder (2026-11-07) ================= */
.tour-form { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin-top: 16px; }
.tour-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .9rem; }
.tour-form input[type=date], .tour-form select { font: inherit; font-size: 16px; padding: 8px 10px; border: 2px solid #2d2a32; border-radius: 10px;
  background: var(--surface); color: var(--ink); min-height: 44px; }
.tour-form .tour-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.tour-form .tour-check input { width: 20px; height: 20px; accent-color: #1f6f43; }
.tour-map { margin-top: 18px; }
.tour-map .cmap-scroll { overflow: hidden; }
.tour-map .cmap { min-width: 0; transition: none; }
.tour-line { fill: none; stroke: #e8432f; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: tourDraw 1.6s ease forwards; filter: drop-shadow(0 2px 0 rgba(45,42,50,.35)); }
@keyframes tourDraw { to { stroke-dashoffset: 0; } }
.tour-stop circle { fill: #ffc531; stroke: #2d2a32; stroke-width: 3; }
.tour-stop text { font: 700 15px "Fredoka", sans-serif; fill: #2d2a32; }
.tour-stop { animation: cnPop .4s cubic-bezier(.3,1.6,.5,1) both; }
.tour-card { margin-top: 18px; }
.tr-head h2 { margin: 4px 0 4px; }
.tr-steps { list-style: none; margin: 14px 0; padding: 0; }
.tr-game { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; }
.tr-num { width: 32px; height: 32px; border-radius: 50%; background: #ffc531; border: 2px solid #2d2a32; display: grid; place-items: center;
  font: 700 .95rem "Fredoka", sans-serif; color: #2d2a32; }
.tr-body { display: flex; flex-direction: column; min-width: 0; }
.tr-body a { color: var(--ink); text-decoration: none; }
.tr-body .muted { font-size: .85rem; }
.tr-when { font-size: .82rem; font-weight: 700; color: var(--muted); }
.tr-leg { margin-left: 15px; padding: 6px 0 6px 26px; border-left: 3px dashed var(--line); font-size: .85rem; color: var(--muted);
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tour-how { margin-top: 24px; }
.tour-teaser { display: flex; gap: 16px; align-items: center; margin-top: 24px; border: 3px solid #2d2a32; box-shadow: 5px 6px 0 rgba(45,42,50,.2); }
.tour-teaser .tt-icon { font-size: 3rem; }
.tour-teaser h2 { margin: 0 0 4px; }
.tour-teaser p { margin: 0 0 10px; }
@media (max-width: 640px) {
  .tour-form label:not(.tour-check) { flex: 1 1 45%; }
  .tour-form .btn { width: 100%; }
  .tour-teaser { flex-direction: column; text-align: center; }
}
.tour-link { font-weight: 600; margin: 10px 0; }

/* ================= Book this trip / tour, hospitality (2026-11-07) ================= */
.planner li.pl-optional { background: #fff8e1; border-style: dashed; }
.pl-note { margin: 10px 0 0; }
.tour-book { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.tour-book summary { cursor: pointer; font: 600 1.05rem "Fredoka", sans-serif; list-style: none; }
.tour-book summary::-webkit-details-marker { display: none; }
.tour-book summary::before { content: "▸ "; } .tour-book[open] summary::before { content: "▾ "; }
.planner-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.planner-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.hosp-card { margin-top: 18px; display: flex; gap: 14px; align-items: center; background: #fff8e1; border: 2px dashed #d9a520; color: #2d2a32; }
.hosp-card h2 { margin: 0 0 4px; color: #2d2a32; } .hosp-card p { margin: 0 0 8px; color: #5d6573; }
.hosp-card .gc-icon { font-size: 2.4rem; }
@media (max-width: 640px) {
  .planner-list li { grid-template-columns: auto 1fr; }
  .planner-list li .btn { grid-column: 1 / 3; justify-self: start; }
  .hosp-card { flex-direction: column; text-align: center; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .planner li.pl-optional { background: #2a2614; } }
.hosp-club { margin-top: 10px; } .hosp-club p { margin: 0 0 6px; color: #2d2a32; }

/* =====================================================================================================
   DESIGN v2 (2026-11-07): "matchday programme meets sticker book". One look for the whole site:
   paper-cream background, pitch green, floodlight yellow, ink outlines with a soft sticker shadow,
   a dark scoreboard header and footer. This layer sits last so it wins over the older rules above.
   ===================================================================================================== */
:root {
  --bg: #f5f0e6; --surface: #fffdf8; --surface-2: #f8f2e6; --ink: #1b1d22; --muted: #586070; --line: #e3dbc9;
  --pitch: #1c6a3f; --pitch-2: #2e8b55; --pitch-ink: #ffffff; --flood: #ffc531; --red: #e4472f; --night: #121815;
  --edge: #1b1d22; --edge-soft: rgba(27, 29, 34, .14); --pop: 3px 4px 0 rgba(27, 29, 34, .12);
  --radius: 18px; --shadow: 0 10px 30px -14px rgba(27, 29, 34, .25);
  --focus: 0 0 0 3px var(--bg), 0 0 0 6px var(--pitch);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1210; --surface: #141c18; --surface-2: #1a241f; --ink: #edf1ec; --muted: #a3ada6; --line: #27332c;
    --pitch: #2f9e62; --pitch-2: #45b876; --night: #070b09; --edge: rgba(237, 241, 236, .55); --edge-soft: rgba(237, 241, 236, .13);
    --pop: 3px 4px 0 rgba(0, 0, 0, .5); --shadow: 0 10px 30px -14px rgba(0, 0, 0, .7); --focus: 0 0 0 3px var(--bg), 0 0 0 6px var(--flood);
  }
}
:root[data-theme="dark"] {
  --bg: #0c1210; --surface: #141c18; --surface-2: #1a241f; --ink: #edf1ec; --muted: #a3ada6; --line: #27332c;
  --pitch: #2f9e62; --pitch-2: #45b876; --night: #070b09; --edge: rgba(237, 241, 236, .55); --edge-soft: rgba(237, 241, 236, .13);
  --pop: 3px 4px 0 rgba(0, 0, 0, .5); --shadow: 0 10px 30px -14px rgba(0, 0, 0, .7); --focus: 0 0 0 3px var(--bg), 0 0 0 6px var(--flood);
}
body { background-color: var(--bg); background-image: radial-gradient(rgba(27, 29, 34, .045) 1px, transparent 1.2px); background-size: 20px 20px; }
h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: 1.45rem; }
a { text-underline-offset: 3px; }
:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--flood); color: #1b1d22; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; border: 2px solid #1b1d22; text-decoration: none; }
.skip:focus { top: 10px; }
main:focus { box-shadow: none; }
.muted, .lede { color: var(--muted); }
.kicker { color: var(--pitch); letter-spacing: .12em; }

/* header: a scoreboard */
.top { background: var(--night); color: #fff; border-bottom: 5px solid transparent;
  border-image: repeating-linear-gradient(90deg, #1c6a3f 0 30px, #2e8b55 30px 60px) 5; }
.top .wrap { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo { width: 32px; height: 32px; color: #1b1d22; flex-shrink: 0; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .logo { transform: rotate(-35deg); }
.wm { font: 600 1.18rem/1 "Fredoka", sans-serif; letter-spacing: .01em; }
.wm b { color: var(--flood); font-weight: 700; }
.topnav a { color: rgba(255, 255, 255, .82); padding: 8px 12px; border-radius: 999px; }
.topnav a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.topnav a[aria-current="page"] { background: var(--flood); color: #1b1d22; }
.top-right { display: flex; align-items: center; gap: 8px; }
.search-btn { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .28); background: transparent; color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.search-btn:hover { background: rgba(255, 255, 255, .1); }
.search-btn svg { width: 20px; height: 20px; }
.tally { background: var(--flood); color: #1b1d22; border: 2px solid #1b1d22; }
@media (max-width: 760px) {
  .top .wrap { height: 58px; }
  .top-right { margin-left: auto; }
  .tally { margin-left: 0; }
  .tabbar { background: var(--night); border-top: 0; box-shadow: 0 -5px 0 #1c6a3f; }
  .tabbar a { color: rgba(255, 255, 255, .68); }
  .tabbar a[aria-current="page"] { color: var(--flood); }
}
@media (max-width: 420px) { .wm { font-size: 1.02rem; } .logo { width: 28px; height: 28px; } .tally { font-size: .78rem; padding: 5px 9px; } }

/* buttons: chunky, press in when tapped */
.btn { border: 2px solid var(--edge); box-shadow: 0 3px 0 var(--edge); border-radius: 12px; transition: transform .08s, box-shadow .08s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--edge); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--edge); }
.btn[disabled], .btn[disabled]:hover { transform: none; box-shadow: 0 3px 0 var(--edge); }
.btn-flood { background: var(--flood); color: #1b1d22; border-color: #1b1d22; box-shadow: 0 3px 0 #1b1d22; }
.btn-light { background: #fffdf8; color: #1b1d22; border-color: #1b1d22; box-shadow: 0 3px 0 #1b1d22; }
.btn-flood:hover, .btn-light:hover { box-shadow: 0 4px 0 #1b1d22; }
.add-trip { border-width: 2px; }

/* cards: one style everywhere */
.card, .scard, .facts div, .faq details, .rk-list li, .rk-index li, .game-card, .al-page, .tr-game + .tr-leg { border-radius: var(--radius); }
.card, .scard, .faq details, .rk-list li, .rk-index li, .al-page, .games { background: var(--surface); border: 1.5px solid var(--edge-soft); box-shadow: var(--pop); }
.card { padding: 22px; }
.facts div { background: var(--surface); border: 1.5px solid var(--edge-soft); box-shadow: var(--pop); border-radius: 14px; }
.facts strong { font: 600 1.3rem "Fredoka", sans-serif; }
.daily-teaser, .tour-teaser, .swipe-invite, .hosp-card, .weekend-teaser, .streak-card, .ads-card { border: 2.5px solid var(--edge); box-shadow: 5px 6px 0 var(--edge-soft); }
.scard { transition: transform .15s ease, box-shadow .15s ease; }
.scard:hover { transform: translateY(-3px); box-shadow: 5px 8px 0 rgba(27, 29, 34, .12); }
.scard .thumb img, .scard .noimg { aspect-ratio: 16/10; }
.scard h3 { font-size: 1.12rem; margin-bottom: 2px; }
.scard.done { border-color: var(--pitch); }
.scard.done::after { content: "✓ BEEN"; background: var(--flood); color: #1b1d22; border: 2px solid #1b1d22; transform: rotate(-4deg); border-radius: 8px; top: 12px; left: 12px; }
.game-card:hover, .rk-index li:hover { transform: translateY(-2px); }
.rk-index li { transition: transform .15s; }

/* section headings get a little floodlight underline */
.list-head h2::after, .rankings h1::after, .tour-page h1::after, .games-hub h1::after { content: ""; display: block; width: 46px; height: 5px;
  background: var(--flood); border-radius: 3px; margin-top: 8px; border: 1.5px solid var(--edge); }

/* chips */
.chip { border: 1.5px solid var(--edge-soft); font-weight: 600; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.near { background: var(--flood); color: #1b1d22; border-color: #1b1d22; }
.near-km { display: inline-block; font-size: .75rem; font-weight: 800; background: var(--flood); color: #1b1d22; padding: 2px 9px; border-radius: 99px;
  border: 1.5px solid #1b1d22; margin-bottom: 6px; }

/* home hero: a mown pitch under floodlights */
.hero-home { position: relative; overflow: hidden; color: #fff; padding: 56px 0 50px; border-bottom: 3px solid var(--edge);
  background: repeating-linear-gradient(90deg, #1c6a3f 0 74px, #237a4b 74px 148px); }
.hero-home::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 80% 52%, transparent 0 126px, rgba(255,255,255,.32) 127px 130px, transparent 131px),
              linear-gradient(90deg, transparent calc(80% - 2px), rgba(255,255,255,.32) calc(80% - 2px) calc(80% + 2px), transparent calc(80% + 2px)); }
.hero-home::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 18% 0%, rgba(255, 245, 190, .22), transparent 70%),
              radial-gradient(ellipse 60% 70% at 92% 0%, rgba(255, 245, 190, .18), transparent 70%), linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.32)); }
.hh-lights span { position: absolute; top: 14px; width: 74px; height: 30px; border: 2.5px solid #1b1d22; border-radius: 8px; z-index: 1;
  background: repeating-linear-gradient(90deg, #fffbe0 0 9px, #ffe27a 9px 13px); box-shadow: 0 0 70px 34px rgba(255, 236, 150, .28);
  animation: flood 3.5s ease-in-out infinite alternate; }
.hh-lights span:first-child { left: 3%; transform: rotate(-8deg); }
.hh-lights span:last-child { right: 3%; transform: rotate(8deg); animation-delay: 1.2s; }
@keyframes flood { to { box-shadow: 0 0 80px 40px rgba(255, 236, 150, .4); } }
.hh-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.hh-kicker { display: inline-block; background: var(--flood); color: #1b1d22; font: 700 .78rem "Fredoka", sans-serif; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; border: 2px solid #1b1d22; transform: rotate(-2deg); }
.hero-home h1 { color: #fff; font-size: clamp(2.3rem, 6.2vw, 3.7rem); line-height: 1.02; margin: 16px 0 12px; max-width: 12.5em; text-shadow: 0 3px 0 rgba(0, 0, 0, .22); }
.hh-lede { font-size: 1.15rem; max-width: 33em; color: rgba(255, 255, 255, .93); margin: 0; }
.hh-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hh-ring { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ring-face { position: relative; width: 176px; height: 176px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: conic-gradient(var(--flood) calc(var(--p) * 1%), rgba(255, 255, 255, .2) 0); border: 3px solid #1b1d22; box-shadow: 5px 6px 0 rgba(0, 0, 0, .25); }
.ring-face::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #14532f; border: 3px solid #1b1d22; }
.ring-face strong, .ring-face span { position: relative; grid-area: 1 / 1; }
.ring-face strong { font: 700 3.1rem/1 "Fredoka", sans-serif; transform: translateY(-9px); }
.ring-face span { font-size: .82rem; transform: translateY(24px); opacity: .9; }
.link.light { color: #fff; padding: 0; }
.intro { padding-top: 18px; }
.intro .stats { margin-top: 0; }
@media (max-width: 760px) {
  .hero-home { padding: 34px 0 30px; }
  .hh-inner { grid-template-columns: 1fr; gap: 20px; }
  .hh-ring { flex-direction: row; justify-content: flex-start; }
  .ring-face { width: 120px; height: 120px; }
  .ring-face::before { inset: 11px; }
  .ring-face strong { font-size: 2.2rem; transform: translateY(-7px); }
  .ring-face span { font-size: .68rem; transform: translateY(17px); }
  .hh-lights span { width: 50px; height: 22px; }
  .hh-cta .btn { flex: 1 1 auto; }
}

/* stadium page: the name over the photo, like a programme cover */
.shero { position: relative; margin: 0 0 14px; border-radius: 22px; overflow: hidden; border: 2.5px solid var(--edge); box-shadow: 5px 6px 0 var(--edge-soft); }
.shero img { width: 100%; max-height: 540px; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 0; display: block; }
.shero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.8)); pointer-events: none; }
.shero-text { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; color: #fff; }
.shero-kicker { display: inline-block; background: var(--flood); color: #1b1d22; font: 700 .76rem "Fredoka", sans-serif; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px; border: 2px solid #1b1d22; }
.shero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.9rem); line-height: 1.02; margin: 10px 0 4px; text-shadow: 0 3px 14px rgba(0, 0, 0, .45); }
.shero-text p { margin: 0; font-size: 1.08rem; opacity: .95; }
.shero figcaption { position: absolute; right: 10px; top: 10px; z-index: 1; margin: 0; background: rgba(0, 0, 0, .5); color: rgba(255,255,255,.9);
  padding: 3px 9px; border-radius: 8px; font-size: .68rem; }
.shero figcaption a { color: inherit; }
.title-row.has-hero { align-items: center; margin-bottom: 4px; }
@media (max-width: 640px) {
  .shero { border-radius: 16px; }
  .shero img { aspect-ratio: 4 / 3; }
  .shero-text { left: 16px; right: 16px; bottom: 16px; }
  .shero-text p { font-size: .95rem; }
}

/* tables */
.games thead th { background: var(--surface-2); }

/* footer: the night-match scoreboard again */
.foot { position: relative; background: var(--night); color: rgba(255, 255, 255, .72); border-top: 0; margin-top: 70px; padding: 46px 0 36px; font-size: .92rem; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: repeating-linear-gradient(90deg, #1c6a3f 0 30px, #2e8b55 30px 60px); }
.foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 26px; }
.foot h3 { color: #fff; font-size: 1rem; margin: 4px 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 7px 0; }
.foot a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.foot a:hover { color: var(--flood); }
.foot-brand p { margin: 12px 0 0; max-width: 26em; }
.foot-small { font-size: .76rem; color: rgba(255, 255, 255, .5); margin: 22px 0 0; line-height: 1.6; }
.foot-small a { color: inherit; text-decoration: underline; }
@media (max-width: 760px) {
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* search */
.search-ov { align-items: flex-start; padding-top: 9vh; }
.search-sheet { text-align: left; max-width: 580px; padding: 14px; }
.search-field { display: flex; align-items: center; gap: 10px; border: 2px solid var(--edge); border-radius: 14px; padding: 6px 12px; background: var(--surface); }
.search-field svg { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.search-field input { flex: 1; min-width: 0; font: inherit; font-size: 18px; border: 0; background: transparent; color: var(--ink); min-height: 42px; }
.search-field input:focus-visible { box-shadow: none; }
.search-res { list-style: none; margin: 10px 0 0; padding: 0; max-height: 58vh; overflow: auto; }
.search-res a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.search-res a.on, .search-res a:hover { background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--pitch); }
.search-res small { display: block; color: var(--muted); }
.sr-icon { font-size: 1.4rem; width: 30px; text-align: center; flex-shrink: 0; }
.search-none { padding: 12px; }
.search-hint { margin: 10px 4px 2px; }

@media (prefers-reduced-motion: reduce) {
  .hh-lights span, .logo { animation: none; transition: none; }
  .scard, .btn, .rk-index li { transition: none; }
}
.tick { border: 2px solid var(--edge); box-shadow: 0 3px 0 var(--edge); color: var(--ink); background: var(--surface); transition: transform .08s, box-shadow .08s; }
.tick:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge); }
.tick[aria-pressed="true"] { background: var(--pitch); color: #fff; }
.tick.small { box-shadow: 0 2px 0 var(--edge); }
@media (max-width: 760px) { .hero-home { padding-top: 52px; } .hh-lights span { top: 10px; } }
/* fixtures table on phones: one compact row per game, so long derby names never push the page sideways */
@media (max-width: 640px) {
  .games:not(.ct-table) thead { display: none; }
  .games:not(.ct-table), .games:not(.ct-table) tbody { display: block; width: 100%; }
  .games:not(.ct-table) tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .games:not(.ct-table) td { border: 0; padding: 0; }
  .games:not(.ct-table) td:nth-child(1) { grid-column: 1; font-size: .8rem; color: var(--muted); font-weight: 600; }
  .games:not(.ct-table) td:nth-child(2) { grid-column: 1; }
  .games:not(.ct-table) td:nth-child(3) { grid-column: 1; font-size: .85rem; }
  .games:not(.ct-table) td:nth-child(4) { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .derby { white-space: normal; }
}
.hl-card { overflow: hidden; border-radius: var(--radius); }
html, body { overflow-x: clip; }  /* a slide-in animation must never make the page scroll sideways (clip, unlike hidden, keeps the sticky header working) */

/* ================= games v2 (2026-11-07): Pin It, Odd One Out, Blitz, archive, hub ================= */
/* hub */
.today-card { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 16px; border: 2.5px solid var(--edge); box-shadow: 5px 6px 0 var(--edge-soft);
  background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.today-ring { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; position: relative; border: 2.5px solid var(--edge);
  background: conic-gradient(var(--pitch) calc(var(--p) * 1%), var(--line) 0); }
.today-ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--edge); }
.today-ring div { position: relative; text-align: center; display: flex; flex-direction: column; }
.today-ring strong { font: 700 2.2rem/1 "Fredoka", sans-serif; }
.today-ring span { font-size: .75rem; color: var(--muted); }
.today-body { flex: 1; min-width: 220px; }
.today-body h2 { margin: 4px 0 12px; }
.today-card.all-done .today-ring { background: conic-gradient(var(--flood) 100%, var(--line) 0); }
.game-card { position: relative; overflow: hidden; border-left: 7px solid var(--gc, var(--pitch)) !important; }
.game-card .gc-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.8rem; flex-shrink: 0;
  background: color-mix(in srgb, var(--gc, var(--pitch)) 18%, var(--surface)); border: 2px solid var(--edge-soft); }
.gc-groundle { --gc: #2e8b55; } .gc-radar { --gc: #3aa0e8; } .gc-connections { --gc: #9b6ad6; } .gc-timeline { --gc: #e0902a; }
.gc-pitch { --gc: #e4472f; } .gc-pin { --gc: #d6336c; } .gc-odd { --gc: #2aa5a0; } .gc-any { --gc: #8a8f9a; }
.game-card.played::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pitch); color: #fff; font-weight: 800; font-size: .85rem; }

/* Pin It */
.pin-top { display: flex; align-items: center; gap: 16px; padding: 12px; margin-top: 10px; }
.pin-ground { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.pin-ground h2 { margin: 2px 0; } .pin-ground p { margin: 0; }
.pin-photo { width: 96px; height: 72px; border-radius: 12px; background: var(--line) center/cover; border: 2px solid var(--edge); flex-shrink: 0; }
.pin-score { text-align: center; display: flex; flex-direction: column; }
.pin-score strong { font: 700 1.6rem "Fredoka", sans-serif; }
.pin-map { margin-top: 12px; }
.pin-map .pins { display: none; }
.pin-map .cmap { cursor: crosshair; }
.pin-marker .pm-head { fill: #e4472f; stroke: #1b1d22; stroke-width: 2.5; }
.pin-marker .pm-dot { fill: #fff; }
.pin-marker.drop { animation: rdDrop .45s cubic-bezier(.3,1.6,.5,1) both; }
.pin-marker.answer .pm-bowl { fill: #ffc531; stroke: #1b1d22; stroke-width: 3; }
.pin-marker.answer .pm-pitch { fill: #3aa35c; stroke: #1b1d22; stroke-width: 1.5; }
.pin-marker.answer { animation: cnPop .5s cubic-bezier(.3,1.6,.5,1) .5s both; }
.pin-line { stroke: #1b1d22; stroke-width: 3.5; stroke-dasharray: 9 7; stroke-linecap: round; }
.pin-line.fresh { animation: pinLine .7s ease both; }
@keyframes pinLine { from { stroke-dashoffset: 400; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
.pin-actions { display: flex; justify-content: center; margin-top: 14px; }
.pin-actions .btn { min-width: 240px; }
.pin-final { font-size: 1.2rem; } .pin-final strong { font: 700 2.4rem "Fredoka", sans-serif; }
.pin-sum, .odd-sum { padding-left: 0; list-style: none; display: grid; gap: 6px; }
.pin-sum li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }

/* Odd One Out */
.odd-board { padding: 18px; }
.odd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.odd-dots { display: flex; gap: 6px; }
.odd-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); border: 2px solid var(--edge-soft); }
.odd-dots i.cur { background: var(--flood); border-color: var(--edge); }
.odd-dots i.ok { background: #3aa35c; } .odd-dots i.no { background: #e4472f; }
.odd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.odd-tile { position: relative; font: inherit; min-height: 150px; border-radius: 16px; border: 2.5px solid var(--edge); background: #2d2a32 center/cover;
  color: #fff; cursor: pointer; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; padding: 12px;
  box-shadow: 0 4px 0 var(--edge); transition: transform .12s; }
.odd-tile:hover { transform: translateY(-2px); }
.odd-tile strong, .odd-tile span:not(.tl-shade) { position: relative; } .odd-tile strong { font: 600 1.05rem/1.15 "Fredoka", sans-serif; }
.odd-tile span:not(.tl-shade) { font-size: .8rem; opacity: .85; }
.odd-tile.is-in { opacity: .55; transform: scale(.97); }
.odd-tile.is-odd { box-shadow: 0 0 0 4px #3aa35c, 0 4px 0 var(--edge); animation: cnPop .35s ease; }
.odd-tile.wrong { box-shadow: 0 0 0 4px #e4472f, 0 4px 0 var(--edge); animation: cnShake .4s ease; opacity: 1; }
.odd-why { min-height: 1.5em; margin: 14px 0 6px; text-align: center; }
.odd-next { display: flex; margin: 8px auto 0; }
.odd-end h2 { margin-top: 0; }

/* Blitz */
.blitz-start { text-align: center; margin-top: 16px; padding: 30px 20px; border: 2.5px solid var(--edge); box-shadow: 5px 6px 0 var(--edge-soft); }
.bz-bolt { font-size: 3.4rem; animation: lvBounce .8s cubic-bezier(.3,1.6,.5,1) both; }
.bz-count { font: 700 6rem/1 "Fredoka", sans-serif; text-align: center; padding: 60px 0; animation: cnPop .5s ease; color: var(--pitch); }
.bz-top { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.bz-score { font: 700 1.4rem "Fredoka", sans-serif; }
.bz-time { flex: 1; height: 14px; border-radius: 99px; background: var(--line); overflow: hidden; border: 2px solid var(--edge); }
.bz-time span { display: block; height: 100%; background: linear-gradient(90deg, #e4472f, #ffc531 40%, #3aa35c); transition: width .1s linear; }
.bz-left { font-weight: 800; min-width: 34px; text-align: right; }
.bz-q { text-align: center; margin: 18px 0 12px; font-size: 1.6rem; }
.bz-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.bz-or { font: 700 1rem "Fredoka", sans-serif; color: var(--muted); }
.bz-card { position: relative; font: inherit; min-height: 220px; border-radius: 18px; border: 2.5px solid var(--edge); background: #2d2a32 center/cover; color: #fff;
  cursor: pointer; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; padding: 14px; box-shadow: 0 5px 0 var(--edge);
  transition: transform .08s; }
.bz-card:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--edge); }
.bz-card strong, .bz-card span:not(.tl-shade), .bz-card em { position: relative; }
.bz-card strong { font: 600 1.2rem/1.15 "Fredoka", sans-serif; } .bz-card span:not(.tl-shade) { font-size: .85rem; opacity: .85; }
.bz-val { font: 700 1.5rem "Fredoka", sans-serif; font-style: normal; color: #ffc531; opacity: 0; }
.bz-card.show .bz-val { opacity: 1; }
.bz-card.right { box-shadow: 0 0 0 5px #3aa35c, 0 5px 0 var(--edge); }
.bz-card.wrong { box-shadow: 0 0 0 5px #e4472f, 0 5px 0 var(--edge); animation: cnShake .35s ease; }

/* archive */
.arch-table { width: 100%; border-collapse: collapse; }
.arch-table th, .arch-table td { padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.arch-table thead th { font-size: 1.3rem; } .arch-table thead th span { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; }
.arch-table tbody th { text-align: left; white-space: nowrap; } .arch-table tbody th span { display: block; }
.arch-cell { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; text-decoration: none; border: 2px solid var(--edge-soft); background: var(--surface); }
.arch-cell:hover { border-color: var(--edge); }
.arch-cell.done { background: var(--surface-2); }

@media (max-width: 640px) {
  .pin-top { padding: 10px; } .pin-photo { width: 70px; height: 54px; } .pin-ground h2 { font-size: 1.1rem; }
  .odd-tile { min-height: 120px; }
  .bz-card { min-height: 170px; padding: 10px; } .bz-card strong { font-size: 1rem; } .bz-q { font-size: 1.25rem; }
  .bz-pair { gap: 6px; } .bz-or { font-size: .8rem; }
  .arch-table thead th span { display: none; } .arch-cell { width: 34px; height: 34px; }
}

/* ================= club-first labels and the Radar warm zone (2026-11-07) ================= */
.club-tag { display: inline-block; font: 700 .72rem "Fredoka", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--pitch);
  margin-bottom: 1px; }
.pin .pin-label .pl-club { font-size: 15px; font-weight: 800; fill: #1c6a3f; }
.pin .pin-label .pl-name { font-size: 11px; font-weight: 600; }
.gd-row strong small { display: block; font: 600 .74rem -apple-system, sans-serif; color: var(--muted); letter-spacing: 0; }
.gd-row.win strong small { color: inherit; opacity: .75; }
.rd-band { fill: none; stroke: var(--heat); opacity: .28; }
.rd-edge { fill: none; stroke: var(--heat); stroke-width: 2.5; stroke-dasharray: 8 6; opacity: .85; }
.rd-band.grow, .rd-edge.grow { animation: rdGrow .9s cubic-bezier(.2,.8,.3,1) both; }

/* ================= Explore map (2026-11-07) ================= */
.explore { padding-top: 14px; }
.explore .wrap { max-width: 1720px; }  /* the map gets the whole window, not the 1040px reading column */
.ex-bar { display: flex; flex-direction: column; gap: 10px; }
.ex-title { margin: 0; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.ex-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg { display: inline-flex; border: 2px solid var(--edge); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 2px 0 var(--edge); }
.seg button { font: inherit; font-weight: 700; font-size: .88rem; border: 0; background: transparent; color: var(--ink); padding: 7px 12px; cursor: pointer; min-height: 38px; }
.seg button + button { border-left: 1.5px solid var(--edge-soft); }
.seg button.on { background: var(--ink); color: var(--bg); }
.ex-countries { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.ex-countries .chip { flex-shrink: 0; }
.ex-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; margin-top: 14px; align-items: start; }
.ex-mapwrap { position: relative; }
.ex-map { height: max(560px, calc(100vh - 120px)); border-radius: 20px; overflow: hidden; border: 2.5px solid var(--edge); box-shadow: 5px 6px 0 var(--edge-soft);
  background: #86c9ec; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.ex-map.dragging { cursor: grabbing; }
.ex-map .cmap-scroll { height: 100%; border: 0; border-radius: 0; overflow: hidden; }
.ex-map .cmap { width: 100%; height: 100%; min-width: 0; }
.ex-map .pin { transition: none; }
.ex-zoomed .pin .pin-label { opacity: 1; }
.ex-map .land, .ex-map .land * { vector-effect: non-scaling-stroke; }  /* borders stay ~2px however far you zoom in */
.ex-zoomed .land { filter: none; }  /* the cartoon shadow is offset in map units: zoomed in it becomes a grey slab off the coast */
.ex-deep .cty, .ex-deep .sea, .ex-deep .compass { display: none; }
.ex-zoomed .pin .pin-label .pl-name { display: none; }
.ex-zoomed .pin.active .pin-label .pl-name, .ex-zoomed .pin:hover .pin-label .pl-name { display: inline; }
.ex-zoom { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.ex-zoom button { width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--edge); background: var(--surface); color: var(--ink);
  font: 700 1.3rem/1 "Fredoka", sans-serif; cursor: pointer; box-shadow: 0 3px 0 var(--edge); }
.ex-zoom button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge); }
.ex-tier { position: absolute; left: 12px; bottom: 44px; font: inherit; font-weight: 700; font-size: .82rem; color: var(--ink);
  background: var(--surface); border: 2px solid var(--edge); border-radius: 999px; padding: 6px 12px; box-shadow: 0 2px 0 var(--edge); cursor: pointer; }
.ex-tier:hover { background: var(--line); }
.ex-legend { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; background: var(--surface); border: 2px solid var(--edge);
  border-radius: 12px; padding: 6px 10px; font-size: .75rem; font-weight: 700; }
.ex-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; border: 1.5px solid #1b1d22; }
.ex-legend .s5, .pin.t-s5 .bowl { background: #1f6f43; fill: #1f6f43; } .ex-legend .s4, .pin.t-s4 .bowl { background: #39a35c; fill: #39a35c; }
.ex-legend .s3, .pin.t-s3 .bowl { background: #8bbf3f; fill: #8bbf3f; } .ex-legend .s2, .pin.t-s2 .bowl { background: #d9a520; fill: #d9a520; }
.ex-legend .s1, .pin.t-s1 .bowl { background: #c8702b; fill: #c8702b; }
.ex-scored .pin .pitch { opacity: .35; }
.pin.ex-game .bowl { stroke: #e4472f; stroke-width: 4; }
.pin.ex-game .pin-shadow { fill: #e4472f; fill-opacity: .5; transform-box: fill-box; transform-origin: center; animation: exPulse 1.6s ease-in-out infinite; }
@keyframes exPulse { 50% { transform: scale(1.8); fill-opacity: .15; } }
.ex-me { fill: #2f7cf6; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 6px rgba(47,124,246,.7)); }
.ex-hint { margin: 8px 2px 0; }
.ex-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; gap: 10px; }
.ex-card { margin: 0; }
.ex-list-head { display: flex; align-items: baseline; gap: 8px; }
.ex-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; display: grid; gap: 8px; padding-right: 4px; grid-auto-rows: max-content; align-content: start; }
.ex-list li[data-ex-k] { display: grid; grid-template-columns: 1fr auto; align-items: stretch; background: var(--surface); border: 1.5px solid var(--edge-soft);
  border-radius: 14px; box-shadow: var(--pop); transition: transform .12s; overflow: hidden; }
.ex-list li[data-ex-k]:hover { transform: translateX(2px); border-color: var(--edge); }
.ex-row { color: var(--ink); text-decoration: none; display: grid; grid-template-columns: 56px 1fr auto auto; gap: 10px; align-items: center; padding: 8px; min-width: 0; }
.ex-row:hover strong { text-decoration: underline; }
.ex-loc { font: inherit; border: 0; border-left: 1.5px solid var(--edge-soft); background: transparent; cursor: pointer; padding: 0 10px; font-size: 1rem; }
.ex-loc:hover { background: var(--line); }
.pin.ex-hover { filter: drop-shadow(0 0 6px #ffd23f) drop-shadow(0 0 2px #ffd23f); }
.ex-list img, .ex-noimg { width: 56px; height: 42px; border-radius: 8px; object-fit: cover; display: grid; place-items: center; background: var(--line); }
.ex-li-body { display: flex; flex-direction: column; min-width: 0; }
.ex-li-body strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-li-body .muted { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-list .ads-chip { margin-left: 0; }
.ex-been { width: 22px; height: 22px; border-radius: 50%; background: var(--pitch); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.ex-more { padding: 6px 4px; }
@media (max-width: 900px) {
  .ex-main { grid-template-columns: 1fr; }
  .ex-map { height: 72vh; }
  .ex-side { position: static; max-height: none; }
  .ex-list { overflow: visible; }
}
@media (prefers-reduced-motion: reduce) { .pin.ex-game .pin-shadow { animation: none; } }

/* ================= Around the ground, photo gallery, lightbox (2026-11-07) ================= */
.around { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: center; }
.around-head h2 { margin-top: 0; }
.around-svg { width: 100%; height: auto; display: block; }
.ar-bg { fill: #f2ead6; }
.ar-ring { fill: none; stroke: #1c6a3f; stroke-width: 1.6; stroke-dasharray: 6 6; opacity: .55; }
.ar-ring-l { font: 700 15px "Fredoka", sans-serif; fill: #1c6a3f; opacity: .8; }
.ar-pub { fill: #f2994a; stroke: #1b1d22; stroke-width: 1.4; }
.ar-stadium { fill: #fffdf8; stroke: #1b1d22; stroke-width: 3; }
.ar-pitch { fill: #3aa35c; stroke: #1b1d22; stroke-width: 1.5; }
.ar-walk { stroke: #1b1d22; stroke-width: 2; stroke-dasharray: 3 5; stroke-linecap: round; opacity: .55; }
.ar-st { fill: #fffdf8; stroke: #1b1d22; stroke-width: 3; }
.ar-l { font: 700 19px "Fredoka", sans-serif; fill: #1b1d22; paint-order: stroke; stroke: #f2ead6; stroke-width: 4px; stroke-linejoin: round; }
.ar-l.pub { font-size: 17px; fill: #8a4a12; }
.ar-l2 { font: 600 15px -apple-system, sans-serif; fill: #586070; }
.ar-north path { fill: #1b1d22; } .ar-north text, .ar-scale text { font: 700 14px "Fredoka", sans-serif; fill: #1b1d22; }
.ar-scale path { stroke: #1b1d22; stroke-width: 3; fill: none; }
.ar-frame { fill: none; stroke: #1b1d22; stroke-width: 3; }
.gallery-sec { margin-top: 26px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gal-item { padding: 0; border: 2px solid var(--edge); border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--line); box-shadow: var(--pop);
  aspect-ratio: 3 / 2; transition: transform .15s; }
.gal-item:hover { transform: translateY(-2px); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-credits { margin-top: 8px; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8, 10, 12, .92); display: flex; align-items: center; justify-content: center;
  animation: pgIn .2s ease both; touch-action: pan-y; }
.lightbox img { max-width: min(92vw, 1280px); max-height: 80vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255,255,255,.8); font-size: .82rem; padding: 0 60px; }
.lb-cap a { color: inherit; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); background: rgba(0,0,0,.4);
  color: #fff; font-size: 1.5rem; cursor: pointer; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); } .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 14px; top: 14px; }
@media (max-width: 760px) {
  .around { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox button.lb-prev, .lightbox button.lb-next { top: auto; bottom: 54px; transform: none; }
}

/* ================= For you (personal home, 2026-11-07) ================= */
.foryou { margin-top: 26px; }
.fy-head h2 { margin: 0 0 12px; }
.fy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.fy-card { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 2.5px solid var(--edge); border-radius: var(--radius);
  box-shadow: 5px 6px 0 var(--edge-soft); padding: 14px; text-decoration: none; color: var(--ink); transition: transform .15s; min-width: 0; }
a.fy-card:hover { transform: translateY(-2px); }
.fy-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fy-body strong { font: 600 1.15rem/1.2 "Fredoka", sans-serif; }
.fy-body strong a { color: var(--ink); text-decoration: none; }
.fy-photo { width: 84px; height: 84px; border-radius: 14px; background: var(--line) center/cover; border: 2px solid var(--edge); flex-shrink: 0; }
.fy-next { grid-column: 1 / -1; align-items: stretch; }
.fy-photo.big { width: 220px; height: auto; min-height: 150px; }
.fy-why { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.fy-why em { font-style: normal; font-size: .78rem; font-weight: 700; background: var(--surface-2); border: 1.5px solid var(--edge-soft); border-radius: 99px; padding: 2px 9px; }
.fy-also { margin-top: 6px; }
.fy-ring { width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; position: relative; border: 2.5px solid var(--edge);
  background: conic-gradient(var(--pitch) calc(var(--p) * 1%), var(--line) 0); }
.fy-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--edge); }
.fy-ring b, .fy-ring i { position: relative; grid-area: 1 / 1; font-style: normal; }
.fy-ring b { font: 700 1.5rem/1 "Fredoka", sans-serif; transform: translateY(-6px); }
.fy-ring i { font-size: .65rem; color: var(--muted); transform: translateY(14px); }
@media (max-width: 640px) {
  .fy-next { flex-direction: column; }
  .fy-photo.big { width: 100%; min-height: 160px; }
}
.foot-install { margin-top: 14px; }

/* Home map: the smaller grounds (Championship, under 35,000) wait for "Show all" so the zoomed-out map stays readable */
.home-map:not(.all) .pin.minor:not(.done):not(.planned):not(.active) { display: none; }
.home-map-note { margin: -4px 0 8px; }
.linkish { font: inherit; font-weight: 700; color: var(--pitch); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

/* Explore close-up layer (tools/map_detail.py): only when zoomed in past 10x; city names by size as you go further */
.ex-detail { display: none; pointer-events: none; }
.ex-d1 .ex-detail { display: inline; }
.dt-sea { fill: #a3d8f2; }
.dt-land path { stroke: #1b1d22; stroke-width: 1.5; stroke-linejoin: round; fill-rule: evenodd; vector-effect: non-scaling-stroke; }
.dt-urban { fill: #1b1d22; fill-opacity: .09; fill-rule: evenodd; stroke: none; }
.dt-lake { fill: #86c9ec; stroke: #1b1d22; stroke-opacity: .5; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dt-river { fill: none; stroke: #4fa3d9; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dt-river.big { stroke-width: 3; }
.dt-river.small { stroke-width: 1.5; }
.dt-cities text { display: none; font-family: Fredoka, system-ui, sans-serif; font-weight: 600; fill: #3d4048; text-anchor: middle;
  paint-order: stroke; stroke: #fffdf8; stroke-width: .28em; stroke-linejoin: round; }
.dt-cities .t1 { font-size: 1.25em; font-weight: 700; letter-spacing: .02em; }
.ex-d1 .dt-cities .t1, .ex-d2 .dt-cities .t2, .ex-d3 .dt-cities .t3 { display: inline; }
