/* ═══════════════════════════════════════════
   ISSAQUAH SWINGERS — 2026 LEAGUE HUB
   Premium Sports Analytics Dark Theme v2
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0a0c12;
  --bg-subtle: #0e1018;
  --surface: #141722;
  --surface2: #1c2030;
  --surface3: #242838;
  --border: #262b3d;
  --border-light: #323752;
  --accent: #4f8ef7;
  --accent-dim: rgba(79, 142, 247, .12);
  --accent2: #f7c948;
  --accent2-dim: rgba(247, 201, 72, .10);
  --green: #3ecf8e;
  --green-dim: rgba(62, 207, 142, .10);
  --red: #f44;
  --red-dim: rgba(255, 68, 68, .10);
  --text: #e8eaf0;
  --text-secondary: #b0b8cc;
  --muted: #6e7891;
  --font-display: 'Barlow Condensed', 'Avenir Next', 'Avenir', sans-serif;
  --font-body: 'Inter', 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Menlo', 'Consolas', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, .25), 0 1px 3px rgba(0, 0, 0, .15);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .2);
  --shadow-glow-green: 0 0 20px rgba(62, 207, 142, .2), 0 0 40px rgba(62, 207, 142, .05);
  --shadow-glow-blue: 0 0 20px rgba(79, 142, 247, .2), 0 0 40px rgba(79, 142, 247, .05);
  --shadow-glow-gold: 0 0 20px rgba(247, 201, 72, .2), 0 0 40px rgba(247, 201, 72, .05);
  --transition-fast: .15s ease;
  --transition-med: .25s ease;
  --transition-slow: .4s cubic-bezier(.16, 1, .3, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* ── NAVIGATION ── */
nav {
  background: var(--bg);
  background: rgba(10, 12, 18, .92);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}
/* Prevent overscroll bleed-through above sticky nav on mobile */
nav::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: -1;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent2);
  letter-spacing: .3px;
  margin-right: 2.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-logo span { color: var(--text); font-weight: 600; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  transition: color var(--transition-fast), background var(--transition-fast);
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition-med);
  border-radius: 1px;
}
nav > .nav-links > a:hover { color: var(--text); }
nav > .nav-links > a:hover::after { transform: scaleX(1); }
nav > .nav-links > a.active { color: var(--text); }
nav > .nav-links > a.active::after { transform: scaleX(1); }
/* Dropdown menu links should never show the nav underline */
.nav-dropdown-menu a::after { content: none !important; }
.nav-sep {
  width: 1px;
  height: 20px;
  background: var(--border-light);
  margin: 0 .5rem;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  background: linear-gradient(135deg, var(--accent), #6ba3ff);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(79, 142, 247, .3);
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 2rem 4.5rem;
  text-align: center;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(79, 142, 247, .1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 30% 100%, rgba(247, 201, 72, .05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 100%, rgba(62, 207, 142, .05) 0%, transparent 60%),
    /* Diagonal grid — thicker lines with soft fade for glassy depth */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 29px,
      rgba(255, 255, 255, .025) 29px,
      rgba(255, 255, 255, .04) 30.5px,
      rgba(255, 255, 255, .025) 32px,
      transparent 32px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 29px,
      rgba(255, 255, 255, .025) 29px,
      rgba(255, 255, 255, .04) 30.5px,
      rgba(255, 255, 255, .025) 32px,
      transparent 32px
    );
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}
/* Baseball diamond SVG watermark */
.hero-content { position: relative; z-index: 1; }
.hero-content::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 220px;
  height: 220px;
  border: 2px solid rgba(255, 255, 255, .04);
  border-radius: 8px;
  pointer-events: none;
}
/* Noise grain overlay */
.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(79, 142, 247, .2);
  margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.8); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: .5rem;
  text-transform: uppercase;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent2), #ffe08a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-top: .75rem;
  font-weight: 400;
}
.hero-sub .sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-light);
  vertical-align: middle;
  margin: 0 .75rem;
}

/* ── CONTAINER ── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

/* ── SECTION TITLES ── */
.section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.section-title .section-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  color: var(--accent);
}
.section-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent 80%);
  margin-left: .5rem;
}

/* ── SECTION SPACING ── */
.section { margin-top: 4rem; }

/* ── STAT STRIP ── */
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2.5rem;
}
.strip-cell {
  background: var(--surface);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: background var(--transition-fast);
}
.strip-cell:hover { background: var(--surface2); }
.strip-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.5px;
}
.strip-val.green { color: var(--green); }
.strip-val.blue { color: var(--accent); }
.strip-val.yellow { color: var(--accent2); }
.strip-val.red { color: var(--red); }
.strip-lbl {
  font-size: .68rem;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-med), box-shadow var(--transition-med);
}
.card:hover {
  border-color: var(--border-light);
}
.card-title {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.card-title .card-icon { font-size: 1rem; }

/* ── TEAM GRADES GRID ── */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-slow), border-color var(--transition-med), box-shadow var(--transition-med);
  box-shadow: var(--shadow-card);
}
.team-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-hover);
}

/* Team Card Header */
.team-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.team-pick {
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: .95rem;
  color: var(--muted);
  flex-shrink: 0;
}
.team-pick.pick1 {
  background: rgba(255, 215, 0, .12);
  color: #ffd700;
  border-color: rgba(255, 215, 0, .3);
  box-shadow: 0 0 12px rgba(255, 215, 0, .1);
}
.team-pick.pick2 {
  background: rgba(192, 192, 192, .12);
  color: #c0c0c0;
  border-color: rgba(192, 192, 192, .3);
}
.team-pick.pick3 {
  background: rgba(205, 127, 50, .12);
  color: #cd7f32;
  border-color: rgba(205, 127, 50, .3);
}
.team-info { flex: 1; min-width: 0; }
.team-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -.2px;
}
.team-name.featured-name { color: var(--accent2); }
.team-manager {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 3px;
}

/* Grade Badge — the centerpiece */
.grade-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}
.team-card:hover .grade-badge { transform: scale(1.08); }
.grade-A-plus {
  background: linear-gradient(135deg, rgba(62, 207, 142, .2), rgba(62, 207, 142, .1));
  color: #3ecf8e;
  border: 2px solid #3ecf8e;
  box-shadow: var(--shadow-glow-green);
}
.grade-A {
  background: linear-gradient(135deg, rgba(62, 207, 142, .18), rgba(62, 207, 142, .08));
  color: #3ecf8e;
  border: 2px solid rgba(62, 207, 142, .6);
  box-shadow: 0 0 16px rgba(62, 207, 142, .15);
}
.grade-A-minus {
  background: linear-gradient(135deg, rgba(62, 207, 142, .12), rgba(62, 207, 142, .05));
  color: #5dd5a0;
  border: 2px solid rgba(62, 207, 142, .4);
  box-shadow: 0 0 12px rgba(62, 207, 142, .1);
}
.grade-B-plus {
  background: linear-gradient(135deg, rgba(79, 142, 247, .18), rgba(79, 142, 247, .08));
  color: var(--accent);
  border: 2px solid rgba(79, 142, 247, .5);
  box-shadow: 0 0 12px rgba(79, 142, 247, .12);
}
.grade-B {
  background: linear-gradient(135deg, rgba(79, 142, 247, .12), rgba(79, 142, 247, .05));
  color: var(--accent);
  border: 2px solid rgba(79, 142, 247, .35);
}
.grade-B-minus {
  background: linear-gradient(135deg, rgba(79, 142, 247, .1), rgba(79, 142, 247, .04));
  color: #7aaaf8;
  border: 2px solid rgba(79, 142, 247, .25);
}
.grade-C-plus {
  background: linear-gradient(135deg, rgba(247, 201, 72, .12), rgba(247, 201, 72, .05));
  color: var(--accent2);
  border: 2px solid rgba(247, 201, 72, .35);
}
.grade-C {
  background: linear-gradient(135deg, rgba(247, 201, 72, .1), rgba(247, 201, 72, .04));
  color: var(--accent2);
  border: 2px solid rgba(247, 201, 72, .25);
}
.grade-D {
  background: linear-gradient(135deg, rgba(244, 68, 68, .12), rgba(244, 68, 68, .05));
  color: var(--red);
  border: 2px solid rgba(244, 68, 68, .25);
}

