/* Big Night Tycoon — website styles.
   The game's own look: Fredoka, the warm paper sheet, chunky white cards with a thick bottom edge and
   coloured header blocks, GameIcon stickers, depth buttons, bouncy feel. Palette from Assets/_Arena/UI/Arena.uss.
   No one-side coloured stripes on cards, ever. */

/* ---------- Fonts (self-hosted: no request to Google from this site) ---------- */

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka-Medium.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;

  /* The game's palette (Arena.uss :root, TitleLogo.cs, GameIcon.cs) */
  --ink: #2B3150;
  --muted: #55576F;          /* the game's #7D7F96, darkened to pass AA on paper and paper-deep */
  --paper: #F5E4C4;
  --paper-deep: #EBD3AA;
  --paper-soft: #FBF3E4;
  --card: #FFFFFF;
  --card-edge: #DCC39A;
  --chip: #F6EAD3;
  --track: #EADBC0;
  --accent: #FF7A2F;
  --accent-dark: #D3561A;
  --go: #3CC46A;
  --go-dark: #239048;
  --gold: #FFC23D;
  --gold-dark: #D9921A;
  --gold-light: #FFE28A;
  --blue: #4D8DFF;
  --blue-dark: #2D62C8;
  --violet: #9B6BFF;
  --teal: #22B8A7;
  --berry: #FF6FA5;
  --badge: #2F3657;
  --badge-edge: #1C2138;
  --warn-bg: #FFE2D6;
  --warn-ink: #C2410C;
  --ok-bg: #DCF5E3;
  --ok-ink: #1E8A47;

  /* Header blocks: the game's hues, deepened so white titles keep AA contrast (large text) */
  --head-orange: #E2571A;  --head-orange-edge: #B0420F;
  --head-berry: #D63A75;   --head-berry-edge: #A52A59;
  --head-green: #1F8C45;   --head-green-edge: #156832;
  --head-blue: #2F6EE0;    --head-blue-edge: #214FA8;
  --head-teal: #0F8275;    --head-teal-edge: #095E54;
  --head-violet: #7C4DE8;  --head-violet-edge: #5A33B5;
  --head-gold: #FFC23D;    --head-gold-edge: #D9921A;
  --head-ink: #2F3657;     --head-ink-edge: #1C2138;

  --radius: 26px;
  --radius-sm: 16px;
  --gutter: 16px;
  --max: 1120px;
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-drop: 0 6px 0 rgba(43, 49, 80, .12);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .4em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.005em;
}

h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover { color: var(--ink); }

:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 3px;
  border-radius: 10px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--badge);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

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

.wrap--narrow { max-width: 820px; }

.section { padding: 56px 0; }
.section--deep { background-color: var(--paper-deep); }

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.section__head p { color: var(--muted); font-size: 1.125rem; }

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9A3A0E;             /* accent-dark, deepened for AA at this small size */
}

/* ---------- Site header ---------- */

.site-header { padding: 14px 0; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header__brand { display: block; flex-shrink: 0; border-radius: 12px; }
.site-header__brand img { width: 132px; }

.site-nav { min-width: 0; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-bottom-width: 4px;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .25s var(--bounce);
}

.site-nav a:hover { transform: translateY(-2px); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--badge); border-color: var(--badge-edge); color: #fff; }
.site-nav .sticker { width: 22px; height: 22px; margin: -4px 0 -4px -4px; }
.site-nav__game { background: var(--gold-light) !important; border-color: var(--gold-dark) !important; }
.site-nav__game[aria-current="page"] { background: var(--gold) !important; color: var(--ink) !important; }

/* Below desktop width the nav becomes a sideways-scrolling strip under the logo (it never widens the page). */
@media (max-width: 1019px) {
  .site-header { padding-bottom: 4px; }
  .site-header__inner { flex-wrap: wrap; row-gap: 10px; }
  .site-nav {
    flex: 1 0 100%;
    margin: 0 calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; justify-content: flex-start; width: max-content; }
}

@media (max-width: 420px) {
  .site-header__brand img { width: 108px; }
  .site-nav a { padding: 6px 10px; font-size: .875rem; }
}

/* ---------- Stickers (GameIcon ports) ---------- */

.sticker { width: 44px; height: 44px; flex-shrink: 0; }
.sticker--sm { width: 30px; height: 30px; }
.sticker--lg { width: 64px; height: 64px; }
.sticker--xl { width: 88px; height: 88px; }

/* ---------- Buttons & badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 24px;
  border-radius: 20px;
  border: 0;
  border-bottom: 6px solid var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--bounce), border-bottom-width .1s;
}

.btn:hover { color: #fff; transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(3px); border-bottom-width: 3px; }

.btn--light {
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-bottom-width: 6px;
  color: var(--ink);
}
.btn--light:hover { color: var(--ink); }

.btn .sticker { width: 30px; height: 30px; }

/* "Coming soon on iPhone": a dark HUD-style plate, not a link (no store listing yet). */
.soon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 12px;
  border-radius: 20px;
  background: var(--badge);
  border-bottom: 6px solid var(--badge-edge);
  color: #fff;
  text-align: left;
}

