/* Geneseo Rhythm: public site ("Premium club", approved 2026-11-06)
   White for reading; deliberate navy brand moments (heroes, scoreboard, footer)
   where the logo's cyan / lime / magenta stack performs.
   Display: Exo 2 ExtraBold Italic (matches the RHYTHM wordmark). Body: Barlow. */
:root {
  --white: #ffffff;
  --mist: #f3f5f8;
  --ink: #0a1736;
  --navy-2: #102552;
  --slate: #5a6880;
  --hair: #e2e7ee;
  --signal: #1592b3;
  --cyan: #38c3de;
  --lime: #94c93d;
  --magenta: #ec0c8c;
  --gold: #f2b631;
  --danger: #d12f45;
  --on-dark: #b8c5db;
  --font: "Barlow", system-ui, sans-serif;
  --display: "Exo 2", "Barlow", sans-serif;
  --wrap: 1240px;
  --tri: linear-gradient(90deg, var(--cyan) 0 33.3%, var(--lime) 33.3% 66.6%, var(--magenta) 66.6%);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
p, li, small, dd { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 820px; }
@media (max-width: 640px) { .wrap { padding: 0 1.25rem; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.hp { position: absolute; left: -5000px; }
.bal { text-wrap: balance; }
.nb { white-space: nowrap; }

.xd { font-family: var(--display); font-style: italic; font-weight: 800; letter-spacing: -.01em; line-height: 1; }
.num { font-feature-settings: "tnum" 1; }
.signal { display: inline-block; width: 42px; height: 4px; background: var(--tri); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; text-decoration: none; font: 600 .95rem/1 var(--font);
  padding: 1rem 1.5rem; background: var(--ink); color: #fff; border: 1.5px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--navy-2); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: #c9d1dc; }
.btn-line:hover { background: var(--mist); color: var(--ink); border-color: var(--ink); }
.btn-bright { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.btn-bright:hover { background: #6ad6ec; border-color: #6ad6ec; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { padding: .72rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: 1.15rem 1.9rem; font-size: 1.02rem; }
.link { color: var(--signal); font-weight: 600; text-underline-offset: .2em; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--hair); }
.hdr::before { content: ""; display: block; height: 4px; background: var(--tri); }
.hdr .wrap { display: flex; align-items: center; gap: 2rem; height: 78px; }
.hdr-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.hdr-brand img { width: 54px; }
.hdr-brand span { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.2rem; line-height: 1; white-space: nowrap; }
.hdr-brand small { display: block; font-family: var(--font); font-style: normal; font-weight: 500; font-size: .8rem; color: var(--slate); margin-top: .3rem; }
.hdr-nav { display: flex; align-items: center; gap: 1.8rem; }
.hdr-nav > a, .nav-drop-btn { line-height: 1.6; }
.hdr-nav a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--slate); padding: .4rem 0; white-space: nowrap; }
.hdr-nav a:hover, .hdr-nav a[aria-current] { color: var(--ink); }
.hdr-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--ink); }
.hdr-nav .hdr-store { display: none; }
/* Dropdown group (Parents) */
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; padding: .4rem 0; font: 500 .96rem/1.6 var(--font); color: var(--slate); cursor: pointer; }
.nav-drop-btn:hover, .nav-drop.is-active .nav-drop-btn, .nav-drop.open .nav-drop-btn { color: var(--ink); }
.nav-drop.is-active .nav-drop-btn { box-shadow: inset 0 -2px 0 var(--ink); }
.nav-drop-btn svg { transition: transform .2s; }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; top: calc(100% + 14px); left: 50%; min-width: 240px; padding: .5rem; background: #fff; border: 1px solid var(--hair); border-radius: 14px;
  box-shadow: 0 24px 48px -20px rgba(10,23,54,.35); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 40; }
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav-drop-menu::after { content: ""; position: absolute; left: .5rem; right: .5rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--tri); }
.nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 981px) { .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.hdr-nav .nav-drop-menu a { display: block; padding: .7rem .9rem; border-radius: 9px; color: var(--ink); font-weight: 600; box-shadow: none; white-space: nowrap; }
.hdr-nav .nav-drop-menu a:hover { background: var(--mist); }
.hdr-nav .nav-drop-menu a[aria-current] { background: var(--mist); box-shadow: inset 3px 0 0 var(--cyan); }
.menu-btn { display: none; align-items: center; gap: .5rem; background: none; border: 1px solid var(--hair); border-radius: 999px; padding: .6rem 1rem; font: 600 .9rem var(--font); color: var(--ink); cursor: pointer; }
.menu-btn i { display: grid; gap: 4px; width: 16px; }
.menu-btn i::before, .menu-btn i::after { content: ""; height: 2px; background: currentColor; }
@media (max-width: 980px) {
  .hdr .wrap { gap: 1rem; }
  .hdr > .wrap > .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--hair); padding: .5rem 1.25rem 1.25rem; box-shadow: 0 30px 40px -30px rgba(10,23,54,.4); }
  .hdr-nav.open { display: flex; }
  .hdr-nav a { padding: .95rem 0; font-size: 1.08rem; border-bottom: 1px solid var(--hair); color: var(--ink); }
  .hdr-nav a[aria-current] { box-shadow: inset 3px 0 0 var(--cyan); padding-left: .8rem; }
  .hdr-nav .hdr-store { display: flex; margin-top: 1rem; border: 0; color: #fff; justify-content: center; }
  /* Phone menu: the group shows as a label with its links indented under it */
  .nav-drop { border-bottom: 1px solid var(--hair); }
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: .95rem 0; font-size: 1.08rem; color: var(--ink); box-shadow: none !important; }
  .nav-drop-menu { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 .6rem; min-width: 0; display: none; }
  .nav-drop-menu::before, .nav-drop-menu::after { display: none; }
  .nav-drop.open .nav-drop-menu, .nav-drop.is-active .nav-drop-menu { display: block; }
  .hdr-nav .nav-drop-menu a { padding: .7rem 0 .7rem 1rem; font-size: 1rem; border-bottom: 0; font-weight: 500; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0 0 0 26%; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 30%, rgba(10,23,54,.88) 42%, rgba(10,23,54,.45) 58%, rgba(10,23,54,.12) 80%, rgba(10,23,54,.05) 100%),
    linear-gradient(0deg, rgba(10,23,54,.9) 0%, transparent 35%);
}
.wave { position: absolute; left: 0; right: 0; height: 64px; z-index: -1; opacity: .45; pointer-events: none; }
.hero .wave { bottom: 8.6rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 620px) 1fr; padding-top: 4.5rem; padding-bottom: 14.5rem; }
.hero-logo { width: 300px; margin: 0 0 2rem -6px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.hero-lede { font-size: 1.22rem; line-height: 1.55; color: var(--on-dark); max-width: 36ch; margin: 1.5rem 0 2.2rem; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-short .wrap { padding-bottom: 6rem; }
.hero-short .wave { bottom: 2rem; }
@media (max-width: 860px) {
  .hero-photo { inset: 0; opacity: .35; }
  .hero::before { background: linear-gradient(180deg, rgba(10,23,54,.7), var(--ink) 85%); }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 8rem; }
  .hero-logo { width: 220px; }
  .hero .wave { bottom: 5rem; }
}

/* Next up card */
.nextup-wrap { position: relative; z-index: 2; margin-top: -8rem; }
.nextup { background: #fff; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; box-shadow: 0 40px 80px -40px rgba(10, 23, 54, .55), 0 0 0 1px rgba(10,23,54,.05); }
.nextup::before { content: ""; grid-column: 1 / -1; height: 5px; background: var(--tri); }
.nu-date { padding: 2rem 2.4rem; border-right: 1px solid var(--hair); }
.nu-label { font-size: .84rem; font-weight: 600; color: var(--slate); margin-bottom: .45rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.nu-date b { display: block; font-size: 3.2rem; white-space: nowrap; }
.nu-date span { color: var(--slate); }
.nu-main { padding: 2rem 2.4rem; }
.nu-main h2 { font-size: 1.95rem; margin: 0 0 .5rem; }
.nu-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; color: var(--slate); }
.nu-meta a { color: var(--signal); text-underline-offset: .2em; font-weight: 500; }
.nu-kit { display: flex; align-items: center; gap: 1.1rem; padding: 2rem 2.4rem; background: var(--mist); }
.nu-kit p { margin: 0; font-size: .92rem; color: var(--slate); line-height: 1.45; }
.nu-kit b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: .1rem; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 18px; height: 42px; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(10, 23, 54, .16); }
.status { display: inline-block; font-size: .74rem; font-weight: 700; color: #fff; background: var(--danger); border-radius: 999px; padding: .22rem .62rem; }
@media (max-width: 960px) {
  .nextup-wrap { margin-top: -5rem; }
  .nextup { grid-template-columns: 1fr; }
  .nu-date, .nu-main, .nu-kit { padding: 1.4rem 1.5rem; border: 0; }
  .nu-date { padding-bottom: 0; }
  .nu-date b { font-size: 2.4rem; }
}

/* ---------- Interior page hero (compact brand band) ---------- */
.phero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.phero-photo { position: absolute; inset: 0 0 0 40%; z-index: -2; }
.phero-photo img { width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 40%, rgba(10,23,54,.75) 60%, rgba(10,23,54,.35) 100%); }
.phero .wave { bottom: 1.5rem; height: 48px; opacity: .35; }
.phero .wrap { padding-top: 4rem; padding-bottom: 5rem; }
.phero .crumb { font-size: .9rem; color: var(--on-dark); margin-bottom: 1.2rem; }
.phero .crumb a { color: var(--on-dark); text-underline-offset: .2em; }
.phero .crumb a:hover { color: #fff; }
.phero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); margin-top: 1rem; }
.phero p.lede { font-size: 1.18rem; color: var(--on-dark); max-width: 52ch; margin: 1.2rem 0 0; text-wrap: balance; }
.phero-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.8rem; }
.season-pick { display: inline-flex; align-items: center; gap: .6rem; }
.season-pick label { font-size: .9rem; color: var(--on-dark); }
.season-pick select { width: auto; background-color: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); padding: .6rem 2.4rem .6rem .9rem; border-radius: 999px; }
.season-pick option { color: var(--ink); }
@media (max-width: 860px) { .phero-photo { inset: 0; opacity: .25; } .phero::before { background: linear-gradient(180deg, rgba(10,23,54,.75), var(--ink)); } .phero .wrap { padding-top: 3rem; padding-bottom: 4rem; } }