/* Grade badge in standalone / table context */
.grade-badge-sm {
  width: 38px;
  height: 38px;
  font-size: 1rem;
}

/* Team Card Body */
.team-body { padding: 1.25rem 1.5rem; }
.team-analysis {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.team-analysis strong { color: var(--text); }
.team-strengths, .team-weaknesses {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: .6rem;
}
.tag {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .3px;
}
.tag-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(62, 207, 142, .15); }
.tag-red { background: var(--red-dim); color: #f77; border: 1px solid rgba(255, 68, 68, .12); }
.tag-blue { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(79, 142, 247, .15); }
.tag-yellow { background: var(--accent2-dim); color: var(--accent2); border: 1px solid rgba(247, 201, 72, .15); }

/* ── PROJECTED LINEUP ── */
.lineup-section {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  padding-bottom: .75rem;
  margin-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.lineup-group {
  flex: 1;
  min-width: 140px;
}
.lineup-group-label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
  padding-bottom: .2rem;
  border-bottom: 1px solid var(--border);
}
.lineup-slot {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .18rem 0;
  font-size: .78rem;
}
.lineup-pos-tag {
  background: var(--surface2);
  border-radius: 3px;
  padding: 0 5px;
  font-size: .62rem;
  font-weight: 800;
  color: var(--muted);
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}
.lineup-player {
  flex: 1;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lineup-round {
  font-size: .62rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}
.lineup-bench-label {
  width: 100%;
  font-size: .68rem;
  color: var(--muted);
  text-align: center;
  padding-top: .3rem;
}

/* ── ROSTER TOGGLE ── */
.team-roster-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0 .4rem;
  margin-top: .6rem;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition-fast);
}
.team-roster-toggle:hover { color: var(--accent2); }
.roster-chevron {
  font-size: .6rem;
  transition: transform .25s ease;
}
.team-roster-toggle.open .roster-chevron { transform: rotate(180deg); }