.soon .sticker { width: 40px; height: 40px; }
.soon__small { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); }
.soon__big { display: block; font-size: 1.25rem; font-weight: 700; line-height: 1.2; }

/* HUD pills, like the title screen's "0 runs · 0/10 venues · €0" */
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: var(--badge);
  border-bottom: 4px solid var(--badge-edge);
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
}

.pill .sticker { width: 28px; height: 28px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 6px;
  border-radius: 999px;
  background: var(--chip);
  border-bottom: 3px solid var(--card-edge);
  font-size: .9375rem;
  font-weight: 600;
}

.chip .sticker { width: 24px; height: 24px; }
.chip--plain { padding-left: 12px; }

/* ---------- Cards: white, thick bottom edge, coloured header block ---------- */

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-bottom-width: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--bounce);
}

.card--lift:hover { transform: translateY(-6px) rotate(-.6deg); }
.card--lift:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }

.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 14px;
  background: var(--head-ink);
  border-bottom: 5px solid var(--head-ink-edge);
  color: #fff;
}

.card__head h2,
.card__head h3 {
  margin: 0;
  font-size: 1.375rem;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .22);
}

.card__head .sticker {
  width: 54px;
  height: 54px;
  transition: transform .35s var(--bounce);
}

.card--lift:hover .card__head .sticker { transform: scale(1.12) rotate(-6deg); }

.card__head--orange { background: var(--head-orange); border-bottom-color: var(--head-orange-edge); }
.card__head--berry  { background: var(--head-berry);  border-bottom-color: var(--head-berry-edge); }
.card__head--green  { background: var(--head-green);  border-bottom-color: var(--head-green-edge); }
.card__head--blue   { background: var(--head-blue);   border-bottom-color: var(--head-blue-edge); }
.card__head--teal   { background: var(--head-teal);   border-bottom-color: var(--head-teal-edge); }
.card__head--violet { background: var(--head-violet); border-bottom-color: var(--head-violet-edge); }
.card__head--gold   { background: var(--head-gold);   border-bottom-color: var(--head-gold-edge); color: var(--ink); }
.card__head--gold h2,
.card__head--gold h3 { color: var(--ink); text-shadow: none; }

.card__body { padding: 18px 20px 20px; flex-grow: 1; }
.card__body > :last-child { margin-bottom: 0; }

.card__quote {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--chip);
  color: var(--muted);
  font-size: .9375rem;
}

.card__quote strong { color: var(--ink); }

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 680px) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 18px 0 48px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

.hero__copy { text-align: center; }

.hero__title { margin: 0 auto 14px; max-width: 560px; }
.hero__title .logo { width: 100%; max-width: 100%; height: auto; overflow: visible; }

.hero__pitch {
  max-width: 540px;
  margin: 0 auto 22px;
  font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__meta { color: var(--muted); font-size: .9375rem; margin: 0; }

.hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 0;
}

/* floating stickers around the hero phone */
.float {
  position: absolute;
  width: 64px;
  height: 64px;
  z-index: 2;
  animation: bob 3.6s ease-in-out infinite;
}

.float--coin  { left: 6%;  top: 16%; animation-delay: -.6s; }
.float--star  { right: 6%; top: 6%;  width: 72px; height: 72px; animation-delay: -1.8s; }
.float--gem   { left: 2%;  bottom: 18%; width: 58px; height: 58px; animation-delay: -2.4s; }
.float--ticket{ right: 3%; bottom: 26%; width: 76px; height: 76px; animation-delay: -1.1s; }

