/* ─────────────────────────────────────────────
   FirstSnap.net — /game subscriber detail
   Reuses today.css td-* primitives + styles.css tokens
───────────────────────────────────────────── */

.gd-wrap { position: relative; z-index: 2; }

/* ── Subscriber action bar (sits under header) ── */
.gd-actions {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.gd-action-grp {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.gd-action {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  border-radius: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.gd-action:hover {
  background: var(--surface2);
  border-color: var(--chalk-border);
  color: var(--text);
}
.gd-action.saved {
  background: var(--chalk-bg);
  border-color: var(--chalk-border);
  color: var(--chalk);
}
.gd-action.saved::before { content: '★'; }
.gd-action .ico {
  font-size: 13px; color: var(--muted);
}
.gd-action:hover .ico { color: var(--chalk); }

.gd-meta-strip {
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 10px;
}
.gd-meta-strip .v { color: var(--text-2); font-weight: 700; }
.gd-meta-strip .live {
  color: var(--turf); font-weight: 700;
}
.gd-meta-strip .live::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--turf); margin-right: 5px;
  vertical-align: 1px;
}

/* ── Quick-stats strip under verdict ── */
.gd-quick {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 1100px) { .gd-quick { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gd-quick { grid-template-columns: repeat(2, 1fr); } }

.gd-quick-cell {
  background: rgba(3, 17, 10, 0.45);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.gd-quick-l {
  font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); font-weight: 700;
}
.gd-quick-v {
  font-size: 17px; font-weight: 800;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}
.gd-quick-v.chalk { color: var(--chalk); }
.gd-quick-v.turf { color: var(--turf); }
.gd-quick-v.away { color: var(--team-away); }
.gd-quick-v.home { color: var(--team-home); }
.gd-quick-sub {
  font-size: 10.5px; color: var(--muted);
  font-family: var(--font-mono);
}

/* ── Line history mini-charts ── */
.gd-line-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .gd-line-grid { grid-template-columns: 1fr; } }

.gd-line-card {
  background: rgba(3, 17, 10, 0.45);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  padding: 14px 16px 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.gd-line-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px;
}
.gd-line-lbl {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); font-weight: 700;
}
.gd-line-val {
  font-family: var(--font-mono);
  font-size: 17px; font-weight: 800;
  color: var(--text); letter-spacing: -0.015em;
}
.gd-line-val .delta {
  font-size: 11.5px; margin-left: 6px;
  color: var(--turf); font-weight: 700;
}
.gd-line-val .delta.neg { color: var(--neg); }
.gd-line-svg { width: 100%; height: 56px; display: block; }
.gd-line-foot {
  display: flex; justify-content: space-between;
  font-size: 10.5px; font-family: var(--font-mono);
  color: var(--muted);
}
.gd-line-foot .v { color: var(--text-2); font-weight: 600; }
.gd-line-foot .pos { color: var(--turf); font-weight: 700; }

/* ── Audit log (model timeline) ── */
.gd-audit {
  background: rgba(3, 17, 10, 0.45);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  padding: 4px 0;
  overflow: hidden;
}
.gd-audit-row {
  display: grid;
  grid-template-columns: 130px 28px 1fr 110px;
  align-items: start;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 13px;
}
.gd-audit-row:last-child { border-bottom: none; }
.gd-audit-when {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.gd-audit-when .day {
  display: block;
  color: var(--text-2); font-weight: 700;
}
.gd-audit-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--surface3);
  border: 2px solid var(--surface);
  margin-top: 4px;
  justify-self: center;
}
.gd-audit-dot.live {
  background: var(--turf);
}
.gd-audit-dot.up { background: var(--chalk); }
.gd-audit-dot.down { background: var(--neg); }
.gd-audit-body {
  color: var(--text-2);
  line-height: 1.55;
}
.gd-audit-body .v {
  font-family: var(--font-mono);
  color: var(--text);
  font-weight: 700;
}
.gd-audit-body .pos { color: var(--turf); font-weight: 700; }
.gd-audit-body .neg { color: var(--neg); font-weight: 700; }
.gd-audit-body .chalk { color: var(--chalk); font-weight: 700; }
.gd-audit-tag {
  text-align: right;
  font-size: 10.5px; font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.gd-audit-tag.up { color: var(--turf); }
.gd-audit-tag.down { color: var(--neg); }
.gd-audit-tag.note { color: var(--muted); }
@media (max-width: 720px) {
  .gd-audit-row { grid-template-columns: 90px 18px 1fr; }
  .gd-audit-tag { display: none; }
}

/* ── Props by position ── */
.gd-prop-group {
  display: flex; flex-direction: column; gap: 10px;
}
.gd-prop-group + .gd-prop-group { margin-top: 14px; }
.gd-prop-h {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.gd-prop-h::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--border-soft), transparent);
}
.gd-prop-h .count {
  font-family: var(--font-mono); color: var(--muted-2);
  font-weight: 600;
}

