/* ==========================================================================
   ODDS MARKET PAGE - Vegas Elite Odds Comparison v3.1
   ==========================================================================
   Standardized styling matching weekly-lineup patterns
   Data Sources:
   - NFL, NCAAF: SportsDataIO API
   - NBA, NCAAB, NHL: The Odds API

   Typography Rules:
   - ALL text: var(--font-body) = Cormorant Garamond
   - ONLY numbers/odds: var(--font-mono) = Roboto Mono
   - Use larger sizes (Garamond needs room to breathe)
   ========================================================================== */


/* ==========================================================================
   1. PAGE LAYOUT - MATCHING WEEKLY LINEUP PATTERNS
   ========================================================================== */

body.page-odds-market {
    --market-accent-primary: var(--emerald-500);
    --market-accent-secondary: var(--gold-400);
    --market-surface: rgba(8, 16, 28, 0.75);
    --market-border: rgba(80, 100, 130, 0.25);
    --market-text: #e6f2f6;
    --dashboard-topline-height: 91px;

    /* Zebra Stripe - Matching Weekly Lineup */
    --zebra-odd: rgba(4, 12, 24, 0.32);
    --zebra-even: rgba(30, 55, 85, 0.20);
    --zebra-hover: rgba(40, 60, 90, 0.35);

    position: relative;
    min-height: 100vh;
    background-color: var(--color-bg-deep);
    background-image: url('../../JB_Bearish_Market_FULL_page.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    isolation: isolate;

    /* Garamond base */
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

/* Overlay effects - matching weekly lineup */
body.page-odds-market::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(4, 10, 20, 0.12) 0%,
        rgba(4, 10, 20, 0.10) 15%,
        rgba(4, 10, 20, 0.08) 30%,
        rgba(4, 10, 20, 0.14) 50%,
        rgba(4, 10, 20, 0.18) 75%,
        rgba(4, 10, 20, 0.25) 100%);
    pointer-events: none;
    opacity: 0.2;
}

body.page-odds-market::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: rgba(3, 11, 22, 0.75);
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* ==========================================================================
   NAV & HEADER (odds market - matching weekly lineup floating style)
   ========================================================================== */
body.page-odds-market .brand-nav {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    padding-left: 0.5in;
    padding-right: 0.5in;
}

body.page-odds-market .nav-link {
    color: rgba(222, 235, 240, 0.86);
}

body.page-odds-market .nav-link:hover,
body.page-odds-market .nav-link:focus-visible {
    color: #fefefe;
    text-shadow: 0 2px 10px rgba(var(--color-primary-bright-rgb), 0.35);
}

body.page-odds-market .nav-link.active {
    color: #fdfdfd;
    border-bottom: 2px solid var(--market-accent-primary);
}

/* Scoped sportsbook dropdown (odds market) */
.page-odds-market .nav-dropdown {
    position: relative;
}

.page-odds-market .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 320px;
    background: rgba(5, 12, 22, 0.96);
    border: 1px solid rgba(var(--color-primary-bright-rgb), 0.25);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    z-index: 2000;
}

.page-odds-market .nav-dropdown-menu[hidden] {
    display: none;
}

.page-odds-market .nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.page-odds-market .nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* ==========================================================================
   LAYOUT SHELL (odds market - matching weekly lineup)
   ========================================================================== */
body.page-odds-market .main-container {
    padding: 0 0 20px;
    padding-right: 60px;
    margin-top: 12px;
    transition: padding-right 0.3s ease;
}

body.page-odds-market.slip-open .main-container {
    padding-right: 340px;
}

body.page-odds-market .main-dashboard-layout {
    gap: 8px;
}

/* ===== DASHBOARD TOPLINE - FLOATING/TRANSPARENT ===== */
body.page-odds-market .dashboard-topline {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 6px 0.5in 8px;
}

