/* Hallmark · checked: 2026-12-01 · genre: editorial · theme: warm paper, deep teal, gold / floor: 0 FAIL · fixed: 7a, 19, 20, 26a, 34, 48, 54, 67 · contrast: gold 3.07 to 5.91, muted 4.13 to 4.90 · v2.0.0 */
/* Critique: a results board whose one job is the latest draw per game; the prize figure is the signature, so the contrast budget goes to the gold text; labels are sentence case, one step smaller. */
/* Luminavale - design system
   Palette: warm paper, deep teal, gold. Mobile first, no fixed widths. */

:root {
  --paper: #faf6ee;
  --paper-2: #f3ecdf;
  --surface: #ffffff;
  --ink: #12232c;
  --ink-soft: #405158;
  --muted: #5a686f;
  --brand: #0b5b57;
  --brand-dark: #08433f;
  --brand-light: #12756d;
  --gold: #8a5a10;
  --gold-light: #e8c179;
  --gold-wash: #fbf1dd;
  --line: #e6dbc9;
  --line-strong: #d6c8b0;
  --danger: #9a3b1e;
  --danger-wash: #fbeee6;
  --white-82: rgba(255, 255, 255, 0.82);
  --white-72: rgba(255, 255, 255, 0.72);
  --white-66: rgba(255, 255, 255, 0.66);
  --white-58: rgba(255, 255, 255, 0.58);
  --white-45: rgba(255, 255, 255, 0.45);
  --white-14: rgba(255, 255, 255, 0.14);
  --paper-94: rgba(250, 246, 238, 0.94);
  --gold-light-35: rgba(232, 193, 121, 0.35);
  --brand-25: rgba(11, 91, 87, 0.25);
  --brand-16: rgba(11, 91, 87, 0.16);
  --brand-10: rgba(11, 91, 87, 0.1);
  --ink-06: rgba(18, 35, 44, 0.06);
  --row-alt: #fcfaf4;
  --warn-line: #eccdb9;
  --warn-ink: #6f3320;
  --wa-line: #bfe3c8;
  --wa-ink: #1c6b3c;
  --fb-line: #c9d6ee;
  --fb-ink: #1d3f7a;
  --vi-line: #d9c8ea;
  --vi-ink: #5b2d86;
  --tg-line: #c3e2ee;
  --tg-ink: #17607a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(18, 35, 44, 0.06);
  --shadow: 0 1px 2px rgba(18, 35, 44, 0.05), 0 10px 28px -18px rgba(18, 35, 44, 0.35);

  --font-head: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-num: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --fs-hero: clamp(2rem, 7vw, 3.4rem);
  --fs-h1: clamp(1.7rem, 5.4vw, 2.6rem);
  --fs-h2: clamp(1.25rem, 3.6vw, 1.75rem);
  --fs-h3: clamp(1.05rem, 2.8vw, 1.25rem);
  --fs-body: clamp(1rem, 2.6vw, 1.0625rem);
  --fs-small: clamp(0.82rem, 2.2vw, 0.9rem);

  --pad-inline: clamp(1rem, 4vw, 2.5rem);
  --pad-block: clamp(2.25rem, 6vw, 3.75rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

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

a:hover {
  color: var(--brand-dark);
}

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

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
}

p {
  margin: 0 0 0.9rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(100%, 1160px);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: var(--surface);
  padding: 0.75rem 1rem;
  z-index: 50;
}

.skip:focus {
  left: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper-94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem var(--pad-inline) 1rem;
  gap: 0.35rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.nav.is-open {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.nav-link.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--surface);
}

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

.hero {
  background:
    radial-gradient(circle at 12% -10%, var(--gold-light-35), transparent 45%),
    radial-gradient(circle at 88% 0%, var(--brand-16), transparent 42%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  padding-block: clamp(2rem, 6vw, 3.5rem);
}


.hero h1 {
  font-size: var(--fs-hero);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: clamp(1rem, 3vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 1.5rem;
}

.hero-bar {
  display: grid;
  gap: 0.9rem;
}

.hero-date {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-date-label,
.countdown-label {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-date strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.hero-date-zone {
  font-size: var(--fs-small);
  color: var(--muted);
}

.hero-updated {
  font-size: var(--fs-small);
  color: var(--muted);
}

.countdown {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.15rem;
  background: var(--brand);
  color: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.countdown-label {
  color: var(--white-72);
}

.countdown-value {
  font-family: var(--font-num);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.countdown-note {
  font-size: var(--fs-small);
  color: var(--white-72);
}

/* ---------- sections ---------- */

.section {
  padding-block: var(--pad-block);
}

.section--tint {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head p,
.section-sub {
  color: var(--muted);
  max-width: 68ch;
  margin-bottom: 0;
}

.page-head {
  padding-block: clamp(1.75rem, 5vw, 3rem) clamp(1rem, 3vw, 1.75rem);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.page-head--warn {
  background: var(--gold-wash);
  border-bottom-color: var(--gold-light);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-small);
  color: var(--muted);
  padding-block: 0.85rem 0;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.crumb-sep {
  color: var(--line-strong);
}

/* ---------- cards and panels ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0.9rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.game-card:hover {
  border-color: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
}

.card-when {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
}

.card-prize {
  font-size: var(--fs-small);
  color: var(--gold);
  font-weight: 600;
  margin: 0;
}

.card-cta {
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 600;
  margin-top: auto;
}

.card-cta::after {
  content: " \2192";
}

.balls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.1rem, 6.6vw, 2.75rem);
  height: clamp(2.1rem, 6.6vw, 2.75rem);
  border-radius: 999px;
  border: 2px solid var(--brand);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-num);
  font-size: clamp(0.9rem, 3vw, 1.05rem);
  line-height: 1;
  box-shadow: inset 0 -2px 0 var(--ink-06);
}

.ball--gold {
  border-color: var(--gold);
  background: var(--gold-wash);
}

.ball--small {
  width: 2rem;
  height: 2rem;
  font-size: 0.82rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.4rem);
  box-shadow: var(--shadow-sm);
}

.panel--hero {
  border-color: var(--gold-light);
  box-shadow: var(--shadow);
}

.panel--pending {
  background: var(--row-alt);
  border-style: dashed;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.panel-game {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0;
}

.panel-date {
  font-size: var(--fs-small);
  color: var(--muted);
  margin: 0;
}

.slot {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
}

.slot--pending {
  background: var(--paper-2);
  color: var(--muted);
}

.slot--warn {
  background: var(--gold-wash);
  color: var(--gold);
}

.panel-balls {
  margin-bottom: 0.85rem;
}

.stat-row,
.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}

.meta-strip {
  padding-top: 0.4rem;
}

.stat {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
}

.stat-value {
  font-family: var(--font-num);
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.panel-stack {
  display: grid;
  gap: 0.85rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0.9rem;
}

.pending-note {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ---------- today board ---------- */

.today-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.today-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.today-game {
  font-weight: 600;
  font-size: 0.92rem;
}

.today-time {
  font-size: var(--fs-small);
  color: var(--muted);
}

.today-row .balls {
  grid-column: 1 / -1;
  grid-row: 2;
}

.today-state {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
}

.today-row.is-done .today-state {
  color: var(--brand);
}

.today-empty {
  font-size: var(--fs-small);
  color: var(--muted);
  font-style: italic;
}

.next-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.4rem);
  box-shadow: var(--shadow-sm);
}

.next-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 1.1rem;
}

.next-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}

.next-list li:last-child {
  border-bottom: 0;
}

.next-name {
  font-weight: 600;
}

.next-list time {
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 0.8rem;
  text-align: right;
}

/* ---------- lists ---------- */

.draw-list {
  display: grid;
  gap: 0.45rem;
}

.draw-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 0.7rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.row-left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.6rem;
}

.row-date {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-num);
}

.row-game {
  font-size: 0.72rem;
  color: var(--brand);
  font-weight: 600;
}

.row-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.row-prize {
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-num);
}

.row-winners {
  color: var(--muted);
}

.day-list {
  display: grid;
  gap: 0.4rem;
}

.day-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
}

.day-list a:hover {
  border-color: var(--brand-light);
}

.row-day {
  font-size: var(--fs-small);
  color: var(--muted);
}

.row-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-num);
}

