/* Shared presentation for the two season reports. */
main .inner-hero {
  height: auto;
  min-height: 0;
  padding: 38px 0;
  background-image: linear-gradient(110deg, #071c3cef, #094ba2c9), url('../img/hero.png');
  border: 0;
}
main .inner-hero h1 { font-size: clamp(1.9rem, 4vw, 3.25rem) !important; line-height: 1.15; }
main .inner-hero .text-primary { color: #aad2ff !important; }
main .section-padding { padding: 48px 0; background: #f4f7fc !important; }
main .section-header { margin-bottom: 30px !important; }
main .section-header h2 { font-family: var(--font-title); font-size: clamp(1.9rem, 4vw, 2.8rem); }
main .section-header .surtitle { color: #094ba2; justify-content: center; font-size: .8rem; font-weight: 600; }
main .section-header .surtitle::before { width: 28px; background: #094ba2; }
.season-overview > div { display: flex; }
.season-overview .stat-card {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  align-content: center;
  text-align: left;
  border: 1px solid #e2e9f3;
  border-radius: 18px;
  box-shadow: 0 8px 24px #163c7009;
  padding: 26px !important;
}
.season-overview .stat-card > i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 1.4rem !important;
  color: #094ba2 !important;
  background: #eef4ff;
  border-radius: 14px;
  margin: 0 !important;
}
.season-overview .stat-card h3 { font-family: var(--font-title); font-size: clamp(1.6rem, 2.5vw, 2rem) !important; line-height: 1.15; color: #163454; font-variant-numeric: tabular-nums; }
.season-overview .stat-card p { line-height: 1.5; margin-top: 8px; }
.season-overview .stat-card[style] { border-top-color: #e2e9f3 !important; }
main .season-chart, main .table-responsive {
  background: #fff;
  padding: 28px !important;
  border: 1px solid #e2e9f3;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px #163c7010 !important;
}
main .season-chart h5, main .table-responsive h5 { text-align: left !important; color: #163454 !important; border-bottom: 1px solid #e8eef6; padding-bottom: 18px; }
main .season-chart h5::before { content: ''; display: inline-block; width: 7px; height: 18px; border-radius: 4px; background: #094ba2; margin-right: 10px; vertical-align: middle; }
.season-chart .season-canvas { position: relative; height: 410px; }
main .table-responsive { scrollbar-width: thin; scrollbar-color: #b3c7e4 #f4f7fc; }
main .table-responsive:focus-visible { outline: 3px solid #72aaf2; outline-offset: 3px; }
main .season-table { --bs-table-color: #334155; --bs-table-hover-bg: #edf4ff; --bs-table-hover-color: #163454; font-size: .95rem; font-variant-numeric: tabular-nums; }
main .season-table > :not(caption) > * > * { padding: 14px 12px; border-bottom-color: #e8eef6; }
main .season-table thead th { background: #edf3fb; color: #24476e; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .3px; border-bottom: 0; vertical-align: middle; }
.season-table tbody tr { --row-surface: #fff; }
.season-table tbody tr:nth-child(even) { --row-surface: #f6f9fd; }
main .season-table tbody td { --bs-table-bg: var(--row-surface); background-color: var(--row-surface); }
.season-table td:first-child { text-align: center; color: #64748b; }
.season-table td:nth-child(2) { font-weight: 600; }
main .season-table td:last-child { color: #094ba2 !important; font-weight: 700; }
.season-table tbody tr:nth-child(1) { --rank-color: #976b13; --rank-surface: #fff2ce; }
.season-table tbody tr:nth-child(2) { --rank-color: #556578; --rank-surface: #e9edf3; }
.season-table tbody tr:nth-child(3) { --rank-color: #945632; --rank-surface: #f9e6d9; }
main .season-table tbody tr:nth-child(-n+3) td:first-child { color: var(--rank-color); font-weight: 700; background: radial-gradient(circle at center, var(--rank-surface) 17px, transparent 18px), var(--row-surface); }
main .season-table tbody tr:nth-child(-n+3) td:nth-child(2) { border-left: 3px solid var(--rank-color); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .stat-card { transition: transform .2s ease, box-shadow .2s ease; }
  .stat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px #163c7014; }
}
@media (max-width: 991.98px) and (min-width: 768px) {
  .season-overview .stat-card { grid-template-columns: 1fr; gap: 12px; padding: 20px !important; }
  .season-overview .stat-card > i { grid-row: auto; }
}
@media (max-width: 767.98px) {
  main .inner-hero { padding: 26px 0; }
  main .section-padding { padding: 32px 0; }
  .season-overview { --bs-gutter-y: 12px; margin-bottom: 28px !important; }
  .season-overview .stat-card { padding: 18px !important; }
  main .season-chart, main .table-responsive { padding: 18px 12px !important; border-radius: 16px !important; }
  .season-chart .season-canvas { height: 400px; }
  main .season-table { min-width: 490px; }
  main .season-table > :not(caption) > * > * { padding: 12px 10px; }
  main .season-table th:nth-child(2), main .season-table td:nth-child(2) { position: sticky; left: 0; z-index: 1; min-width: 150px; max-width: 170px; box-shadow: 5px 0 8px -6px #163c7070; }
  main .season-table thead th:nth-child(2) { z-index: 2; }
}
