/* ==========================================================================
   CutiePie Central · Love Island 2026
   1930s rubber-hose cartoon cel meets a reality-TV graphics package.
   Every colour below was sampled from the mascot artwork.
   ========================================================================== */

:root {
  --ink:        #4A1A12;   /* the cartoon outline — warm, never pure black */
  --ink-soft:   #7A4230;
  --night:      #1D1D25;   /* the app-icon frame */
  --gold:       #F7B851;   /* cheesecake filling */
  --gold-deep:  #E09B2D;
  --cream:      #F4E0BC;   /* sign wood */
  --cream-lt:   #FBF1DC;
  --crust:      #BC8560;
  --red:        #CC483C;   /* the sneakers */
  --red-deep:   #A83030;
  --coral:      #F06C6C;   /* the floating hearts */
  --pool:       #76D3ED;
  --pool-deep:  #4FB2D2;
  --palm:       #729841;

  --dot:        rgba(74, 26, 18, .10);
  --line:       3px;
  --pop:        cubic-bezier(.34, 1.56, .64, 1);   /* squash-and-stretch */
  --gap:        clamp(2rem, 7vw, 3.25rem);
  --pad:        clamp(1rem, 4.5vw, 1.75rem);

  --f-display:  "Alfa Slab One", Rockwell, Georgia, serif;
  --f-script:   "Grand Hotel", "Brush Script MT", cursive;
  --f-chyron:   "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body:     "Figtree", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

/* The `hidden` attribute must always win. Several panels are toggled by both
   `hidden` and a class, and a bare class selector out-specifies the UA rule —
   without this, the two can silently disagree about what's on screen. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, 3.6vw, 1.0625rem);
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.3px);
  background-size: 11px 11px;
  overflow-x: hidden;
}

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

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

/* Laptop-only advice — dropped on phones to keep the board on one screen. */
.wide-only { display: none; }
@media (min-width: 560px) { .wide-only { display: inline; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Progressive enhancement: without JS everything simply stays visible —
   one long scrolling page, every screen in document order. */
.js .villa,
.js .results { display: none; }
.js .villa.is-open,
.js .results.is-open { display: block; }

/* ── one screen at a time ────────────────────────────────────────────── */

.js .screen { display: none; }
.js .screen.is-current {
  display: block;
  animation: screen-in .3s var(--pop) both;
}
@keyframes screen-in {
  from { opacity: 0; transform: translateY(16px); }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0 1.4rem;
}

.nav__back {
  font-family: var(--f-chyron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .875rem;
  cursor: pointer;
  padding: .4rem .9rem;
  color: var(--ink);
  background: var(--cream-lt);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .14s var(--pop);
}
.nav__back:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.nav__count {
  margin: 0;
  font-family: var(--f-chyron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .875rem;
  color: var(--ink-soft);
}

/* ── shared type ─────────────────────────────────────────────────────── */

.chyron {
  font-family: var(--f-chyron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .8125rem;
  margin: 0;
  color: var(--ink);
}

/* ── preview flag ────────────────────────────────────────────────────── */

.preview-flag {
  margin: 0;
  padding: .7rem var(--pad);
  background: var(--gold);
  border-bottom: var(--line) solid var(--ink);
  font-size: .875rem;
  text-align: center;
}
.preview-flag code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(74, 26, 18, .12);
  padding: .1em .35em;
  border-radius: 4px;
}

/* ── hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;          /* the sunburst bleeds wider than the phone */
  text-align: center;
  padding: clamp(1.5rem, 6vw, 3rem) var(--pad) clamp(2.5rem, 8vw, 4rem);
  max-width: 780px;
  margin: 0 auto;
}

.hero > .chyron {
  display: inline-block;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  padding: .3rem 1rem;
  background: var(--cream-lt);
  box-shadow: 3px 3px 0 var(--ink);
}

.lockup {
  margin: clamp(1rem, 4vw, 1.75rem) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1em;
}

.lockup__script {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(1.5rem, 7.5vw, 2.6rem);
  color: var(--red-deep);
  line-height: 1;
  transform: rotate(-2.5deg);
}

.lockup__display {
  font-family: var(--f-display);
  font-size: clamp(2.9rem, 16vw, 6.5rem);
  line-height: .82;
  letter-spacing: -.015em;
  color: var(--ink);
  text-transform: uppercase;
  /* stacked ink shadow — a screen-printed poster, not a drop shadow */
  text-shadow:
    3px 3px 0 var(--gold),
    6px 6px 0 var(--red);
}

.lockup__year {
  display: flex;
  gap: .35em;
  margin-top: .5em;
}
.lockup__year span {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 4.5vw, 1.75rem);
  line-height: 1;
  width: 1.9em;
  padding: .3em 0;
  background: var(--cream-lt);
  border: var(--line) solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
}
.lockup__year span:nth-child(even) { background: var(--pool); }

.hero__art {
  position: relative;
  margin: clamp(1.5rem, 5vw, 2.25rem) auto 0;
  width: min(100%, 420px);
}
/* sunburst — the title-card flourish, kept faint */
.hero__art::before {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: repeating-conic-gradient(
    var(--gold) 0deg 9deg, transparent 9deg 18deg);
  opacity: .38;
  z-index: -1;
  animation: spin 90s linear infinite;
}
.hero__art img {
  border-radius: 24%;
  border: var(--line) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero__pitch {
  margin: clamp(1.5rem, 5vw, 2rem) auto 0;
  max-width: 30ch;
  font-size: clamp(1.0625rem, 4.2vw, 1.25rem);
  font-weight: 500;
}

/* the villa gate — replaces the enter button when the link has no key */
.gate {
  max-width: 340px;
  margin: clamp(1.25rem, 4vw, 1.75rem) auto 0;
  text-align: left;
}
.gate .btn { width: 100%; margin-top: .85rem; }
.gate .err { text-align: center; }

.hero__time {
  margin: .85rem 0 0;
  font-family: var(--f-chyron);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8125rem;
  color: var(--ink-soft);
}

/* ── buttons ─────────────────────────────────────────────────────────── */

.btn {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 4.4vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--cream-lt);
  background: var(--red);
  border: var(--line) solid var(--ink);
  border-radius: 14px;
  padding: .75em 1.5em;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .16s var(--pop), box-shadow .16s var(--pop), background .16s;
}
.btn:hover { background: var(--red-deep); }
.btn:active {
  transform: translate(5px, 5px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn[disabled] { opacity: .6; cursor: progress; }

.btn--enter { margin-top: clamp(1.25rem, 4vw, 1.75rem); }
.btn--send  { margin-top: 1.25rem; width: 100%; }
.btn--next  { margin-top: 1.75rem; width: 100%; }

/* ── the villa ───────────────────────────────────────────────────────── */

.villa {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(3rem, 10vw, 5rem);
  /* keeps short screens from making the page height jump between steps */
  min-height: 88svh;
}

/* Only one screen shows at a time, so the trailing gap is dead space. */
.js .step { margin-bottom: 0; }
.js .step__title:focus-visible { outline-offset: 6px; }

/* the one Love Island device, used once */
.text-card {
  background: var(--night);
  color: var(--cream-lt);
  border: var(--line) solid var(--ink);
  border-radius: 18px;
  padding: clamp(1.1rem, 4.5vw, 1.6rem);
  box-shadow: 7px 7px 0 var(--ink);
  margin-bottom: var(--gap);
}
.text-card__alert {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(1.1rem, 5vw, 1.5rem);
  margin: 0 0 .5rem;
  color: var(--gold);
}
.text-card__body {
  font-family: var(--f-chyron);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: clamp(1rem, 4vw, 1.15rem);
  line-height: 1.45;
  margin: 0;
  min-height: 4.5em;
}
.text-card__body::after {
  content: "▌";
  animation: blink 1s steps(2) infinite;
}
.text-card.is-done .text-card__body::after { content: none; }
@keyframes blink { 50% { opacity: 0; } }

.text-card__tags {
  margin: .75rem 0 0;
  font-family: var(--f-chyron);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--pool);
  font-size: .875rem;
}

/* ── steps ───────────────────────────────────────────────────────────── */

.step { margin: 0 0 var(--gap); }

.step__title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 6vw, 1.9rem);
  line-height: 1.15;
  margin: 0 0 .75rem;
}

.step__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  font-size: .72em;
  color: var(--cream-lt);
  background: var(--ink);
  border-radius: 50%;
  transform: rotate(-6deg);
}

.step__hint {
  margin: -.35rem 0 1rem;
  color: var(--ink-soft);
  font-size: .9375rem;
}

/* ── fields ──────────────────────────────────────────────────────────── */

.field { display: block; }
.field__label {
  display: block;
  font-family: var(--f-chyron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8125rem;
  margin-bottom: .35rem;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 1rem;          /* 16px keeps iOS from zooming on focus */
  color: var(--ink);
  background: var(--cream-lt);
  border: var(--line) solid var(--ink);
  border-radius: 12px;
  padding: .7rem .85rem;
  box-shadow: 3px 3px 0 var(--ink);
}
input::placeholder, textarea::placeholder { color: rgba(122, 66, 48, .6); }
textarea { resize: vertical; }

.err {
  margin: .5rem 0 0;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--red-deep);
}
.err::before { content: "↑ "; }

.form-err {
  margin: 1rem 0 0;
  padding: .85rem 1rem;
  background: var(--coral);
  border: var(--line) solid var(--ink);
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink);
}

