/* ==========================================================================
   Sportsbook Theme - sports.css
   Self-contained stylesheet for all sportsbook pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Sportsbook Palette)
   -------------------------------------------------------------------------- */
:root {
    --sp-bg: #0f0f23;
    --sp-bg-primary: #1a1a2e;
    --sp-bg-secondary: #0f0f23;
    --sp-bg-surface: #1a1a2e;
    --sp-bg-card: #16213e;
    --sp-bg-card-hover: #1a2744;
    --sp-border: #2d2d44;
    --sp-green: #28a745;
    --sp-gold: #ffc107;
    --sp-blue: #0d6efd;
    --sp-red: #dc3545;
    --sp-purple: #a855f7;
    --sp-text-primary: #e9ecef;
    --sp-text-secondary: #8b929a;
    --sp-text-muted: #6c757d;
}

/* --------------------------------------------------------------------------
   Content Layout (sidebar offset — matches casino pages)
   -------------------------------------------------------------------------- */
.page__content2 {
    max-width: calc(100% - 235px - 32px);
    width: 100%;
    margin-left: 270px;
    padding-right: 5px;
}

@media screen and (max-width: 960px) {
    .page__content2 {
        max-width: 100%;
        margin-left: 0;
        padding-right: 5px;
        padding-left: 0px;
    }
}

/* --------------------------------------------------------------------------
   History Page
   -------------------------------------------------------------------------- */
.history-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--sp-border);
    margin-bottom: 20px;
}

.history-page-header h4 {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.history-back-btn {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--sp-border);
    background: transparent;
    color: var(--sp-text-secondary);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s;
}

.history-back-btn:hover {
    border-color: var(--sp-green);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Bet History Cards
   -------------------------------------------------------------------------- */
.bet-card {
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
}

.bet-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    cursor: pointer;
    transition: background 0.2s;
}

.bet-card-header:hover {
    background: var(--sp-bg-card-hover);
}

.bet-card-body {
    background: rgba(22,33,62,0.5);
    border: 1px solid var(--sp-border);
    border-top: none;
    padding: 0;
}

.bet-card-leg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.bet-card-leg:last-child {
    border-bottom: none;
}

.bet-card-meta {
    padding: 8px 14px;
    font-size: 0.75rem;
    color: var(--sp-text-muted);
}

/* --------------------------------------------------------------------------
   Status Badges (Sportsbook Palette)
   -------------------------------------------------------------------------- */
.sp-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-block;
}

.sp-badge-pending {
    background: rgba(255,193,7,0.15);
    color: var(--sp-gold);
    border: 1px solid rgba(255,193,7,0.3);
}

.sp-badge-accepted {
    background: rgba(13,110,253,0.15);
    color: var(--sp-blue);
    border: 1px solid rgba(13,110,253,0.3);
}

.sp-badge-settled {
    background: rgba(108,117,125,0.15);
    color: var(--sp-text-secondary);
    border: 1px solid rgba(108,117,125,0.3);
}

.sp-badge-voided {
    background: rgba(108,117,125,0.15);
    color: var(--sp-text-secondary);
    border: 1px solid rgba(108,117,125,0.3);
}

.sp-badge-cashed_out {
    background: rgba(168,85,247,0.15);
    color: var(--sp-purple);
    border: 1px solid rgba(168,85,247,0.3);
}

.sp-badge-won {
    background: rgba(40,167,69,0.15);
    color: var(--sp-green);
    border: 1px solid rgba(40,167,69,0.3);
}

.sp-badge-lost {
    background: rgba(220,53,69,0.15);
    color: var(--sp-red);
    border: 1px solid rgba(220,53,69,0.3);
}

.sp-badge-void {
    background: rgba(108,117,125,0.15);
    color: var(--sp-text-secondary);
    border: 1px solid rgba(108,117,125,0.3);
}

/* --------------------------------------------------------------------------
   Bet Detail Page
   -------------------------------------------------------------------------- */
.bet-detail-card {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 8px;
    padding: 20px 24px;
}

.bet-detail-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.bet-detail-uuid {
    font-size: 0.75rem;
    color: var(--sp-text-muted);
}