/* ===== BRAND HEADER STYLING ===== */
body.page-odds-market .brand-header-inline,
body.page-odds-market .brand-header {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

body.page-odds-market .brand-line-1,
body.page-odds-market .brand-line-2 {
    color: var(--market-text);
}

/* ==========================================================================
   KPI TILES (odds market - matching weekly lineup)
   ========================================================================== */
body.page-odds-market .kpi-tiles {
    gap: 10px;
    padding: 0 4px;
}

body.page-odds-market .kpi-tile {
    background: linear-gradient(160deg, rgba(10, 18, 32, 0.82) 0%, rgba(8, 16, 28, 0.78) 100%);
    border: 1px solid rgba(80, 100, 130, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    border-radius: 8px;
}

body.page-odds-market .kpi-tile:hover {
    border-color: rgba(100, 120, 150, 0.35);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    transform: translateY(-1px);
}

body.page-odds-market .kpi-tile-layer.active {
    animation: marketTileFade 280ms ease;
}

body.page-odds-market .kpi-label {
    color: rgba(214, 232, 236, 0.8);
    letter-spacing: 0.08em;
}

body.page-odds-market .kpi-value {
    font-size: 1.32rem;
    letter-spacing: 0.01em;
}

body.page-odds-market .kpi-subtext {
    color: var(--market-accent-secondary);
    opacity: 0.95;
}

@keyframes marketTileFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   2. ODDS BOARD CONTAINER - MATCHING WEEKLY LINEUP TABLE CONTAINER
   ========================================================================== */

.odds-board {
    margin-top: 0;
    margin-left: 0.5in;
    margin-right: 0.5in;
    width: calc(100% - 1in);
    box-sizing: border-box;
    background: rgba(5, 12, 22, 0.40);
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0;
    position: relative;
    overflow: hidden;
    contain: layout;
}


/* ==========================================================================
   3. MARKET SELECTOR BAR
   ========================================================================== */

.market-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(180deg, rgba(0, 30, 45, 0.85) 0%, rgba(0, 20, 35, 0.95) 100%);
    border-bottom: 1px solid rgba(0, 214, 137, 0.18);
}

.market-btn {
    padding: 10px 22px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    
    /* Garamond - larger for readability */
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: rgba(255, 255, 255, 0.65);
    
    cursor: pointer;
    transition: all 0.2s ease;
}

.market-btn:hover {
    background: rgba(0, 214, 137, 0.1);
    border-color: rgba(0, 214, 137, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.market-btn.active {
    background: linear-gradient(135deg, rgba(0, 214, 137, 0.22) 0%, rgba(0, 143, 88, 0.18) 100%);
    border-color: rgba(0, 214, 137, 0.5);
    color: var(--color-primary-bright);
    box-shadow: 0 0 14px rgba(0, 214, 137, 0.2);
}

.market-selector-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}


/* --- Live Filter Toggle --- */

.live-filter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-checkbox { display: none; }

.live-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.6);
    
    cursor: pointer;
    transition: all 0.2s ease;
}

.live-label:hover {
    border-color: rgba(74, 182, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.live-checkbox:checked + .live-label {
    background: rgba(74, 182, 255, 0.12);
    border-color: rgba(74, 182, 255, 0.45);
    color: #4ab6ff;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.2s ease;
}

.live-checkbox:checked + .live-label .live-dot {
    background: #4ab6ff;
    box-shadow: 0 0 8px rgba(74, 182, 255, 0.6);
    animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}


/* --- Refresh Button --- */

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(0, 214, 137, 0.08);
    border: 1px solid rgba(0, 214, 137, 0.25);
    border-radius: 5px;
    
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-semibold);
    color: var(--color-primary-bright);
    
    cursor: pointer;
    transition: all 0.2s ease;
}

.refresh-btn:hover {
    background: rgba(0, 214, 137, 0.15);
    box-shadow: 0 0 12px rgba(0, 214, 137, 0.2);
}

.refresh-btn .refresh-icon {
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.refresh-btn:hover .refresh-icon {
    transform: rotate(180deg);
}

.refresh-time {
    /* Times are numbers - use Mono */
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    opacity: 0.7;
}


/* ==========================================================================
   4. SPORTSBOOK HEADERS
   ========================================================================== */

.books-header {
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(0, 214, 137, 0.22);
}

.books-header-game {
    flex: 0 0 300px;
    padding: 14px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    
    /* Garamond - headers */
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: rgba(255, 255, 255, 0.9);
}

.books-header-books {
    flex: 1;
    display: flex;
}

.book-header-col {
    flex: 1;
    min-width: 110px;
    padding: 12px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
}

.book-header-col:last-child {
    border-right: none;
}

.book-short-name {
    /* Garamond - book abbreviations */
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary-bright);
}

.book-full-name {
    /* Garamond - full name */
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    color: rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   5. GAMES LIST & ROWS
   ========================================================================== */

.games-list {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 214, 137, 0.3) transparent;
}

.games-list::-webkit-scrollbar { width: 6px; }
.games-list::-webkit-scrollbar-track { background: transparent; }
.games-list::-webkit-scrollbar-thumb {
    background: rgba(0, 214, 137, 0.3);
    border-radius: 3px;
}


/* --- Game Row --- */

.game-row {
    display: flex;
    border-bottom: 1px solid rgba(0, 214, 137, 0.06);
    transition: background 0.15s ease;
}

