/* ===========================================
   APTOS LACROSSE - SEASON PAGE STYLES
   Page-specific styles for season archive pages
   Imports base and design-system
   =========================================== */

@import url('base.css?v=13');
@import url('design-system.css?v=13');

/* ===========================================
   ADDITIONAL TOKENS
   =========================================== */

:root {
  --color-gold: #c9a227;
}

/* ===========================================
   SEASON HEADER
   Extends .header-site from design-system.css
   =========================================== */

/* Header container - sticky on all viewports */
#header-container {
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Header stays sticky on all viewports — no static override on mobile */

/* Season header visual styles */
.header-season {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-light);
  transition: box-shadow 0.2s;
}

.header-season.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.header-season .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 0;
  gap: 24px;
}

.header-season .header-logo {
  height: 64px;
}

@media (max-width: 600px) {
  .header-season .header-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .header-season .header-logo {
    height: 56px;
  }

  /* Hide logo on mobile when scrolled to conserve vertical space */
  .header-season.scrolled .header-logo-wrapper {
    display: none;
  }

  .header-season.scrolled .header-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    padding: 10px 0;
  }
}

/* ===========================================
   HERO - The Opening
   =========================================== */

.hero-season {
  position: relative;
  height: 80vh;
  min-height: 540px;
  max-height: 720px;
  overflow: hidden;
}

.hero-season .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 0 64px;
  background: linear-gradient(transparent 0%, rgba(0,32,92,0.6) 30%, rgba(0,32,92,0.95) 100%);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-p2);
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-p1);
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  max-width: 640px;
  line-height: 1.8;
}

.hero-caption {
  font-family: var(--font-body);
  font-size: var(--text-p3);
  color: rgba(255,255,255,0.4);
  margin-top: 32px;
  letter-spacing: 0.02em;
}

/* ===========================================
   STATS BAR
   =========================================== */

.stats-bar {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0;
}

.stats-grid {
  display: grid;
  /* Use auto-fit so stats span full width regardless of count */
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.15);
}

.stats-bar .stat-item {
  background: var(--color-navy);
  padding: 24px 16px;
  text-align: center;
  border-right: none;
}

.stats-bar .stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: 1;
  margin-bottom: 4px;
  white-space: nowrap;
}

.stats-bar .stat-label {
  font-family: var(--font-label);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  opacity: 1;
  margin-top: 0;
}

/* ===========================================
   CHAPTER STYLES
   =========================================== */

.chapter {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-gray-light);
}

.chapter:last-of-type {
  border-bottom: none;
}

.chapter-header {
  margin-bottom: 48px;
}

.chapter-timeframe {
  font-family: var(--font-heading);
  font-size: var(--text-h6);
  letter-spacing: 0.2em;
  color: var(--color-gray);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.chapter-title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 24px;
}

.chapter-narrative {
  font-family: var(--font-body);
  font-size: var(--text-p1);
  line-height: 1.8;
  color: var(--color-black);
  max-width: 720px;
}

.chapter-header .chapter-narrative:not(:last-child) {
  margin-bottom: 20px;
}

.timeline-classic + .chapter-narrative {
  margin-top: 32px;
}

.chapter-narrative + .chapter-narrative {
  margin-top: 20px;
}

.chapter-narrative strong {
  color: var(--color-navy);
  font-weight: 600;
}

.chapter-narrative a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chapter-narrative a:hover {
  color: var(--color-navy);
  text-decoration-thickness: 2px;
}

.chapter-note {
  font-size: var(--text-p2);
  margin-top: 24px;
}

/* Chapter inline figure — action photos between narrative paragraphs */
.chapter-figure {
  margin: 32px 0;
  max-width: 720px;
}

.chapter-figure img,
.chapter-figure video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.chapter-figure figcaption {
  font-family: var(--font-body);
  font-size: var(--text-p3);
  color: var(--color-gray);
  margin-top: 10px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}


