/* ==========================================================================
   Odds Tracker Page Styles
   Location: /styles/odds-tracker.css
   ========================================================================== */

/* --- Global overrides for front.css --- */
.odds-page button {
    background-color: transparent !important;
    margin-bottom: 0 !important;
}
.odds-page table tr:hover {
    background-color: transparent;
    cursor: default;
}
.odds-page table {
    margin-bottom: 0;
}

/* --- Layout --- */
.odds-page {
    padding-top: 80px;
    padding-bottom: 60px;
    max-width: 100%;
}

/* --- Controls Row --- */
.odds-controls {
    display: flex;
    align-items: center;
}
.odds-controls .btn-group .btn {
    /* Match /players default Bootstrap sizing */
}
.odds-controls .form-control {
    /* Inherits global pill styling from front.css */
}
.odds-controls .gap-2 > * {
    margin-right: 8px;
}
/* The search runs on Enter; on a phone (or any touch screen) a check button
   beside the box runs it too (odds-tracker.js runSearch). Hidden on a tab
   with no search (.is-off). */
.odds-search-go {
    display: none;
}
/* !important: ".odds-page button" and front.css's "button" set the background !important. */
.odds-controls .odds-search-go,
.odds-controls .odds-search-go:hover {
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;   /* no taller than the search box: the row stays as it was */
    padding: 0;
    border: 1px solid var(--tmb-blue) !important;
    border-radius: 50% !important;
    background: var(--tmb-blue) !important;
    color: #fff !important;
    font-size: 12px;
    cursor: pointer;
}
@media (max-width: 768px), (pointer: coarse) {
    .odds-controls .odds-search-go { display: inline-flex; }
    .odds-controls .d-flex > .odds-search-go { width: 28px !important; }
}
.odds-search-go.is-off { display: none !important; }

/* The (x) inside the search box's right edge: empties it (odds-tracker.js
   syncSearchClear). Shown only while the box holds text. */
/* A board whose search is the game's players (OddsConfig.searchGamePlayers):
   hidden off the Props tab, whatever .show() / .hide() set inline. */
.odds-search-wrap.odds-search-off,
.odds-search-go.odds-search-off {
    display: none !important;
}
.odds-search-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.odds-controls .odds-search-wrap #odds-search {
    padding-right: 26px;
}
.odds-search-clear {
    display: none;
}
.odds-controls .odds-search-wrap.has-text .odds-search-clear,
.odds-controls .odds-search-wrap.has-text .odds-search-clear:hover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: var(--tmb-gray-500) !important;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
.odds-controls .odds-search-wrap.has-text .odds-search-clear:hover {
    color: var(--tmb-gray-700) !important;
}

/* --- Book Filter Multiselect ---
   The component is styles/edges-multiselect.css (loaded before this file).
   /odds/ differs only here: the dropdown opens right-aligned, and the button
   stays white whatever else paints buttons in the controls row. */
.odds-page .edges-ms-btn {
    background: #fff !important;
}
.odds-page .edges-ms-dropdown {
    left: auto;
    right: 0;
}

/* --- Tabs --- */
.odds-tabs {
    border-bottom: 2px solid var(--tmb-gray-300);
    margin-bottom: 0;
}
.odds-tabs .nav-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--tmb-gray-700);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 20px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}
.odds-tabs .nav-link:hover {
    color: var(--tmb-blue);
    border-bottom-color: var(--tmb-blue);
}
.odds-tabs .nav-link.active {
    color: var(--tmb-blue);
    border-bottom-color: var(--tmb-blue);
    background: transparent;
}
/* "Odds updated" at the tab row's far right, on the tabs' line. */
.odds-tabs .odds-updated-item {
    margin-left: auto;
    align-self: center;
    white-space: nowrap;
}

/* --- Table Wrapper --- */
.odds-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--tmb-gray-300);
    border-top: none;
    background: #fff;
}

/* The book row under the sticky site header and sport bar (since
   2026-11-07; Zach). The page scrolls, not the table: the wrap scrolls
   sideways only, and a copy of the table's header row (.odds-float-head,
   odds-tracker.js floatHead()) is fixed at --odds-sticky-top once the real
   row would pass under the header, follows the wrap's sideways scroll, and
   goes with the table's last rows. A sticky thead cannot do it: the wrap's
   overflow-x makes the wrap the box it sticks in. Until that day the wrap
   was a vertical scroller as tall as the screen, and its header row was cut
   whenever the page was scrolled to put the wrap's top under the header.
   The copy's table is #games-table-float / #props-table-float, named beside
   the real ids in every header rule. */
.odds-float-head {
    position: fixed;
    z-index: 94;          /* under the sport bar (95), the picks bar and the header */
    overflow: hidden;
    display: none;
    box-shadow: 0 2px 4px var(--tmb-black-10);
    background: var(--tmb-gray-100);
}
.odds-float-head.is-on { display: block; }
/* The copy's own query container, the real .tmb-cq-root's width (set in
   floatHeadSync): the table's narrow rules are @container queries, which the
   copy, appended outside that root, never matched. The table overflows it;
   the fixed box is what scrolls sideways. */
.odds-float-head > .odds-float-cq { container-type: inline-size; }
.odds-float-head table { margin: 0; }

/* --- Odds Table --- */
.odds-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    white-space: nowrap;
    table-layout: auto;
}
.odds-table thead th {
    background: var(--tmb-gray-100);
    border-bottom: 2px solid var(--tmb-gray-300);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--tmb-gray-900);
    padding: 8px 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* =====================================================
   GAMES TABLE: Sticky columns order = time | rot | team
   Widths: time=70, rot=44, team=170  → total=284
   ===================================================== */
:is(#games-table, #games-table-float) thead th.time-header {
    text-align: center;
    width: 70px;
    min-width: 70px;
    position: sticky;
    left: 0;
    z-index: 4;
    background: var(--tmb-gray-100);
}
:is(#games-table, #games-table-float) thead th.rot-header {
    text-align: center;
    width: 44px;
    min-width: 44px;
    position: sticky;
    left: 70px;
    z-index: 4;
    background: var(--tmb-gray-100);
}
:is(#games-table, #games-table-float) thead th.game-info-header {
    text-align: left;
    min-width: 170px;
    position: sticky;
    left: 114px;
    z-index: 4;
    background: var(--tmb-gray-100);
    border-right: 2px solid var(--tmb-gray-300);
}
/* Date label in header row */
th.date-in-header {
    font-size: 11px;
    font-weight: 700;
    color: var(--tmb-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
#games-table tbody td.time-cell {
    background: #fff;
    position: sticky;
    left: 0;
    z-index: 1;
    width: 70px;
    min-width: 70px;
    padding: 6px 6px;
}
#games-table tbody td.rot-cell {
    text-align: center;
    background: #fff;
    position: sticky;
    left: 70px;
    z-index: 1;
    width: 44px;
    min-width: 44px;
    padding: 6px 4px;
}
#games-table tbody td.game-info {
    text-align: left;
    font-weight: 600;
    background: #fff;
    position: sticky;
    left: 114px;
    z-index: 1;
    min-width: 170px;
    border-right: 2px solid var(--tmb-gray-300);
}
/* The pop-out to the game's matchup page (the Odds page alone,
   OddsConfig.matchupLinks): one column down the cells' right side, 14px
   in from the border, midway down. The sticky cell is its containing
   block. */
#games-table tbody td.game-info:has(.game-matchup-link) {
    padding-right: 34px;
}
#games-table .game-matchup-link {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 11px;
    line-height: 1;
    color: var(--tmb-gray-500);
    text-decoration: none;
}
#games-table .game-matchup-link:hover,
#games-table .game-matchup-link:focus {
    color: var(--tmb-blue);
}
/* The staff Write-up pencil (odds-tracker.js gameWriteupOpen()): the props
   rows' .prop-writeup-btn, under the matchup link. */
#games-table tbody td.game-info:has(.game-writeup-btn) { padding-right: 34px; }
#games-table td.game-info:has(.game-writeup-btn) .game-matchup-link { top: 32%; }
#games-table .game-writeup-btn {
    position: absolute; right: 14px; top: 68%; transform: translateY(-50%);
    font-size: 11px; line-height: 1; color: var(--tmb-gray-500);
    background: none !important; border: none !important; padding: 0 !important; margin: 0 !important; cursor: pointer;
}
#games-table td.game-info:not(:has(.game-matchup-link)) .game-writeup-btn { top: 50%; }
#games-table .game-writeup-btn:hover,
#games-table .game-writeup-btn:focus { color: var(--tmb-green-700) !important; }

/* =====================================================
   PROPS TABLE: Sticky columns order = time | player
   Widths: time=70, player=200  → total=270
   ===================================================== */
:is(#props-table, #props-table-float) thead th.time-header {
    text-align: center;
    width: 70px;
    min-width: 70px;
    position: sticky;
    left: 0;
    z-index: 4;
    background: var(--tmb-gray-100);
}
:is(#props-table, #props-table-float) thead th.player-info-header {
    text-align: left;
    min-width: 200px;
    position: sticky;
    left: 70px;
    z-index: 4;
    background: var(--tmb-gray-100);
    border-right: 2px solid var(--tmb-gray-300);
}
#props-table tbody td.time-cell {
    background: #fff;
    position: sticky;
    left: 0;
    z-index: 1;
    width: 70px;
    min-width: 70px;
    padding: 6px 6px;
}
#props-table tbody td.player-info {
    text-align: left;
    font-weight: 600;
    background: #fff;
    position: sticky;
    left: 70px;
    z-index: 1;
    border-right: 2px solid var(--tmb-gray-300);
    min-width: 200px;
}
/* The player's pop-out to his Player Stats page, and the admin Write-up
   button (since 2026-10-31): a column down the cell's right side, the
   Games table's pop-out rule; both stacked where a row has the two. The
   sticky cell is their containing block. */
