/* =====================================================================
   kuyapating.com/set-champs/ · the Victorian Set Champs board
   Its own small stylesheet (the page doesn't load main.css): the site's tokens and fonts, and the media kit's
   taped-note look (flat cream sheets, tape straddling the top edge, a flat red tag, every word 28 px inside the
   sheet). Built by website/set-champs/build_set_champs.py, which stamps this file's link with ?v=<hash>.
   ===================================================================== */

:root {
  color-scheme: dark;
  --abyss-deep: #0A1118;
  --navy: #0D1B2A;
  --amber: #F5A825;
  --gold: #FFD262;
  --cream: #EDE8DF;
  --text: #F8FAFC;
  --text-2: #C7D3E0;
  --muted: #94A9BF;
  --line-2: rgba(148, 197, 230, .26);
  --kit-cyan: #1CC5DC;
  --hover-line: rgba(245, 158, 11, .6);
  --paper: #F8F4EA;
  --paper-ink: #1A2433;
  --paper-soft: #566680;
  --tape: #D9D0BD;
  --sari-red: #C2551F;
  --marker: #B5341C;
  --tap: 44px;
  --font-display: "Bebas Neue", "Bebas Neue Fallback", Impact, "Arial Narrow", sans-serif;
  --font-hud: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-kuya: "Nunito", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-note: "Mansalva", "Caveat", cursive;
}

/* The site's own font files (absolute paths, like 404.html) */
@font-face { font-family: "Bebas Neue"; font-weight: 400; font-display: swap; src: url("/assets/fonts/bebas-neue-400.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url("/assets/fonts/chakra-petch-700.woff2") format("woff2"); }
@font-face { font-family: "Mansalva"; font-weight: 400; font-display: swap; src: url("/assets/fonts/mansalva-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/nunito-900-italic.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500 800; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-500-800.woff2") format("woff2"); }
@font-face { font-family: "Bebas Neue Fallback"; src: local("Impact"); size-adjust: 77%; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--abyss-deep); color: var(--text);
  font: 500 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p, ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--kit-cyan); outline-offset: 3px; }

.sc-wrap { width: min(880px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 10; padding: 10px 16px; border-radius: 10px;
  background: var(--amber); color: var(--navy); font-weight: 800; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Top bar ---------- */
.sc-top { border-bottom: 1px solid var(--line-2); background: var(--navy); }
.sc-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.sc-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: var(--tap); white-space: nowrap; }
.sc-brand img { flex: none; width: 36px; height: 36px; }
.sc-brand span { font: 400 1.6rem/1 var(--font-display); letter-spacing: .03em; color: var(--cream); }
.sc-back {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 4px; white-space: pre;
  font: 700 .78rem/1.2 var(--font-hud); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
  text-decoration: none;
}
.sc-back:hover, .sc-brand:hover span { color: var(--gold); }
/* Phones: one line each, so the bar stays 64px ("Kuya Pating" and "Back to the Veranda" both wrapped at 375px) */
@media (max-width: 479px) {
  .sc-top-in { gap: 12px; }
  .sc-brand span { font-size: 1.45rem; }
  .sc-back-long { display: none; }
}

/* ---------- Intro ---------- */
.sc-intro { padding: 48px 0 40px; }
.sc-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 13px; border-radius: 999px;
  border: 2px solid var(--amber); background: rgba(13, 27, 42, .88);
  font: 700 .74rem/1.3 var(--font-hud); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.sc-pill::before { content: ""; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--kit-cyan); }
/* The media kit's display title, as main.css's h2: Bebas caps, gold stepping to amber, a navy keyline */
h1 {
  margin: 18px 0 14px; font: 400 clamp(3rem, 2rem + 5vw, 5rem)/.95 var(--font-display); letter-spacing: .016em;
  text-wrap: balance; color: var(--amber);
  background: linear-gradient(180deg, #FFD262 0 40%, #FCC753 52%, #FABD43 64%, #F7B234 78%, #F5A825 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 0 0 var(--navy)) drop-shadow(-2px 0 0 var(--navy)) drop-shadow(0 2px 0 var(--navy)) drop-shadow(0 -2px 0 var(--navy)) drop-shadow(0 0 12px rgba(45, 85, 122, .9));
}
.sc-lead { max-width: 60ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--text-2); }
.sc-lead + .sc-lead { margin-top: .7em; }
.sc-meta {
  margin-top: 16px; font: 700 .74rem/1.6 var(--font-hud); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.sc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.sc-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-chip {
  min-height: var(--tap); padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: rgba(10, 17, 24, .55); border: 1px solid var(--line-2); color: var(--text-2);
  font: 700 .76rem var(--font-hud); letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.sc-chip span { margin-left: 4px; opacity: .75; }
.sc-chip:hover { border-color: var(--hover-line); color: var(--gold); }
.sc-chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--navy); }
/* The whole-calendar file is the rarer choice, so it's the site's ghost button (main.css .btn-ghost): the amber
   up here stays with the chosen state chip, and the amber buttons with each event's sign-up */
