/* ncaabb-board-v0.1.2.css — the /ncaamb and /ncaawb boards (ncaa-basketball 003, 2026-10-09).
 *
 * v0.1.2 (ncaa-basketball 011, 2026-10-13): section 4, the men's player-props panel and an
 * unlit header dot (the pill now reads OFF-SEASON / IDLE / NO FEED as well as LIVE).
 * Sections 1 to 3 are unchanged. Retires ncaabb-board-v0.1.1.css (rule 10).
 *
 * v0.1.1 (ncaa-basketball 004, 2026-10-09; NCAAMB #K): section 3 gains the OFF THE BOARD card
 * (a pre-tip game whose line the books pulled, OFF_BOARD=1). Sections 1 and 2 are unchanged.
 * Retires ncaabb-board-v0.1.0.css (rule 10).
 *
 * Version-named, so nginx bucket (1) serves it immutable for a year: a change ships under
 * a NEW name (v0.1.1, ...) and the old one retires by rule 10's three steps.
 * Loaded by staging/html/ncaamb.html and staging/html/ncaawb.html AFTER NFL architect's
 * nfl.css and command-chrome-v0.1.8.css, which both pages load read-only, as ncaaf.html does.
 *
 * Section 1 is ncaaf.html's first inline <style> (itself NFL This Week's at v0.2.87),
 * copied verbatim at ncaaf page v0.1.2. Section 2 is ncaaf.html's second block, verbatim.
 * Section 3 is this board's own. Nothing above section 3 is edited here: a fix to the card
 * system belongs to its owner first (NFL architect, then ncaafb).
 */

/* ── 1. NFL This-Week card system, via ncaaf.html page v0.1.2 (verbatim) ── */
/* ── Game card grid ── */
.game-card-grid {
    margin-bottom: 24px;
}

.day-group {
    margin-bottom: 28px;
}

.day-group-header {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    color: #555450;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 10px;
}

.day-group-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 860px) {
    .day-group-cards { grid-template-columns: 1fr; }
}

/* ── Individual game card ── */
.game-card {
    background: #111111;
    border: 1px solid #1e1e1e;
    border-left: 3px solid #1e1e1e;
    border-radius: 2px;
    margin-bottom: 0;
    cursor: pointer;
    transition: background 0.12s ease, border-left-color 0.12s ease;
    overflow: hidden;
    text-decoration: none;
    display: block;
}
.game-card:hover {
    background: #161616;
    border-left-color: #5DE0AC;
}

/* top section */
.card-top {
    padding: 14px 16px 12px 16px;
    position: relative;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}

.kickoff-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: #5DE0AC;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 5px;
}
.kickoff-time::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5DE0AC;
    flex-shrink: 0;
}

/* v0.2.87 — a played game is not an upcoming one. The live dot and the
   accent green both read as "this is about to happen"; neither is true
   once a final score exists, and the card carried both. No dot, muted
   colour, and the word FINAL rather than a time. */