#props-table tbody td.player-info:has(.player-ps-link),
#props-table tbody td.player-info:has(.prop-writeup-btn) {
    padding-right: 34px;
}
#props-table .player-ps-link,
#props-table .prop-writeup-btn {
    position: absolute;
    right: 14px;
    font-size: 11px;
    line-height: 1;
    color: var(--tmb-gray-500);
    text-decoration: none;
}
#props-table .player-ps-link { top: 50%; transform: translateY(-50%); }
#props-table td.player-info:has(.prop-writeup-btn) .player-ps-link { top: 32%; }
#props-table .prop-writeup-btn {
    top: 68%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px;
    color: var(--tmb-green) !important;
    cursor: pointer;
    box-shadow: none !important;
}
#props-table td.player-info:not(:has(.player-ps-link)) .prop-writeup-btn { top: 50%; }
#props-table .player-ps-link:hover,
#props-table .player-ps-link:focus { color: var(--tmb-blue-alt); }
#props-table .prop-writeup-btn:hover,
#props-table .prop-writeup-btn:focus { color: var(--tmb-green-700) !important; }

/* Book header columns */
.odds-table thead th.book-header {
    min-width: 100px;
}
.book-logo {
    vertical-align: middle;
    object-fit: contain;
    border-radius: 3px;
}
.book-header .book-logo {
    margin-right: 3px;
}
.best-book-col .book-logo {
    margin-right: 2px;
}

/* Body cells default */
.odds-table tbody td {
    padding: 6px 8px;
    border-bottom: 1px solid var(--tmb-gray-300);
    text-align: center;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

/* --- Time cell shared styles --- */
.time-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--tmb-gray-700);
    line-height: 1.4;
}
.time-clock {
    font-size: 10px;
    color: var(--tmb-gray-600);
    line-height: 1.4;
}

/* --- Rotation numbers --- */
.rot-num {
    font-size: 11px;
    color: var(--tmb-gray-600);
    font-weight: 400;
    line-height: 1.6;
    min-width: 36px;
    text-align: center;
}

/* Game date separator row */
.odds-table .date-separator td {
    background: var(--tmb-gray-100);
    font-weight: 700;
    font-size: 11px;
    color: var(--tmb-gray-600);
    padding: 2px 10px;
    text-align: left;
    border-bottom: 1px solid var(--tmb-gray-300);
    border-top: 1px solid var(--tmb-gray-300);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.3;
}
/* The row's text (a date, a market, a league) stays in sight when the table
   is scrolled sideways: the cell spans every column, so its text went off
   the left edge with the first books (Zach, 2026-11-16). */
.odds-table .date-separator td > .sep-label {
    display: inline-block;
    position: sticky;
    left: 10px;
}

/* --- Team Logos --- */
.team-logo {
    vertical-align: middle;
    object-fit: contain;
    margin-right: 6px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* --- Player Headshots --- */
.player-headshot {
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Game team rows */
.game-team-row {
    display: flex;
    align-items: center;
    line-height: 1.6;
}
.team-name {
    font-size: 12px;
    color: var(--tmb-gray-900);
    font-weight: 600;
}

/* Team Total market: one row per team. The game's two rows read as a pair
   (a dashed rule between them, solid between games); under the team name,
   who it plays, indented past the 20px logo. */
#games-table tbody tr.tt-row-away td {
    border-bottom-style: dashed;
}
.tt-opp {
    font-size: 11px;
    font-weight: 400;
    color: var(--tmb-gray-600);
    line-height: 1.6;
    padding-left: 26px;
}

/* Player info styling */
.player-info-row {
    display: flex;
    align-items: center;
}
.player-details {
    flex: 1;
    min-width: 0;
}
.player-name {
    font-weight: 600;
    font-size: 12px;
    color: var(--tmb-gray-900);
}
.player-meta {
    font-size: 10px;
    color: var(--tmb-gray-600);
    margin-top: 1px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.player-meta .team-logo {
    margin-right: 2px;
}

/* --- Odds Cell Formatting --- */
.odds-cell {
    min-width: 90px;
}
.game-odds-row {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 2px;
    line-height: 1.6;
    white-space: nowrap;
}
.game-line-col {
    font-weight: 600;
    font-size: 12px;
    color: var(--tmb-gray-900);
    text-align: right;
}
.game-price-col {
    font-size: 11px;
    color: var(--tmb-gray-600);
    text-align: left;
}
.game-price-col.positive,
.game-price-col.negative {
    color: var(--tmb-gray-700);
}
.odds-cell .odds-line {
    font-weight: 600;
    font-size: 12px;
    color: var(--tmb-gray-900);
}
.odds-cell .odds-price {
    font-size: 11px;
    color: var(--tmb-gray-700);
    margin-top: 1px;
}
.odds-cell .odds-price.positive,
.odds-cell .odds-price.negative {
    color: var(--tmb-gray-700);
}
.odds-cell.no-data {
    color: var(--tmb-gray-400);
}

/* A price that opens the book's betslip (odds-tracker.js betLinkHtml).
   Keeps the cell's own colours; the dotted underline is the only tell until
   hover, so the table reads the same with or without links. */
a.betslip-link {
    color: inherit;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
}
a.betslip-link:hover,
a.betslip-link:focus {
    color: var(--tmb-blue);
    text-decoration-style: solid;
}

/* Props: over/under stacked */
.prop-cell {
    min-width: 90px;
}
.prop-cell .prop-over,
.prop-cell .prop-under {
    font-size: 11px;
    line-height: 1.4;
}
.prop-cell .prop-over {
    color: var(--tmb-gray-700);
}
.prop-cell .prop-under {
    color: var(--tmb-gray-700);
}
.prop-cell .prop-line {
    font-weight: 600;
    font-size: 12px;
    color: var(--tmb-gray-900);
}

/* --- Flash Animation for Changed Odds --- */
@keyframes odds-flash {
    0% {
        background-color: color-mix(in srgb, var(--tmb-yellow) 50%, transparent);
    }
    83% {
        background-color: color-mix(in srgb, var(--tmb-yellow) 50%, transparent);
    }
    100% {
        background-color: transparent;
    }
}

.odds-changed {
    animation: odds-flash 6s ease-out forwards;
}

/* --- Empty / Loading States --- */
.odds-table .loading-row td,
.odds-table .empty-row td {
    text-align: center;
    padding: 30px 10px;
    color: var(--tmb-gray-600);
    font-size: 14px;
    font-style: italic;
}

/* An unavailable market explains itself rather than showing a grid of dashes
   (partner audit H14-11). Not italic/grey like the generic empty row — this is
   a status the member is meant to read and act on, not incidental chrome. */
.odds-table .empty-row td.empty-market-cell {
    font-style: normal;
    color: var(--tmb-gray-700);
    font-size: 15px;
    line-height: 1.5;
    padding: 34px 18px;
}
.odds-table .empty-market-cell strong {
    color: var(--tmb-gray-900);
}
.odds-table .empty-market-detail {
    margin-top: 6px;
    font-size: 13px;
    color: var(--tmb-gray-600);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Best Line Highlighting (per-line, not per-cell) --- */
.odds-cell .best-line,
.prop-cell .best-line,
.game-odds-row.best-line {
    background-color: color-mix(in srgb, var(--tmb-brand) 10%, transparent);
    border-left: 2px solid var(--tmb-brand);
    padding-left: 4px;
    margin-left: -6px;
    border-radius: 2px;
}

/* --- Best Line Summary Column --- */
.best-header,
.hold-header {
    font-size: 11px !important;
    min-width: 70px;
}
.best-header {
    min-width: 110px;
    border-left: 2px solid var(--tmb-gray-300);
}
.best-summary-cell {
    min-width: 110px;
    border-left: 2px solid var(--tmb-gray-300);
    background: color-mix(in srgb, var(--tmb-brand) 4%, transparent);
}
.best-row {
    display: grid;
    grid-template-columns: 46px 40px 1fr;
    align-items: center;
    gap: 2px;
    line-height: 1.6;
    white-space: nowrap;
}
.best-line-col {
    font-weight: 600;
    font-size: 12px;
    color: var(--tmb-gray-900);
    text-align: right;
}
.best-price-col {
    font-size: 11px;
    color: var(--tmb-gray-600);
    text-align: right;
}
.best-book-col {
    font-size: 9px;
    font-weight: 600;
    color: var(--tmb-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: left;
}
.best-line-col.best-over,
.best-price-col.best-over {
    color: var(--tmb-gray-700);
}
.best-line-col.best-under,
.best-price-col.best-under {
    color: var(--tmb-gray-700);
}

/* --- Hold Column --- */
.hold-cell {
    min-width: 60px;
    text-align: center;
    vertical-align: middle;
    border-right: 2px solid var(--tmb-gray-300);
}
.hold-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--tmb-gray-600);
}

/* --- Arb Opportunity --- */
.arb-cell {
    background: color-mix(in srgb, var(--tmb-brand) 8%, transparent);
    cursor: help;
    position: relative;
}
.arb-value {
    color: var(--tmb-brand) !important;
    font-weight: 700;
}
.arb-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--tmb-brand);
    padding: 1px 6px;
    border-radius: 3px;
    margin-top: 2px;
    animation: arb-pulse 1.5s ease-in-out infinite;
}

/* A prop arb near the start or past 5% (propArbGuard()): no pulse, grey. */
.arb-badge-verify {
    background: var(--tmb-gray-500);
    animation: none;
}

@keyframes arb-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* --- Sharp Column (game lines) ---
   The sharp books' no-vig price, the best other book against it, and where
   the reference book opened (scripts/odds-tracker.js, SHARP COLUMN). Sits
   before Hold (Zach, 2026-12-02), so Hold keeps the right-hand divider. */