.game-row:nth-child(odd) { background: var(--zebra-odd); }
.game-row:nth-child(even) { background: var(--zebra-even); }

.game-row:hover {
    background: var(--zebra-hover);
}

.game-row.is-live {
    border-left: 3px solid #4ab6ff;
    box-shadow: inset 4px 0 16px rgba(74, 182, 255, 0.1);
}


/* --- Game Info Cell --- */

.game-info {
    flex: 0 0 300px;
    padding: 14px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-status-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-league {
    /* Garamond - league label */
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-primary-bright);
}

.game-time {
    /* Times are numbers - Mono */
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    color: rgba(255, 255, 255, 0.5);
}

.game-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(74, 182, 255, 0.12);
    border: 1px solid rgba(74, 182, 255, 0.35);
    border-radius: 4px;
    
    /* Garamond for label, but period/clock are numbers */
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: #4ab6ff;
}

.game-live-badge .live-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ab6ff;
    animation: pulse-live 1.5s infinite;
}


/* --- Teams Display --- */

.game-teams {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.team-name {
    /* Garamond - team names */
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: rgba(245, 250, 255, 0.95);
    letter-spacing: 0.02em;
}

.team-record {
    /* Records are numbers - Mono */
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    color: rgba(160, 180, 200, 0.6);
    margin-left: 4px;
}

.team-score {
    margin-left: auto;
    /* Scores are numbers - Mono */
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: #ffffff;
}

.vs-divider {
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    font-style: italic;
    text-transform: lowercase;
    color: rgba(120, 140, 160, 0.5);
    margin-left: 34px;
}


/* --- Books Odds Grid --- */

.game-books {
    flex: 1;
    display: flex;
}

.book-odds-col {
    flex: 1;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.book-odds-col:last-child { border-right: none; }


/* ==========================================================================
   6. ODDS CELLS
   ========================================================================== */

.odds-cell {
    flex: 1;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    
    cursor: pointer;
    transition: all 0.15s ease;
}

.odds-cell:last-child { border-bottom: none; }

.odds-cell:hover {
    background: rgba(0, 214, 137, 0.1);
}

.odds-cell.selected {
    background: rgba(0, 214, 137, 0.18);
    box-shadow: inset 0 0 0 2px rgba(0, 214, 137, 0.5);
}

.odds-cell.unavailable {
    opacity: 0.35;
    cursor: not-allowed;
}


/* --- Best Odds Highlight --- */

.odds-cell.best-odds {
    background: rgba(0, 214, 137, 0.1);
}

.odds-cell.best-odds::before {
    content: '';
    position: absolute;
    inset: 2px;
    border: 1px solid rgba(0, 214, 137, 0.45);
    border-radius: 4px;
    pointer-events: none;
}


/* --- Line & Price Display --- */

.odds-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    
    /* NUMBERS - Mono font */
    font-family: var(--font-mono);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    color: #ffffff;
    letter-spacing: -0.02em;
}

.odds-cell.best-odds .odds-line {
    color: var(--color-primary-bright);
}

.odds-price {
    /* NUMBERS - Mono font */
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: rgba(180, 200, 220, 0.7);
}

.odds-cell.best-odds .odds-price {
    color: rgba(0, 214, 137, 0.85);
}

/* N/A styling */
.odds-na {
    /* Garamond for text label */
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    font-style: italic;
    color: rgba(255, 255, 255, 0.3);
}


/* --- Line Movement Indicators --- */

.line-movement {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    margin-left: 4px;
}

.line-movement.up { color: var(--color-primary-bright); }
.line-movement.down { color: #ff6464; }


/* ==========================================================================
   EMPTY STATE
   ========================================================================== */

.odds-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 24px;
    text-align: center;
}

.odds-empty[hidden] { display: none; }

.odds-empty .empty-icon {
    font-size: 3rem;
    opacity: 0.35;
}

.odds-empty .empty-text {
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.4);
}


/* ==========================================================================
   7. BET SLIP PANEL
   ========================================================================== */

.bet-slip {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    width: 340px;
    z-index: 100;
    
    background: linear-gradient(180deg, rgba(8, 16, 30, 0.98) 0%, rgba(4, 10, 20, 0.99) 100%);
    border-left: 1px solid rgba(0, 214, 137, 0.2);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
    
    display: flex;
    flex-direction: column;
    transform: translateX(280px);
    transition: transform 0.3s ease;
}

body.page-odds-market.slip-open .bet-slip {
    transform: translateX(0);
}


/* --- Bet Slip Header --- */

.bet-slip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    background: rgba(0, 214, 137, 0.08);
    border-bottom: 1px solid rgba(0, 214, 137, 0.15);
}

