@charset "UTF-8";
/* ==========================================================================
   GRSBET — Field & Track
   Warm Analog art direction: paper-warm surfaces, turf green, terracotta.
   Mobile-first. Every value that repeats lives as a custom property.
   ========================================================================== */

/* ------------------------------------------------------------------ fonts */

@font-face {
  font-family: "Bitter";
  src: url("../fonts/bitter-var.woff2") format("woff2-variations"),
       url("../fonts/bitter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/sourcesans3-var.woff2") format("woff2-variations"),
       url("../fonts/sourcesans3-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- tokens */

:root {
  /* surfaces */
  --sand:        #f4efe6;
  --sand-2:      #eae2d4;
  --sand-3:      #fbf8f2;
  --white:       #fffdf9;

  /* ink */
  --char:        #1b1e1c;
  --char-soft:   #4a514c;
  --char-mute:   #656b66;   /* 4.76:1 on --sand; #6d746e measured 4.19 and failed AA */

  /* accents */
  --grass:       #2e6b3e;
  --grass-dk:    #22522f;
  --grass-lt:    #e6efe6;
  --terra:       #b8562f;   /* decorative only — 4.2:1 on sand */
  --terra-text:  #9c4526;   /* text-safe variant — 5.7:1 on sand */
  --terra-lt:    #f7ebe4;

  /* status */
  --warn:        #8a5a12;
  --warn-bg:     #fdf4e3;
  --err:         #a32a1e;
  --err-bg:      #fbeceb;
  --ok:          #2e6b3e;
  --ok-bg:       #e9f2ea;

  /* lines & depth */
  --line:        #d8cebc;
  --line-soft:   #e7dfd1;
  --shadow-sm:   0 1px 2px rgba(27, 30, 28, .06);
  --shadow-md:   0 2px 8px rgba(27, 30, 28, .08), 0 1px 2px rgba(27, 30, 28, .05);
  --shadow-lg:   0 8px 28px rgba(27, 30, 28, .12), 0 2px 6px rgba(27, 30, 28, .06);

  /* type */
  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --font-body:    "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  /* 1.25 scale from 16px */
  --t-xs:   0.8rem;     /* 12.8 */
  --t-sm:   0.875rem;   /* 14   */
  --t-base: 1rem;       /* 16   */
  --t-md:   1.125rem;   /* 18   */
  --t-lg:   1.25rem;    /* 20   */
  --t-xl:   1.5625rem;  /* 25   */
  --t-2xl:  1.953rem;   /* 31.3 */
  --t-3xl:  2.441rem;   /* 39   */
  --t-4xl:  3.052rem;   /* 48.8 */

  /* 8px spacing grid */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  --r-sm: 3px;
  --r:    5px;
  --r-lg: 10px;

  --rail-w: 244px;
  --wrap:   1180px;

  --focus: #1b5e8a;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ------------------------------------------------------------------ reset */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--sp-7);
}

body {
  background: var(--sand);
  color: var(--char);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

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

input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--grass); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--grass-dk); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

.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(--sp-2);
  top: -100px;
  z-index: 200;
  background: var(--char);
  color: var(--white);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r);
  font-weight: 600;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: var(--sp-2); color: var(--white); }

/* --------------------------------------------- signature 1: grain overlay */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------ compliance strip */

.compliance {
  background: var(--char);
  color: #ede7da;
  font-size: var(--t-sm);
  line-height: 1.45;
  position: relative;
  z-index: 60;
}
.compliance__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-5);
  padding: 9px var(--sp-4);
}
.compliance b { font-weight: 600; color: var(--white); }
.compliance a { color: #ede7da; text-decoration: underline; }
.compliance a:hover { color: var(--white); }
.compliance .sep { opacity: .32; }

.age-badge {
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 0 8px;
  font-weight: 700;
  font-size: var(--t-xs);
  letter-spacing: .02em;
  flex: none;
}

/* ------------------------------------------------------------ mobile bar */

.mbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 10px var(--sp-4);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 55;
}
.mbar__actions { display: flex; align-items: center; gap: var(--sp-2); }