.chapter-quote {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-navy);
  padding: 32px 0 32px 32px;
  border-left: 4px solid var(--color-navy);
  margin: 40px 0;
  max-width: 640px;
}

.chapter-quote-attribution {
  font-family: var(--font-label);
  font-size: var(--text-p2);
  font-style: normal;
  color: var(--color-gray);
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===========================================
   TIMELINE OVERRIDES
   =========================================== */

.timeline-classic {
  margin: 40px 0 0;
}

.spotlight-grid {
  margin-top: 48px;
  margin-bottom: 56px;
}

.chapter-header + .spotlight-grid {
  margin-top: 16px;
}

.spotlight-grid + .chapter-narrative {
  margin-top: 32px;
}

.spotlight-grid + .spotlight-grid {
  margin-top: 0;
}

/* ===========================================
   TIMELINE GAME RESULT
   Minimal, text-based game result for timeline.
   =========================================== */

.timeline-game-result {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 0;
}

.game-result-score {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}

.game-result-score.win {
  color: var(--color-navy);
}

.game-result-score.loss {
  color: var(--color-gray);
}

.game-result-matchup {
  font-family: var(--font-label);
  font-size: var(--text-p2);
  color: var(--color-black);
  line-height: 1.4;
}

.game-result-note {
  font-family: var(--font-label);
  font-size: var(--text-p2);
  color: var(--color-gray);
  line-height: 1.4;
  width: 100%;
}

/* ===========================================
   SEASON SECTION
   =========================================== */

.season-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--color-gray-light);
}

.season-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-black);
}

.season-header-row h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-navy);
}

.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-label);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 16px;
}

.season-badge .badge-trophy {
  width: 14px;
  height: auto;
}

.season-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
}

.season-left h3,
.season-right h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 16px;
}

/* Stats Summary */
.stats-summary {
  margin-bottom: 32px;
}

.stats-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stats-summary-item {
  padding: 20px;
  background: var(--color-gray-f5);
}

.stats-summary-value {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  color: var(--color-navy);
  line-height: 1;
}

.stats-summary-label {
  font-family: var(--font-label);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray);
  margin-top: 4px;
}

/* ===========================================
   STANDINGS & SCHEDULE TABLES
   =========================================== */

.standings-table,
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-label);
  font-size: var(--text-p2);
}

.standings-table th,
.schedule-table th {
  text-align: left;
  font-family: var(--font-label);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-gray);
  font-weight: var(--weight-bold);
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--color-gray-light);
}

.standings-table th.num,
.schedule-table th.num {
  text-align: right;
}

.standings-table td,
.schedule-table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--color-gray-light);
  color: var(--color-black);
}

.standings-table td.num,
.schedule-table td.num {
  text-align: right;
}

.standings-table td:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.standings-table tr.us td {
  font-weight: 600;
  color: var(--color-navy);
}

.schedule-table .result-w {
  color: #22863a;
  font-weight: var(--weight-bold);
}

.schedule-table .result-l {
  color: #cb2431;
  font-weight: var(--weight-bold);
}

.schedule-table .result-t {
  color: var(--color-gray);
  font-weight: var(--weight-bold);
}

.schedule-table .schedule-date {
  white-space: nowrap;
  width: 80px;
  color: var(--color-gray);
  font-size: var(--text-small);
}

.schedule-table tr.clickable-row {
  cursor: pointer;
  transition: background 0.15s;
}

.schedule-table tr.clickable-row:hover {
  background: var(--color-gray-f5);
}

.schedule-table tr.highlight td {
  background: rgba(0, 32, 92, 0.05);
  font-weight: 500;
}

.schedule-table .team-logo {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

.schedule-table td:first-child {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .season-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===========================================
   SECTION SUBHEADERS
   =========================================== */

.section-subheader {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  margin-top: 48px;
  margin-bottom: 20px;
}

/* ===========================================
   SCORERS SECTION
   =========================================== */

.scorers-section {
  padding: 64px 0;
  background: var(--color-gray-f5);
}

.scorers-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-navy);
}