.bet-slip-title {
    margin: 0;
    /* Garamond - title */
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: #ffffff;
}

.bet-slip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    background: rgba(0, 214, 137, 0.2);
    border-radius: 13px;
    
    /* NUMBERS - Mono */
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--color-primary-bright);
}

.bet-slip-toggle {
    margin-left: auto;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bet-slip-toggle:hover {
    background: rgba(0, 214, 137, 0.12);
    border-color: rgba(0, 214, 137, 0.3);
    color: var(--color-primary-bright);
}

.bet-slip-toggle .toggle-icon {
    transition: transform 0.3s ease;
}

body.page-odds-market.slip-open .bet-slip-toggle .toggle-icon {
    transform: rotate(180deg);
}


/* --- Bet Slip Body --- */

.bet-slip-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
}

.bet-slip-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 40px 20px;
    text-align: center;
}

.slip-empty-icon {
    font-size: 2.5rem;
    opacity: 0.35;
}

.slip-empty-text {
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.45);
}


/* --- Bet Slip Picks --- */

.bet-slip-picks {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.slip-pick {
    position: relative;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.slip-pick-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.slip-pick-game {
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.55);
}

.slip-pick-remove {
    width: 22px;
    height: 22px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: color 0.15s ease;
}

.slip-pick-remove:hover { color: #ff6464; }

.slip-pick-selection {
    margin-bottom: 6px;
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: #ffffff;
}

.slip-pick-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.slip-pick-book {
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(0, 214, 137, 0.8);
}

.slip-pick-odds {
    /* NUMBERS - Mono */
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-primary-bright);
}


/* --- Bet Slip Input --- */

.slip-pick-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slip-input-label {
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.slip-input {
    flex: 1;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    
    /* NUMBERS - Mono */
    font-family: var(--font-mono);
    font-size: var(--text-md);
    font-weight: var(--weight-medium);
    text-align: right;
    color: #ffffff;
}

.slip-input:focus {
    outline: none;
    border-color: rgba(0, 214, 137, 0.5);
}


/* --- Payout Display --- */

.slip-pick-payout {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.slip-payout-label {
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.5);
}

.slip-payout-value {
    /* NUMBERS - Mono */
    font-family: var(--font-mono);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    color: #66ffbb;
}


/* --- Bet Slip Footer --- */

.bet-slip-footer {
    padding: 18px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 214, 137, 0.15);
}

.bet-slip-footer[hidden] { display: none; }

.slip-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.slip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slip-label {
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.7);
}

.slip-value {
    /* NUMBERS - Mono */
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: #ffffff;
}

.slip-value.slip-win { color: #66ffbb; }

.slip-clear-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 100, 100, 0.08);
    border: 1px solid rgba(255, 100, 100, 0.25);
    border-radius: 6px;
    
    /* Garamond */
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff6464;
    
    cursor: pointer;
    transition: all 0.2s ease;
}

.slip-clear-btn:hover {
    background: rgba(255, 100, 100, 0.15);
    border-color: rgba(255, 100, 100, 0.4);
}


/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1400px) {
    .books-header-game,
    .game-info {
        flex: 0 0 260px;
    }
    
    .book-odds-col,
    .book-header-col {
        min-width: 95px;
    }
}

@media (max-width: 1200px) {
    body.page-odds-market .main-container,
    body.page-odds-market.slip-open .main-container {
        padding-right: 20px;
    }
    
    .bet-slip {
        width: 100%;
        max-width: 400px;
        transform: translateX(100%);
    }
    
    .books-header-game,
    .game-info {
        flex: 0 0 220px;
    }
    
    .book-full-name { display: none; }
}

@media (max-width: 992px) {
    .market-selector {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .market-selector-right {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }
    
    .books-header-game,
    .game-info {
        flex: 0 0 200px;
    }
    
    .book-odds-col,
    .book-header-col {
        min-width: 85px;
    }
}

@media (max-width: 768px) {
    .books-header { display: none; }
    
    .game-row { flex-direction: column; }
    
    .game-info {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .game-books { flex-wrap: wrap; }
    
    .book-odds-col {
        flex: 1 1 50%;
        min-width: 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }
    
    .book-odds-col::before {
        content: attr(data-book);
        display: block;
        padding: 8px 10px;
        background: rgba(0, 0, 0, 0.3);
        /* Garamond */
        font-family: var(--font-body);
        font-size: var(--text-sm);
        font-weight: var(--weight-semibold);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
    }
    
    .market-btn {
        flex: 1;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .book-odds-col {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .odds-cell {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 14px;
    }
}