.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  color: var(--char);
}
.icon-btn:hover { background: var(--sand-2); }
.icon-btn .ico { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ brand */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--char);
  text-decoration: none;
}
.brand:hover { color: var(--char); }
.brand__mark {
  width: 36px; height: 36px; flex: none;
  border-radius: 7px;
  background: var(--grass);
  color: var(--white);
  display: grid; place-items: center;
}
/* The glyph sits inside the chip with its own optical margin. */
.brand__glyph { width: 26px; height: 26px; display: block; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-lg);
  letter-spacing: -.01em;
  display: block;
  line-height: 1.1;
}
.brand__tld {
  display: block;
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--char-mute);
}

/* ------------------------------------------------------------------- rail */

.rail {
  background: var(--white);
  border-right: 1px solid var(--line);
  padding: var(--sp-5) 0 var(--sp-6);
  display: flex;
  flex-direction: column;
}
.rail__brand { padding: 0 var(--sp-5) var(--sp-5); }
.rail__nav { padding: 0 var(--sp-3); display: flex; flex-direction: column; gap: 2px; }

.rail__group {
  font-size: var(--t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--char-mute);
  font-weight: 700;
  padding: var(--sp-4) var(--sp-3) var(--sp-1);
}
.rail__group:first-child { padding-top: 0; }

.rail__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px var(--sp-3);
  border-radius: var(--r);
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--char);
  text-decoration: none;
  min-height: 44px;
  transition: background .14s var(--ease);
}
.rail__link:hover { background: var(--sand-2); color: var(--char); }
.rail__link .ico { width: 19px; height: 19px; flex: none; color: var(--char-soft); }
.rail__link[aria-current="page"] { background: var(--grass); color: var(--white); font-weight: 600; }
.rail__link[aria-current="page"] .ico { color: var(--white); }

.rail__foot { margin-top: auto; padding: var(--sp-4) var(--sp-5) 0; }
.rail__help {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-soft);
  font-size: var(--t-sm);
  color: var(--char-soft);
  line-height: 1.5;
}
.rail__help strong { display: block; color: var(--char); font-size: var(--t-base); }

/* -------------------------------------------------------------- drawer */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 30, 28, .5);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.drawer-backdrop[data-open] { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px var(--sp-5);
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-weight: 600;
  font-size: var(--t-base);
  text-decoration: none;
  text-align: center;
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn .ico { width: 18px; height: 18px; }

.btn--primary { background: var(--grass); color: var(--white); }
.btn--primary:hover { background: var(--grass-dk); color: var(--white); transform: translateY(-1px); }

.btn--ghost { background: var(--white); color: var(--char); border-color: var(--line); }
.btn--ghost:hover { background: var(--sand-2); color: var(--char); }

.btn--quiet { background: transparent; color: var(--grass); border-color: transparent; padding-inline: var(--sp-2); }
.btn--quiet:hover { color: var(--grass-dk); text-decoration: underline; }

.btn--block { width: 100%; }
/* 44px even for the small variant — the mobile header CTA uses it. */
.btn--sm { min-height: 44px; padding: 8px var(--sp-4); font-size: var(--t-sm); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------------------------------------------------------------- layout */

.shell { display: block; }
.main { min-width: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-4); }

.section { padding: var(--sp-7) 0; }
.section--tight { padding: var(--sp-6) 0; }
.section--paper { background: var(--white); }
.section--sand { background: var(--sand-2); }

.section__head { margin-bottom: var(--sp-5); }
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.section__head h2 { font-size: var(--t-2xl); }
.section__head p { color: var(--char-soft); margin-top: var(--sp-2); max-width: 62ch; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terra-text);
  margin-bottom: var(--sp-3);
}

/* ----------------------------- signature 2: terracotta diamond bullet */

.diamond {
  width: 6px; height: 6px;
  background: var(--terra);
  transform: rotate(45deg);
  flex: none;
  display: inline-block;
}

