/* Props board, explorer layout (FF-15). Full width, bigger rows, trend columns. */
.props-table { width: 100%; min-width: 72rem; font-size: 1.02rem; }
.props-table th { white-space: nowrap; }
.props-table td { padding: 1rem 0.8rem; vertical-align: middle; }
.props-table th.tr-col, .props-table td.tr-cell { text-align: center; width: 5.4rem; padding-left: 0.35rem; padding-right: 0.35rem; }
.props-table th.tr-start, .props-table td.tr-start { box-shadow: inset 3px 0 0 var(--gold); }
.props-table thead th.tr-col { background: #13325c; }
.props-table td.tr-cell strong { display: block; font-size: 1.08rem; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.props-table td.tr-cell .tr-n { display: block; font-size: 0.95rem; color: var(--ink, #0f172a); font-weight: 700; margin-top: 0.1rem; white-space: nowrap; }
/* Trend tones: green = the trend backs our side, plain = mixed, rose = it doesn't. Never a "bet against" signal. */
.props-table td.tr-good { background: #e3f4e8; }
.props-table td.tr-good strong { color: #146c2e; }
.props-table td.tr-bad { background: #fbeaec; }
.props-table td.tr-bad strong { color: #9f1d2c; }
.props-table td.tr-plain strong { color: var(--ink); }
.props-table tbody tr:nth-child(even) td.tr-good { background: #dcf0e2; }
.props-table tbody tr:nth-child(even) td.tr-bad { background: #f8e3e6; }
.props-table .player-cell { min-width: 15rem; }
.props-table .player-cell strong { font-size: 1.05rem; }
.props-table .player-cell .opp { font-weight: 800; color: var(--ink); }
.props-table .matchup-cell { font-size: 0.86rem; min-width: 18rem; }
@media (min-width: 1200px) { .props-table .matchup-cell { width: auto; max-width: 30rem; } }
.props-table td.num .sub.edge-pos { color: #146c2e; }
.props-table td.num .sub.edge-neg { color: #9f1d2c; }
.trend-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0.4rem 0 0.9rem; font-size: 1rem; color: var(--ink, #0f172a); font-weight: 700; }
.trend-legend b { color: var(--ink); }
.trend-legend .sw { display: inline-block; width: 0.95rem; height: 0.95rem; border-radius: 4px; vertical-align: -0.12rem; margin-right: 0.3rem; }
.trend-legend .sw.good { background: #e3f4e8; box-shadow: inset 0 0 0 1px #9fd3ad; }
.trend-legend .sw.bad { background: #fbeaec; box-shadow: inset 0 0 0 1px #e6aab2; }
.trend-legend .sw.plain { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.preview-strip { background: #0b1f3a; color: #fff; padding: 0.6rem var(--gutter, 1rem); font-size: 0.9rem; }
/* Trend card: up to 10 bars */
.trend-bars { gap: 0.4rem; }
/* Phones/tablets: board scrolls sideways; player column stays pinned (existing pattern), trend cells compact */
@media (max-width: 1199px) {
  .props-table { min-width: 66rem; }
  .props-table td.tr-cell strong { font-size: 1rem; }
}
/* Phones: each prop becomes a card. Top: player + pick. Middle: prop / line / books / proj.
   Bottom: the six trend boxes in one row (DVP STRK L5 L10 H2H SZN), then the short "Why". */
@media (max-width: 639px) {
  .trend-legend { font-size: 1rem; gap: 0.35rem 0.9rem; }
  .props-table, .props-table tbody, .props-table caption { display: block; min-width: 0 !important; width: 100%; }
  .props-table thead { display: none; }
  .lh-table-wrap, #props-explorer .table-wrap, [data-sport-props] .table-wrap { max-height: none !important; overflow: visible !important; }
  .props-table tr.prop-row, .props-table tr.row-locked {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; background: var(--paper);
    border-radius: 14px; margin: 0 0 0.8rem; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,0.06);
  }
  .props-table tbody tr:nth-child(even) td { background: transparent; }
  .props-table td { display: block; padding: 0.55rem 0.7rem; border: 0 !important; position: static !important; box-shadow: none !important; min-width: 0 !important; max-width: none !important; width: auto !important; background: transparent; }
  table.data.props-table { font-size: 0.98rem; }
  table.data.props-table tr.prop-row > td, table.data.props-table tr.row-locked > td { display: block !important; }
  .props-table td.player-cell { grid-column: 1 / -1; padding-top: 0.85rem; }
  .props-table td.player-cell .row-mobile-extra { display: none; }
  .props-table td.prop-cell, .props-table td.line-cell, .props-table td.pick-cell { grid-column: span 2; }
  .props-table td.books-cell, .props-table td.proj-cell { grid-column: span 3; text-align: left; }
  .props-table td.line-cell { text-align: left; }
  .props-table td[data-l]::before { content: attr(data-l); display: block; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink, #0f172a); margin-bottom: 0.15rem; }
  .props-table td.tr-cell { grid-column: span 1; text-align: center; padding: 0.5rem 0.15rem; box-shadow: none !important; border-top: 1px solid var(--line) !important; }
  .props-table td.tr-cell.tr-start { box-shadow: none !important; }
  .props-table td.tr-cell strong { font-size: 0.98rem; }
  .props-table td.tr-cell .tr-n { font-size: 0.95rem; }
  .props-table td.matchup-cell { grid-column: 1 / -1; font-size: 0.86rem; padding-bottom: 0.8rem; }
  .props-table td.lock-cell { grid-column: 1 / -1; }
  .props-table tr.prop-detail { display: block; margin: -0.6rem 0 0.8rem; }
  .props-table tr.prop-detail[hidden] { display: none; }
  .props-table tr.prop-detail td { display: block; }
}

/* Compact Pass tag + short reason; full text in <details>, never clamped. */
.props-table .matchup-cell .why-wrap { overflow: visible; }
.props-table .matchup-cell .why-wrap p { margin: 0 0 0.2rem; }
.props-table .matchup-cell .pass-note { font-size: 0.84rem; }

/* Slim free-sample + members teaser (FF-27). Replaces the two tall side-by-side cards. */
.prop-cards.prop-cards-strip,
.prop-cards:has(.prop-strip) {
  display: block;
  grid-template-columns: none;
  gap: 0;
}
.prop-cards:empty { display: none; }
.prop-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.65rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0.65rem 0 0.15rem;
  padding: 0.4rem 0.9rem;
  background: var(--gold-soft, #f8eedc);
  color: var(--ink, #132033);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.3;
  border-radius: 0.5rem;
  min-height: 0;
}
.prop-strip-label { font-weight: 800; }
.prop-strip-free { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.4rem; min-width: 0; }
.prop-strip-sample {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.prop-strip-sample:hover { color: var(--gold-deep, #b07912); text-decoration: underline; }
.prop-strip-sep, .prop-strip-dot { color: var(--muted, #6b7280); font-weight: 800; }
.prop-strip-upsell {
  margin-left: auto;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-weight: 700;
}
.prop-strip-upsell:hover { text-decoration: none; }
.prop-strip-upsell:hover .prop-strip-more { text-decoration: underline; }
.prop-strip-cta {
  background: var(--navy, #132033);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.prop-strip-upsell:hover .prop-strip-cta { background: var(--navy, #132033); color: #fff; filter: brightness(1.12); }
.prop-strip-upsell:focus-visible {
  outline: 2px solid var(--gold, #e8a01a);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (max-width: 639px) {
  .prop-strip { padding: 0.4rem 0.7rem; border-radius: 0.6rem; }
  .prop-strip-upsell { margin-left: 0; }
}

/* ===== FF-35 Edges only: toggle next to PrizePicks / Underdog, tags on edge rows ===== */
.board-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin: 0;
}
.board-toggles > .app-filter { margin: 0; }
.filters .board-toggles { width: 100%; margin: 0 0 0.85rem; }
@media (min-width: 800px) {
  [data-sport-props] > .board-toggles { grid-column: 1; }
}
.edges-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0b5a2e;
  background: #fff;
  border: 2px solid #1d7a46;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(19, 32, 51, 0.06);
}
.edges-toggle .edges-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid #1d7a46;
  border-radius: 0.3rem;
  font-size: 0.95rem;
  line-height: 1;
}
.edges-toggle .edges-n { font-variant-numeric: tabular-nums; font-weight: 700; }
.edges-toggle:hover { background: #eaf6ef; }
.edges-toggle[aria-pressed="true"] { background: #1d7a46; color: #fff; }
.edges-toggle[aria-pressed="true"] .edges-check { border-color: #fff; background: #fff; color: #1d7a46; }
.edges-toggle:focus-visible { outline: 3px solid var(--gold, #e8a01a); outline-offset: 2px; }
.edges-toggle[hidden] { display: none; }

.props-table td.pick-cell .edge-tag,
.edge-tag {
  display: inline-block;
  margin: 0.3rem 0 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  vertical-align: middle;
}
.edge-strong { background: #d5f0df; color: #0b4d27; border: 1px solid #7cc79a; }
.edge-mid { background: #fdecc8; color: #6b4200; border: 1px solid #e9b75a; }
.edge-bump {
  display: block;
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #8a2a00;
  white-space: normal;
}
.props-table td.prop-empty.edge-empty {
  color: var(--ink, #132033);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1.4rem 1rem;
  text-align: center;
}
.props-table tr.edge-upsell td.lock-cell { padding: 0.9rem 1rem; }
.props-table tr.edge-upsell td.lock-cell a { font-size: 1.05rem; color: #6b4200; }
.props-table tr.edge-upsell td.lock-cell,
.props-table tr.edge-upsell td.lock-cell a { white-space: normal; overflow: visible; text-overflow: clip; }
.props-table tr.edge-upsell td.lock-cell a { display: block; line-height: 1.35; }
.sport-props-filters .filter-bar { min-width: 10rem; flex-basis: 11rem; }
@media (max-width: 639px) {
  /* phone card: PROP | LINE on one row, then a full-width PICK row with the lean, the tag and any bump note */
  .props-table tr.prop-row:has(.edge-tag) td.prop-cell,
  .props-table tr.prop-row:has(.edge-tag) td.line-cell { grid-column: span 3; }
  .props-table tr.prop-row td.pick-cell:has(.edge-tag) { grid-column: 1 / -1; white-space: normal; padding-top: 0.2rem !important; }
  .props-table td.pick-cell .edge-tag { margin: 0 0 0 0.4rem; }
}
@media (max-width: 520px) {
  .board-toggles { width: 100%; }
  .board-toggles > .app-filter { width: 100%; }
  .edges-toggle { font-size: 1rem; padding: 0.5rem 0.9rem; }
}

/* Nightly QA 2026-11-20: empty props table must not widen the page on phones */
@media (max-width: 639px) {
  .props-table td.prop-empty { display: block; width: auto; min-width: 0; white-space: normal; }
  .hub-section { grid-template-columns: minmax(0, 1fr); }
  .hub-section > * { min-width: 0; }
}

/* FF-47: Prop column matches Player and Line weight/color */
.props-table td.prop-cell,
table.data td.prop-cell {
  font-weight: 700;
  color: var(--ink, #132033);
}
.props-table td.prop-cell .sub,
table.data td.prop-cell .sub {
  font-weight: 700;
  color: var(--ink, #0f172a);
}


/* Day grouping + upcoming filter (Nov 22 2026 early board) */
.day-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0.4rem;
}
.day-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--line, #cbd5e1);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #0f172a);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}
.day-chip:hover, .day-chip:focus-visible { border-color: var(--ink, #0f172a); }
.day-chip.is-on {
  background: var(--ink, #0f172a);
  color: #fff;
  border-color: var(--ink, #0f172a);
}
.day-chip-count {
  font-size: 1rem;
  font-weight: 800;
  opacity: 1;
}
.day-group td {
  background: #e8eef6;
  color: var(--ink, #0f172a);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0.7rem 0.85rem;
  border-top: 2px solid #0f172a;
}
.day-group-label { letter-spacing: 0; }
.line-move.is-changed {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  background: #fff6e5;
  color: #7a3e00;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}
.line-move-flag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  font-weight: 900;
}
.line-move.is-changed.is-up { background: #e7f7ee; color: #14532d; }
.line-move.is-changed.is-down { background: #fdece7; color: #7c2d12; }

.game-group td {
  background: #eef2f7;
  color: var(--ink, #0f172a);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.55rem 0.85rem;
  border-top: 1px solid #64748b;
}
.game-group-label { letter-spacing: 0; }
@media (max-width: 639px) {
  .props-table tr.day-group,
  .props-table tr.game-group {
    display: block;
    margin: 0 0 0.55rem;
    border-radius: 10px;
    overflow: hidden;
  }
  .props-table tr.day-group td,
  .props-table tr.game-group td {
    display: block;
    width: 100%;
  }
}

/* Stars toggle (Nov 24): same pill as Edges only, gold so the two read as different filters */
.stars-toggle { color: #6b4200; border-color: #a86a00; }
.stars-toggle .edges-check { border-color: #a86a00; }
.stars-toggle .stars-ico { color: #b7791f; font-size: 1.1rem; line-height: 1; }
.stars-toggle:hover { background: #fdf3dc; }
.stars-toggle[aria-pressed="true"] { background: #8a5600; border-color: #8a5600; color: #fff; }
.stars-toggle[aria-pressed="true"] .edges-check { border-color: #fff; background: #fff; color: #8a5600; }
.stars-toggle[aria-pressed="true"] .stars-ico { color: #ffe08a; }
.stars-note {
  margin: 0 0 0.85rem;
  padding: 0.6rem 0.9rem;
  border-left: 4px solid #a86a00;
  background: #fdf6e6;
  color: #3d2a00;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 0.35rem;
}
.stars-note[hidden] { display: none; }


/* Games filter: All / Early / Late / Night on props, Edges, and Trends */
.lh-game-windows {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
  margin: 0.55rem 0 0.9rem;
  padding: 0.75rem 0.85rem;
  border: 2px solid var(--line, #cbd5e1);
  border-radius: 14px;
  background: var(--paper, #fff);
}
.lh-game-windows[hidden] { display: none !important; }
.lh-game-windows-top {
  width: min(100% - 1.5rem, var(--max, 80rem));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.lh-game-windows-label {
  font-size: max(16px, 1.05rem);
  font-weight: 800;
  color: var(--ink, #0f172a);
  margin-right: 0.2rem;
}
.lh-game-windows-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  flex: 1 1 auto;
}
button.lh-game-window {
  font: inherit;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  font-size: max(16px, 1.05rem);
  font-weight: 800;
  line-height: 1.2;
  padding: 0.5rem 0.95rem;
  border-radius: 12px;
  border: 2px solid var(--line, #cbd5e1);
  background: var(--paper, #fff);
  color: var(--ink, #0f172a);
  cursor: pointer;
  min-height: 3.1rem;
  opacity: 1;
}
button.lh-game-window .lh-game-window-name {
  font-size: max(16px, 1.05rem);
  font-weight: 800;
  color: inherit;
}
button.lh-game-window .lh-game-window-meta {
  font-size: max(15px, 1rem);
  font-weight: 700;
  color: inherit;
}
button.lh-game-window.is-on,
button.lh-game-window[aria-pressed="true"]:not(:disabled) {
  background: var(--navy, #132033);
  color: #fff;
  border-color: var(--navy, #132033);
}
button.lh-game-window:disabled,
button.lh-game-window.is-off,
button.lh-game-window[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 1 !important;
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  background: #e2e8f0;
  border-color: #1e293b;
}
.lh-game-windows-note {
  flex: 1 0 100%;
  margin: 0;
  font-size: max(15px, 1rem);
  font-weight: 700;
  color: var(--ink, #0f172a);
  line-height: 1.35;
}
@media (max-width: 639px) {
  .lh-game-windows { width: 100%; padding: 0.7rem; }
  .lh-game-windows-pills { width: 100%; }
  button.lh-game-window { flex: 1 1 calc(50% - 0.5rem); min-height: 3.25rem; }
}
/* Off-day message in the Games filter spot (sport hubs with no games today). */
.lh-offday { margin: 0; font-size: 17px; font-weight: 800; color: #0b1f3a; line-height: 1.45; }