.sharp-header {
    font-size: 11px !important;
    min-width: 130px;
    cursor: help;
}
.sharp-cell {
    min-width: 130px;
    vertical-align: middle;
    white-space: nowrap;
}
.sharp-cell[data-hold-tip] {
    cursor: help;
}
/* One lock over the three columns (placeSummaryLock): the cells' own locks
   are hidden under the band, which holds a single "Members only" link. */
.odds-table.sum-lock-banded .sum-locked-lock {
    display: none;
}
.sum-lock-band {
    position: absolute;
    z-index: 3;
    border: 1px dashed var(--tmb-gray-400);
    border-radius: 8px;
    background: color-mix(in srgb, var(--tmb-gray-100) 35%, transparent);
    cursor: pointer;
}
/* Places the site's one "Members only" chip (paywall.js chip()) on the band. */
.sum-lock-band-label {
    position: absolute;
    left: 50%;
    top: 0;                 /* set by placeSummaryLock: a row's middle, or the first row's foot */
    transform: translate(-50%, -50%);
    display: inline-flex;
}
/* A non-member's Best, Hold or Sharp cell (lockedSummaryCell): a blurred stand-in under a lock. */
.odds-table td.sum-locked {
    cursor: pointer;
}
.sum-locked-link {
    position: relative;
    display: block;
}
.sum-locked-blur {
    display: block;
    filter: blur(4px);
    opacity: 0.6;
    user-select: none;
    pointer-events: none;
}
.sum-locked-name {
    display: block;
    font-weight: 700;
    color: var(--tmb-gray-900);
}
.sum-locked-why {
    display: block;
    font-size: 11px;
    color: var(--tmb-gray-600);
}
/* Places the shared chip over the blurred stand-in. */
.sum-locked-lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* One row a cell, so no columns to hold: line, price and chip flow from the
   left edge the name and the "why" start at (2px bar + 4px = their 6px). */
.sharp-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1.6;
    border-left: 2px solid transparent;
    padding-left: 4px;
    text-align: left;
}
/* The call: the side the sharp books favour, and why. */
.sharp-side {
    font-size: 11px;
    line-height: 1.5;
    padding-left: 6px;
    text-align: left;
    color: var(--tmb-gray-900);
}
.sharp-side-name {
    font-weight: 700;
}
.sharp-side-both .sharp-side-name {
    color: #fff;
    background: var(--tmb-blue-alt-hover);
    padding: 0 5px;
    border-radius: 3px;
}
.sharp-side-why {
    font-size: 10px;
    line-height: 1.4;
    color: var(--tmb-gray-600);
    padding-left: 6px;
    text-align: left;
}
/* The sharp side's row. */
.sharp-row.sharp-toward {
    border-left-color: var(--tmb-blue);
}
.sharp-line-col {
    font-weight: 600;
    font-size: 12px;
    color: var(--tmb-gray-900);
}
.sharp-line-col:empty {
    display: none;
}
.sharp-price-col {
    font-size: 11px;
    color: var(--tmb-gray-600);
}
.sharp-edge-col {
    padding-left: 2px;
}
.sharp-edge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    background: var(--tmb-blue-alt-hover);
    padding: 0 5px;
    border-radius: 3px;
}
.sharp-edge a.betslip-link,
.sharp-edge a.betslip-link:hover {
    color: #fff;
}
.sharp-edge-verify {
    background: var(--tmb-gray-500);
}
/* An edge of 1% to 2%: printed, not flagged. */
.sharp-edge-soft,
.sharp-edge-soft a.betslip-link,
.sharp-edge-soft a.betslip-link:hover {
    background: none;
    color: var(--tmb-gray-600);
    font-weight: 600;
    padding: 0;
}
.sharp-flagged {
    background: color-mix(in srgb, var(--tmb-blue) 7%, transparent);
}
/* --- Middle Column (props) ---
   Sits after Hold, so it takes over Hold's right-hand divider. */
#props-table .hold-cell {
    border-right: none;
}
.middle-header {
    font-size: 11px !important;
    min-width: 92px;
}
.middle-cell {
    min-width: 92px;
    text-align: center;
    vertical-align: middle;
    border-right: 2px solid var(--tmb-gray-300);
    white-space: nowrap;
    line-height: 1.35;
}
.middle-cell[data-hold-tip] {
    cursor: help;
}
.middle-window {
    font-size: 12px;
    font-weight: 600;
    color: var(--tmb-gray-700);
}
.middle-books {
    font-size: 9px;
    font-weight: 600;
    color: var(--tmb-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.middle-odds {
    font-size: 10px;
    color: var(--tmb-gray-600);
}
.middle-good {
    background: color-mix(in srgb, var(--tmb-blue) 7%, transparent);
}
.middle-good .middle-window {
    color: var(--tmb-blue-alt-hover);
}
.middle-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--tmb-blue-alt-hover);
    padding: 1px 6px;
    border-radius: 3px;
    margin-top: 2px;
}
.middle-badge-verify {
    background: var(--tmb-gray-500);
}

/* "Middles only" filter (Props tab) */
.odds-middles-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

/* Hold info icon */
.hold-info-icon {
    font-size: 9px;
    color: var(--tmb-gray-500);
    margin-left: 2px;
    vertical-align: middle;
}

/* Conversion methodology tooltip */
.conversion-info {
    display: inline-block;
    cursor: help;
    font-size: 13px;
    color: var(--tmb-gray-600);
    vertical-align: middle;
    margin-left: 4px;
}
.conversion-info:hover {
    color: var(--tmb-gray-900);
}
.conv-tooltip {
    position: fixed;
    background: var(--tmb-gray-900);
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    z-index: 10000;
    max-width: 380px;
    text-align: left;
    box-shadow: 0 2px 8px var(--tmb-black-20);
    pointer-events: none;
}

/* --- Conversions Tab --- */
.conversions-wrap {
    background: #fff;
    border: 1px solid var(--tmb-gray-300);
    border-top: none;
    padding: 20px;
}
.conversions-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--tmb-gray-900);
    margin-bottom: 4px;
}
.conversions-subtitle {
    font-size: 12px;
    color: var(--tmb-gray-600);
    margin-bottom: 16px;
}
.conversion-table {
    width: auto;
    border-collapse: collapse;
    font-size: 12px;
    margin-bottom: 24px;
}
.conversion-table thead th {
    background: var(--tmb-gray-100);
    border-bottom: 2px solid var(--tmb-gray-300);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--tmb-gray-900);
    padding: 8px 14px;
    text-align: center;
    white-space: nowrap;
}
.conversion-table tbody td {
    padding: 5px 14px;
    border-bottom: 1px solid var(--tmb-gray-300);
    text-align: center;
    font-size: 12px;
    color: var(--tmb-gray-900);
    white-space: nowrap;
}
.conversion-table tbody tr:hover {
    background-color: var(--tmb-blue-50);
}
.conversion-table .col-spread {
    font-weight: 700;
    color: var(--tmb-gray-900);
}
.conversion-table .col-dog {
    color: var(--tmb-gray-700);
}
.conversion-table .col-fav {
    color: var(--tmb-gray-700);
}
.conversion-table .col-pct {
    color: var(--tmb-gray-600);
    font-size: 11px;
}

/* Conversion tables side-by-side grid */
.conversion-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.conversion-section {
    flex: 1;
    min-width: 280px;
}

/* MLB conversions layout */
.mlb-conversion-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.mlb-conversion-section {
    flex: 1;
    min-width: 250px;
}
.mlb-conversion-section h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--tmb-gray-700);
    margin-bottom: 10px;
}

/* --- Responsive --- */
/* Page-chrome only (.content-wrapper doesn't exist inside a /my-dash/
   widget shell) — stays viewport-only by design. */
@media (max-width: 768px) {
    .content-wrapper > .odds-page {
        padding: 10px 16px !important;
    }
}
/* Widget content — @container, not @media, so this responds to the
   WIDGET's own rendered width on a narrow /my-dash/ column (odds-body.php's
   $odds_main_html is wrapped in .tmb-cq-root), not just the browser
   viewport. The controls row (segment/market dropdowns, search, book
   filter) is NOT wrapped — it's $odds_controls_extra_html, meant to sit
   inside the page's OWN sport-selector row, same reasoning as
   the Player Stats strip's controls — so its own rule below stays @media. */
