/* Player gameplay light-theme guardrails. Loaded last so Stadium dark-first rules cannot leak into light mode. */
html[data-tp-theme="light"] .tp-gameplay-shell,
html[data-tp-theme="light"] .participant-layout,
html[data-tp-theme="light"] .survivor-layout{color:#071c38!important}

/* Pool header */
html[data-tp-theme="light"] .tp-gameplay-head{
  background:linear-gradient(135deg,#ffffff,#f7fbf9)!important;
  border-color:#cfe2d8!important;
  color:#071c38!important;
  box-shadow:0 14px 36px rgba(8,44,99,.055)!important;
}
html[data-tp-theme="light"] .tp-gameplay-head h1,
html[data-tp-theme="light"] .tp-gameplay-head h2,
html[data-tp-theme="light"] .tp-gameplay-head h3,
html[data-tp-theme="light"] .tp-gameplay-head strong{color:#071c38!important}
html[data-tp-theme="light"] .tp-gameplay-head p,
html[data-tp-theme="light"] .tp-gameplay-head small{color:#607087!important}
html[data-tp-theme="light"] .tp-gameplay-head .tp-country-chip{color:#52637b!important}
html[data-tp-theme="light"] .tp-gameplay-head .pill{
  background:#f3f7fb!important;
  border-color:#cbd8e3!important;
  color:#52637b!important;
}

/* Progression / current round */
html[data-tp-theme="light"] .tp-round-state,
html[data-tp-theme="light"] .tp-progress-card,
html[data-tp-theme="light"] .tp-question-card,
html[data-tp-theme="light"] .tp-season-card{
  background:#fff!important;
  border-color:#dce5ed!important;
  color:#071c38!important;
  box-shadow:0 9px 24px rgba(8,44,99,.04)!important;
}
html[data-tp-theme="light"] .tp-round-state .icon{
  background:#eaf8f0!important;
  color:#078b47!important;
}
html[data-tp-theme="light"] .tp-round-state h2,
html[data-tp-theme="light"] .tp-question-card h3,
html[data-tp-theme="light"] .tp-season-card h3{color:#071c38!important}
html[data-tp-theme="light"] .tp-round-state p,
html[data-tp-theme="light"] .tp-question-card p,
html[data-tp-theme="light"] .tp-season-card p{color:#607087!important}

/* Fixtures and questions */
html[data-tp-theme="light"] .tp-fixture-group,
html[data-tp-theme="light"] .tp-stadium-fixture{
  background:#fff!important;
  border-color:#dce5ed!important;
  color:#071c38!important;
  box-shadow:0 9px 24px rgba(8,44,99,.035)!important;
}
html[data-tp-theme="light"] .tp-stadium-fixture .tp-fixture-head,
html[data-tp-theme="light"] .tp-fixture-head{
  background:#f3f7fb!important;
  border-color:#dce5ed!important;
  color:#071c38!important;
}
html[data-tp-theme="light"] .tp-stadium-fixture-match .team strong,
html[data-tp-theme="light"] .tp-fixture-title strong,
html[data-tp-theme="light"] .tp-question-row-head strong{color:#071c38!important}
html[data-tp-theme="light"] .tp-stadium-fixture-match .vs,
html[data-tp-theme="light"] .tp-stadium-fixture-meta>span,
html[data-tp-theme="light"] .tp-fixture-title small{color:#607087!important}
html[data-tp-theme="light"] .tp-fixture-questions,
html[data-tp-theme="light"] .tp-question-row{background:#fff!important;color:#071c38!important}
html[data-tp-theme="light"] .tp-question-row{border-color:#e6edf2!important}
html[data-tp-theme="light"] .tp-question-row .pill,
html[data-tp-theme="light"] .tp-stadium-fixture-meta .pill{
  background:#fff!important;
  border-color:#cbd8e3!important;
  color:#52637b!important;
}
html[data-tp-theme="light"] .tp-lock-note{color:#8a6400!important}

/* Prediction controls */
html[data-tp-theme="light"] .tp-pick-three span,
html[data-tp-theme="light"] .tp-team-pick span,
html[data-tp-theme="light"] .tp-shirt-picks span,
html[data-tp-theme="light"] .pick span{
  background:#f7fafc!important;
  border-color:#d6e1ea!important;
  color:#071c38!important;
  box-shadow:none!important;
}
html[data-tp-theme="light"] .tp-shirt-picks span b{color:#071c38!important}
html[data-tp-theme="light"] .tp-pick-three input:checked+span,
html[data-tp-theme="light"] .tp-team-pick input:checked+span,
html[data-tp-theme="light"] .tp-shirt-picks input:checked+span,
html[data-tp-theme="light"] .pick input:checked+span{
  background:#e6f8ef!important;
  border-color:#09ba5d!important;
  color:#078b47!important;
  box-shadow:0 0 0 1px rgba(9,186,93,.08) inset!important;
}
html[data-tp-theme="light"] .tp-pick-three input:checked+span b,
html[data-tp-theme="light"] .tp-shirt-picks input:checked+span b{color:#078b47!important}
html[data-tp-theme="light"] .tp-locked-value,
html[data-tp-theme="light"] .locked-answer,
html[data-tp-theme="light"] .tp-board-row,
html[data-tp-theme="light"] .tp-race-game{
  background:#f7fafc!important;
  border-color:#dce5ed!important;
  color:#071c38!important;
}

/* Save bar */
html[data-tp-theme="light"] .tp-save-dock,
html[data-tp-theme="light"] .save-bar{
  background:rgba(255,255,255,.97)!important;
  border-color:#b9dcca!important;
  color:#071c38!important;
  box-shadow:0 14px 34px rgba(8,44,99,.10)!important;
}
html[data-tp-theme="light"] .tp-save-dock strong,
html[data-tp-theme="light"] .save-bar strong{color:#071c38!important}
html[data-tp-theme="light"] .tp-save-dock small,
html[data-tp-theme="light"] .save-bar small,
html[data-tp-theme="light"] .save-bar p{color:#607087!important}

/* Right column / statistics */
html[data-tp-theme="light"] .tp-gameplay-aside .card,
html[data-tp-theme="light"] .tp-gameplay-stat{
  background:#fff!important;
  border-color:#dce5ed!important;
  color:#071c38!important;
  box-shadow:0 9px 24px rgba(8,44,99,.035)!important;
}
html[data-tp-theme="light"] .tp-gameplay-aside h1,
html[data-tp-theme="light"] .tp-gameplay-aside h2,
html[data-tp-theme="light"] .tp-gameplay-aside h3,
html[data-tp-theme="light"] .tp-gameplay-aside strong{color:#071c38!important}
html[data-tp-theme="light"] .tp-gameplay-aside p,
html[data-tp-theme="light"] .tp-gameplay-aside small,
html[data-tp-theme="light"] .tp-gameplay-aside .muted,
html[data-tp-theme="light"] .tp-gameplay-stat span{color:#607087!important}

/* Race and boards */
html[data-tp-theme="light"] .tp-race-hero{
  background:linear-gradient(135deg,#eaf8f0,#f7fbf9)!important;
  border-color:#b9e4cc!important;
  color:#071c38!important;
}
html[data-tp-theme="light"] .tp-race-track{background:#e3ebe7!important}
html[data-tp-theme="light"] .tp-round-history-row{border-color:#e6edf2!important}
html[data-tp-theme="light"] .tp-round-history-row strong,
html[data-tp-theme="light"] .tp-board-row strong{color:#071c38!important}
html[data-tp-theme="light"] .tp-round-history-row small,
html[data-tp-theme="light"] .tp-board-row small{color:#607087!important}

/* Survivor legacy player surface */
html[data-tp-theme="light"] .survivor-round-card,
html[data-tp-theme="light"] .survivor-state-card{
  background:#fff!important;
  border-color:#dce5ed!important;
  color:#071c38!important;
  box-shadow:0 9px 24px rgba(8,44,99,.035)!important;
}
html[data-tp-theme="light"] .survivor-pick-card{
  background:#f7fafc!important;
  border-color:#dce5ed!important;
  color:#071c38!important;
}
html[data-tp-theme="light"] .survivor-pick-number,
html[data-tp-theme="light"] .survivor-used-chip,
html[data-tp-theme="light"] .survivor-state-icon{background:#edf4f1!important;color:#071c38!important}
html[data-tp-theme="light"] .survivor-saved{
  background:#eaf8f0!important;
  border-color:#b9e4cc!important;
  color:#071c38!important;
}
html[data-tp-theme="light"] .survivor-state-card.eliminated{
  background:#fff5f5!important;
  border-color:#f0c9cd!important;
}
html[data-tp-theme="light"] .survivor-state-card.winner{
  background:#fffaf0!important;
  border-color:#ead9a7!important;
}
html[data-tp-theme="light"] .survivor-round-card h2,
html[data-tp-theme="light"] .survivor-state-card h2,
html[data-tp-theme="light"] .survivor-pick-card strong{color:#071c38!important}
html[data-tp-theme="light"] .survivor-round-card p,
html[data-tp-theme="light"] .survivor-state-card p,
html[data-tp-theme="light"] .survivor-pick-card small,
html[data-tp-theme="light"] .survivor-history-row small{color:#607087!important}
html[data-tp-theme="light"] .survivor-history-row,
html[data-tp-theme="light"] .survivor-save-row,
html[data-tp-theme="light"] .leader-row{border-color:#e6edf2!important}