/* ── interest picks ──────────────────────────────────────────────────── */

.picks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}

.pick {
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: .1rem;
  padding: .8rem .75rem;
  background: var(--cream-lt);
  border: var(--line) solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  color: inherit;
  transition: transform .16s var(--pop), background .16s;
}
/* <picture> would otherwise become the grid item and box the image in. */
.pick picture { display: contents; }

/* Gemini only returns JPEG, so these were drawn on flat cream and keyed out to
   alpha in imagen.py --cutout. They sit directly on the button, which means they
   still read once .pick[aria-checked] swaps the background to gold. */
.pick__art {
  width: 46px;
  height: 46px;
  margin-bottom: .15rem;
}
.pick__name  { font-weight: 800; font-size: 1.0625rem; }
.pick__note  { font-size: .8125rem; color: var(--ink-soft); line-height: 1.3; }
.pick:hover  { transform: translateY(-2px); }
.pick[aria-checked="true"] {
  background: var(--gold);
  transform: translateY(-2px) rotate(-1deg);
}
.pick[aria-checked="true"] .pick__note { color: var(--ink); }

/* ── toggle ──────────────────────────────────────────────────────────── */

.toggle {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-top: 1rem;
  cursor: pointer;
  font-size: .9375rem;
}
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle__box {
  flex: none;
  width: 26px; height: 26px;
  background: var(--cream-lt);
  border: var(--line) solid var(--ink);
  border-radius: 7px;
  box-shadow: 3px 3px 0 var(--ink);
  display: grid; place-items: center;
}
.toggle__box::after {
  content: "✓";
  font-weight: 800;
  color: var(--ink);
  transform: scale(0);
  transition: transform .18s var(--pop);
}
.toggle input:checked + .toggle__box { background: var(--gold); }
.toggle input:checked + .toggle__box::after { transform: scale(1); }
.toggle input:focus-visible + .toggle__box { outline: 3px solid var(--red); outline-offset: 3px; }
.toggle__text em { font-style: normal; color: var(--ink-soft); }