/* ── PICKS LIST ── */
.team-picks-list { list-style: none; max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.team-picks-list.open { max-height: 1600px; }
.team-picks-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.team-picks-list li:last-child { border-bottom: none; }
.pick-round { font-size: .7rem; font-weight: 700; color: var(--muted); width: 28px; text-align: right; flex-shrink: 0; }
.pick-pos {
  background: var(--surface2);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}
.pick-pos.pos-sp { color: #f7a948; }
.pick-pos.pos-rp { color: #e07bf0; }
.pick-pos.pos-c { color: #3ecf8e; }
.pick-pos.pos-ss { color: var(--accent); }
.pick-pos.pos-of { color: #ff8f50; }
.pick-name { flex: 1; color: var(--text); }
.pick-cat { font-size: .7rem; color: var(--muted); margin-left: auto; }

/* ── INSIGHT ROWS ── */
.insight-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  transition: background var(--transition-fast);
}
.insight-row:last-child { border-bottom: none; }
.insight-row:hover { background: rgba(255, 255, 255, .02); }
.insight-icon { font-size: 1.1rem; flex-shrink: 0; width: 24px; text-align: center; }
.insight-label { color: var(--muted); font-size: .78rem; margin-top: 2px; }
.insight-val { font-weight: 700; }
.arrow-up { color: var(--green); }
.arrow-down { color: var(--red); }
.arrow-same { color: var(--accent2); }

/* ── STANDINGS TABLE ── */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.standings-table th {
  padding: .65rem .75rem;
  text-align: left;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.standings-table td {
  padding: .6rem .75rem;
  border-bottom: 1px solid rgba(38, 43, 61, .6);
  white-space: nowrap;
}
.standings-table tr:last-child td { border-bottom: none; }
.standings-table tbody tr {
  transition: background var(--transition-fast);
}
.standings-table tbody tr:hover { background: rgba(255, 255, 255, .02); }
.standings-table tr.highlight td { background: rgba(247, 201, 72, .04); }

/* Playoff cutline in projected standings */
.standings-table tr.cutline td {
  border-bottom: 2px dashed rgba(255, 68, 68, .35);
}
.standings-table tr.below-cut {
  opacity: .5;
}
.standings-table tr.below-cut:hover {
  opacity: .75;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: .78rem;
}
.rank-1 { background: rgba(255, 215, 0, .15); color: #ffd700; }
.rank-2 { background: rgba(192, 192, 192, .15); color: #c0c0c0; }
.rank-3 { background: rgba(205, 127, 50, .15); color: #cd7f32; }

/* ── PLAYOFF BRACKET ── */
.bracket-container {
  position: relative;
  width: 100%;
  overflow-x: auto;
}
.bracket {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
  min-width: 700px;
  padding: 1.5rem 0;
}
.bracket-round {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 .75rem;
}
.bracket-round-label {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  text-align: center;
  margin-bottom: .75rem;
}
.bracket-matchup {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 200px;
}
.bracket-team {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  font-size: .82rem;
  font-weight: 600;
  transition: background var(--transition-fast);
}
.bracket-team + .bracket-team {
  border-top: 1px solid var(--border);
}
.bracket-team.winner {
  background: var(--green-dim);
  color: var(--green);
  font-weight: 800;
}
.bracket-team .seed {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 800;
  color: var(--muted);
  width: 18px;
  flex-shrink: 0;
}
.bracket-team .team-label { flex: 1; }
.bracket-team .score {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 800;
  color: var(--muted);
}
.bracket-team.winner .score { color: var(--green); }

.bracket-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32px;
  position: relative;
}
.bracket-connector svg {
  width: 32px;
  color: var(--border-light);
}

/* Championship matchup */
.bracket-matchup.championship {
  border: 2px solid var(--green);
  box-shadow: var(--shadow-glow-green);
}
.bracket-matchup.championship .bracket-team.winner {
  background: rgba(62, 207, 142, .15);
}
.champion-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .4rem;
  background: rgba(62, 207, 142, .08);
  font-size: .72rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Bye round display */
.bracket-bye {
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: .65rem .75rem;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
}
.bracket-bye .seed {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 800;
  color: var(--accent);
  width: 18px;
  flex-shrink: 0;
}
.bracket-bye .team-label {
  font-weight: 700;
  color: var(--text-secondary);
}
.bracket-bye .bye-label {
  margin-left: auto;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ── METHODOLOGY CARD ── */
.methodology-text {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── STORYLINES ── */
.storyline {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.storyline strong { color: var(--text); }
.storyline p + p { margin-top: 1rem; }

/* ── NARRATIVES ── */
.narrative-text {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.narrative-text strong { color: var(--text); }

/* ── ROSTER GRID ── */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.roster-slot {
  background: var(--surface2);
  border-radius: var(--radius-sm);
  padding: .6rem .8rem;
  border-left: 3px solid var(--border);
}
.roster-slot.slot-bat { border-left-color: var(--accent2); }
.roster-slot.slot-pitch { border-left-color: var(--accent); }
.roster-slot.slot-rp { border-left-color: #e07bf0; }
.slot-label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.slot-player { font-weight: 700; font-size: .88rem; margin-top: 2px; }
.slot-round { font-size: .72rem; color: var(--muted); }
.slot-note { font-size: .72rem; color: var(--accent2); font-style: italic; margin-top: 2px; }

/* ── COMPARISON BAR ── */
.compare-bar { display: flex; align-items: center; gap: .5rem; margin: .5rem 0; }
.compare-label { width: 60px; font-size: .75rem; color: var(--muted); text-align: right; }
.compare-track { flex: 1; height: 6px; background: var(--surface2); border-radius: 3px; position: relative; }
.compare-fill { height: 6px; border-radius: 3px; transition: width .8s ease; }

/* ── LEAGUE SETTINGS ── */
.settings-table { width: 100%; border-collapse: collapse; }
.settings-table td {
  padding: .55rem .75rem;
  border-bottom: 1px solid rgba(38, 43, 61, .6);
  font-size: .88rem;
}
.settings-table tr:last-child td { border-bottom: none; }
.settings-table td:first-child {
  color: var(--muted);
  font-weight: 500;
  width: 120px;
}
.settings-table td:last-child {
  font-weight: 600;
}

/* ── TABS ── */
.tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: all var(--transition-fast);
  letter-spacing: .3px;
}
.tab.active, .tab:hover {
  background: var(--surface2);
  color: var(--text);
  border-color: var(--accent);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2.5rem 2rem;
  color: var(--muted);
  font-size: .8rem;
  margin-top: 5rem;
  background: var(--bg-subtle);
}
footer p + p { margin-top: .4rem; }
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── SCROLL REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: .06s; }
.stagger-children .reveal:nth-child(3) { transition-delay: .12s; }
.stagger-children .reveal:nth-child(4) { transition-delay: .18s; }
.stagger-children .reveal:nth-child(5) { transition-delay: .24s; }
.stagger-children .reveal:nth-child(6) { transition-delay: .3s; }
.stagger-children .reveal:nth-child(7) { transition-delay: .36s; }
.stagger-children .reveal:nth-child(8) { transition-delay: .42s; }
.stagger-children .reveal:nth-child(9) { transition-delay: .48s; }
.stagger-children .reveal:nth-child(10) { transition-delay: .54s; }

/* ── MOBILE HAMBURGER ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: .25rem;
  line-height: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .teams-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
}

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip-cell:nth-child(4), .strip-cell:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-toggle { display: flex; }
  /* Drawer nav is handled by REDESIGN v2 section below */
}

@media (max-width: 640px) {
  .hero { padding: 3rem 1rem 2rem; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: .88rem; }
  .container { padding: 1.5rem 1rem; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .teams-grid { grid-template-columns: 1fr; }
  .bracket { min-width: 520px; font-size: .78rem; }
  .section-title { font-size: 1.2rem; }
  .team-header { padding: 1rem; }
  .team-body { padding: 1rem; }
}

@media (max-width: 480px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip-cell:last-child { grid-column: span 2; }
  .hero h1 { font-size: 1.7rem; }
}


/* ═══════════════════════════════════════════
   LEAGUE HUB — HOME + WEEK PAGE STYLES
   ═══════════════════════════════════════════ */

/* ── Nav as link (home page) ── */
a.nav-logo {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent2);
  letter-spacing: .3px;
  margin-right: 2.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .5rem;
}
a.nav-logo span { color: var(--text); font-weight: 600; }
a.nav-logo:hover { color: var(--accent2); opacity: .85; }

/* ── Nav dropdown ── */
.nav-dropdown { position: relative; height: 100%; display: flex; align-items: center; }
.nav-dropdown-toggle { cursor: pointer; }
/* Nuke the pseudo-element entirely for all dropdown toggles.
   content:none is more fundamental than display:none — nothing can override it
   except a more specific rule with content:'' (see .active rule at end of file) */
.nav-dropdown-toggle::after { content: none !important; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .4rem 0;
  min-width: 200px;
  z-index: 200;
  box-shadow: var(--shadow-hover);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: .5rem 1rem;
  font-size: .82rem;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active {
  color: var(--accent);
  background: var(--accent-dim);
}
nav a.muted { color: var(--muted); }

/* ── Hero variants ── */
.hero-home .hero-content h1 span {
  background: linear-gradient(135deg, var(--accent), #6ba3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-week .hero-content h1 span {
  background: linear-gradient(135deg, var(--accent2), #ffe08a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.week-badge { background: rgba(247, 201, 72, .15); color: var(--accent2) !important; border-color: rgba(247, 201, 72, .3) !important; }

/* ── Standings (live) ── */
.standings-live td:first-child { font-weight: 700; color: var(--accent2); }
.standings-live tr:nth-child(6) td { border-top: 1px dashed var(--border-light); }
.rank-cell { font-weight: 700 !important; color: var(--accent2) !important; }
.muted-cell { color: var(--muted) !important; font-size: .82rem; }
.table-footer { padding: .6rem 1rem .4rem; border-top: 1px solid var(--border); }
.table-footer .muted { font-size: .78rem; color: var(--muted); }

/* ── Matchups grid (home page) ── */
.matchups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.matchups-grid > .matchup-card:first-child {
  grid-column: 1 / -1;
}
@media (max-width: 640px)  { .matchups-grid { grid-template-columns: 1fr; } }

.matchup-card {
  background:
    linear-gradient(135deg, rgba(79, 142, 247, .04) 0%, transparent 40%),
    linear-gradient(225deg, rgba(247, 201, 72, .03) 0%, transparent 40%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: var(--transition-med);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.matchup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: .6;
}
/* Bigger avatars inside matchup cards specifically */
.matchup-card .headshot-sm {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.matchup-card:hover {
  border-color: rgba(79, 142, 247, .3);
  box-shadow: var(--shadow-hover), 0 0 50px rgba(79, 142, 247, .06);
  transform: translateY(-3px);
}
.matchup-card:hover::before { opacity: 1; }
.matchup-meta {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent2);
  padding: .75rem 1.2rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.matchup-meta::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent2), transparent);
  opacity: .3;
}
/* Horizontal team layout — teams flanking VS badge */
.matchup-teams {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 1rem 1.2rem .6rem;
  position: relative;
}
.matchup-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .4rem;
  flex: 1;
  min-width: 0;
  padding: .3rem .5rem;
}
.matchup-team + .matchup-team {
  border-top: none;
}
/* Vertical divider line between teams */
.matchup-teams::before {
  content: '';
  order: 1;
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}
/* VS badge — sits on the divider line */
.matchup-teams::after {
  content: 'VS';
  order: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
/* First team left, second team right */
.matchup-team:first-child { order: 0; }
.matchup-team:last-child  { order: 2; }
.matchup-team-info { flex: 1; min-width: 0; width: 100%; }
.matchup-team-name {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  word-break: break-word;
}
/* Larger team names inside the homepage matchup grid */
.matchup-card .matchup-team-name {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.matchup-record { font-size: .74rem; color: var(--muted); margin-top: .1rem; font-family: var(--font-mono); }
.matchup-vs-divider {
  display: none;
}
.matchup-vs {
  font-size: .65rem; font-weight: 800; color: var(--muted);
  letter-spacing: .5px; padding: .15rem .4rem;
  background: var(--surface2); border-radius: 4px; flex-shrink: 0;
  text-transform: uppercase;
}
.matchup-preview-link {
  padding: .65rem 1.2rem .85rem;
  margin-top: auto;
}
.matchup-preview-link a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--accent);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3px;
  padding: .35rem .75rem;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(79, 142, 247, .15);
  transition: var(--transition-fast);
}
.matchup-preview-link a:hover {
  background: rgba(79, 142, 247, .2);
  border-color: rgba(79, 142, 247, .3);
  text-decoration: none;
}

/* ── Transactions ── */
.transactions-list { display: flex; flex-direction: column; gap: .6rem; }
.tx-row { display: flex; gap: .8rem; align-items: baseline; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.tx-row:last-child { border-bottom: none; }
.tx-date { color: var(--muted); font-size: .78rem; white-space: nowrap; min-width: 50px; }
.tx-type { font-size: .72rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: .15rem .4rem; border-radius: 4px; white-space: nowrap; }
.tx-type-add { background: var(--green-dim); color: var(--green); }
.tx-type-drop { background: var(--red-dim); color: var(--red); }
.tx-type-trade { background: var(--accent-dim); color: var(--accent); }
.tx-player { font-weight: 600; }
.tx-team { color: var(--muted); font-size: .8rem; }
.tx-empty { color: var(--muted); font-style: italic; padding: .5rem 0; }

/* ── Week archive grid ── */
.weeks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: .75rem;
}
.week-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .85rem .75rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition-fast);
  cursor: pointer;
}
a.week-tile:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.week-tile-active {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}
.week-tile-locked {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}
.playoff-tile { color: var(--accent2) !important; }
.week-tile-dates { font-size: .7rem; color: var(--muted); margin-top: .25rem; font-weight: 400; }
.week-tile-status { font-size: .68rem; margin-top: .3rem; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.status-preview { color: var(--accent); }
.status-recap { color: var(--green); }
.status-live { color: var(--accent2); }

/* ── Week detail page ── */
.subsection-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-top: .5rem;
}
.matchup-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: var(--transition-med);
}
.matchup-detail-card:hover { border-color: var(--border-light); }
.matchup-detail-header {
  padding: 1rem 1.4rem .8rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.matchup-detail-teams {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .3rem;
  flex-wrap: wrap;
}
/* Bigger headshots inside matchup detail cards */
.matchup-detail-team-block .headshot {
  width: 72px;
  height: 72px;
  border-width: 2px;
  border-color: var(--border-light);
}

.matchup-detail-team { font-size: 1.05rem; font-weight: 800; }
.matchup-detail-vs { font-size: .78rem; color: var(--muted); font-weight: 700; letter-spacing: .4px; }
.matchup-detail-meta { font-size: .78rem; color: var(--muted); }
.matchup-detail-body { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; padding: 1.2rem 1.4rem; }
@media (max-width: 640px) { .matchup-detail-body { grid-template-columns: 1fr; } }
.matchup-detail-analysis p { margin-bottom: .75rem; font-size: .88rem; line-height: 1.55; color: var(--text-secondary); }
.matchup-detail-analysis p:last-child { margin-bottom: 0; }
.matchup-detail-cats { min-width: 220px; }
.cat-row { display: flex; justify-content: space-between; align-items: center; padding: .35rem 0; border-bottom: 1px solid var(--border); font-size: .8rem; gap: .8rem; }
.cat-row:last-child { border-bottom: none; }
.cat-name { color: var(--text-secondary); }
.cat-edge { font-size: .72rem; font-weight: 700; letter-spacing: .3px; padding: .15rem .45rem; border-radius: 4px; white-space: nowrap; }
.edge-away { background: var(--accent-dim); color: var(--accent); }
.edge-home { background: var(--green-dim); color: var(--green); }
.edge-even { background: var(--surface3); color: var(--muted); }
.matchup-prediction {
  padding: .85rem 1.4rem;
  border-top: 1px solid var(--border);
  background: rgba(247, 201, 72, .04);
  font-size: .85rem;
}
.prediction-label { font-weight: 800; color: var(--accent2); margin-right: .5rem; }
.prediction-text { color: var(--text-secondary); }

/* ── Embedded live score strip (mdc-live) ── */
.mdc-live {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(79,142,247,.05) 0%, transparent 60%);
  padding: .65rem 1.4rem .5rem;
}
.mdc-live-pending {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 1.4rem;
}
.mdc-live-note {
  font-size: .75rem;
  color: var(--muted);
}
.mdc-live-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .45rem;
  flex-wrap: wrap;
}
.mdc-live-status {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: .15rem .5rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.status-live    { background: rgba(255,68,68,.15);  color: var(--red); }
.status-final   { background: var(--surface3);      color: var(--muted); }
.status-upcoming{ background: var(--accent-dim);    color: var(--accent); }

.mdc-score-block {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex: 1;
  flex-wrap: wrap;
}
.mdc-score-name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 1;
  min-width: 0;
}
.mdc-score-num {
  font-size: 1.15rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--muted);
  flex-shrink: 0;
}
.mdc-score-num.score-lead { color: var(--green); text-shadow: 0 0 10px rgba(62,207,142,.3); }
.mdc-score-dash { color: var(--border-light); font-size: .9rem; flex-shrink: 0; }
.mdc-updated {
  font-size: .65rem;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

/* Category rows inside the strip */
.mdc-cat-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
}
.mdc-cell {
  display: flex;
  align-items: center;
  gap: .2rem;
  flex: 1;
  padding: .28rem .3rem;
  border-right: 1px solid var(--border);
}
.mdc-cell:last-child { border-right: none; }
.mdc-cat {
  font-size: .6rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .3px;
  min-width: 2.1rem;
  flex-shrink: 0;
}
.mdc-val {
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}
.mdc-val.mdc-lead { color: var(--green); font-weight: 800; }
.mdc-sep {
  font-size: .65rem;
  color: var(--border-light);
  margin: 0 .1rem;
}

/* ── Matchup card roster ──────────────────────── */
.mdc-rost {
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.mdc-rost-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .55rem 1rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.mdc-rost-toggle:hover { color: var(--text); background: rgba(255,255,255,.03); }
.mdc-rost-chevron { font-size: .8rem; transition: none; }
.mdc-rost-body { display: none; padding: 0 1rem 1rem; }
.mdc-rost.open .mdc-rost-body { display: block; }
.mdc-rost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 680px) { .mdc-rost-grid { grid-template-columns: 1fr; } }
.mdc-rost-team-hdr {
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent2);
  padding: .35rem 0 .4rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mdc-rost-subhdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4rem 0 .2rem;
  margin-top: .3rem;
}
.mdc-rost-subhdr-lbl {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--muted);
  text-transform: uppercase;
}
.mdc-rost-stat-lbls { display: flex; }
.mdc-rost-stat-lbls span {
  font-size: .62rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  width: 34px;
  text-align: right;
  letter-spacing: .2px;
}
.mdc-rost-row {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem 0;
  border-bottom: 1px solid rgba(255,255,255,.03);
  min-height: 26px;
}
.mdc-rost-row-bench { opacity: .45; }
.mdc-rost-row-totals {
  border-top: 1px solid var(--border-light);
  border-bottom: 2px solid var(--border-light);
  margin-bottom: .3rem;
  background: rgba(255,255,255,.03);
}
.mdc-rost-row-totals .mdc-rost-name { color: var(--accent); font-size: .72rem; }
.mdc-rost-total { color: var(--text) !important; font-weight: 600; }
.mdc-rost-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface3);
}
.mdc-rost-img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  font-weight: 700;
  color: var(--muted);
}
.mdc-rost-slot {
  font-size: .64rem;
  font-weight: 700;
  color: var(--muted);
  width: 26px;
  flex-shrink: 0;
  text-align: center;
  text-transform: uppercase;
}
.mdc-rost-name {
  flex: 1;
  font-size: .76rem;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .25rem;
  min-width: 0;
}
.mdc-rost-mlb {
  font-size: .62rem;
  color: var(--muted);
  width: 26px;
  flex-shrink: 0;
  text-align: center;
  text-transform: uppercase;
}
.mdc-rost-badge {
  font-size: .58rem;
  font-weight: 700;
  padding: 1px 3px;
  border-radius: 3px;
  flex-shrink: 0;
}
.badge-il { background: var(--red-dim); color: var(--red); }
.badge-na { background: var(--surface3); color: var(--muted); }
.mdc-rost-stats { display: flex; flex-shrink: 0; }
.mdc-rost-stat {
  font-size: .7rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  width: 34px;
  text-align: right;
}

/* ── Sleeper + waiver ── */
.sleeper-content p { font-size: .85rem; color: var(--text-secondary); line-height: 1.5; }
.sleeper-player { font-size: 1.1rem; font-weight: 800; color: var(--accent2); margin-bottom: .2rem; }
.sleeper-team { font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
.waiver-list { display: flex; flex-direction: column; gap: .9rem; }
.waiver-item { padding-bottom: .9rem; border-bottom: 1px solid var(--border); }
.waiver-item:last-child { border-bottom: none; padding-bottom: 0; }
.waiver-name { font-weight: 700; font-size: .9rem; }
.waiver-pos { font-size: .72rem; font-weight: 700; color: var(--accent); background: var(--accent-dim); padding: .1rem .35rem; border-radius: 4px; margin-left: .4rem; }
.waiver-item p { font-size: .82rem; color: var(--text-secondary); margin-top: .3rem; }

/* ── Recap pending ── */
.recap-pending {
  text-align: center;
  padding: 2.5rem;
}
.recap-pending-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.recap-pending-text { color: var(--muted); font-size: .95rem; }

/* ── Recap content (auto-generated) ── */
.recap-final-score { font-size: 1.1rem; font-weight: 700; color: var(--green); }
.recap-matchup-row { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.recap-matchup-row:last-child { border-bottom: none; }
.recap-team-winner { font-weight: 700; }
.recap-team-loser { color: var(--text-secondary); }
.recap-score { font-family: var(--font-mono); font-size: .9rem; }
.callout-card {
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  font-size: .88rem;
}
.callout-win { background: var(--green-dim); border-left: 3px solid var(--green); }
.callout-choke { background: var(--red-dim); border-left: 3px solid var(--red); }
.callout-label { font-weight: 800; margin-bottom: .3rem; font-size: .78rem; letter-spacing: .5px; text-transform: uppercase; }
.callout-win .callout-label { color: var(--green); }
.callout-choke .callout-label { color: var(--red); }

/* ── Reveal animation (shared) ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }


/* ═══════════════════════════════════════════
   MANAGER HEADSHOTS
   ═══════════════════════════════════════════ */

.headshot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
  background: var(--surface3);
}
.headshot-sm {
  width: 28px;
  height: 28px;
}
.headshot-lg {
  width: 52px;
  height: 52px;
  border-width: 2px;
}
.headshot-xl {
  width: 72px;
  height: 72px;
  border-width: 3px;
  border-color: var(--accent-dim);
}

/* Standings table with headshots */
.standings-live .team-cell {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.standings-live .team-cell-name { line-height: 1.2; }

/* Matchup card team row — see .matchup-team in matchup section above */

/* Matchup detail header with headshots */
.matchup-detail-team-block {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.matchup-detail-team-block .matchup-detail-team {
  font-size: 1rem;
}


/* ═══════════════════════════════════════════
   TEAM PAGES
   ═══════════════════════════════════════════ */

/* ── Team hero ─────────────────────────────── */
.team-hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin: 1.25rem 0 .75rem;
}
.team-hero-info { text-align: left; }
.headshot-hero {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--accent2);
  box-shadow: 0 0 40px rgba(247, 201, 72, .3), 0 4px 20px rgba(0,0,0,.5);
  flex-shrink: 0;
}
.team-record-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 6px 18px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: .6rem;
  letter-spacing: .3px;
}
.team-record-badge .rank-tag {
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 12px;
  padding: 2px 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* ── Team profile card ─────────────────────── */
.team-profile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent2);
  border-radius: var(--radius-lg);
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  line-height: 1.82;
  color: var(--text-secondary);
  font-size: .97rem;
}
.team-profile p { margin-bottom: 1rem; }
.team-profile p:last-of-type { margin-bottom: 0; }
.team-profile strong { color: var(--text); font-weight: 700; }
.team-profile-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.team-profile-stat {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .65rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 120px;
}
.team-profile-stat-label {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--muted);
}
.team-profile-stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.2;
}