.section-subtitle {
  font-family: var(--font-label);
  font-size: var(--text-p3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gray);
  margin-bottom: 32px;
}

.scorers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scorers-section .scorer-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  padding: 24px;
}

.scorers-section .scorer-card.featured {
  border: 2px solid var(--color-navy);
}

.scorers-section--alt {
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-light);
}

.scorers-section--alt .scorer-card {
  background: var(--color-gray-f5);
}

/* ===========================================
   GOALIE SECTION
   =========================================== */

.goalie-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--color-gray-light);
}

.goalie-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--color-white);
  border: 2px solid var(--color-navy);
  overflow: hidden;
  margin-bottom: 2rem;
}

.goalie-image-wrapper {
  position: relative;
  overflow: hidden;
}

.goalie-feature-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center top;
}

.goalie-feature-content {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.goalie-name {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1;
}

.goalie-number {
  opacity: 0.5;
  font-size: var(--text-h4);
}

.goalie-feature-content .position-badge {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-label);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  margin-bottom: 20px;
  width: fit-content;
}

.goalie-narrative {
  font-family: var(--font-body);
  font-size: var(--text-p1);
  line-height: 1.7;
  color: var(--color-black);
}

.goalie-narrative:not(:last-child) {
  margin-bottom: 20px;
}

.goalie-stats-row {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.goalie-stat {
  text-align: center;
  padding: 20px 32px;
  background: var(--color-gray-f5);
}

.goalie-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  color: var(--color-navy);
  line-height: 1;
}

.goalie-stat-label {
  font-family: var(--font-label);
  font-size: var(--text-p3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray);
  margin-top: 6px;
}

.goalie-award-badge {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy);
  font-family: var(--font-label);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  width: fit-content;
}

/* ===========================================
   LEGACY SECTION
   =========================================== */

.legacy-section {
  padding: 80px 0;
  background: var(--color-navy);
  color: var(--color-white);
}

.legacy-section .chapter-timeframe {
  color: rgba(255,255,255,0.5);
}

.legacy-section .chapter-title {
  color: var(--color-white);
}

.legacy-section .chapter-narrative {
  color: rgba(255,255,255,0.85);
}

.legacy-section .chapter-narrative strong {
  color: var(--color-white);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.award-card {
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border-left: 3px solid rgba(255,255,255,0.3);
}

.award-card.featured {
  background: rgba(255,255,255,0.12);
  border-left-color: var(--color-white);
}

.award-card h4 {
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  font-weight: 400;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.award-card p {
  font-family: var(--font-body);
  font-size: var(--text-p2);
  color: rgba(255,255,255,0.7);
}

/* ===========================================
   ROSTER SECTION
   =========================================== */

.roster-section {
  padding: 64px 0;
  background: var(--color-gray-f5);
  border-top: 1px solid var(--color-gray-light);
}

.roster-section .scorers-header h2 {
  margin-bottom: 8px;
}

.roster-table-wrapper {
  overflow-x: auto;
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  font-family: var(--font-label);
}

.roster-table th,
.roster-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-light);
}