@media (min-width: 940px) {
  .hero { padding: 26px 0 64px; }
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; }
  .hero__copy { text-align: left; }
  .hero__title, .hero__pitch { margin-left: 0; }
  .hero__cta { justify-content: flex-start; }
}

/* ---------- iPhone frame ---------- */

.phone {
  position: relative;
  width: min(68vw, 270px);
  margin: 0;
  padding: 9px;
  border-radius: 46px;
  background: var(--badge-edge);
  box-shadow: 0 0 0 3px #3B4366 inset, 0 12px 0 rgba(43, 49, 80, .18);
}

.phone::before {           /* the Dynamic Island */
  content: "";
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 50%;
  width: 30%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0E1120;
}

.phone img {
  width: 100%;
  aspect-ratio: 461 / 1000;
  border-radius: 37px;
  background: var(--paper-deep);
  object-fit: cover;
}

.phone--hero { width: min(72vw, 300px); transform: rotate(2.5deg); }

.phone--sm { width: 100%; padding: 7px; border-radius: 36px; }
.phone--sm::before { top: 14px; height: 16px; }
.phone--sm img { border-radius: 29px; }

/* ---------- Screenshot strip ---------- */

.shots {
  padding: 8px var(--gutter) 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.shots:focus-visible { outline-offset: -4px; }

.shots__list {
  display: flex;
  gap: 18px;
  width: max-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.shots__item {
  flex: 0 0 auto;
  width: min(60vw, 220px);
  scroll-snap-align: start;
}

.shots__item figure { margin: 0; }

.shots__item figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: .9375rem;
  font-weight: 600;
}

.shots__item figcaption span { display: block; color: var(--muted); font-weight: 500; font-size: .875rem; }

@media (min-width: 1180px) {
  .shots { overflow: visible; }
  .shots__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: auto;
    max-width: calc(var(--max) - 2 * var(--gutter));
  }
  .shots__item { width: auto; }
}

.shots-hint { text-align: center; color: var(--muted); font-size: .875rem; margin: 0; }
@media (min-width: 1180px) { .shots-hint { display: none; } }

.note-placeholder {
  text-align: center;
  font-size: .8125rem;
  color: var(--muted);
}

/* ---------- Extras row ---------- */

.extras {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--paper-soft);
  border: 2px solid var(--card-edge);
  border-bottom-width: 6px;
}

.extras h3 { font-size: 1.0625rem; margin-bottom: 10px; }

/* ---------- Venues by tier ---------- */

.venue-list { margin: 0; padding: 0; list-style: none; }

.venue-list li {
  padding: 10px 0;
  border-top: 2px dashed var(--track);
}

.venue-list li:first-child { border-top: 0; padding-top: 0; }
.venue-list strong { display: block; font-size: 1.0625rem; }
.venue-list span { color: var(--muted); font-size: .9375rem; }

.tier-stars { display: inline-flex; gap: 2px; margin-left: auto; }
.tier-stars img { width: 26px; height: 26px; }

/* ---------- Check-in steps ---------- */

.steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--gold);
  border-bottom: 5px solid var(--gold-dark);
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 700;
}

.checkin {
  display: grid;
  gap: 32px;
  align-items: center;
}

.checkin__phone { display: flex; justify-content: center; }
.checkin__phone .phone { width: min(70vw, 280px); transform: rotate(-2deg); }

@media (min-width: 900px) {
  .checkin { grid-template-columns: minmax(0, 1fr) 300px; }
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 14px; }

.faq details {
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-bottom-width: 6px;
  border-radius: 20px;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--chip);
  border-bottom: 3px solid var(--card-edge);
  font-size: 1.375rem;
  line-height: 1;
  transition: transform .3s var(--bounce);
}

.faq details[open] summary::after { content: "\2212"; transform: rotate(180deg); }
.faq summary .sticker { width: 34px; height: 34px; }

.faq__answer { padding: 0 18px 16px; }
.faq__answer > :last-child { margin-bottom: 0; }
.faq__answer ul, .faq__answer ol { padding-left: 1.3em; margin: 0 0 1em; }
.faq__answer li { margin-bottom: .35em; }

.faq-group { margin-bottom: 36px; }
.faq-group > h2 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; }