/* ── Roster ──────────────────────────────────── */
.roster-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 860px) {
  .roster-panels { grid-template-columns: 1fr; }
}

.roster-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.roster-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1.1rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.roster-panel-title {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.roster-panel-count {
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface3);
  border-radius: 10px;
  padding: 2px 8px;
}

.roster-divider {
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--muted);
  padding: .45rem 1.1rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.player-row {
  display: flex;
  align-items: center;
  padding: .7rem 1.1rem;
  border-bottom: 1px solid var(--border);
  gap: .85rem;
  transition: background var(--transition-fast);
}
.player-row:last-child { border-bottom: none; }
.player-row:hover { background: var(--surface2); }

.player-row-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface3);
  border: 1px solid var(--border);
}

.player-row-info {
  flex: 1;
  min-width: 0;
}
.player-row-name {
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.player-row-mlb {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: .1rem;
  font-family: var(--font-mono);
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: .4rem;
}
/* pos-badge is redundant inside player rows — position now shown next to name */
.player-row .pos-badge { display: none; }

.player-row-pos {
  color: var(--accent);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .3px;
  padding: .1rem .35rem;
  background: var(--accent-dim);
  border-radius: 3px;
}

.player-row-badges {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
.pos-badge {
  display: inline-block;
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.slot-badge {
  display: inline-block;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  line-height: 1.5;
}
.slot-badge.active  { background: var(--accent-dim); border: 1px solid rgba(79,142,247,.25); color: var(--accent); }
.slot-badge.bench   { background: var(--surface3);   border: 1px solid var(--border); color: var(--muted); }
.slot-badge.il      { background: var(--red-dim);    border: 1px solid rgba(255,68,68,.25); color: var(--red); }
.slot-badge.na      { background: var(--red-dim);    border: 1px solid rgba(255,68,68,.25); color: var(--red); }

.inj-badge {
  display: inline-block;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  line-height: 1.5;
}
.inj-badge.dtd { background: var(--accent2-dim); color: var(--accent2); border: 1px solid rgba(247,201,72,.25); }
.inj-badge.il  { background: var(--red-dim);     color: var(--red);     border: 1px solid rgba(255,68,68,.25); }

/* ── Team transactions ───────────────────────── */
.team-tx-list { display: flex; flex-direction: column; }
.team-tx-row {
  display: grid;
  grid-template-columns: 62px 54px 1fr auto;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: .87rem;
  transition: background var(--transition-fast);
}
.team-tx-row:last-child { border-bottom: none; }
.team-tx-row:hover { background: var(--surface2); }
.team-tx-date { color: var(--muted); font-size: .75rem; font-weight: 600; font-family: var(--font-mono); }
.team-tx-player { color: var(--text); font-weight: 600; }
.team-tx-meta { color: var(--muted); font-size: .78rem; text-align: right; }
.team-tx-empty { padding: 2rem; text-align: center; color: var(--muted); font-size: .92rem; }

/* ── Teams nav dropdown active state ─────────── */
.nav-dropdown-toggle.active { color: var(--text) !important; }
.nav-dropdown-toggle.active::after { content: '' !important; display: block !important; transform: scaleX(1) !important; }

/* ── Responsive hero ─────────────────────────── */
@media (max-width: 600px) {
  .team-hero-layout { flex-direction: column; text-align: center; gap: 1rem; }
  .team-hero-info { text-align: center; }
  .headshot-hero { width: 80px; height: 80px; }
}

/* ══════════════════════════════════════════
   MATCHUP CARD — CATEGORY SCORE TABLE
   (home page compact view)
   ══════════════════════════════════════════ */

.mc-tally {
  font-size: .88rem;
  font-weight: 800;
  color: var(--muted);
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-left: auto;
  padding: .15rem .45rem;
  border-radius: var(--radius-sm);
  background: var(--surface3);
}
.mc-tally-lead { color: var(--green); background: var(--green-dim); }

.mc-cats {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: .65rem 1rem .5rem;
}
.mc-cats-pending {
  color: var(--muted);
  font-size: .75rem;
  text-align: center;
  padding: .65rem;
}

.mc-score-tally {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: .55rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.mc-score-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--muted);
  font-family: var(--font-display);
  min-width: 1.6rem;
  text-align: center;
  letter-spacing: .5px;
}
.mc-score-num.mc-score-lead { color: var(--green); }
.mc-score-dash {
  color: var(--border-light);
  font-size: .85rem;
  font-weight: 300;
}

.mc-cat-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.mc-cat-row {
  display: grid;
  grid-template-columns: 1fr 2.2rem 1fr;
  align-items: center;
  padding: .25rem .3rem;
  border-radius: 4px;
}
.mc-cat-row:nth-child(odd) {
  background: rgba(255, 255, 255, .02);
}
.mc-cat-row:first-child { border-top: none; }
.mc-cat-name {
  text-align: center;
  font-size: .6rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.mc-cat-val {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  text-align: center;
}
.mc-cat-val.mc-cat-lead { color: var(--green); font-weight: 800; }
.mc-cat-row .mc-cat-val:first-child { text-align: right; padding-right: .2rem; }
.mc-cat-row .mc-cat-val:last-child  { text-align: left;  padding-left: .2rem; }


/* ══════════════════════════════════════════
   WEEK PAGE — LIVE SCOREBOARD
   ══════════════════════════════════════════ */

.ls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: .75rem;
}
.ls-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-fast);
}
.ls-card:hover { box-shadow: var(--shadow-hover); }
.ls-card.ls-motw {
  border-color: var(--accent2);
  box-shadow: 0 0 0 1px var(--accent2), var(--shadow-glow-gold);
}

