@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Permanent+Marker&display=swap');

/* Landing page (The Game Day Companion). Shared tokens live in styles.css. */
.home {
  --red: #d7262f;
  --red-hot: #ef3a43;
  --gold: #ffc629;
  --glow: #3aa0ff;
  --check: #1fc75a;
  --hand: 'Kalam', 'Comic Sans MS', cursive;
  --marker: 'Permanent Marker', 'Kalam', cursive;
  background: #05070e;
}

/* Buttons */
.cta-red, .cta-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 700 .92rem var(--body); letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
  padding: 1rem 1.6rem; border-radius: 8px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cta-red { background: linear-gradient(180deg, var(--red-hot), var(--red)); color: #fff; box-shadow: 0 6px 22px rgba(215, 38, 47, .35), inset 0 1px 0 rgba(255,255,255,.2); }
.cta-red:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(215, 38, 47, .5); }
.cta-red.small { padding: .7rem 1.1rem; font-size: .78rem; border-radius: 6px; }
.cta-outline { color: #fff; border: 1.5px solid rgba(255,255,255,.85); background: rgba(5, 7, 14, .55); backdrop-filter: blur(4px); }
.cta-outline:hover { background: rgba(255,255,255,.1); transform: translateY(-1px); }

/* Nav */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
}
.logo { display: grid; justify-items: start; text-decoration: none; line-height: .82; transform: skewX(-9deg); font-family: var(--display); font-weight: 900; text-transform: uppercase; color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.5); }
.logo-the { font-size: clamp(.9rem, 1.3vw, 1.15rem); margin-left: .3em; }
.logo-main { font-size: clamp(2.1rem, 3.6vw, 3.2rem); letter-spacing: .01em; position: relative; padding-bottom: .12em; }
.logo-main::after { content: ''; position: absolute; left: -.2em; right: .4em; bottom: .02em; height: .14em; background: var(--red); border-radius: 2px; }
.logo-sub { font-size: clamp(1.05rem, 1.7vw, 1.5rem); justify-self: end; letter-spacing: .06em; margin-top: .1em; }

.nav-links { display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.6rem); }
.nav-links a:not(.cta-red) { color: #fff; text-decoration: none; font-size: .88rem; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.nav-links a:not(.cta-red):hover { color: var(--gold); }
.nav-toggle, .nav-burger { display: none; }

/* Hero stage */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 29fr) minmax(0, 37fr) minmax(0, 34fr);
  grid-template-rows: auto auto auto;
  column-gap: 1rem;
  padding: clamp(6.5rem, 9vw, 7.5rem) clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}
.stage-art {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,7,14,.65) 0%, transparent 18%),
    linear-gradient(0deg, #05070e 2%, rgba(5,7,14,.9) 26%, rgba(5,7,14,.25) 52%, transparent 66%),
    url('/img/hero.jpg') calc(var(--art-pos) * 100%) top / var(--art-w) auto no-repeat,
    #05070e;
}

/* Question bubbles */
/* The list is sized and placed exactly like the hero image, so each bubble's --x/--y is a spot on the photo. */
.stage { --art-w: max(118%, 1250px); --art-pos: 1; }
.bubbles {
  position: absolute; top: 0; left: calc((100% - var(--art-w)) * var(--art-pos)); width: var(--art-w); aspect-ratio: 1376 / 768;
  list-style: none; margin: 0; padding: 0; pointer-events: none;
}
.bubbles li {
  position: absolute; left: var(--x); top: var(--y); max-width: var(--w, none); white-space: var(--ws, nowrap); font: 400 clamp(.92rem, 1.15vw, 1.08rem)/1.15 var(--hand); color: #eef2f8;
  padding: .55rem .85rem; border-radius: 14px;
  background: rgba(16, 22, 36, .72); border: 1.5px solid rgba(220, 228, 240, .55);
  box-shadow: 0 6px 18px rgba(0,0,0,.45); backdrop-filter: blur(3px);
  transform: rotate(var(--r, -2deg));
}
.bubbles li::after {
  content: ''; position: absolute; left: 22%; bottom: -8px; width: 12px; height: 12px;
  background: inherit; border: inherit; border-top: 0; border-left: 0; transform: rotate(45deg); backdrop-filter: none;
}
.bubbles li:nth-child(2n) { --r: 3deg; }
.bubbles li:nth-child(3n) { --r: -4deg; }
.bubbles li[style*="--w"] { --ws: normal; }
.bubbles li:nth-child(5n) { --r: 1deg; }
.bubbles li:nth-child(4n)::after { left: auto; right: 22%; }