.schedule-list {
  display: grid;
  gap: 0.35rem;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.7rem;
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.fact-list {
  display: grid;
  gap: 0.4rem;
}

.fact-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}

.fact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact-list span:last-child {
  color: var(--ink-soft);
  text-align: right;
  font-weight: 500;
}

.tier-list {
  display: grid;
  gap: 0.5rem;
}

.tier-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.tier-name {
  font-weight: 600;
}

.tier-desc {
  font-size: var(--fs-small);
  color: var(--muted);
}

.step-list {
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}

.step-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.step-list p {
  margin: 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--surface);
  font-family: var(--font-num);
  font-size: 0.9rem;
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 0.5rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--brand);
  font-family: var(--font-num);
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- assorted ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chip--ghost {
  background: transparent;
  border-style: dashed;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--surface);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--brand);
}

.btn:hover {
  background: var(--brand-dark);
  color: var(--surface);
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--paper-2);
  color: var(--brand-dark);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.quick-links a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.two-col {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.5rem);
}

.side {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.side-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.side-box h3 {
  margin-bottom: 0.6rem;
}

.side-box p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.side-box p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
  font-size: var(--fs-small);
}

.source-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-left: 3px solid var(--line-strong);
  padding-left: 0.8rem;
}

.next-line {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0.35rem 0 0;
}