/* --------------------------------------------------------------- the hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  overflow: hidden;
  background: #24402f;
}
.hero__scene { position: absolute; inset: 0; z-index: 0; }
.hero__scene svg { width: 100%; height: 100%; object-fit: cover; }

/*
 * Scrim. The sky is deliberately pale so the composition survives in greyscale,
 * which leaves white type unreadable over it — this darkens the corner the copy
 * sits in and fades out before it touches the light side of the scene.
 */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(15, 22, 16, .88) 0%, rgba(15, 22, 16, .50) 20%, rgba(15, 22, 16, .08) 44%, rgba(15, 22, 16, 0) 62%),
    linear-gradient(96deg, rgba(15, 22, 16, .90) 0%, rgba(15, 22, 16, .68) 26%, rgba(15, 22, 16, .16) 50%, rgba(15, 22, 16, 0) 68%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: var(--sp-6) var(--sp-4) var(--sp-6);
  max-width: 720px;
  width: 100%;
}
.hero .kicker {
  color: #f7efe2;
  background: rgba(20, 24, 20, .72);
  padding: 6px var(--sp-3);
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: var(--white);
  line-height: 1.04;
  text-shadow: 0 2px 20px rgba(15, 22, 16, .55);
}
.hero h1 em { font-style: normal; color: #f0c99a; }
.hero__lead {
  margin-top: var(--sp-4);
  font-size: var(--t-md);
  color: #f2ece0;
  max-width: 56ch;
  text-shadow: 0 1px 12px rgba(15, 22, 16, .6);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.hero__note {
  margin-top: var(--sp-4);
  font-size: var(--t-sm);
  color: #ddd6c6;
}

/* ------------------------------------- signature 3: licensed NSW stamp */

.stamp {
  width: 128px; height: 128px;
  border: 2px solid rgba(240, 201, 154, .7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(-8deg);
  color: #f0c99a;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-xs);
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: var(--sp-3);
  flex: none;
}
.stamp b { display: block; font-size: var(--t-lg); letter-spacing: 0; margin: 2px 0; }
.hero__stamp { position: absolute; right: var(--sp-6); bottom: var(--sp-6); z-index: 2; display: none; }

.stamp--ink { border-color: var(--terra); color: var(--terra-text); }

/* --------------------------------- signature 4: wavy turf divider */

.turf { display: block; width: 100%; height: 26px; }
.turf--paper { color: var(--white); }
.turf--sand  { color: var(--sand); }

/* ------------------------------------------------------------- page head */

.page-head {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-6) 0;
  position: relative;
}
.page-head h1 { font-size: var(--t-3xl); }
.page-head p {
  margin-top: var(--sp-3);
  color: var(--char-soft);
  font-size: var(--t-md);
  max-width: 64ch;
}
.page-head__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-sm);
  color: var(--char-mute);
  margin-bottom: var(--sp-3);
  list-style: none;
  padding: 0;
}
.crumbs .ico { width: 14px; height: 14px; }
.crumbs a { color: var(--char-soft); text-decoration: none; }
.crumbs a:hover { color: var(--grass); text-decoration: underline; }

/* --------------------------------------------------------------- fixtures */

.fixtures {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--white);
}

.fx {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-bottom: 1px solid var(--line-soft);
}
.fx:last-child { border-bottom: 0; }
.fx:nth-child(even) { background: var(--sand-3); }

.fx__when {
  font-variant-numeric: tabular-nums;
  font-size: var(--t-sm);
  color: var(--char-soft);
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
}
.fx__when b { color: var(--char); font-size: var(--t-base); }

.fx__name { font-weight: 600; font-size: var(--t-base); }
.fx__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: var(--t-sm);
  color: var(--char-soft);
  margin-top: 2px;
}

.fx__odds { display: flex; gap: var(--sp-2); }

.odd {
  flex: 1;
  min-width: 76px;
  text-align: center;
  padding: 9px var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--sand);
  color: var(--char);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: var(--t-base);
  text-decoration: none;
  transition: border-color .14s var(--ease), background .14s var(--ease);
}
.odd small {
  display: block;
  font-weight: 500;
  font-size: 10.5px;
  color: var(--char-soft);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.odd:hover { border-color: var(--grass); background: var(--white); color: var(--char); }
.odd[aria-pressed="true"] { border-color: var(--grass); background: var(--grass-lt); }

.data-note {
  margin-top: var(--sp-3);
  font-size: var(--t-sm);
  color: var(--char-mute);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}
.data-note .ico { width: 16px; height: 16px; flex: none; margin-top: 3px; }

/* ------------------------------------------------------------ event page */

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-3);
  font-size: var(--t-sm);
  color: var(--char-soft);
}
.event-meta span { display: inline-flex; align-items: center; gap: 7px; }
.event-meta .ico { width: 16px; height: 16px; color: var(--char-mute); }

.event-status { text-align: left; }

.market { margin-bottom: var(--sp-6); }
.market__head { margin-bottom: var(--sp-3); }
.market__head h2 {
  font-size: var(--t-lg);
  padding-bottom: var(--sp-2);
  border-bottom: 2px solid var(--line);
}
.market__head p { margin-top: var(--sp-2); font-size: var(--t-sm); color: var(--char-soft); }