.ls-header {
  display: flex;
  align-items: center;
  padding: .75rem 1rem;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.ls-team {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex: 1;
  min-width: 0;
}
.ls-team-right { flex-direction: row-reverse; text-align: right; }
.ls-team-name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.ls-score {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--muted);
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.ls-score.ls-score-lead {
  color: var(--green);
  text-shadow: 0 0 12px rgba(62, 207, 142, .35);
}
.ls-vs {
  font-size: .65rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  flex-shrink: 0;
}

.ls-cats { padding: .3rem 0; }
.ls-cat-row {
  display: grid;
  grid-template-columns: 1fr 3rem 1fr;
  align-items: center;
  padding: .22rem .9rem;
  border-bottom: 1px solid var(--border);
}
.ls-cat-row:last-child { border-bottom: none; }
.ls-cat-name {
  text-align: center;
  font-size: .65rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.ls-cat-val {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}
.ls-cat-val.ls-lead { color: var(--green); font-weight: 800; }
.ls-cat-row .ls-cat-val:first-child { text-align: right; padding-right: .35rem; }
.ls-cat-row .ls-cat-val:last-child  { text-align: left;  padding-left: .35rem; }
.ls-updated {
  text-align: right;
  font-size: .72rem;
  color: var(--muted);
  padding: .25rem .5rem 0;
}
@media (max-width: 700px) { .ls-grid { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════
   PLAYER HOVER TOOLTIP
   ══════════════════════════════════════════ */
.player-tooltip {
  position: absolute;
  top: 0; left: 0;
  width: 220px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
}
.player-tooltip.tip-visible {
  opacity: 1;
  transform: translateY(0);
}

.tip-inner {
  background: var(--surface2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.3);
  overflow: hidden;
}

/* ── Header ────────────────────────────── */
.tip-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
}
.tip-headshot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
  background: var(--surface3);
}
.tip-headshot-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface3);
  color: var(--muted);
  font-weight: 700;
  font-size: 1.1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}