.path {
  display: inline;
  padding: 1px 5px;
  border-radius: 8px;
  background: var(--chip);
  color: var(--ink);
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Contact card ---------- */

.contact {
  text-align: center;
}

.contact .card__body { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.contact__email { font-size: 1.25rem; word-break: break-word; }

/* ---------- Long text (privacy policy) ---------- */

.doc {
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-bottom-width: 8px;
  border-radius: var(--radius);
  padding: 24px 20px;
}

@media (min-width: 700px) { .doc { padding: 36px 44px; } }

.doc h2 {
  margin-top: 1.6em;
  padding-top: .8em;
  border-top: 2px dashed var(--track);
  font-size: 1.5rem;
  scroll-margin-top: 16px;
}

.doc h2:first-of-type { margin-top: .6em; }
.doc h3 { margin-top: 1.4em; font-size: 1.1875rem; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .4em; }
.doc blockquote {
  margin: 0 0 1em;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
  border: 2px solid var(--card-edge);
}
.doc blockquote p:last-child { margin-bottom: 0; }

.doc code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--chip);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
}

.table-scroll {
  margin: 0 0 1.2em;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 2px solid var(--card-edge);
}


.doc th, .doc td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 2px solid var(--track);
}

.doc thead th { background: var(--badge); color: #fff; font-weight: 700; }
.doc tbody tr:last-child td { border-bottom: 0; }
.doc tbody tr:nth-child(even) td { background: var(--paper-soft); }

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .9375rem;
}

.toc {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
  border: 2px solid var(--card-edge);
}
.toc h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 1.0625rem; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 1; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc li { margin-bottom: 4px; break-inside: avoid; }

/* Placeholders still to fill in: loud on purpose so nothing ships unfilled. */
.ph {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--gold-light);
  outline: 2px dashed var(--accent-dark);
  outline-offset: 0;
  color: var(--ink);
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.draft-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
  border: 2px solid #F3B79F;
  border-bottom-width: 5px;
  color: var(--ink);
}
.draft-banner .sticker { width: 38px; height: 38px; }
.draft-banner p { margin: 0; }

/* ---------- Page heading (inner pages) ---------- */

.page-head { padding-top: 12px; padding-bottom: 28px; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); margin-bottom: 6px; }
.page-head p { color: var(--muted); font-size: 1.125rem; margin: 0 auto; max-width: 560px; }
.page-head .sticker { margin: 0 auto 10px; width: 84px; height: 84px; animation: bob 3.6s ease-in-out infinite; }

/* ---------- 404 ---------- */

.lost { text-align: center; padding-top: 24px; padding-bottom: 72px; }
.lost__stickers { display: flex; justify-content: center; gap: 10px; margin-bottom: 12px; }
.lost__stickers img { width: 72px; height: 72px; animation: bob 3.2s ease-in-out infinite; }
.lost__stickers img:nth-child(2) { animation-delay: -1s; width: 92px; height: 92px; }
.lost__stickers img:nth-child(3) { animation-delay: -2s; }
.lost h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); }
.lost p { max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 24px;
  padding: 36px 0 44px;
  background: var(--badge);
  color: #E6E8F2;
  font-size: .9375rem;
}

.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-light); }