@media (max-width: 768px) {
    .odds-controls .d-flex {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    .odds-controls .d-flex > * {
        margin-right: 0;
        width: auto !important;
    }
    /* One shared starting width, wider than a pill's padding: from 0 each
       pill would start at its own padding + border (~13px) while Market's
       padless TMB.searchSelect wrapper started at 0, leaving Market 13px
       narrower than its neighbours. */
    .odds-controls .form-control,
    .odds-controls .odds-market-search {
        flex: 1 1 20px;
        min-width: 0;
    }
    .odds-controls .odds-market-search > #market-select {
        width: 100% !important;
    }
    /* min-width 0 let each control shrink to ~48px beside the breadcrumb. A
       floor that holds the longest option ("1st Quarter", "Team Total") plus
       the arrow (styles/select-arrow.css) makes the controls wrap onto
       their own line instead. */
    .odds-controls #segment-select,
    .odds-controls .odds-market-search {
        min-width: 6.75rem;
    }
    /* The search a line of its own, last (Zach, 2026-12-02: one search box site-wide, no check button beside it). */
    .odds-controls .odds-search-wrap {
        flex: 1 1 100%;
        order: 20;
        min-width: 6rem;
    }
    .odds-controls .odds-search-wrap #odds-search {
        width: 100% !important;
        min-width: 0;
    }
}
@container (max-width: 768px) {
    /* Tables go full width. Not scoped to .odds-page, so this still matches
       inside a /my-dash/ widget shell, which has no .odds-page ancestor: the
       same markup is in both. Named by the Odds page's OWN classes
       (.odds-table-wrap, the panel after .odds-tabs): this file is loaded
       for the whole dashboard, where ".tmb-cq-root .table-responsive" was
       every other widget's table too, pulled 16px under its widget's left
       edge (the Player Stats matchup table lost that much of its Stat
       column on a phone, until 2026-10-08). */
    .tmb-cq-root .odds-table-wrap,
    .odds-tabs ~ .tab-content {
        margin-left: -16px;
        margin-right: -16px;
    }
    /* The wrap sits INSIDE that panel: pulled out a second time, the table
       started 16px past the screen's edge and the time column was cut. The
       panel's own edge-to-edge is enough; what is drawn at its left edge
       (the date/time column) is put back on the page's 16px line, the
       hamburger's and the tabs'. !important: front.css gives every cell
       `padding: 6px !important`. */
    .odds-tabs ~ .tab-content .odds-table-wrap {
        margin-left: 0;
        margin-right: 0;
    }
    /* What a panel holds besides its table (the Calculator, Futures' market select) is put
       back on the page's 16px line: pulled out with the panel, it sat on the screen's edge
       (2026-11-26). #odds-calc names its own `padding: 12px 0 24px`, so it is named here too.
       The widget's version (10px) is with the widget's rules below. */
    .odds-page .odds-tabs ~ .tab-content > .tab-pane > :not(.odds-table-wrap),
    .odds-page .odds-tabs ~ .tab-content > .tab-pane > #odds-calc {
        padding-left: 16px;
        padding-right: 16px;
    }
    .odds-page #futures-table .fut-team-col { padding-left: 16px !important; }
    /* The four tabs on one line (366px at 20px a side; a phone's row is 343). */
    .odds-tabs .nav-link { padding-left: 12px; padding-right: 12px; }
    #games-table tbody td.time-cell,
    #props-table tbody td.time-cell,
    :is(#games-table, #games-table-float) thead th.time-header,
    :is(#props-table, #props-table-float) thead th.time-header {
        padding-left: 16px !important;
    }
    /* card flush handled by front.css */
    :is(#games-table, #games-table-float) thead th.game-info-header,
    #games-table tbody td.game-info {
        min-width: 130px;
    }
    :is(#props-table, #props-table-float) thead th.player-info-header,
    #props-table tbody td.player-info {
        min-width: 160px;
    }
    /* One pinned column, not three (Games) or two (Props). The time column
       (70px) and the rotation column (48px, empty in most sports' feeds)
       left a phone about 125px for the books, one at a time; the time goes
       under the teams or the player instead (.game-time-inline) and that
       column is pinned at 0. */
    :is(#games-table, #games-table-float) thead th.time-header,
    #games-table tbody td.time-cell,
    :is(#games-table, #games-table-float) thead th.rot-header,
    #games-table tbody td.rot-cell,
    :is(#props-table, #props-table-float) thead th.time-header,
    #props-table tbody td.time-cell {
        display: none;
    }
    :is(#games-table, #games-table-float) thead th.game-info-header,
    #games-table tbody td.game-info,
    :is(#props-table, #props-table-float) thead th.player-info-header,
    #props-table tbody td.player-info {
        left: 0;
        padding-left: 16px !important;
    }
    :is(#games-table, #props-table) .game-time-inline {
        display: block;
    }
}

/* The game's time under its teams or player: only where the time column is
   hidden (the narrow table above, the phone cards below). */
.game-time-inline {
    display: none;
    font-size: 10px;
    font-weight: 400;
    color: var(--tmb-gray-600);
    line-height: 1.5;
    margin-top: 1px;
}
#games-tbody tr.game-started .game-time-inline::after {
    content: " · started";
}
/* Games: ONE pinned column at every width (Zach, 2026-11-26: the first
   column was wider than it needed to be). The time column (70px) and the
   rotation column (48px: no job writes a rotation number, so it was always
   empty) are gone; the time sits under the teams, on the Alt pill's line,
   as it already did on a phone. The teams column is pinned at 0. */
:is(#games-table, #games-table-float) thead th.time-header,
#games-table tbody td.time-cell,
:is(#games-table, #games-table-float) thead th.rot-header,
#games-table tbody td.rot-cell {
    display: none;
}
:is(#games-table, #games-table-float) thead th.game-info-header,
#games-table tbody td.game-info {
    left: 0;
    padding-left: 10px;
}
@media (min-width: 769px) {
    :is(#games-table, #games-table-float) thead th.game-info-header,
    #games-table tbody td.game-info {
        min-width: 150px;
    }
}
#games-table .game-time-inline {
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
}
/* Props the same way (Zach, the same day): the time column goes, the time
   is the line under the player's teams, the player column pinned at 0. */
:is(#props-table, #props-table-float) thead th.time-header,
#props-table tbody td.time-cell {
    display: none;
}
:is(#props-table, #props-table-float) thead th.player-info-header,
#props-table tbody td.player-info {
    left: 0;
    padding-left: 10px;
}
#props-table .game-time-inline {
    display: block;
}
/* A set width, not only a minimum: the table spans the page, so with few
   books (NBA props: two) the spare width was spread into these columns
   (the player column read 310px for 207 of content). A longer name still
   widens it: in an auto table a cell's width is a preference. */
@media (min-width: 769px) {
    :is(#games-table, #games-table-float) thead th.game-info-header,
    #games-table tbody td.game-info {
        width: 150px;
    }
    :is(#props-table, #props-table-float) thead th.player-info-header,
    #props-table tbody td.player-info {
        width: 200px;
    }
}
/* --- The cells as chips (odds-tracker.js chipCells(); since 2026-11-01) ---
   Each cell's content in a chip, the Player Stats lines bar's design, in the
   one table that scrolls sideways at every width (Zach: no card or chip
   layout on a phone, the table alone). The chip's shell (edge, radius, the
   dashed summary chip, hover) is styles/lines-chips.css's, .tmb-chips on the
   table and .tmb-chip on the wrapper: never a copy of those rules here. What
   follows is the cell's padding handed to the chip, and the cell-level
   hover of a cell that opens the line-movement chart moved onto its chip. */
.odds-table.tmb-chips tbody td:has(> .tmb-chip) {
    padding: 4px;
}
.odds-table.tmb-chips td > .tmb-chip {
    padding: 2px 6px 3px;
    box-sizing: border-box;
}
.odds-table.tmb-chips td > .tmb-chip-sum {
    padding: 3px 6px 4px;
}
.odds-table.tmb-chips td.odds-cell:has(.chart-icon):hover,
.odds-table.tmb-chips td.prop-cell:has(.chart-icon):hover,
.odds-table.tmb-chips td.odds-cell.lm-active,
.odds-table.tmb-chips td.prop-cell.lm-active {
    background-color: transparent;
    box-shadow: none;
}
.odds-table.tmb-chips td:has(.chart-icon):hover > .tmb-chip,
.odds-table.tmb-chips td.lm-active > .tmb-chip {
    background-color: color-mix(in srgb, var(--tmb-blue) 8%, transparent);
    border-color: color-mix(in srgb, var(--tmb-blue) 45%, transparent);
}
/* The Best chip's two rows share ONE grid, each slot as wide as its widest
   entry (Zach, 2026-11-26): the rows' fixed 46px + 40px slots and a book
   slot taking the rest held the NBA column at 192px; a moneyline's empty
   line slot now takes no room. The rows' own grid is display: contents. */
.odds-table.tmb-chips:not(.odds-bars) td.best-summary-cell > .tmb-chip:has(> .best-row) {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 4px;
    align-content: center;
    justify-content: center;
    line-height: 1.6;
}
.odds-table.tmb-chips:not(.odds-bars) td.best-summary-cell > .tmb-chip > .best-row {
    display: contents;
}
/* Best, Hold and Sharp as wide as their widest entry (Zach, 2026-11-26):
   minimums of 110 / 60-70 / 130px held them open (NBA: Hold 72px for a
   45px "2.7% (i)", Sharp 130px for a column of dashes and one call). */
.odds-table.tmb-chips:not(.odds-bars) :is(td.best-summary-cell, .best-header, td.hold-cell, .hold-header, td.sharp-cell, .sharp-header) {
    min-width: 0;
}
/* The tables as wide as their columns, never stretched to the page (Zach,
   2026-11-26): front.css's `table, tbody { width: 100% !important }` beat
   .odds-table's max-content, so with few books (NBA Props: 2) every column
   took a share of the spare width (Best 221px for a 111px chip, a book
   206px; the table 1348 -> 846px). With many books the table is wider than
   the page and scrolls, as before. On the page and in the dashboard Odds
   widget alike (NBA Props in a 1070px widget: 1068 -> 836px); the matchup
   page's bars are .odds-bars and keep theirs. The floating header copies too: their
   inline width (floatHeadSync) lost to the same !important. */
:is(#games-table, #props-table, #games-table-float, #props-table-float, #futures-table).odds-table.tmb-chips:not(.odds-bars) {
    width: max-content !important;
    min-width: 0;
}
/* Futures' books as wide as a price and its + (NBA: 178 -> ~85px, the
   table 1348 -> 776px). */
#futures-table.tmb-chips thead th.book-header {
    min-width: 0;
}
/* Consensus and every book (Games) the same way (Zach, 2026-11-26): the
   rows' fixed 40px line slot ("+4.5" is 27px) gives way to one
   content-sized grid the two rows share (subgrid, so a row without its +
   keeps its columns), and the chart icon sits 6px off, not 10 (NBA Spread:
   Consensus 142 -> 125px, a book about 146 -> 129px, the table 1887 ->
   1730px). */