.market__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-2);
}

.pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 52px;
  padding: 10px var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  color: var(--char);
  text-align: left;
  transition: border-color .14s var(--ease), background .14s var(--ease);
}
.pick:hover { border-color: var(--grass); background: var(--sand-3); }
.pick[aria-pressed="true"] { border-color: var(--grass); background: var(--grass-lt); }
.pick__label { font-size: var(--t-sm); font-weight: 500; }
.pick__price { font-weight: 700; font-variant-numeric: tabular-nums; flex: none; }
.pick--static { background: var(--sand-3); color: var(--char-soft); cursor: default; }
.pick--static .pick__price { font-weight: 600; }

.event-side {
  background: var(--sand-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--sp-4);
}
.event-side h2 { font-size: var(--t-base); margin-bottom: var(--sp-3); }
.event-side .list-check li { font-size: var(--t-sm); }

/*
 * Fixture row link.
 *
 * The visible text is one 19px line, well under the 24px minimum target. Rather
 * than padding the heading and pushing the rows apart, the link is stretched
 * over the whole row — which is also what people try to click anyway. The odds
 * buttons are lifted above it so they stay independently clickable.
 */
.fx__link { color: inherit; text-decoration: none; }
.fx__link:hover { color: var(--grass-dk); text-decoration: underline; }
.fx__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fx:has(.fx__link) { position: relative; }
.fx:hover:has(.fx__link) { background: var(--sand-3); }
.fx__odds { position: relative; z-index: 2; }
.fx__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: var(--r); }
.fx__tag {
  display: inline-block;
  background: var(--sand-2);
  border-radius: 999px;
  padding: 1px 9px;
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--char-soft);
}
.odd--more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--grass);
  border-style: dashed;
  background: transparent;
}
.odd--more:hover { border-style: solid; background: var(--grass-lt); color: var(--grass-dk); }

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

.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s var(--ease), transform .18s var(--ease);
}
.card--link:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__icon {
  width: 42px; height: 42px;
  border-radius: var(--r);
  background: var(--grass-lt);
  color: var(--grass-dk);
  display: grid; place-items: center;
  margin-bottom: var(--sp-3);
}
.card__icon .ico { width: 21px; height: 21px; }
.card h3 { font-size: var(--t-lg); margin-bottom: var(--sp-2); }
.card p { color: var(--char-soft); font-size: var(--t-sm); }
/*
 * The card is not itself clickable, so this link is the only target in it —
 * it needs a real tap area, not a 22px line of text.
 */
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--sp-2);
  min-height: 44px;
  padding-block: var(--sp-2);
  font-weight: 600; font-size: var(--t-sm);
  color: var(--grass);
}
.card--link:hover .card__more .ico { transform: translateX(3px); }
.card__more .ico { width: 15px; height: 15px; transition: transform .16s var(--ease); }

/* zigzag rhythm */
.split { display: grid; gap: var(--sp-5); align-items: center; }

/*
 * Document layout: body copy plus a sticky contents list.
 *
 * `align-items: start` matters — the centred alignment used by the marketing
 * split collapses the aside to its content height, which leaves a sticky child
 * with no track to stick within, and the contents list scrolls away.
 */
.split--doc { align-items: start; }
.split--doc > aside { position: sticky; top: var(--sp-4); }

/*
 * Grid children default to min-width:auto, which means a wide child (a table)
 * stretches its column instead of scrolling inside it. Zeroing the minimum lets
 * .table-scroll actually do its job.
 */
.split > *, .grid > * { min-width: 0; }
.prose { min-width: 0; }
.split__media {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--sand-3);
  overflow: hidden;
}

/* ---------------------------------------------------------------- photos */

picture { display: block; }

/*
 * Photo frame. A light warm veil sits over every photograph so stock imagery
 * settles into the sand-and-turf palette instead of shouting over it.
 */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--sand-2);
  aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(244, 239, 230, .10) 0%, rgba(27, 30, 28, .18) 100%);
  mix-blend-mode: multiply;
}
.media-frame--wide { aspect-ratio: 16 / 9; }

/* photo at the top of a card */
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--photo .media-frame { border: 0; border-radius: 0; aspect-ratio: 16 / 10; }
.card--photo__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.card--photo__body h3 { font-size: var(--t-lg); margin-bottom: var(--sp-2); }
.card--photo__body p { color: var(--char-soft); font-size: var(--t-sm); }