.bet-detail-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--sp-border);
    border-bottom: 1px solid var(--sp-border);
}

.bet-detail-stat-label {
    font-size: 0.75rem;
    color: var(--sp-text-muted);
    margin-bottom: 2px;
}

.bet-detail-stat-value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
}

.bet-detail-stat-value.won {
    color: var(--sp-green);
}

@media (max-width: 768px) {
    .bet-detail-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bet-detail-leg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    margin-bottom: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
}

.bet-detail-leg-teams {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
}

.bet-detail-leg-market {
    font-size: 0.78rem;
    color: var(--sp-text-muted);
}

.bet-detail-leg-market .outcome-name {
    color: var(--sp-blue);
}

.bet-detail-timestamps {
    font-size: 0.75rem;
    color: var(--sp-text-muted);
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-sp-green {
    color: var(--sp-green) !important;
}

.text-sp-purple {
    color: var(--sp-purple) !important;
}

.text-sp-muted {
    color: var(--sp-text-muted) !important;
}

.text-sp-secondary {
    color: var(--sp-text-secondary) !important;
}

/* --------------------------------------------------------------------------
   Empty State
   -------------------------------------------------------------------------- */
.sports-empty {
    text-align: center;
    color: var(--sp-text-muted);
    padding: 48px 16px;
}

.sports-empty i {
    display: block;
    margin-bottom: 12px;
    font-size: 3rem;
    opacity: 0.5;
}

.sports-empty p {
    margin-bottom: 12px;
}

.sports-empty a {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--sp-border);
    background: transparent;
    color: var(--sp-text-secondary);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s;
}

.sports-empty a:hover {
    border-color: var(--sp-green);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Three-Column Layout
   -------------------------------------------------------------------------- */
.sports-layout {
    display: flex;
    flex-direction: row;
    min-height: calc(100vh - 60px);
}

.sports-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: var(--sp-bg-secondary);
    border-right: 1px solid var(--sp-border);
    overflow-y: auto;
}

.sports-main {
    flex-grow: 1;
    padding: 16px 20px;
    overflow-y: auto;
}

.sports-betslip-col {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    align-self: flex-start;
    padding: 12px;
}

/* --------------------------------------------------------------------------
   Sidebar Navigation
   -------------------------------------------------------------------------- */
.sport-nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 16px;
    color: var(--sp-text-secondary);
    border-left: 3px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.sport-nav-item:hover,
.sport-nav-item.active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-left-color: var(--sp-green);
}

.sport-nav-item .sport-icon {
    width: 28px;
    text-align: center;
    margin-right: 10px;
    font-size: 1.1rem;
}

.sport-nav-item .sport-count {
    margin-left: auto;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
}

.league-nav-item {
    padding: 6px 16px 6px 54px;
    font-size: 0.82rem;
    color: var(--sp-text-muted);
    display: block;
    text-decoration: none;
}

.league-nav-item:hover,
.league-nav-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

/* --------------------------------------------------------------------------
   Quick Filter Bar
   -------------------------------------------------------------------------- */
.sports-filters {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sp-border);
}

.sports-filter-btn {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--sp-border);
    background: transparent;
    color: var(--sp-text-secondary);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.sports-filter-btn:hover {
    border-color: var(--sp-green);
    color: #fff;
}

.sports-filter-btn.active {
    background: var(--sp-green);
    border-color: var(--sp-green);
    color: #fff;
}

/* --------------------------------------------------------------------------
   League Section Header
   -------------------------------------------------------------------------- */
.league-section-header {
    font-size: 0.8rem;
    color: var(--sp-text-muted);
    padding: 10px 0 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --------------------------------------------------------------------------
   Event Cards
   -------------------------------------------------------------------------- */
.event-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 6px;
    margin-bottom: 6px;
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.event-row:hover {
    background: var(--sp-bg-card-hover);
    color: inherit;
    text-decoration: none;
}

.event-row.event-live {
    border-left: 3px solid var(--sp-gold);
}

.event-teams {
    font-weight: 500;
    color: var(--sp-text-primary);
    font-size: 0.9rem;
}

.event-time {
    font-size: 0.75rem;
    color: var(--sp-text-muted);
    min-width: 55px;
}

.event-score {
    font-size: 0.85rem;
    color: var(--sp-gold);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Odds Pill Buttons
   -------------------------------------------------------------------------- */
.odds-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 62px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--sp-border);
    transition: all 0.3s ease;
    text-align: center;
    user-select: none;
}