:is(#games-table, #games-table-float).tmb-chips:not(.odds-bars) :is(td.odds-cell, thead th.book-header) {
    min-width: 0;
}
:is(#games-table, #games-table-float).tmb-chips:not(.odds-bars) td.odds-cell .odds-cell-inner,
:is(#props-table, #props-table-float).tmb-chips:not(.odds-bars) td.prop-cell .prop-cell-inner {
    gap: 6px;
}
:is(#games-table, #games-table-float).tmb-chips:not(.odds-bars) td.odds-cell .odds-cell-content {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 6px;
}
:is(#games-table, #games-table-float).tmb-chips:not(.odds-bars) td.odds-cell .game-odds-row {
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
}
/* The bar's marks on the table (Zach, 2026-11-01): the best price a side on
   yellow (the brand tint and bar the table drew are off), the Sharp cell's
   chip on blue (lines-chips.css .tmb-chip-sharp, set by chipCells()), and
   the two dividers: before Best and after the last summary column (Hold,
   or Sharp when the market has it; Middle on the Props tab), 3px of the
   muted grey as on the bar. */
.odds-table.tmb-chips :is(.odds-cell, .prop-cell) .best-line,
.odds-table.tmb-chips .game-odds-row.best-line {
    background-color: transparent;
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
}
.odds-table.tmb-chips .game-odds-row.best-line .game-price-col,
.odds-table.tmb-chips .prop-cell .best-line .prop-price {
    background: var(--tmb-warning-bg);
    padding: 0 4px;
    border-radius: 3px;
}
.odds-table.tmb-chips .game-odds-row.best-line .game-price-col {
    justify-self: start;
}
.odds-table.tmb-chips .best-header,
.odds-table.tmb-chips td.best-summary-cell {
    border-left: 3px solid var(--tmb-gray-600);
}
.odds-table.tmb-chips .hold-header,
.odds-table.tmb-chips td.hold-cell {
    border-right: 3px solid var(--tmb-gray-600);
}
.odds-table.tmb-chips .sharp-header,
.odds-table.tmb-chips td.sharp-cell,
#props-table.tmb-chips .hold-header,
#props-table.tmb-chips td.hold-cell {
    border-right: none;
}
#props-table.tmb-chips .middle-header,
#props-table.tmb-chips td.middle-cell {
    border-right: 3px solid var(--tmb-gray-600);
}

/* --- The /odds/ page's own table (Zach, 2026-11-01) ---
   No lines between rows: a row is told apart by a pale tint while the
   pointer is on it (the chips change no colour), and even rows carry no
   stripe. Each book's header sits at its chips' left edge, so the drag grip
   lines up with the chip under it. Consensus is set off from the summary
   columns by a light 1px rule, the 3px dividers stay round the summaries'
   other side. On EVERY odds board since 2026-12-02 (Zach: a one-game board,
   the matchup page's or a dashboard's, looks like a row of the Odds page,
   every tile its row's height); the page alone (.content-wrapper > .odds-page)
   until then.
   The ids are in the selectors to outrank front.css's row tints and the
   sticky cells' white. */