.sc-btn {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 10px 18px; border-radius: 13px;
  background: rgba(13, 27, 42, .88); color: var(--cream); text-decoration: none;
  box-shadow: inset 0 0 0 2px var(--amber);
  font: 700 .82rem/1.2 var(--font-hud); letter-spacing: .08em; text-transform: uppercase;
}
.sc-btn:hover { box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold); }
.sc-btn:active { transform: translateY(1px); }
.sc-empty { margin-top: 28px; font: italic 900 1.2rem/1.35 var(--font-kuya); color: var(--amber); }

/* ---------- The sheets: one per weekend, taped to the wall ---------- */
.sc-board { display: grid; gap: 56px; padding: 20px 0 64px; }
/* A weekend's sheet is thousands of pixels long (8,200 on a phone), and a tilt swings the ends of a sheet that long
   sideways: at .4deg its top and bottom corners left the screen at 375px. So the long sheets hang straight on
   narrow screens and get a smaller tilt where there's wall to spare; the short "New to Set Champs?" note keeps
   the House Rules' tilt everywhere. */
.sc-sheet {
  --rot: 0deg;
  position: relative; padding: 68px 28px 28px; border-radius: 3px;
  background: var(--paper); color: var(--paper-ink);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .42); transform: rotate(var(--rot));
}
@media (min-width: 980px) {
  .sc-sheet { --rot: -.28deg; }
  .sc-sheet:nth-child(even) { --rot: .22deg; }
}
.sc-sheet.sc-help { --rot: -.6deg; }
/* Tape where tape would hold (media kit, 18 Nov 2026): flat strips centred on the top edge, half on the paper and
   half on the wall. A sheet this size takes two, and each one is taped a little differently: no clones. */
.sc-sheet::before, .sc-sheet::after {
  content: ""; position: absolute; top: -11px; height: 22px; background: var(--tape);
}
.sc-sheet::before { left: 9%; width: 88px; transform: rotate(-4deg); }
.sc-sheet::after { right: 8%; width: 104px; transform: rotate(3deg); }
.sc-sheet:nth-child(2)::before { left: 36%; width: 178px; transform: rotate(-1.2deg); } /* one long strip */
.sc-sheet:nth-child(2)::after { content: none; }
.sc-sheet:nth-child(3)::before { left: 14%; width: 98px; transform: rotate(4.5deg); }
.sc-sheet:nth-child(3)::after { right: 6%; width: 84px; transform: rotate(-2.5deg); }
.sc-sheet:nth-child(4)::before { left: 6%; width: 106px; transform: rotate(2deg); }
.sc-sheet:nth-child(4)::after { right: 13%; width: 90px; transform: rotate(-5deg); }
.sc-sheet:nth-child(5)::before { left: 11%; width: 92px; transform: rotate(-2.5deg); }
.sc-sheet:nth-child(5)::after { right: 10%; width: 100px; transform: rotate(4deg); }
.sc-sheet.sc-help::before { left: 54%; width: 92px; transform: rotate(3deg); }
.sc-sheet.sc-help::after { content: none; }
/* White, not the kit's cream: at this size cream on Sari-Sari Red is 3.7:1, white is 4.55:1 (AA) */
.sc-tag {
  position: absolute; left: 0; top: 24px; padding: 5px 10px 4px;
  font: 700 .7rem/1 var(--font-hud); letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: var(--sari-red);
}
.sc-sheet h2 { font: 400 clamp(2.4rem, 2rem + 1.6vw, 3.2rem)/.95 var(--font-display); letter-spacing: .016em; color: var(--navy); }
/* On paper the cyan ring is under 2:1, so focus is a navy ring there */
.sc-sheet :focus-visible { outline-color: var(--navy); }
.sc-day { margin-top: 18px; }
/* The day, in Kuya's hand. It stays at the top of the screen while its rows scroll under it: Saturday 9 January
   is 18 events, about six phone screens. Its dotted line sits exactly on the first row's. */
.sc-day h3 {
  position: sticky; top: 0; z-index: 1; padding: 12px 0 6px;
  background: var(--paper); box-shadow: -14px 0 0 var(--paper), 14px 0 0 var(--paper);
  border-bottom: 2px dotted rgba(86, 102, 128, .45);
  font: 400 1.6rem/1.1 var(--font-note); color: var(--marker);
}