.updated-line {
  font-size: var(--fs-small);
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.winners-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.winners-list a {
  display: block;
  padding: 0.65rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.winners-list a:hover {
  border-color: var(--line-strong);
}

.warn-box {
  background: var(--danger-wash);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.94rem;
  color: var(--warn-ink);
  margin-bottom: 1.4rem;
}

.empty-state {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1.5rem 1.1rem;
  text-align: center;
  color: var(--muted);
}

.prose p {
  color: var(--ink-soft);
}

.date-group + .date-group {
  margin-top: 1.6rem;
}

.heat-list {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.heat-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr 2rem;
  align-items: center;
  gap: 0.6rem;
}

.heat-bar {
  height: 0.6rem;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
}

.heat-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-light), var(--gold));
  border-radius: 999px;
}

.heat-count {
  font-family: var(--font-num);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: right;
}

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

.site-footer {
  background: var(--brand-dark);
  color: var(--white-82);
  padding-block: clamp(2rem, 5vw, 3rem) 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--surface);
  margin-bottom: 0.5rem;
}

.footer-note {
  font-size: 0.88rem;
  color: var(--white-66);
  max-width: 34ch;
}

.footer-col h2 {
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-bottom: 0.7rem;
}

.footer-col ul {
  display: grid;
  gap: 0.35rem;
}

.footer-col a {
  color: var(--white-82);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--surface);
  text-decoration: underline;
}

.footer-legal {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--white-14);
}

.footer-legal p {
  font-size: 0.78rem;
  color: var(--white-58);
  margin-bottom: 0.5rem;
}

.footer-copy {
  color: var(--white-45);
}

/* ---------- responsive ---------- */