.site-footer__inner {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.site-footer__logo { width: 150px; }

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer p { margin: 0; }
.site-footer .ph { color: var(--ink); }
.site-footer small { color: #C3C7DA; font-size: .8125rem; }

/* ---------- Motion ---------- */

@keyframes bob {
  0%, 100% { transform: translateY(-6px) rotate(-3deg); }
  50% { transform: translateY(6px) rotate(3deg); }
}

/* the inline logo (index.html): letters ripple, ticket wiggles, plaque stamps in, everything floats */
@keyframes logo-bob { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }
@keyframes logo-float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
@keyframes logo-wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes logo-stamp {
  0% { transform: scale(1.8); opacity: 0; }
  35% { opacity: 1; }
  70% { transform: scale(.94); }
  85% { transform: scale(1.04); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes logo-pop {
  0% { transform: scale(.6); opacity: 0; }
  60% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.logo { animation: logo-pop .6s var(--bounce) both; transform-origin: 50% 60%; }
.logo-letter { animation: logo-bob 2.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .08s - 2.6s); }
.logo-float { animation: logo-float 4.2s ease-in-out infinite; }
.logo-ticket { transform-box: fill-box; transform-origin: center; animation: logo-wiggle 3.4s ease-in-out infinite; }
.logo-plaque { transform-box: fill-box; transform-origin: center; animation: logo-stamp .7s var(--bounce) .5s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print (privacy policy) ---------- */

@media print {
  body { background: #fff; }
  .site-header nav, .site-footer nav, .skip-link { display: none; }
  .doc { border: 0; padding: 0; }
  .site-footer { background: #fff; color: #000; }
}

.center-cta { text-align: center; margin-top: 24px; }

/* For later: Apple's official badge, once the app is live (see README) */
.store-badge { display: inline-block; border-radius: 12px; transition: transform .25s var(--bounce); }
.store-badge:hover { transform: translateY(-3px) scale(1.03); }
.store-badge img { height: 54px; width: auto; }

/* =====================================================================================================
   The magazine: masthead, cover, venue stages (3D), article cards, sections, venue gallery, articles.
   Same rules as above: white cards, full borders with a thick bottom edge, coloured header blocks.
   ===================================================================================================== */

.btn--sm {
  min-height: 42px;
  padding: 6px 18px;
  border-radius: 16px;
  font-size: 1rem;
}
.btn--light.btn--sm { border-bottom-width: 5px; }

.section__head--left { text-align: left; max-width: none; margin-left: 0; margin-right: 0; }
.section__head--left p { max-width: 640px; }
.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
}
.section__head--row h2, .section__head--row p { margin-bottom: 0; }
.section__head--row p { margin-top: 6px; }

.sticker--lg { width: 64px; height: 64px; }

/* ---------- Masthead (home) ---------- */

.masthead { text-align: center; padding-top: 18px; padding-bottom: 26px; }

.masthead__name {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--badge);
  border-bottom: 4px solid var(--badge-edge);
  color: var(--gold-light);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.masthead h1 {
  max-width: 17ch;
  margin: 0 auto 12px;
  font-size: clamp(2.1rem, 1.2rem + 3.8vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.015em;
}

.masthead__about { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }

/* ---------- Cover: the 3D venue + the cover story ---------- */

.cover {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 16px;
}

@media (min-width: 940px) {
  .cover { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 32px; }
}

.feature { position: relative; }
.feature .card__head { padding: 14px 20px 12px; }
.feature__kicker { margin: 0; font-size: 1.0625rem; font-weight: 700; text-shadow: 0 2px 0 rgba(0, 0, 0, .22); }
.feature .card__body { padding: 22px 22px 24px; }
.feature__title { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); line-height: 1.1; margin-bottom: 12px; }
.feature__title a { color: var(--ink); text-decoration: none; }
.feature__title a:hover { text-decoration: underline; }
.feature__summary { font-size: 1.125rem; }
.feature__btn { margin-top: 16px; }

/* ---------- Stage: a venue as interactive 3D (model-viewer), or its still image, or a sticker ---------- */

.stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 50% 15%, var(--paper-soft), var(--paper-deep));
  border: 2px solid var(--card-edge);
  border-bottom-width: 8px;
}

.stage--venue { aspect-ratio: 1 / 1; }
@media (min-width: 600px) { .stage--venue { aspect-ratio: 4 / 3; } }

.stage__still, .stage__poster, .stage__viewer { display: block; width: 100%; height: 100%; }
.stage__still img, .stage__poster img, img.stage__still, img.stage__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

model-viewer.stage__viewer {
  --poster-color: transparent;
  --progress-bar-color: var(--accent);
  background-color: transparent;
  touch-action: pan-y;
}

model-viewer.stage__viewer:focus-visible { outline-offset: -6px; }

.stage__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-bottom-width: 4px;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s var(--bounce);
}
a.stage__label:hover { color: var(--ink); transform: translateY(-2px); }

.stage__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--badge);
  border-bottom: 4px solid var(--badge-edge);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  pointer-events: none;
}

.stage__placeholder, .vtile__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 16px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
}
.stage__placeholder .sticker { width: 88px; height: 88px; animation: bob 3.6s ease-in-out infinite; }
.vtile__placeholder .sticker { width: 56px; height: 56px; }
.vtile__placeholder span { font-size: 1rem; }

/* ---------- Article cards ---------- */

.acard { position: relative; }
.acard:focus-within { outline: 4px solid var(--blue); outline-offset: 3px; }

.acard__head {
  gap: 10px;
  padding: 9px 16px 8px;
  border-bottom-width: 4px;
  font-size: .9375rem;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
}
.acard__head .sticker { width: 30px; height: 30px; }