.sc-list { list-style: none; padding: 0; margin-top: -2px; }
.sc-event {
  display: grid; gap: 4px 18px; padding: 18px 0; border-top: 2px dotted rgba(86, 102, 128, .45);
  scroll-margin-top: 64px;
}
.sc-event:target { background: rgba(245, 168, 37, .16); box-shadow: -14px 0 0 rgba(245, 168, 37, .16), 14px 0 0 rgba(245, 168, 37, .16); }
.sc-time { font: 700 1.05rem/1.3 var(--font-hud); letter-spacing: .04em; color: var(--navy); }
/* The store's own time zone: AEDT, ACDT, AEST, AWST */
.sc-zone {
  font: 700 .7rem/1.3 var(--font-hud); letter-spacing: .12em; color: var(--paper-soft); text-decoration: none; cursor: help;
}
.sc-store { font: 800 1.14rem/1.3 var(--font-body); color: var(--navy); }
.sc-where { margin-top: 2px; color: var(--paper-soft); font-weight: 600; }
.sc-region {
  display: inline-block; margin-left: 6px; padding: 1px 9px; border: 1.5px solid currentColor; border-radius: 999px;
  font: 700 .66rem/1.5 var(--font-hud); letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px;
}
.sc-facts { margin-top: 4px; font-size: .95rem; }
/* A store's catch (buy a ticket too, the date may move): "Heads up" in Kuya's marker, the facts in print.
   It was a tinted box with an amber bar down its left side, the stock callout. */
.sc-note { margin-top: 8px; max-width: 52ch; font-size: .95rem; line-height: 1.5; font-weight: 600; }
.sc-note-hand { margin-right: 3px; font: 400 1.3rem/1 var(--font-note); color: var(--marker); }
.sc-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 16px; margin-top: 10px; }   /* flex-start: the button stays put when the menu beside it opens */
.sc-link-main {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 8px 14px; border-radius: 11px;
  background: var(--amber); color: var(--navy); text-decoration: none;
  box-shadow: inset 0 0 0 2px var(--navy); font: 700 .8rem/1.2 var(--font-hud); letter-spacing: .08em; text-transform: uppercase;
}
.sc-link-main:hover { background: var(--gold); }
.sc-link-cal {
  display: inline-flex; align-items: center; min-height: var(--tap);
  font-weight: 700; font-size: .9rem; color: var(--navy); text-decoration-color: rgba(13, 27, 42, .35); text-underline-offset: 3px;
}
.sc-link-cal:hover { color: var(--marker); text-decoration-color: currentColor; }
/* Add to calendar: a native <details>, so it opens without the script. The summary keeps the old link's look (an
   underlined line of type) with a small chevron that turns when open. The calendars open in the row, on the paper,
   as the map key's ruled lines (a dotted rule over each, the name underlined on hover), no wider than the sign-up
   button above them: no box, nothing floating over the sheet, and no rule down the side (the stock callout bar). */
