/* ============================================================
   THE GATOR TRAIL — design system
   Swamp-dark base, gator orange/blue accents, a warm trail-gold
   pulled from the footer taunt piece to tie the "trail" motif
   together. Oswald for display/data, Inter for body copy.
   ============================================================ */

:root {
  /* ---- color ---- */
  --swamp: #071A2E;
  --swamp-2: #0C2440;
  --swamp-3: #123055;
  --swamp-4: #1A3D6B;
  --gator-blue: #0021A5;
  --gator-blue-light: #4C64D6;
  --gator-orange: #FA4616;
  --gator-orange-light: #FF7A47;
  --cream: #F3EFE4;
  --muted: #9FB0C3;
  --muted-2: #71839C;
  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.18);
  --green: #1D9E75;
  --green-light: #6FCFA8;
  --gold: #C9A876;
  --gold-light: #E4CEA0;

  /* ---- type ---- */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-taunt: 'Alfa Slab One', serif;

  /* ---- shape / elevation ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.28);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.38);

  /* ---- motion ---- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;

  /* ---- layout ---- */
  --container: 1160px;
  --container-narrow: 800px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.014) 0px, rgba(255,255,255,0.014) 1px, transparent 1px, transparent 18px),
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(250,70,22,0.05), transparent 60%),
    radial-gradient(ellipse 900px 500px at 100% 30%, rgba(0,33,165,0.07), transparent 55%),
    var(--swamp);
  background-attachment: fixed;
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
  margin: 0;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--gator-orange-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  display: inline-block;
  max-width: calc(100% - 3rem);
  white-space: normal;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gator-orange-light);
  border: 1px solid rgba(250,70,22,0.4);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(250,70,22,0.08);
}

.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-heading h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--cream); }
.section-heading .sub { font-size: 13px; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--gator-orange); color: var(--swamp); }
.btn-primary:hover { background: var(--gator-orange-light); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gator-orange-light); color: var(--gator-orange-light); }
.btn-link { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gator-orange-light); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-link svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.btn-link:hover svg { transform: translateX(3px); }

/* ---------- NAV ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(7,26,46,0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); flex-shrink: 0; }
.logo-badge {
  height: 32px; padding: 0 11px; flex-shrink: 0;
  border-radius: 8px;
  background: var(--gator-orange);
  color: var(--swamp);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark .logo-text { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; white-space: nowrap; }
.logo-mark .logo-text span { color: var(--gator-orange); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--gator-orange); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cream);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    background: var(--swamp-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 4px; font-size: 14px; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- TRAIL SPINE (signature motif) ----------
   A short dashed waypoint connector dropped between major
   sections — the same visual language as the player-trail
   badges, reused as the page's own throughline. */
.trail-joint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  height: 56px;
  position: relative;
}
.trail-joint::before, .trail-joint::after {
  content: "";
  width: 1px;
  flex: 1;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 4px, transparent 4px 9px);
  opacity: 0.55;
}
.trail-joint .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,118,0.15);
  flex-shrink: 0;
  margin: 2px 0;
}
@media (max-width: 700px) { .trail-joint { height: 36px; } }

/* ---------- HERO ---------- */
.hero {
  padding: calc(4.5rem + var(--nav-h)) 1.5rem 4rem;
  margin-top: calc(var(--nav-h) * -1);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(250,70,22,0.16), transparent 60%),
    radial-gradient(ellipse at 85% 15%, rgba(0,33,165,0.18), transparent 55%),
    linear-gradient(180deg, var(--swamp) 0%, var(--swamp-2) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 14px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hero .eyebrow { margin-bottom: 1.5rem; }
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  margin: 0 0 0.9rem;
  line-height: 1.02;
  color: var(--cream);
}
.hero h1 span { color: var(--gator-orange); }
.hero p.sub { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.stat-strip { display: flex; justify-content: center; gap: 2.75rem; margin-top: 2.75rem; flex-wrap: wrap; }
.stat-strip .stat { text-align: center; }
.stat-strip .num { font-family: var(--font-display); font-size: 2.1rem; color: var(--gator-orange); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-strip .label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* smaller page header for interior pages (Tracker/Rankings/etc) — bright
   orange top band fading into the swamp, textured rather than flat */
.page-header {
  padding: calc(3rem + var(--nav-h)) 1.5rem 3rem;
  margin-top: calc(var(--nav-h) * -1);
  text-align: center;
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 14px),
    linear-gradient(180deg, var(--gator-orange) 0%, var(--gator-orange) 65%, var(--swamp-2) 88%, var(--swamp) 100%);
  border-bottom: 1px solid var(--line);
}
.page-header .eyebrow { color: var(--cream); background: rgba(7,26,46,0.55); border-color: rgba(255,255,255,0.3); backdrop-filter: blur(2px); }
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 1rem 0 0.75rem; }
.page-header p { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 16px; position: relative; }