.odds-pill:hover:not(.odds-suspended) {
    border-color: var(--sp-green);
    background: rgba(40, 167, 69, 0.1);
}

.odds-pill.odds-selected {
    background: var(--sp-green);
    border-color: var(--sp-green);
    color: #fff;
}

.odds-pill.odds-selected .odds-label {
    color: rgba(255, 255, 255, 0.8);
}

.odds-pill.odds-suspended {
    opacity: 0.4;
    cursor: not-allowed;
}

.odds-label {
    font-size: 0.65rem;
    color: var(--sp-text-muted);
    line-height: 1;
    margin-bottom: 2px;
}

.odds-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.odds-pill.odds-selected .odds-value {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Odds Flash Animations
   -------------------------------------------------------------------------- */
.odds-pill.odds-flash-up {
    animation: oddsFlashGreen 0.3s ease;
}

.odds-pill.odds-flash-down {
    animation: oddsFlashRed 0.3s ease;
}

@keyframes oddsFlashGreen {
    0%, 100% { background: transparent; }
    50% { background: rgba(40, 167, 69, 0.4); border-color: rgba(40, 167, 69, 0.6); }
}

@keyframes oddsFlashRed {
    0%, 100% { background: transparent; }
    50% { background: rgba(220, 53, 69, 0.4); border-color: rgba(220, 53, 69, 0.6); }
}

/* --------------------------------------------------------------------------
   Live Indicator
   -------------------------------------------------------------------------- */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: var(--sp-red);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--sp-red);
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 1.5s ease-in-out infinite;
}

.live-elapsed {
    color: #ff8a8a;
    font-weight: 500;
    margin-left: 2px;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* --------------------------------------------------------------------------
   Score Update Animation
   -------------------------------------------------------------------------- */
.score-flash {
    animation: scoreHighlight 0.5s ease;
}

@keyframes scoreHighlight {
    0%, 100% { background: transparent; }
    50% { background: rgba(255, 193, 7, 0.3); border-radius: 4px; }
}

/* --------------------------------------------------------------------------
   Mobile Responsive (Sportsbook Layout)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .sports-layout {
        flex-direction: column;
    }

    .sports-sidebar {
        width: 100%;
        min-height: unset;
        border-right: none;
        border-bottom: 1px solid var(--sp-border);
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding: 8px 4px;
        -webkit-overflow-scrolling: touch;
    }

    .sport-nav-item {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 8px 14px;
        flex-direction: column;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .sport-nav-item.active {
        border-bottom-color: var(--sp-green);
        border-left-color: transparent;
    }

    .sport-nav-item .sport-icon {
        margin-right: 0;
        margin-bottom: 4px;
    }

    .sport-nav-item .sport-count {
        display: none;
    }

    .league-nav-item {
        display: none;
    }

    .sports-betslip-col {
        display: none;
    }

    .sports-main {
        padding: 12px;
    }

    .event-row {
        padding: 8px 10px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .sports-sidebar {
        width: 180px;
    }

    .sports-betslip-col {
        width: 260px;
    }
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.sports-breadcrumb {
    font-size: 0.82rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.sports-breadcrumb a {
    color: var(--sp-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.sports-breadcrumb a:hover {
    color: #fff;
}

.sports-breadcrumb .bc-sep {
    color: var(--sp-text-muted);
    margin: 0 2px;
}

/* --------------------------------------------------------------------------
   Event Detail Header
   -------------------------------------------------------------------------- */
.event-detail-header {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.event-detail-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.2));
    pointer-events: none;
}

.event-detail-teams {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    position: relative;
    z-index: 1;
}

.event-detail-meta {
    font-size: 0.82rem;
    color: var(--sp-text-muted);
    margin-top: 4px;
}

.event-detail-score {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sp-gold);
    text-shadow: 0 0 20px rgba(255,193,7,0.3);
}