@media (min-width: 640px) {
  .draw-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .draw-row .rows {
    grid-column: auto;
  }

  .today-row {
    grid-template-columns: 4.5rem 5rem 1fr auto;
  }

  .today-row .balls {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-bar {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    gap: 0.3rem;
  }

  .nav-link {
    border-color: transparent;
    padding: 0 0.65rem;
  }

  .nav-link.is-active {
    border-color: var(--brand);
  }

  .two-col {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

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

/* ---------------------------------------------------------------------------
   Second build: data tables, share row, session pages, claim page
   --------------------------------------------------------------------------- */

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.4rem 0 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 30rem;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  padding: 0.85rem 1rem 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.data-table th {
  text-align: left;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
  padding: 0.7rem 1rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink-soft);
}

.data-table tbody tr:nth-child(even) {
  background: var(--row-alt);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--brand-25);
}

.data-table a:hover {
  color: var(--brand-dark);
  border-bottom-color: var(--brand-dark);
}

.data-table .balls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.state {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.state--ok {
  background: var(--brand-10);
  color: var(--brand);
}

.state--wait {
  background: var(--paper-2);
  color: var(--muted);
}

.inline-link {
  font-size: 0.78rem;
  color: var(--brand);
  white-space: nowrap;
  margin-left: 0.35rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 1.3rem 0 0.4rem;
}

.share-label {
  font-size: 0.74rem;
  color: var(--muted);
  margin-right: 0.25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.share-btn:hover,
.share-btn:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
}

.share-btn--whatsapp {
  border-color: var(--wa-line);
  color: var(--wa-ink);
}

.share-btn--facebook {
  border-color: var(--fb-line);
  color: var(--fb-ink);
}

.share-btn--viber {
  border-color: var(--vi-line);
  color: var(--vi-ink);
}

.share-btn--telegram {
  border-color: var(--tg-line);
  color: var(--tg-ink);
}

.section-head--spaced {
  margin-top: 2.4rem;
}

.sub-head {
  margin-top: 2rem;
}

.prose-block {
  max-width: 74ch;
  margin-bottom: 2rem;
}

.prose-block h2 {
  margin-bottom: 0.7rem;
}

.prose-block p {
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.prose-block:last-child {
  margin-bottom: 0;
}

.claim-steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}

.claim-step {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.claim-step h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.claim-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.claim-step .step-num {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .table-scroll {
    overflow: visible;
  }

  .data-table {
    min-width: 0;
    font-size: 0.95rem;
  }

  .data-table thead {
    display: none;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table tbody tr:last-child {
    border-bottom: 0;
  }

  .data-table tbody tr:nth-child(even) {
    background: var(--row-alt);
  }

  .data-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    border-bottom: 0;
    padding: 0.28rem 0.95rem;
    text-align: right;
  }

  .data-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 0.72rem;
    color: var(--muted);
    text-align: left;
  }

  .data-table td > * {
    margin-left: auto;
  }

  .panel-head {
    display: block;
  }

  .panel-head .slot {
    display: inline-block;
    margin-top: 0.55rem;
  }

  .share-btn {
    flex: 1 1 calc(50% - 0.45rem);
  }
}

/* ------------------------------------------------------------------
   Batch 3: long-tail landing pages
   ------------------------------------------------------------------ */

.alias-line {
  margin: 0.15rem 0 0.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brand);
}

.alias-prize {
  margin-top: -0.1rem;
  max-width: 68ch;
}

.landing-chips {
  margin: 1.1rem 0 0.4rem;
}

.archive-year {
  margin-top: 1.6rem;
}

.archive-year > h2 {
  margin-bottom: 0.75rem;
  scroll-margin-top: 5rem;
}

.archive-month {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem 1rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 5rem;
}

.archive-month > h3 {
  font-size: var(--fs-h3);
  margin: 0 0 0.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.archive-month .data-table {
  margin-top: 0.5rem;
}

.day-chips {
  gap: 0.35rem;
}

.day-chips .chip {
  min-width: 2.9rem;
  min-height: 2.2rem;
  padding: 0 0.5rem;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.stat-value {
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 480px) {
  .archive-month {
    padding: 0.75rem 0.7rem 0.85rem;
  }
  .day-chips .chip {
    min-width: 2.6rem;
    padding: 0 0.35rem;
  }
}

details.archive-month > summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.15rem 0;
}

details.archive-month > summary::marker,
details.archive-month > summary::-webkit-details-marker {
  color: var(--brand);
}

details.archive-month[open] > summary {
  margin-bottom: 0.5rem;
}
