/* ============================================================
   Vaughan Adult Hockey League — shared stylesheet
   Design system adopted from the Stats Beaver standard:
   Inter (body/UI) + Barlow Condensed (titles & stat numbers),
   dark gradient nav with gold accent, burnt-orange section
   accents, tone token palette, retuned data tables.
   ============================================================ */

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-gutter: stable; background: #f8fafc; }
[hidden] { display: none !important; }

:root {
  --blue: #1e40af; --blue-light: #dbeafe; --blue-mid: #1d4ed8; --blue-muted: #93c5fd;
  --pink: #9d174d; --pink-light: #fce7f3; --pink-muted: #f9a8d4;
  --slate: #374151; --slate-light: #f3f4f6; --slate-muted: #d1d5db;
  --green: #065f46; --green-light: #d1fae5; --green-muted: #6ee7b7;
  --bg: #f8fafc; --surface: #ffffff; --border: #e2e8f0;
  --text: #0f172a; --text-muted: #64748b; --text-faint: #94a3b8;
  --radius: 10px; --radius-sm: 6px;
  --site-primary: #1e40af;
  --accent-soft: #eff6ff;

  /* Tone token palette (rating / status colours) */
  --tone-elite: #0c6642;
  --tone-strong: #15803d;
  --tone-good: #166534; --tone-good-bg: #dcfce7; --tone-good-border: #86efac;
  --tone-blue: #1e40af; --tone-blue-deep: #1e3a8a; --tone-blue-bg: #dbeafe;
  --tone-blue-soft-bg: #eff6ff; --tone-blue-border: #bfdbfe;
  --tone-watch: #92400e; --tone-watch-strong: #9a3412; --tone-watch-bg: #fef3c7;
  --tone-watch-soft-bg: #fff7ed; --tone-watch-border: #fdba74;
  --tone-risk: #991b1b; --tone-risk-bg: #fee2e2; --tone-risk-border: #fca5a5;
  --tone-muted: #475569; --tone-muted-bg: #e2e8f0; --tone-support: #64748b;
}