.tip-header-info {
  flex: 1;
  min-width: 0;
}
.tip-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tip-meta {
  font-size: .73rem;
  color: var(--muted);
  margin-top: .15rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}

/* ── Divider ───────────────────────────── */
.tip-divider {
  height: 1px;
  background: var(--border);
}

/* ── Team Links ─────────────────────────
   Used by linkTeamNames() and teamLink() in app.js.
   Applied to any clickable team name across all pages.
   ──────────────────────────────────────── */
.team-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.team-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
/* Headshot+name blocks get a pointer so the whole area feels clickable */
.matchup-detail-team-block,
.matchup-team {
  cursor: pointer;
}
.matchup-detail-team-block:hover .matchup-detail-team,
.matchup-team:hover .matchup-team-name {
  color: var(--accent);
  transition: color var(--transition-fast);
}

/* ── Stats grid ────────────────────────── */
.tip-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 0;
  padding: .6rem .5rem;
}
.tip-stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .4rem .2rem;
}
.tip-stat-val {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-mono);
  line-height: 1.2;
}
.tip-stat-lbl {
  font-size: .62rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-top: .15rem;
}
.tip-no-stats {
  padding: .75rem 1rem;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}


/* ═══════════════════════════════════════════
   REDESIGN v2 — GLASS CARD HIGHLIGHTS
   ═══════════════════════════════════════════ */

/* Glass panel top highlight on all cards (not matchup-card — it has its own gradient top) */
.card,
.matchup-detail-card,
.team-card,
.ls-card {
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — HERO STATUS PILL
   Used by index.html for season status
   ═══════════════════════════════════════════ */

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green-dim);
  color: var(--green);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(62, 207, 142, .2);
  margin-top: 1.25rem;
}
.hero-status-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(62, 207, 142, .6);
}

/* ── Weekly Preview Banner ──────────────────── */
.preview-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(79, 142, 247, .25);
  background: linear-gradient(135deg, rgba(79, 142, 247, .08) 0%, rgba(62, 207, 142, .06) 100%);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, transform .15s;
  cursor: pointer;
}
.preview-banner:hover {
  border-color: rgba(79, 142, 247, .45);
  transform: translateY(-1px);
}
.preview-banner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 0% 50%, rgba(79, 142, 247, .1), transparent 70%);
  pointer-events: none;
}
.preview-banner-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.preview-banner-label {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .35rem;
}
.preview-banner-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.preview-banner-sub {
  font-size: .82rem;
  color: var(--text-dim);
  margin-top: .25rem;
  line-height: 1.4;
}
.preview-banner-arrow {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: .6;
  transition: opacity .25s, transform .25s;
  flex-shrink: 0;
}
.preview-banner:hover .preview-banner-arrow {
  opacity: 1;
  transform: translateX(4px);
}

@media (max-width: 599px) {
  .preview-banner {
    padding: 1rem 1.15rem;
    gap: 1rem;
  }
  .preview-banner-title {
    font-size: .95rem;
  }
  .preview-banner-sub {
    font-size: .78rem;
  }
}

/* ═══════════════════════════════════════════
   REDESIGN v3 — BROADCAST SCOREBOARD CARDS
   Classes used by generate_home.py: matchup-card
   ═══════════════════════════════════════════ */

.matchup-card {
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .25s ease;
}

/* Win probability bar — added by generate_home.py inside matchup-card */
.matchup-wp-bar {
  height: 3px;
  border-radius: 0;
  background: var(--surface3);
  overflow: hidden;
  margin: 0;
}
.matchup-wp-fill {
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, var(--accent), var(--green));
  transition: width .8s cubic-bezier(.16, 1, .3, 1);
}