.odds-page :is(#games-table, #props-table).tmb-chips tbody tr,
.odds-page :is(#games-table, #props-table).tmb-chips tbody tr:nth-child(even) {
    background-color: transparent;
}
.odds-page :is(#games-table, #props-table).tmb-chips tbody td {
    border-top: 0;
    border-bottom: 0;
}
/* a game being played (live lines, the red LIVE tag) has its whole row a
   very light red (Zach); opaque, so the sticky cells hide what scrolls
   under them. Its hover is a slightly darker red, not the blue (Zach). */
.odds-page :is(#games-table, #props-table).tmb-chips tbody tr.game-live > td {
    background-color: color-mix(in srgb, var(--tmb-red) 5%, white);
}
.odds-page :is(#games-table, #props-table).tmb-chips tbody tr:hover > td {
    background-color: var(--tmb-blue-50);
}
.odds-page :is(#games-table, #props-table).tmb-chips tbody tr.game-live:hover > td {
    background-color: color-mix(in srgb, var(--tmb-red) 10%, white);
}
.odds-page .odds-table.tmb-chips thead th.book-header {
    text-align: left;
    padding-left: 4px;
}
.odds-page .odds-table.tmb-chips .best-header,
.odds-page .odds-table.tmb-chips td.best-summary-cell {
    border-left: 1px solid var(--tmb-gray-300);
}
/* and the divider after the summaries (Hold, Middle on Props) the same light rule (Zach: no dark line left) */
.odds-page :is(#games-table, #games-table-float).tmb-chips :is(.hold-header, td.hold-cell),
.odds-page :is(#props-table, #props-table-float).tmb-chips :is(.middle-header, td.middle-cell) {
    border-right: 1px solid var(--tmb-gray-300);
}
/* every chip of a row one height, the tallest's, its content centred
   (Zach: all the chips the same size); a cell's 1px height lets the chip's
   100% resolve */
.odds-page :is(#games-table, #props-table).tmb-chips tbody td:has(> .tmb-chip) {
    height: 1px;
}
.odds-page :is(#games-table, #props-table).tmb-chips tbody td > .tmb-chip {
    height: 100%;
    justify-content: center;
}

/* --- BARS LAYOUT (odds-tracker.js, OddsConfig.layout = 'bars'; since
   2026-11-01): the matchup page's board as the Player Stats lines bar ---
   A row is a bar: the label (the market, or the player) at its left, then
   Consensus, a divider, the summary chips, a divider and the books, one
   line that scrolls sideways. The chips' look (edge, label, dashed summary,
   yellow best price, blue Sharp, the 3px divider) is styles/lines-chips.css's;
   what follows is the bar's layout, the table's own cell rules undone, and
   front.css's row tints kept off the bars and the chips: nothing changes
   colour on hover (Zach). :is() with the two ids: the sticky rules are by id. */
:is(#games-table, #props-table).odds-bars,
:is(#games-table, #props-table).odds-bars tbody {
    display: block;
    width: 100%;
    min-width: 0;
    white-space: normal;
}
:is(#games-table, #props-table).odds-bars thead,
:is(#games-table, #props-table).odds-bars tr.date-separator {
    display: none;
}
:is(#games-table, #props-table).odds-bars tbody tr.odds-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    padding: 6px 10px;
    margin-bottom: 8px;
    border: 1px solid var(--tmb-black-15);
    border-radius: .25rem;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: thin;
}
:is(#games-table, #props-table).odds-bars tbody tr.odds-bar:nth-child(even),
:is(#games-table, #props-table).odds-bars tbody tr.odds-bar:hover {
    background-color: #fff;
    cursor: default;
}
/* ...and the matchup page's own row hover, a dark overlay on every cell of
   a hovered row (layout-matchup-sections.css: .table tbody tr:hover > td).
   The dark Sharp / Hold panels (line-movement.js) are not a hover tint and
   stay. */
:is(#games-table, #props-table).odds-bars tbody tr.odds-bar:hover > td {
    box-shadow: none;
}
/* One box: the bar is the frame (as on Player Stats), so the table's wrap
   around it draws none (Zach, 2026-11-01: "a row within a row"). */
.odds-table-wrap:has(> .odds-bars) {
    border: 0;
    background: transparent;
}
:is(#games-table, #props-table).odds-bars tbody tr.odds-bar > td {
    display: block;
    position: static;
    left: auto;
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0 !important;
    border: 0 !important;
    background: transparent;
    text-align: left;
    white-space: nowrap;
}
:is(#games-table, #props-table).odds-bars tbody tr.odds-bar > :is(td.time-cell, td.rot-cell, td.game-info, td.player-info, td.odds-bar-empty) {
    display: none;
}
/* the label: the market (or the player), the two teams under it */
:is(#games-table, #props-table).odds-bars tbody tr.odds-bar > td.odds-bar-label {
    align-self: center;
    display: flex;
    flex-direction: column;
    /* one width for every bar, so the chips line up from bar to bar */
    flex: 0 0 112px;
    width: 112px;
    white-space: normal;
}
@media (max-width: 767px) {
    :is(#games-table, #props-table).odds-bars tbody tr.odds-bar > td.odds-bar-label {
        flex-basis: 84px;
        width: 84px;
    }
}
.odds-bars .odds-bar-market {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tmb-gray-900);
}
.odds-bars .odds-bar-sides {
    font-size: 0.62rem;
    line-height: 1.35;
    color: var(--tmb-gray-600);
}
/* each cell's chip: the bar's chip, its label across the top (the 7px top
   padding is the label's, lines-chips.css) */
:is(#games-table, #props-table).odds-bars tbody td > .tmb-chip {
    height: 100%;
    padding: 0 8px 4px;
}
:is(#games-table, #props-table).odds-bars tbody td > .tmb-chip > .tmb-chip-label {
    margin: 0 -8px 2px;
}
:is(#games-table, #props-table).odds-bars tbody td > .tmb-chip-sum :is(.best-row, .hold-value, .sharp-row, .sharp-side, .middle-window) {
    font-size: 0.72rem;
}
/* no colour change on hover: not the cell's blue tint, not the chip's */
:is(#games-table, #props-table).odds-bars tbody td:hover > .tmb-chip,
:is(#games-table, #props-table).odds-bars tbody td.lm-active > .tmb-chip {
    background-color: var(--tmb-gray-100);
}
:is(#games-table, #props-table).odds-bars tbody td:hover > .tmb-chip-sum {
    background-color: color-mix(in srgb, var(--tmb-success-bg), var(--tmb-surface, #fff) 45%);
}
:is(#games-table, #props-table).odds-bars tbody td:hover > .tmb-chip-sharp {
    background-color: var(--tmb-blue-50);
}
:is(#games-table, #props-table).odds-bars tbody td:hover > .tmb-chip-sharp.tmb-chip-flagged {
    background-color: var(--tmb-blue-100);
}
/* the two dividers, as on the Player Stats bar: named under tr.odds-bar so
   they outrank the cell reset above (it made them transparent until
   2026-11-01) */
:is(#games-table, #props-table).odds-bars tbody tr.odds-bar > td.tmb-chip-divider {
    display: block;
    flex: 0 0 3px;
    align-self: stretch;
    margin: 2px 1px;
    background: var(--tmb-gray-300);
    border-radius: 2px;
}
/* the table's own dividers are the bars' divider cells here */
:is(#games-table, #props-table).odds-bars tbody td:is(.best-summary-cell, .hold-cell, .sharp-cell, .middle-cell) {
    border: 0 !important;
}

/* Odds/prop cell: flex layout to keep content + chart icon centered together */
.odds-cell, .prop-cell {
    position: relative;
}
.odds-cell-inner, .prop-cell-inner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.odds-cell-content, .prop-cell-content {
    display: inline-block;
}
/* Logged-out visitors: the site's one-line lock (tmbPaywallNote) where the
   book picker would sit; this only places it in the control row. */
.odds-book-filter-note {
    display: inline-flex;
    align-items: center;
    max-width: 420px;
}

/* Book picker: drag-to-reorder (logged-in perk; order saved to the account). */
.odds-book-list {
    max-height: 60vh;
    overflow-y: auto;
}
.odds-book-list-hint {
    padding: 2px 14px 6px;
    font-size: 0.68rem;
    color: var(--tmb-gray-600);
    border-bottom: 1px solid var(--tmb-gray-100);
    margin-bottom: 2px;
    white-space: nowrap;
}
.odds-book-grip {
    color: var(--tmb-gray-500);
    cursor: grab;
    font-size: 11px;
    letter-spacing: -3px;
    padding: 0 4px 0 0;
    user-select: none;
    touch-action: none;
}
.edges-ms-option:hover .odds-book-grip { color: var(--tmb-blue-alt-hover); }
.odds-book-grip:active { cursor: grabbing; }
.odds-book-ghost {
    background: var(--tmb-blue-100) !important;
    opacity: 0.7;
}
.edges-ms-actions .odds-book-reset {
    flex: 1.4;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--tmb-blue-alt-hover);
    cursor: pointer;
    text-align: center;
    border-left: 1px solid var(--tmb-gray-300);
    white-space: nowrap;
}
.edges-ms-actions .odds-book-reset:hover { background: var(--tmb-blue-50); }

/* Draggable book column headers (logged-in; same order as the picker). */
.odds-table thead th.book-draggable {
    cursor: grab;
    user-select: none;
    transition: background-color 0.15s;
}
.odds-table thead th.book-draggable:hover {
    background-color: var(--tmb-blue-100);
}
.odds-table thead th.book-draggable:active { cursor: grabbing; }
/* Same ⋮⋮ grip as the book picker, so the header reads as draggable */
.odds-table thead th.book-draggable .odds-col-grip {
    fill: var(--tmb-gray-600);
    margin-right: 6px;
    vertical-align: middle;
    transition: fill 0.15s;
}
.odds-table thead th.book-draggable:hover .odds-col-grip { fill: var(--tmb-blue-alt-hover); }
.odds-table thead th.odds-col-ghost {
    background-color: var(--tmb-blue-200) !important;
    opacity: 0.8;
}

/* The one-time tip on the search box (TMB.coachmark, scripts/odds-tour.js). */
.odds-coachmark {
    position: fixed;
    z-index: 98; /* above the fixed header (96, 97 with the picks bar): on a phone the tip lands on it; under the slide-out sidebar (#sidebarMenu = 99) */
    max-width: 320px;
    background: #fff;
    border: 1px solid var(--tmb-blue-200);
    border-left: 4px solid var(--tmb-blue);
    border-radius: 10px;
    box-shadow: 0 10px 34px var(--tmb-black-20);
    padding: 14px 16px 12px;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--tmb-gray-900);
}
/* front.css paints every button grey with !important: this one says so too. */
.odds-coachmark-btn {
    margin-top: 10px;
    background: var(--tmb-blue) !important;
    color: #fff;
    border: 1px solid var(--tmb-blue);
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.odds-coachmark-btn:hover { background: color-mix(in srgb, var(--tmb-blue), black 12%) !important; }
.odds-coach-target { box-shadow: 0 0 0 2px var(--tmb-blue); }

/* A non-member's prop row other than their free market of the day (the
   server sends its player and market name alone; odds-ajax.php getPropOdds,
   lockedPropCells() in odds-tracker.js). One cell across the summary and
   book columns, its text held at the table's left edge as it scrolls. */
.odds-table td.prop-locked-cell {
    text-align: left;
    vertical-align: middle;
    background: var(--tmb-gray-100);
    color: var(--tmb-gray-700);
    font-size: 12px;
}
.prop-locked-inner {
    position: sticky;
    left: 8px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 640px;
}
.prop-locked-what { font-weight: 600; color: var(--tmb-gray-900); }

/* The one-line locks above the tables (paywall.js note(): the sharp note,
   the free-prop rule); this only spaces them. */
.odds-pw-note {
    margin: 0 0 6px;
}

/* The Calculator tab for a non-member (odds-body.php): no tool is sent, the
   shared card (tmbPaywallCard) is printed; this only spaces it. */
.odds-calc-locked {
    margin: 32px auto;
}

/* Event sports (soccer, tennis, MMA; 2026-11-13, scripts/odds-tracker.js
   EVENT SPORTS): the league under a game's names, the league filter, and
   soccer's Draw line between the two teams. */
.event-league-tag { margin-top: 2px; font-size: .68rem; letter-spacing: .03em; color: var(--tmb-gray-600); white-space: nowrap; }
.odds-league-filter select { min-width: 160px; }
.game-draw-row { font-size: .85em; font-style: italic; }
/* The heading row of a league, tournament or MMA card (eventGroupOrder): the
   date rows stay under it. */
.odds-table .event-group-row td {
    background: var(--tmb-blue-50);
    color: var(--tmb-gray-900);
    font-size: 12px;
    padding: 5px 10px;
    text-transform: none;
    letter-spacing: 0;
    border-top: 2px solid var(--tmb-blue-200);
}
.odds-market-note { color: var(--tmb-gray-700); }
.odds-market-note .fa-info-circle { color: var(--tmb-info); }

/* --- Futures tab (scripts/odds-futures.js) --- */
.futures-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}
.futures-controls #futures-market {
    width: auto;
    min-width: 220px;
}
#futures-table .fut-team-col {
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
#futures-table .fut-best-col {
    white-space: nowrap;
}
/* Team and Best as wide as their widest entry (Zach, 2026-11-26): the table
   spans the page and spread its spare width into them (NBA: Team 243px for
   146px of names); 1px + nowrap = the content's width, the rest to the books. */
#futures-table :is(th, td).fut-team-col,
#futures-table :is(th, td).fut-best-col {
    width: 1px;
}
#futures-table .fut-best-book {
    font-size: 9px;
    font-weight: 600;
    color: var(--tmb-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
#futures-table .fut-cell {
    text-align: center;
    white-space: nowrap;
}
#futures-table .fut-cell .fut-price {
    font-weight: 600;
    font-size: 12px;
    color: var(--tmb-gray-900);
}
#futures-table .fut-cell.fut-best {
    background: var(--tmb-success-bg);
}
#futures-table .fut-cell.no-data {
    color: var(--tmb-gray-500);
}

/* Search suggestions under the box (odds-tracker.js SEARCH SUGGESTIONS):
   on <body>, placed under #odds-search when shown. */
.odds-search-suggest {
    position: absolute;
    z-index: 1050;
    max-width: 360px;
    padding: 4px 0;
    background: #fff;
    border: 1px solid var(--tmb-gray-300);
    border-radius: 6px;
    box-shadow: 0 6px 18px var(--tmb-black-15);
    font-size: 13px;
}
.odds-search-suggest .oss-head {
    padding: 4px 10px 2px;
    color: var(--tmb-gray-600);
    font-size: 11px;
    font-style: italic;
}
.odds-search-suggest .oss-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 10px;
    color: var(--tmb-gray-900);
    cursor: pointer;
}
.odds-search-suggest .oss-row:hover,
.odds-search-suggest .oss-row.is-on {
    background: var(--tmb-blue-50);
}
.odds-search-suggest .oss-kind {
    color: var(--tmb-gray-500);
    font-size: 11px;
    white-space: nowrap;
}

/* ===== Alternate lines (staff; the panel is scripts/alt-lines.js, its own styles) ===== */
.odds-alt-btn.tmb-pill { min-height: 20px; padding: 1px 8px; font-size: 11px; margin-top: 4px; }
/* a bar's (the matchup page's board): under the bar's label, its own width */
.odds-bars .odds-bar-label .odds-alt-btn.tmb-pill { align-self: flex-start; margin-top: 5px; }

/* ===== Phone: a compact table (Zach, 2026-11-26: "make the rows skinnier
   ... so we can see more while scrolling left/right") =====
   The line-movement chart icon sits UNDER a cell's prices instead of beside
   them; the prices, the Track + and the gaps are smaller; the pinned team /
   player column and the summary columns are narrower. Measured on NBA at
   375px: a game row 72 -> 57px (93 -> 57 with a staff login's Alt pill), a
   book column 146 -> ~100px, the Props player column 217 -> 150px.
   @container, so a narrow /my-dash/ Odds widget takes it too; never the
   matchup page's bars (.odds-bars), which lay the same cells out their own
   way. */