body { font-family: Inter, Arial, sans-serif; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.65; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.container { max-width: 900px; margin: 0 auto; padding: 0 1.25rem; }

/* Cross-document view transitions: a short whole-page crossfade smooths the
   blank frame between hard navigations. Chromium-only; other browsers fall back
   to a normal navigation with no regression. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 130ms; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(*),
  ::view-transition-new(*) { animation-duration: 0.001s !important; }
}

/* NAV */
.site-nav { background: linear-gradient(145deg, #23312d 0%, #181f1d 58%, #271b10 100%); border-bottom: 1px solid rgba(215, 165, 87, 0.34); position: sticky; top: 0; z-index: 100; box-shadow: 0 12px 30px rgba(24, 31, 29, 0.18); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 12px; font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; margin-right: auto; color: #fff7df; }
.nav-logo img { width: 56px; height: 56px; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 0.25rem; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; padding: 7px 14px; border-radius: var(--radius-sm); color: rgba(255,255,255,0.76); transition: background 0.15s, color 0.15s; white-space: nowrap; }
.nav-link:hover { background: rgba(255,255,255,0.11); color: #ffffff; }
.nav-link.active { background: #235347; color: #ffffff; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.13); }
.nav-pro-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 18px; border-radius: 999px; background: #d7a557; color: #17110a; padding: 2px 7px; font-size: 10px; font-weight: 900; line-height: 1; text-transform: uppercase; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff7df; border-radius: 2px; transition: all 0.2s; }

/* Connection pill (PWA online/offline indicator) */
#sb-conn-dot { display: flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
#sb-conn-dot.online { background: rgba(34,197,94,0.22); border: 1px solid rgba(74,222,128,0.45); color: #bbf7d0; }
#sb-conn-dot.offline { background: rgba(248,113,113,0.20); border: 1px solid rgba(248,113,113,0.5); color: #fecaca; }
#sb-conn-dot .conn-led { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; display: block; }
#sb-conn-dot.online .conn-led { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.18); }
#sb-conn-dot.offline .conn-led { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.18); }

/* PAGE HEADER */
.page-header { padding: 2rem 0 1.5rem; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0.45rem 1rem; }
.page-header .eyebrow { flex: 0 0 100%; }
.eyebrow { font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; color: #c84b31; margin-bottom: 0.35rem; }
.page-title { margin-right: auto; font-family: 'Barlow Condensed', sans-serif; font-size: clamp(28px, 4.5vw, 52px); font-weight: 700; line-height: 1.05; color: #18362f; }
.page-sub { flex: 0 0 100%; font-size: 15px; color: var(--text-muted); margin-top: 0.35rem; }
.hero-league-name { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(28px, 4.5vw, 52px); font-weight: 700; line-height: 1.05; color: #18362f; }

/* CARDS */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card-header { background: var(--bg); border-bottom: 1px solid var(--border); padding: 0.7rem 1.1rem; font-family: Inter, Arial, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }

/* SECTION LABEL */
.section-label { font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; color: #c84b31; margin-bottom: 0.6rem; }
.section-head-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.section-head-row .season-toggle { margin: 0; justify-content: flex-end; }

/* BADGE */
.badge { display: inline-block; font-family: Inter, Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; }
.badge-final { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
.badge-tie { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-upcoming { background: #eff6ff; color: #1d4ed8; }

/* TABLES */
.data-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.data-table th { padding: 0.65rem 0.85rem; font-family: Inter, Arial, sans-serif; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: 0; color: #ffffff; text-align: center; background: #1e40af; border-bottom: 1px solid #1d4ed8; cursor: pointer; user-select: none; }
.data-table th.left { text-align: left; }
.data-table th:hover { background: #1d4ed8; color: #ffffff; }
.data-table th.sorted { color: #bfdbfe; }
.data-table td { padding: 0.38rem 0.85rem; font-family: Inter, Arial, sans-serif; font-size: 15px; font-weight: 400; text-align: center; border-bottom: 1px solid var(--border); color: #828b97; }
.data-table td.left { text-align: left; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--bg); }
.data-table tbody tr:nth-child(even) { background: var(--bg); }
.data-table tbody tr:nth-child(even):hover { background: #e8edf2; }
.data-table tbody a { transition: color 0.15s; }
.data-table tbody a:hover { color: #1e40af !important; }
.team-leaders-table tbody td { color: #80928c; font-weight: 400; }
.team-leaders-table tbody a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 16px; }
.team-table-empty, .site-empty-text { color: var(--text-muted); font-style: italic; padding: 1rem !important; }

.player-name { font-weight: 500; color: var(--text); font-size: 16px; }
.player-team-tag { font-size: 13px; color: var(--text-muted); display: block; }
.stat-hi { font-family: Inter, Arial, sans-serif; font-size: 18px; font-weight: 700; color: #000; }
.jersey-num { font-family: Inter, Arial, sans-serif; font-size: 15px; font-weight: 500; color: #788b85; }
.pos-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 20px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.02em; background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
.rank-num { font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 600; color: #60746d; }
.rank-1 { font-family: Inter, Arial, sans-serif; font-weight: 800; color: #263f39; font-size: 15px; }

/* TEAM DOT */
.team-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; flex-shrink: 0; }

/* FILTER / TAB / SEASON BUTTONS */
.filter-row { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.f-btn { font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 600; padding: 7px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); cursor: pointer; letter-spacing: 0; transition: all 0.15s; }
.f-btn:hover { background: var(--bg); color: var(--text); }
.f-btn.active { background: #1e40af; color: #fff; border-color: #1e40af; }
.tab-row { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; width: fit-content; margin-bottom: 1rem; }
.tab-btn { font-family: Inter, Arial, sans-serif; font-size: 15px; font-weight: 500; padding: 9px 22px; background: transparent; color: var(--text-muted); cursor: pointer; border: none; border-right: 1px solid var(--border); transition: all 0.15s; }
.tab-btn:last-child { border-right: none; }
.tab-btn:hover { background: var(--bg); color: var(--text); }
.tab-btn.active { background: #1e40af; color: #fff; }

.season-toggle { display: flex; gap: 6px; margin-bottom: 1.25rem; align-items: center; }
.season-toggle-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-right: 4px; }
.s-btn { padding: 6px 14px; font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0; border: 1.5px solid var(--border); border-radius: 20px; background: var(--surface); color: var(--text-muted); cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.s-btn:hover { border-color: #94a3b8; color: var(--text); }
.s-btn.active, .s-btn.active-regular { background: #065f46; border-color: #065f46; color: #fff; }
.s-btn.active-playoff { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.s-btn.active-combined { background: #0891b2 !important; border-color: #0891b2 !important; color: #fff !important; }
.section-head-row .s-btn { padding: 6px 14px; font-size: 13px; }

/* TEAM SWITCHER */
.team-switcher { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.ts-btn { font-size: 14px; padding: 7px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 7px; transition: all 0.15s; }
.ts-btn:hover { background: var(--bg); color: var(--text); }
.ts-btn.active { background: #1e40af; color: #fff; border-color: #1e40af; }
.ts-btn .ts-dot { width: 8px; height: 8px; border-radius: 50%; }

/* HERO META / STREAK */
.hero-meta { display: flex; gap: 2rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.hero-meta-item strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 600; line-height: 1.2; }
.hero-meta-item span { display: block; font-family: Inter, Arial, sans-serif; color: var(--text-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.streak-row { display: flex; align-items: center; gap: 4px; margin-top: 17px; padding-left: 6px; }
.streak-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.streak-label { margin-left: 10px; font-family: Inter, Arial, sans-serif; color: var(--text-muted); font-size: 11px; font-weight: 500; line-height: 1; }

/* HERO BLOCK (home) */
.hero-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-bottom: 1.5rem; }

/* TEAM CARD (teams / home) */
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.team-card-link { display: block; color: inherit; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.team-card-link:hover, .team-card-link:focus-visible { border-color: #bfdbfe; box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08); transform: translateY(-1px); outline: none; }
.team-card-header { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--border); }
.team-card-title { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 700; margin-bottom: 2px; }
.team-card-record { font-size: 15px; color: var(--text-muted); }
.team-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; margin-top: 0.9rem; }
.team-summary-card { border: 1px solid rgba(24, 54, 47, 0.12); border-radius: 8px; background: rgba(255, 255, 255, 0.92); padding: 13px; min-width: 0; }
.team-summary-card span { display: block; font-family: Inter, Arial, sans-serif; color: var(--text-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.team-summary-card strong { display: block; font-family: Inter, Arial, sans-serif; color: var(--text); font-size: 28px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.team-card-rank { text-align: right; }
.team-card-rank-num { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 700; line-height: 1; }
.team-card-rank-lbl { font-size: 13px; color: var(--text-muted); }
.team-stats-row { border-bottom: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, 1fr); }
.tstat { padding: 0.85rem 0; text-align: center; border-right: 1px solid var(--border); }
.tstat:last-child { border-right: none; }
.tstat-val { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 600; display: block; }
.tstat-lbl { display: block; font-family: Inter, Arial, sans-serif; color: var(--text-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.team-card-footer { display: flex; gap: 0.5rem; padding: 0.85rem 1.25rem; background: var(--bg); border-top: 1px solid var(--border); }
.tc-btn { font-size: 14px; padding: 7px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); cursor: pointer; transition: background 0.15s; }
.tc-btn:hover { background: var(--border); }

/* STANDINGS */
.standings-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }

/* ROSTER / PLAYER HERO */
.roster-hero { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.roster-hero-summary { flex: 1; min-width: 0; }
.roster-hero-stats { display: flex; align-items: center; gap: 1.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.rhs { font-size: 14px; color: var(--text-muted); }
.rhs strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 600; color: var(--text); line-height: 1.2; }
.player-hero { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.player-hero-name { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 700; color: #18362f; line-height: 1.1; margin-bottom: 0.2rem; }
.player-hero-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 0.65rem; }
.player-hero-stats { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* TWO COL / LEADERS */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.leader-row { display: grid; grid-template-columns: 28px 1fr 44px 44px; align-items: center; padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); font-size: 15px; gap: 8px; }
.leader-row:last-child { border-bottom: none; }
.leader-stat { text-align: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 19px; }

/* GAME ROW */
.game-row { display: grid; grid-template-columns: 52px 1fr 68px 1fr 76px; align-items: center; gap: 6px; padding: 0.38rem 1rem; border-bottom: 1px solid var(--border); }
.game-row:last-child { border-bottom: none; }
.game-row:hover { background: var(--bg); }
.schedule-game-row { grid-template-columns: 100px 1fr 68px 1fr 76px; }
.game-date-col { font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 400; color: var(--text); line-height: 1.18; white-space: nowrap; }
.game-date-col strong { display: inline; font-size: 14px; font-weight: 400; color: var(--text); }
.game-team-col { display: flex; align-items: center; gap: 5px; font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 400; min-width: 0; color: #607186; }
.game-team-col a, .game-team-col span:not(.game-team-dot) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-team-col.away { justify-content: flex-end; }
.game-score { text-align: center; font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; width: 68px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; gap: 1px; }
.score-sep { font-size: 14px; color: var(--text-muted); font-weight: 400; margin: 0 1px; }
.game-status { text-align: right; }
.winner { color: var(--text); font-weight: 700; }
.loser { color: #607186; font-weight: 400; }
.game-row-link { color: inherit; }
.game-row-link:hover .game-row { background: #eff6ff; }

/* FORMS (shared by registration / contact) */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.7rem 0.9rem; font-size: 15px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); transition: border-color 0.15s, box-shadow 0.15s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #1e40af; box-shadow: 0 0 0 3px rgba(30,64,175,0.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input.invalid, .form-group select.invalid { border-color: #ef4444; background: #fff5f5; }
.form-group input.valid, .form-group select.valid { border-color: #22c55e; }
.field-error { display: block; font-size: 12px; color: #dc2626; margin-top: 4px; min-height: 16px; }
.submit-btn { width: 100%; padding: 0.85rem; font-family: Inter, Arial, sans-serif; font-size: 16px; font-weight: 700; background: #1e40af; color: #fff; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.15s; }
.submit-btn:hover { background: #1d4ed8; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.status-msg { display: none; padding: 0.85rem 1rem; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; margin-top: 0.75rem; text-align: center; }
.status-msg.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; display: block; }
.status-msg.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; display: block; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* INFO CARDS (contact / registration side panels — supports both class names) */
.info-card, .info-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.info-card-header, .info-block-header { background: var(--accent-soft); border-bottom: 1px solid #bfdbfe; padding: 0.65rem 1.1rem; font-family: Inter, Arial, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #1e40af; }
.info-card-body, .info-block-body { padding: 1.1rem; font-size: 15px; line-height: 1.6; }
.info-row { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 0.9rem; }
.info-row:last-child { margin-bottom: 0; }
.info-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 2px; }
.info-val { color: var(--text); line-height: 1.5; }
.info-val a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* TABLE TOTALS ROW (roster / stats / player / boxscore) — selectors kept
   specific enough to override `.data-table td`. */
tfoot tr.totals-row { background: var(--accent-soft); }
.data-table tfoot td.total-label { padding: 0.4rem 0.85rem; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1e40af; }
.data-table tfoot td.total-cell { padding: 0.4rem 0.85rem; font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; text-align: center; color: #1e40af; }

/* PLAYER LINK (table rows) — hover handled by .data-table tbody a:hover */
.player-link { font-weight: 500; color: var(--text); }

/* ANNOUNCEMENT BANNER */
.announcement-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-top: 1rem; display: block; }

/* SHEET ERROR */
.sheet-error > div { background: var(--tone-risk-bg); border: 1px solid var(--tone-risk-border); border-radius: 8px; padding: 1.5rem; margin: 1rem 0; font-size: 15px; color: var(--tone-risk); }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0; margin-top: 3rem; text-align: center; font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 500; color: #7b8d87; }
.site-footer .footer-brand { color: #4f6860; font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero-league-name { font-size: 26px; }
  .hero-block { flex-direction: column; align-items: center; text-align: center; }
  .hero-block img { width: 160px !important; height: 160px !important; }
  .section-head-row { align-items: flex-start; }
  .section-head-row .season-toggle { width: 100%; justify-content: flex-start; }
  .two-col { grid-template-columns: 1fr; }
  .hero-meta { gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
  .hero-meta-item strong { font-size: 20px; }
  .hero-meta-item { text-align: center; }
  .team-summary-grid { gap: 0.5rem; }
  .streak-row { justify-content: center; padding-left: 0; }
  .team-card-header { flex-direction: column; text-align: center; }
  .team-card-header > div, .roster-hero > div, .player-hero > div { min-width: 0; }
  .team-card-header > div { width: 100%; }
  .team-card-footer { flex-wrap: wrap; justify-content: center; padding: 0.75rem; }
  .team-card-header img { width: 160px !important; height: 160px !important; }
  .game-row { grid-template-columns: 42px 1fr 52px 1fr 58px; gap: 3px; padding: 0.38rem 0.6rem; }
  .schedule-game-row { grid-template-columns: 68px 1fr 52px 1fr 58px; }
  .schedule-game-row .game-date-col { white-space: normal; }
  .game-score { font-size: 16px; width: 52px; }
  .game-date-col { font-size: 11px; }
  .game-date-col strong { font-size: 12px; }
  .game-team-col { font-size: 12px; gap: 3px; }
  .badge { font-size: 10px; padding: 2px 5px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: linear-gradient(145deg, #23312d 0%, #181f1d 58%, #271b10 100%); border-bottom: 1px solid rgba(215, 165, 87, 0.34); padding: 0.75rem 1.25rem; gap: 0.25rem; z-index: 99; }
  .page-title { font-size: 28px; }
  .filter-row { gap: 0.35rem; }
  .f-btn { font-size: 12px; padding: 5px 9px; }
  .tab-btn { font-size: 13px; padding: 7px 14px; }
  .roster-hero { flex-direction: column; text-align: center; padding: 0.9rem 1rem; }
  .roster-hero-stats { justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
  .roster-hero img[alt] { width: 150px !important; height: 150px !important; }
  .data-table th { padding: 0.35rem 0.35rem; font-size: 12px; }
  .data-table td { padding: 0.28rem 0.35rem; font-size: 12px; }
  .tstat-val { font-size: 20px; }
  .tstat-lbl { font-size: 11px; }
  .team-card-title { font-size: 22px; }
  .team-card-rank-num { font-size: 28px; }
  #teams-grid { grid-template-columns: repeat(2, 1fr) !important; }
  #teams-grid img { width: 100px !important; height: 100px !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .reg-layout { grid-template-columns: 1fr !important; }
  .player-hero { flex-direction: column; align-items: center; text-align: center; }
  .player-hero-stats { justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
  .team-switcher { flex-wrap: wrap; }
  .season-toggle { flex-wrap: wrap; }
  tfoot td { font-size: 14px !important; padding: 0.35rem 0.5rem !important; }
  .announcement-img { max-height: 240px; }
}