/* wide photo strip above a tab panel */
.panel-media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: var(--sp-5);
  aspect-ratio: 21 / 9;
  background: var(--sand-2);
}
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
/*
 * The caption sits on photography, so its legibility cannot depend on what the
 * photo happens to show. The scrim is opaque where the text actually sits.
 */
.panel-media__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-7) var(--sp-4) var(--sp-3);
  background: linear-gradient(to top,
    rgba(15, 22, 16, .94) 0%, rgba(15, 22, 16, .86) 45%, rgba(15, 22, 16, 0) 100%);
  color: #fffdf9;
  font-size: var(--t-sm);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(15, 22, 16, .6);
}

/* ------------------------------------------------------- full-bleed band */

/*
 * Layering runs 0 → 1 → 2, all positive. A negative z-index inside an isolated
 * stacking context paints behind the element's own background, which hid the
 * photograph completely.
 */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #24402f;
  color: var(--white);
  padding: var(--sp-8) 0;
}
.band__bg { position: absolute; inset: 0; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right, rgba(15, 22, 16, .93) 0%, rgba(15, 22, 16, .76) 46%, rgba(15, 22, 16, .38) 100%);
}
.band > .wrap { position: relative; z-index: 2; }
.band h2 { font-size: var(--t-2xl); color: var(--white); }
.band p { color: #e9e3d6; margin-top: var(--sp-3); max-width: 56ch; }
.band__inner { max-width: 640px; }
.band .kicker { color: #f0c99a; }
.band .list-check .ico { color: #a9d3b0; }
.band .list-check li { color: #e9e3d6; }
.band .btn--ghost { background: var(--white); border-color: transparent; color: var(--char); }
.band .btn--ghost:hover { background: var(--sand-2); color: var(--char); }

/* ------------------------------------------------------------------- tabs */

.tabs { border-bottom: 1px solid var(--line); margin-bottom: var(--sp-5); }
.tabs__list {
  display: flex;
  gap: var(--sp-1);
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
/*
 * Tabs are links, not buttons, and only the selected panel is rendered.
 * With 200-plus events on the board, rendering every panel would ship a third
 * of a megabyte of markup that almost nobody scrolls to.
 */
.tabs__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: var(--sp-3) var(--sp-4);
  min-height: 48px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  font-size: var(--t-base);
  color: var(--char-soft);
  white-space: nowrap;
  text-decoration: none;
}
.tabs__btn:hover { color: var(--char); background: var(--sand-3); }
.tabs__btn[aria-current="page"],
.tabs__btn[aria-selected="true"] { color: var(--grass-dk); border-bottom-color: var(--grass); }

.tabs__count {
  font-size: var(--t-xs);
  font-variant-numeric: tabular-nums;
  background: var(--sand-2);
  color: var(--char-soft);
  border-radius: 999px;
  padding: 1px 7px;
  font-weight: 700;
}
.tabs__btn[aria-current="page"] .tabs__count { background: var(--grass); color: var(--white); }

.tabpanel[hidden] { display: none; }

.event-count {
  font-size: var(--t-sm);
  color: var(--char-soft);
  white-space: nowrap;
}
.event-count b {
  font-size: var(--t-lg);
  color: var(--char);
  font-variant-numeric: tabular-nums;
  display: block;
}

/* -------------------------------------------------------------- accordion */

.acc { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; }
.acc__item { border-bottom: 1px solid var(--line-soft); }
.acc__item:last-child { border-bottom: 0; }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4);
  min-height: 56px;
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 600;
  font-size: var(--t-base);
  color: var(--char);
}
.acc__btn:hover { background: var(--sand-3); }
.acc__btn .ico { width: 20px; height: 20px; flex: none; color: var(--char-soft); transition: transform .2s var(--ease); }
.acc__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.acc__panel { padding: 0 var(--sp-4) var(--sp-4); color: var(--char-soft); }
.acc__panel[hidden] { display: none; }
.acc__panel p + p { margin-top: var(--sp-3); }

/* ------------------------------------------------------------------ forms */

.field { margin-bottom: var(--sp-4); }
.field > label,
.field .field__label {
  display: block;
  font-weight: 600;
  font-size: var(--t-sm);
  margin-bottom: 6px;
}
.field__hint { display: block; font-weight: 400; color: var(--char-mute); font-size: var(--t-sm); margin-top: 2px; }

.input, .select, .textarea {
  width: 100%;
  padding: 11px var(--sp-3);
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  color: var(--char);
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--char-mute); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--grass);
  box-shadow: 0 0 0 3px rgba(46, 107, 62, .14);
  outline: none;
}
.textarea { min-height: 120px; resize: vertical; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234a514c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-3) center;
  padding-right: var(--sp-7);
}