/* ── Comparables (historical matches) ── */
.gd-comp {
  background: rgba(3, 17, 10, 0.45);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  overflow: hidden;
}
.gd-comp-row {
  display: grid;
  grid-template-columns: 90px 1fr 90px 80px 70px;
  gap: 14px;
  align-items: center;
  padding: 11px 16px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border-soft);
}
.gd-comp-row:last-child { border-bottom: none; }
.gd-comp-row.head {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); font-weight: 700;
  background: rgba(3, 17, 10, 0.55);
}
.gd-comp-date {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 11.5px;
}
.gd-comp-game {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-2);
}
.gd-comp-game .v { color: var(--text); font-weight: 700; }
.gd-comp-result {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  text-align: right;
}
.gd-comp-q1 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--chalk);
  text-align: right;
}
.gd-comp-q1.cold { color: var(--muted); }
.gd-comp-grade {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-align: right;
}
.gd-comp-grade.win { color: var(--turf); }
.gd-comp-grade.loss { color: var(--neg); }
.gd-comp-grade.push { color: var(--muted); }
@media (max-width: 720px) {
  .gd-comp-row { grid-template-columns: 80px 1fr 70px; }
  .gd-comp-result, .gd-comp-q1 { display: none; }
}

/* ── Kickoff countdown card ── */
.gd-kick {
  background: var(--surface);
  border: 1px solid var(--chalk-border);
  border-radius: 0;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.gd-kick-l {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--chalk); font-weight: 700;
}
.gd-kick-v {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.gd-kick-num {
  font-size: 38px; font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text); line-height: 1;
}
.gd-kick-u {
  font-size: 12px; color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 8px;
}
.gd-kick-when {
  font-size: 12px; color: var(--muted-2);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ── Save-to-bankroll widget ── */
.gd-save {
  display: flex; flex-direction: column; gap: 12px;
}
.gd-save-h {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--chalk); font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.gd-save-h::before {
  content: ''; width: 14px; height: 2px;
  background: var(--chalk); border-radius: 0;
}
.gd-save-row {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 8px;
  align-items: stretch;
}
.gd-save-input {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color .15s, background .15s;
}
.gd-save-input:focus {
  border-color: var(--chalk-border);
  background: var(--bg);
}
.gd-save-units {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0 12px;
  justify-content: center;
  font-weight: 700;
}
.gd-save-quick {
  display: flex; gap: 6px;
}
.gd-save-quick button {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--muted);
  padding: 5px 0;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.gd-save-quick button:hover {
  background: var(--surface2);
  color: var(--text);
  border-color: var(--chalk-border);
}
.gd-save-foot {
  font-size: 11px; color: var(--muted-2);
  font-family: var(--font-mono);
  line-height: 1.5;
}
.gd-save-foot .v { color: var(--text-2); font-weight: 600; }

/* ── Sibling games (sticky rail) ── */
.gd-sib {
  display: flex; flex-direction: column; gap: 6px;
}
.gd-sib-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  background: rgba(3, 17, 10, 0.45);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  font-size: 12.5px;
}
.gd-sib-row:hover {
  background: var(--surface2);
  border-color: var(--chalk-border);
}
.gd-sib-row.active {
  background: var(--chalk-bg);
  border-color: var(--chalk-border);
}
.gd-sib-game {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}
.gd-sib-tag {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700;
}
.gd-sib-tag.gold { color: var(--chalk); }
.gd-sib-tag.wager { color: var(--text-2); }
.gd-sib-tag.lean { color: var(--muted); }
.gd-sib-edge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--turf);
  font-weight: 700;
}

/* The .gd-bundle callout was removed from game.html on 2026-09-07 along with
   the NRFI cross-promo it carried; its rules went with it. */


/* ─────────────────────────────────────────────
   Broadcast type layer. Display face on headings, mono on figures, condensed
   uppercase on micro-labels. Appended so the authored rules above stay intact.
───────────────────────────────────────────── */
.gd-line-head, .gd-prop-h, .gd-save-h, .gd-comp-h {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  line-height: 1.04;
}
.gd-line-val, .gd-quick-val, .gd-sib-edge {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.gd-line-lbl, .gd-quick-lbl, .gd-quick-sub {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Full-game cards: three across, one column on a phone. The four-up Q1 grid
   drops to two, which leaves a three-card row with an orphan. */
.td-mini-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .td-mini-grid.cols-3 { grid-template-columns: 1fr; } }

/* Team-tinted names in the full-game prose, the pair the mini cards use. */
.td-reasoning .home { color: var(--team-home); font-weight: 700; }
.td-reasoning .away { color: var(--team-away); font-weight: 700; }