@container (max-width: 768px) {
    .odds-table.tmb-chips:not(.odds-bars) tbody td:has(> .tmb-chip) {
        padding: 3px 2px !important;
    }
    .odds-table.tmb-chips:not(.odds-bars) td > .tmb-chip {
        padding: 2px 4px 1px;
    }
    .odds-table.tmb-chips:not(.odds-bars) td > .tmb-chip-sum {
        padding: 2px 4px 3px;
    }
    .odds-table.tmb-chips:not(.odds-bars) :is(.odds-cell-inner, .prop-cell-inner) {
        flex-direction: column;
        align-items: center;
        gap: 0 !important;
    }
    .odds-table.tmb-chips:not(.odds-bars) :is(.odds-cell-inner, .prop-cell-inner) > .chart-icon {
        width: 10px;
        height: 10px;
        margin-top: 1px;
    }
    .odds-table:not(.odds-bars) .odds-cell,
    .odds-table:not(.odds-bars) thead th.book-header,
    .odds-table:not(.odds-bars) :is(.best-header, .best-summary-cell, .hold-header, .sharp-header, .sharp-cell) {
        min-width: 0;
    }
    .odds-table:not(.odds-bars) thead th.book-header {
        font-size: 10px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .odds-table:not(.odds-bars) thead th.book-header .book-logo {
        width: 14px;
        height: 14px;
    }
    /* A book's column as wide as its prices, not its header (Zach,
       2026-11-26): the grip, logo and name on one line were 10-25px wider
       than the cells. 1px + wrapping puts the name under the logo (the
       table is max-content, so without the 1px nothing would wrap). The
       header row is 12px taller. NBA Games at 390px: a book 102 -> ~88px,
       the table 1530 -> 1358px. */
    .odds-table.tmb-chips:not(.odds-bars) thead th.book-header {
        width: 1px;
        white-space: normal !important;
        line-height: 1.25;
    }
    /* Sharp: its edge chip ("+3.3% BR") on a line of its own under the line
       and price, the name and its reason kept whole (139 -> 80px; only a
       game with an edge chip gets a line taller). */
    .odds-table.tmb-chips:not(.odds-bars) td.sharp-cell .sharp-row {
        display: block;
    }
    .odds-table.tmb-chips:not(.odds-bars) td.sharp-cell .sharp-row > :is(.sharp-line-col, .sharp-price-col) {
        margin-right: 4px;
    }
    .odds-table.tmb-chips:not(.odds-bars) td.sharp-cell .sharp-edge-col {
        display: block;
        padding-left: 0;
    }
    .odds-table.tmb-chips:not(.odds-bars) td.sharp-cell .sharp-edge-col:empty {
        display: none;
    }
    /* Futures' Best: the book's name under the price (121 -> 65px). */
    #futures-table .fut-best-book {
        display: block;
        line-height: 1.1;
    }
    .odds-table:not(.odds-bars) .game-odds-row {
        grid-template-columns: 32px auto;
        line-height: 1.4;
    }
    .odds-table:not(.odds-bars) .game-odds-row:has(.trk-add) {
        grid-template-columns: 32px auto 15px;
        column-gap: 3px;
    }
    .odds-table:not(.odds-bars) .best-row {
        grid-template-columns: 32px 34px auto;
        line-height: 1.4;
    }
    .odds-table:not(.odds-bars) :is(.game-line-col, .best-line-col, .prop-cell .prop-line) {
        font-size: 11px;
    }
    .odds-table:not(.odds-bars) .game-price-col {
        font-size: 10px;
    }
    .odds-table:not(.odds-bars) .prop-cell :is(.prop-over, .prop-under) {
        font-size: 10px;
        line-height: 1.4;
    }
    .odds-table:not(.odds-bars) .trk-add {
        width: 15px;
        height: 15px;
        line-height: 13px;
        font-size: 11px;
    }
    .odds-table:not(.odds-bars) .prop-cell .trk-add {
        margin-left: 3px;
    }
    /* Alt lines (staff and cappers): a small "Alt" pill on the time's line
       (Zach, 2026-11-26). The label is drawn by CSS so the button keeps its
       words for a screen reader (aria-label) and on a wider screen. Games:
       inline after the time; Props: the time is inside the player's details,
       so the pill is pinned to the cell's bottom-right corner, with the
       pop-out and Write-up buttons moved up out of its way. */
    :is(#games-table, #props-table):not(.odds-bars) .game-time-inline {
        font-size: 9px;
    }
    #games-table:not(.odds-bars) .game-time-inline {
        display: inline-block;
        margin-right: 2px;
        vertical-align: middle;
    }
    .odds-table:not(.odds-bars) .odds-alt-btn.tmb-pill {
        font-size: 0 !important;
        min-height: 13px;
        height: 13px;
        padding: 0 3px;
        margin-top: 0;
        line-height: 1;
        vertical-align: middle;
    }
    .odds-table:not(.odds-bars) .odds-alt-btn.tmb-pill::before {
        content: "Alt";
        font-size: 9px;
        line-height: 11px;
    }
    #props-table:not(.odds-bars) tbody td.player-info .odds-alt-btn.tmb-pill {
        position: absolute;
        right: 4px;
        bottom: 4px;
    }
    #props-table:not(.odds-bars) td.player-info:has(.odds-alt-btn) .player-ps-link { top: 22%; }
    #props-table:not(.odds-bars) td.player-info:has(.odds-alt-btn) .prop-writeup-btn { top: 48%; }
    /* the pinned column: smaller names and logos; the pop-out and Write-up
       buttons closer to its edge */
    :is(#games-table, #games-table-float):not(.odds-bars) thead th.game-info-header,
    #games-table:not(.odds-bars) tbody td.game-info {
        min-width: 128px;   /* the time and the Alt pill on one line */
        padding-top: 3px !important;
        padding-bottom: 3px !important;
    }
    :is(#props-table, #props-table-float):not(.odds-bars) thead th.player-info-header,
    #props-table:not(.odds-bars) tbody td.player-info {
        min-width: 0;
        width: 140px;
        max-width: 150px;
        padding-top: 3px !important;
        padding-bottom: 3px !important;
    }
    #games-table:not(.odds-bars) tbody td.game-info:is(:has(.game-writeup-btn), :has(.game-matchup-link)),
    #props-table:not(.odds-bars) tbody td.player-info:is(:has(.player-ps-link), :has(.prop-writeup-btn)) {
        padding-right: 18px !important;
    }
    #games-table:not(.odds-bars) :is(.game-matchup-link, .game-writeup-btn),
    #props-table:not(.odds-bars) :is(.player-ps-link, .prop-writeup-btn) {
        right: 6px;
    }
    #games-table:not(.odds-bars) .game-team-row {
        line-height: 1.35;
    }
    #games-table:not(.odds-bars) .game-team-row .team-logo {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }
    #games-table:not(.odds-bars) .team-name,
    #props-table:not(.odds-bars) .player-name {
        font-size: 11px;
    }
    #props-table:not(.odds-bars) .player-name {
        line-height: 1.3;
        white-space: normal;
    }
    #props-table:not(.odds-bars) .player-headshot {
        width: 26px;
        height: 26px;
        margin-right: 5px;
    }
    #props-table:not(.odds-bars) .player-meta {
        font-size: 9px;
        gap: 2px;
    }
    #props-table:not(.odds-bars) .player-meta .team-logo {
        width: 12px;
        height: 12px;
    }
}

/* ===== The /my-dashboards/ Odds widget (also a member's custom Matchup page) =====
   The narrow rule near the top of this file pulls the board's panel 16px past
   each side to reach the /odds/ page's edges. In a widget the body
   (.mdb-widget-body, overflow auto) clipped that: the pinned team column lost
   its first 16px ("RI, NOV 27"). In a widget the panel stays inside it; on a
   phone it runs to the screen's edges instead (Zach, 2026-11-26), out through
   the dashboard's 10px side margin, the body left unclipped for it, and the
   pinned column's text kept on the widgets' 10px line. */
@container (max-width: 768px) {
    .mdb-widget-body .odds-tabs ~ .tab-content {
        margin-left: 0;
        margin-right: 0;
    }
}
@media (max-width: 767px) {
    .mdb-app:not(.mdb-editing) .mdb-widget-body:has(.odds-tabs) {
        overflow: visible;
    }
    .mdb-app:not(.mdb-editing) .mdb-widget-body .odds-tabs ~ .tab-content {
        margin-left: -10px;
        margin-right: -10px;
    }
    .mdb-app:not(.mdb-editing) .mdb-widget-body .odds-tabs ~ .tab-content > .tab-pane > :not(.odds-table-wrap),
    .mdb-app:not(.mdb-editing) .mdb-widget-body .odds-tabs ~ .tab-content > .tab-pane > #odds-calc {
        padding-left: 10px;
        padding-right: 10px;
    }
    .mdb-app:not(.mdb-editing) .mdb-widget-body #futures-table .fut-team-col { padding-left: 10px !important; }
    .mdb-app:not(.mdb-editing) .mdb-widget-body :is(#games-table, #games-table-float) thead th.game-info-header,
    .mdb-app:not(.mdb-editing) .mdb-widget-body #games-table tbody td.game-info,
    .mdb-app:not(.mdb-editing) .mdb-widget-body :is(#props-table, #props-table-float) thead th.player-info-header,
    .mdb-app:not(.mdb-editing) .mdb-widget-body #props-table tbody td.player-info {
        padding-left: 10px !important;
    }
}

/* ==========================================================================
   The app's Best / Books switch (odds-tracker.js: bestAllowed(); since
   2026-11-28). Drawn only where that gate says so, so nothing here reaches the
   website's table. Colours are tokens: the dark theme follows by itself.
   ========================================================================== */
.odds-view-switch { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; }
.odds-view-seg { display: flex; flex: 0 1 210px; padding: 3px; border-radius: 10px; background: var(--tmb-gray-100); border: 1px solid var(--tmb-gray-300); }
.odds-view-seg button { flex: 1; height: 30px; margin: 0 !important; padding: 0 10px; border: 0; border-radius: 8px; background-color: transparent !important;
	color: var(--tmb-gray-700); font-size: 14px; font-weight: 600; line-height: 1; }