.field--invalid .input,
.field--invalid .select { border-color: var(--err); }
.field--invalid .input:focus { box-shadow: 0 0 0 3px rgba(163, 42, 30, .14); }

.field__error {
  display: none;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
  color: var(--err);
  font-size: var(--t-sm);
  font-weight: 500;
}
.field__error .ico { width: 15px; height: 15px; flex: none; margin-top: 3px; }
.field--invalid .field__error { display: flex; }

/* checkbox rows keep their own display so the .field label rule cannot flatten them */
.check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: var(--sp-3); }
.field .check__label,
.check__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: var(--t-sm);
  line-height: 1.5;
  margin-bottom: 0;
  cursor: pointer;
}
.check__label { padding-block: var(--sp-2); }
.check__label input[type="checkbox"] {
  width: 22px; height: 22px;
  flex: none;
  margin-top: 0;
  accent-color: var(--grass);
}

.row { display: grid; gap: var(--sp-3); }
.row--2 { grid-template-columns: 1fr; }
.row--3 { grid-template-columns: 1fr; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-soft);
}

/* stepper */
.steps {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  counter-reset: step;
  flex-wrap: wrap;
}
.steps__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--char-mute);
  padding: 6px var(--sp-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.steps__item b {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sand-2);
  color: var(--char-soft);
  display: grid; place-items: center;
  font-size: var(--t-xs);
}
.steps__item[data-state="current"] { color: var(--grass-dk); border-color: var(--grass); background: var(--grass-lt); }
.steps__item[data-state="current"] b { background: var(--grass); color: var(--white); }
.steps__item[data-state="done"] { color: var(--char-soft); }
.steps__item[data-state="done"] b { background: var(--grass); color: var(--white); }
.steps__item[data-state="done"] .ico { width: 13px; height: 13px; }

.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset[hidden] { display: none; }
.fieldset > legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-xl);
  margin-bottom: var(--sp-2);
  padding: 0;
}
.fieldset__intro { color: var(--char-soft); margin-bottom: var(--sp-5); }

/* --------------------------------------------------------------- notices */

