/* =====================================================================
   ScoutEngine — Shared Component Library
   Source of truth: viz_prototype.html
   Every page imports this via _base_saas.html. Page-specific CSS goes
   in its own file (player.css, dugout.css, etc.).
   ===================================================================== */

/* ===== PAGE WRAPPER ===== */
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 32px 32px;
}

/* ===== SECTION TITLES (two-tone) ===== */
/* Canonical: 15px Oswald, white + accent, no space between spans. */
.v2-section-title {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.v2-section-title .s-w { color: var(--se-text, #f2f2f2); margin-right: 1px; }
.v2-section-title .s-a { color: var(--se-accent, #e63946); }

/* Large section titles (dashboard headings, top-level dividers) */
.section-title {
  font-family: var(--se-font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 32px 0 16px;
  border: none;
  padding: 0;
  background: none;
  color: var(--se-text);
}

/* Panel titles (sub-headings within sections) */
.panel-title {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--se-text, #f2f2f2);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--se-border);
  margin: 6px 0 12px;
}

/* ===== TWO-COLUMN LAYOUT ===== */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.left-col { padding: 0 32px 0 0; }
.right-col { padding: 0 0 0 32px; border-left: 1px solid var(--se-border); }

.two-col { display: flex; gap: 32px; }
.two-col > div { flex: 1; min-width: 0; }

/* ===== DATA TABLES ===== */
/* Base table — used across all pages. */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tbl thead th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted, #4a5568);
  padding: 6px 6px;
  border-bottom: 1px solid var(--se-border);
  text-align: right;
}
.tbl thead th:first-child { text-align: left; }
.tbl tbody td {
  padding: 5px 6px;
  border-bottom: 1px solid var(--se-border);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tbl tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--se-text, #f2f2f2);
}
.tbl tbody tr:hover { background: rgba(255,255,255,0.02); }
.tbl a { color: var(--se-blue, #3b82f6); text-decoration: none; }

/* Table scroll wrapper */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Tier coloring for stat values */
.s-elite { color: var(--se-green, #2ecc71); font-weight: 700; }
.s-poor { color: var(--se-accent, #e63946); font-weight: 700; }

/* Roster table (wider padding, accent header border) */
.roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 8px;
}
.roster-table thead th {
  text-align: left;
  padding: 8px 12px;
  font-family: var(--se-font-label, var(--se-font-body));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--se-text-secondary);
  border-bottom: 2px solid var(--se-accent);
}
.roster-table thead th.num { text-align: right; }
.roster-table tbody td {
  padding: 7px 12px;
  border-bottom: 1px solid var(--se-border);
  color: var(--se-text);
}
.roster-table tbody td.num {
  text-align: right;
  font-family: var(--se-font-data, var(--se-font-display));
  font-size: 13px;
}
.roster-table tbody tr:nth-child(even) { background: var(--se-row-even); }
.roster-table tbody tr:hover { background: var(--se-row-hover); }
.roster-table .player-link {
  color: var(--se-text);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}
.roster-table .player-link:hover { color: var(--se-accent); text-decoration: none; }

/* ===== TEAM HEADER ===== */
/* Centered variant (dashboard) */
.team-header {
  text-align: center;
  padding: 32px 0 24px;
  margin-bottom: 24px;
}
.team-header h1 {
  font-family: var(--se-font-display);
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 6px;
}
.team-header .team-school { color: #fff; }
.team-header .team-mascot { color: var(--team-color, var(--se-accent)); }
.team-header .team-info {
  font-family: var(--se-font-body);
  font-size: 14px;
  color: var(--se-text-secondary);
  margin-bottom: 2px;
}

/* Left-aligned variant (scout pages) */
.v2-team-header { margin-bottom: 24px; }
.v2-team-header h1 {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 4px;
}
.v2-team-header .team-mascot { color: #fff; }
.v2-team-header .team-info {
  font-size: 14px;
  color: var(--se-text-secondary);
  margin-bottom: 2px;
}
.v2-team-header .team-record {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 20px;
  font-weight: 500;
  color: var(--se-text-secondary);
  letter-spacing: 0.5px;
}

/* ===== PLAYER HEADER ===== */
.v2-player-header {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 24px 0 18px;
  margin-bottom: 0;
}
.v2-player-number {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 96px;
  font-weight: 700;
  line-height: 0.85;
  min-width: 60px;
  text-align: center;
  -webkit-text-stroke: 3px rgba(255,255,255,0.25);
  paint-order: stroke fill;
  margin-top: -8px;
}
.v2-player-name {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 6px;
}
.v2-player-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--se-text-secondary);
  line-height: 1.2;
}
.v2-player-meta .pos { color: var(--se-accent); font-weight: 700; }
.player-bio {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted, #4a5568);
  margin-top: 6px;
  line-height: 1.2;
}

/* ===== JERSEY NUMBER (stitching effect) ===== */
.jersey-num {
  font-family: 'Oswald';
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: var(--stitch, 4px) var(--stitch-color, rgba(75,0,130,0.4));
  paint-order: stroke fill;
}
.jersey-num-lg { font-size: 72px; }
.jersey-num-md { font-size: 48px; }
.jersey-num-sm { font-size: 36px; }

/* ===== BREADCRUMB ===== */
.v2-breadcrumb {
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-muted, #4a5568);
  margin-bottom: 4px;
}
.v2-breadcrumb a {
  color: var(--se-text-secondary);
  text-decoration: none;
  cursor: pointer;
}
.v2-breadcrumb a:hover { color: var(--se-text, #f2f2f2); }

/* ===== CAREER BAR ===== */
.career-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 0;
  font-size: 12px;
  color: var(--se-text-secondary);
  margin: -8px 0 18px;
}
.career-bar .career-label {
  font-weight: 700;
  color: var(--text-muted, #4a5568);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SEASON BAR ===== */
.season-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--se-border);
  margin-bottom: 24px;
}
.season-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted, #4a5568);
}
.season-btns { display: flex; gap: 4px; }
.season-btn {
  font-family: var(--se-font-display, 'Oswald', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  text-transform: uppercase;
  margin: 0 8px;
  transition: all 0.2s;
}
.season-btn:hover { color: rgba(255,255,255,0.6); }
.season-btn.active {
  background: none;
  border: none;
  border-bottom: 2px solid #e63946;
  color: #e63946;
}

/* ===== STAT GRID (raw numbers) ===== */
.raw-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
.raw-cell {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  border-right: 1px solid var(--se-border);
}
.raw-cell:last-child { border-right: none; }
.raw-val {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: var(--se-text, #f2f2f2);
}
.raw-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted, #4a5568);
  margin-top: 6px;
}

/* ===== MINI ARCS ===== */
.mini-arcs {
  display: flex;
  gap: 0;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--se-border);
}
.mini-arc { flex: 1; text-align: center; }

/* ===== LEADERS ===== */
.leaders { display: flex; gap: 0; margin: 4px 0 0; }
.leader-col {
  flex: 1;
  padding: 10px 14px;
  border-right: 1px solid var(--se-border);
}
.leader-col:last-child { border-right: none; }
.leader-col-title {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted, #4a5568);
  margin-bottom: 8px;
}
.leader-entry {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  font-size: 13px;
  line-height: 1.4;
}
.leader-val {
  font-family: var(--se-font-display, 'Oswald');
  font-weight: 600;
  color: var(--se-text, #f2f2f2);
  min-width: 36px;
}
.leader-name {
  color: var(--se-text-secondary);
  font-size: 12px;
  white-space: nowrap;
}

/* ===== SPRAY CHART ===== */
.spray-svg-wrap { text-align: center; margin: 4px 0; }
.spray-svg-wrap svg {
  max-width: 440px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.spray-toggle { display: flex; gap: 4px; }
.spray-toggle button {
  font-family: var(--se-font-body, 'Source Sans 3');
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--se-border);
  color: var(--se-text-secondary);
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
}
.spray-toggle button.active {
  background: rgba(230,57,70,0.12);
  border-color: var(--se-accent);
  color: var(--se-accent);
}
.spray-legend {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--se-text-secondary);
}
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

/* Quality contact bar */
.hc-bar { margin-top: 16px; }
.hc-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted, #4a5568);
  margin-bottom: 4px;
}
.hc-value { color: var(--se-text, #f2f2f2); }
.hc-track {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.hc-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--se-accent), var(--se-green));
}

/* ===== SPLIT GAUGE (platoon splits) ===== */
.split-gauge {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 28px;
}
.split-header {
  display: grid;
  grid-template-columns: 42px 1fr 36px 1fr 42px;
  align-items: center;
  font-family: var(--se-font-display, 'Oswald');
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted, #4a5568);
  margin: 8px 0;
}
.split-header span:first-child { text-align: center; }
.split-header span:last-child { text-align: center; }
.split-row {
  display: grid;
  grid-template-columns: 42px 1fr 36px 1fr 42px;
  align-items: center;
  gap: 0;
  height: 22px;
}
.split-stat-label {
  text-align: center;
  font-family: var(--se-font-display, 'Oswald');
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted, #4a5568);
}
.split-val {
  text-align: center;
  font-family: var(--se-font-display, 'Oswald');
  font-size: 12px;
  font-weight: 700;
  color: var(--se-text, #f2f2f2);
}
.split-track-l, .split-track-r {
  height: 6px;
  position: relative;
  background: rgba(255,255,255,0.03);
  border-radius: 3px;
}
.split-fill-l {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border-radius: 3px;
}
.split-fill-r {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 3px;
}
.threat-elite { background: var(--se-accent, #e63946); opacity: 0.85; }
.threat-above { background: var(--gold, #f0a500); opacity: 0.75; }
.threat-avg   { background: var(--blue, #3b82f6); opacity: 0.6; }
.threat-below { background: var(--text-muted, #4a5568); opacity: 0.4; }

/* ===== MATCHUP BLOCK ===== */
.matchup {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-decoration: none;
  color: var(--se-text);
  padding: 36px 0;
  margin-bottom: 28px;
  cursor: pointer;
  transition: all 0.2s;
  overflow: hidden;
}
.matchup:hover { text-decoration: none; }
.matchup::before, .matchup::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60%;
  pointer-events: none;
  background-image: radial-gradient(circle 1px, currentColor 0%, transparent 100%);
  background-size: 4px 4px;
}
.matchup::before {
  left: 0;
  color: var(--home-color, #4B0082);
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 70% 90% at 10% 50%, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 10% 50%, black 0%, transparent 65%);
}
.matchup::after {
  right: 0;
  color: var(--opp-color, #e63946);
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 70% 90% at 90% 50%, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 90% 50%, black 0%, transparent 65%);
}
.matchup-team {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.matchup-team.home { align-items: flex-end; text-align: right; padding-right: 32px; }
.matchup-team.away { align-items: flex-start; text-align: left; padding-left: 32px; }
.matchup-school {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
  margin-bottom: -2px;
}
.matchup-mascot {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 6px;
}
.matchup-meta {
  font-family: var(--se-font-body, 'Source Sans 3');
  font-size: 12px;
  font-weight: 600;
  color: var(--se-text-secondary);
  letter-spacing: 0.04em;
}
.matchup-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 60px;
}
.matchup-vs {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.10);
  letter-spacing: 0.2em;
}

/* ===== SCHEDULE SCROLL ===== */
.sched-scroll-wrap {
  margin-bottom: 36px;
  padding: 20px 0 16px;
  border-top: 1px solid var(--se-border);
  border-bottom: 1px solid var(--se-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.012) 0%, transparent 100%);
}
.sched-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.sched-scroll::-webkit-scrollbar { height: 3px; }
.sched-scroll::-webkit-scrollbar-track { background: transparent; }
.sched-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }
.sched-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  border-right: 1px solid var(--se-border);
  padding: 12px 20px 12px 16px;
  text-decoration: none;
  color: var(--se-text);
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sched-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle 1px, var(--card-color, #4B0082) 0%, transparent 100%);
  background-size: 4px 4px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 90% 90% at 0% 50%, black 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 0% 50%, black 0%, transparent 60%);
}
.sched-card:last-child { border-right: none; }
.sched-card:hover { text-decoration: none; background: rgba(255,255,255,0.015); }
.sched-card-date {
  font-family: var(--se-font-data);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.sched-card-opponent {
  font-family: var(--se-font-display);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--se-text);
  line-height: 1.2;
  margin-bottom: 4px;
}
.sched-card-opponent .t-school { color: #fff; }
.sched-card-meta {
  font-family: var(--se-font-body);
  font-size: 11px;
  color: var(--se-text-secondary);
  margin-bottom: 2px;
}

/* Large schedule cards (dashboard) */
.sched-scroll-lg { gap: 0; }
.sched-card-lg {
  flex: 0 0 260px;
  padding: 20px 24px 18px 20px;
  min-height: 120px;
  justify-content: flex-end;
  position: relative;
}
.sched-card-lg .sched-card-loc {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--se-font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.sched-card-date-lg { font-size: 13px; margin-bottom: 8px; }
.sched-card-opp-lg { font-size: 20px; letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 6px; }
.sched-card-record {
  font-family: var(--se-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--se-text);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

/* ===== DUGOUT BUTTON ===== */
.dugout-btn {
  display: inline-block;
  font-family: var(--se-font-display, 'Oswald', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(230,57,70,0.6);
  border: none;
  background: none;
  padding: 0;
  margin-top: 12px;
  cursor: pointer;
  transition: color 0.2s;
}
.dugout-btn:hover { background: none; border: none; color: #e63946; text-decoration: none; }

/* ===== TOPBAR (hamburger + mobile nav) ===== */
.se-topbar-hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 102;
}
.se-topbar-hamburger span {
  width: 20px;
  height: 2px;
  background: var(--se-text, #f2f2f2);
  transition: all 0.3s;
  border-radius: 1px;
}
.se-topbar-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.se-topbar-hamburger.open span:nth-child(2) { opacity: 0; }
.se-topbar-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.se-mobile-nav {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(6,8,12,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 2px solid var(--se-accent, #e63946);
}
.se-mobile-nav.open { display: flex; }
.se-mobile-nav a {
  font-family: var(--se-font-display, 'Oswald');
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--se-text-secondary, #8a93a6);
  text-decoration: none;
  padding: 14px 24px;
  border-bottom: 1px solid var(--se-border);
  transition: color 0.15s;
}
.se-mobile-nav a:hover, .se-mobile-nav a.active { color: var(--se-accent, #e63946); }

/* ===== FOOTER ===== */
.v2-footer {
  text-align: center;
  padding: 40px 0 16px;
  font-size: 11px;
  color: var(--text-muted, #4a5568);
}

/* ===== RESPONSIVE — TABLET (768px) ===== */
@media (max-width: 768px) {
  .content { padding: 20px 12px; }
  .dash-grid { grid-template-columns: 1fr; }
  .right-col { border-left: none; padding-left: 0; border-top: 1px solid var(--se-border); padding-top: 20px; }
  .left-col { padding-right: 0; }
  .two-col { flex-direction: column; gap: 16px; }
  .leaders { flex-wrap: wrap; }
  .leader-col { flex: 1 1 45%; min-width: 100px; border-bottom: 1px solid var(--se-border); padding-bottom: 10px; margin-bottom: 6px; }
  .section-title { font-size: 18px; margin: 24px 0 12px; }
  .v2-section-title { font-size: 13px; }
  .team-header h1 { font-size: 32px; }
  .v2-team-header h1, .v2-player-name { font-size: 28px; }
  .v2-player-number { font-size: 72px; -webkit-text-stroke-width: 2px; }
  .v2-player-header { flex-wrap: wrap; gap: 4px; }
  .raw-val { font-size: 22px; }
  .tbl { font-size: 12px; }
  .tbl thead th { padding: 4px 4px; font-size: 9px; }
  .tbl tbody td { padding: 4px 4px; }
  .spray-svg-wrap svg { max-width: none; }
  .mini-arcs { flex-wrap: wrap; justify-content: center; }
  .mini-arc { min-width: 90px; }
  .career-bar { gap: 12px; font-size: 11px; }
  .season-bar { flex-wrap: wrap; gap: 8px; }
  .matchup { grid-template-columns: 1fr; text-align: center; gap: 12px; }
  .matchup-team.home, .matchup-team.away { align-items: center; text-align: center; padding: 0; }
  .matchup-mascot { font-size: 26px; }
  .sched-card-lg { flex: 0 0 180px; min-height: 100px; padding: 14px 14px 12px; }
  .sched-card-opp-lg { font-size: 15px; }
  .sched-card { flex: 0 0 160px; }
  .roster-table { font-size: 12px; }
  .roster-table thead th, .roster-table tbody td { padding: 5px 6px; }
  .se-topbar-nav { display: none; }
  .se-topbar-hamburger { display: flex; }
  .se-topbar { padding: 0 16px; }
}

/* ===== RESPONSIVE — PHONE (480px) ===== */
@media (max-width: 480px) {
  .content { padding: 16px 8px; }
  .v2-team-header h1, .v2-player-name { font-size: 22px; }
  .v2-player-number { font-size: 56px; -webkit-text-stroke-width: 2px; min-width: 46px; }
  .raw-val { font-size: 18px; }
  .raw-lbl { font-size: 8px; letter-spacing: 1px; }
  .raw-cell { padding: 6px 2px; }
  .matchup-mascot { font-size: 22px; }
  .matchup-school { font-size: 12px; }
  .sched-card-lg { flex: 0 0 160px; min-height: 90px; padding: 12px 10px 10px; }
  .sched-card-opp-lg { font-size: 13px; }
  .sched-card-date-lg { font-size: 11px; }
  .sched-card { flex: 0 0 140px; padding: 10px 12px 10px 10px; }
  .sched-card-opponent { font-size: 13px; }
  .tbl { font-size: 11px; }
  .team-header h1 { font-size: 26px; }
  .team-header { padding: 20px 0 16px; }
  .section-title { font-size: 16px; }
}