.acard__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-deep);
  border-bottom: 2px solid var(--card-edge);
}
.acard__media picture, .acard__media img { display: block; width: 100%; height: 100%; }
.acard__media img { object-fit: cover; transition: transform .5s var(--bounce); }
.acard:hover .acard__media img { transform: scale(1.05); }

.acard__title { font-size: 1.3rem; line-height: 1.2; margin-bottom: 8px; }
.acard__title a { color: var(--ink); text-decoration: none; }
.acard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.acard__title a:focus-visible { outline: none; }
.acard:hover .acard__title a { text-decoration: underline; }
.acard__summary { color: var(--muted); font-size: 1rem; }
.acard__meta { margin: 0; color: var(--muted); font-size: .875rem; font-weight: 600; }

.acard--wide .acard__title { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); }
@media (min-width: 680px) { .acard--wide .acard__media { aspect-ratio: 2 / 1; } }

.latest-small { margin-top: 20px; }

.empty { max-width: 560px; margin: 0 auto; }
.empty .card__body { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 22px; text-align: center; }
.empty p { margin: 0; font-size: 1.125rem; font-weight: 600; }

/* ---------- Section desks (home) & "Read more" lists ---------- */

.desk__about { color: var(--muted); }
.desk__list { margin: 0 0 14px; padding: 0; list-style: none; }
.desk__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 2px dashed var(--track);
}
.desk__list li:first-child { border-top: 0; padding-top: 0; }
.desk__list a { color: var(--ink); text-decoration-color: var(--card-edge); }
.desk__list a:hover { text-decoration-color: currentColor; }
.desk__list span { flex-shrink: 0; color: var(--muted); font-size: .875rem; font-weight: 600; }
.desk__empty { color: var(--muted); }
.desk__more { margin: 0; font-weight: 700; }

/* ---------- Venue tiles: the home strip and the venues page ---------- */

.strip {
  padding: 6px var(--gutter) 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.strip:focus-visible { outline-offset: -4px; }

.strip__list {
  display: flex;
  gap: 16px;
  width: max-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.strip .vtile { width: min(56vw, 210px); scroll-snap-align: start; }

@media (min-width: 1180px) {
  .strip { overflow: visible; }
  .strip__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: auto;
    max-width: calc(var(--max) - 2 * var(--gutter));
  }
  .strip .vtile { width: auto; }
}

.vtile { position: relative; border-bottom-width: 6px; }
.vtile:focus-within { outline: 4px solid var(--blue); outline-offset: 3px; }
.vtile__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-deep);
  border-bottom: 2px solid var(--card-edge);
}
.vtile__media picture, .vtile__media img { display: block; width: 100%; height: 100%; }
.vtile__media img { object-fit: cover; transition: transform .5s var(--bounce); }
.vtile:hover .vtile__media img { transform: scale(1.06); }
.vtile__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--badge);
  border-bottom: 3px solid var(--badge-edge);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}
.vtile__body { padding: 12px 14px 14px; }
.vtile__name { margin: 0 0 2px; font-size: 1.0625rem; line-height: 1.2; }
.vtile__name a { color: var(--ink); text-decoration: none; }
.vtile__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vtile__name a:focus-visible { outline: none; }
.vtile:hover .vtile__name a { text-decoration: underline; }
.vtile__kind { margin: 0; color: var(--muted); font-size: .875rem; }

.venue-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1000px) { .venue-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; } }

/* ---------- "Run your own venue" band (the game, with a light touch) ---------- */

.game-band { margin-top: 44px; margin-bottom: 44px; }

.game-band__inner {
  display: grid;
  gap: 14px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding: 22px 20px 24px;
  border-radius: var(--radius);
  background: var(--badge);
  border-bottom: 8px solid var(--badge-edge);
  color: #fff;
  text-align: center;
}

.game-band__stickers { display: flex; justify-content: center; align-items: flex-end; gap: 2px; }
.game-band__stickers img { animation: bob 3.6s ease-in-out infinite; }
.game-band__stickers img:nth-child(2) { animation-delay: -1.2s; }
.game-band__stickers img:nth-child(3) { animation-delay: -2.4s; }
.game-band__eyebrow {
  margin: 0 0 4px;
  color: var(--gold-light);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.game-band h2 { margin-bottom: 6px; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.game-band__copy p:last-child { margin: 0; color: #E6E8F2; }
.game-band__btn { justify-self: center; }

@media (min-width: 760px) {
  .game-band__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; padding: 22px 28px; text-align: left; }
  .game-band__btn { justify-self: end; }
}

/* ---------- Category chips (filters, article kicker) ---------- */

.filter { margin: 0 0 28px; }
.filter__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 7px;
  border-radius: 999px;
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-bottom-width: 4px;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s var(--bounce);
}
.cat-chip:hover { color: var(--ink); transform: translateY(-2px); }
.cat-chip .sticker { width: 26px; height: 26px; }
.cat-chip--all { padding-left: 14px; }
.cat-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--ink);
  font-size: .8125rem;
}