.final-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: #6b6b68;
    letter-spacing: 0.1em;
}
.card-final {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: #f5f5f0;
    letter-spacing: 0.04em;
    margin-top: 4px;
}
.card-final .fin-w { color: #5DE0AC; }
.card-final .fin-sep { color: #45454a; padding: 0 6px; }

.card-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    color: #444240;
    letter-spacing: 0.08em;
}

.network-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 2px;
    text-transform: uppercase;
}
.network-badge.nbc  { background: rgba(0,180,255,0.10); color: #4dc8f5; border: 1px solid rgba(0,180,255,0.18); }
.network-badge.fox  { background: rgba(255,140,0,0.10); color: #f5a84d; border: 1px solid rgba(255,140,0,0.18); }
.network-badge.espn { background: rgba(255,50,50,0.10); color: #f57070; border: 1px solid rgba(255,50,50,0.18); }
.network-badge.cbs  { background: rgba(0,120,255,0.10); color: #6aacf5; border: 1px solid rgba(0,120,255,0.18); }
.network-badge.abc  { background: rgba(255,220,0,0.10); color: #f5e04d; border: 1px solid rgba(255,220,0,0.18); }
.network-badge.nfl  { background: rgba(93,224,172,0.10); color: #5DE0AC; border: 1px solid rgba(93,224,172,0.18); }
.network-badge.amz  { background: rgba(255,153,0,0.10); color: #f5a84d; border: 1px solid rgba(255,153,0,0.18); }
.network-badge.tnt  { background: rgba(180,0,255,0.10); color: #c96bf5; border: 1px solid rgba(180,0,255,0.18); }

.card-matchup {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #f0eee6;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 4px;
}
.card-matchup .at {
    font-weight: 400;
    color: #666460;
    margin: 0 7px;
}

.card-venue {
    font-family: var(--font-display);
    font-size: 11px;
    color: #666460;
    font-weight: 400;
    margin-bottom: 10px;
}

/* stats row */
.card-stats {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 28px;
}
.stat-block { }
.stat-val {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: #d4d2cc;
    line-height: 1;
}
.stat-val.green { color: #5DE0AC; }
.stat-val.dim { color: #444240; }
.stat-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 500;
    color: #444240;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 3px;
}
.stat-sep {
    width: 1px;
    height: 22px;
    background: #1e1e1e;
    flex-shrink: 0;
}

.card-arrow {
    position: absolute;
    right: 14px;
    bottom: 12px;
    color: #5DE0AC;
    font-size: 14px;
    opacity: 0.6;
}

/* ── Odds table ── */
.card-odds {
    border-top: 1px solid #1a1a1a;
    padding: 0 16px;
}

.odds-table {
    width: 100%;
    border-collapse: collapse;
}

.odds-table thead tr {
    border-bottom: 1px solid #1a1a1a;
}

.odds-table th {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    color: #3a3836;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 0;
    text-align: right;
}
.odds-table th:first-child {
    text-align: left;
    width: 72px;
}
.odds-table th:nth-child(2) { padding-right: 20px; }

.odds-table td {
    padding: 6px 0;
    text-align: right;
    vertical-align: top;
    border-bottom: 1px solid rgba(255,255,255,0.025);
}
.odds-table td:first-child { text-align: left; }
.odds-table td:nth-child(2) { padding-right: 20px; }
.odds-table tbody tr:last-child td {
    border-bottom: none;
    padding-bottom: 11px;
}

.odds-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    color: #444240;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-top: 1px;
}

.odds-open {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #3a3836;
    font-weight: 400;
    line-height: 1.5;
}
.odds-current {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #c8c6c0;
    font-weight: 600;
    line-height: 1.5;
}

/* moneyline stacked pair */
.ml-pair {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ml-row {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
}
.ml-abbr {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: #3a3836;
    letter-spacing: 0.04em;
}
.ml-abbr.current { color: #555450; }

/* book label in odds header */
.odds-book-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: #2a2826;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: right;
    padding: 5px 0 0 0;
    display: block;
}

/* ── Offseason / empty state ── */
.no-games-state {
    padding: 40px 0 20px 0;
    text-align: center;
}
.no-games-icon {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    color: #222220;
    margin-bottom: 12px;
}
.no-games-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: #444240;
    margin-bottom: 6px;
}
.no-games-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #333230;
    letter-spacing: 0.04em;
}

/* loading state */
.card-loading {
    background: #111111;
    border: 1px solid #1a1a1a;
    border-radius: 2px;
    padding: 18px 16px;
    margin-bottom: 8px;
}
.card-loading-line {
    height: 12px;
    background: #1a1a1a;
    border-radius: 2px;
    margin-bottom: 8px;
    animation: pulse 1.4s ease-in-out infinite;
}
.card-loading-line.short { width: 40%; }
.card-loading-line.med   { width: 65%; }
.card-loading-line.long  { width: 90%; }
@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.8; }
}

/* section wrapper */
.section-block {
    margin-bottom: 32px;
}
.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    color: #333230;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-label-tag {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 2px 6px;
    border-radius: 2px;
    border: 1px solid #1e1e1e;
    color: #2a2826;
}
.section-label-tag.wired { border-color: #1e3a2a; color: #5DE0AC; }
.section-label-tag.deferred { border-color: #2a2018; color: #a06830; }


/* ── v0.2.15.1 — Week Command visual system ── */
.nfl-command-main { padding-top: 26px; }
.nfl-command-hero { display:grid; grid-template-columns:minmax(300px,.9fr) minmax(420px,1.55fr); gap:28px; align-items:stretch; margin-bottom:22px; }
.nfl-hero-left { display:flex; flex-direction:column; justify-content:center; min-height:146px; }
.nfl-hero-kicker,.section-label-command { font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:600; color:#555450; letter-spacing:.18em; text-transform:uppercase; }
.nfl-hero-count { display:flex; align-items:baseline; gap:12px; margin-top:8px; line-height:.92; }
.nfl-hero-count #nfl-hero-games { font-family:var(--font-display); font-size:64px; font-weight:900; letter-spacing:-.07em; color:#5DE0AC; text-shadow:0 0 28px rgba(93,224,172,.14); }
.nfl-hero-count span:last-child { font-size:52px; font-weight:900; letter-spacing:-.055em; color:#f5f5f0; }
.nfl-hero-subrow { display:flex; align-items:center; gap:12px; margin-top:15px; flex-wrap:wrap; }
.nfl-hero-pill { display:inline-flex; align-items:center; gap:6px; border:1px solid rgba(93,224,172,.24); background:rgba(93,224,172,.12); color:#5DE0AC; border-radius:99px; padding:6px 15px; font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:700; }
.nfl-hero-note { font-family:'JetBrains Mono',monospace; font-size:10px; color:#555450; letter-spacing:.06em; }
.nfl-hero-right { display:flex; flex-direction:column; gap:12px; min-width:0; }
.nfl-score-grid { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid rgba(255,255,245,.08); border-radius:12px; overflow:hidden; background:rgba(255,255,245,.04); }
.nfl-score-cell { min-height:94px; padding:18px 22px; background:linear-gradient(180deg,rgba(255,255,245,.035),rgba(255,255,245,.01)),#111113; border-right:1px solid rgba(255,255,245,.05); }
.nfl-score-cell:last-child { border-right:none; }
.nfl-score-k { font-family:'JetBrains Mono',monospace; font-size:9px; font-weight:600; color:#6b6b68; letter-spacing:.16em; text-transform:uppercase; margin-bottom:8px; }
.nfl-score-v { font-family:'JetBrains Mono',monospace; font-size:24px; font-weight:800; color:#f5f5f0; }
.nfl-score-s { margin-top:4px; font-family:'JetBrains Mono',monospace; font-size:10px; color:#6b6b68; }
.nfl-read-line { display:flex; align-items:center; gap:9px; min-height:36px; padding:9px 14px; border:1px solid rgba(255,255,245,.08); border-radius:9px; background:rgba(93,224,172,.035); font-family:'JetBrains Mono',monospace; font-size:11px; color:#a3a3a0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nfl-read-line strong { color:#5DE0AC; letter-spacing:.08em; }
.nfl-ledger-toolbar { display:flex; align-items:flex-end; justify-content:space-between; margin:14px 0 18px; padding-bottom:14px; border-bottom:1px solid rgba(255,255,245,.08); }
.section-block-command { margin-bottom:22px; }
.nfl-game-ledger .day-group-header { color:#6b6b68; border-bottom:1px solid rgba(255,255,245,.06); }
.nfl-game-ledger .day-group-cards { gap:14px; }
.nfl-game-ledger .game-card { border-radius:12px; border:1px solid rgba(255,255,245,.08); border-left:1px solid rgba(255,255,245,.08); background:linear-gradient(180deg,rgba(255,255,245,.025),rgba(255,255,245,.006)),#111113; box-shadow:inset 0 1px 0 rgba(255,255,245,.035); transition:transform .16s ease,border-color .16s ease,background .16s ease; }
.nfl-game-ledger .game-card:hover { transform:translateY(-2px); border-color:rgba(255,255,245,.16); background:linear-gradient(180deg,rgba(255,255,245,.035),rgba(255,255,245,.01)),#151518; }
.nfl-game-ledger .card-top { padding:18px 20px 14px; }
.nfl-game-ledger .card-matchup { font-size:22px; color:#f5f5f0; }
.nfl-game-ledger .card-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; padding:0; background:rgba(255,255,245,.04); border:1px solid rgba(255,255,245,.08); border-radius:9px; overflow:hidden; }
.nfl-game-ledger .stat-block { padding:12px 12px 10px; background:rgba(0,0,0,.18); }
.nfl-game-ledger .stat-sep { display:none; }
.nfl-game-ledger .stat-val { font-size:18px; }
.best-context { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; padding:9px 11px; border-radius:9px; border:1px solid rgba(93,224,172,.12); background:linear-gradient(90deg,rgba(93,224,172,.12),rgba(93,224,172,.035)); font-family:'JetBrains Mono',monospace; font-size:11px; color:#a3a3a0; }
.best-context strong { color:#f5f5f0; }
.nfl-signal-strip { margin:4px 0 34px; }
.nfl-signal-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:11px; }
.nfl-signal-tile { position:relative; overflow:hidden; min-height:78px; border:1px solid rgba(255,255,245,.08); border-radius:10px; padding:13px 14px 12px; background:linear-gradient(180deg,transparent 28%,rgba(93,224,172,.075)),#111113; }
.nfl-signal-tile::after { content:''; position:absolute; left:0; right:0; bottom:0; height:3px; background:#5DE0AC; }
.nfl-signal-tile.amber { background:linear-gradient(180deg,transparent 28%,rgba(255,169,64,.08)),#111113; }
.nfl-signal-tile.amber::after { background:#ffa940; }
.sig-name { font-family:'JetBrains Mono',monospace; font-size:10px; color:#a3a3a0; letter-spacing:.08em; }
.sig-value { margin-top:5px; font-family:'JetBrains Mono',monospace; font-size:24px; font-weight:800; color:#5DE0AC; }
.nfl-signal-tile.amber .sig-value { color:#ffa940; }
.sig-sub { margin-top:1px; font-family:'JetBrains Mono',monospace; font-size:10px; color:#6b6b68; }
@media(max-width:980px){ .nfl-command-hero{grid-template-columns:1fr}.nfl-score-grid{grid-template-columns:repeat(2,1fr)}.nfl-signal-grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:620px){ .nfl-hero-count span:last-child{font-size:40px}.nfl-game-ledger .card-stats{grid-template-columns:repeat(2,1fr)} }

/* ── 2. ncaaf.html additions (verbatim) ── */
/* ncaaf.html additions on top of the NFL This-Week card system copied above. */
.rank-chip { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
             color: #5DE0AC; margin-right: 5px; letter-spacing: 0.02em; }
.kicked-tag { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600;
              color: #E8B04B; letter-spacing: 0.06em; }
.game-card.no-door { cursor: default; }
/* page v0.1.2 — header at phone width (page-local; nfl.css has no top-bar breakpoint).
   The pill sits beside the brand, the status items wrap to a second row. */
.sport-pill-host { margin-left: auto; }
@media (max-width: 760px) {
    .top-bar-inner { flex-wrap: wrap; row-gap: 10px; gap: 12px; padding: 12px 16px; }
    .status-block { order: 3; flex: 1 0 100%; gap: 20px; }
    .status-value { white-space: nowrap; }
}

/* ── 3. College basketball board additions (ncaa-basketball 003) ── */
/* ESPN listed no tip time (timeValid=false): the card says so instead of a time. */
.tbd-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500;
           color: #a3a3a0; letter-spacing: 0.08em; }
/* A game priced pre-tip in an earlier pull that has tipped since: its last line is the close. */
.tipped-tag { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600;
              color: #E8B04B; letter-spacing: 0.06em; }
.team-record { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500;
               color: #6b6b68; margin-left: 5px; letter-spacing: 0.02em; }
.stat-val.tv { font-size: 13px; letter-spacing: 0.02em; }
.no-games-sub + .no-games-sub { margin-top: 6px; }

/* v0.1.1 (NCAAMB #K): the books pulled this pre-tip line. The card stays, dimmed and dashed,
   with its last line under "Last seen"; the struck spread is not a live market. */
.game-card.off-board { opacity: 0.72; border-style: dashed; }
.off-board-tag { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600;
                 color: #E8B04B; letter-spacing: 0.06em; border: 1px solid rgba(232, 176, 75, 0.45);
                 border-radius: 3px; padding: 1px 5px; margin-right: 6px; }
.off-board-note { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #a3a3a0;
                  letter-spacing: 0.02em; margin: 4px 0 2px; }
.stat-val.pulled { color: #a3a3a0; text-decoration: line-through; text-decoration-color: rgba(232, 176, 75, 0.7); }

/* ── 4. v0.1.2 (ncaa-basketball 011) ── */
/* The header dot is lit only on LIVE; OFF-SEASON, IDLE and NO FEED leave it grey. */
.status-dot:not(.active) { background: #3a3a38; box-shadow: none; animation: none; }

/* Player props: one collapsed panel per men's card, PrizePicks lines first. */
.bb-props { margin: 0 20px 14px; border: 1px solid rgba(255,255,245,.08); border-radius: 9px;
            background: rgba(0,0,0,.18); }
.bb-props > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px;
                      padding: 9px 11px; cursor: pointer; list-style: none;
                      font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #a3a3a0; }
.bb-props > summary::-webkit-details-marker { display: none; }
.bb-props > summary::after { content: '+'; color: #5DE0AC; font-weight: 700; margin-left: 6px; }
.bb-props[open] > summary::after { content: '−'; }
.bb-props-k { color: #5DE0AC; font-weight: 700; letter-spacing: .1em; }
.bb-props-n { margin-left: auto; color: #6b6b68; }
.bb-props-scroll { overflow-x: auto; padding: 0 11px; }
.bb-props-table { width: 100%; border-collapse: collapse; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.bb-props-table th { font-size: 9px; font-weight: 600; color: #6b6b68; letter-spacing: .12em; text-align: right;
                     padding: 6px 0 6px 10px; border-bottom: 1px solid rgba(255,255,245,.06); }
.bb-props-table th:first-child, .bb-props-table td:first-child { text-align: left; padding-left: 0; }
.bb-props-table td { color: #f5f5f0; text-align: right; padding: 5px 0 5px 10px; white-space: nowrap;
                     border-bottom: 1px solid rgba(255,255,245,.04); }
.bb-props-table tbody tr:last-child td { border-bottom: none; }
.bb-prop-player { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.bb-prop-team { color: #6b6b68; font-size: 9px; letter-spacing: .06em; margin-right: 6px; }
.bb-prop-none { color: #3a3a38 !important; }
.bb-prop-alt { color: #E8B04B; font-size: 8px; margin-left: 2px; letter-spacing: .04em; }
.bb-props-foot { padding: 8px 11px 10px; font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #6b6b68; }