/* ---------- Sections ---------- */
.sec { padding: 6.5rem 0; }
.sec-tight { padding: 3.5rem 0 6rem; }
.sec-mist { background: var(--mist); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.8rem; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.sec-head .signal { display: block; margin-bottom: 1.1rem; }
.sec-head a { color: var(--ink); font-weight: 600; text-underline-offset: .25em; white-space: nowrap; }
.sub-head { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 4rem 0 1.6rem; }
@media (max-width: 640px) { .sec { padding: 4.5rem 0; } .sec-head { flex-direction: column; align-items: start; gap: .8rem; } }

.empty { background: var(--mist); border: 1px dashed #cfd7e2; border-radius: var(--radius); padding: 2.2rem; color: var(--slate); text-align: center; text-wrap: balance; }
.empty b { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: .3rem; }
.notice { border-radius: 12px; padding: 1rem 1.3rem; margin: 0 0 1.6rem; background: #e9f7fb; border: 1px solid #bfe7f1; }
.notice-ok { background: #f0f8e6; border-color: #cfe7b0; }
.notice-error { background: #fdecf4; border-color: #f6bfd9; }
.notice ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.notice p:last-child { margin-bottom: 0; }
.flash-wrap { padding-top: 1.5rem; }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.story { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.story:hover { box-shadow: 0 24px 48px -28px rgba(10, 23, 54, .35); transform: translateY(-2px); }
.story-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story:hover .story-img img { transform: scale(1.04); }
.story-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.news-date { display: flex; align-items: center; gap: .6rem; font-size: .86rem; color: var(--slate); margin-bottom: .7rem; }
.pin { font-size: .74rem; font-weight: 700; color: #fff; background: var(--magenta); border-radius: 999px; padding: .22rem .62rem; }
.story h3 { font-size: 1.32rem; line-height: 1.25; margin: 0 0 .7rem; }
.story h3 a { text-decoration: none; }
.story h3 a::after { content: ""; position: absolute; inset: 0; }
.story p { color: var(--slate); margin: 0 0 1.4rem; }
.story-more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--signal); }
.news-feature { grid-column: 1 / -1; flex-direction: row; }
.news-feature .story-img { flex: 0 0 56%; aspect-ratio: 16 / 10; }
.news-feature .story-body { padding: 2.6rem; justify-content: center; }
.news-feature h3 { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; }
@media (max-width: 960px) { .news { grid-template-columns: 1fr; } .story, .news-feature { flex-direction: row; } .story-img, .news-feature .story-img { flex: 0 0 38%; aspect-ratio: auto; } .news-feature .story-body { padding: 1.6rem; } }
@media (max-width: 600px) {
  .story, .news-feature { flex-direction: column; }
  .story-img, .news-feature .story-img { flex: none; aspect-ratio: 3 / 2; }
  .story-body, .news-feature .story-body { padding: 1.3rem 1.3rem 1.5rem; }
  .story p { margin-bottom: 1rem; }
}
.pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; color: var(--slate); }

/* Article */
.article-hero-img { border-radius: 18px; overflow: hidden; margin: -3.5rem 0 3rem; position: relative; z-index: 2; box-shadow: 0 40px 80px -40px rgba(10,23,54,.5); }
.article-hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 1.12rem; line-height: 1.7; max-width: 68ch; }
.prose h2 { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.7rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--signal); text-underline-offset: .2em; }
.article-foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Schedule ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.seg { display: inline-flex; background: var(--mist); border: 1px solid var(--hair); border-radius: 999px; padding: 4px; }
.seg a, .seg button { font: 600 .92rem var(--font); color: var(--slate); text-decoration: none; padding: .55rem 1.1rem; border-radius: 999px; border: 0; background: none; cursor: pointer; white-space: nowrap; }
.seg [aria-current="true"], .seg [aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(10,23,54,.12); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; font: 600 .88rem var(--font); color: var(--slate); background: #fff; border: 1px solid var(--hair); border-radius: 999px; padding: .5rem .95rem; cursor: pointer; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--slate)); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.month { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.5rem; margin: 3rem 0 1rem; }
.month:first-of-type { margin-top: 0; }
.month[hidden] { display: none; }

.sched { background: #fff; border-radius: var(--radius); border: 1px solid var(--hair); overflow: hidden; }
.sched-row { display: grid; grid-template-columns: 7.5rem 1fr 9.5rem 13rem 10.5rem; gap: 1.5rem; align-items: center; padding: 1.4rem 1.8rem; border-top: 1px solid var(--hair); position: relative; }
.sched-row:first-child { border-top: 0; }
.sched-row[hidden] { display: none; }
.sched-row::before { content: ""; position: absolute; left: 0; top: 1.2rem; bottom: 1.2rem; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.sched-date b { display: block; font-size: 1.3rem; white-space: nowrap; }
.sched-date span { color: var(--slate); font-size: .9rem; }
.sched-kind { font-size: .8rem; font-weight: 600; color: var(--slate); margin-bottom: .2rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.sched-title { font-size: 1.18rem; font-weight: 600; margin: 0; }
.sched-notes { color: var(--slate); font-size: .95rem; margin-top: .35rem; }
.sched-notes p { margin: 0 0 .3em; }
.sched-time { color: var(--ink); white-space: nowrap; }
.sched-time span { display: block; color: var(--slate); font-size: .9rem; }
.sched-place a { color: var(--signal); text-underline-offset: .2em; }
.sched-place small { display: block; color: var(--slate); }
.sched-kit { display: flex; align-items: center; justify-content: end; gap: .55rem; font-size: .85rem; color: var(--slate); text-align: right; white-space: nowrap; }
.sched-kit .swatches i { width: 10px; height: 22px; }
.sched-row.is-off .sched-title { text-decoration: line-through; color: var(--slate); }
.sched-res { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.cal-link { color: var(--slate); font-size: .85rem; text-underline-offset: .2em; }
@media (max-width: 1060px) {
  .sched-row { grid-template-columns: 5.5rem 1fr; gap: .4rem 1.2rem; padding: 1.2rem 1.3rem; }
  .sched-time, .sched-place, .sched-kit { grid-column: 2; justify-content: start; text-align: left; }
}

/* ---------- Results (scoreboard band) ---------- */
.board { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.board .wave { bottom: 2.5rem; height: 70px; opacity: .22; }
.results { display: grid; grid-template-columns: 1fr 1.7fr; gap: 5rem; align-items: center; }
.results h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 1.1rem 0 1.4rem; }
.record b { display: inline-block; padding-right: .08em; font-size: clamp(5rem, 11vw, 9rem); background: linear-gradient(90deg, var(--cyan), var(--lime) 55%, var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.record p { color: var(--on-dark); font-size: 1.1rem; max-width: 36ch; margin: 1rem 0 1.8rem; text-wrap: balance; }
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.game { display: grid; grid-template-columns: 2.8rem 1fr auto; gap: 1rem; align-items: center; padding: 1.2rem 1.3rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; }
.wl { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; flex: none; }
.wl-W { background: var(--lime); color: var(--ink); }
.wl-L { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.wl-T { background: rgba(255,255,255,.15); color: #fff; }
.game b { font-weight: 600; }
.game small { display: block; color: var(--on-dark); font-size: .84rem; }
.game .score { font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.board .empty-dark { color: var(--on-dark); border: 1px dashed rgba(255,255,255,.2); border-radius: var(--radius); padding: 2rem; text-align: center; }
@media (max-width: 860px) { .results { grid-template-columns: 1fr; gap: 2rem; } .games { grid-template-columns: 1fr; } }

/* Results page */
.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.4rem; max-width: 760px; }
.totals div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 1.1rem 1.3rem; }
.totals span { display: block; font-size: .85rem; color: var(--on-dark); }
.totals b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2.4rem; line-height: 1.1; }
.totals div:first-child b { color: var(--lime); }
@media (max-width: 640px) { .totals { grid-template-columns: 1fr 1fr; } }
.tourney { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); margin-bottom: 1.6rem; overflow: hidden; }
.tourney-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; padding: 1.6rem 1.8rem; border-bottom: 1px solid var(--hair); background: var(--mist); }
.tourney-head h2 { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem; margin-right: auto; }
.tourney-head p { margin: 0; color: var(--slate); }
.finish { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .88rem; color: var(--ink); background: var(--lime); border-radius: 999px; padding: .35rem .85rem; }
.tourney-recap { padding: 1.4rem 1.8rem 0; color: var(--slate); }
.gl { list-style: none; margin: 0; padding: 0 1.8rem; }
.gl li { display: grid; grid-template-columns: 2.8rem 1fr auto; gap: 1.2rem; align-items: start; padding: 1.3rem 0; border-top: 1px solid var(--hair); }
.gl li:first-child { border-top: 0; }
.gl .wl-L { color: var(--ink); box-shadow: inset 0 0 0 1.5px #c9d1dc; }
.gl .wl-T { background: var(--mist); color: var(--ink); }
.gl h3 { font-size: 1.12rem; margin: .2rem 0 .15rem; }
.gl p { margin: 0; color: var(--slate); font-size: .95rem; }
.gl .recap { margin-top: .5rem; color: var(--slate); }
.gl .score { font-size: 1.3rem; font-weight: 700; padding-top: .3rem; white-space: nowrap; }

/* ---------- Roster ---------- */
.roster { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.roster-full { grid-template-columns: repeat(4, 1fr); gap: 2rem 1.6rem; }
.player { text-decoration: none; display: block; }
.player-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: radial-gradient(120% 80% at 50% 0%, var(--navy-2), var(--ink)); position: relative; overflow: hidden; margin-bottom: 1rem; }
.player-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--tri); z-index: 2; }
.player-photo img.ph { position: absolute; inset: 0; margin: auto; width: 62%; opacity: .5; transition: transform .4s, opacity .3s; }
.player-photo img.pic { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.player-photo.has-pic::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(200deg, rgba(10,23,54,.55) 0%, transparent 35%); }
.player:hover .player-photo img.ph { transform: scale(1.05); opacity: .7; }
.player:hover .player-photo img.pic { transform: scale(1.04); }
.player-num { position: absolute; right: .9rem; top: .5rem; font-size: 3.2rem; color: #fff; z-index: 2; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.player h3 { font-size: 1.12rem; font-weight: 700; }
.player p { margin: .15rem 0 0; color: var(--slate); font-size: .92rem; }
.player:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 1060px) { .roster, .roster-full { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .roster, .roster-full { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; } }

.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.4rem; }
.coach { display: grid; grid-template-columns: 104px 1fr; gap: 1.4rem; align-items: start; background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 1.5rem; }
.coach img, .coach-ph { width: 104px; height: 104px; border-radius: 12px; object-fit: cover; }
.coach-ph { display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 0%, var(--navy-2), var(--ink)); }
.coach-ph img { width: 64%; height: auto; opacity: .6; }
.coach h3 { font-size: 1.2rem; }
.coach-role { color: var(--signal); font-weight: 600; font-size: .92rem; margin: .1rem 0 .6rem; }
.coach .bio { color: var(--slate); font-size: .98rem; }
.coach .bio p:last-child { margin: 0; }

/* Player profile */
.profile { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.profile .wave { bottom: 2rem; height: 64px; opacity: .3; }
.profile-grid { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 4.5rem; align-items: center; padding-top: 4rem; padding-bottom: 5rem; }
.profile-photo { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; position: relative; background: radial-gradient(120% 80% at 50% 0%, #1b3772, var(--navy-2)); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.profile-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--tri); }
.profile-photo img.pic { width: 100%; height: 100%; object-fit: cover; }
.profile-photo img.ph { position: absolute; inset: 0; margin: auto; width: 60%; opacity: .55; }
.profile-num { font-size: clamp(6rem, 13vw, 11rem); line-height: .85; display: inline-block; padding-right: .06em; background: linear-gradient(90deg, var(--cyan), var(--lime) 55%, var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.profile .crumb { font-size: .9rem; color: var(--on-dark); margin-bottom: 1.4rem; }
.profile .crumb a { color: var(--on-dark); }
.profile h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin: .4rem 0 .6rem; }
.profile-pos { font-size: 1.2rem; color: var(--on-dark); font-weight: 500; }
.profile-stats { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 0; }
.profile-stats div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .9rem 1.2rem; min-width: 8.5rem; }
.profile-stats dt { font-size: .82rem; color: var(--on-dark); }
.profile-stats dd { margin: .15rem 0 0; font-weight: 700; font-size: 1.12rem; }
.walkup { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 1rem 1.2rem; max-width: 520px; }
.walkup-eq { display: flex; align-items: flex-end; gap: 3px; height: 30px; flex: none; }
.walkup-eq i { display: block; width: 4px; border-radius: 2px; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; }
.walkup-eq i:nth-child(1) { height: 45%; background: var(--cyan); animation-delay: -.2s; }
.walkup-eq i:nth-child(2) { height: 90%; background: var(--lime); animation-delay: -.6s; }
.walkup-eq i:nth-child(3) { height: 65%; background: var(--magenta); animation-delay: -.1s; }
.walkup-eq i:nth-child(4) { height: 100%; background: var(--cyan); animation-delay: -.8s; }
.walkup-eq i:nth-child(5) { height: 55%; background: var(--lime); animation-delay: -.4s; }
@keyframes eq { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.walkup span { display: block; font-size: .82rem; color: var(--on-dark); }
.walkup b { font-weight: 600; }
.bio-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: start; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.facts div { padding: 1.1rem 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-size: .85rem; color: var(--slate); }
.facts dd { margin: .2rem 0 0; font-weight: 600; font-size: 1.08rem; }
@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; }
  .profile-photo { max-width: 380px; }
  .bio-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- Store ---------- */
.store { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; }
.store-img { border-radius: 18px; overflow: hidden; aspect-ratio: 5 / 4; }
.store-img img { width: 100%; height: 100%; object-fit: cover; }
.store-img-product { background: #fff; border: 1px solid var(--hair); box-shadow: 0 40px 80px -50px rgba(10,23,54,.45); }
.store-img-product img { object-fit: contain; padding: 7%; }
.store-img-graphic { display: block; aspect-ratio: 1200 / 1312; box-shadow: 0 40px 80px -40px rgba(10,23,54,.6); transition: transform .3s; }
.store-img-graphic:hover { transform: translateY(-3px); }
.store:has(.store-img-graphic) { grid-template-columns: minmax(0, 520px) 1fr; justify-content: center; }
@media (max-width: 860px) {
  .store:has(.store-img-graphic) { grid-template-columns: 1fr; }
  .store-img-graphic { max-width: 440px; }
  .store-copy .hero-actions { display: grid; grid-template-columns: 1fr; }
}
.store-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 1.2rem 0 1.2rem; }
.store-copy p { color: var(--slate); font-size: 1.15rem; max-width: 40ch; margin-bottom: 1.6rem; text-wrap: balance; }
.steps { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; gap: .9rem; }
.steps li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; align-items: center; }
.steps b { font-size: .85rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.steps li:nth-child(1) b { background: var(--cyan); color: var(--ink); }
.steps li:nth-child(2) b { background: var(--lime); color: var(--ink); }
.steps li:nth-child(3) b { background: var(--magenta); }
.phero .steps { margin: 2rem 0 0; color: #fff; }
@media (max-width: 860px) { .store { grid-template-columns: 1fr; gap: 2rem; } }

.deadline { display: inline-flex; align-items: center; gap: .5rem; background: var(--magenta); color: #fff; font-weight: 700; font-size: .92rem; padding: .55rem 1rem; border-radius: 999px; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-bottom: 3rem; }
.product { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.product.is-picked { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,195,222,.2); }
.product-img { position: relative; aspect-ratio: 1; background: var(--mist); }
.product-img img.pic { width: 100%; height: 100%; object-fit: cover; }
.product-img img.ph { position: absolute; inset: 0; margin: auto; width: 46%; opacity: .25; filter: grayscale(.3); }
.product-img .req { position: absolute; top: 1rem; left: 1rem; font-size: .74rem; font-weight: 700; color: #fff; background: var(--magenta); border-radius: 999px; padding: .25rem .7rem; }
.product-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product h2 { font-size: 1.25rem; line-height: 1.25; }
.price { color: var(--signal); font-weight: 700; margin: .3rem 0 .6rem; }
.product-desc { color: var(--slate); font-size: .98rem; }
.product-desc p { margin: 0 0 .6em; }
.lines { display: grid; gap: .7rem; margin-top: auto; padding-top: 1rem; }
.line { display: grid; grid-template-columns: 1fr 5.5rem; gap: .7rem; align-items: end; }
.line .pers { grid-column: 1 / -1; }
.line label > span { display: block; font-size: .82rem; font-weight: 600; color: var(--slate); margin-bottom: .3rem; }
.add-line { align-self: start; background: none; border: 0; padding: .6rem 0 0; font: 600 .9rem var(--font); color: var(--signal); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 1060px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .products { grid-template-columns: 1fr; } }

.order-box { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; background: var(--mist); border-radius: 20px; padding: 3rem; }
.order-box h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1rem 0 .8rem; }
.order-box > div > p { color: var(--slate); }
.summary { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .5rem; }
.summary li { display: flex; justify-content: space-between; gap: 1rem; background: #fff; border-radius: 10px; padding: .7rem 1rem; font-size: .95rem; }
.summary li span { color: var(--slate); }
.summary-empty { color: var(--slate); font-size: .95rem; margin-top: 1.4rem; }
@media (max-width: 860px) { .order-box { grid-template-columns: 1fr; gap: 2rem; padding: 1.6rem; } }

/* ---------- Forms ---------- */
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #cfd7e2; border-radius: 10px;
  padding: .8rem .95rem; width: 100%; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 7rem; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 19px) 55%, calc(100% - 14px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,195,222,.22); }
input[type="checkbox"], input[type="radio"] { width: 1.2rem; height: 1.2rem; padding: 0; accent-color: var(--ink); flex: none; box-shadow: none; }
.field { margin-bottom: 1.4rem; }
.field > label, .field > .lbl { display: block; font-weight: 600; margin-bottom: .45rem; }
.field small, .lbl small { color: var(--slate); font-weight: 400; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field-wide { grid-column: 1 / -1; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.help { color: var(--slate); font-size: .9rem; margin: .4rem 0 0; }
.choices { display: grid; gap: .6rem; }
.choices-inline { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.choice { display: flex; gap: .7rem; align-items: center; background: #fff; border: 1px solid #cfd7e2; border-radius: 10px; padding: .8rem 1rem; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.agree { align-items: flex-start; }
.agree input { margin-top: .2rem; }
.form-card { background: #fff; border: 1px solid var(--hair); border-radius: 20px; padding: 3rem; box-shadow: 0 30px 60px -40px rgba(10,23,54,.35); margin-top: -3.5rem; position: relative; z-index: 2; }
.form-section { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.45rem; margin: 2.4rem 0 1.2rem; padding-top: 2rem; border-top: 1px solid var(--hair); }
.form-section:first-of-type { margin-top: 0; padding-top: 0; border: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1rem; }
.form-foot p { margin: 0; color: var(--slate); font-size: .92rem; }
@media (max-width: 700px) { .field-grid { grid-template-columns: 1fr; } .form-card { padding: 1.6rem; margin-top: -2.5rem; } }

.form-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.form-tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 2rem; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.form-tile::before { content: ""; display: block; width: 42px; height: 4px; background: var(--tri); margin-bottom: 1.4rem; }
.form-tile:hover { box-shadow: 0 24px 48px -28px rgba(10, 23, 54, .35); transform: translateY(-2px); }
.form-tile h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.form-tile p { color: var(--slate); margin-bottom: 1.4rem; }
.form-tile span { margin-top: auto; font-weight: 600; color: var(--signal); }
@media (max-width: 760px) { .form-list { grid-template-columns: 1fr; } }

.done { text-align: center; padding: 1rem 0; }
.done .check { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.4rem; display: grid; place-items: center; background: var(--lime); }
.done .check svg { width: 30px; height: 30px; }
.done h2 { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2rem; margin-bottom: .6rem; }
.done p { color: var(--slate); max-width: 46ch; margin-left: auto; margin-right: auto; text-wrap: balance; }
.receipt { list-style: none; padding: 0; margin: 2rem auto; max-width: 520px; text-align: left; border-top: 1px solid var(--hair); }
.receipt li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--hair); }
.receipt small { display: block; color: var(--slate); }
.ref { font-family: var(--display); font-style: italic; font-weight: 800; color: var(--signal); letter-spacing: .03em; }

/* ---------- Footer ---------- */
.ftr { background: #000; color: #b3b9c4; padding: 5rem 0 2rem; position: relative; }
.ftr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--tri); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
.ftr-brand img { width: 150px; margin-bottom: 1.4rem; }
.ftr-brand p { max-width: 30ch; }
.ftr h4 { color: #fff; font-size: .95rem; margin: 0 0 1rem; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr li a { white-space: nowrap; }
.ftr-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.6rem; margin-top: 4rem; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.ftr-partners p { margin: 0; font-size: .92rem; white-space: nowrap; }
.ftr-logos { display: flex; align-items: center; gap: 1.6rem; }
.ftr-logos a { display: block; opacity: .9; transition: opacity .15s; }
.ftr-logos a:hover { opacity: 1; }
.ftr-logos a + a { padding-left: 1.6rem; border-left: 1px solid rgba(255,255,255,.18); }
.ftr-logos img { height: 30px; width: auto; }
.ftr-logos .gs img { height: 24px; }
.ftr-base { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; } .ftr-brand, .ftr-grid > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr-partners { flex-direction: column; gap: 1.1rem; } }

/* Form layout: half-width fields pair up, everything else spans */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.fgrid > .fwide { grid-column: 1 / -1; }
.fgrid > [hidden] { display: none !important; }
.form-note { color: var(--slate); font-size: 1rem; margin-bottom: 1.4rem; }
.form-note p:last-child { margin-bottom: 0; }
input.file-in { padding: .7rem; border-style: dashed; background: var(--mist); cursor: pointer; }
input.file-in::file-selector-button { font: 600 .9rem var(--font); color: #fff; background: var(--ink); border: 0; border-radius: 999px; padding: .6rem 1.1rem; margin-right: .9rem; cursor: pointer; }
@media (max-width: 700px) { .fgrid { grid-template-columns: 1fr; } }

/* ---------- Parent Board ---------- */
a.chip { text-decoration: none; }
.chip-n { font-size: .75rem; opacity: .7; }
.board-gate { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 4rem; align-items: start; }
.board-gate .form-card { margin-top: -3.5rem; }
.board-gate-title { font-size: 1.8rem; margin-bottom: 1.4rem; }
.board-gate-copy { padding-top: 2.6rem; }
.board-gate-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1.1rem 0 1rem; }
.board-gate-copy > p { color: var(--slate); font-size: 1.1rem; max-width: 46ch; }
.board-perks { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .8rem; }
.board-perks li { display: flex; align-items: center; gap: .8rem; font-weight: 500; }
.board-perks b { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
@media (max-width: 860px) { .board-gate { grid-template-columns: 1fr; gap: 1rem; } .board-gate-copy { padding-top: 1rem; } }

.avatar { width: 2.8rem; height: 2.8rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--mist); border: 1px solid var(--hair); color: var(--ink); font-weight: 700; font-size: .9rem; }
.avatar-coach { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cyan); }
.topics { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; }
.topic { display: grid; grid-template-columns: auto 1fr 9.5rem; gap: 1.2rem; align-items: center; padding: 1.3rem 1.6rem; border-top: 1px solid var(--hair); text-decoration: none; color: var(--ink); transition: background .15s; }
.topic:first-child { border-top: 0; }
.topic:hover { background: #fafbfc; }
.topic:hover .topic-title { text-decoration: underline; text-underline-offset: .2em; }
.topic-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .3rem; }
.topic-cat { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--slate); }
.topic-cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.topic-cat-dark { color: #fff; margin-right: .6rem; }
.topic-locked { font-size: .74rem; font-weight: 700; color: var(--slate); background: var(--mist); border-radius: 999px; padding: .2rem .6rem; }
.topic-title { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.topic-by { display: block; color: var(--slate); font-size: .88rem; margin-top: .2rem; }
.topic-stats { text-align: right; }
.topic-stats b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem; line-height: 1; }
.topic-stats span { display: block; font-size: .8rem; color: var(--slate); }
.topic-stats small { display: block; font-size: .78rem; color: var(--slate); margin-top: .3rem; }
@media (max-width: 700px) {
  .topic { grid-template-columns: auto 1fr; padding: 1.1rem 1.1rem; }
  .topic-stats { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
  .topic-stats b { font-size: 1rem; font-family: var(--font); font-style: normal; }
  .topic-stats span, .topic-stats small { display: inline; margin: 0; }
  .topic-stats small::before { content: "· "; }
}

.mod-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; margin-bottom: 1.4rem; }
.btn-danger { color: var(--danger); border-color: #f0c2ca; }
.btn-danger:hover { background: #fdf0f2; color: var(--danger); border-color: var(--danger); }
.thread { display: grid; gap: 1rem; }
.bpost { display: grid; grid-template-columns: auto 1fr; gap: 1rem; background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.bpost:first-child { border-color: #c9d1dc; box-shadow: 0 20px 40px -32px rgba(10,23,54,.4); }
.bpost-coach { border-left: 4px solid var(--cyan); }
.bpost header { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin-bottom: .5rem; }
.bpost header time { color: var(--slate); font-size: .86rem; }
.coach-badge { font-size: .72rem; font-weight: 700; color: var(--ink); background: var(--cyan); border-radius: 999px; padding: .18rem .55rem; }
.bpost-body { font-size: 1.05rem; line-height: 1.65; overflow-wrap: anywhere; }
.bpost-body p:last-child, .bpost-body ul:last-child { margin-bottom: 0; }
.bpost-body a { color: var(--signal); }
.bpost-del { margin-top: .6rem; }
.bpost-del button { background: none; border: 0; padding: 0; font: 600 .85rem var(--font); color: var(--slate); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.bpost-del button:hover { color: var(--danger); }
.reply-box { margin-top: 2rem; background: var(--mist); border-radius: var(--radius); padding: 1.6rem; }
.reply-box .lbl { display: block; font-weight: 600; margin-bottom: .5rem; }
.reply-box .form-foot { margin-top: .9rem; }
@media (max-width: 600px) { .bpost { grid-template-columns: 1fr; padding: 1.1rem 1.2rem; } .bpost .avatar { display: none; } }

/* ---------- Jersey lineup ---------- */
.jlineup { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.jcard { display: block; background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.jcard:hover { box-shadow: 0 24px 48px -28px rgba(10,23,54,.35); transform: translateY(-2px); }
.jcard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--mist); }
.jcard-cap { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 1.3rem; border-top: 1px solid var(--hair); }
.jcard-cap b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.15rem; }
.jcard-cap span { color: var(--slate); font-size: .88rem; }
@media (max-width: 760px) { .jlineup { grid-template-columns: 1fr; } }

/* ---------- Tournament availability ---------- */
.poll-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding: 1.2rem 1.5rem; margin-bottom: 1.8rem; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.poll-banner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--cyan), var(--lime), var(--magenta)); }
.poll-banner-n { font-size: 2.6rem; color: var(--lime); }
.poll-banner b { display: block; font-size: 1.1rem; }
.poll-banner span span, .poll-banner > span:nth-child(2) { color: var(--on-dark); }
.poll-banner > span:nth-child(2) b { color: #fff; }
.poll-banner .btn { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
@media (max-width: 640px) { .poll-banner { grid-template-columns: auto 1fr; } .poll-banner .btn { grid-column: 1 / -1; } }

.tvotes { display: grid; gap: 1.4rem; }
.tvote { display: grid; grid-template-columns: 1fr 360px; background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 110px; }
.tvote.is-yes { border-color: #bfe0a0; }
.tvote.is-no { border-color: #f1c4d6; }
.tvote-info { padding: 1.8rem 2rem; }
.tvote-info h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: .4rem 0 .5rem; }
.tvote-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: .9rem; color: var(--slate); margin: 0; }
.tvote-flag { font-size: .76rem; font-weight: 700; color: var(--ink); background: var(--mist); border: 1px solid var(--hair); border-radius: 999px; padding: .22rem .65rem; }
.tvote-flag-soon { background: #fff2d9; border-color: #f5d79a; color: #8a5a00; }
.tvote-flag-booked { background: var(--lime); border-color: var(--lime); }
.tvote-when { font-size: 1.05rem; margin-bottom: .8rem; }
.tvote-when a { color: var(--signal); }
.tvote-details { color: var(--slate); }
.tvote-details p:last-child { margin-bottom: .6rem; }
.tvote-count { font-size: .88rem; color: var(--slate); margin: .4rem 0 0; }
.tvote-act { background: var(--mist); padding: 1.8rem; border-left: 1px solid var(--hair); display: flex; flex-direction: column; justify-content: center; }
.tvote-act .lbl { font-weight: 700; margin-bottom: .6rem; }
.tvote-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.tbtn { font: 700 .95rem var(--font); padding: .95rem .6rem; border-radius: 12px; border: 2px solid #cfd7e2; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.tbtn-yes:hover { border-color: var(--lime); }
.tbtn-no:hover { border-color: var(--magenta); }
.tbtn-yes.on { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.tbtn-no.on { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.tvote-note { display: block; margin-top: 1rem; }
.tvote-note span { display: block; font-size: .85rem; font-weight: 600; color: var(--slate); margin-bottom: .3rem; }
.tvote-note input { padding: .65rem .8rem; font-size: .95rem; }
.tvote-act .fine { margin: .7rem 0 0; font-size: .85rem; }
.tvote-done b { display: block; font-size: 1.1rem; margin-bottom: .4rem; }
.tvote.is-booked .tvote-act { background: #f0f8e6; }
@media (max-width: 860px) { .tvote { grid-template-columns: 1fr; } .tvote-act { border-left: 0; border-top: 1px solid var(--hair); } .tvote-info, .tvote-act { padding: 1.4rem; } }

/* ---------- Phone refinements ---------- */
@media (max-width: 860px) {
  .phero .wave, .profile .wave, .board .wave { display: none; }
  .hero .wrap { padding-bottom: 9.5rem; }
  .hero .wave { bottom: 5.6rem; height: 40px; }
}
@media (max-width: 640px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero h1 { font-size: 2.7rem; }
  .sec-head h2 { font-size: 2rem; }
  /* Schedule: date sits on its own line above the details */
  .sched-row { grid-template-columns: 1fr; gap: .35rem; padding: 1.2rem 1.2rem 1.2rem 1.5rem; }
  .sched-date { display: flex; align-items: baseline; gap: .6rem; }
  .sched-date b { font-size: 1.2rem; }
  .sched-time, .sched-place, .sched-kit { grid-column: 1; }
  .sched-time span { display: inline; margin-left: .5rem; }
  .sched-time span::before { content: "· "; }
  /* Home roster preview: swipeable row instead of a grid with a stray card */
  .roster:not(.roster-full) { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; margin-right: -1.25rem; padding-right: 1.25rem; }
  .roster:not(.roster-full) .player { scroll-snap-align: start; }
  .profile-stats div { min-width: 0; flex: 1 1 40%; }
  .totals b { font-size: 2rem; }
  .gl { padding: 0 1.2rem; }
  .gl li { grid-template-columns: 2.6rem 1fr; }
  .gl .score { grid-column: 2; padding-top: 0; }
  .tourney-head { padding: 1.3rem 1.2rem; }
  .order-box .form-foot .btn { width: 100%; }
  .form-foot .btn { width: 100%; }
}

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