.roster-table th {
  font-family: var(--font-label);
  font-size: var(--text-p3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--color-navy);
  color: var(--color-white);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.roster-table th:hover {
  background: rgba(0, 32, 92, 0.9);
}

.roster-table th.sorted-asc::after {
  content: ' ▲';
  font-size: 9px;
}

.roster-table th.sorted-desc::after {
  content: ' ▼';
  font-size: 9px;
}

.roster-table td {
  font-family: var(--font-label);
  font-size: var(--text-p2);
  color: var(--color-black);
}

.roster-table tbody tr:hover {
  background: var(--color-gray-f5);
}

.roster-table .col-number {
  width: 60px;
  text-align: center;
  font-weight: 600;
  color: var(--color-navy);
}

.roster-table .col-name {
  font-weight: 500;
}

.roster-table .col-position {
  color: var(--color-gray);
}

.roster-table .col-grade {
  width: 80px;
  text-align: center;
}

.roster-table .col-goals,
.roster-table .col-assists,
.roster-table .col-points {
  width: 70px;
  text-align: center;
}

.roster-table .col-gp {
  width: 60px;
  text-align: center;
}

.roster-table .stat-highlight {
  font-weight: 600;
  color: var(--color-navy);
}

.roster-table .stat-leader {
  color: var(--color-gold);
  font-weight: 700;
}

/* ===========================================
   FLOATING NAVIGATION
   =========================================== */

.floating-nav {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  padding: 16px 20px 16px 24px;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 2px 0 24px rgba(0, 0, 0, 0.06);
}

/* Invisible hover zone — wider target along left edge */
.floating-nav::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  bottom: -30px;
  right: -48px;
  pointer-events: none;
}

.floating-nav.visible {
  visibility: visible;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.25s ease;
}

.floating-nav.visible.nav-active {
  opacity: 1;
}

.floating-nav.hidden-for-footer {
  opacity: 0 !important;
  visibility: hidden !important;
}

.floating-nav-link {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.floating-nav-link:hover {
  color: var(--color-navy);
}

.floating-nav-link.active {
  color: var(--color-navy);
  font-weight: 600;
}

.floating-nav-link.active::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 2px;
  background: var(--color-navy);
  margin-right: 8px;
  vertical-align: middle;
}

/* ===========================================
   SEASON PAGE FOOTER
   =========================================== */

.season-footer {
  padding: 48px 0;
  background: var(--color-navy);
  color: var(--color-white);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}

.season-footer .footer-logo-wrapper {
  display: flex;
  align-items: center;
}

.season-footer .footer-logo {
  height: 96px;
}

.season-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: flex-end;
}