/* Feature checklist */
.checks {
  grid-column: 3; grid-row: 1; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-rows: repeat(6, auto); grid-auto-flow: column; gap: .55rem .7rem; align-content: start;
}
.checks li {
  display: flex; align-items: center; gap: .55rem; width: max-content; max-width: 100%;
  font: 700 clamp(.85rem, 1.1vw, 1.02rem)/1.15 var(--body); color: #fff;
  padding: .45rem .95rem .45rem .45rem; border-radius: 10px;
  background: linear-gradient(180deg, rgba(14, 26, 54, .92), rgba(6, 12, 28, .92));
  border: 1px solid rgba(90, 170, 255, .55);
  box-shadow: 0 0 16px rgba(58, 160, 255, .35), inset 0 1px 0 rgba(255,255,255,.08);
  animation: pop .5s backwards cubic-bezier(.2, .9, .3, 1.3);
}
.checks li::before {
  content: ''; flex: none; width: 1.6em; height: 1.6em; border-radius: 50%;
  background: var(--check) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
  box-shadow: 0 0 10px rgba(31, 199, 90, .6);
}
@media (min-width: 761px) {
  .checks li:nth-child(n+7) { margin-left: 1.2rem; transform: translateY(.9rem); }
  .checks li:nth-child(odd) { margin-left: .5rem; }
  .checks li:nth-child(n+7):nth-child(odd) { margin-left: 1.7rem; }
}
.checks li:nth-child(1) { animation-delay: .05s } .checks li:nth-child(2) { animation-delay: .1s }
.checks li:nth-child(3) { animation-delay: .15s } .checks li:nth-child(4) { animation-delay: .2s }
.checks li:nth-child(5) { animation-delay: .25s } .checks li:nth-child(6) { animation-delay: .3s }
.checks li:nth-child(7) { animation-delay: .35s } .checks li:nth-child(8) { animation-delay: .4s }
.checks li:nth-child(9) { animation-delay: .45s } .checks li:nth-child(10) { animation-delay: .5s }
.checks li:nth-child(11) { animation-delay: .55s } .checks li:nth-child(12) { animation-delay: .6s }
@keyframes pop { from { opacity: 0; scale: .85; } }

/* Handwritten taglines */
.scrawl { grid-column: 3; grid-row: 2; justify-self: end; text-align: right; transform: rotate(-8deg); margin: 2rem .5rem 0 0; }
.scrawl p { margin: 0; font-family: var(--marker); color: #fff; text-shadow: 0 3px 14px rgba(0,0,0,.8); }
.scrawl-small { font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.15; opacity: .85; margin-bottom: .8rem !important; }
.scrawl-big { font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.05; position: relative; padding-bottom: .3em; }
.scrawl-big::after { content: ''; position: absolute; right: 0; bottom: 0; width: 70%; height: .14em; background: var(--red); border-radius: 50%; transform: rotate(-4deg); }

/* Headline block */
.pitch { grid-column: 1 / -1; grid-row: 3; justify-self: center; text-align: center; max-width: 60rem; margin-top: -1rem; }
.pitch h1 { line-height: .9; }
.pitch-finally { display: block; font-family: var(--body); font-weight: 700; text-transform: none; letter-spacing: -.03em; font-size: clamp(3.4rem, 7vw, 6.2rem); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.pitch-gold { display: block; font-weight: 900; font-size: clamp(2.2rem, 4.8vw, 4.3rem); color: var(--gold); text-shadow: 0 3px 0 rgba(0,0,0,.35), 0 6px 26px rgba(0,0,0,.6); margin: .08em auto 0; }
.pitch-lede { font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.45; color: #fff; max-width: 47rem; margin: .9rem auto .7rem; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.pitch-tag { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1.25rem, 2vw, 1.7rem); margin: 0 0 1.2rem; }
.pitch-tag em { font-style: normal; color: var(--gold); }
.pitch-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.pitch-actions a { min-width: 15rem; }

/* Sports strip */
.sports { position: relative; margin-top: -1px; }
.sports-strip {
  height: clamp(170px, 19vw, 300px);
  background: url('/img/sports.jpg') center 32% / cover no-repeat;
  clip-path: polygon(0 14%, 50% 0, 100% 14%, 100% 100%, 0 100%);
  border-top: 3px solid rgba(255,255,255,.8);
}
.sports-tag {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); margin: 0; white-space: nowrap;
  padding: .7rem 2.4rem; background: linear-gradient(180deg, rgba(5,7,14,.55), rgba(5,7,14,.95));
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
  font: 600 clamp(.75rem, 1.2vw, 1rem) var(--body); letter-spacing: .32em; text-transform: uppercase; color: #cfd6e4;
}
.sports-tag b { color: #fff; }

/* Content sections */
.block {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  max-width: 1180px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255,255,255,.07); scroll-margin-top: 1rem;
}
.block:has(> .block-copy:only-child) { grid-template-columns: minmax(0, 1fr); }
.block:has(> .block-copy:only-child) .block-copy { max-width: 46rem; }
.kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red-hot); margin: 0 0 .9rem; }
.block h2 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); font-weight: 900; margin-bottom: 1rem; }
.block-copy p:not(.kicker) { color: var(--muted); line-height: 1.6; font-size: 1.05rem; margin: 0 0 1.6rem; }