.cat-chip--all[aria-current="page"] { background: var(--head-ink); border-color: var(--head-ink-edge); color: #fff; }
.cat-chip--orange[aria-current="page"], .article-head .cat-chip--orange { background: var(--head-orange); border-color: var(--head-orange-edge); color: #fff; }
.cat-chip--green[aria-current="page"], .article-head .cat-chip--green { background: var(--head-green); border-color: var(--head-green-edge); color: #fff; }
.cat-chip--violet[aria-current="page"], .article-head .cat-chip--violet { background: var(--head-violet); border-color: var(--head-violet-edge); color: #fff; }
.cat-chip--blue[aria-current="page"], .article-head .cat-chip--blue { background: var(--head-blue); border-color: var(--head-blue-edge); color: #fff; }
.article-head .cat-chip:hover { color: #fff; }

.list-grid { margin-bottom: 8px; }
.feed-note { margin: 24px 0 0; text-align: center; font-size: .9375rem; }

/* ---------- Article ---------- */

.article-head {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 14px;
  padding-bottom: 30px;
}
.article-head:not(.article-head--hero) .article-head__copy { max-width: 820px; margin: 0 auto; text-align: center; }

.article-head__copy h1 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 1.35rem + 2.8vw, 3.3rem);
  line-height: 1.07;
  letter-spacing: -.012em;
}
.article-head__dek { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.45; }
.article-meta { margin: 0; color: var(--muted); font-size: .9375rem; font-weight: 600; }

@media (min-width: 940px) {
  .article-head--hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
}

.article-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
}
.article-main { min-width: 0; width: 100%; max-width: 720px; margin: 0 auto; }

@media (min-width: 1000px) {
  .article-layout--toc { grid-template-columns: 240px minmax(0, 720px); gap: 56px; }
  .article-layout--toc .article-main { margin: 0; }
  .article-aside .toc { position: sticky; top: 20px; }
}

.toc--article { margin: 0; }
.toc--article ol { columns: 1 !important; font-size: .9375rem; }
.toc--article a { color: var(--ink); text-decoration-color: var(--card-edge); }
.toc--article a:hover { text-decoration-color: currentColor; }

.prose { font-size: 1.125rem; line-height: 1.7; overflow-wrap: break-word; }
.prose > :first-child > :first-child { margin-top: 0; }
.prose__intro > p:first-child { font-size: 1.25rem; line-height: 1.6; }
.prose h2 { margin: 1.6em 0 .5em; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem); scroll-margin-top: 16px; }
.prose h3 { margin: 1.4em 0 .4em; font-size: 1.3rem; scroll-margin-top: 16px; }
.prose h4 { margin: 1.2em 0 .3em; font-size: 1.125rem; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent-dark); font-weight: 700; }
.prose a { word-break: break-word; }
.prose code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--chip);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .85em;
}
.prose pre {
  overflow-x: auto;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--badge);
  color: #fff;
  font-size: .9375rem;
}
.prose pre code { padding: 0; background: none; color: inherit; }

.prose blockquote {
  margin: 1.6em 0;
  padding: 16px 22px 18px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-bottom-width: 6px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}
.prose blockquote::before {
  content: "\201C";
  display: block;
  height: .55em;
  color: var(--accent);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}
.prose blockquote > :last-child { margin-bottom: 0; }

.prose hr {
  height: 26px;
  margin: 2em 0;
  border: 0;
  background: url("../icons/star.svg") center / 26px no-repeat;
}

.prose img { border-radius: var(--radius-sm); }
.prose-figure { margin: 1.6em 0; }
.prose-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .9375rem; }