.season-footer .footer-link {
  font-family: var(--font-label);
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.season-footer .footer-link:hover {
  color: var(--color-white);
}

.season-footer .footer-credit {
  grid-column: 1 / -1;
  font-family: var(--font-label);
  font-size: var(--text-p3);
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 960px) {
  .floating-nav {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .scorers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chapter {
    padding: 60px 0;
  }

  .chapter-title {
    font-size: 48px;
  }
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .scorers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .goalie-feature {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .goalie-feature-image {
    min-height: 300px;
  }

  .goalie-feature-content {
    padding: 32px;
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .season-footer .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .hero-headline {
    font-size: var(--text-h2);
  }

  .hero-subtitle {
    font-size: var(--text-p2);
  }

  .chapter {
    padding: 48px 0;
  }

  .chapter-header {
    margin-bottom: 32px;
  }

  .chapter-title {
    font-size: var(--text-h3);
  }

  .chapter-narrative {
    font-size: var(--text-p2);
  }

  .chapter-quote {
    font-size: var(--text-h5);
    padding-left: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar .stat-value {
    font-size: var(--text-h4);
  }

  .scorers-grid {
    grid-template-columns: 1fr;
  }

  .goalie-feature-content {
    padding: 24px;
  }

  .goalie-name {
    font-size: var(--text-h4);
  }

  .goalie-stat-value {
    font-size: var(--text-h3);
  }

  .goalie-stats-row {
    flex-direction: column;
    gap: 12px;
  }

  .goalie-stat {
    padding: 16px;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }

  .roster-table {
    font-size: 13px;
  }

  .roster-table th,
  .roster-table td {
    padding: 10px 8px;
  }

  .roster-table .col-grade,
  .roster-table .col-gp {
    display: none;
  }

  .scorers-section,
  .goalie-section,
  .roster-section {
    padding: 48px 0;
  }

  .season-section {
    padding: 48px 0;
  }
}

/* ===========================================
   SEASON NAVIGATION
   Previous/Next season buttons above footer
   =========================================== */

.season-nav {
  display: flex;
  width: 100%;
  border-top: 1px solid var(--color-gray-light);
  background: var(--color-white, #fff);
  position: sticky;
  bottom: 0;
  z-index: 100;
}

.season-nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 40px;
  background: var(--color-white);
  color: var(--color-navy);
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.season-nav-btn:hover {
  background: var(--color-gray-f5);
}

/* Next button on LEFT - arrow ← then text, left-aligned */
.season-nav-btn--next {
  justify-content: flex-start;
  border-right: 1px solid var(--color-gray-light);
}

/* Previous button on RIGHT - text then arrow →, right-aligned */
.season-nav-btn--prev {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

/* Arrow icons */
.season-nav-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.season-nav-arrow svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Text content */
.season-nav-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.season-nav-btn--prev .season-nav-text {
  text-align: right;
}

.season-nav-label {
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-gray);
}

.season-nav-year {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: 1;
  letter-spacing: 0.02em;
}

/* Single button (first/last season) - full width centered */
.season-nav--single .season-nav-btn {
  flex: 1;
  justify-content: center;
  border-right: none;
}

.season-nav--single .season-nav-btn .season-nav-text {
  text-align: center;
}

/* Mobile: Fixed year nav at bottom of viewport */
@media (max-width: 600px) {
  /* Add padding to body so content isn't hidden behind fixed nav */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .season-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    flex-direction: row;
    border-top: 1px solid var(--color-gray-light);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
  }

  .season-nav-btn {
    flex: 1;
    padding: 14px 16px;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
  }

  /* Next button (left side) — right border divider */
  .season-nav-btn--next {
    border-right: 1px solid var(--color-gray-light);
    border-bottom: none;
  }

  /* Prev button (right side) — arrow on right, text right-aligned */
  .season-nav-btn--prev {
    border-right: none;
    flex-direction: row-reverse;
  }

  /* Reset text alignment on mobile - both centered */
  .season-nav-btn--prev .season-nav-text {
    text-align: right;
  }

  .season-nav-year {
    font-size: var(--text-h4);
  }

  .season-nav-label {
    font-size: 9px;
  }

  /* Single button fills full width */
  .season-nav--single .season-nav-btn {
    flex: 1;
    border-right: none;
  }
}

/* ===========================================
   LAST UPDATED
   =========================================== */

.last-updated {
  font-size: 0.8rem;
  color: var(--text-muted, #999);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ===========================================
   PLAYER DEBUT FEATURE
   Full-width section highlighting new players
   =========================================== */

.player-debut {
  background: var(--color-navy);
  padding: 64px 0;
  margin-bottom: 48px;
}

.player-debut__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.player-debut__header {
  text-align: center;
  margin-bottom: 48px;
}

.player-debut__label {
  font-family: var(--font-label);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.player-debut__title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 12px;
}

.player-debut__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-p2);
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.player-debut__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.player-debut__card {
  position: relative;
  overflow: hidden;
}

.player-debut__image-wrapper {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}

.player-debut__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(10%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.player-debut__card:hover .player-debut__image {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.player-debut__info {
  padding: 12px 0 0;
}

.player-debut__name {
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.player-debut__detail {
  font-family: var(--font-label);
  font-size: var(--text-p3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.player-debut__photo-credit {
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-label);
  font-size: var(--text-p3);
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

.player-debut__photo-credit a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.player-debut__photo-credit a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  .player-debut__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .player-debut {
    padding: 48px 0;
  }
  .player-debut__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .player-debut__header {
    margin-bottom: 32px;
  }
  .player-debut__title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .player-debut {
    padding: 32px 0;
  }
  .player-debut__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .player-debut__name {
    font-size: 16px;
  }
  .player-debut__detail {
    font-size: 9px;
  }
}