.mini-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.mini-checks li { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: 10px; background: #0c1426; border: 1px solid rgba(90,170,255,.3); font-weight: 600; }
.mini-checks li::before { content: '✓'; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--check); color: #fff; font-weight: 800; font-size: .85rem; }

.block-wide { grid-template-columns: minmax(0, 1fr); }
.block-wide .block-copy { max-width: 46rem; }
.sport-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; }
.sport-tiles li {
  aspect-ratio: 3 / 4; border-radius: 10px; display: flex; align-items: flex-end; padding: .6rem;
  background: linear-gradient(0deg, rgba(5,7,14,.9), transparent 55%), url('/img/sports.jpg') var(--x) 40% / 700% auto no-repeat;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em;
  border: 1px solid rgba(255,255,255,.1);
}

/* Teams and games (filled by home.js) */
.cta-outline.small { padding: .55rem 1rem; font-size: .75rem; border-radius: 6px; }
.cta-outline[hidden] { display: none; }
.block-wide { row-gap: 1.6rem; }
.team-picker { display: flex; flex-wrap: wrap; gap: .6rem; }
.team-chip {
  font: 700 .95rem var(--body); color: #fff; cursor: pointer; padding: .7rem 1.15rem; border-radius: 999px;
  background: #0c1426; border: 1px solid rgba(90,170,255,.35); transition: border-color .15s, background .15s;
}
.team-chip:hover { border-color: rgba(90,170,255,.8); }
.team-chip[aria-pressed="true"] { background: var(--red); border-color: var(--red-hot); box-shadow: 0 6px 20px rgba(215,38,47,.35); }
.team-chip.past { font-weight: 400; color: rgba(255,255,255,.5); background: transparent; border-color: rgba(255,255,255,.14); }
.team-chip.past:hover { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.4); }
.team-chip.past[aria-pressed="true"] { color: #fff; }
.team-chip.current { font-weight: 800; }
.sport-picker { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.sport-chip {
  font: 700 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); cursor: pointer;
  padding: .5rem .9rem; border-radius: 6px; background: transparent; border: 1px solid rgba(255,198,41,.35);
}
.sport-chip:hover { border-color: rgba(255,198,41,.8); }
.sport-chip[aria-pressed="true"] { background: var(--gold); color: #05070e; border-color: var(--gold); }
.team-legend { color: var(--muted); font-size: .85rem; margin: .9rem 0 0; }
.legend-current { font-weight: 800; color: #fff; }
.legend-past { color: rgba(255,255,255,.5); }
.games-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.games-head h3, .games-sub { font-size: 1.6rem; font-weight: 800; }
.games-sub { margin: 2.2rem 0 1rem; color: var(--muted); }
.games-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; margin-top: 1rem; }
.games-empty { color: var(--muted); margin: 0; grid-column: 1 / -1; }
.game-card {
  display: grid; gap: .4rem; align-content: start; padding: 1.1rem 1.2rem; border-radius: 12px; text-decoration: none;
  background: linear-gradient(180deg, #101a31, #0a1122); border: 1px solid rgba(255,255,255,.09);
  transition: transform .15s ease, border-color .15s ease;
}
.game-card:hover { transform: translateY(-2px); border-color: rgba(255,198,41,.55); }
.game-card strong { font-family: var(--display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; line-height: 1; }
.game-when { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.game-teams { color: var(--muted); font-size: .9rem; }
.game-open { margin-top: .4rem; font-weight: 700; font-size: .85rem; color: var(--red-hot); }
.built-for {
  justify-self: start; font-size: .74rem; font-weight: 700; letter-spacing: .02em; padding: .25rem .6rem; border-radius: 999px;
  color: var(--gold); background: rgba(255,198,41,.1); border: 1px solid rgba(255,198,41,.35);
}
.built-for.rival { color: #b9c6dd; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.18); }
.built-for.both { color: #8fc6ff; background: rgba(90,170,255,.1); border-color: rgba(90,170,255,.4); }
.game-card.past { opacity: .75; }
.game-card.past .game-when { color: var(--muted); }

/* Feedback page */
.home.plain .nav { position: relative; background: #05070e; border-bottom: 1px solid rgba(255,255,255,.07); }
.nav-links a[aria-current="page"] { color: var(--gold) !important; }
.fb { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 2rem) 5rem; }
.fb h1 { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; margin-bottom: .8rem; }
.fb .lede { color: var(--muted); line-height: 1.6; margin: 0 0 2rem; font-size: 1.05rem; }
.fb-card { background: #0b1224; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.7rem; }
.fb-q { display: grid; gap: .7rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.fb-q legend, .fb-q > label { font-weight: 700; font-size: 1.02rem; line-height: 1.35; padding: 0; margin-bottom: .7rem; }
.fb-q > label { margin-bottom: 0; }
.fb-q small { font-weight: 500; color: var(--muted); font-size: .82rem; margin-left: .3rem; }
.fb-q select, .fb-q textarea, .fb-q input[type=text], .fb-q input[type=email] {
  font: 500 1rem var(--body); color: var(--chalk); background: #05070e; border: 1px solid #263252; border-radius: 10px;
  padding: .8rem .9rem; width: 100%; outline: none; color-scheme: dark;
}
.fb-q textarea { min-height: 6.5rem; resize: vertical; }
.fb-q select:focus, .fb-q textarea:focus, .fb-q input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,198,41,.15); }
.fb-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.fb-opts label { position: relative; cursor: pointer; }
.fb-opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fb-opts span { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem 1rem; border-radius: 999px; border: 1px solid #2b3858; background: #0f182e; font-weight: 600; font-size: .92rem; transition: background .12s, border-color .12s; }
.fb-opts input:checked + span { background: rgba(31,199,90,.16); border-color: var(--check); color: #fff; }
.fb-opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.fb-opts input:disabled + span { opacity: .4; cursor: not-allowed; }
.fb-rate { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.fb-card[hidden] { display: none; }
.fb-rate label { display: grid; }
.fb-rate span { justify-content: center; flex-direction: column; border-radius: 12px; padding: .7rem 0; font-size: .9rem; }
.fb-rate i { font-style: normal; font-size: 1.5rem; color: #3a4666; line-height: 1; }
.fb-rate input:checked + span { background: rgba(255,198,41,.14); border-color: var(--gold); }
.fb-rate input:checked + span i { color: var(--gold); }
.fb-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.fb-hp { position: absolute; left: -9999px; }
.fb-err { color: var(--flag); font-weight: 600; margin: 0; }
.fb-err:empty { display: none; }
.fb-actions { display: grid; gap: .7rem; }
.fb-actions .cta-red { border: 0; cursor: pointer; font-size: 1rem; }
.fb-actions .cta-red:disabled { opacity: .6; cursor: progress; }
.fb-note { color: var(--muted); font-size: .85rem; margin: 0; text-align: center; }
.fb-thanks { text-align: center; padding: 3rem 1rem; }
.fb-thanks h2 { font-size: 2.6rem; margin-bottom: .6rem; }
.fb-thanks p { color: var(--muted); margin: 0 0 1.6rem; line-height: 1.6; }

.scoreboard {
  justify-self: center; padding: 2rem 2.4rem; border-radius: 6px; text-align: left;
  background: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1.5px) 0 0 / 6px 6px, #0d1117;
  border: 8px solid #1e2430; box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px #000;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: .95;
  color: #d9c9a0; text-shadow: 0 0 12px rgba(255, 198, 41, .35);
}

.home .foot a { color: var(--chalk); }

/* Tablet */
@media (max-width: 1100px) {
  .nav-links a:not(.cta-red) { font-size: .8rem; }
  .stage { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); grid-template-rows: minmax(27rem, auto) auto auto; --art-w: max(130%, 1150px); --art-pos: .3; }
  .bubbles li { font-size: .78rem; padding: .4rem .65rem; }
  .scrawl { display: none; }
  .pitch { grid-row: 2; margin-top: 1.5rem; }
  .checks { grid-column: 1 / -1; grid-row: 3; display: flex; flex-wrap: wrap; justify-content: center; margin-top: 2.2rem; }
  .checks li, .checks li:nth-child(n+7), .checks li:nth-child(odd), .checks li:nth-child(n+7):nth-child(odd) { margin: 0; transform: none; }
}

/* Mobile */
@media (max-width: 760px) {
  .nav { position: relative; background: #05070e; flex-wrap: wrap; }
  .nav-burger { display: block; width: 44px; height: 44px; cursor: pointer; position: relative; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; content: ''; }
  .nav-burger span { top: 21px; }
  .nav-burger span::before { left: 0; right: 0; top: -7px; }
  .nav-burger span::after { left: 0; right: 0; top: 7px; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: .6rem; }
  .nav-links a:not(.cta-red) { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
  .nav-links .cta-red { margin-top: .8rem; }
  .nav-toggle:checked ~ .nav-links { display: flex; }

  .stage { display: flex; flex-direction: column; padding: 0 1rem 2rem; min-height: 0; gap: 1.4rem; }
  .stage-art { position: relative; inset: auto; z-index: 0; margin: 0 -1rem; aspect-ratio: 16 / 10; background:
    linear-gradient(0deg, #05070e 0%, transparent 40%), url('/img/hero-sm.jpg') 45% top / cover no-repeat; }
  .pitch { order: 1; margin-top: -4.5rem; position: relative; }
  .pitch-actions a { min-width: 0; width: 100%; }
  .bubbles { position: static; width: auto; aspect-ratio: auto; pointer-events: auto; display: flex; gap: .6rem; order: 2; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 1rem; margin: 0 -1rem; padding-inline: 1rem; }
  .bubbles li { position: relative; left: auto; top: auto; flex: none; scroll-snap-align: start; max-width: 13rem; white-space: normal; }
  .checks { order: 3; grid-template-rows: none; grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .checks li { width: auto; }

  .block { grid-template-columns: minmax(0, 1fr); }
  .mini-checks { grid-template-columns: 1fr; }
  .home.plain .nav { position: relative; }
  .fb-rate span { font-size: .8rem; padding: .55rem 0; }
  .sports-tag { white-space: normal; width: 92%; text-align: center; letter-spacing: .12em; padding: .6rem 1rem; }
  .sport-tiles { grid-template-columns: repeat(7, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .sport-tiles li { scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  .checks li { animation: none; }
}

/* FCS playoff bracket (filled by home.js from /api/playoffs) */
.playoffs {
  max-width: 1320px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255,255,255,.07); scroll-margin-top: 1rem;
  background: radial-gradient(70% 60% at 85% 0%, rgba(255,198,41,.10), transparent 70%), radial-gradient(60% 50% at 0% 10%, rgba(58,160,255,.10), transparent 70%);
}
.playoffs[hidden] { display: none; }
.po-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.4rem; }
.po-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 900; margin: 0 0 .7rem; }
.po-lede { color: var(--muted); max-width: 44rem; line-height: 1.55; margin: 0; font-size: 1.02rem; }
.po-actions { display: grid; justify-items: end; gap: .45rem; }
.po-upd { color: var(--muted); font-size: .8rem; }
.po-scroll { overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: .6rem; outline: none; }
.po-bracket { display: grid; grid-template-columns: repeat(4, minmax(250px, 1fr)); gap: 0 1.2rem; min-width: 1060px; }
.po-col { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; }
.po-col-head { display: grid; gap: .1rem; padding: 0 .2rem .8rem; border-bottom: 2px solid rgba(255,198,41,.35); margin-bottom: .8rem; }
.po-col-head b { font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; }
.po-col-head span { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.po-col-body { display: grid; grid-template-rows: repeat(8, auto); row-gap: .6rem; }
.po-cell { display: flex; flex-direction: column; justify-content: center; position: relative; }
.po-region { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: .4rem .2rem .3rem; }
.po-r2 .po-cell:nth-child(odd) { margin-top: .4rem; }
/* connector from each game toward the next round */
.po-r2 .po-cell::after, .po-qf .po-cell::after, .po-sf .po-cell::after {
  content: ''; position: absolute; right: -1.2rem; top: 50%; width: 1.2rem; border-top: 2px solid rgba(255,255,255,.14);
}
.po-game {
  display: grid; gap: .35rem; padding: .75rem .85rem; border-radius: 12px; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, #101a31, #0a1122); border: 1px solid rgba(255,255,255,.1);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
a.po-game:hover, a.po-game:focus-visible { transform: translateY(-2px); border-color: rgba(255,198,41,.7); box-shadow: 0 8px 24px rgba(0,0,0,.35); outline: none; }
.po-game.is-live { border-color: var(--red-hot); box-shadow: 0 0 0 1px rgba(239,58,67,.4), 0 0 22px rgba(239,58,67,.2); }
.po-game.is-final { border-color: rgba(255,198,41,.7); background: radial-gradient(90% 120% at 50% 0%, rgba(255,198,41,.18), transparent 70%), #0e1730; }
.po-when { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.po-live { color: #fff; background: var(--red); padding: .1rem .45rem; border-radius: 4px; }
.po-final { color: var(--gold); }
.po-team { display: flex; align-items: center; gap: .55rem; min-height: 2.2rem; }
.po-team.lost { opacity: .45; }
.po-team.won .po-name { color: #fff; }
.po-team.won .po-score { color: var(--check); }
.po-team.tbd .po-name { color: var(--muted); font-style: italic; font-weight: 500; font-size: .9rem; }
.po-chip { flex: none; width: .55rem; height: 1.9rem; border-radius: 3px; }
.po-name { flex: 1; min-width: 0; font-weight: 800; font-size: .98rem; line-height: 1.15; display: grid; }
.po-name small { font-weight: 500; font-size: .74rem; color: var(--muted); margin-top: .1rem; }
.po-seed { display: inline-block; min-width: 1.3rem; color: var(--gold); font-size: .78rem; margin-right: .3rem; }
.po-name .po-seed { display: inline; }
.po-score { font-family: var(--display); font-size: 1.35rem; font-weight: 900; min-width: 2rem; text-align: right; }
.po-open { font-size: .78rem; font-weight: 700; color: var(--red-hot); border-top: 1px dashed rgba(255,255,255,.12); padding-top: .4rem; }
.po-soon { font-size: .74rem; color: var(--muted); border-top: 1px dashed rgba(255,255,255,.12); padding-top: .4rem; }
.po-hint { color: var(--muted); font-size: .82rem; margin: .8rem 0 0; }
.team-group { width: 100%; margin: .6rem 0 .1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.team-group:first-child { margin-top: 0; }
@media (min-width: 1100px) { .po-hint { display: none; } .po-bracket { min-width: 0; } }
@media (max-width: 760px) {
  .po-bracket { grid-template-columns: repeat(4, 82vw); min-width: 0; gap: 0 .9rem; }
  .po-actions { justify-items: start; }
  .po-r2 .po-cell::after, .po-qf .po-cell::after, .po-sf .po-cell::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .po-game { transition: none; } }