.prose table, .doc table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--track); }
.prose thead th { background: var(--badge); color: #fff; font-weight: 700; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td { background: var(--paper-soft); }
.prose .table-scroll { background: var(--card); }

.fnref a { padding: 0 2px; font-size: .75em; text-decoration: none; }

/* Quick facts: a sticker card */
.facts { margin: 1.8em 0; font-size: 1.0625rem; line-height: 1.55; }
.facts .card__head { padding: 12px 18px 10px; }
.facts .card__head .sticker { width: 46px; height: 46px; }
.facts__title { margin: 0; color: var(--ink); font-size: 1.3rem; font-weight: 700; }
.facts .card__body > :first-child { margin-top: 0; }
.facts ul { margin: 0; padding: 0; list-style: none; }
.facts li { position: relative; margin-bottom: .65em; padding-left: 34px; }
.facts li:last-child { margin-bottom: 0; }
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .12em;
  width: 24px;
  height: 24px;
  background: url("../icons/star.svg") center / contain no-repeat;
}

.prose__game {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 2em;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
  border: 2px dashed var(--card-edge);
  font-size: 1rem;
  line-height: 1.55;
}
.prose__game .sticker { width: 30px; height: 30px; }

.notes { margin-top: 28px; font-size: .9375rem; }
.notes h2 { font-size: 1.125rem; }
.footnotes { margin: 0; padding-left: 1.4em; }
.footnotes li { margin-bottom: .4em; }
.fn-back { text-decoration: none; }

.sources { margin-top: 32px; font-size: .9375rem; line-height: 1.55; }
.sources .card__head { padding: 12px 18px 10px; }
.sources .card__head .sticker { width: 40px; height: 40px; }
.sources h2 { font-size: 1.25rem; }
.sources ul, .sources ol { margin: 0; padding-left: 1.3em; }
.sources li { margin-bottom: .5em; overflow-wrap: anywhere; }

.article-tags { margin-top: 22px; }

/* ---------- Pager (older/newer story, previous/next venue) ---------- */

.pager {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 8px;
  margin-bottom: 8px;
}
@media (min-width: 680px) { .pager { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }

.pager__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 20px;
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-bottom-width: 6px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s var(--bounce);
}
.pager__link:hover { color: var(--ink); transform: translateY(-3px); }
@media (min-width: 680px) {
  .pager__link--next { text-align: right; }
  .pager__link--all { text-align: center; }
}
.pager__dir { color: #9A3A0E; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pager__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }

/* ---------- Venue page ---------- */

.venue-head { padding-top: 12px; padding-bottom: 22px; text-align: center; }
.venue-head .eyebrow { margin: 0 0 6px; }
.venue-head h1 { margin: 0; font-size: clamp(2.1rem, 1.5rem + 3vw, 3.4rem); line-height: 1.08; }

.venue-layout {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 36px;
}
.venue-layout__side { display: grid; gap: 20px; align-content: start; }
.venue-layout__text { max-width: 720px; }

@media (min-width: 940px) {
  .venue-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    grid-template-areas: "stage side" "text side";
    align-items: start;
    column-gap: 32px;
  }
  .venue-layout__stage { grid-area: stage; }
  .venue-layout__side { grid-area: side; }
  .venue-layout__text { grid-area: text; }
}

.pills--left { justify-content: flex-start; margin-bottom: 14px; }
.pill .tier-stars { margin: 0; }
.pill .tier-stars img { width: 22px; height: 22px; }
.venue-game__link { margin: 0; font-weight: 700; }

/* ---------- Footer extras ---------- */

.site-footer__about { max-width: 560px; color: #E6E8F2; }

.venue-list strong a { color: var(--ink); }

/* Table of contents: a sticky sidebar on wide screens, a fold-out box above the story on phones */
.article-aside { display: none; }
.toc--mobile { margin: 0 0 24px; padding: 0; }
.toc--mobile summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.toc--mobile summary::-webkit-details-marker { display: none; }
.toc--mobile summary span { color: var(--muted); font-size: .875rem; font-weight: 600; }
.toc--mobile summary::after {
  content: "+";
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--chip);
  border-bottom: 3px solid var(--card-edge);
  font-size: 1.2rem;
  line-height: 1;
}
.toc--mobile[open] summary::after { content: "\2212"; }
.toc--mobile ol { margin: 0; padding: 0 16px 14px 2.4em; font-size: .9375rem; }
.toc--mobile li { margin-bottom: 6px; }
.toc--mobile a { color: var(--ink); text-decoration-color: var(--card-edge); }

@media (min-width: 1000px) {
  .article-aside { display: block; }
  .toc--mobile { display: none; }
}