/* --------------------------------------------------------------------------
   Market Tabs (D-07)
   -------------------------------------------------------------------------- */
.market-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--sp-border);
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.market-tabs::-webkit-scrollbar {
    display: none;
}

.market-tab {
    padding: 10px 18px;
    font-size: 0.85rem;
    color: var(--sp-text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all 0.2s;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
}

.market-tab:hover {
    color: #fff;
}

.market-tab.active {
    color: #fff;
    border-bottom-color: var(--sp-green);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Market Content Panel
   -------------------------------------------------------------------------- */
.market-panel {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 0 0 8px 8px;
    padding: 14px 16px;
}

.market-outcomes-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.market-outcomes-row:last-child {
    border-bottom: none;
}

.market-row-label {
    font-size: 0.82rem;
    color: var(--sp-text-muted);
    min-width: 120px;
    display: flex;
    align-items: center;
}

/* --------------------------------------------------------------------------
   Mobile Bottom Sheet for Bet Slip (D-04)
   -------------------------------------------------------------------------- */
.betslip-mobile-toggle {
    display: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1060;
    background: var(--sp-green);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(40,167,69,0.4);
    cursor: pointer;
}

.betslip-mobile-toggle .slip-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--sp-red);
    color: #fff;
    font-size: 0.6rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

@media (max-width: 992px) {
    .betslip-mobile-toggle {
        display: flex;
    }

    .sports-betslip-col {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        width: 100%;
        z-index: 1050;
        max-height: 70vh;
        overflow-y: auto;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .sports-betslip-col.slip-open {
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   Bet Slip Container
   -------------------------------------------------------------------------- */
.betslip {
    background: var(--sp-bg-secondary);
    border: 1px solid var(--sp-border);
    border-radius: 8px;
    overflow: hidden;
}

.betslip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(40,167,69,0.15);
    border-bottom: 1px solid var(--sp-border);
}

.betslip-header h6 {
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.betslip-header .slip-clear {
    background: transparent;
    border: 1px solid rgba(220,53,69,0.4);
    color: var(--sp-red);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.2s;
}

.betslip-header .slip-clear:hover {
    background: rgba(220,53,69,0.2);
}

/* --------------------------------------------------------------------------
   Bet Slip Empty State
   -------------------------------------------------------------------------- */
.betslip-empty {
    text-align: center;
    padding: 32px 20px;
    color: var(--sp-text-muted);
}

.betslip-empty i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    opacity: 0.4;
}

.betslip-empty p {
    font-size: 0.82rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Segmented Control Toggle (D-08)
   -------------------------------------------------------------------------- */
.betslip-toggle {
    display: flex;
    background: var(--sp-bg-card);
    border-radius: 6px;
    padding: 3px;
    margin: 10px 14px;
    gap: 2px;
}

.betslip-toggle-btn {
    flex: 1;
    padding: 6px 0;
    border-radius: 4px;
    border: none;
    background: transparent;
    color: var(--sp-text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.betslip-toggle-btn.active {
    background: var(--sp-green);
    color: #fff;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Selection Cards (D-08 + D-11 Slide-in)
   -------------------------------------------------------------------------- */
.betslip-selections {
    padding: 8px 14px;
    max-height: 320px;
    overflow-y: auto;
}

.betslip-selection {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 8px;
    position: relative;
    animation: slipSlideIn 0.2s ease;
}

.betslip-selection .sel-remove {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    color: var(--sp-text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.2s;
}

.betslip-selection .sel-remove:hover {
    color: #fff;
    background: rgba(220,53,69,0.3);
}

.sel-event {
    font-size: 0.75rem;
    color: var(--sp-text-muted);
    margin-bottom: 2px;
    padding-right: 20px;
}

.sel-pick {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sel-outcome {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
}

.sel-odds {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.sel-odds.odds-up {
    background: rgba(40,167,69,0.2);
    color: var(--sp-green);
}

.sel-odds.odds-down {
    background: rgba(220,53,69,0.2);
    color: var(--sp-red);
}

.sel-odds.odds-neutral {
    background: rgba(13,110,253,0.2);
    color: var(--sp-blue);
}

.sel-market {
    font-size: 0.72rem;
    color: var(--sp-text-muted);
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Stake Input
   -------------------------------------------------------------------------- */
.betslip-stake {
    margin-top: 8px;
}

.betslip-stake .stake-input-group {
    display: flex;
    align-items: center;
    background: var(--sp-bg-primary);
    border: 1px solid var(--sp-border);
    border-radius: 6px;
    overflow: hidden;
}

.betslip-stake .stake-currency {
    padding: 6px 10px;
    color: var(--sp-text-muted);
    font-size: 0.85rem;
    border-right: 1px solid var(--sp-border);
}

.betslip-stake input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 6px 10px;
    font-size: 0.85rem;
    outline: none;
}

.betslip-stake input::placeholder {
    color: var(--sp-text-muted);
}

.betslip-payout {
    text-align: right;
    font-size: 0.78rem;
    margin-top: 4px;
    color: var(--sp-text-muted);
}

.betslip-payout .payout-value {
    color: var(--sp-green);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Parlay Section
   -------------------------------------------------------------------------- */
.betslip-parlay-info {
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
}

.betslip-parlay-odds {
    color: var(--sp-green);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Bet Slip Footer
   -------------------------------------------------------------------------- */
.betslip-footer {
    padding: 10px 14px;
    border-top: 1px solid var(--sp-border);
}

.betslip-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.betslip-total .total-label {
    color: var(--sp-text-muted);
    font-size: 0.82rem;
}

.betslip-total .total-value {
    color: var(--sp-green);
    font-weight: 700;
    font-size: 1rem;
}

.betslip-submit {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    background: var(--sp-green);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.betslip-submit:hover:not(:disabled) {
    background: #218838;
}

.betslip-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.betslip-limits {
    text-align: center;
    font-size: 0.72rem;
    color: var(--sp-text-muted);
    margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Slide-in Animation (D-11)
   -------------------------------------------------------------------------- */
@keyframes slipSlideIn {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   Odds Change Warning
   -------------------------------------------------------------------------- */
.betslip-odds-warn {
    background: rgba(255,193,7,0.1);
    border: 1px solid rgba(255,193,7,0.3);
    border-radius: 4px;
    padding: 6px 8px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--sp-gold);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.betslip-odds-warn button {
    padding: 1px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    cursor: pointer;
    border: 1px solid;
}

/* --------------------------------------------------------------------------
   Bet Slip Message
   -------------------------------------------------------------------------- */
.betslip-message {
    padding: 6px 10px;
    margin: 8px 14px 0;
    border-radius: 4px;
    font-size: 0.78rem;
}

.betslip-message.msg-success {
    background: rgba(40,167,69,0.15);
    color: var(--sp-green);
    border: 1px solid rgba(40,167,69,0.3);
}

.betslip-message.msg-error {
    background: rgba(220,53,69,0.15);
    color: var(--sp-red);
    border: 1px solid rgba(220,53,69,0.3);
}

/* ==========================================================================
   Stat Dashboard Cards
   ========================================================================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 10px;
    padding: 14px 16px;
    transition: all 0.2s;
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--sp-bg-card-hover);
}

.stat-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-card-icon--red {
    background: rgba(220, 53, 69, 0.15);
    color: var(--sp-red);
}

.stat-card-icon--blue {
    background: rgba(13, 110, 253, 0.15);
    color: var(--sp-blue);
}

.stat-card-icon--green {
    background: rgba(40, 167, 69, 0.15);
    color: var(--sp-green);
}

.stat-card-icon--purple {
    background: rgba(168, 85, 247, 0.15);
    color: var(--sp-purple);
}

.stat-card-info {
    display: flex;
    flex-direction: column;
}

.stat-card-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.75rem;
    color: var(--sp-text-muted);
    line-height: 1.2;
}

/* ==========================================================================
   Match Cards Grid
   ========================================================================== */
.match-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

/* ==========================================================================
   Match Card
   ========================================================================== */
.match-card {
    display: flex;
    flex-direction: column;
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.match-card:hover {
    background: var(--sp-bg-card-hover);
    border-color: rgba(40, 167, 69, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.match-card--live {
    border-left: 4px solid var(--sp-gold);
}

.match-card-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.match-card-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.team-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-logo svg {
    width: 40px;
    height: 40px;
}

.team-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.team-name {
    font-size: 0.78rem;
    color: var(--sp-text-primary);
    font-weight: 500;
    text-align: center;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-card-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
}

.match-card-vs {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sp-text-muted);
}

.match-card-time {
    font-size: 0.7rem;
    color: var(--sp-text-muted);
    text-align: center;
}

.match-card-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sp-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

.score-separator {
    color: var(--sp-text-muted);
    font-size: 1rem;
}

.match-card-odds {
    display: flex;
    gap: 6px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
}

/* ==========================================================================
   Featured Section
   ========================================================================== */
.featured-section {
    margin-bottom: 20px;
}

.featured-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-title i {
    color: var(--sp-gold);
}

.featured-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.featured-scroll::-webkit-scrollbar {
    display: none;
}

.featured-card {
    min-width: 220px;
    max-width: 260px;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.featured-card:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.featured-card--football {
    background: linear-gradient(135deg, #1a472a, #0f2318);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.featured-card--basketball {
    background: linear-gradient(135deg, #4a2c1a, #2a1a0f);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.featured-card--tennis {
    background: linear-gradient(135deg, #2a3a1a, #1a2a0f);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.featured-card--ice-hockey {
    background: linear-gradient(135deg, #1a2a3a, #0f1a2a);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.featured-card--baseball {
    background: linear-gradient(135deg, #3a1a1a, #2a0f0f);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.featured-card--mma {
    background: linear-gradient(135deg, #2a1a2a, #1a0f1a);
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.featured-card--cricket {
    background: linear-gradient(135deg, #2a2a1a, #1a1a0f);
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.featured-card--rugby {
    background: linear-gradient(135deg, #2a1a1a, #1a0f0f);
    border: 1px solid rgba(192, 57, 43, 0.3);
}

.featured-card--golf {
    background: linear-gradient(135deg, #1a3a2a, #0f2a1a);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.featured-card--default {
    background: linear-gradient(135deg, #1a1a2e, #0f0f23);
    border: 1px solid var(--sp-border);
}

.featured-card-badge {
    margin-bottom: 8px;
}

.featured-sport {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.featured-card-teams {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.featured-card-league {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.featured-card-odds {
    display: flex;
    gap: 8px;
}

.featured-odd {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    min-width: 44px;
    transition: all 0.2s ease;
}

.featured-odd:hover {
    background: rgba(40, 167, 69, 0.25);
}

.featured-odd-label {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.featured-odd-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

/* ==========================================================================
   Featured Match Hero Layout (new in Plan 25-03)
   ========================================================================== */
.featured-card--live {
    border-left: 4px solid var(--sp-gold);
}

.featured-card-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.featured-card-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.featured-card-team .team-logo {
    width: 48px;
    height: 48px;
}

.featured-card-team .team-logo svg {
    width: 48px;
    height: 48px;
}

.featured-card-team .team-name {
    max-width: 84px;
    font-size: 0.72rem;
    color: #fff;
}

.featured-card-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.featured-card-center .match-card-vs {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.featured-card-center .match-card-score {
    font-size: 1.2rem;
}

.featured-card:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   Updated Sidebar Event Count Badge
   ========================================================================== */
.sport-nav-item .sport-event-count {
    margin-left: auto;
    font-size: 0.68rem;
    background: rgba(40, 167, 69, 0.2);
    color: var(--sp-green);
    padding: 1px 6px;
    border-radius: 8px;
    min-width: 20px;
    text-align: center;
}

/* ==========================================================================
   Mobile Responsive Additions
   ========================================================================== */
@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .match-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        min-width: 180px;
    }

    .match-card-teams {
        gap: 4px;
    }

    .team-logo {
        width: 32px;
        height: 32px;
    }

    .team-logo svg {
        width: 32px;
        height: 32px;
    }

    .team-logo-fallback {
        width: 32px;
        height: 32px;
        font-size: 0.65rem;
    }
}

@media (max-width: 992px) {
    .match-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Event Detail Header - Large (Plan 25-04)
   ========================================================================== */
.event-header-large {
    background: linear-gradient(135deg, var(--sp-bg-card), var(--sp-bg-secondary));
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.event-header-large::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(ellipse at top right, rgba(40,167,69,0.08), transparent 60%);
    pointer-events: none;
}

.event-teams-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.event-team-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.team-logo-large {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.team-logo-large svg {
    width: 64px;
    height: 64px;
}

.team-name-large {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.event-center-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}

.event-vs-large {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sp-text-muted);
}

.event-score-large {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--sp-gold);
    display: flex;
    gap: 8px;
    text-shadow: 0 0 20px rgba(255,193,7,0.3);
}

.event-time-large {
    font-size: 0.82rem;
    color: var(--sp-text-muted);
}

.event-league-large {
    font-size: 0.82rem;
    color: var(--sp-text-muted);
    text-align: center;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* Event Detail Sport Gradients */
.event-header-large--football { background: linear-gradient(135deg, #1a472a, #0f2318, var(--sp-bg-card)); }
.event-header-large--basketball { background: linear-gradient(135deg, #4a2c1a, #2a1a0f, var(--sp-bg-card)); }
.event-header-large--tennis { background: linear-gradient(135deg, #2a3a1a, #1a2a0f, var(--sp-bg-card)); }
.event-header-large--ice-hockey { background: linear-gradient(135deg, #1a2a3a, #0f1a2a, var(--sp-bg-card)); }
.event-header-large--baseball { background: linear-gradient(135deg, #3a1a1a, #2a0f0f, var(--sp-bg-card)); }
.event-header-large--mma { background: linear-gradient(135deg, #2a1a2a, #1a0f1a, var(--sp-bg-card)); }
.event-header-large--cricket { background: linear-gradient(135deg, #2a2a1a, #1a1a0f, var(--sp-bg-card)); }
.event-header-large--default { background: linear-gradient(135deg, var(--sp-bg-card), var(--sp-bg-secondary)); }

/* ==========================================================================
   Head-to-Head Stats (Plan 25-04)
   ========================================================================== */
.h2h-stats {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.h2h-stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.h2h-stats-header i {
    transition: transform 0.2s;
    color: var(--sp-text-muted);
}

.h2h-stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.h2h-stat-row:last-child {
    border-bottom: none;
}

.h2h-stat-label {
    min-width: 100px;
    font-size: 0.78rem;
    color: var(--sp-text-muted);
}

.h2h-stat-bar {
    flex: 1;
    display: flex;
    gap: 4px;
    align-items: center;
}

.h2h-bar-fill {
    height: 6px;
    border-radius: 3px;
    transition: width 0.3s;
}

.h2h-bar-fill--home {
    background: var(--sp-green);
}

.h2h-bar-fill--away {
    background: var(--sp-blue);
}

.h2h-stat-value {
    font-size: 0.78rem;
    color: #fff;
    font-weight: 600;
    min-width: 32px;
    text-align: center;
}

.form-dots {
    display: flex;
    gap: 3px;
}

.form-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.form-dot--win {
    background: var(--sp-green);
}

.form-dot--loss {
    background: var(--sp-red);
}

.form-dot--draw {
    background: var(--sp-text-muted);
}

/* ==========================================================================
   Quick Stake Buttons (Plan 25-04)
   ========================================================================== */
.quick-stakes {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.quick-stake-btn {
    flex: 1;
    padding: 4px 0;
    border-radius: 4px;
    border: 1px solid var(--sp-border);
    background: transparent;
    color: var(--sp-text-secondary);
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.quick-stake-btn:hover {
    border-color: var(--sp-green);
    color: #fff;
    background: rgba(40,167,69,0.1);
}

/* ==========================================================================
   Bet Slip Submit Gradient (Plan 25-04)
   ========================================================================== */
.betslip-submit--gradient {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 2px 8px rgba(40,167,69,0.3);
}

.betslip-submit--gradient:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838, #1baa80);
    box-shadow: 0 4px 12px rgba(40,167,69,0.4);
}

.betslip-submit--gradient:disabled {
    background: var(--sp-border);
    box-shadow: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================================
   Odds Change Warning Buttons (Plan 25-04)
   ========================================================================== */
.odds-warn-accept {
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    border: 1px solid var(--sp-gold);
    background: rgba(255,193,7,0.15);
    color: var(--sp-gold);
    transition: all 0.2s;
}

.odds-warn-accept:hover {
    background: rgba(255,193,7,0.25);
}

.odds-warn-reject {
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    border: 1px solid var(--sp-red);
    background: rgba(220,53,69,0.15);
    color: var(--sp-red);
    transition: all 0.2s;
}

.odds-warn-reject:hover {
    background: rgba(220,53,69,0.25);
}

/* ==========================================================================
   Bet History Match Cards (Plan 25-04)
   ========================================================================== */
.bet-history-card {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.bet-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.bet-history-header:hover {
    background: var(--sp-bg-card-hover);
}

.bet-history-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bet-type-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(13,110,253,0.15);
    color: var(--sp-blue);
    border: 1px solid rgba(13,110,253,0.3);
}

.bet-history-date {
    font-size: 0.75rem;
    color: var(--sp-text-muted);
}

.bet-history-amount {
    text-align: right;
}

.bet-history-stake {
    font-size: 0.78rem;
    color: var(--sp-text-muted);
}

.bet-history-payout {
    font-size: 0.95rem;
    font-weight: 700;
}

.bet-history-payout.won {
    color: var(--sp-green);
}

.bet-history-payout.lost {
    color: var(--sp-red);
}

.bet-history-legs {
    padding: 0 16px 12px;
}

.bet-history-leg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.bet-history-leg:last-child {
    border-bottom: none;
}

.leg-result-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.leg-result-icon.won {
    background: rgba(40,167,69,0.2);
    color: var(--sp-green);
}

.leg-result-icon.lost {
    background: rgba(220,53,69,0.2);
    color: var(--sp-red);
}

.leg-result-icon.pending {
    background: rgba(255,193,7,0.2);
    color: var(--sp-gold);
}

/* ==========================================================================
   Event Detail + Bet History Mobile (Plan 25-04)
   ========================================================================== */
@media (max-width: 768px) {
    .event-teams-large { gap: 12px; }
    .team-logo-large { width: 48px; height: 48px; }
    .team-logo-large svg { width: 48px; height: 48px; }
    .event-score-large { font-size: 1.8rem; }
    .event-header-large { padding: 16px; }

    .bet-history-meta { flex-wrap: wrap; gap: 4px; }
    .bet-history-header { flex-wrap: wrap; gap: 8px; }
    .bet-history-leg { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* --------------------------------------------------------------------------
   Horizontal Sport Navigation Strip (replaces sidebar)
   -------------------------------------------------------------------------- */
.sports-nav-strip {
    margin-bottom: 16px;
}

.sports-nav-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sp-border);
}

.sports-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--sp-border);
    background: transparent;
    color: var(--sp-text-secondary);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.sports-nav-pill:hover {
    border-color: var(--sp-green);
    color: #fff;
}

.sports-nav-pill.active {
    background: rgba(40, 167, 69, 0.15);
    border-color: var(--sp-green);
    color: var(--sp-green);
}

.sports-nav-pill .sport-icon {
    font-size: 0.9rem;
}

.sports-nav-pill .sport-event-count {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 2px;
}

.sports-league-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0;
}

.sports-league-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--sp-text-muted);
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.2s;
}

.sports-league-pill:hover,
.sports-league-pill.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Inline bet slip (replaces column layout) */
.sports-betslip-inline {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .sports-nav-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .sports-nav-scroll::-webkit-scrollbar {
        display: none;
    }
    .sports-league-strip {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .sports-league-strip::-webkit-scrollbar {
        display: none;
    }
}

/* ============================================================
   Alpine.js x-transition helper classes (Plan 25-04, D-11 slide-in)
   Lightweight Tailwind-compatible utility subset used by Alpine
   x-transition directives on the bet slip and event market panels.
   ============================================================ */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.transform { transform: translateX(0) translateY(0); }
.translate-x-0 { transform: translateX(0); }
.translate-x-4 { transform: translateX(1rem); }
.-translate-x-4 { transform: translateX(-1rem); }