.notice {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--sand-3);
  font-size: var(--t-sm);
  line-height: 1.55;
}
.notice .ico { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.notice strong { display: block; font-size: var(--t-base); margin-bottom: 2px; }
.notice--warn { background: var(--warn-bg); border-color: #e5cf9f; color: #533708; }
.notice--warn .ico { color: var(--warn); }
.notice--ok { background: var(--ok-bg); border-color: #bcd6c0; color: #1e4c2a; }
.notice--ok .ico { color: var(--ok); }
.notice--err { background: var(--err-bg); border-color: #e6bab5; color: #7a1f16; }
.notice--err .ico { color: var(--err); }

/* ------------------------------------------------------------------ prose */

.prose { max-width: 74ch; min-width: 0; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 {
  font-size: var(--t-xl);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: var(--t-md); margin-top: var(--sp-5); }
.prose ul, .prose ol { padding-left: var(--sp-5); }
.prose li + li { margin-top: var(--sp-2); }
.prose li::marker { color: var(--terra); }
.prose dt { font-weight: 700; margin-top: var(--sp-3); }
.prose dd { margin-left: 0; color: var(--char-soft); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.prose th, .prose td { text-align: left; padding: 10px var(--sp-3); border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose th { font-weight: 700; background: var(--sand-3); }
.prose code { font-family: var(--font-mono); font-size: .9em; overflow-wrap: anywhere; }

/*
 * A wide table scrolls inside its own box rather than pushing the page sideways.
 * tabindex is applied in the markup so keyboard users can reach the scroll area.
 */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.table-scroll table { min-width: 460px; }
.table-scroll th:first-child, .table-scroll td:first-child { padding-left: var(--sp-4); }
.table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.toc {
  background: var(--sand-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--sp-4);
}
.toc h2 { font-size: var(--t-base); border: 0; margin: 0 0 var(--sp-2); padding: 0; }
.toc ol { padding-left: var(--sp-5); font-size: var(--t-sm); }
.toc li { margin-top: 4px; }

.doc-meta {
  font-size: var(--t-sm);
  color: var(--char-soft);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-5);
}

/* ----------------------------------------------------------------- footer */

.footer { background: var(--char); color: #d9d3c7; padding: var(--sp-7) 0 var(--sp-5); }
.footer a { color: #ece6d9; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }

.footer__top { display: grid; gap: var(--sp-6); }
.footer__col h2 {
  font-size: var(--t-sm);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a9a396;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.footer__col ul { list-style: none; padding: 0; }
.footer__col li + li { margin-top: 2px; }
.footer__col a {
  font-size: var(--t-sm);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;   /* short labels like "Sports" still need a full target */
}

/* .brand carries the light-surface ink colour; inside the dark footer it must not. */
.footer .brand { color: inherit; }
.footer__brandcol .brand__name { color: var(--white); }
.footer__brandcol .brand__tld { color: #a9a396; }
.footer__blurb { font-size: var(--t-sm); color: #b5afa2; margin-top: var(--sp-3); max-width: 42ch; }

/* legal data gets a full-width band, never a cramped fourth column */
.footer__legal {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid #33383400;
  border-top-color: #343936;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4) var(--sp-5);
  font-size: var(--t-sm);
  line-height: 1.6;
}
.footer__legal dt {
  color: #a9a396;
  font-size: var(--t-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.footer__legal dd { margin: 0; color: #e4dfd3; }

.footer__safety {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid #343936;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}
.selfx {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  border: 1px solid #4a504b;
  border-radius: var(--r);
  padding: 9px var(--sp-3);
  background: #222724;
  color: #ece6d9;
  text-decoration: none;
  font-size: var(--t-sm);
  line-height: 1.25;
}
.selfx:hover { border-color: #6d746e; color: var(--white); text-decoration: none; }
.selfx .ico { width: 20px; height: 20px; flex: none; color: #c9c2b4; }
.selfx b { display: block; font-weight: 700; }
.selfx span { display: block; font-size: var(--t-xs); color: #a9a396; }

.pay {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pay__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #4a504b;
  border-radius: var(--r-sm);
  padding: 7px var(--sp-3);
  font-size: var(--t-sm);
  font-weight: 600;
  color: #ece6d9;
  background: #222724;
}
/*
 * Brand marks sit on their own light chip. Card schemes specify a clear space
 * and a light background for their logos, and a dark tile would misrepresent them.
 */
.pay__item--logo { background: #f4efe6; border-color: #f4efe6; padding: 6px 10px; }
.pay__item--logo img { height: 20px; width: auto; display: block; }

/* Methods without a brand mark get the same light chip, set in our own type. */
.pay__item--mark {
  gap: 7px;
  color: var(--char);
  font-weight: 700;
  font-size: var(--t-sm);
  padding: 6px 12px;
}
.pay__item--mark .ico { width: 18px; height: 18px; color: var(--grass-dk); }
.pay__note { font-size: var(--t-sm); color: #b5afa2; }

.footer__bottom {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid #343936;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  justify-content: space-between;
  font-size: var(--t-sm);
  color: #a9a396;
}
/* The tagline wraps rather than being clipped — it is a required message. */
.footer__tagline {
  color: #e4dfd3;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  min-width: 0;
}
/* "Gamble Responsibly" is fixed; the seven NCPF slogans rotate beside it. */
.footer__tagline strong { color: var(--white); font-weight: 700; }
.footer__tagline .sep { opacity: .4; }
.footer__bottom > p { min-width: 0; }

/* ---------------------------------------------------------- cookie banner */

.cookie {
  position: fixed;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: var(--sp-3);
  z-index: 95;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-4);
  max-width: 560px;
  margin-inline: auto;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: var(--t-md); margin-bottom: var(--sp-2); }
.cookie p { font-size: var(--t-sm); color: var(--char-soft); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.cookie__actions .btn { flex: 1 1 auto; }

/* ------------------------------------------------------------------ modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--sp-4);
  background: rgba(27, 30, 28, .55);
}
.modal[hidden] { display: none; }
.modal__box {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: var(--sp-5);
}
.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}
.modal__head h2 { font-size: var(--t-xl); }

.cookie-cat {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.cookie-cat p { font-size: var(--t-sm); color: var(--char-soft); margin-top: 4px; }

/* ----------------------------------------------------------- scroll to top */

.to-top {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 80;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--char);
  color: var(--white);
  border: 0;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.to-top[data-visible] { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--grass-dk); }
.to-top .ico { width: 21px; height: 21px; }

/* -------------------------------------------------------------- bet slip */

.slip {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 85;
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% - 52px));
  transition: transform .22s var(--ease);
}
.slip[hidden] { display: none; }
.slip[data-open] { transform: translateY(0); }
.slip__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  min-height: 52px;
  background: var(--char);
  color: var(--white);
  border: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  font-weight: 700;
}
.slip__toggle .ico { width: 19px; height: 19px; }
.slip__count {
  background: var(--terra);
  color: var(--white);
  border-radius: 999px;
  min-width: 24px;
  padding: 0 7px;
  font-size: var(--t-sm);
  font-variant-numeric: tabular-nums;
  display: inline-grid;
  place-items: center;
}
.slip__body { padding: var(--sp-4); max-height: 46vh; overflow-y: auto; }
.slip__empty { color: var(--char-mute); font-size: var(--t-sm); text-align: center; padding: var(--sp-5) 0; }
.slip__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--t-sm);
}
.slip__item:last-child { border-bottom: 0; }
.slip__item b { font-variant-numeric: tabular-nums; }
.slip__remove {
  background: transparent;
  border: 0;
  color: var(--char-mute);
  padding: 2px;
  line-height: 0;
}
.slip__remove:hover { color: var(--err); }
.slip__remove .ico { width: 16px; height: 16px; }
.slip__foot { padding: var(--sp-3) var(--sp-4) var(--sp-4); border-top: 1px solid var(--line); }

/* --------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal[data-shown] {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

/* ------------------------------------------------------------- utilities */

.stack > * + * { margin-top: var(--sp-4); }
.stack-sm > * + * { margin-top: var(--sp-2); }
.muted { color: var(--char-soft); }
.small { font-size: var(--t-sm); }
.tnum { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.list-plain { list-style: none; padding: 0; }
.list-check { list-style: none; padding: 0; }
.list-check li { display: flex; align-items: flex-start; gap: 10px; }
.list-check li + li { margin-top: var(--sp-2); }
.list-check .ico { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--grass); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: var(--t-xs);
  font-weight: 600;
  background: var(--white);
  color: var(--char-soft);
}
.badge .ico { width: 13px; height: 13px; }
.badge--ok { border-color: #bcd6c0; background: var(--ok-bg); color: #1e4c2a; }

/* =========================================================== breakpoints */

@media (min-width: 600px) {
  .row--2 { grid-template-columns: 1fr 1fr; }
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .fx {
    grid-template-columns: 96px 1fr;
    grid-template-areas: "when name" "odds odds";
    align-items: center;
  }
  .fx__when { grid-area: when; flex-direction: column; align-items: flex-start; gap: 0; }
  .fx__body { grid-area: name; }
  .fx__odds { grid-area: odds; }
  .odd { flex: 0 1 108px; }
}

@media (min-width: 860px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .row--3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
  .split--flip .split__media { order: -1; }
  .split--doc { grid-template-columns: minmax(0, 1fr) 260px; gap: var(--sp-7); }
  .fx {
    grid-template-columns: 104px 1fr auto;
    grid-template-areas: "when name odds";
    padding: var(--sp-4) var(--sp-5);
  }
  .fx__odds { grid-area: odds; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .mbar { display: none; }
  .shell { display: flex; min-height: 100vh; }
  .rail {
    width: var(--rail-w);
    flex: 0 0 var(--rail-w);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }
  .main { flex: 1; }
  .wrap { padding-inline: var(--sp-6); }
  .hero { min-height: 540px; }
  .hero__inner { padding: var(--sp-7) var(--sp-6); }
  .hero__stamp { display: grid; }
  .section { padding: var(--sp-8) 0; }
}

/* ------------------------------------------------------- drawer, mobile */

@media (max-width: 1023px) {
  .rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 86vw);
    z-index: 75;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .24s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .rail[data-open] { transform: none; }
}

/* --------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------- print */

@media print {
  .rail, .mbar, .compliance, .to-top, .slip, .cookie, .hero__scene { display: none !important; }
  body { background: #fff; }
  body::after { display: none; }
  .footer { background: #fff; color: #000; }
}