/* Record badges on matchup cards */
.matchup-record-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface3);
  padding: 2px 8px;
  border-radius: 10px;
  font-family: var(--font-mono);
  margin-top: .15rem;
}

/* Predicted winner accent */
.matchup-card.matchup-winner {
  border-left: 3px solid var(--accent2);
}
.matchup-card.matchup-winner::before {
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  opacity: .8;
}

/* Featured card (first in grid) — bigger everything */
.matchups-grid > .matchup-card:first-child .matchup-teams {
  padding: 1.3rem 1.5rem .9rem;
}
.matchups-grid > .matchup-card:first-child .matchup-teams::before {
  height: 60px;
}
.matchups-grid > .matchup-card:first-child .matchup-team {
  gap: .5rem;
}
.matchups-grid > .matchup-card:first-child .headshot-sm {
  width: 64px;
  height: 64px;
}
.matchups-grid > .matchup-card:first-child .matchup-team-name {
  font-size: 1.15rem;
}
.matchups-grid > .matchup-card:first-child .matchup-teams::after {
  width: 36px;
  height: 36px;
  font-size: .65rem;
}
.matchups-grid > .matchup-card:first-child .mc-cat-rows {
  grid-template-columns: repeat(5, 1fr);
}
.matchups-grid > .matchup-card:first-child .mc-score-num {
  font-size: 1.6rem;
}
.matchups-grid > .matchup-card:first-child .matchup-preview-link {
  text-align: center;
}
@media (max-width: 640px) {
  .matchups-grid > .matchup-card:first-child .mc-cat-rows {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — CATEGORY EDGE PILL REDESIGN
   Classes used by generate_week.py: cat-row, cat-name, cat-edge, edge-away, edge-home, edge-even
   ═══════════════════════════════════════════ */

.cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem .6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .03);
  font-size: .82rem;
  gap: .8rem;
  border-radius: var(--radius-sm);
  transition: background .15s ease;
}
.cat-row:nth-child(even) {
  background: rgba(255, 255, 255, .02);
}
.cat-row:last-child {
  border-bottom: none;
}
.cat-row:hover {
  background: rgba(255, 255, 255, .04);
}
.cat-edge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .3px;
  padding: .2rem .65rem;
  border-radius: 12px;
  white-space: nowrap;
}
.edge-away {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(79, 142, 247, .2);
}
.edge-home {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(62, 207, 142, .2);
}
.edge-even {
  background: var(--surface3);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* Prediction banner at top of matchup detail card */
.matchup-prediction {
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(247, 201, 72, .06), rgba(247, 201, 72, .02));
  font-size: .88rem;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.prediction-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9rem;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: .5px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — STANDINGS ENHANCEMENTS
   Classes used by generate_home.py: standings-live, standings-table
   ═══════════════════════════════════════════ */

/* Zebra striping */
.standings-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .015);
}
.standings-table tbody tr:nth-child(even):hover {
  background: rgba(255, 255, 255, .035);
}

/* Playoff cutline with label */
.playoff-cutline {
  position: relative;
}
.playoff-cutline td {
  border-bottom: 2px dashed rgba(247, 201, 72, .35) !important;
}
.standings-table tr.playoff-cutline + tr td {
  padding-top: .75rem;
}
.playoff-line-label {
  display: block;
  text-align: center;
  font-size: .6rem;
  font-weight: 800;
  color: var(--accent2);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .35rem 0;
  background: var(--surface);
  position: relative;
}
.playoff-line-row td {
  padding: 0 !important;
  border-bottom: none !important;
  background: var(--surface);
}
.playoff-line-row:hover td {
  background: var(--surface) !important;
}