.sc-cal > summary { gap: 7px; cursor: pointer; list-style: none; text-decoration: underline; white-space: nowrap; }
.sc-cal > summary::-webkit-details-marker { display: none; }
/* A plain calendar page before the words, in the same navy (no brand marks), so the line is easy to spot */
.sc-cal-glyph { flex: none; width: 16px; height: 16px; margin-top: -1px; }
.sc-cal > summary::after {
  content: ""; width: 7px; height: 7px; margin-top: -4px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg); transition: transform .15s ease;
}
.sc-cal[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.sc-cal-list { padding: 0; list-style: none; }
.sc-cal-list li { border-top: 1px dotted rgba(86, 102, 128, .6); }
.sc-cal-list a {
  display: flex; flex-direction: column; justify-content: center; min-height: var(--tap); padding: 4px 6px; margin: 0 -6px;
  font-size: .875rem; line-height: 1.2; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap;
}
/* The second line under "Apple Calendar": the same download opens in any other calendar app */
.sc-cal-hint { font-size: .75rem; color: var(--paper-soft); }
.sc-cal-list a:hover .sc-cal-name { color: var(--marker); text-decoration: underline; text-underline-offset: 3px; }
/* The navy ring stays inside its own line (6px of room each side of the words), so it doesn't cross the rules or
   ride up over the amber button, as the page's 3px-out ring did on the summary */
.sc-cal > summary { padding-inline: 6px; margin-inline: -6px; }
.sc-cal > summary:focus-visible, .sc-cal-list a:focus-visible { outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .sc-cal > summary::after { transition: none; } }
/* Phones: the menu always sits under the button. Side by side it fitted shut but not open on the wider phones
   (412 to 473px), so opening it dropped "Add to calendar" a line, out from under the thumb. One column as wide as
   the button, so the ruled lines end where the button does. */
@media (max-width: 479px) {
  .sc-links { display: grid; grid-template-columns: max-content; justify-content: start; }
}

/* Wider: time | details | links */
@media (min-width: 760px) {
  .sc-sheet { padding: 72px 40px 36px; }
  .sc-event { grid-template-columns: 5.6rem 1fr auto; align-items: start; }
  .sc-time { padding-top: 2px; }
  .sc-zone { display: block; }
  /* One column as wide as the sign-up button, everything set to its right edge (text-align, not a flex <details>:
     older Safari and Firefox don't lay a <details> out as flex) */
  .sc-links { grid-column: 3; grid-row: 1; display: grid; grid-template-columns: max-content; justify-content: end; gap: 0; margin-top: 0; }
  .sc-link-main { justify-content: center; }
  .sc-cal { text-align: right; }
  .sc-cal-list a { align-items: flex-end; }
}

/* ---------- The map ----------
   The first sheet on the board (build_set_champs.py draws it from set-champs/places.json). Papercut: each state is
   its own piece of teal paper glued to the sheet, so the sea is the sheet itself and a label is a slip of the same
   paper. An amber badge with a number is a city (it opens that city's own map); a red dot is one regional store
   (it links to its row). On the city maps every store is a numbered red pin, named in the key beside the map.
   Pins on a map this small can't all be 44px apart, so the tiles and the keys are the full-size targets. */
.sc-map h2 { margin-bottom: 16px; }
.scm-top { display: grid; gap: 18px; }
.scm-svg, .scm-inset { display: block; width: 100%; height: auto; }
.scm-tone-a { fill: #2E4C56; }
.scm-tone-b { fill: #3A5C63; }
.scm-tone-c { fill: #243E47; }
.scm-state {
  stroke: var(--paper); stroke-width: 1.5px; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  transition: opacity .3s;
}
.scm-state.is-away { opacity: 0; }
.scm-layer { transition: opacity .18s; }
.scm-svg.is-moving .scm-layer { opacity: 0; }
.scm-st { font: 700 30px var(--font-hud); letter-spacing: .14em; text-anchor: middle; fill: var(--paper); opacity: .7; }
.scm-water { fill: var(--paper); }
.scm-river { fill: none; stroke: var(--paper); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.scm-river--thin { stroke-width: 5; }   /* a smaller river (places.json, "streams") */
/* A sea, a bay or a river: the widest-spaced type on the map, so it can't be read as a place. On the water it's the
   biggest name there; a river or a lake's name, on the land, is the quietest (still AA on the teal). The build's
   SEA_W, SEA_FONT and RIVER_FONT must match the spacing and the two sizes here. */
.scm-sea { font: 700 24px var(--font-hud); letter-spacing: .24em; text-anchor: middle; }
.scm-sea--water { fill: var(--paper-soft); }
.scm-sea--land { font-size: 20px; fill: var(--paper); opacity: .68; }
.scm-anchor { fill: var(--paper); }
.scm-slip { fill: var(--paper); }
.scm-lead { stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; }
.scm-lab { font-family: var(--font-hud); font-weight: 700; text-anchor: middle; fill: var(--navy); } /* its size is set per label */
/* The suburb beside a store's pin on a city map: the key's own type, on a slip */
.scm-lab--store { font-family: var(--font-body); font-weight: 800; }
/* Landmarks (places with no store) sit below the stores: a small paper mark, never a circle like a pin, and a
   muted name with no slip, spaced out like the sea's name. Pale on the land, grey-blue on the sea (both AA). */
.scm-lab--ref-land { fill: var(--paper); opacity: .86; letter-spacing: .08em; }
.scm-lab--ref-water { fill: var(--paper-soft); letter-spacing: .08em; }
.scm-mark { fill: var(--paper); stroke: var(--paper-soft); stroke-width: 1.2; }
.scm-mark--ring { fill: none; stroke: var(--paper); stroke-width: 3; }
/* A city map's scale: a ruled length with its distance over it, in the landmarks' type and tone */
.scm-scale path { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.scm-scale--land path { stroke: var(--paper); opacity: .86; }
.scm-scale--water path { stroke: var(--paper-soft); }
/* On the narrowest phones a city map's names would be under 9px: there it's the numbered pins and the key alone */
@media (max-width: 359px) { .scm-inset .scm-pname, .scm-inset .scm-ref, .scm-inset .scm-scale { display: none; } }

.scm-pin { cursor: pointer; outline: none; }
.scm-hit { fill: transparent; }
.scm-spot { fill: var(--navy); }   /* where a badge's leader ends: the city itself */
.scm-dot { fill: var(--sari-red); stroke: var(--paper); stroke-width: 4.5; }
.scm-badge { fill: var(--amber); stroke: var(--navy); stroke-width: 3.5; }
.scm-count { font: 700 30px var(--font-hud); text-anchor: middle; fill: var(--navy); }
.scm-num { fill: var(--sari-red); stroke: var(--paper); stroke-width: 4; }
.scm-num-t { font: 700 22px var(--font-hud); text-anchor: middle; fill: #fff; }
/* A highlighted pin never grows: its ring sits inside the footprint the build keeps clear around every pin
   (BADGE_R, DOT_R and PIN_R in build_set_champs.py; a ring's outer edge here must stay within them), so hovering
   or focusing a pin can't run it into a name or a neighbour.
   Hover (and the pin whose key line is hovered): an amber line, like the rest of the site.
   Keyboard focus: the pin turns navy with a gold edge, inside a navy ring. The gold shows on the teal land, the
   navy on the paper sea. */
.scm-ring { fill: none; stroke: transparent; stroke-width: 3; }
.scm-pin--reg .scm-ring { stroke-width: 2.5; }
.scm-pin--num .scm-ring { stroke-width: 2; }
.scm-pin:hover .scm-ring, .scm-pin.is-hot .scm-ring { stroke: var(--amber); }
.scm-pin:hover .scm-badge, .scm-pin.is-hot .scm-badge { fill: var(--gold); }
.scm-pin:hover .scm-dot, .scm-pin.is-hot .scm-dot, .scm-pin:hover .scm-num, .scm-pin.is-hot .scm-num { stroke: var(--amber); }
.scm-pin:focus-visible .scm-ring { stroke: var(--navy); }
.scm-pin:focus-visible .scm-badge, .scm-pin:focus-visible .scm-dot, .scm-pin:focus-visible .scm-num { fill: var(--navy); stroke: var(--gold); }
.scm-pin:focus-visible .scm-count, .scm-pin:focus-visible .scm-num-t { fill: var(--gold); }

.scm-hint { font: 400 1.3rem/1.2 var(--font-note); color: var(--marker); }
.scm-legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
.scm-leg {
  display: inline-flex; align-items: center; gap: 7px;
  font: 700 .68rem/1.4 var(--font-hud); letter-spacing: .12em; text-transform: uppercase; color: var(--paper-soft);
}
.scm-leg::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: inset 0 0 0 2px var(--navy); }
.scm-leg--reg::before { width: 10px; height: 10px; margin: 0 2px; background: var(--sari-red); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--sari-red); }

/* The city tiles: the map's badges again, at a size a thumb can hit */
.scm-top > * { min-width: 0; }
.scm-tiles { list-style: none; padding: 0; margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scm-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  min-height: 62px; padding: 7px 4px 6px; border: 1.5px solid var(--paper-soft); border-radius: 10px;
  color: var(--navy); text-decoration: none; text-align: center; cursor: pointer;
}
.scm-tile b {
  display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 5px; border-radius: 999px;
  background: var(--amber); box-shadow: inset 0 0 0 2px var(--navy); font: 700 .82rem/1 var(--font-hud); color: var(--navy);
}
.scm-tile span { font: 700 .66rem/1.2 var(--font-hud); letter-spacing: .1em; text-transform: uppercase; }
.scm-tile--reg b { background: var(--sari-red); box-shadow: none; color: #fff; }
.scm-tile:hover { border-color: var(--marker); color: var(--marker); }
.scm-tile[aria-expanded="true"] { background: var(--amber); border-color: var(--navy); color: var(--navy); }
.scm-tile[aria-expanded="true"] b { background: var(--navy); box-shadow: none; color: var(--gold); }

/* A city's own map and its key. Without the script every panel is in the page, and showing all nine would bury the
   list under some 4,500px of maps: so there a tile is a plain link to its panel, and only the panel it points at
   shows (:target). The script takes the no-js class off and opens and shuts them itself. */
.no-js .scm-panel:not(:target) { display: none; }
.scm-panel { display: grid; gap: 14px 28px; margin-top: 24px; padding-top: 18px; border-top: 2px dotted rgba(86, 102, 128, .45); scroll-margin-top: 12px; }
.scm-panel h3 { font: 400 2rem/1 var(--font-display); letter-spacing: .016em; color: var(--navy); outline: none; }
.scm-n { margin-left: 6px; font: 700 .72rem/1 var(--font-hud); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-soft); }
.scm-panel > * { min-width: 0; }
.scm-key { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; align-content: start; overflow-wrap: anywhere; }
.scm-key a {
  display: grid; grid-template-columns: 24px 1fr; align-content: center; align-items: center; gap: 1px 8px;
  min-height: var(--tap); padding: 5px 0; border-bottom: 1px dotted rgba(86, 102, 128, .6);
  color: var(--navy); text-decoration: none;
}
.scm-key b {
  grid-row: 1 / span 3; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sari-red); font: 700 .74rem/1 var(--font-hud); color: #fff;
}
.scm-key b.scm-key-dot { width: 12px; height: 12px; margin: 0 6px; }
.scm-key-name { grid-column: 2; font: 800 .88rem/1.25 var(--font-body); }
.scm-key-store { grid-column: 2; font-size: .8rem; line-height: 1.3; color: var(--paper-soft); font-weight: 600; }
.scm-key-when { grid-column: 2; font: 700 .66rem/1.4 var(--font-hud); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-soft); }
.scm-key a:hover .scm-key-name, .scm-key li.is-hot .scm-key-name { color: var(--marker); text-decoration: underline; text-underline-offset: 3px; }
/* The narrowest phones: "Melbourne" has to fit a third of 232px */
@media (max-width: 359px) {
  .scm-tile { padding-inline: 2px; }
  .scm-tile span { font-size: .6rem; letter-spacing: .05em; }
  .scm-key { grid-template-columns: minmax(0, 1fr); }   /* "Eumemmerring" needs the whole line */
}
/* A city's key sits in a <details>: always open on wide screens (no toggle shown); on phones the script starts it
   shut, so the map comes first and one tap opens the list (the owner, 30 Nov 2026). Without the script it stays open. */
.scm-keytoggle { display: none; }
/* Phones: two short columns (place and date); the store's name is read out but not shown until there's room */
@media (max-width: 759px) {
  .scm-key-store { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .scm-keytoggle {
    display: flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 8px 18px;
    border: 2px solid var(--navy); border-radius: 999px; list-style: none; cursor: pointer;
    font: 700 .74rem/1.2 var(--font-hud); letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
  }
  .scm-keytoggle::-webkit-details-marker { display: none; }
  .scm-keytoggle:hover { background: rgba(18, 31, 51, .06); }
  .scm-keybox[open] .scm-keytoggle { margin-bottom: 10px; }
  .scm-keybox:not([open]) .scm-keytoggle-hide, .scm-keybox[open] .scm-keytoggle-show { display: none; }
}
@media (min-width: 760px) {
  .scm-top { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .scm-panel { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }   /* the map wide enough to read its names */
  .scm-panel h3 { grid-column: 1 / -1; }
  .scm-panel--reg { grid-template-columns: 1fr; }
  .scm-panel--reg .scm-key { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- New to Set Champs? ---------- */
/* Label and answer, ruled like the event rows (label | answer on wider screens), in place of a bullet list */
.sc-faq { margin: 20px 0 0; }
.sc-faq > div { display: grid; gap: 4px 18px; padding: 14px 0; border-top: 2px dotted rgba(86, 102, 128, .45); }
.sc-faq dt { font: 700 .74rem/1.5 var(--font-hud); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-soft); }
.sc-faq dd { margin: 0; max-width: 58ch; }
.sc-faq-more { margin-top: 8px; }
/* The kit's top-cut table as five plain lines: players on the left, what they play on the right */
.sc-cut { margin: 8px 0 0; padding: 0; list-style: none; }
.sc-cut li { display: grid; grid-template-columns: 6.4rem 1fr; gap: 0 12px; padding: 3px 0; }
.sc-cut b { font-weight: 700; }
@media (min-width: 760px) {
  .sc-faq > div { grid-template-columns: 8.4rem 1fr; }
  .sc-faq dt { padding-top: 4px; }
}
/* The prizes, laid out like on a store's counter: the Champion playmat taped down, the two promo cards leaning
   on its corner. Ravensburger's own images, shown whole (nothing cropped or stretched), flat shadows only. Each
   opens its full-size file. On a phone the cards sit side by side under the playmat, so nothing covers it. */
.sc-prizes { margin: 0; padding: 18px 0 22px; border-top: 2px dotted rgba(86, 102, 128, .45); }
.sc-prizes-label { font: 700 .74rem/1.5 var(--font-hud); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-soft); }
.sc-prizes-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 22px; justify-items: center; }
.sc-prize { display: block; position: relative; }
.sc-prize img { width: 100%; }
.sc-prize-mat { grid-column: 1 / -1; transform: rotate(-.8deg); }
.sc-prize-mat img { box-shadow: 0 8px 16px rgba(13, 27, 42, .3); }
.sc-prize-mat::before, .sc-prize-mat::after {
  content: ""; position: absolute; z-index: 1; top: -10px; width: 74px; height: 20px; background: var(--tape);
}
.sc-prize-mat::before { left: 7%; transform: rotate(-5deg); }
.sc-prize-mat::after { right: 9%; width: 62px; transform: rotate(4deg); }
.sc-prize-card { width: min(100%, 190px); }
.sc-prize-card img { filter: drop-shadow(0 6px 8px rgba(13, 27, 42, .32)); }
.sc-prize-foil { transform: rotate(-3deg); }
.sc-prize-plain { transform: rotate(2.5deg); }
.sc-prizes figcaption { margin-top: 20px; max-width: 58ch; font-size: .95rem; }
.sc-prizes-credit { display: block; margin-top: 4px; font-size: .82rem; color: var(--paper-soft); }
@media (min-width: 620px) {
  /* 24 columns: the playmat takes 17, the foil leans over its last two, the non-foil tucks a little behind the foil */
  .sc-prizes-stage { grid-template-columns: repeat(24, 1fr); gap: 0; align-items: end; justify-items: stretch; padding-bottom: 38px; }
  .sc-prize-mat { grid-column: 1 / 18; grid-row: 1; }
  .sc-prize-card { width: auto; grid-row: 1; }
  .sc-prize-plain { grid-column: 20 / 25; transform: translateY(24px) rotate(4deg); }
  .sc-prize-foil { grid-column: 16 / 21; z-index: 1; transform: translateY(36px) rotate(-4deg); }
}
.sc-kuya {
  padding-top: 18px; border-top: 2px dotted rgba(86, 102, 128, .45);
  font: italic 900 1.25rem/1.35 var(--font-kuya); color: var(--navy);
}
.sc-kuya span { color: var(--marker); }

/* ---------- Footer ---------- */
.sc-foot { padding: 40px 0 56px; border-top: 1px solid var(--line-2); background: var(--navy); color: var(--text-2); font-size: .95rem; }
.sc-foot p { max-width: 68ch; }
.sc-foot p + p { margin-top: 10px; }
.sc-foot a { color: var(--gold); text-underline-offset: 3px; }
.sc-foot a:hover { color: var(--amber); }
.sc-foot .sc-legal { margin-top: 18px; color: var(--muted); font-size: .85rem; }
.sc-foot-back {
  display: inline-flex; align-items: center; min-height: var(--tap);
  font: 700 .78rem/1.2 var(--font-hud); letter-spacing: .12em; text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link, .sc-chip, .scm-state, .scm-layer { transition: none; }
}

/* ===== Pill check (1 Dec 2026, reviewed by Fable 5.2; before: brand-source/pill-check-2026-12/before/). ===== */

/* The line over the title: type only */
.sc-pill { display: block; padding: 0; border: 0; border-radius: 0; background: none; font-size: .84rem; }
.sc-pill::before { content: none; }
/* The title: gold with the navy keyline, no blue halo */
h1 { margin-top: 8px; filter: drop-shadow(2px 0 0 var(--navy)) drop-shadow(-2px 0 0 var(--navy)) drop-shadow(0 2px 0 var(--navy)) drop-shadow(0 -2px 0 var(--navy)); }
/* The state after the suburb, the way an address is written: "Bayswater VIC" */
.sc-region { margin-left: 1px; padding: 0; border: 0; border-radius: 0; font: inherit; font-weight: 800; letter-spacing: .03em; vertical-align: baseline; }

/* ===== Getting around (1 Dec 2026, Latest changes 84; the owner: "an easy navigation from the top to scroll to the
   'New to set champs?' part" and "a button to take the viewer to the top"). ===== */
/* Under the intro: a plain link down to the help sheet (type, no pill) */
.sc-jumpline { margin: -4px 0 14px; }
.sc-jump {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap);
  font: 700 .9rem/1.2 var(--font-hud); letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.sc-jump svg { width: 13px; height: 13px; flex: none; }
.sc-jump:hover { color: var(--amber); }
/* land with the sheet's tape and its "First time?" tag in view */
.sc-help h2 { scroll-margin-top: 96px; }
.sc-help h2:focus { outline: none; }
/* Back to the top: Kuya's fin rising from the bottom-right corner once you've scrolled a screen, as on the home page
   (main.css .to-top, with the 1 Dec type-only "Top") */
.to-top {
  position: fixed; z-index: 50; right: 10px; bottom: -7px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 0; border: 0; background: none; color: var(--gold); cursor: pointer;
  transform: translateY(calc(100% + 12px)); transition: transform .45s cubic-bezier(.2, .9, .3, 1);
}
.to-top.is-up { transform: none; }
.to-top-tag {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 11px; padding: 4px 6px;
  font: 700 .8rem/1.2 var(--font-hud); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  -webkit-text-stroke: 4px var(--navy); paint-order: stroke fill;
  transition: color .2s, transform .25s cubic-bezier(.3, 1.5, .5, 1);
}
.to-top-tag svg { width: 12px; height: 12px; flex: none; color: var(--amber); }
.to-top.is-up .to-top-tag svg { animation: to-top-nudge 2.4s ease-in-out infinite; }
.to-top:hover .to-top-tag, .to-top:focus-visible .to-top-tag { color: var(--cream); transform: translateY(-5px); }
.to-top:hover .to-top-tag svg, .to-top:focus-visible .to-top-tag svg { color: var(--cream); }
.to-top-fin { width: 58px; height: 58px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); transition: filter .2s; }
.to-top:hover .to-top-fin, .to-top:focus-visible .to-top-fin { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)) brightness(1.18); }
@keyframes to-top-nudge { 0%, 60%, 100% { transform: none; } 75% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } .to-top.is-up .to-top-tag svg { animation: none; } }