.odds-view-seg button.on { background-color: var(--tmb-surface, #fff) !important; color: var(--tmb-gray-900); box-shadow: 0 1px 3px var(--tmb-black-15); }
.odds-view-switch .odds-view-more { margin: 0 0 0 auto !important; }

/* Best: one row a game. A column for the teams, then one a market. */
.odds-best-note { font-size: 13px; color: var(--tmb-gray-600); margin: 0 0 6px; }
.odds-best-head, .odds-best-row { display: grid; grid-template-columns: 66px repeat(var(--obr-cols, 3), minmax(0, 1fr)); column-gap: 4px; align-items: center; }
.odds-best-head { padding: 10px 0 5px; border-bottom: 1px solid var(--tmb-gray-300); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tmb-gray-600); white-space: nowrap; }
.odds-best-head span { text-align: center; overflow: hidden; text-overflow: ellipsis; }
.odds-best-head .obh-date { text-align: left; color: var(--tmb-gray-900); overflow: visible; }
.odds-best-row { padding: 5px 0; border-bottom: 1px solid var(--tmb-gray-300); }
.odds-best-row.is-started { opacity: .55; }
.obr-game { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; margin: 0 !important; padding: 2px 0; border: 0;
	background-color: transparent !important; color: var(--tmb-gray-900); text-align: left; }
.obr-team { display: flex; align-items: center; gap: 5px; max-width: 100%; font-size: 13px; line-height: 19px; white-space: nowrap; }
.obr-team b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.obr-team img { flex: none; }
.obr-time { font-size: 10.5px; line-height: 1.3; color: var(--tmb-gray-600); white-space: nowrap; }
.obr-cell { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.obr-pick { display: flex; align-items: center; justify-content: center; gap: 3px; width: 100%; min-width: 0; height: 27px; margin: 0 !important; padding: 0 2px; overflow: hidden;
	border: 1px solid var(--tmb-gray-300); border-radius: 8px; background-color: var(--tmb-surface, #fff) !important; color: var(--tmb-gray-900);
	font-size: 11.5px; letter-spacing: -.01em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.obr-pick .obr-line { font-weight: 700; }
.obr-pick .obr-price { color: var(--tmb-gray-700); }
.obr-pick .book-logo { flex: none; width: 12px; height: 12px; border-radius: 3px; }
.obr-pick .obr-ties { font-size: 10px; color: var(--tmb-gray-600); }
.obr-pick.is-empty { border-style: dashed; color: var(--tmb-gray-500); }
.obr-pick.is-best { background-color: var(--tmb-good-7) !important; border-color: var(--tmb-good-5); }
.obr-pick[data-off] { cursor: default; }

/* Every book for one game (the bottom sheet opened from a Best row). */
.odds-best-books .obb-sub { font-size: 13px; color: var(--tmb-gray-600); margin: 0 0 8px; }
.obb-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 5px 0; }
.obb-table thead th { padding: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: center; color: var(--tmb-gray-600); }
.obb-table thead th:first-child, .obb-table tbody th { width: 62px; }
.obb-table tbody th { padding: 0; font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; color: var(--tmb-gray-900); }
.obb-table tbody th .book-logo { margin-right: 5px; border-radius: 3px; vertical-align: -3px; }
.obb-table td { padding: 0 0 7px; vertical-align: top; }
.obb-table td .obr-pick { height: 26px; margin-bottom: 3px !important; }

/* Books: the table's Consensus, Hold and Sharp columns are behind the "More columns" pill. */
.odds-table.books-lean .hold-header, .odds-table.books-lean td.hold-cell,
.odds-table.books-lean .sharp-header, .odds-table.books-lean td.sharp-cell,
.odds-table.books-lean th.book-header:not([data-book]), .odds-table.books-lean td.cons-cell { display: none; }
.obr-cell .obr-ties { display: none; }   /* the tie count is in the hover and in the game's sheet; the row has no room */

/* Best, the Games tab: pages swiped sideways (a market with its Sharp side and Hold, then the next), the
   tabs above them following. Every page's rows are one height, so a swipe keeps the place in the list. */
.obp-tabs { display: flex; gap: 4px; margin: 0 0 2px; border-bottom: 1px solid var(--tmb-gray-300); }
.obp-tabs button { flex: 1 1 auto; min-width: 0; height: 32px; margin: 0 0 -1px !important; padding: 0 4px; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
	background-color: transparent !important; color: var(--tmb-gray-600); font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obp-tabs button.on { color: var(--tmb-gray-900); border-bottom-color: var(--tmb-brand); }
.obp-pages { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.obp-pages::-webkit-scrollbar { display: none; }
.obp-page { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.obp-page .odds-best-row { min-height: 70px; }
.odds-best-head.obr-sharp, .odds-best-row.obr-sharp { grid-template-columns: 66px minmax(0, 1fr) minmax(0, 1.15fr) 50px; }
.obr-tt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3px; }
.obr-sum { min-width: 0; overflow: hidden; text-align: center; border-radius: 8px; }
.obr-sum[data-tip] { cursor: pointer; }
.obr-sharpcell :is(.sharp-side, .sharp-side-why) { padding-left: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obr-sharpcell .sharp-row { flex-wrap: wrap; row-gap: 0; line-height: 1.45; margin-left: 2px; }
.obr-hold .hold-value { font-size: 12px; }
.obr-hold .arb-badge { font-size: 9.5px; }
.obr-hold .hold-info-icon { display: none; }   /* a tap on the cell says what the icon's hover does */

/* Best, the Props tab: a row a player and market. */
.odds-best-head.obr-prop, .odds-best-row.obr-prop { grid-template-columns: minmax(0, 1fr) 82px 82px 44px; }
.obr-game.obr-player { flex-direction: row; align-items: center; gap: 7px; }
.obr-player img { flex: none; border-radius: 50%; object-fit: cover; }
.obr-pl { display: flex; flex-direction: column; min-width: 0; }
.obr-pl b { font-size: 13px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obr-pl .obr-time { overflow: hidden; text-overflow: ellipsis; }
.obr-mid { font-style: normal; font-weight: 700; color: var(--tmb-blue); }
.odds-best-row:is(.obr-prop, .obr-fut) .obr-pick { height: 32px; }
.odds-best-row.obr-prop .obr-ties { display: none; }

/* Best, the Futures tab: a row a team, its best price. */
.odds-best-head.obr-fut, .odds-best-row.obr-fut { grid-template-columns: minmax(0, 1fr) 112px 44px; }
.obr-futname b { font-size: 14px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.odds-best-row.obr-fut .obr-pick { font-size: 13px; }
.obr-count { text-align: center; font-size: 12px; color: var(--tmb-gray-600); font-variant-numeric: tabular-nums; }
.obb-fut .obb-table tbody th { width: auto; }
.obb-fut .obb-table td { width: 120px; }

/* The sheets opened from a Best row: a cell's explanation, a prop's tools and middle. */
.odds-best-tip p { margin: 0 0 8px; font-size: 14px; line-height: 1.4; color: var(--tmb-gray-900); }
.obb-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.obb-mid { margin-top: 10px; font-size: 13px; color: var(--tmb-gray-700); }
.obb-mid p { margin: 2px 0; }

/* ==========================================================================
   The app's look at every width (Zach, 2026-12-02: "the styling the same:
   less border and more colour areas", while desktop keeps its room). The
   website's tables (the Odds page, the dashboard Odds widget, the matchup
   board) take the app's table card (styles/app-look.css, "The table: one
   white card"): no outline round the table, quiet grey headers, a faint line
   between rows, no column rules, the day as a section label. The tiles
   themselves are styles/lines-chips.css's. None of the app's width squeezes
   (its 112px team column, logos-only Best, the hidden Sharp reason) are here.
   ========================================================================== */
.odds-table-wrap {
    border: 0;
    border-radius: 12px;
}
.odds-float-head { background: var(--tmb-surface, #fff); }
:is(#games-table, #games-table-float, #props-table, #props-table-float, #futures-table).odds-table:not(.odds-bars) thead th {
    background: var(--tmb-surface, #fff) !important;
    color: var(--tmb-gray-600) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--tmb-gray-300) !important;
    box-shadow: none !important;
}
:is(#games-table, #games-table-float, #props-table, #props-table-float).odds-table:not(.odds-bars) thead th:is(.game-info-header, .player-info-header) {
    color: var(--tmb-gray-900) !important;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
}
:is(#games-table, #props-table, #futures-table).odds-table:not(.odds-bars) tbody td {
    border: 0 !important;
    border-bottom: 1px solid color-mix(in srgb, var(--tmb-gray-300), transparent 40%) !important;
}
:is(#games-table, #props-table).odds-table:not(.odds-bars) tbody td.best-summary-cell { background: transparent; }
/* the pinned team / player column: a hairline at its right edge, as in the app */
#games-table.odds-table:not(.odds-bars) tbody td.game-info,
#props-table.odds-table:not(.odds-bars) tbody td.player-info { box-shadow: 1px 0 0 var(--tmb-gray-300) !important; }
.odds-table.tmb-chips :is(.game-line-col, .best-line-col) { font-weight: 700; color: var(--tmb-gray-900); }
.odds-table .trk-add { border-radius: 50%; }
/* a day of games: a section label, not a ruled row */
.odds-table:not(.odds-bars) tr.date-separator > td {
    background: var(--tmb-gray-100) !important;
    border: 0 !important;
    padding: 12px 10px 6px !important;
    font-size: 13px;
    color: var(--tmb-gray-900);
    text-transform: none;
    letter-spacing: 0;
}
/* Hold on a grey tile, as in the app (Best keeps the green) */
.odds-table.tmb-chips td.hold-cell > .tmb-chip-sum { background: var(--tmb-gray-100); }