/* ── contacts ────────────────────────────────────────────────────────── */

.contacts { display: grid; gap: .6rem; }
.contact  { display: grid; gap: .5rem; }

.chip { cursor: pointer; display: block; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip__face {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  padding: .55rem 1rem;
  background: var(--cream-lt);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: background .16s, transform .16s var(--pop);
}
.chip input:checked + .chip__face {
  background: var(--pool);
  transform: translate(1px, 1px);
}
.chip input:focus-visible + .chip__face { outline: 3px solid var(--red); outline-offset: 3px; }

.preferred { margin-top: 1.1rem; }
.preferred__label {
  font-family: var(--f-chyron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8125rem;
  margin: 0 0 .5rem;
}
.preferred__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.pref {
  font: inherit;
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  padding: .4rem .9rem;
  background: var(--cream-lt);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  color: inherit;
}
.pref[aria-checked="true"] { background: var(--gold); }

/* ── the recoupling board ────────────────────────────────────────────── */

.quick {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}
.quick__btn {
  font-family: var(--f-chyron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8125rem;
  cursor: pointer;
  /* tuned so all four fit one row at 390px — a second row costs 40px of
     vertical space on the tallest screen in the flow */
  padding: .45rem .7rem;
  color: var(--ink);
  background: var(--gold);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .14s var(--pop);
}
.quick__btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.quick__btn--ghost { background: var(--cream-lt); }

.board {
  background: var(--cream-lt);
  border: var(--line) solid var(--ink);
  border-radius: 16px;
  padding: .75rem .6rem .6rem;
  box-shadow: 6px 6px 0 var(--ink);
  touch-action: pan-y;      /* let vertical scroll through, we handle drag-x */
}

.board__head,
.board__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.board__head {
  margin-bottom: .4rem;
  font-family: var(--f-chyron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .75rem;
  text-align: center;
  color: var(--ink-soft);
}

.day {
  position: relative;
  font: inherit;
  font-weight: 700;
  font-size: clamp(.8rem, 3.4vw, 1rem);
  aspect-ratio: 1;
  min-height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 9px;
  padding: 0;
  transition: transform .16s var(--pop), background .16s;
}
.day--hot { background: #F8E2B4; }
.day--hot::before {
  content: "";
  position: absolute;
  top: 3px; right: 3px;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.day:hover:not(:disabled) { transform: scale(1.06); }

.day[aria-pressed="true"] {
  background: var(--gold);
  transform: rotate(-3deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.day[aria-pressed="true"]::after {
  content: "♥";
  position: absolute;
  bottom: -1px; right: 2px;
  font-size: .7em;
  color: var(--red);
  animation: stamp .28s var(--pop);
}
@keyframes stamp {
  from { transform: scale(2.6) rotate(-25deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}

.day:disabled,
.day--blocked {
  cursor: not-allowed;
  color: rgba(74, 26, 18, .5);
  border-style: dashed;
  background-color: var(--crust);
  background-image: repeating-linear-gradient(
    -45deg, transparent 0 5px, rgba(74, 26, 18, .16) 5px 10px);
}
.day--blocked { cursor: default; }

/* Thanksgiving itself. Sits proud of the tile as a badge so nobody can
   miss which day the whole blocked week is built around. */
/* Thanksgiving. Kept inside its own tile — an overhanging badge would be
   painted over by the next tile and crowd a 44px grid. */
.day--turkey {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-color: var(--red-deep);
  border-width: 2px;
}
.day__turkey { font-size: .85em; line-height: 1; }

.turkey-note {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: .85rem 0 0;
  padding: .6rem .8rem;
  background: var(--crust);
  border: 2px dashed var(--ink);
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 600;
  text-align: left;
}
.turkey-note span { font-size: 1.25rem; line-height: 1; flex: none; }
.turkey-note picture { display: contents; }
.turkey-note__art { width: 96px; height: auto; flex: none; }

.board__count {
  margin: .85rem 0 0;
  font-family: var(--f-chyron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .9375rem;
}

.legend {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
  display: grid;
  gap: .4rem;
  font-size: .8125rem;
  color: var(--ink-soft);
}
.legend li { display: flex; align-items: center; gap: .5rem; }
.legend__key {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
  border: 2px solid var(--ink);
  border-radius: 6px;
}
/* The tint alone is too close to a plain tile — the red dot is the real cue. */
.legend__key--hot { background: #F8E2B4; }
.legend__key--hot::before {
  content: "";
  position: absolute;
  top: 2px; right: 2px;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.legend__key--picked  { background: var(--gold); }
.legend__key--blocked {
  border-style: dashed;
  background-color: var(--crust);
  background-image: repeating-linear-gradient(
    -45deg, transparent 0 4px, rgba(74, 26, 18, .16) 4px 8px);
}

/* ── results ─────────────────────────────────────────────────────────── */

.results {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2rem, 8vw, 3.5rem) var(--pad) 0;
  text-align: center;
}

.results__stamp { width: min(58%, 240px); margin: 0 auto clamp(1rem, 4vw, 1.5rem); }
.results__stamp img {
  border-radius: 24%;
  border: var(--line) solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  animation: drop .6s var(--pop);
}
@keyframes drop {
  from { transform: translateY(-40px) scale(.7) rotate(-8deg); opacity: 0; }
}

.results__title {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 9vw, 3rem);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--gold);
}
.results__sub { margin: .85rem auto 0; max-width: 34ch; font-weight: 500; }

.tally {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .6rem;
  margin: clamp(1.75rem, 6vw, 2.5rem) 0;
}
.stat {
  background: var(--cream-lt);
  border: var(--line) solid var(--ink);
  border-radius: 14px;
  padding: .85rem .5rem;
  box-shadow: 4px 4px 0 var(--ink);
}
.stat__n {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  line-height: 1;
}
.stat__l {
  display: block;
  font-family: var(--f-chyron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .75rem;
  color: var(--ink-soft);
  margin-top: .3rem;
}

.results__h3 {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 5.5vw, 1.6rem);
  margin: 0 0 .35rem;
}
.results__hint { margin: 0 0 1rem; font-size: .9375rem; color: var(--ink-soft); }

.board--heat { text-align: center; }
.board--heat .day { cursor: default; overflow: hidden; }
.board--heat .day:hover:not(:disabled) { transform: none; }

/* the villa meter: everyone's answers rising up the tile */
.heat__fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--heat, 0) * 100%);
  background: var(--gold);
  z-index: 0;
  transition: height .7s var(--pop);
}
.heat__n {
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}
.day--best { border-width: 3px; box-shadow: 0 0 0 3px var(--red); }

.results__top {
  margin: 1.25rem 0 0;
  font-weight: 600;
}

.results__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin: clamp(1.75rem, 6vw, 2.5rem) 0 0;
}

.footer {
  margin: clamp(3rem, 10vw, 5rem) 0 0;
  padding: 2rem 0 3rem;
  border-top: var(--line) dashed var(--ink);
  font-family: var(--f-chyron);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8125rem;
  color: var(--ink-soft);
}
/* ── confetti ────────────────────────────────────────────────────────── */

.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 90;
}
.confetti i {
  position: absolute;
  top: -8vh;
  font-size: 1.4rem;
  animation: fall linear forwards;
}
@keyframes fall {
  to { transform: translateY(112vh) rotate(var(--spin, 540deg)); opacity: .9; }
}

/* ── wider screens ───────────────────────────────────────────────────── */

@media (min-width: 560px) {
  .picks    { grid-template-columns: repeat(4, 1fr); }
  .contacts { grid-template-columns: repeat(2, 1fr); }
  .legend   { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem; }
  .day      { min-height: 52px; }
}

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