/* ===== The whole-calendar button follows the chips (1 Dec 2026, Latest changes 86; the owner: "should respect the
   filter and ensure that it's communicated better"): its words name the state, and a short note under it says what
   the file is and how each calendar takes it ===== */
.sc-calall { display: grid; justify-items: start; gap: 8px; }
.sc-calnote { max-width: 52ch; margin: 0; font-size: .86rem; line-height: 1.45; color: var(--text-2); }

/* ===== The prizes, up close (1 Dec 2026, Latest changes 89; the owner: opening a prize picture left visitors on the
   bare image, with Back the only way out). set-champs.js opens the full-size file over the board in a <dialog>: the
   night wall behind it, the picture whole and flat (no frame, glow or halo), the prize in type under it, and the
   page's ghost button to close. Without the script the links open the files, as before. ===== */
.sc-prize { cursor: zoom-in; }
/* The board stays put behind it (the scrollbar's room is kept, so nothing shifts sideways) */
.sc-lb-open body { overflow: hidden; }
html.sc-lb-open { scrollbar-gutter: stable; }
.sc-lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--text); overscroll-behavior: contain;
}
.sc-lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: sc-lb-in .16s ease-out; }
/* The night wall is the backdrop, not the dialog: the backdrop always covers the whole window, the dialog stops
   short of the scrollbar's kept room (a strip of the board showed through on the right). Solid: even at 97% the
   board's words still read through under the caption on a phone. A plain colour, since a backdrop can't read the
   page's colour names in older browsers. */
