/* GreenScoreLive | shared table surface, 2026-10-25 */
:root {
  --gs-table-surface: #171B20;
  --gs-table-border: #30383F;
  --gs-table-hover: #242B31;
  --gs-table-text: #F3F6F7;
  --gs-table-muted: #A8B4BB;
}
/* Scope to profile content: do not recolor the hero, site navigation, pitch, or charts. */
.gs-profile-section :is(table, .gs-v6-trophy-card, .gs-v6-trophy-year, .gs-v6-trophy-head) {
  background-color: var(--gs-table-surface) !important;
  border-color: var(--gs-table-border) !important;
}
.gs-profile-section :is(table, .gs-v6-trophy-card) {
  border: 1px solid var(--gs-table-border);
  border-radius: 12px;
  overflow: hidden;
}
.gs-profile-section table :is(th,td) {
  border-color: var(--gs-table-border) !important;
}
.gs-profile-section table tbody tr {
  background-color: var(--gs-table-surface) !important;
  transition: background-color .16s ease;
}
.gs-profile-section table tbody tr:hover,
.gs-profile-section .gs-v6-trophy-year:hover {
  background-color: var(--gs-table-hover) !important;
}
.gs-profile-section .gs-v6-trophy-year {
  border-top: 1px solid var(--gs-table-border);
  transition: background-color .16s ease;
}
/* Season-performance modules render div-based tables; only their row surfaces are changed. */
.gs-profile-section :is([class*="season-row"], [class*="career-row"], [class*="stats-row"], [class*="stat-row"], [class*="table-row"]) {
  background-color: var(--gs-table-surface) !important;
  border-color: var(--gs-table-border) !important;
  transition: background-color .16s ease;
}
.gs-profile-section :is([class*="season-row"], [class*="career-row"], [class*="stats-row"], [class*="stat-row"], [class*="table-row"]):hover {
  background-color: var(--gs-table-hover) !important;
}
@media (prefers-reduced-motion: reduce) {
  .gs-profile-section table tbody tr,
  .gs-profile-section .gs-v6-trophy-year { transition: none; }
}