/* ---------- BENTO / TRENDING ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 14px;
}
.bento-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.bento-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.row-2 { grid-row: span 2; }
.bento-card.tone-orange { background: linear-gradient(155deg, #7A2A0F 0%, var(--swamp-2) 65%); }
.bento-card.tone-blue { background: linear-gradient(155deg, #0021A5 0%, var(--swamp-2) 65%); }
.bento-card.tone-gold { background: linear-gradient(155deg, #6B5527 0%, var(--swamp-2) 65%); }
.bento-card.tone-plain { background: var(--swamp-2); }
.bento-kicker { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.bento-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--cream); line-height: 1; font-variant-numeric: tabular-nums; }
.bento-card p.bento-copy { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }
.bento-card .bento-name { font-size: 14px; font-weight: 600; color: var(--cream); margin-top: 10px; }

.bento-headliner { justify-content: flex-start; }
.bento-headliner-top { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.bento-headliner-top .avatar { width: 68px; height: 68px; }
.bento-headliner-top .avatar .jersey-no { font-size: 26px; }
.bento-headliner-top .bento-num { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.bento-headliner-top .bento-headliner-name { font-size: 15px; color: var(--muted); margin: 2px 0 0; }
.bento-headliner .trail { margin: 1.1rem 0 0; }
.bento-headliner .trail-label { color: var(--muted); }
.bento-headliner p.bento-copy { margin-top: auto; padding-top: 1rem; font-size: 14px; color: var(--cream); }

@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-2, .bento-card.row-2 { grid-column: span 1; grid-row: span 1; }
}

/* ---------- SCHEDULE ---------- */
.schedule-section { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.schedule-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.game-card {
  flex: 0 0 auto; width: 152px; scroll-snap-align: start;
  background: var(--swamp-2); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 12px; text-align: center; transition: border-color var(--dur-fast) var(--ease);
}
.game-card:hover { border-color: var(--line-strong); }
.game-card .g-date { font-family: var(--font-display); font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.game-badge { width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 11px; font-weight: 600; border: 1px solid rgba(255,255,255,0.15); }
.g-opp { font-size: 13px; font-weight: 500; margin: 0 0 4px; color: var(--cream); }
.g-tag { display: inline-block; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-pill); margin-bottom: 4px; }
.g-tag.home { background: rgba(29,158,117,0.15); color: var(--green-light); border: 1px solid rgba(29,158,117,0.4); }
.g-tag.away { background: rgba(250,70,22,0.12); color: var(--gator-orange-light); border: 1px solid rgba(250,70,22,0.4); }
.g-tag.neutral { background: rgba(159,176,195,0.15); color: var(--muted); border: 1px solid rgba(159,176,195,0.3); }
.g-site { font-size: 10px; color: var(--muted); margin: 0 0 8px; }
.g-flags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 8px; }
.g-flag { font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; font-family: var(--font-display); font-weight: 600; }
.g-flag.conf { background: rgba(0,33,165,0.25); color: #B9C6F0; border: 1px solid rgba(0,33,165,0.5); }
.g-flag.nonconf { background: rgba(159,176,195,0.12); color: var(--muted); border: 1px solid rgba(159,176,195,0.25); }
.g-flag.rivalry { background: rgba(250,70,22,0.18); color: var(--gator-orange-light); border: 1px solid rgba(250,70,22,0.5); }
.g-odds { border-top: 1px solid var(--line); padding-top: 7px; margin-top: 2px; }
.g-odds-bar { width: 100%; height: 4px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 4px; }
.g-odds-fill { height: 100%; background: var(--gator-orange); border-radius: var(--radius-pill); }
.g-odds-label { font-size: 10px; color: var(--muted); }
.g-odds-label b { color: var(--cream); font-weight: 600; }

/* ---------- CONTROLS ---------- */
.controls { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 1.5rem; }
.controls .input-wrap { position: relative; flex: 1; min-width: 220px; }
.controls .input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.controls input, .controls select {
  background: var(--swamp-3); border: 1px solid var(--line); color: var(--cream);
  border-radius: var(--radius-sm); padding: 12px 14px; font-family: var(--font-body); font-size: 14px;
  min-height: 44px; width: 100%; transition: border-color var(--dur-fast) var(--ease);
}
.controls .input-wrap input { padding-left: 40px; }
.controls input:focus, .controls select:focus { border-color: var(--gator-orange-light); }
.controls input::placeholder { color: var(--muted); }
.controls select { min-width: 160px; width: auto; }
#count { font-size: 13px; color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- PLAYER CARD ---------- */
.card {
  background: var(--swamp-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  margin-bottom: 14px; overflow: hidden; cursor: pointer; transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.card:hover { border-color: rgba(250,70,22,0.4); }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; gap: 12px; }
button.card-head { all: unset; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; gap: 12px; width: 100%; box-sizing: border-box; cursor: pointer; font-family: var(--font-body); }
.card-head-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.avatar { position: relative; width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(160deg, var(--gator-blue), #001255); border: 2px solid var(--gator-orange); display: flex; align-items: center; justify-content: center; }
.avatar .jersey-no { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--cream); }
.avatar .pos-tag { position: absolute; bottom: -6px; right: -6px; background: var(--gator-orange); color: var(--swamp); font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.02em; padding: 2px 5px; border-radius: 5px; border: 1.5px solid var(--swamp-2); }
.card-title { font-size: 16px; font-weight: 600; margin: 0; color: var(--cream); }
.card-sub { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.chevron { color: var(--muted); transition: transform var(--dur-base) var(--ease); flex-shrink: 0; }
.card.open .chevron { transform: rotate(180deg); }
.card-body { display: none; padding: 0 1.3rem 1.4rem; border-top: 1px solid var(--line); }
.card.open .card-body { display: block; padding-top: 1.2rem; }

.section-label { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gator-orange-light); margin: 1rem 0 0.5rem; }
.section-label:first-child { margin-top: 0; }

.trail { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin: 0.75rem 0 1.25rem; }
.trail-node { display: flex; align-items: center; gap: 8px; }
.badge { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 12px; font-weight: 600; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.15); }
.trail-label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.trail-arrow { color: var(--muted); margin: 0 10px; font-size: 14px; }

.offers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.offer-pill { font-size: 12px; padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(0,33,165,0.25); border: 1px solid rgba(0,33,165,0.5); color: #B9C6F0; }
.offer-pill.won { background: rgba(250,70,22,0.18); border-color: rgba(250,70,22,0.5); color: var(--gator-orange-light); }

.stop-block { margin-bottom: 12px; }
.stop-title { font-size: 14px; font-weight: 600; margin: 0 0 3px; color: var(--cream); display:flex; align-items:center; gap:8px; }
.stop-stats { font-size: 14px; margin: 0 0 3px; color: var(--cream); }
.stop-exit { font-size: 13px; color: var(--muted); margin: 0; }
.now-line { font-size: 14px; color: var(--cream); background: rgba(29,158,117,0.12); border: 1px solid rgba(29,158,117,0.35); border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 4px; }
.pill-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }

/* ---------- STARS ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 13px; height: 13px; }
.stars svg.filled { color: var(--gold); }
.stars svg.empty { color: var(--line-strong); }

/* ---------- RANKINGS TABLE ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--swamp-2); }
table.rankings { width: 100%; border-collapse: collapse; min-width: 640px; }
table.rankings th { position: sticky; top: 0; background: var(--swamp-3); text-align: left; padding: 14px 16px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
table.rankings th button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: inherit; touch-action: manipulation; }
table.rankings th button svg { width: 12px; height: 12px; opacity: 0.5; transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
table.rankings th[aria-sort="ascending"] button svg { opacity: 1; transform: rotate(180deg); }
table.rankings th[aria-sort="descending"] button svg { opacity: 1; }
table.rankings td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
table.rankings tbody tr { transition: background var(--dur-fast) var(--ease); cursor: pointer; }
table.rankings tbody tr:hover { background: rgba(255,255,255,0.03); }
table.rankings tbody tr:last-child td { border-bottom: none; }
.rank-num { font-family: var(--font-mono); font-size: 15px; color: var(--gold); font-variant-numeric: tabular-nums; }
.rankings .player-cell { display: flex; align-items: center; gap: 12px; }
.rankings .player-cell .mini-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(160deg, var(--gator-blue), #001255); border: 1.5px solid var(--gator-orange); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 12px; flex-shrink: 0; }
.rankings .player-cell .p-name { font-weight: 600; color: var(--cream); }
.rankings .player-cell .p-hs { font-size: 12px; color: var(--muted); }
.type-chip { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 600; }
.type-chip.transfer { background: rgba(0,33,165,0.25); color: #B9C6F0; border: 1px solid rgba(0,33,165,0.5); }
.type-chip.hs { background: rgba(29,158,117,0.15); color: var(--green-light); border: 1px solid rgba(29,158,117,0.4); }
.rank-methodology { font-size: 13px; color: var(--muted); margin-top: 1rem; }

/* ---------- DEPTH CHART ---------- */
.depth-group { margin-bottom: 3rem; }
.depth-group h2 { font-size: 1.4rem; color: var(--cream); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 12px; }
.depth-group h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.depth-positions { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.depth-pos-card { background: var(--swamp-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; }
.depth-pos-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.depth-pos-code { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em; color: var(--gator-orange-light); }
.depth-pos-count { font-size: 11px; color: var(--muted); background: var(--swamp-3); padding: 2px 9px; border-radius: var(--radius-pill); }
.depth-player { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.depth-player:first-of-type { border-top: none; }
.depth-player .mini-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(160deg, var(--gator-blue), #001255); border: 1.5px solid var(--gator-orange); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 11px; flex-shrink: 0; }
.depth-player .p-name { font-size: 13.5px; font-weight: 600; color: var(--cream); }
.depth-player .p-meta { font-size: 11.5px; color: var(--muted); }
.depth-empty { font-size: 12.5px; color: var(--muted-2); padding: 10px 0 2px; border-top: 1px dashed var(--line); margin-top: 4px; }

/* ---------- BENTO-STYLE PAGE TEASER ---------- */
.teaser-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .teaser-row { grid-template-columns: 1fr; } }
.mini-card { background: var(--swamp-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.mini-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }

/* ---------- ABOUT PAGE ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.prose p { color: var(--muted); font-size: 15.5px; margin: 0 0 1.1rem; }
.prose strong { color: var(--cream); }
.contact-card { background: var(--swamp-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; position: sticky; top: calc(var(--nav-h) + 24px); }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.contact-card p { color: var(--muted); font-size: 14px; margin: 0 0 1.25rem; }
.process-list { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.process-list li { display: flex; gap: 14px; }
.process-list .step-num { font-family: var(--font-display); font-size: 13px; color: var(--gold); border: 1px solid var(--line-strong); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.process-list .step-body h4 { font-size: 14.5px; color: var(--cream); margin-bottom: 3px; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 600; }
.process-list .step-body p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- NOTE / FOOTER ---------- */
.note { font-size: 13px; color: var(--muted); }
footer { text-align: center; padding: 4rem 1.5rem 5rem; border-top: 1px solid var(--line); margin-top: 3rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--cream); }
footer .credit { font-size: 13px; color: var(--muted); margin-bottom: 2.5rem; }
.taunt-wrap { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.taunt-wrap.show { opacity: 1; transform: translateY(0); }
.taunt { font-family: var(--font-taunt); font-size: clamp(2rem, 8vw, 3.6rem); color: #782F40; -webkit-text-stroke: 1.5px var(--gold-light); letter-spacing: 0.02em; }
.taunt-sub { font-size: 12px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }
.spear { margin: 1.25rem auto 0; display: block; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.show { opacity: 1; transform: translateY(0); }

/* ---------- MEMBERSHIP BADGE ---------- */
.member-badge {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gator-orange);
  background: rgba(250,70,22,0.1);
  border: 1px solid rgba(250,70,22,0.4);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.member-badge:hover { background: rgba(250,70,22,0.18); }
.member-badge.is-member { color: var(--gold); background: rgba(201,168,118,0.12); border-color: rgba(201,168,118,0.45); }

/* ---------- PAYWALL ---------- */
.paywall-wrap { position: relative; margin-top: 14px; border-radius: var(--radius-lg); overflow: hidden; }
.paywall-locked { filter: blur(6px); opacity: 0.6; pointer-events: none; user-select: none; }
.paywall-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--swamp) 78%);
  pointer-events: none;
}
.paywall-cta {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
  width: min(420px, 92%);
  background: var(--swamp-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.paywall-cta .paywall-lock { width: 26px; height: 26px; color: var(--gator-orange); margin: 0 auto 10px; }
.paywall-cta h3 { font-size: 1.05rem; margin-bottom: 6px; }
.paywall-cta p { font-size: 13px; color: var(--muted); margin: 0 0 1.25rem; line-height: 1.5; }
.paywall-price { color: var(--swamp); }

/* table variant: rows in the locked <tbody> get blurred as a group */
.table-scroll { position: relative; }
table.rankings tbody.paywall-locked { filter: blur(6px); opacity: 0.6; pointer-events: none; user-select: none; }

/* ---------- UPGRADE MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7,26,46,0.72);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  background: var(--swamp-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-md);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--cream); border-color: var(--cream); }
.modal-card h3 { font-size: 1.4rem; margin: 0.75rem 0 1rem; }
.modal-feature-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.modal-feature-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--cream); }
.modal-feature-list li svg { width: 16px; height: 16px; color: var(--green-light); flex-shrink: 0; }
.modal-note { font-size: 12px; color: var(--muted-2); margin: 1rem 0 0; line-height: 1.5; }
.modal-cancel-member { margin-top: 0.75rem; }

/* ---------- RANKINGS HUB TABS ---------- */
.tab-bar { display: flex; gap: 0; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; }
.tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  padding: 12px 4px; margin-right: 28px;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.tab-btn:hover { color: var(--cream); }
.tab-btn[aria-selected="true"] { color: var(--cream); border-bottom-color: var(--gator-orange); }
.tab-panel[hidden] { display: none; }

/* ---------- POWER RANKINGS ---------- */
.power-rank-list { display: flex; flex-direction: column; gap: 10px; }
.power-rank-row {
  display: flex; align-items: center; gap: 18px;
  background: var(--swamp-2); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 14px 20px;
}
.power-rank-row .rank-num { font-size: 20px; min-width: 32px; flex-shrink: 0; }
.power-rank-row .prr-team { font-weight: 600; font-size: 15px; color: var(--cream); min-width: 150px; flex-shrink: 0; }
.power-rank-row .prr-blurb { font-size: 13.5px; color: var(--muted); }
.power-rank-row.is-florida { border-color: rgba(250,70,22,0.5); background: linear-gradient(90deg, rgba(250,70,22,0.1), var(--swamp-2) 55%); }
.power-rank-row.is-florida .prr-team { color: var(--gator-orange-light); }
@media (max-width: 600px) {
  .power-rank-row { flex-wrap: wrap; }
  .power-rank-row .prr-blurb { width: 100%; }
}

.conf-tag { font-size: 11px; color: var(--muted); }

/* ---------- BIOGRAPHIES ---------- */
.bio-article { background: var(--swamp-2); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 1.25rem; overflow: hidden; transition: border-color var(--dur-fast) var(--ease); }
.bio-article:hover { border-color: var(--line-strong); }
.bio-article-head { all: unset; display: block; width: 100%; box-sizing: border-box; padding: 1.75rem 1.75rem 1.5rem; cursor: pointer; }
.bio-kicker { font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gator-orange-light); margin-bottom: 10px; }
.bio-headline { font-size: clamp(1.3rem, 3vw, 1.65rem); text-transform: none; letter-spacing: 0; line-height: 1.2; margin-bottom: 10px; }
.bio-teaser { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.bio-meta { display: flex; align-items: center; gap: 10px; margin-top: 1.1rem; }
.bio-meta-name { font-size: 13px; color: var(--muted); font-family: var(--font-display); letter-spacing: 0.03em; }
.bio-body { display: none; padding: 0 1.75rem 1.75rem; border-top: 1px solid var(--line); }
.bio-article.open .bio-body { display: block; padding-top: 1.5rem; }
.bio-body p { color: var(--cream); font-size: 15.5px; line-height: 1.75; margin: 0 0 1.15rem; }

/* ---------- RANKINGS SIDEBAR ---------- */
.rankings-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.rankings-sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: calc(var(--nav-h) + 24px); }
.side-card { background: var(--swamp-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.side-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.side-card-head h3 { font-size: 1rem; }
.side-card-head .btn-link { font-size: 11px; background: none; border: none; cursor: pointer; }
.side-rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-rank-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.side-rank-list li:last-child { border-bottom: none; }
.side-rank-list .srl-num { font-family: var(--font-mono); color: var(--gold); font-size: 12px; min-width: 20px; flex-shrink: 0; }
.side-rank-list .srl-team { color: var(--cream); font-weight: 500; }
.side-rank-list li.is-florida .srl-team { color: var(--gator-orange-light); }

@media (max-width: 980px) {
  .rankings-layout { grid-template-columns: 1fr; }
  .rankings-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .rankings-sidebar .side-card { flex: 1; min-width: 260px; }
}