.sc-lb::backdrop { background: #0A1118; }
.sc-lb[open]::backdrop { animation: sc-lb-in .16s ease-out; }
.sc-lb-bar { display: flex; justify-content: flex-end; padding: 12px 12px 0; }
.sc-lb-close {
  display: inline-flex; align-items: center; gap: 9px; min-height: var(--tap); padding: 10px 16px; border: 0; border-radius: 13px;
  background: var(--navy); color: var(--cream); box-shadow: inset 0 0 0 2px var(--amber); cursor: pointer;
  font: 700 .82rem/1.2 var(--font-hud); letter-spacing: .08em; text-transform: uppercase;
}
.sc-lb-close svg { width: 13px; height: 13px; flex: none; }
.sc-lb-close:hover { color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
/* The picture as big as the room allows, never past its own size, never cropped: its width is the smallest of its
   own width, the room's width and the room's height (less the caption under it, measured by the script) at its
   shape. vh where container units aren't known. The picture and its caption sit together in the middle. */
.sc-lb-stage { display: grid; place-items: center; min-height: 0; container-type: size; }
.sc-lb-group { display: grid; justify-items: center; }
.sc-lb-img {
  max-width: none; height: auto; aspect-ratio: var(--lb-w) / var(--lb-h); cursor: auto;
  width: min(var(--lb-w) * 1px, 100vw - 32px, (100vh - 68px - var(--lb-cap, 110px) - 12px) * var(--lb-w) / var(--lb-h));
  width: min(var(--lb-w) * 1px, 100cqw - 32px, (100cqh - var(--lb-cap, 110px) - 12px) * var(--lb-w) / var(--lb-h));
}
.sc-lb-cap {
  display: grid; justify-items: center; gap: 2px; max-width: min(60ch, 100vw); padding: 12px 16px 16px; text-align: center;
}
.sc-lb-who { font: 700 .74rem/1.5 var(--font-hud); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sc-lb-what { font-weight: 600; color: var(--cream); }
.sc-lb-credit { margin-top: 2px; font-size: .8rem; color: var(--muted); }
/* A phone on its side: the caption beside the picture and Close over the top corner, so the picture gets the whole
   height (under them it was no bigger than upright) */
@media (orientation: landscape) and (max-height: 520px) {
  .sc-lb[open] { grid-template-rows: minmax(0, 1fr); }
  .sc-lb-bar { position: absolute; top: 0; right: 0; z-index: 1; }
  .sc-lb-group { grid-template-columns: auto 15rem; align-items: center; }
  .sc-lb-img {
    width: min(var(--lb-w) * 1px, 100vw - 15rem - 32px, (100vh - 24px) * var(--lb-w) / var(--lb-h));
    width: min(var(--lb-w) * 1px, 100cqw - 15rem - 32px, (100cqh - 24px) * var(--lb-w) / var(--lb-h));
  }
}
@keyframes sc-lb-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sc-lb[open], .sc-lb[open]::backdrop { animation: none; } }

/* The header keeps "Set, Champs!" together, so a phone breaks it as "Ready? / Set, Champs!" (2 Dec 2026, Latest changes 87) */
.sc-nowrap { white-space: nowrap; }
