/* Texas Hold'em / Seven Poker: light-theme chrome around a deliberately dark felt table.
   Keep dark-mode art and player status colours unchanged. */
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view {
  --ink:#244333;
  --muted:#506957;
  --line:#c2d3c6;
  color:#244333;
}

/* Lobby is white paper; the room header and status row must use dark ink. */
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view :is(
  .room-header .eyebrow,.room-code-line>span:first-child,#turn-hint,
  .table-status-line,.table-status-line #table-status,.table-status-line>span
) {color:#3f604b;}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .room-header .eyebrow {
  color:#577360;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .room-code-line strong {
  color:#755019;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .connection-state {
  color:#256242;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .room-tools .button {
  color:#244b36;
  background:#fff;
  border-color:#b5c9b9;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .room-tools .button:hover {
  background:#e5f1e8;
  border-color:#659878;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .table-status-line,
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .activity-panel {
  border-color:#c2d3c6;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .activity-panel summary {
  color:#345540;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view #table-log {
  color:#48644f;
}

/* The table/street/seat surfaces remain dark, so their inherited ink stays light. */
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .table-stage {
  --ink:#f1efdf;
  --muted:#c7d4c8;
  color:#f1efdf;
}
/* Actual card faces are ivory even when drawn inside a dark player seat.
   The global light-mode table selector previously forced their numbers white. */
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .playing-card:not(.is-back):not(.is-empty) {
  color:#20392c;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .playing-card.is-red:not(.is-back):not(.is-empty) {
  color:#b04c45;
}

/* Bet / raise controls also remain dark, including the fixed mobile action bar. */
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .action-panel {
  --ink:#f1efdf;
  --muted:#c7d4c8;
  color:#f1efdf;
  color-scheme:dark;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .action-panel .raise-form>label {
  color:#f1efdf;
}

/* The pre-game hero and the rules live on pale paper in light mode.
   Gold captions and dark-felt card gallery styles cannot be reused verbatim. */
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) :is(
  .intro-copy em,.entry-steps b
) {color:#76511e;}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) .how-to-play>summary {
  color:#294c37;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) .how-to-play>summary>span:last-child {
  color:#42624d;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) .how-to-play summary span[aria-hidden] {
  color:#76511e;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) .rules-content {
  color:#365942;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) .rules-content :is(
  dt,dd,.rules-note,.hand-guide-intro,.hand-example-note,.card-value-key,
  .card-value-key strong,.hand-rank-heading>span,.hand-ranks li>span
) {color:#4c6956;}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) .hand-ranks li {
  background:#fff;
  border-color:#c1d4c6;
  color:#284c38;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) .hand-ranks li b {
  color:#284c38;
}
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) .hand-ranks li b::before {
  color:#795723;
}
/* Seven Poker guide: its original dark list and callout backgrounds would
   swallow the dark labels already supplied by the shared light theme. */
html[data-theme="light"] body.standalone-hub-page-seven-poker :is(
  .stud-streets li,.stud-action-list>div,.stud-rule-tip
) {
  background:#ecf4ee;
  border-color:#bbd1c0;
  color:#31533e;
}
html[data-theme="light"] body.standalone-hub-page-seven-poker :is(
  .stud-street-number,.stud-street-copy strong,.stud-action-list dt,
  .stud-start-steps strong,.stud-card-count
) {color:#29513a;}
html[data-theme="light"] body.standalone-hub-page-seven-poker :is(
  .stud-street-copy p,.stud-action-list dd,.stud-start-steps span,
  .stud-reference,.stud-rule-tip p
) {color:#4b6956;}
html[data-theme="light"] body.standalone-hub-page-seven-poker .stud-card-count {
  border-color:#b4cbb9;
}
html[data-theme="light"] body.standalone-hub-page-seven-poker .stud-reference a {
  color:#735018;
}
/* Small table caption is instructional, unlike the intentionally faint felt watermark. */
html[data-theme="light"] body:is(.standalone-hub-page-holdem,.standalone-hub-page-seven-poker,.standalone-hub-page-omaha,.standalone-hub-page-draw-poker) #table-view .table-stage .board-note {
  color:#c3dbc3;
}
html[data-theme="light"] body.standalone-hub-page-seven-poker .rules-content .stud-rule-tip {
  color:#31533e!important;
}