/* User's team highlight (The Buckner Boots — Michael) */
.standings-table tr.my-team td {
  background: rgba(79, 142, 247, .04);
}
.standings-table tr.my-team {
  position: relative;
}
.standings-table tr.my-team td:first-child {
  box-shadow: inset 3px 0 0 var(--accent);
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — TRANSACTIONS CARD-STYLE
   Classes used by generate_home.py: tx-row, tx-type, tx-type-add, tx-type-drop, tx-type-trade
   ═══════════════════════════════════════════ */

.transactions-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.tx-row {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .7rem 1rem;
  border-bottom: none;
  border-radius: var(--radius-md);
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: .85rem;
  transition: background .15s ease, border-color .15s ease;
}
.tx-row:last-child {
  border-bottom: none;
}
.tx-row:hover {
  background: var(--surface3);
  border-color: var(--border-light);
}
.tx-type {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 6px;
  white-space: nowrap;
  min-width: 42px;
  text-align: center;
}
/* Transaction type left-border accents */
.tx-row:has(.tx-type-add) {
  border-left: 3px solid var(--green);
}
.tx-row:has(.tx-type-drop) {
  border-left: 3px solid var(--red);
}
.tx-row:has(.tx-type-trade) {
  border-left: 3px solid var(--accent);
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — SKELETON SHIMMER
   ═══════════════════════════════════════════ */

.skeleton {
  background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
  color: transparent !important;
}
.skeleton * { visibility: hidden; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — HORIZONTAL SCROLL FADE
   Used on .table-wrapper for mobile
   ═══════════════════════════════════════════ */

.table-scroll-container {
  position: relative;
}
.table-scroll-container::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, var(--surface));
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.table-scroll-container.has-scroll::after {
  opacity: 1;
}

/* ═══════════════════════════════════════════
   TEAMS BOTTOM SHEET (mobile)
   ═══════════════════════════════════════════ */

.teams-sheet {
  display: none;
}
@media (max-width: 640px) {
  .teams-sheet {
    display: block;
    pointer-events: none;
  }
  .teams-sheet.open {
    pointer-events: auto;
  }
  .teams-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 199;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .teams-sheet.open .teams-sheet-backdrop {
    opacity: 1;
  }
  .teams-sheet-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 201;
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    border-radius: 16px 16px 0 0;
    padding: .5rem 1rem calc(60px + env(safe-area-inset-bottom) + .5rem);
    max-height: 70vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  }
  .teams-sheet.open .teams-sheet-panel {
    transform: translateY(0);
  }
  .teams-sheet-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--border-light);
    margin: .25rem auto .75rem;
  }
  .teams-sheet-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text);
    margin-bottom: .5rem;
    padding-left: .25rem;
  }
  .teams-sheet-list {
    display: flex;
    flex-direction: column;
  }
  .teams-sheet-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .25rem;
    color: var(--text);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(38, 43, 61, .5);
    -webkit-tap-highlight-color: transparent;
  }
  .teams-sheet-item:last-child {
    border-bottom: none;
  }
  .teams-sheet-item:active {
    background: rgba(255, 255, 255, .03);
  }
  .teams-sheet-item .headshot-sm {
    width: 32px;
    height: 32px;
  }
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — MOBILE BOTTOM NAV
   Visible only at < 640px, 4 items
   ═══════════════════════════════════════════ */

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(10, 12, 18, .92);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-top: 1px solid rgba(255, 255, 255, .06);
  height: 60px;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 60px;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  text-decoration: none;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  transition: color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--accent);
}
.bottom-nav-item.active::after {
  display: none;
}
.bottom-nav-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — MOBILE SLIDE-DOWN DRAWER
   Replaces the current hamburger dropdown
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(14, 16, 24, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    height: auto;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: .5rem 0 1rem;
    transform: translateY(-110%);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 99;
  }
  .nav-links.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  nav a {
    height: auto;
    padding: .85rem 1.5rem;
    width: 100%;
    font-size: .88rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  nav a::after { display: none; }
  .nav-badge { display: none; }
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — MOBILE OVERRIDES (< 640px)
   ═══════════════════════════════════════════ */

@media (max-width: 640px) {
  /* Show bottom nav, hide top nav */
  .bottom-nav {
    display: block;
  }
  nav {
    display: none;
  }
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  /* Hero sizing — extra top padding since top nav is hidden */
  .hero {
    padding: 5rem 1rem 1.5rem;
  }
  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: -.5px;
  }
  .hero-sub {
    font-size: .85rem;
  }
  .hero-content::after {
    display: none;
  }

  /* Matchup cards mobile */
  .matchup-card {
    padding: 0;
  }
  .matchup-team-name {
    font-size: .88rem !important;
    font-weight: 800;
  }
  /* Keep horizontal layout on mobile — just scale down */
  .matchup-card .headshot-sm {
    width: 36px !important;
    height: 36px !important;
  }
  .matchup-team-name {
    font-size: .8rem !important;
  }
  .matchup-teams {
    padding: .75rem .8rem .5rem !important;
  }
  .matchup-teams::before {
    height: 40px;
  }
  .matchup-teams::after {
    width: 24px !important;
    height: 24px !important;
    font-size: .5rem !important;
  }
  .matchups-grid > .matchup-card:first-child .mc-cat-rows,
  .mc-cat-rows {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Mobile standings — two-row card layout per team ── */
  .standings-table thead {
    display: none;
  }
  .standings-table,
  .standings-table tbody {
    display: block;
  }
  .standings-table tbody tr {
    display: grid;
    grid-template-columns: 2.2rem 40px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 .6rem;
    padding: .6rem .5rem;
    border-bottom: 1px solid rgba(38, 43, 61, .6);
  }
  .standings-table tbody tr:last-child {
    border-bottom: none;
  }
  .standings-table td {
    padding: 0;
    border-bottom: none;
    white-space: normal;
  }
  /* Rank — spans both rows, left column */
  .standings-table td.rank-cell {
    grid-row: 1 / 3;
    grid-column: 1;
    font-size: 1rem;
    text-align: center;
  }
  /* Team cell (avatar + name) — top row */
  .standings-table td:nth-child(2) {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
  }
  .standings-table td:nth-child(2) .team-cell {
    flex-direction: column;
    gap: 0;
  }
  .standings-table td:nth-child(2) .team-cell-name {
    display: none;
  }
  .standings-table td:nth-child(2) .headshot-sm {
    width: 40px;
    height: 40px;
  }
  /* Team name — shown on top row, right of avatar */
  /* We need to pull the name out. Since it's inside team-cell,
     we'll hide team-cell-name and show it differently.
     Actually, let's just let the team cell span and show name beside avatar */
  .standings-table td:nth-child(2) .team-cell {
    flex-direction: row;
    gap: .55rem;
    align-items: center;
  }
  .standings-table td:nth-child(2) .team-cell-name {
    display: inline;
    font-size: .88rem;
    font-weight: 700;
  }
  .standings-table td:nth-child(2) {
    grid-row: 1;
    grid-column: 2 / 4;
  }
  /* Manager — second row, under the team name */
  .standings-table td:nth-child(3) {
    grid-row: 2;
    grid-column: 2 / 4;
    font-size: .72rem;
    color: var(--muted) !important;
    padding-left: calc(40px + .55rem);
  }
  /* Stats row: W-L-T, Pct, Moves — all in row 2 */
  /* Actually we need a stats sub-row. Let's put W-L-T and Moves in a third row */
  .standings-table tbody tr {
    grid-template-rows: auto auto auto;
  }
  .standings-table td:nth-child(4) {
    grid-row: 3;
    grid-column: 2 / 4;
    padding-left: calc(40px + .55rem);
    padding-top: .25rem;
    font-size: .75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
  }
  .standings-table td:nth-child(4)::before {
    content: 'W-L-T  ';
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
  }
  /* Pct */
  .standings-table td:nth-child(5) {
    grid-row: 3;
    grid-column: 3 / 4;
    text-align: right;
    font-size: .75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    padding-top: .25rem;
    display: none;
  }
  /* Moves */
  .standings-table td:nth-child(6) {
    grid-row: 3;
    grid-column: 3 / 4;
    text-align: right;
    font-size: .75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    padding-top: .25rem;
  }
  .standings-table td:nth-child(6)::before {
    content: 'Moves  ';
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
  }

  /* Playoff cutline — remove dashed borders from individual cells */
  .standings-table tr.playoff-cutline td {
    border-bottom: none !important;
  }
  .standings-table tr.playoff-cutline {
    border-bottom: 2px dashed rgba(247, 201, 72, .35);
  }
  .standings-table tr.playoff-cutline + tr td {
    padding-top: 0;
  }

  /* Playoff line label row — full width */
  .standings-table tr.playoff-line-row {
    display: block;
    padding: .2rem 0;
    border-bottom: none;
  }
  .standings-table tr.playoff-line-row td {
    display: block;
    padding: 0;
  }

  /* My-team highlight */
  .standings-table tr.my-team {
    background: rgba(79, 142, 247, .04);
    border-left: 3px solid var(--accent);
  }
  .standings-table tr.my-team td:first-child {
    box-shadow: none;
  }

  /* Matchup detail cards */
  .matchup-detail-header {
    padding: .85rem 1rem .65rem;
  }
  .matchup-detail-body {
    padding: 1rem;
    gap: 1rem;
  }

  /* Roster modal overlay on mobile */
  .mdc-rost.open .mdc-rost-body {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: var(--bg);
    overflow-y: auto;
    padding: 1rem 1rem 5rem;
    display: block;
    -webkit-overflow-scrolling: touch;
  }
  .mdc-rost-close-btn {
    display: flex;
  }

  /* Footer above bottom nav */
  footer {
    margin-bottom: 0;
  }
}

/* Roster modal close button (hidden on desktop) */
.mdc-rost-close-btn {
  display: none;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding: .75rem 0;
  margin-bottom: .5rem;
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
}
.mdc-rost-close-btn span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mdc-rost-close-x {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease;
}
.mdc-rost-close-x:hover {
  background: var(--surface3);
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — MATCHUP DETAIL CARD POSITION BADGES
   Classes used by generate_week.py: mdc-rost-slot
   ═══════════════════════════════════════════ */

/* Position-group coloring for roster slots */
.mdc-rost-slot[data-pos="SP"],
.mdc-rost-slot[data-pos="RP"] {
  color: var(--accent);
}
.mdc-rost-slot[data-pos="C"],
.mdc-rost-slot[data-pos="1B"],
.mdc-rost-slot[data-pos="2B"],
.mdc-rost-slot[data-pos="3B"],
.mdc-rost-slot[data-pos="SS"],
.mdc-rost-slot[data-pos="OF"] {
  color: var(--green);
}
.mdc-rost-slot[data-pos="UTIL"] {
  color: #b07de8;
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — COUNTER ANIMATION
   Add .counter-animate to elements with data-target
   ═══════════════════════════════════════════ */

.counter-animate {
  transition: none;
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — ENHANCED REVEAL STAGGER
   ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* Auto-stagger direct children with .reveal */
.matchups-grid .reveal:nth-child(1) { transition-delay: 0s; }
.matchups-grid .reveal:nth-child(2) { transition-delay: .06s; }
.matchups-grid .reveal:nth-child(3) { transition-delay: .08s; }
.matchups-grid .reveal:nth-child(4) { transition-delay: .12s; }
.matchups-grid .reveal:nth-child(5) { transition-delay: .16s; }

/* ═══════════════════════════════════════════
   REDESIGN v2 — WEEK TILE GRID ENHANCEMENTS
   ═══════════════════════════════════════════ */

.week-tile:not(.week-tile-active) {
  border-top: 1px solid rgba(255, 255, 255, .04);
}
.week-tile {
  transition: transform .2s ease, border-color .15s ease, background .15s ease;
}
.week-tile-num {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}
