/* D2 CFB Spotlight support site */
@font-face { font-family: "Alfa Slab One"; src: url("assets/fonts/AlfaSlabOne-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/BarlowCondensed-ExtraBoldItalic.ttf") format("truetype"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
  --black: #000;
  --card: #0d1420;
  --card2: #111b2b;
  --navy: #14365a;
  --line: #1e2a3c;
  --text: #eef2f7;
  --body: #c4ccd8;
  --muted: #8d99ab;
  --red: #d71f2b;
  --red-dk: #b51823;
  --gold: #c9a227;      /* GOLD membership accent: flat, used only in GOLD areas */
  --gold-dk: #8a6812;
  --gold-hover: #d9b443;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: 20px;
  --mbar: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: calc(var(--mbar) + env(safe-area-inset-bottom));
}
body.page-welcome { padding-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; line-height: .92; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
section[id] { scroll-margin-top: 12px; }

/* ---------- preview banner ---------- */
.preview-banner {
  background: #fff3cd; color: #1b1b1b; border-bottom: 4px solid var(--red);
  padding: 12px var(--pad); font: 500 14px/1.45 var(--sans);
}
.preview-banner ul { margin: 6px 0 0; padding-left: 18px; }
.preview-banner code { font-weight: 700; }

/* ---------- top bar ---------- */
.topbar { background: var(--black); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-logo { width: 38px; height: auto; }
.brand-name { font: 700 20px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.topnav { display: none; gap: 28px; }
.topnav a { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.topnav a:hover { color: var(--text); border-color: var(--red); }
.topnav a.is-active,
.topnav a[aria-current="page"] { color: var(--text); border-color: var(--red); }
.xlink { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .12em; border: 1px solid var(--line); padding: 9px 12px; }
.xlink svg { width: 15px; height: 15px; fill: currentColor; }
.xlink:hover { border-color: var(--text); }

/* ---------- lower-third tag ---------- */
.tag { display: inline-flex; flex-wrap: wrap; font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 22px; }
.tag span { padding: 8px 12px 7px; }
.tag-a { background: var(--red); color: #fff; }
.tag-b { background: var(--text); color: var(--black); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-slab { display: none; }
.hero-in { position: relative; display: grid; gap: 28px; padding-top: 40px; padding-bottom: 44px; }
.hero h1 {
  font-weight: 800; font-style: italic; letter-spacing: -.005em;
  font-size: clamp(54px, 15.5vw, 136px); line-height: .86;
  margin: 0 0 24px; padding-right: .05em;
}
.hero h1::after { content: ""; display: block; width: 88px; height: 8px; background: var(--red); margin-top: 22px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--body); max-width: 40em; margin-bottom: 30px; }
.hero-mark { display: none; }
.hero-ctas { display: grid; gap: 12px; }

.cta { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 84px; padding: 16px 20px; text-decoration: none; border: 2px solid transparent; position: relative; transition: background .15s, border-color .15s, color .15s; }
.cta::after { content: ""; position: absolute; right: 20px; top: 50%; width: 14px; height: 14px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.cta-kicker { font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .16em; opacity: .85; }
.cta-label { font: 800 italic 30px/1 var(--display); text-transform: uppercase; padding-right: 34px; }
.cta-red { background: var(--red); color: #fff; }
.cta-red:hover { background: var(--red-dk); }
.cta-line { border-color: var(--text); color: var(--text); }
.cta-line:hover { background: var(--text); color: var(--black); }

.ticker { position: relative; z-index: 1; background: var(--navy); border-top: 4px solid var(--red); }
.ticker-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 13px; padding-bottom: 13px; font: 700 13px/1.1 var(--display); text-transform: uppercase; letter-spacing: .12em; }
.ticker i { flex: none; width: 8px; height: 8px; background: var(--red); transform: skewX(-20deg); }

/* ---------- compact inner page header ---------- */
.page-header {
  border-bottom: 1px solid var(--line);
  padding: 32px 0 28px;
}
.page-header h1 {
  font-weight: 800; font-style: italic;
  font-size: clamp(36px, 8vw, 56px); line-height: .92;
  margin: 0 0 12px;
}
.page-header h1::after {
  content: ""; display: block; width: 64px; height: 6px;
  background: var(--red); margin-top: 14px;
}
.page-lede {
  font-size: 17px; line-height: 1.55; color: var(--body);
  max-width: 36em; margin: 0;
}
@media (min-width: 768px) {
  .page-header { padding: 44px 0 36px; }
  .page-header h1 { font-size: clamp(44px, 5vw, 56px); }
}

/* ---------- sections & lower-third headers ---------- */
.section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--card); }
.l3 { display: flex; align-items: stretch; margin-bottom: 36px; max-width: 100%; }
.l3-num { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; background: var(--red); color: #fff; font: 800 italic 28px/1 var(--display); }
.l3-bar { flex: 1 1 auto; min-width: 0; background: var(--text); color: var(--black); padding: 10px 16px 12px; border-bottom: 4px solid var(--navy); }
.l3-kicker { display: block; font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .2em; color: var(--red); margin-bottom: 6px; }
.l3 h2 { font-weight: 800; font-style: italic; font-size: clamp(28px, 7.4vw, 50px); line-height: .95; }
.l3-tight { margin-bottom: 24px; }

.big { font-size: 19px; line-height: 1.55; color: var(--text); max-width: 34em; }
.fine { font-size: 14px; line-height: 1.5; color: var(--muted); }
.label { font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 12px; }
.center { text-align: center; }

/* ---------- pillars ---------- */
.pillars { display: grid; gap: 16px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--navy); padding: 26px 22px 24px; }
.pillar-red { border-top-color: var(--red); }
.pillar-no { font: 800 italic 18px/1 var(--display); color: var(--red); letter-spacing: .06em; margin-bottom: 14px; }
.pillar h3 { font-weight: 800; font-style: italic; font-size: 36px; margin-bottom: 14px; }
.pillar p { color: var(--body); margin: 0; }

/* ---------- give ---------- */
.give-grid { display: grid; gap: 28px; }
.chips-block { margin-top: 8px; }
.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 14px; }
.chip {
  appearance: none; cursor: pointer; min-height: 52px; background: var(--black); color: var(--text);
  border: 2px solid var(--line); font: 800 italic 22px/1 var(--display); text-transform: uppercase; padding: 0 2px;
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--black); border-color: var(--text); }

.paygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.paygrid .pay[hidden] { display: none !important; }
.paygrid-1 { grid-template-columns: 1fr; }
.paygrid-3 { grid-template-columns: 1fr 1fr; }
.paygrid-3 .pay:not([hidden]):last-of-type { grid-column: 1 / -1; }
@media (min-width: 640px) { .paygrid-3 .pay:not([hidden]):last-of-type { grid-column: auto; } }
@media (min-width: 640px) {
  .paygrid-3 { grid-template-columns: repeat(3, 1fr); }
  .paygrid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .paygrid-4 { grid-template-columns: 1fr 1fr; }
}
.pay {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 112px; padding: 16px;
  background: var(--black); border: 2px solid var(--text); text-decoration: none; position: relative;
  transition: background .15s, color .15s;
}
.pay::before { content: ""; position: absolute; left: -2px; top: -2px; width: 34px; height: 6px; background: var(--red); }
.pay-name { font: 800 italic 32px/1 var(--display); text-transform: uppercase; }
.pay-sub { font: 600 15px/1.2 var(--display); letter-spacing: .04em; color: var(--muted); overflow-wrap: anywhere; }

/* Brand payment logos (official marks in assets/pay/) */
.pay-brand {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.pay-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  width: 100%;
}
.pay-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.pay-venmo .pay-logo { height: 28px; width: auto; max-width: 150px; }
.pay-cashapp .pay-logo-wrap { justify-content: flex-start; }
.pay-cashapp .pay-logo {
  width: 48px; height: 48px;
  border-radius: 11px;
}
.pay-paypal .pay-logo-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  width: auto;
  max-width: 100%;
}
.pay-paypal .pay-logo { height: 22px; width: auto; max-width: 132px; }

.pay:hover:not(.is-off) { background: var(--text); color: var(--black); }
.pay:hover:not(.is-off) .pay-sub { color: var(--navy); }
.pay-brand:hover:not(.is-off) { background: #0a0a0a; color: var(--text); border-color: #fff; }
.pay-brand:hover:not(.is-off) .pay-sub { color: var(--muted); }
.pay-paypal:hover:not(.is-off) .pay-logo-wrap { background: #fff; }

@media (min-width: 640px) {
  .pay-venmo .pay-logo { height: 32px; max-width: 170px; }
  .pay-cashapp .pay-logo { width: 56px; height: 56px; border-radius: 13px; }
  .pay-paypal .pay-logo { height: 26px; max-width: 150px; }
  .pay-paypal .pay-logo-wrap { padding: 12px 14px; }
  .pay-brand { min-height: 140px; }
}
.taxline { margin: 22px 0 0; }

/* disabled state (shared) */
.is-off { cursor: not-allowed; }
.pay.is-off { border-color: var(--line); border-style: dashed; color: #5f6b7d; background: transparent; }
.pay.is-off::before { background: var(--line); }
.pay.is-off .pay-sub { color: #f0b3b8; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 14px 26px; text-decoration: none; border: 2px solid transparent; text-align: center; transition: background .15s, color .15s; }
.btn-label { font: 800 italic 24px/1 var(--display); text-transform: uppercase; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover:not(.is-off) { background: var(--red-dk); }
.btn-white { background: var(--text); color: var(--black); }
.btn-white:hover:not(.is-off) { background: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-xl { min-height: 72px; }
.btn-xl .btn-label { font-size: 28px; }
.btn.is-off { background: transparent; color: #5f6b7d; border: 2px dashed var(--line); }
.btn-off { font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .16em; color: #f0b3b8; }
.textlink[hidden], .btn[hidden], .pay[hidden], .cta[hidden] { display: none !important; }
.textlink { display: inline-block; font: 700 15px/1.3 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.textlink.is-off { color: #5f6b7d; border-bottom-color: var(--line); }

/* ---------- membership / club ---------- */
.club { display: grid; gap: 32px; }
.list-h { font-weight: 700; font-size: 15px; letter-spacing: .2em; color: var(--muted); margin: 30px 0 14px; }
.benefits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.benefits li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); color: var(--body); }
.benefits li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 16px; height: 8px; background: var(--red); transform: skewX(-20deg); }
.benefits b { color: var(--text); font-weight: 600; }

.card { background: var(--card2); border: 1px solid var(--line); border-left: 8px solid var(--red); padding: 26px 22px 24px; align-self: start; }
.card-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.card-logo { width: 56px; flex: none; }
.card-kicker { display: block; font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 6px; }
.card-title { display: block; font: 800 italic 28px/.95 var(--display); text-transform: uppercase; }
.card-price { display: flex; align-items: flex-end; gap: 10px; padding: 20px 0 6px; }
.price-num { font: 800 italic 88px/.8 var(--display); letter-spacing: -.02em; }
.price-unit { display: flex; flex-direction: column; font: 700 20px/1.05 var(--display); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 4px; }
.price-unit span + span { color: var(--muted); }
.card-terms { list-style: none; padding: 0; margin: 14px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.card-terms li { font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .12em; border: 1px solid var(--muted); padding: 8px 10px 7px; }
.card-terms li:first-child { background: var(--text); color: var(--black); border-color: var(--text); }
.card-after { margin: 16px 0 18px; }

/* ---------- GOLD accent (membership section + welcome page only) ---------- */
.section-gold .l3-num { background: var(--gold); color: #000; }
.section-gold .l3-kicker { color: var(--gold-dk); }
.section-gold .l3-bar { border-bottom-color: var(--gold); }
.section-gold .benefits li::before { background: var(--gold); }
.section-gold .card { border-left-color: var(--gold); }
.section-gold .textlink { border-bottom-color: var(--gold); }
.section-gold .textlink.is-off { border-bottom-color: var(--line); }
.section-gold .tag-a { background: var(--gold); color: #000; }
.section-gold .welcome-h::after { background: var(--gold); }
.section-gold .steps li::before { background: var(--gold); color: #000; }
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover:not(.is-off) { background: var(--gold-hover); }
.card-medal { width: 92px; height: auto; flex: none; }
.welcome-medal { width: 120px; height: auto; margin-bottom: 24px; }
.section-gold .card-title { font-size: 30px; }
@media (min-width: 420px) { .section-gold .card-title { font-size: 40px; } }

/* ---------- sponsors ---------- */
.sponsor-list { list-style: none; counter-reset: s; margin: 8px 0 32px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.sponsor-list li { align-content: start; counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sponsor-list li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 800 italic 22px/1.2 var(--display); color: var(--red); }
.sponsor-list span { font: 800 italic 30px/1 var(--display); text-transform: uppercase; }
.sponsor-list small { font-size: 15px; color: var(--muted); margin-top: 6px; }

.sponsor { display: grid; grid-template-areas: "intro" "list" "btn"; }
.sponsor > .big { grid-area: intro; }
.sponsor > .sponsor-list { grid-area: list; }
.sponsor > .btn { grid-area: btn; justify-self: start; }
@media (max-width: 639px) { .sponsor > .btn { justify-self: stretch; } }

/* ---------- footer ---------- */
.footer { padding: 44px 0 36px; background: var(--black); }
.footer-in { display: grid; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 54px; }
.footer-name { font: 800 italic 24px/1 var(--display); text-transform: uppercase; margin: 0 0 4px; }
.footer-brand .fine { margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { font: 700 15px/1.3 var(--display); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; color: var(--body); }
.footer-links a:hover:not(.is-off) { color: var(--text); }
.footer-links a.is-off { color: #5f6b7d; }
.footer-legal p { margin: 0 0 6px; }
.footer-slim { padding: 28px 0; border-top: 1px solid var(--line); }

/* ---------- sticky mobile bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--black); border-top: 1px solid var(--line);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
}
.mbar a { display: flex; align-items: center; justify-content: center; height: 48px; text-decoration: none; font: 800 italic 24px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.mbar-give { background: var(--red); color: #fff; }
.mbar-join { background: var(--text); color: var(--black); }

/* ---------- welcome page ---------- */
.welcome { padding: 44px 0 56px; }
.welcome-in { max-width: 760px; }
.welcome-h { font-weight: 800; font-style: italic; font-size: clamp(46px, 12vw, 96px); line-height: .88; margin-bottom: 22px; }
.welcome-h::after { content: ""; display: block; width: 88px; height: 8px; background: var(--red); margin-top: 20px; }
.next { margin-top: 40px; }
.steps { list-style: none; counter-reset: st; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: st; position: relative; padding: 16px 0 16px 48px; border-bottom: 1px solid var(--line); color: var(--body); }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 14px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--navy); font: 800 italic 20px/1 var(--display); color: #fff; }
.steps b { color: var(--text); font-weight: 600; }
.next .fine { margin-top: 14px; }
.welcome-foot { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ======================= tablet ======================= */
@media (min-width: 640px) {
  :root { --pad: 32px; }
  .hero-ctas { grid-template-columns: 1fr 1fr; }
  .chips { gap: 8px; }
  .ticker-in { font-size: 14px; letter-spacing: .16em; gap: 8px 16px; }
  .pay { min-height: 128px; padding: 20px; }
  .pay-name { font-size: 38px; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .section { padding: 88px 0; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar h3 { font-size: 34px; min-height: 2em; }
  .l3-num { width: 72px; font-size: 34px; }
  .l3-bar { padding: 12px 22px 14px; }
  .sponsor-list { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 16px; }
  .sponsor-list li { grid-template-columns: 1fr; border: 1px solid var(--line); border-top: 6px solid var(--navy); padding: 22px; background: var(--black); }
  .sponsor-list li::before { grid-row: auto; margin-bottom: 10px; }
}

/* ======================= desktop ======================= */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .mbar { display: none; }
  .topbar-in { height: 76px; }
  .brand-logo { width: 46px; }
  .topnav { display: flex; }
  .sponsor { grid-template-areas: "intro btn" "list list"; grid-template-columns: minmax(0,1fr) auto; column-gap: 48px; align-items: end; }
  .sponsor > .big { margin-bottom: 28px; }
  .sponsor > .btn { margin-bottom: 28px; }
  .sponsor-list { margin-bottom: 0; }
  .hero-slab { display: block; position: absolute; top: 0; bottom: 50px; right: 0; width: 38%; background: var(--navy); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-slab::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100%; background: var(--red); clip-path: polygon(22% 0, 24.5% 0, 2.5% 100%, 0 100%); }
  .hero-in { grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 88px; }
  .hero h1 { font-size: clamp(96px, 9.4vw, 136px); }
  .hero-mark { display: block; }
  .hero-logo { width: 100%; max-width: 340px; margin-left: auto; }
  .hero-ctas { max-width: 680px; }
  .give-grid { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
  .club { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; }
  .footer-in { grid-template-columns: 1.3fr auto 1fr 1.2fr; align-items: start; }
  .footer-legal { grid-column: auto; text-align: right; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }


/* ---------- compact social icons (nav + footer, all pages) ---------- */
.social-nav, .social-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.social-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--card);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.social-ico:hover {
  background: var(--text);
  color: var(--black);
  border-color: var(--text);
}
.social-svg { width: 16px; height: 16px; display: block; }
.social-nav { margin-left: 8px; }
.social-footer { margin-top: 4px; }
.welcome-footer-in { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 640px) {
  .social-ico { width: 40px; height: 40px; border-radius: 9px; }
  .social-svg { width: 18px; height: 18px; }
  .social-nav, .social-footer { gap: 10px; }
}
@media (min-width: 1024px) {
  .social-footer { align-self: start; margin-top: 6px; }
}


/* ---------- giant home social (under hero CTAs) ---------- */
.hero-social {
  background: var(--black);
  border-bottom: 1px solid var(--line);
  padding: 16px 0 20px;
}
.hero-social-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.hero-social-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 2px solid var(--text);
  position: relative;
  transition: background .15s, color .15s, border-color .15s;
}
.hero-social-btn::before {
  content: "";
  position: absolute;
  left: -2px; top: -2px;
  width: 40px; height: 7px;
  background: var(--red);
}
.hero-social-btn::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 14px; height: 14px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.hero-social-btn:hover {
  background: var(--text);
  color: var(--black);
}
.hero-social-icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: block;
}
.hero-social-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 28px;
  min-width: 0;
}
.hero-social-name {
  font: 800 italic 34px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.hero-social-cta {
  font: 700 13px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}
.hero-social-btn:hover .hero-social-cta { color: var(--navy); }

@media (min-width: 640px) {
  .hero-social { padding: 20px 0 24px; }
  .hero-social-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .hero-social-btn {
    min-height: 120px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 14px;
    padding: 22px 20px 20px;
  }
  .hero-social-icon { width: 36px; height: 36px; }
  .hero-social-name { font-size: 36px; }
  .hero-social-text { gap: 6px; }
}

@media (min-width: 1024px) {
  .hero-social { padding: 24px 0 28px; }
  .hero-social-btn { min-height: 140px; padding: 26px 24px 22px; }
  .hero-social-icon { width: 40px; height: 40px; }
  .hero-social-name { font-size: 44px; }
}

/* ---------- landing page ---------- */
body.page-landing { padding-bottom: 0; }

/* landing: show a compact hero logo on small screens (desktop keeps the large mark) */
@media (max-width: 1023px) {
  .page-landing .hero-mark { display: block; order: -1; justify-self: start; }
  .page-landing .hero-logo { width: 96px; margin: 0; }
}

/* ---------- mid-page IAB ad slot (D1R) ---------- */
.ad-slot {
  background: #080808;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 22px 0 26px;
}
.ad-slot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ad-label {
  margin: 0 0 8px;
  font: 600 10px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7a7a7a;
  text-align: center;
}
/* Fixed IAB sizes — never stretch */
.ad-frame {
  box-sizing: border-box;
  width: 320px;
  height: 100px;
  max-width: 100%;
  flex: none;
  position: relative;
  overflow: hidden;
  background: #0e0e0e;
  border: 1px solid #2c2c2c;
  display: flex;
  align-items: center;
  padding: 0 8px 0 8px;
  gap: 8px;
}
.ad-creative {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
  color: #fff;
  height: 100%;
}
.ad-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: none;
  border-radius: 8px;
  background: #000;
}
.ad-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ad-headline {
  font: 800 italic 16px/1.05 var(--display);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-sub {
  font: 500 11px/1.25 var(--sans);
  color: #b0b0b0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-badges {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  flex: none;
  z-index: 2;
}
.ad-badge {
  display: block;
  line-height: 0;
}
.ad-badge img {
  display: block;
  height: 24px;
  width: auto;
}

@media (min-width: 768px) {
  .ad-slot { padding: 28px 0 32px; }
  .ad-frame {
    width: 728px;
    height: 90px;
    padding: 0 14px;
    gap: 14px;
  }
  .ad-logo { width: 56px; height: 56px; border-radius: 10px; }
  .ad-headline { font-size: 26px; }
  .ad-sub { font-size: 13px; }
  .ad-badges {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .ad-badge img { height: 28px; }
}

.pickem-row {
  display: grid;
  gap: 22px;
  align-items: start;
}
.pickem-row .btn { justify-self: start; }
@media (max-width: 639px) {
  .pickem-row .btn { justify-self: stretch; width: 100%; }
}

.gold-teaser { display: grid; gap: 28px; }
.gold-teaser-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.gold-teaser-logo { width: 110px; height: auto; }
.gold-teaser-ctas {
  display: grid;
  gap: 12px;
  align-content: start;
}
.gold-teaser-ctas .btn { width: 100%; }
.gold-teaser-ctas .textlink { justify-self: start; margin-top: 6px; }

.follow-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}
.follow-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  padding: 18px 14px;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  transition: background .15s, border-color .15s, color .15s;
}
.follow-btn:hover {
  background: var(--text);
  color: var(--black);
  border-color: var(--text);
}
.follow-icon {
  width: 28px;
  height: 28px;
  display: block;
}
.follow-name {
  font: 800 italic 22px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.follow-btn[hidden] { display: none !important; }

@media (min-width: 640px) {
  .follow-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 600px;
  }
  .follow-btn { min-height: 120px; }
  .follow-icon { width: 30px; height: 30px; }
  .follow-name { font-size: 24px; }
  .pickem-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 32px;
  }
  .pickem-row .big { margin: 0; }
  .gold-teaser-copy {
    flex-direction: row;
    gap: 24px;
    align-items: center;
  }
  .gold-teaser-logo { width: 128px; }
  .gold-teaser-ctas {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .gold-teaser-ctas .textlink { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .gold-teaser {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 48px;
    align-items: center;
  }
  .gold-teaser-ctas { grid-template-columns: 1fr; }
  .gold-teaser-ctas .textlink { grid-column: auto; }
}


/* ---------- GOLD voting lounge ---------- */
body.page-voting { padding-bottom: 0; }
.topnav { gap: 20px; }
.topnav a.nav-voting {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
}
.topnav a.nav-voting:hover,
.topnav a.nav-voting.is-active,
.topnav a.nav-voting[aria-current="page"] {
  color: var(--gold-hover);
  border-color: var(--gold);
}
.nav-lock {
  display: inline-block;
  width: 11px;
  height: 13px;
  border: 2px solid var(--gold);
  border-radius: 2px 2px 1px 1px;
  position: relative;
  flex: none;
  box-sizing: border-box;
  margin-top: -1px;
}
.nav-lock::before {
  content: "";
  position: absolute;
  left: 1px; right: 1px; top: -7px;
  height: 7px;
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  box-sizing: border-box;
}

.voting-header { border-bottom: 1px solid var(--line); }
.voting-header h1::after { background: var(--gold); }
.voting-header-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.voting-medal {
  width: 72px;
  height: auto;
  flex: none;
}
@media (min-width: 768px) {
  .voting-medal { width: 96px; }
}

.vote-gate-card {
  display: grid;
  gap: 36px;
}
@media (min-width: 1024px) {
  .vote-gate-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: start;
  }
}
.vote-lock-badge {
  display: inline-block;
  width: 28px;
  height: 34px;
  border: 3px solid var(--gold);
  border-radius: 3px;
  position: relative;
  margin-bottom: 18px;
}
.vote-lock-badge::before {
  content: "";
  position: absolute;
  left: 4px; right: 4px; top: -14px;
  height: 14px;
  border: 3px solid var(--gold);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.vote-gate-h {
  font-weight: 800;
  font-style: italic;
  font-size: clamp(36px, 8vw, 56px);
  letter-spacing: -.01em;
  margin: 0 0 16px;
}
.vote-gate-h::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  background: var(--gold);
  margin-top: 16px;
}
.vote-gate-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 8px;
}
.vote-unlock { margin-top: 22px; max-width: 420px; }
.vote-unlock-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.vote-input {
  flex: 1 1 200px;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  font: 500 16px/1.3 var(--sans);
}
.vote-input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
#unlock-msg.is-ok, .vote-cat-status.is-ok { color: var(--gold); }
#unlock-msg.is-err, .vote-cat-status.is-err { color: #f0b3b8; }

.vote-preview {
  position: relative;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  min-height: 280px;
}
.vote-preview-blur {
  filter: blur(5px);
  opacity: .55;
  pointer-events: none;
  user-select: none;
  padding: 22px;
}
.vote-preview-veil {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  border: 2px solid var(--gold);
  pointer-events: none;
}
.vote-cat-preview + .vote-cat-preview { margin-top: 28px; }
.vote-slots {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.vote-slot {
  height: 64px;
  background: var(--card2);
  border: 1px solid var(--line);
}
.vote-slot::after {
  content: "";
  display: block;
  width: 42%;
  height: 12px;
  margin: 26px 18px;
  background: var(--line);
}

.vote-category { margin-bottom: 56px; }
.vote-category:last-child { margin-bottom: 0; }
.vote-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
@media (min-width: 640px) {
  .vote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .vote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
.vote-card {
  appearance: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 128px;
  padding: 18px 18px 16px;
  background: var(--black);
  color: var(--text);
  border: 2px solid var(--line);
  font: inherit;
  transition: border-color .15s, background .15s;
}
.vote-card:hover:not(.is-disabled) { border-color: var(--gold); }
.vote-card.is-selected {
  border-color: var(--gold);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.vote-card.is-disabled { opacity: .55; cursor: not-allowed; }
.vote-card-name {
  font: 800 italic 26px/1.05 var(--display);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.vote-card-school {
  font: 700 14px/1.2 var(--display);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
}
.vote-card-note {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.vote-card-mark {
  margin-top: auto;
  padding-top: 12px;
  font: 700 12px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}
.vote-card.is-selected .vote-card-mark { color: var(--gold); }

.vote-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.vote-card-id {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.vote-card-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--card2);
  border: 2px solid var(--line);
}
.vote-card-photo.is-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 800 22px/1 var(--display);
  letter-spacing: .04em;
  color: var(--gold);
  background: #1a1f2a;
}
.vote-card.is-selected .vote-card-photo { border-color: var(--gold); }


.vote-soon { max-width: 40em; }
.vote-soon .big { margin-top: 18px; }
.vote-empty-cat { margin-top: 16px; }
.vote-foot { margin-top: 28px; }
.vote-cat-status { margin-top: 12px; min-height: 1.3em; }

/* ---------- POTW + season blocks ---------- */
.vote-block { margin-bottom: 64px; }
.vote-block:last-child { margin-bottom: 0; }
.vote-week-meta { margin: 18px 0 8px; }
.vote-week-label {
  font: 800 italic 28px/1.05 var(--display);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--gold);
  margin: 0 0 6px;
}
.vote-next {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--card);
  max-width: 40em;
}
.vote-next h3 {
  font-size: 28px;
  margin-bottom: 10px;
}
.vote-cat-title {
  font: 800 italic 28px/1.05 var(--display);
  text-transform: uppercase;
  margin: 28px 0 14px;
}
.vote-closed-pill {
  display: inline-block;
  font: 700 12px/1 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #000;
  background: var(--muted);
  padding: 5px 8px 4px;
  vertical-align: middle;
  font-style: normal;
}
.vote-winners { margin-top: 36px; }
.vote-winner-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.vote-winner-list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .vote-winner-list li {
    grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
  }
}
.vote-winner-week {
  font: 700 13px/1.2 var(--display);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
}
.vote-winner-name {
  font: 800 italic 22px/1.1 var(--display);
  text-transform: uppercase;
}
.vote-winner-school {
  font: 700 14px/1.2 var(--display);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
}
.vote-soon-inline { margin-top: 18px; }

/* ---------- Sign in (top bar + voting gate) ---------- */
.auth-slot {
  display: flex;
  align-items: center;
  margin-left: 4px;
  flex: none;
}
.auth-slot-in {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-slot-in--user { gap: 10px; }
.btn-signin-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  text-decoration: none;
  font: 700 12px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 8px 12px;
  white-space: nowrap;
}
.btn-signin-x:hover { background: #e8e8e8; color: #000; }
.btn-signin-x.btn-block { justify-content: center; width: 100%; padding: 14px 16px; font-size: 14px; }
.auth-x-ico { width: 14px; height: 14px; display: block; flex: none; }
.btn-signin-x.btn-block .auth-x-ico { width: 16px; height: 16px; }

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #747775;
  border-radius: 4px;
  text-decoration: none;
  font: 500 14px/1.2 "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
}
.btn-google:hover { background: #f8f9fa; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.auth-g-ico { width: 18px; height: 18px; display: block; flex: none; }

.auth-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 160px;
}
.auth-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
  border: 1px solid var(--line);
  flex: none;
}
.auth-avatar-fallback {
  display: inline-block;
  background: var(--line);
}
.auth-handle {
  font: 700 12px/1 var(--display);
  letter-spacing: .06em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-signout {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 700 11px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 7px 10px;
  cursor: pointer;
}
.auth-signout:hover { color: var(--text); border-color: var(--text); }

.vote-signin-box { margin-bottom: 16px; }
.vote-signin { display: grid; gap: 0; max-width: 360px; }
.vote-signin-lede { margin: 0 0 12px; color: var(--body); }
.vote-gate-note { margin-top: 14px; max-width: 36em; }

.attach-box { margin: 28px 0 8px; }
.attach-card {
  border: 1px solid var(--gold);
  background: var(--card);
  padding: 22px 20px;
  max-width: 420px;
}
.attach-h {
  font: 800 italic 28px/1 var(--display);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.attach-card .big { margin-bottom: 14px; }

@media (max-width: 767px) {
  .auth-handle { display: none; }
  .btn-signin-x span { /* keep short on tiny screens */ }
  .auth-slot { margin-left: 0; }
}
@media (min-width: 768px) {
  .auth-user { max-width: 200px; }
}

/* ---------- One sign-in control per page: gate buttons replace the top-bar button ---------- */
body.gate-open .auth-slot .btn-signin-x { display: none; }
.footer-links a.footer-gold { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); }
.footer-links a.footer-gold:hover { color: var(--gold-hover); }

/* ---------- GOLD members Chat ---------- */
body.page-chat { padding-bottom: 0; }
.chat-box {
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
  max-width: 820px;
}
.chat-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  height: min(62vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.chat-empty { padding: 22px 18px; margin: 0; }
.chat-msg {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.chat-msg:last-child { border-bottom: 0; }
.chat-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--line);
  border: 1px solid var(--line);
  display: block;
}
.chat-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-bottom: 3px;
}
.chat-name { font: 700 15px/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.chat-handle { font-size: 13px; color: var(--muted); }
.chat-time { font-size: 12px; color: var(--muted); }
.chat-tag {
  font: 700 11px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--gold);
  color: #000;
  padding: 3px 6px;
}
.chat-text {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-del {
  appearance: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 700 11px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 8px;
  cursor: pointer;
}
.chat-del:hover { color: #f0b3b8; border-color: var(--red); }
.chat-form {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--black);
}
.chat-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  max-height: 140px;
  resize: vertical;
  padding: 12px 14px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  font: 400 16px/1.35 var(--sans);
}
.chat-input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.chat-send { flex: none; }
.chat-status { min-height: 1.3em; margin: 10px 0 0; }
.chat-status.is-err { color: #f0b3b8; }
.chat-status.is-ok { color: var(--gold); }
.chat-preview-line {
  height: 46px;
  margin: 0 18px 12px;
  background: var(--card2);
  border: 1px solid var(--line);
}
.chat-preview-line:first-child { margin-top: 18px; }
.chat-preview-line.is-short { width: 55%; }
@media (max-width: 639px) {
  .chat-list { height: 58vh; }
  .chat-msg { padding: 10px 12px; }
  .chat-form { padding: 10px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


/* Small phones: top-bar X sign-in shows the X mark only (label stays for screen readers) */
@media (max-width: 480px) {
  .auth-slot .btn-signin-x { padding: 8px 10px; }
  .auth-slot .btn-signin-x span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

/* Season award headers: COY + POY badge images */
.award-head { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.award-h { margin: 0; line-height: 0; }
.award-badge { display: block; width: 260px; height: auto; }
@media (max-width: 480px) {
  .award-badge { width: 220px; }
}


/* Floating GOLD chat bubble (bottom-right; full-width panel on phones) */
.chat-bubble-root {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
.chat-bubble-fab,
.chat-bubble-panel,
.chat-bubble-close { pointer-events: auto; }
.chat-bubble-fab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border: 2px solid var(--gold);
  background: var(--black);
  color: var(--text);
  font: 800 14px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .16em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.chat-bubble-fab:hover { border-color: var(--gold-hover); color: var(--gold); }
.chat-bubble-fab-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--card2);
  flex: none;
  position: relative;
}
.chat-bubble-fab-ico::after {
  content: "";
  position: absolute;
  left: 5px; right: 5px; top: 7px; height: 2px;
  background: var(--gold);
  box-shadow: 0 4px 0 var(--gold);
}
.chat-bubble-panel {
  width: min(380px, calc(100vw - 24px));
  max-height: min(560px, calc(100vh - 100px));
  display: flex;
  flex-direction: column;
  background: var(--black);
  border: 2px solid var(--line);
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  overflow: hidden;
}
.chat-bubble-root.is-open .chat-bubble-panel { border-color: var(--gold); }
.chat-bubble-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
  flex: none;
}
.chat-bubble-title {
  margin: 0;
  font: 800 italic 20px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gold);
}
.chat-bubble-close {
  appearance: none;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: var(--black);
  color: var(--text);
  font: 700 22px/1 var(--sans);
  cursor: pointer;
}
.chat-bubble-close:hover { border-color: var(--gold); color: var(--gold); }
.chat-bubble-loading { margin: 16px 14px; }
.chat-bubble-gate {
  padding: 16px 14px 18px;
  overflow: auto;
}
.chat-bubble-gate-h {
  margin: 10px 0 6px;
  font: 800 italic 22px/1.05 var(--display);
  text-transform: uppercase;
}
.chat-bubble-join { margin-top: 12px; width: 100%; justify-content: center; }
.chat-bubble-gate-note { margin-top: 12px; }
.chat-bubble-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}
.chat-bubble-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 180px;
  max-height: 340px;
}
.chat-bubble-list .chat-msg { padding: 8px 12px; }
.chat-bubble-list .chat-av { width: 28px; height: 28px; }
.chat-bubble-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: var(--card);
  flex: none;
}
.chat-bubble-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  max-height: 96px;
  resize: vertical;
  padding: 10px 12px;
  background: var(--black);
  color: var(--text);
  border: 1px solid var(--line);
  font: 400 15px/1.35 var(--sans);
}
.chat-bubble-input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.chat-bubble-send { flex: none; }
.chat-bubble-status { margin: 0; padding: 0 12px 10px; min-height: 1.2em; }
.chat-bubble-status.is-err { color: #f0b3b8; }
.chat-bubble-status.is-ok { color: var(--gold); }

@media (max-width: 639px) {
  .chat-bubble-root {
    right: 0;
    left: 0;
    bottom: 0;
    align-items: stretch;
    padding: 0;
  }
  .chat-bubble-fab {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: auto;
    z-index: 81;
  }
  .chat-bubble-root.is-open .chat-bubble-fab { display: none; }
  .chat-bubble-panel {
    width: 100%;
    max-width: none;
    max-height: min(78vh, calc(100vh - 64px));
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
  }
  .chat-bubble-list { max-height: none; flex: 1 1 auto; }
}
