/* ==========================================================================
   Apex Analytics - Ultra Premium Dark Theme Design System
   ========================================================================== */

:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(17, 24, 39, 0.85);
    --bg-card-hover: rgba(26, 36, 56, 0.95);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(6, 182, 212, 0.35);

    --primary-cyan: #06b6d4;
    --primary-glow: rgba(6, 182, 212, 0.25);
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.25);
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --accent-violet: #8b5cf6;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Ambient glow & grid */
.glow-bg {
    position: fixed;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 80%);
    filter: blur(80px);
    z-index: -2;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
    display: flex;
    flex-direction: column;
    background: rgba(10, 14, 23, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.navbar-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 1.25rem;
    gap: 1rem;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.nav-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-quick-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.vb-chip-icon-mobile {
    display: none;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-brand:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.nav-brand:active {
    transform: translateY(0);
    opacity: 0.7;
}

.brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(139, 92, 246, 0.35));
    border: 1px solid rgba(6, 182, 212, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    position: relative;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

.brand-title {
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #ffffff;
    margin: 0;
    line-height: 1;
}

.brand-title span {
    color: var(--primary-cyan);
    font-weight: 300;
    margin-left: 3px;
}

.league-selector-wrap {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 28px;
    transition: all 0.2s ease;
}

.league-selector-wrap:hover {
    border-color: rgba(6, 182, 212, 0.4);
    background: rgba(255, 255, 255, 0.07);
}

.selector-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--primary-cyan);
    letter-spacing: 0.5px;
}

.custom-select {
    background: transparent;
    color: #cbd5e1;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    padding-right: 0.2rem;
}

.custom-select option {
    background-color: #0f172a;
    color: #ffffff;
}

.nav-tabs-wrapper {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(15, 23, 42, 0.45);
}

[data-theme="light"] .nav-tabs-wrapper {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.nav-tabs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.35rem 1.25rem;
    max-width: 1440px;
    margin: 0 auto;
}

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

.nav-tab {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap !important;
    transition: all 0.15s ease;
    position: relative;
    flex-shrink: 0;
}

.nav-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

.nav-tab .tab-icon {
    font-size: 0.9rem;
}

.badge-persona {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    font-size: 0.65rem !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
}

.badge-alert {
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    padding: 1px 5px !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
}

.audio-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    height: 32px;
    width: 32px;
    min-width: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.audio-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.audio-btn.active {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.12);
}

.audio-btn.muted {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: #64748b;
}

.audio-btn .sound-text {
    display: none;
}

/* ==========================================================================
   Main Layout & Panels
   ========================================================================== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.view-panel {
    display: none;
    animation: fadeIn 0.35s ease-out;
}

.view-panel.active {
    display: block;
}

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

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.action-btn {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.action-btn:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

.glow-btn {
    background: linear-gradient(135deg, #06b6d4, #0284c7);
    color: #ffffff;
    border: none;
    font-weight: 700;
    width: 100%;
    justify-content: center;
    padding: 0.9rem;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.glow-btn:hover {
    background: linear-gradient(135deg, #0891b2, #0369a1);
    color: #ffffff;
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.45);
}

/* Card base */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

/* ==========================================================================
   1. Matches Grid & Cards
   ========================================================================== */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}

.match-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.match-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-cyan);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.18);
    background: var(--bg-card-hover);
}

.match-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    margin-bottom: 1rem;
    color: var(--text-dim);
}

.match-status-pill {
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.match-status-pill.live {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.match-status-pill.finished {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.match-teams-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.team-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.team-title {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
}

.team-score {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

/* Quick odds strip */
.quick-odds-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.q-odd {
    text-align: center;
    font-size: 0.78rem;
}

.q-odd span {
    color: var(--text-dim);
    display: block;
    margin-bottom: 2px;
}

.q-odd strong {
    color: #ffffff;
    font-family: var(--font-mono);
}

/* Enriched Match Card Details (All Matches Overview) */
.view-toggle-strip {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2px;
}

.mode-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-toggle-btn:hover {
    color: #ffffff;
}

.mode-toggle-btn.active {
    background: var(--primary-cyan);
    color: #0b1120;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.35);
}

.card-league-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-cyan);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.card-broadcast-pill {
    font-size: 0.68rem;
    font-weight: 700;
    color: #c084fc;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 4px rgba(168, 85, 247, 0.1);
}

.hero-broadcast-pill {
    font-size: 0.74rem;
    font-weight: 700;
    color: #c084fc;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    margin-top: 0.4rem;
}

.card-referee-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    margin: 0.7rem 0 0.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card-referee-row strong {
    color: #ffffff;
}

.card-events-summary {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0.75rem 0;
    background: rgba(15, 23, 42, 0.65);
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-events-badge-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-events-badge-group.empty {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
}

.event-group-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-empty-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    opacity: 0.7;
}

.event-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.event-chip {
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.3;
}

.event-chip.goal-chip {
    background: rgba(16, 185, 129, 0.16);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.event-chip.yellow-chip {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.event-chip.red-chip {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    font-weight: 700;
}

.table-event-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 2px 3px;
    font-size: 0.73rem;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1.3;
}

.table-event-chip.goal {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.table-event-chip.yellow {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.table-event-chip.red {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    font-weight: 700;
}

/* ==========================================================================
   Match Lab Hero Card (Canlı Skor, Goller ve Kartlar Bannerı)
   ========================================================================== */
.lab-match-hero-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.hero-match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.hero-team {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.hero-team.away {
    justify-content: flex-end;
}

.hero-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.hero-team-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-team-meta.right {
    text-align: right;
    align-items: flex-end;
}

.hero-team-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.hero-team-goals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.hero-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.6rem 1.25rem;
    min-width: 130px;
}

.hero-score-digits {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-score-num {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-cyan);
    line-height: 1;
}

.hero-score-divider {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dim);
    margin: 0 0.4rem;
}

.hero-match-status-pill {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-match-subbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.78rem;
}

.hero-subbar-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.hero-subbar-ref {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-ai-badge-row {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 6px;
    padding: 0.45rem 0.65rem;
    margin-top: 0.65rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
}

.card-ai-banko {
    color: #10b981;
    font-weight: 700;
}

.card-ai-value {
    color: #06b6d4;
    font-weight: 700;
}

/* ==========================================================================
   Toplu Kupon & Bahis Bülteni Tablosu (All Matches Unified Bulletin)
   ========================================================================== */
.matches-table-wrap {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow-x: auto;
    backdrop-filter: blur(12px);
    margin-top: 1rem;
}

.bulletin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: left;
}

.bulletin-table th {
    background: rgba(15, 23, 42, 0.95);
    color: var(--text-dim);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.9rem 1rem;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.bulletin-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.bulletin-table tr:hover {
    background: rgba(6, 182, 212, 0.05);
}

.b-team-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 160px;
}

.b-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.b-team-title {
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.b-score {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--primary-cyan);
}

.b-pill {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-block;
    white-space: nowrap;
}

.b-pill.banko {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.b-pill.value {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.b-pill.goal {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    margin-right: 3px;
    margin-bottom: 2px;
}

.b-pill.card-yellow {
    background: rgba(234, 179, 8, 0.12);
    color: #eab308;
    margin-right: 3px;
    margin-bottom: 2px;
}

.b-pill.card-red {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    margin-right: 3px;
    margin-bottom: 2px;
}

.b-action-btn {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--primary-cyan);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.b-action-btn:hover {
    background: var(--primary-cyan);
    color: #0b1120;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}


/* ==========================================================================
   2. Deep Match Laboratory (Pitch & Momentum)
   ========================================================================== */
.lab-match-selector-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.lab-mini-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 220px;
    white-space: nowrap;
    transition: var(--transition);
    user-select: none;
}

.lab-mini-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    background: rgba(6, 182, 212, 0.08);
    transform: translateY(-2px);
}

.lab-mini-card.active {
    border-color: var(--primary-cyan);
    background: rgba(6, 182, 212, 0.15);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
}

.lab-mini-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.lab-mini-score {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
}

.lab-mini-team {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lab-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

.lab-pitch-card {
    grid-column: 1 / 2;
}

.lab-momentum-card {
    grid-column: 2 / 3;
}

.lab-referee-card {
    grid-column: 1 / 2;
}

.lab-fatigue-card {
    grid-column: 2 / 3;
}

/* 2D Soccer Pitch */
.pitch-container {
    background: #0f172a;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.soccer-pitch {
    width: 100%;
    height: 320px;
    background: linear-gradient(180deg, #164e2e 0%, #113f25 100%);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 40px,
        transparent 40px,
        transparent 80px
    );
}

.pitch-half-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.6);
}

.pitch-center-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.pitch-box-left {
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 16%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-left: none;
}

.pitch-box-right {
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 16%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-right: none;
}

.shot-marker {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.shot-marker:hover {
    transform: translate(-50%, -50%) scale(1.4);
    z-index: 10;
}

.shot-marker.goal {
    background: #10b981;
    border: 2px solid #ffffff;
    box-shadow: 0 0 14px #10b981;
}

.shot-marker.saved {
    background: #06b6d4;
    border: 1px solid #ffffff;
}

.shot-marker.missed {
    background: #f43f5e;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.pitch-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.82rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.dot.goal { background: #10b981; }
.dot.saved { background: #06b6d4; }
.dot.missed { background: #f43f5e; }

.xg-scoreboard {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.team-xg-box {
    text-align: center;
}

.team-xg-box .team-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.team-xg-box .xg-val {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-cyan);
    margin: 4px 0;
    display: block;
}

.team-xg-box .xg-label {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.vs-divider {
    font-weight: 800;
    color: var(--text-dim);
    font-size: 1.2rem;
}

/* Momentum Canvas */
.momentum-chart-wrap {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
}

#momentumCanvas {
    width: 100%;
    height: 200px;
    display: block;
}

.momentum-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.m-label.home { color: var(--accent-emerald); }
.m-label.neutral { color: var(--text-dim); }
.m-label.away { color: var(--primary-cyan); }

/* Referee Card */
.ref-profile-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.ref-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.ref-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ref-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.ref-stat-box {
    background: rgba(0, 0, 0, 0.25);
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.ref-stat-box .val {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-amber);
}

.ref-stat-box .lbl {
    font-size: 0.72rem;
    color: var(--text-dim);
}

.role-pill-main {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

.ref-crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin: 1.1rem 0;
}

.crew-member-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.crew-member-card:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.15);
}

.crew-member-card.var-highlight {
    border-color: rgba(6, 182, 212, 0.35);
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.08) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.cm-icon {
    font-size: 1.1rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.cm-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow: hidden;
}

.cm-role {
    font-size: 0.68rem;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.cm-name {
    font-size: 0.84rem;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Referee Team History & H2H */
.ref-history-section {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.ref-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.ref-h2h-title {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--primary-cyan);
    letter-spacing: 0.5px;
}

.ref-h2h-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.ref-team-records-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.ref-team-record-col {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ref-team-record-col.home {
    border-left: 3px solid #10b981;
}

.ref-team-record-col.away {
    border-left: 3px solid #06b6d4;
}

.rtr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.55rem;
}

.rtr-team-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.rtr-win-rate {
    font-size: 0.75rem;
    font-weight: 800;
    color: #10b981;
}

.ref-team-record-col.away .rtr-win-rate {
    color: #06b6d4;
}

.rtr-stats-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.rtr-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.rtr-stat-row strong {
    color: #e2e8f0;
    font-weight: 600;
}

.ref-recent-matches-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.85rem;
}

.rrm-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 0.45rem;
    display: block;
}

.rrm-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.rrm-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
    padding: 0.3rem 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.rrm-item .rrm-match {
    color: #ffffff;
    font-weight: 600;
}

.rrm-item .rrm-meta {
    color: var(--text-dim);
    font-size: 0.7rem;
}

.ref-ai-narrative {
    background: rgba(6, 182, 212, 0.04);
    border-left: 3px solid var(--primary-cyan);
    padding: 0.65rem 0.9rem;
    border-radius: 4px;
}

.ref-ai-narrative p {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}

/* Fatigue Card */
.fatigue-team-row {
    background: rgba(0, 0, 0, 0.25);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.ft-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.ft-notes {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   H2H Stats Comparison & Form Guide & Lineups
   ========================================================================== */
.stat-comp-row {
    margin-bottom: 0.85rem;
}

.stat-comp-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-val-h { color: var(--accent-emerald); font-family: var(--font-mono); font-weight: 700; }
.stat-name { color: var(--text-muted); font-size: 0.8rem; }
.stat-val-a { color: var(--primary-cyan); font-family: var(--font-mono); font-weight: 700; }

.stat-comp-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    display: flex;
    overflow: hidden;
}

.stat-bar-h {
    height: 100%;
    background: var(--accent-emerald);
    transition: width 0.6s ease;
}

.stat-bar-a {
    height: 100%;
    background: var(--primary-cyan);
    transition: width 0.6s ease;
}

/* Form Guide */
.form-team-entry {
    margin-bottom: 0.9rem;
}

.form-team-title {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-badges-wrap {
    display: flex;
    gap: 0.4rem;
}

.form-pill {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: default;
    transition: transform 0.2s;
}

.form-pill:hover {
    transform: scale(1.15);
}

.form-pill.w { background: #10b981; }
.form-pill.d { background: #f59e0b; }
.form-pill.l { background: #ef4444; }

/* Lineups List */
.player-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.player-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
}

.player-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.player-num {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.player-name {
    font-weight: 500;
    color: var(--text-main);
}

.player-pos {
    font-size: 0.7rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   Standings Table Styling
   ========================================================================== */
.standings-table-wrap {
    overflow-x: auto;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.standings-table th {
    background: rgba(0, 0, 0, 0.35);
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.standings-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.standings-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.standing-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.standing-rank-badge.ucl {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.standing-rank-badge.uel {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.standing-rank-badge.rel {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.standing-team-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

.standing-team-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.standing-pts-cell {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-cyan);
    text-align: center;
}

.standing-num-cell {
    font-family: var(--font-mono);
    text-align: center;
    color: var(--text-muted);
}

/* ==========================================================================
   3. "What-If" Simulator
   ========================================================================== */
.simulator-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 1.5rem;
}

.sim-control-group {
    margin-bottom: 1.25rem;
}

.sim-control-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

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

.range-val {
    font-family: var(--font-mono);
    color: var(--primary-cyan);
    font-weight: 700;
}

.custom-range {
    width: 100%;
    accent-color: var(--primary-cyan);
    cursor: pointer;
}

.sim-control-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.custom-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.custom-input:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

.prob-bars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.prob-col {
    background: rgba(0, 0, 0, 0.25);
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.prob-title {
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
}

.prob-bar-track {
    width: 100%;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.prob-bar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    color: #ffffff;
    transition: width 0.5s ease;
}

.home-bar { background: linear-gradient(90deg, #10b981, #059669); }
.draw-bar { background: linear-gradient(90deg, #f59e0b, #d97706); }
.away-bar { background: linear-gradient(90deg, #06b6d4, #0284c7); }

.fair-odd-tag {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.fair-odd-tag strong {
    color: #ffffff;
    font-family: var(--font-mono);
}

.stats-subgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sub-stat-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.sub-stat-card .title {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 0.3rem;
}

.sub-stat-card .val {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.sub-stat-card .odd {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.top-scores-box {
    background: rgba(0, 0, 0, 0.25);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
}

.top-scores-box h4 {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.scores-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.score-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--text-main);
}

/* ==========================================================================
   4. Anomaly Alerts Feed
   ========================================================================== */
.alerts-feed {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.alert-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-cyan);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    transition: var(--transition);
}

.alert-item.critical {
    border-left-color: var(--accent-rose);
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.1);
}

.alert-item.high {
    border-left-color: var(--accent-amber);
}

.alert-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.alert-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.alert-tag {
    background: rgba(6, 182, 212, 0.15);
    color: var(--primary-cyan);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.alert-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.alert-action-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
}

/* ==========================================================================
   Live Match Broadcast Event Animations & Test Bar
   ========================================================================== */

.audio-btn {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.audio-btn:hover {
    background: rgba(16, 185, 129, 0.25);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

.audio-btn.muted {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
}

/* Test Bar */
.live-test-bar {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(10, 14, 23, 0.95));
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.12);
}

.test-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.live-pulse-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ef4444;
}

.pulse-led {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
    animation: ledPulse 1.2s infinite;
}

@keyframes ledPulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 1; }
}

.test-bar-note {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.test-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.test-btn {
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.test-btn:hover {
    transform: translateY(-2px);
}

.btn-goal {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    color: #10b981;
}
.btn-goal:hover {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.btn-red-card {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}
.btn-red-card:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.btn-yellow-card {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.5);
    color: #f59e0b;
}
.btn-yellow-card:hover {
    background: #f59e0b;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.btn-kickoff {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.5);
    color: #06b6d4;
}
.btn-kickoff:hover {
    background: #06b6d4;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.btn-fulltime {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
    color: #8b5cf6;
}
.btn-fulltime:hover {
    background: #8b5cf6;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.btn-penalty {
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.5);
    color: #ec4899;
}
.btn-penalty:hover {
    background: #ec4899;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

/* ==========================================================================
   Full Alert Modal Overlays & Celebrations
   ========================================================================== */
.live-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(14px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    animation: fadeInOverlay 0.25s ease-out;
}

.live-alert-overlay.active {
    display: flex;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.alert-modal-card {
    background: #0f172a;
    border-radius: 24px;
    padding: 2.5rem 3.5rem;
    text-align: center;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
    animation: modalPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPopIn {
    0% { transform: scale(0.6) translateY(40px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* 1. GOL MODAL */
.alert-modal-card.goal-alert {
    border: 2px solid #10b981;
    box-shadow: 0 0 80px rgba(16, 185, 129, 0.4), inset 0 0 30px rgba(16, 185, 129, 0.15);
}

.goal-ball-icon {
    font-size: 4.5rem;
    display: inline-block;
    animation: ballSpinBounce 1.2s infinite alternate ease-in-out;
}

@keyframes ballSpinBounce {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    100% { transform: translateY(-20px) rotate(360deg) scale(1.15); }
}

.goal-banner-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #10b981, #34d399, #fbbf24, #10b981);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerGold 2s infinite linear;
    margin: 0.5rem 0;
}

@keyframes shimmerGold {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.goal-match-name {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.goal-score-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.goal-score-box .score-num {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
}

.goal-scorer-info {
    font-size: 1.1rem;
    font-weight: 700;
    color: #34d399;
}

/* 2. KIRMIZI KART MODAL */
.alert-modal-card.red-card-alert {
    border: 2px solid #ef4444;
    box-shadow: 0 0 80px rgba(239, 68, 68, 0.45), inset 0 0 30px rgba(239, 68, 68, 0.2);
}

.card-3d-wrap {
    perspective: 800px;
    width: 90px;
    height: 130px;
    margin: 0 auto 1.5rem;
}

.red-card-rect {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border-radius: 10px;
    border: 2px solid #ffffff;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.6);
    animation: flipCard3D 2s infinite ease-in-out;
}

@keyframes flipCard3D {
    0% { transform: rotateY(0deg) rotateZ(-5deg); }
    50% { transform: rotateY(180deg) rotateZ(5deg); }
    100% { transform: rotateY(360deg) rotateZ(-5deg); }
}

.red-card-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* 3. DÜDÜK / MAÇ BAŞLADI & BİTTİ */
.alert-modal-card.whistle-alert {
    border: 2px solid #06b6d4;
    box-shadow: 0 0 80px rgba(6, 182, 212, 0.45);
}

.whistle-icon-big {
    font-size: 4rem;
    animation: whistleVibrate 0.8s infinite;
}

@keyframes whistleVibrate {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(10deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
}

.whistle-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #06b6d4;
    margin: 0.5rem 0;
}

/* 4. PENALTI ALARMI */
.alert-modal-card.penalty-alert {
    border: 2px solid #ec4899;
    box-shadow: 0 0 80px rgba(236, 72, 153, 0.45);
}

.penalty-spot-icon {
    font-size: 4rem;
    animation: pulseSiren 0.8s infinite alternate;
}

@keyframes pulseSiren {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; }
}

.close-alert-btn {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.close-alert-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Floating Toast Notifications (Top-Right) */
.live-toast-container {
    position: fixed;
    top: 90px;
    right: 25px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.live-toast {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    pointer-events: all;
    animation: slideInRight 0.35s ease-out forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.live-toast.yellow-card {
    border-left: 5px solid #f59e0b;
    box-shadow: 0 5px 25px rgba(245, 158, 11, 0.2);
}

.toast-icon {
    font-size: 1.8rem;
}

.toast-content h4 {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 0.82rem;
}

/* ==========================================================================
   YAPAY ZEKA BAHİS İSTİHBARAT & TAHMİN KARTLARI (AI BETTING ENGINE)
   ========================================================================== */
.ai-chip-badge {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
    display: inline-flex;
    align-items: center;
}

.ai-betting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.ai-bet-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.ai-bet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.ai-bet-card.banko-card {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.ai-bet-card.value-card {
    border-color: rgba(6, 182, 212, 0.35);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.08);
}

.ai-bet-card.surprise-card {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08);
}

.ai-bet-card.card-bet-card {
    border-color: rgba(234, 179, 8, 0.3);
    background: linear-gradient(180deg, rgba(234, 179, 8, 0.06) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.ai-bet-card.corner-bet-card {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.06) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.bet-card-badge {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #10b981;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.bet-card-badge.value-badge { color: #06b6d4; }
.bet-card-badge.surprise-badge { color: #f59e0b; }
.bet-card-badge.card-badge { color: #eab308; }
.bet-card-badge.corner-badge { color: #a855f7; }

/* AI Recommendation Box (Kutu İçinde Vurgulanan AI Tercihi) */
.ai-pick-box {
    margin: 0.45rem 0 0.85rem 0;
    padding: 0.65rem 0.85rem;
    border-radius: 9px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-pick-box:hover {
    transform: translateY(-1.5px);
}

.ai-pick-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pick-status-pill {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}

.bet-market-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.2px;
}

/* Card Type Accents for AI Pick Box */
.ai-pick-box.banko-pick {
    background: rgba(16, 185, 129, 0.12);
    border-color: #10b981;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.15);
}
.ai-pick-box.banko-pick .ai-pick-badge { color: #34d399; }
.ai-pick-box.banko-pick .pick-status-pill { background: rgba(16, 185, 129, 0.25); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }

.ai-pick-box.value-pick {
    background: rgba(6, 182, 212, 0.12);
    border-color: #06b6d4;
    box-shadow: 0 3px 12px rgba(6, 182, 212, 0.15);
}
.ai-pick-box.value-pick .ai-pick-badge { color: #38bdf8; }
.ai-pick-box.value-pick .pick-status-pill { background: rgba(6, 182, 212, 0.25); color: #7dd3fc; border: 1px solid rgba(6, 182, 212, 0.4); }

.ai-pick-box.surprise-pick {
    background: rgba(245, 158, 11, 0.12);
    border-color: #f59e0b;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.15);
}
.ai-pick-box.surprise-pick .ai-pick-badge { color: #fbbf24; }
.ai-pick-box.surprise-pick .pick-status-pill { background: rgba(245, 158, 11, 0.25); color: #fde68a; border: 1px solid rgba(245, 158, 11, 0.4); }

.ai-pick-box.card-pick {
    background: rgba(234, 179, 8, 0.12);
    border-color: #eab308;
    box-shadow: 0 3px 12px rgba(234, 179, 8, 0.15);
}
.ai-pick-box.card-pick .ai-pick-badge { color: #facc15; }
.ai-pick-box.card-pick .pick-status-pill { background: rgba(234, 179, 8, 0.25); color: #fef08a; border: 1px solid rgba(234, 179, 8, 0.4); }

.ai-pick-box.corner-pick {
    background: rgba(168, 85, 247, 0.12);
    border-color: #a855f7;
    box-shadow: 0 3px 12px rgba(168, 85, 247, 0.15);
}
.ai-pick-box.corner-pick .ai-pick-badge { color: #c084fc; }
.ai-pick-box.corner-pick .pick-status-pill { background: rgba(168, 85, 247, 0.25); color: #e9d5ff; border: 1px solid rgba(168, 85, 247, 0.4); }

.ai-pick-box.first-goal-pick {
    background: rgba(236, 72, 153, 0.12);
    border-color: #ec4899;
    box-shadow: 0 3px 12px rgba(236, 72, 153, 0.15);
}
.ai-pick-box.first-goal-pick .ai-pick-badge { color: #f472b6; }
.ai-pick-box.first-goal-pick .pick-status-pill { background: rgba(236, 72, 153, 0.25); color: #fbcfe8; border: 1px solid rgba(236, 72, 153, 0.4); }

.ai-pick-box.first-events-pick {
    background: rgba(99, 102, 241, 0.12);
    border-color: #6366f1;
    box-shadow: 0 3px 12px rgba(99, 102, 241, 0.15);
}
.ai-pick-box.first-events-pick .ai-pick-badge { color: #a5b4fc; }
.ai-pick-box.first-events-pick .pick-status-pill { background: rgba(99, 102, 241, 0.25); color: #c7d2fe; border: 1px solid rgba(99, 102, 241, 0.4); }

.bet-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.bet-confidence {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.bet-edge {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.bet-risk {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.bet-odd {
    font-size: 0.84rem;
    font-weight: 700;
    color: #e2e8f0;
    white-space: nowrap;
}

.bet-progress-wrap {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.bet-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.bet-prob-compare {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
}

.ref-sub-stat {
    font-size: 0.75rem;
    color: #eab308;
    margin-bottom: 0.6rem;
    line-height: 1.35;
    display: block;
}

.bet-reason {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.45;
    margin-bottom: 0.8rem;
}

/* AI Taktiksel Bahis Raporu */
.ai-narrative-box {
    background: rgba(6, 182, 212, 0.04);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-left: 4px solid var(--primary-cyan);
    border-radius: 8px;
    padding: 1.2rem 1.4rem;
    margin-top: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.ai-narrative-header {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-cyan);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.ai-narrative-text {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================
   🎯 "Ben Olsam" AI Persona Kuponları & Haftalık Karneler CSS
   ========================================================== */
.coupon-toolbar-filters {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.coupon-select-box {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(15, 23, 42, 0.75);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.coupon-select-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 700;
}

.coupon-filter-select {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}
.coupon-filter-select option {
    background: #0f172a;
    color: #fff;
}

.coupon-filter-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.coupon-status-filter-bar {
    display: flex;
    background: rgba(15, 23, 42, 0.85);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    gap: 4px;
    flex-wrap: wrap;
}

.coupon-filter-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.coupon-filter-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.coupon-filter-btn.active {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-go-simulator {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-go-simulator:hover {
    background: #10b981;
    color: #fff;
}

/* 3. Haftalık Başarı Karnesi & Arşiv Bannerı */
.coupon-archive-banner {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.85));
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.archive-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
}

.archive-title-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.archive-banner-heading {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
    font-weight: 800;
}

.archive-week-pill {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.35);
    font-weight: 700;
    font-size: 0.76rem;
}

.archive-kpi-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.archive-kpi-item {
    text-align: right;
}

.archive-kpi-label {
    font-size: 0.68rem;
    color: var(--text-dim);
    display: block;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.archive-kpi-val {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
}

.archive-commentary-text {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* 4. Persona Kupon Kartı */
.persona-coupon-card {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.persona-coupon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.persona-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.85rem;
    gap: 0.8rem;
}

.persona-avatar-box {
    font-size: 2.1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.persona-name-title {
    font-size: 1.08rem;
    color: #fff;
    font-weight: 800;
    margin: 0;
}

.persona-badge-row {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.persona-role-tag {
    font-size: 0.74rem;
    font-weight: 700;
}

.persona-league-badge {
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Kupon Genel Durum Rozeti */
.coupon-status-badge {
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.75rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.coupon-status-badge.won {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.coupon-status-badge.lost {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.coupon-status-badge.pending {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Persona Geçmiş İstatistik Şeridi */
.persona-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.persona-stat-box span {
    font-size: 0.68rem;
    color: var(--text-dim);
    display: block;
    font-weight: 600;
}

.persona-stat-box strong {
    font-size: 0.95rem;
    font-weight: 800;
}

.persona-strategy-quote {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.45;
    margin-bottom: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.6rem;
    border-radius: 0 6px 6px 0;
}

/* 5. Kupon Maç Listesi ve Kalemleri */
.coupon-matches-header {
    font-size: 0.74rem;
    color: var(--text-dim);
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.5px;
}

.coupon-match-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    margin-bottom: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.coupon-match-item:hover {
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.12);
}

.match-name-row {
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.match-pick-row {
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.coupon-pick-pill {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 700;
}

.coupon-odd-pill {
    font-weight: 800;
    color: #fff;
}

.coupon-odd-type {
    font-size: 0.66rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--text-dim);
}

.coupon-item-league-pill {
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(6, 182, 212, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(6, 182, 212, 0.35);
    padding: 2px 7px;
    border-radius: 6px;
}

.coupon-item-status {
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.74rem;
    display: inline-block;
}

.coupon-item-status.won {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.coupon-item-status.lost {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.coupon-item-status.live {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.coupon-item-status.pending {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
}

.coupon-item-subtext {
    font-size: 0.71rem;
    margin-top: 3px;
    font-weight: 600;
}

/* 6. Kupon Alt Özeti & Aksiyon Butonu */
.coupon-footer-bar {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.6rem;
}

.coupon-footer-bar .footer-lbl {
    font-size: 0.7rem;
    color: var(--text-dim);
    display: block;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.coupon-footer-verdict {
    font-size: 0.85rem;
    font-weight: 800;
}

.coupon-total-odds-val {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.coupon-play-btn {
    width: 100%;
    margin-top: 0.75rem;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 182, 212, 0.25));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.45);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.65rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.coupon-play-btn:hover {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.coupon-finished-btn {
    width: 100%;
    margin-top: 0.75rem;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.65rem;
    border-radius: 8px;
    cursor: not-allowed;
    opacity: 0.65;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ==========================================================================
   CANLI MAÇ AKIŞI & OLAYLAR KRONOLOJİSİ (MATCH EVENTS TIMELINE)
   ========================================================================== */
.events-summary-stats {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.stat-chip {
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.stat-chip.goal-chip {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-chip.yellow-chip {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.stat-chip.red-chip {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.stat-chip.sub-chip {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.events-filter-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
}

.event-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-dim);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.event-filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.event-filter-btn.active {
    background: var(--primary-cyan);
    color: #0b1120;
    border-color: var(--primary-cyan);
    font-weight: 700;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.events-timeline-container {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.events-empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-muted);
}

.events-empty-state p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Timeline Satırları */
.timeline-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.timeline-item:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
}

.timeline-minute {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-dim);
    min-width: 42px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.timeline-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.timeline-main-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-sub-info {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.timeline-team-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

/* Olay Tipleri Stilleri */
.timeline-item.goal {
    border-left: 4px solid #10b981;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.6) 100%);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.08);
}
.timeline-item.goal .timeline-minute {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}
.timeline-item.goal .timeline-icon-box {
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.timeline-item.yellow {
    border-left: 4px solid #eab308;
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
}
.timeline-item.yellow .timeline-minute {
    color: #eab308;
}
.timeline-item.yellow .timeline-icon-box {
    background: rgba(234, 179, 8, 0.2);
}

.timeline-item.red {
    border-left: 4px solid #ef4444;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.15) 0%, rgba(15, 23, 42, 0.6) 100%);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}
.timeline-item.red .timeline-minute {
    color: #ef4444;
}
.timeline-item.red .timeline-icon-box {
    background: rgba(239, 68, 68, 0.2);
}

.timeline-item.sub {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
}
.timeline-item.sub .timeline-minute {
    color: #60a5fa;
}
.timeline-item.sub .timeline-icon-box {
    background: rgba(59, 130, 246, 0.2);
}

.timeline-item.whistle {
    border-left: 4px solid #6b7280;
    opacity: 0.85;
}
.timeline-item.whistle .timeline-icon-box {
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   AI Accuracy Scorecard (Model Doğrulama & İsabet Analizi)
   ========================================================================== */
.ai-accuracy-scorecard {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.ai-accuracy-scorecard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #10b981 0%, #06b6d4 100%);
}

.scorecard-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
}

.accuracy-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: conic-gradient(#10b981 var(--acc-pct, 80%), rgba(255, 255, 255, 0.08) 0deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
    position: relative;
    flex-shrink: 0;
}

.accuracy-circle-inner {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #0b1120;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.accuracy-pct {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 900;
    color: #10b981;
    line-height: 1;
}

.accuracy-sub {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.scorecard-stat-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.stat-main-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.scorecard-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.scorecard-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.scorecard-metrics {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.metric-item {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
}

.metric-item.won {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.metric-item.lost {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.metric-item.roi {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.scorecard-summary-note {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.scorecard-right {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    min-width: 280px;
}

.outcome-box-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-cyan);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.45rem;
}

.outcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.8rem;
    font-size: 0.74rem;
}

.outcome-cell span {
    color: var(--text-dim);
}

.outcome-cell strong {
    color: #ffffff;
    display: block;
}

/* ==========================================================================
   Bet Outcome Verdict Boxes (Her Bahis Kartı İçin Gerçekleşen Sonuç)
   ========================================================================== */
.bet-verdict-box {
    margin-top: 0.85rem;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.bet-verdict-box.status-won {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.bet-verdict-box.status-lost {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.bet-verdict-box.status-pending {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.verdict-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}

.verdict-tag {
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
}

.verdict-tag.won {
    background: #10b981;
    color: #0b1120;
}

.verdict-tag.lost {
    background: #ef4444;
    color: #ffffff;
}

.verdict-tag.pending {
    background: #f59e0b;
    color: #0b1120;
}

.verdict-actual {
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
    margin-left: auto;
}

.verdict-desc {
    margin: 0;
    color: #94a3b8;
    line-height: 1.4;
    font-size: 0.74rem;
}

/* ==========================================================================
   RESPONSIVE DÜZEN
   ========================================================================== */
@media (max-width: 1024px) {
    .lab-grid {
        grid-template-columns: 1fr;
    }
    .lab-pitch-card, .lab-momentum-card, .lab-referee-card, .lab-fatigue-card, .lab-stats-card, .lab-form-odds-card, .lab-lineups-card, .lab-ai-betting-card, .lab-events-timeline-card {
        grid-column: 1 / -1 !important;
    }
    .ai-betting-grid {
        grid-template-columns: 1fr;
    }
    .simulator-layout {
        grid-template-columns: 1fr;
    }
    .navbar-primary {
        padding: 0.5rem 1rem;
    }
    .nav-tabs {
        padding: 0.35rem 1rem;
    }
}

/* AI Consensus & Model Box Styling */
/* AI Consensus Summary Strip */
.consensus-summary-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.65);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}
.consensus-strip-title {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.consensus-badge-pill {
    font-size: 0.82rem;
    color: var(--text-bright);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}
.consensus-score-sub {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* 🕵️ Match Integrity Radar Components */
.lab-integrity-card {
    background: linear-gradient(135deg, rgba(25, 12, 35, 0.95), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}
.integrity-header-sub {
    color: var(--text-dim);
}
.integrity-risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    color: #22c55e;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
.integrity-main-box {
    margin: 1.2rem 0;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.integrity-section-title {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.integrity-prob-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: #22c55e;
    line-height: 1;
}
.integrity-level-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-bright);
}
.integrity-flags-count-box {
    text-align: right;
    font-size: 0.82rem;
    color: var(--text-dim);
}
.integrity-flags-count-box strong {
    color: #fff;
}
.integrity-progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-top: 0.4rem;
}
.integrity-progress-fill {
    height: 100%;
    background: #22c55e;
    transition: width 0.4s ease, background-color 0.4s ease;
    border-radius: 5px;
}

/* 4 Boyutsal Alt Risk Metrikleri Grid */
.integrity-submetrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-top: 1.2rem;
}
.integrity-submetric-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.integrity-submetric-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}
.submetric-title {
    font-size: 0.74rem;
    color: var(--text-dim);
    font-weight: 600;
}
.submetric-val {
    font-size: 1.2rem;
    font-weight: 800;
    margin-top: 0.25rem;
    letter-spacing: -0.3px;
}

/* Red Flags Listesi */
.integrity-redflags-header {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}
.integrity-clean-banner {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.clean-title {
    color: #4ade80;
    font-size: 0.9rem;
    font-weight: 700;
}
.clean-desc {
    margin: 0.2rem 0 0 0;
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.4;
}
.integrity-flag-item {
    border-radius: 6px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.flag-severity-pill {
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-weight: 700;
}
.flag-title {
    color: #fff;
    font-size: 0.88rem;
}
.flag-desc {
    margin: 0.2rem 0 0 0;
    color: #cbd5e1;
    font-size: 0.8rem;
    line-height: 1.4;
}
.flag-weight-badge {
    font-size: 0.82rem;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* Şike Simülatörü Kutusu */
.integrity-simulator-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    padding: 1.1rem;
}
.sim-title {
    font-size: 0.92rem;
    color: #fff;
}
.sim-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
}
.sim-reset-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.sim-reset-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Integrity Toggle Buttons */
.integrity-toggle-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.integrity-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.integrity-toggle-btn.active {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

/* ==========================================================
   Matchweek Navigator Bar (Hafta Hafta Fikstür Gezgini)
   ========================================================== */
.matchweek-bar {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.65rem 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
}

.week-nav-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.week-nav-btn:hover:not(:disabled) {
    background: rgba(6, 182, 212, 0.18);
    border-color: #06b6d4;
    color: #fff;
    transform: translateY(-1px);
}

.week-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.week-select {
    background: rgba(10, 15, 30, 0.85);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #38bdf8;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.week-select:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.week-select option {
    background: #0f172a;
    color: #f8fafc;
}

.week-date-badge {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
}

.week-chip-btn {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.week-chip-btn:hover {
    background: rgba(16, 185, 129, 0.25);
    color: #fff;
}

/* ==========================================================================
   Virtual Betting & Bankroll Management Styles
   ========================================================================== */
.virtual-balance-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.virtual-balance-chip:hover {
    background: rgba(16, 185, 129, 0.22);
    border-color: rgba(16, 185, 129, 0.6);
    transform: translateY(-1px);
}

.q-odd-btn {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    font-size: 0.78rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex: 1;
}

.q-odd-btn:hover {
    background: rgba(6, 182, 212, 0.18);
    border-color: #06b6d4;
    color: #38bdf8;
    transform: scale(1.03);
}

.q-odd-btn.selected {
    background: rgba(16, 185, 129, 0.25);
    border-color: #10b981;
    color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.q-odd-btn span {
    font-size: 0.65rem;
    color: var(--text-dim);
}

.q-odd-btn strong {
    font-size: 0.85rem;
}

/* Floating Bet Slip Widget */
.floating-betslip-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
}

.floating-betslip-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
}

.betslip-count-badge {
    background: #0f172a;
    color: #10b981;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}

/* Bet Slip Item */
.betslip-item {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.betslip-item-remove {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: background 0.15s;
}

.betslip-item-remove:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Quick Stake Chips */
.stake-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.stake-chip:hover, .stake-chip.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #10b981;
}

/* ==========================================================================
   Full Match Market Picker & Features Explorer
   ========================================================================== */
.market-category-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.9rem;
    margin-bottom: 0.8rem;
}

.market-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 0.4rem;
}

.market-category-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.market-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.5rem;
}

.market-pick-btn {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.market-pick-btn:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.market-pick-btn.selected {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}

.market-pick-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.market-pick-odd {
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-mono);
}

.market-pick-btn:hover .market-pick-odd {
    color: #38bdf8;
}

.market-pick-btn.selected .market-pick-odd {
    color: #10b981;
}

.market-pick-prob {
    font-size: 0.65rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 4px;
    border-radius: 4px;
}

.all-markets-chip {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2)) !important;
    border-color: rgba(6, 182, 212, 0.4) !important;
}

.all-markets-chip:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(99, 102, 241, 0.35)) !important;
    border-color: #06b6d4 !important;
}

/* Virtual Bet Default Theme (Dark) Classes */
.vb-match-summary-card {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vb-match-team {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

.vb-match-hero-vs {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-cyan);
}

.vb-builder-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.market-category-card.ai-predictions-category {
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(6, 78, 59, 0.15);
}

.market-category-card.next-goal-category {
    border-color: rgba(6, 182, 212, 0.35);
    background: rgba(15, 23, 42, 0.85);
}

.betslip-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.betslip-item-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.my-coupon-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.1rem;
    flex-shrink: 0 !important;
    min-height: fit-content !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
}

.my-coupon-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.95rem;
    background: rgba(0, 0, 0, 0.45);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-top: 0.6rem;
}

/* ==========================================================================
   İDDAA & MİSLİ MODERN THEME SYSTEM
   ☀️ GÜNDÜZ MODU (Light Theme - İddaa / Nesine Temiz & Yüksek Kontrast)
   🌙 GECE MODU (Dark Theme - Misli Pro Şık Grafit & Neon Detaylar)
   ========================================================================== */

/* --- 1. LIGHT THEME TOKEN OVERRIDES --- */
[data-theme="light"],
html.light-theme,
body.light-theme {
    --bg-dark: #f4f6fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border-color: #e2e8f0;
    --border-glow: rgba(255, 85, 0, 0.35);

    --primary-cyan: #0284c7;
    --primary-glow: rgba(2, 132, 199, 0.15);
    --accent-emerald: #059669;
    --accent-emerald-glow: rgba(5, 150, 105, 0.2);
    --accent-amber: #d97706;
    --accent-rose: #dc2626;
    --accent-violet: #7c3aed;
    --accent-orange: #ff5500;

    --text-main: #0f172a;
    --text-muted: #334155;
    --text-dim: #64748b;
}

[data-theme="light"] body {
    background-color: #f4f6fa;
    color: #0f172a;
}

/* Light Theme Background Atmosphere */
[data-theme="light"] .glow-bg {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(255, 85, 0, 0.06) 50%, transparent 80%) !important;
}

[data-theme="light"] .grid-overlay {
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px) !important;
}

/* Light Theme Navbar */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .brand-title {
    color: #0f172a !important;
}

[data-theme="light"] .brand-title span {
    color: #ff5500 !important;
}

[data-theme="light"] .league-selector-wrap {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .league-selector-wrap:hover {
    border-color: #ff5500 !important;
    background: #ffffff !important;
}

[data-theme="light"] .selector-label {
    color: #ff5500 !important;
}

[data-theme="light"] .custom-select {
    color: #0f172a !important;
}

[data-theme="light"] .custom-select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

[data-theme="light"] .nav-tab {
    color: #475569 !important;
}

[data-theme="light"] .nav-tab:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
}

[data-theme="light"] .nav-tab.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff5500, #ea580c) !important;
    border-color: #ea580c !important;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.28) !important;
    font-weight: 700 !important;
}

[data-theme="light"] .audio-btn {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

[data-theme="light"] .audio-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .audio-btn.active {
    color: #059669 !important;
    border-color: #10b981 !important;
    background: #ecfdf5 !important;
}

/* Light Theme Headings & Action Buttons */
[data-theme="light"] .section-title {
    color: #0f172a !important;
}

[data-theme="light"] .section-desc {
    color: #475569 !important;
}

[data-theme="light"] .action-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .action-btn:hover {
    background: #f8fafc !important;
    border-color: #ff5500 !important;
    color: #ea580c !important;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.15) !important;
}

[data-theme="light"] .period-toggle-strip {
    background: #e2e8f0 !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .mode-toggle-btn {
    color: #475569 !important;
}

[data-theme="light"] .mode-toggle-btn.active {
    background: #ffffff !important;
    color: #ea580c !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    font-weight: 800 !important;
}

[data-theme="light"] .week-select,
[data-theme="light"] select {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .week-date-badge {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

[data-theme="light"] .week-chip-btn {
    background: #ecfdf5 !important;
    border: 1px solid #10b981 !important;
    color: #047857 !important;
}

[data-theme="light"] .virtual-balance-chip {
    background: #ecfdf5 !important;
    border: 1px solid #10b981 !important;
    color: #047857 !important;
}

/* Light Theme Cards (Match Cards, Panel Cards) */
[data-theme="light"] .card,
[data-theme="light"] .match-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .match-card:hover {
    transform: translateY(-3px) !important;
    border-color: #ff5500 !important;
    box-shadow: 0 8px 24px rgba(255, 85, 0, 0.12) !important;
}

[data-theme="light"] .card-header h3 {
    color: #0f172a !important;
}

[data-theme="light"] .team-title {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .team-score {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .match-card-top {
    color: #64748b !important;
}

[data-theme="light"] .match-status-pill.finished {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .match-status-pill.live {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fca5a5 !important;
}

[data-theme="light"] .quick-odds-strip {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

/* Light Theme Odds Buttons (İddaa / Misli Style) */
[data-theme="light"] .q-odd-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .q-odd-btn span {
    color: #64748b !important;
    font-weight: 700 !important;
}

[data-theme="light"] .q-odd-btn strong {
    color: #0f172a !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
}

[data-theme="light"] .q-odd-btn:hover {
    background: #fff7ed !important;
    border-color: #ff5500 !important;
    color: #ea580c !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme="light"] .q-odd-btn:hover span {
    color: #ea580c !important;
}

[data-theme="light"] .q-odd-btn:hover strong {
    color: #c2410c !important;
}

[data-theme="light"] .q-odd-btn.selected {
    background: #ecfdf5 !important;
    border: 2px solid #059669 !important;
    color: #047857 !important;
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.28) !important;
}

[data-theme="light"] .q-odd-btn.selected span,
[data-theme="light"] .q-odd-btn.selected strong {
    color: #047857 !important;
}

/* Market Pick Buttons in All Markets */
[data-theme="light"] .market-pick-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .market-pick-label {
    color: #475569 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .market-pick-odd {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .market-pick-btn:hover {
    background: #fff7ed !important;
    border-color: #ff5500 !important;
}

[data-theme="light"] .market-pick-btn:hover .market-pick-odd {
    color: #ea580c !important;
}

[data-theme="light"] .market-pick-btn.selected {
    background: #ecfdf5 !important;
    border: 2px solid #059669 !important;
}

[data-theme="light"] .market-pick-btn.selected .market-pick-odd {
    color: #047857 !important;
}

/* Light Theme Standings Table */
[data-theme="light"] .standings-table {
    background: #ffffff !important;
}

[data-theme="light"] .standings-table th {
    background: #f8fafc !important;
    color: #334155 !important;
    border-bottom: 2px solid #cbd5e1 !important;
}

[data-theme="light"] .standings-table td {
    border-bottom: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .standings-table tr:hover td {
    background: #f8fafc !important;
}

[data-theme="light"] .standing-rank-badge {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* Light Theme Personas & Coupons (Modern, Canlı, Kusursuz Kontrast) */
[data-theme="light"] .coupon-select-box {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .coupon-select-label {
    color: #475569 !important;
}

[data-theme="light"] .coupon-filter-select {
    color: #0f172a !important;
}
[data-theme="light"] .coupon-filter-select option {
    background: #ffffff !important;
    color: #0f172a !important;
}

[data-theme="light"] .coupon-status-filter-bar {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .coupon-filter-btn {
    color: #475569 !important;
}

[data-theme="light"] .coupon-filter-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .coupon-filter-btn.active {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .btn-go-simulator {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #86efac !important;
}
[data-theme="light"] .btn-go-simulator:hover {
    background: #16a34a !important;
    color: #ffffff !important;
}

/* Light Theme Archive Banner */
[data-theme="light"] .coupon-archive-banner {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .archive-banner-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .archive-banner-heading {
    color: #0f172a !important;
}

[data-theme="light"] .archive-week-pill {
    background: #f0f9ff !important;
    color: #0284c7 !important;
    border: 1px solid #7dd3fc !important;
}

[data-theme="light"] .archive-kpi-label {
    color: #64748b !important;
}

[data-theme="light"] .archive-commentary-text {
    color: #334155 !important;
}

/* Light Theme Persona Coupon Card */
[data-theme="light"] .persona-coupon-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .persona-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .persona-avatar-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .persona-name-title {
    color: #0f172a !important;
}

[data-theme="light"] .persona-league-badge {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #86efac !important;
}

/* Light Theme Status Badges */
[data-theme="light"] .coupon-status-badge.won {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #86efac !important;
}

[data-theme="light"] .coupon-status-badge.lost {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fca5a5 !important;
}

[data-theme="light"] .coupon-status-badge.pending {
    background: #f0f9ff !important;
    color: #0284c7 !important;
    border: 1px solid #7dd3fc !important;
}

/* Light Theme Persona Stats */
[data-theme="light"] .persona-stats-grid {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .persona-stat-box span {
    color: #64748b !important;
}

[data-theme="light"] .persona-stat-box strong {
    color: #0f172a !important;
}

[data-theme="light"] .persona-strategy-quote {
    background: #f8fafc !important;
    border-left: 3px solid #cbd5e1 !important;
    color: #475569 !important;
}

/* Light Theme Match Rows */
[data-theme="light"] .coupon-matches-header {
    color: #475569 !important;
}

[data-theme="light"] .coupon-match-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .coupon-match-item:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .match-name-row {
    color: #0f172a !important;
}

[data-theme="light"] .coupon-pick-pill {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .coupon-odd-pill {
    color: #0f172a !important;
}

[data-theme="light"] .coupon-odd-type {
    background: #e2e8f0 !important;
    color: #475569 !important;
}

/* Light Theme Footer */
[data-theme="light"] .coupon-footer-bar {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .coupon-footer-bar .footer-lbl {
    color: #64748b !important;
}

[data-theme="light"] .coupon-play-btn {
    background: #16a34a !important;
    color: #ffffff !important;
    border: 1px solid #15803d !important;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25) !important;
}
[data-theme="light"] .coupon-play-btn:hover {
    background: #15803d !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35) !important;
}

[data-theme="light"] .coupon-finished-btn {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
}

/* Light Theme Floating Slip & Modals */
[data-theme="light"] .floating-betslip-btn {
    background: linear-gradient(135deg, #ff5500, #ea580c) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.35) !important;
}

[data-theme="light"] .betslip-count-badge {
    background: #ffffff !important;
    color: #ea580c !important;
    font-weight: 900 !important;
}

[data-theme="light"] .betslip-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .modal-card,
[data-theme="light"] #vbMatchMarketsPanel,
[data-theme="light"] .modal-content {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18) !important;
    color: #0f172a !important;
}

[data-theme="light"] .modal-card h3,
[data-theme="light"] .modal-card strong,
[data-theme="light"] .modal-card span[style*="color: #fff"],
[data-theme="light"] .modal-card div[style*="color: #fff"] {
    color: #0f172a !important;
}

[data-theme="light"] .market-group {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .market-title {
    color: #0f172a !important;
}

[data-theme="light"] .footer {
    color: #64748b !important;
    border-top: 1px solid #e2e8f0 !important;
}

/* --- 2. DARK THEME / MİSLİ PRO REFINEMENTS --- */
[data-theme="dark"],
html.dark-theme,
body.dark-theme {
    --bg-dark: #0b0f19;
    --bg-card: #131b2e;
    --bg-card-hover: #1a243b;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(255, 85, 0, 0.35);

    --primary-cyan: #ff5500;
    --primary-glow: rgba(255, 85, 0, 0.25);
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
}

[data-theme="dark"] .q-odd-btn {
    background: #182235;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

[data-theme="dark"] .q-odd-btn:hover {
    background: rgba(255, 85, 0, 0.18);
    border-color: #ff5500;
    color: #ff7844;
}

[data-theme="dark"] .q-odd-btn.selected {
    background: rgba(16, 185, 129, 0.28);
    border-color: #10b981;
    color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}

[data-theme="dark"] .nav-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, #ff5500, #ea580c);
    border-color: #ea580c;
    box-shadow: 0 0 12px rgba(255, 85, 0, 0.4);
}

/* ==========================================================================
   İDDAA & MİSLİ BÜLTEN & STICKY KUPONUM SİSTEMİ
   ========================================================================== */

/* 1. SPORTSBOOK 2-COLUMN LAYOUT */
.sportsbook-layout {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 1.5rem;
    align-items: start;
    position: relative;
    margin-top: 1rem;
}

@media (max-width: 1080px) {
    .sportsbook-layout {
        grid-template-columns: 1fr;
    }
    .sportsbook-slip-col {
        display: none !important;
    }
}

.sportsbook-bulletin-col {
    min-width: 0;
}

/* 2. STICKY KUPONUM SIDEBAR (İddaa.com & Misli.com Tarzı) */
.sportsbook-slip-col {
    position: sticky;
    top: 68px;
    z-index: 40;
}

.sportsbook-slip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .sportsbook-slip-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.slip-card-header {
    background: #008641; /* İddaa imza yeşili */
    color: #ffffff;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
}

.slip-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slip-badge-count {
    background: #f4e500;
    color: #1e293b;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 9999px;
}

.slip-items-scroll {
    max-height: 320px;
    overflow-y: auto;
    padding: 0.65rem;
    background: var(--bg-card);
}

[data-theme="light"] .slip-items-scroll {
    background: #ffffff;
}

.sb-slip-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    transition: all 0.15s ease;
}

[data-theme="dark"] .sb-slip-item {
    background: #182235;
    border-color: rgba(255, 255, 255, 0.08);
}

.sb-slip-item-info {
    flex: 1;
    min-width: 0;
}

.sb-slip-match {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

[data-theme="light"] .sb-slip-match {
    color: #0f172a;
}

.sb-slip-market {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.sb-slip-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: #008641;
}

[data-theme="dark"] .sb-slip-tag {
    color: #10b981;
}

.sb-slip-league {
    font-size: 0.65rem;
    color: var(--text-dim);
    background: rgba(0, 0, 0, 0.05);
    padding: 1px 4px;
    border-radius: 3px;
}

[data-theme="dark"] .sb-slip-league {
    background: rgba(255, 255, 255, 0.06);
}

.sb-slip-item-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sb-slip-odd {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 800;
    color: #0284c7;
}

[data-theme="dark"] .sb-slip-odd {
    color: #38bdf8;
}

.sb-slip-remove {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 2px 4px;
    border-radius: 3px;
}

.sb-slip-remove:hover {
    background: rgba(239, 68, 68, 0.15);
}

.slip-summary-box {
    padding: 0.85rem;
    background: var(--bg-card-hover);
    border-top: 1px solid var(--border-color);
}

[data-theme="light"] .slip-summary-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.slip-stake-input {
    width: 80px;
    text-align: right;
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.3rem 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-main);
    outline: none;
}

[data-theme="light"] .slip-stake-input {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

.quick-stake-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-dim);
    padding: 0.3rem 0.2rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

[data-theme="light"] .quick-stake-chip {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #475569;
}

.quick-stake-chip:hover {
    border-color: #008641;
    color: #008641;
}

.quick-stake-chip.active {
    background: #008641 !important;
    color: #ffffff !important;
    border-color: #008641 !important;
}

.slip-btn-play {
    background: linear-gradient(135deg, #008641, #059669);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.75rem;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 134, 65, 0.3);
    transition: all 0.2s ease;
}

.slip-btn-play:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 134, 65, 0.4);
}

.slip-btn-clear {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    border-radius: 6px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.slip-btn-clear:hover {
    background: #fecaca;
}

/* 3. İDDAA BÜLTEN TABLOSU */
.iddaa-bulletin-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bulletin-top-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 0.5rem;
}

[data-theme="light"] .bulletin-top-info-bar {
    background: #ffffff;
    border-color: #e2e8f0;
}

.b-badge-iddaa {
    background: #008641;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.bulletin-league-section {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .bulletin-league-section {
    background: #ffffff;
    border-color: #e2e8f0;
}

.bulletin-league-header {
    background: #374146; /* İddaa lig şerit rengi */
    color: #ffffff;
    padding: 0.55rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blh-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blh-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.blh-badge {
    background: #f4e500;
    color: #1e293b;
    font-size: 0.68rem;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 4px;
}

.blh-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
}

.bulletin-table-scroll {
    overflow-x: auto;
}

.iddaa-bulletin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.iddaa-bulletin-table th {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.5rem 0.4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    white-space: nowrap;
}

[data-theme="dark"] .iddaa-bulletin-table th {
    background: #182235;
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.08);
}

.iddaa-bulletin-table td {
    padding: 0.4rem 0.35rem;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    vertical-align: middle;
}

[data-theme="dark"] .iddaa-bulletin-table td {
    border-color: rgba(255, 255, 255, 0.08);
}

.b-match-row {
    transition: background 0.15s ease;
}

.b-match-row:hover {
    background: rgba(255, 85, 0, 0.04);
}

[data-theme="dark"] .b-match-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.b-match-row.b-row-live {
    background: rgba(239, 68, 68, 0.04);
}

.b-time-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 68px;
    line-height: 1.2;
}

.b-date-badge {
    color: var(--primary-cyan, #0284c7);
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

[data-theme="light"] .b-date-badge {
    color: #0369a1 !important;
}

.b-live-badge {
    color: #ef4444;
    font-weight: 800;
    font-size: 0.72rem;
}

.b-time-badge {
    color: var(--text-main, #0f172a);
    font-size: 0.78rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

[data-theme="light"] .b-time-badge {
    color: #0f172a !important;
}

.b-finished-badge {
    color: var(--text-dim);
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.06);
    padding: 1px 5px;
    border-radius: 3px;
}

.b-code-label {
    font-size: 0.65rem;
    color: var(--text-dim);
    font-weight: 600;
}

/* Gün Ayırıcı Şerit (İddaa / Misli Bülten Tarzı) */
.b-day-divider-row td {
    padding: 0 !important;
    background: transparent !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.b-day-divider-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.85rem;
    background: rgba(15, 23, 42, 0.85);
    font-size: 0.8rem;
    color: var(--text-main);
    border-left: 3px solid #008641;
}

[data-theme="light"] .b-day-divider-bar {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border-left-color: #008641 !important;
}

.b-day-divider-icon {
    font-size: 0.95rem;
}

.b-day-divider-date {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.mbs-badge {
    background: #f4e500;
    color: #1e293b;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 5px;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.b-teams-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 220px;
    cursor: pointer;
    padding: 0 0.4rem;
}

.b-team-home, .b-team-away {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
}

.b-team-home {
    justify-content: flex-end;
    text-align: right;
}

.b-team-away {
    justify-content: flex-start;
    text-align: left;
}

.b-mini-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.b-team-name {
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 105px;
}

[data-theme="light"] .b-team-name {
    color: #0f172a;
}

.b-score-pill {
    background: #008641;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.76rem;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: var(--font-mono);
    white-space: nowrap;
}

.b-vs-pill {
    color: var(--text-dim);
    font-size: 0.72rem;
    font-weight: 700;
}

/* ORAN KUTULARI (İddaa.com & Misli.com Tarzı) */
.b-odd-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.3rem 0.2rem;
    width: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    margin: 0 auto;
}

[data-theme="light"] .b-odd-btn {
    background: #ffffff;
    border-color: #cbd5e1;
}

.b-odd-name {
    font-size: 0.62rem;
    color: var(--text-dim);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.b-odd-rate {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-mono);
    line-height: 1;
}

[data-theme="light"] .b-odd-rate {
    color: #0f172a;
}

.b-odd-btn:hover {
    background: #fff7ed !important;
    border-color: #ff5500 !important;
    transform: translateY(-1px);
}

.b-odd-btn:hover .b-odd-rate,
.b-odd-btn:hover .b-odd-name {
    color: #ea580c !important;
}

.b-odd-btn.selected {
    background: #008641 !important;
    border-color: #008641 !important;
    box-shadow: 0 0 8px rgba(0, 134, 65, 0.4) !important;
}

.b-odd-btn.selected .b-odd-name,
.b-odd-btn.selected .b-odd-rate {
    color: #ffffff !important;
}

.b-more-btn {
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: #0284c7;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0.35rem 0.45rem;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}

[data-theme="dark"] .b-more-btn {
    background: #182235;
    color: #38bdf8;
    border-color: rgba(255, 255, 255, 0.1);
}

.b-more-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

.b-lab-btn {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #7c3aed;
    font-size: 0.82rem;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

.b-lab-btn:hover {
    background: #7c3aed;
    color: #ffffff;
}

/* ==========================================================================
   LIGHT THEME: DERİN MAÇ LABORATUVARI (ANALYSIS VIEW) HIGH-CONTRAST RULES
   ========================================================================== */

/* 1. Header, Match Selector & Hero Card */
[data-theme="light"] #analysis-view .section-title,
[data-theme="light"] #labMatchTitle {
    color: #0f172a !important;
}

[data-theme="light"] #analysis-view .section-desc,
[data-theme="light"] #labMatchMeta {
    color: #475569 !important;
}

[data-theme="light"] #labMatchDropdown {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] #labMatchDropdown option {
    background: #ffffff !important;
    color: #0f172a !important;
}

[data-theme="light"] #labMatchStatus {
    background: #e2e8f0 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] #btnCopyMatchLink {
    background: #f0f9ff !important;
    color: #0284c7 !important;
    border: 1px solid #bae6fd !important;
}

[data-theme="light"] #btnCopyMatchLink:hover {
    background: #e0f2fe !important;
    border-color: #0284c7 !important;
}

/* Match Selector Strip */
[data-theme="light"] .lab-match-selector-strip {
    scrollbar-color: #cbd5e1 transparent;
}

[data-theme="light"] .lab-mini-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .lab-mini-card:hover {
    background: #fff7ed !important;
    border-color: #ff5500 !important;
}

[data-theme="light"] .lab-mini-card.active {
    background: #ecfdf5 !important;
    border-color: #059669 !important;
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.25) !important;
}

[data-theme="light"] .lab-mini-team {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .lab-mini-score {
    color: #0f172a !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 900 !important;
}

/* Match Hero Card */
[data-theme="light"] .lab-match-hero-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .hero-team-name {
    color: #0f172a !important;
    font-weight: 900 !important;
}

[data-theme="light"] .hero-score-box {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .hero-score-num {
    color: #0f172a !important;
    font-weight: 900 !important;
}

[data-theme="light"] .hero-score-divider {
    color: #64748b !important;
    font-weight: 800 !important;
}

[data-theme="light"] .hero-match-status-pill.finished {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .hero-match-status-pill.live {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

[data-theme="light"] .hero-broadcast-pill {
    background: #faf5ff !important;
    color: #7e22ce !important;
    border: 1px solid #e9d5ff !important;
}

[data-theme="light"] .hero-match-subbar {
    border-top: 1px solid #e2e8f0 !important;
    color: #334155 !important;
}

[data-theme="light"] #labHomeStandingsBadge {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}

[data-theme="light"] #labAwayStandingsBadge {
    background: #f0f9ff !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

[data-theme="light"] .hero-subbar-ref {
    color: #334155 !important;
}

[data-theme="light"] .hero-subbar-ref strong {
    color: #0f172a !important;
}

[data-theme="light"] .hero-subbar-cards {
    color: #334155 !important;
}

/* Event chips in Hero */
[data-theme="light"] .event-chip.goal-chip {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}

[data-theme="light"] .event-chip.yellow-chip {
    background: #fefce8 !important;
    color: #854d0e !important;
    border: 1px solid #fef08a !important;
}

[data-theme="light"] .event-chip.red-chip {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

/* 2. Pitch Card & xG Scoreboard */
[data-theme="light"] .lab-pitch-card .card-header h3,
[data-theme="light"] .lab-momentum-card .card-header h3,
[data-theme="light"] .lab-referee-card .card-header h3,
[data-theme="light"] .lab-fatigue-card .card-header h3,
[data-theme="light"] .lab-stats-card .card-header h3,
[data-theme="light"] .lab-form-odds-card .card-header h3,
[data-theme="light"] .lab-lineups-card .card-header h3,
[data-theme="light"] .lab-events-timeline-card .card-header h3 {
    color: #0f172a !important;
}

[data-theme="light"] .pitch-legend {
    color: #334155 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .pitch-container {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .xg-scoreboard {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .team-xg-box .team-name {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .team-xg-box .xg-val {
    color: #ea580c !important;
    font-weight: 900 !important;
}

[data-theme="light"] .team-xg-box .xg-label {
    color: #475569 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .vs-divider {
    color: #64748b !important;
    font-weight: 800 !important;
}

/* 3. Momentum Card */
[data-theme="light"] .momentum-chart-wrap {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .m-label.neutral {
    color: #475569 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .m-label.home {
    color: #047857 !important;
    font-weight: 800 !important;
}

[data-theme="light"] .m-label.away {
    color: #0284c7 !important;
    font-weight: 800 !important;
}

/* 4. AI Betting Intelligence & Accuracy Scorecard */
[data-theme="light"] .lab-ai-betting-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .ai-chip-badge {
    background: rgba(124, 58, 237, 0.12) !important;
    color: #7c3aed !important;
    border: 1px solid rgba(124, 58, 237, 0.3) !important;
}

[data-theme="light"] .ai-accuracy-scorecard {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .accuracy-circle-inner {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
}

[data-theme="light"] .accuracy-pct {
    color: #047857 !important;
    font-weight: 900 !important;
}

[data-theme="light"] .accuracy-sub {
    color: #64748b !important;
    font-weight: 700 !important;
}

[data-theme="light"] .scorecard-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .scorecard-badge {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}

[data-theme="light"] .metric-item.won {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}

[data-theme="light"] .metric-item.lost {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
}

[data-theme="light"] .metric-item.roi {
    background: #f0f9ff !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

[data-theme="light"] .scorecard-summary-note {
    color: #475569 !important;
}

[data-theme="light"] .scorecard-right {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .outcome-box-title {
    color: #0369a1 !important;
    font-weight: 800 !important;
}

[data-theme="light"] .outcome-cell span {
    color: #475569 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .outcome-cell strong {
    color: #0f172a !important;
    font-weight: 800 !important;
}

/* AI Bet Cards */
[data-theme="light"] .ai-bet-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .ai-bet-card.banko-card {
    border-top: 4px solid #059669 !important;
}

[data-theme="light"] .ai-bet-card.value-card {
    border-top: 4px solid #0284c7 !important;
}

[data-theme="light"] .ai-bet-card.surprise-card {
    border-top: 4px solid #d97706 !important;
}

[data-theme="light"] .ai-bet-card.card-bet-card {
    border-top: 4px solid #ca8a04 !important;
}

[data-theme="light"] .ai-bet-card.corner-bet-card {
    border-top: 4px solid #7c3aed !important;
}

[data-theme="light"] .ai-bet-card.first-goal-card {
    border-top: 4px solid #db2777 !important;
}

[data-theme="light"] .ai-bet-card.first-events-card {
    border-top: 4px solid #4f46e5 !important;
}

/* Light Theme AI Recommendation Box */
[data-theme="light"] .ai-pick-box {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .ai-pick-box.banko-pick {
    background: #f0fdf4 !important;
    border: 1.5px solid #16a34a !important;
}
[data-theme="light"] .ai-pick-box.banko-pick .ai-pick-badge { color: #15803d !important; }
[data-theme="light"] .ai-pick-box.banko-pick .pick-status-pill { background: #dcfce7 !important; color: #166534 !important; border: 1px solid #86efac !important; }
[data-theme="light"] .ai-pick-box.banko-pick .bet-market-title { color: #14532d !important; }

[data-theme="light"] .ai-pick-box.value-pick {
    background: #f0f9ff !important;
    border: 1.5px solid #0284c7 !important;
}
[data-theme="light"] .ai-pick-box.value-pick .ai-pick-badge { color: #0369a1 !important; }
[data-theme="light"] .ai-pick-box.value-pick .pick-status-pill { background: #e0f2fe !important; color: #0369a1 !important; border: 1px solid #7dd3fc !important; }
[data-theme="light"] .ai-pick-box.value-pick .bet-market-title { color: #0c4a6e !important; }

[data-theme="light"] .ai-pick-box.surprise-pick {
    background: #fffbeb !important;
    border: 1.5px solid #d97706 !important;
}
[data-theme="light"] .ai-pick-box.surprise-pick .ai-pick-badge { color: #b45309 !important; }
[data-theme="light"] .ai-pick-box.surprise-pick .pick-status-pill { background: #fef3c7 !important; color: #92400e !important; border: 1px solid #fde68a !important; }
[data-theme="light"] .ai-pick-box.surprise-pick .bet-market-title { color: #78350f !important; }

[data-theme="light"] .ai-pick-box.card-pick {
    background: #fefce8 !important;
    border: 1.5px solid #ca8a04 !important;
}
[data-theme="light"] .ai-pick-box.card-pick .ai-pick-badge { color: #a16207 !important; }
[data-theme="light"] .ai-pick-box.card-pick .pick-status-pill { background: #fef9c3 !important; color: #854d0e !important; border: 1px solid #fef08a !important; }
[data-theme="light"] .ai-pick-box.card-pick .bet-market-title { color: #713f12 !important; }

[data-theme="light"] .ai-pick-box.corner-pick {
    background: #faf5ff !important;
    border: 1.5px solid #7c3aed !important;
}
[data-theme="light"] .ai-pick-box.corner-pick .ai-pick-badge { color: #6b21a8 !important; }
[data-theme="light"] .ai-pick-box.corner-pick .pick-status-pill { background: #f3e8ff !important; color: #6b21a8 !important; border: 1px solid #d8b4fe !important; }
[data-theme="light"] .ai-pick-box.corner-pick .bet-market-title { color: #581c87 !important; }

[data-theme="light"] .ai-pick-box.first-goal-pick {
    background: #fdf2f8 !important;
    border: 1.5px solid #db2777 !important;
}
[data-theme="light"] .ai-pick-box.first-goal-pick .ai-pick-badge { color: #be185d !important; }
[data-theme="light"] .ai-pick-box.first-goal-pick .pick-status-pill { background: #fce7f3 !important; color: #9d174d !important; border: 1px solid #fbcfe8 !important; }
[data-theme="light"] .ai-pick-box.first-goal-pick .bet-market-title { color: #831843 !important; }

[data-theme="light"] .ai-pick-box.first-events-pick {
    background: #eef2ff !important;
    border: 1.5px solid #4f46e5 !important;
}
[data-theme="light"] .ai-pick-box.first-events-pick .ai-pick-badge { color: #4338ca !important; }
[data-theme="light"] .ai-pick-box.first-events-pick .pick-status-pill { background: #e0e7ff !important; color: #3730a3 !important; border: 1px solid #c7d2fe !important; }
[data-theme="light"] .ai-pick-box.first-events-pick .bet-market-title { color: #312e81 !important; }

[data-theme="light"] .bet-market-title {
    font-weight: 800 !important;
}

[data-theme="light"] .bet-odd {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .bet-prob-compare {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

[data-theme="light"] .bet-prob-compare b {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .bet-reason {
    color: #334155 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

[data-theme="light"] .ref-sub-stat {
    color: #b45309 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .bet-progress-wrap {
    background: #e2e8f0 !important;
}

[data-theme="light"] #betFirstEventsDetails {
    color: #334155 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .bet-verdict-box.status-won {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
}

[data-theme="light"] .verdict-tag.won {
    background: #059669 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

[data-theme="light"] .verdict-actual {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .verdict-desc {
    color: #334155 !important;
    font-weight: 500 !important;
}

[data-theme="light"] .ai-narrative-box {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #0284c7 !important;
}

[data-theme="light"] .ai-narrative-header span {
    color: #0369a1 !important;
    font-weight: 800 !important;
}

[data-theme="light"] .ai-narrative-text {
    color: #0f172a !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

/* 5. Multi-Model Consensus Council */
[data-theme="light"] .lab-consensus-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .lab-consensus-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .lab-consensus-card p {
    color: #475569 !important;
}

[data-theme="light"] .consensus-summary-strip {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .consensus-strip-title {
    color: #475569 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .consensus-badge-pill {
    background: #e2e8f0 !important;
    color: #1e293b !important;
    font-weight: 700 !important;
}

[data-theme="light"] #consensusScorePick {
    color: #0f172a !important;
}

[data-theme="light"] .consensus-score-sub {
    color: #64748b !important;
    font-weight: 600 !important;
}

[data-theme="light"] .ai-model-box {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .ai-model-box strong {
    color: #0f172a !important;
}

[data-theme="light"] .ai-model-box p {
    color: #334155 !important;
}

[data-theme="light"] .ai-model-box > div:last-child {
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

[data-theme="light"] #consensusVerdictText {
    background: #f0f9ff !important;
    border-left: 4px solid #0284c7 !important;
    color: #0f172a !important;
    font-weight: 500 !important;
}

/* 6. Match Integrity Card (Kusursuz Kontrast & Sarı/Yeşil/Kırmızı Net Görünüm) */
[data-theme="light"] .lab-integrity-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .lab-integrity-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .integrity-header-sub {
    color: #475569 !important;
}

[data-theme="light"] .integrity-main-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .integrity-section-title {
    color: #475569 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .integrity-level-text {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .integrity-flags-count-box {
    color: #475569 !important;
}

[data-theme="light"] .integrity-flags-count-box strong {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .integrity-progress-track {
    background: #e2e8f0 !important;
}

[data-theme="light"] .integrity-submetric-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .submetric-title {
    color: #334155 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .integrity-redflags-header {
    color: #475569 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .integrity-clean-banner {
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
}

[data-theme="light"] .clean-title {
    color: #15803d !important;
    font-weight: 700 !important;
}

[data-theme="light"] .clean-desc {
    color: #334155 !important;
}

[data-theme="light"] .integrity-flag-item {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .flag-title {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .flag-desc {
    color: #334155 !important;
}

[data-theme="light"] .flag-weight-badge {
    background: #f1f5f9 !important;
}

[data-theme="light"] .integrity-simulator-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .sim-title {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .sim-sub {
    color: #475569 !important;
}

[data-theme="light"] .sim-reset-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

[data-theme="light"] .sim-reset-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

[data-theme="light"] .integrity-toggle-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-weight: 600 !important;
}

[data-theme="light"] .integrity-toggle-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

[data-theme="light"] .integrity-toggle-btn.active {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #dc2626 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15) !important;
}

/* 7. Events Timeline */
[data-theme="light"] .event-filter-btn {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .event-filter-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .event-filter-btn.active {
    background: #ff5500 !important;
    color: #ffffff !important;
    border-color: #ff5500 !important;
}

[data-theme="light"] .timeline-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .timeline-minute {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .timeline-main-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .timeline-sub-info {
    color: #475569 !important;
    font-weight: 500 !important;
}

[data-theme="light"] .timeline-team-badge {
    background: #e2e8f0 !important;
    color: #334155 !important;
    font-weight: 700 !important;
}

/* 8. Referee & VAR Crew */
[data-theme="light"] #refereeName {
    color: #0f172a !important;
    font-weight: 900 !important;
}

[data-theme="light"] .ref-desc {
    color: #334155 !important;
    font-weight: 500 !important;
}

[data-theme="light"] .ref-avatar {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .crew-member-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .crew-member-card:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .crew-member-card.var-highlight {
    background: #f0f9ff !important;
    border-color: #7dd3fc !important;
}

[data-theme="light"] .cm-role {
    color: #64748b !important;
    font-weight: 700 !important;
}

[data-theme="light"] .cm-name {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .ref-stat-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .ref-stat-box .val {
    color: #b45309 !important;
    font-weight: 800 !important;
}

[data-theme="light"] .ref-stat-box .lbl {
    color: #475569 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .ref-history-section {
    border-top: 1px dashed #cbd5e1 !important;
}

[data-theme="light"] .ref-h2h-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .ref-team-record-col {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .rtr-team-name {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .rtr-stat-row {
    color: #475569 !important;
}

[data-theme="light"] .rtr-stat-row strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .ref-recent-matches-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .rrm-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .rrm-match {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .rrm-meta {
    color: #64748b !important;
}

[data-theme="light"] .ref-ai-narrative {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-left: 3px solid #0284c7 !important;
}

/* 9. Fatigue, Stats, Form, Lineups */
[data-theme="light"] .ft-name {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .ft-notes {
    color: #334155 !important;
}

[data-theme="light"] .progress-bar {
    background: #e2e8f0 !important;
}

[data-theme="light"] .stat-name {
    color: #334155 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .stat-val-h {
    color: #047857 !important;
    font-weight: 800 !important;
}

[data-theme="light"] .stat-val-a {
    color: #0369a1 !important;
    font-weight: 800 !important;
}

[data-theme="light"] .stat-comp-bar {
    background: #e2e8f0 !important;
}

[data-theme="light"] .market-odds-box .quick-odds-strip {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .q-odd {
    color: #0f172a !important;
}

[data-theme="light"] .form-team-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .player-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .player-num {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .player-name {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .player-pos {
    color: #475569 !important;
    background: #e2e8f0 !important;
    font-weight: 600 !important;
}

[data-theme="light"] #videoHubContainer {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] #videoHubTitle {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] #videoHubDesc {
    color: #475569 !important;
}

/* ==========================================================================
   LIGHT THEME: SANAL BAHİS & KASA SİMÜLATÖRÜ (VIRTUAL BET VIEW)
   ========================================================================== */

/* 1. Base Structure for Match Summary Card & Banner */
.vb-match-summary-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.vb-match-team {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
}

.vb-match-team.text-right {
    text-align: right;
}

.vb-match-hero-vs {
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary-cyan);
    letter-spacing: 1px;
}

.vb-builder-banner {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 10px;
    padding: 0.65rem 1rem;
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: var(--text-main);
}

.betslip-item-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

/* 2. Light Theme Overrides for Virtual Bet View */
[data-theme="light"] #virtual-bet-view .section-title {
    color: #0f172a !important;
}

[data-theme="light"] #virtual-bet-view .section-desc {
    color: #475569 !important;
}

[data-theme="light"] .vb-bankroll-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .vb-bankroll-card span {
    color: #475569 !important;
    font-weight: 700 !important;
}

[data-theme="light"] #vbTotalBetsCount {
    color: #0f172a !important;
    font-weight: 900 !important;
}

[data-theme="light"] #vbWonBetsCount {
    color: #0284c7 !important;
    font-weight: 900 !important;
}

[data-theme="light"] .vb-quick-picker-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .vb-quick-picker-card h3 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .vb-quick-picker-card span {
    color: #475569 !important;
}

[data-theme="light"] .vb-quick-picker-card label {
    color: #475569 !important;
    font-weight: 700 !important;
}

[data-theme="light"] #vbQuickMatchSelect {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] #vbQuickMatchSelect option {
    background: #ffffff !important;
    color: #0f172a !important;
}

[data-theme="light"] #vbQuickMatchSearch {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] #vbQuickMatchSearch::placeholder {
    color: #94a3b8 !important;
}

/* Selected Match Market Panel */
[data-theme="light"] #vbMatchMarketsPanel {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
}

[data-theme="light"] .vb-match-summary-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .vb-match-team {
    color: #0f172a !important;
    font-weight: 900 !important;
}

[data-theme="light"] .vb-match-hero-vs {
    background: #e2e8f0 !important;
    color: #ea580c !important;
    font-weight: 900 !important;
}

[data-theme="light"] .vb-builder-banner {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0f172a !important;
}

[data-theme="light"] .vb-builder-banner strong {
    color: #0284c7 !important;
    font-weight: 800 !important;
}

[data-theme="light"] .vb-builder-banner span {
    color: #475569 !important;
}

/* Market Category Cards */
[data-theme="light"] .market-category-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .market-category-header {
    border-bottom: 1px dashed #cbd5e1 !important;
}

[data-theme="light"] .market-category-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .market-category-header span[style*="color:var(--text-muted)"] {
    color: #64748b !important;
    font-weight: 600 !important;
}

[data-theme="light"] .market-category-card.ai-predictions-category {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
}

[data-theme="light"] .market-category-card.ai-predictions-category .market-category-title {
    color: #047857 !important;
    font-weight: 800 !important;
}

[data-theme="light"] .market-category-card.next-goal-category {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
}

[data-theme="light"] .market-category-card.next-goal-category .market-category-title {
    color: #0369a1 !important;
    font-weight: 800 !important;
}

/* Market Pick Buttons */
[data-theme="light"] .market-pick-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .market-pick-label {
    color: #334155 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .market-pick-odd {
    color: #0f172a !important;
    font-weight: 900 !important;
}

[data-theme="light"] .market-pick-prob {
    color: #64748b !important;
    font-weight: 600 !important;
}

[data-theme="light"] .market-pick-btn:hover {
    background: #fff7ed !important;
    border-color: #ff5500 !important;
    transform: translateY(-2px);
}

[data-theme="light"] .market-pick-btn:hover .market-pick-label,
[data-theme="light"] .market-pick-btn:hover .market-pick-odd {
    color: #ea580c !important;
}

[data-theme="light"] .market-pick-btn.selected {
    background: #008641 !important;
    border-color: #008641 !important;
    box-shadow: 0 0 10px rgba(0, 134, 65, 0.35) !important;
}

[data-theme="light"] .market-pick-btn.selected .market-pick-label,
[data-theme="light"] .market-pick-btn.selected .market-pick-odd,
[data-theme="light"] .market-pick-btn.selected .market-pick-prob {
    color: #ffffff !important;
}

/* Coupon Wizard & Slip */
[data-theme="light"] .vb-wizard-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .vb-wizard-card h3 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .betslip-item {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .betslip-item-name {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .stake-chip {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .stake-chip:hover {
    border-color: #008641 !important;
    color: #008641 !important;
}

[data-theme="light"] .stake-chip.active {
    background: #008641 !important;
    color: #ffffff !important;
    border-color: #008641 !important;
}

[data-theme="light"] #vbStakeInput {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #047857 !important;
    font-weight: 900 !important;
}

[data-theme="light"] .vb-slip-summary-box {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .vb-slip-summary-box span {
    color: #475569 !important;
    font-weight: 600 !important;
}

[data-theme="light"] #vbTotalOddsLabel {
    color: #0284c7 !important;
    font-weight: 900 !important;
}

[data-theme="light"] #vbPotentialWinLabel {
    color: #047857 !important;
    font-weight: 900 !important;
}

/* My Bets Card & Coupons History */
[data-theme="light"] .vb-my-bets-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .vb-my-bets-card h3 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .my-coupon-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .my-coupon-card span {
    color: #0f172a !important;
}

[data-theme="light"] .my-coupon-card span[style*="color: var(--text-dim)"] {
    color: #64748b !important;
}

[data-theme="light"] .my-coupon-footer {
    background: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .my-coupon-footer strong {
    color: #0f172a !important;
}

/* Aktif Maç Vurgulama & Seçim Efekti (Deep Link & Auto Selection) */
.active-highlight-match {
    outline: 2px solid #008641 !important;
    box-shadow: 0 0 16px rgba(0, 134, 65, 0.45) !important;
    animation: matchHighlightPulse 2s ease-in-out infinite alternate;
}

@keyframes matchHighlightPulse {
    from {
        box-shadow: 0 0 8px rgba(0, 134, 65, 0.3);
    }
    to {
        box-shadow: 0 0 22px rgba(0, 134, 65, 0.65);
    }
}

.matches-fallback-banner {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: var(--text-main);
}

[data-theme="light"] .matches-fallback-banner {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0f172a !important;
}

/* ==========================================================================
   Dixon-Coles +EV & Live In-Play Radar Styles
   ========================================================================== */
.b-odd-btn.is-ev-pick {
    border-color: rgba(16, 185, 129, 0.7) !important;
    background: rgba(16, 185, 129, 0.12) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
    position: relative;
}

.b-odd-btn.is-ev-pick strong {
    color: #10b981 !important;
}

[data-theme="light"] .b-odd-btn.is-ev-pick {
    background: #ecfdf5 !important;
    border-color: #059669 !important;
}

[data-theme="light"] .b-odd-btn.is-ev-pick strong {
    color: #047857 !important;
}

.live-radar-panel {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInSlide 0.4s ease forwards;
}

[data-theme="light"] .live-radar-panel {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .live-radar-panel div {
    color: #0f172a;
}

.live-radar-grid > div {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.live-radar-grid > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.25) !important;
}

[data-theme="light"] .matches-fallback-banner strong {
    color: #0284c7 !important;
}

/* ==========================================================================
   Dixon-Coles (Bivariate Poisson) & +EV Değer Matrisi Tasarım Sistemi
   ========================================================================== */
.lab-dixon-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(6, 78, 59, 0.22));
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .lab-dixon-card {
    background: linear-gradient(135deg, #ffffff, #f0fdf4) !important;
    border: 1px solid #86efac !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12) !important;
}

.dixon-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .dixon-card-header {
    border-bottom-color: #dcfce7 !important;
}

.dixon-header-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.dixon-badge-icon {
    font-size: 1.6rem;
    background: rgba(16, 185, 129, 0.15);
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .dixon-badge-icon {
    background: #dcfce7 !important;
    border-color: #86efac !important;
}

.dixon-card-title {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

[data-theme="light"] .dixon-card-title {
    color: #0f172a !important;
}

.dixon-pill-tag {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
}

.dixon-pill-tag.tag-shin {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .dixon-pill-tag.tag-shin {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #a7f3d0 !important;
}

.dixon-pill-tag.tag-quant {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

[data-theme="light"] .dixon-pill-tag.tag-quant {
    background: #fffbeb !important;
    color: #b45309 !important;
    border-color: #fde68a !important;
}

.dixon-card-subtitle {
    margin: 0.25rem 0 0 0;
    font-size: 0.83rem;
    color: var(--text-dim);
}

[data-theme="light"] .dixon-card-subtitle {
    color: #475569 !important;
}

.dixon-body {
    padding: 1.1rem 0 0.4rem 0;
}

/* Stat Grid */
.dixon-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) 1.5fr;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1.25rem;
}

.dixon-stat-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dixon-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .dixon-stat-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .dixon-stat-card:hover {
    border-color: #10b981 !important;
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.12) !important;
}

.dixon-stat-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.dixon-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dixon-stat-dot.dot-home {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.dixon-stat-dot.dot-away {
    background: #0ea5e9;
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}

.dixon-stat-dot.dot-total {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.dixon-stat-dot.dot-scores {
    background: #8b5cf6;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

.dixon-stat-label {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.03em;
}

[data-theme="light"] .dixon-stat-label {
    color: #64748b !important;
}

.dixon-stat-num {
    font-size: 1.75rem;
    font-family: var(--font-mono);
    font-weight: 800;
    line-height: 1.2;
    margin: 0.2rem 0;
}

.text-emerald {
    color: #10b981 !important;
}

[data-theme="light"] .text-emerald {
    color: #059669 !important;
}

.text-cyan {
    color: #38bdf8 !important;
}

[data-theme="light"] .text-cyan {
    color: #0284c7 !important;
}

.text-amber {
    color: #f59e0b !important;
}

[data-theme="light"] .text-amber {
    color: #d97706 !important;
}

.dixon-stat-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 500;
}

[data-theme="light"] .dixon-stat-sub {
    color: #475569 !important;
}

/* Skor Çipleri */
.dixon-scores-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.dixon-score-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    text-align: center;
    flex: 1 1 auto;
    min-width: 65px;
    transition: transform 0.15s ease, background 0.15s ease;
}

.dixon-score-chip:hover {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .dixon-score-chip {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .dixon-score-chip:hover {
    background: #f1f5f9 !important;
}

.dixon-score-chip strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-mono);
}

[data-theme="light"] .dixon-score-chip strong {
    color: #0f172a !important;
}

.dixon-score-chip-prob {
    font-size: 0.73rem;
    font-weight: 700;
    color: #f59e0b;
}

[data-theme="light"] .dixon-score-chip-prob {
    color: #d97706 !important;
}

.dixon-score-chip-odd {
    font-size: 0.68rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

[data-theme="light"] .dixon-score-chip-odd {
    color: #64748b !important;
}

/* Değerli Bahisler Tablosu */
.dixon-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .dixon-table-wrapper {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.dixon-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.dixon-table thead tr {
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .dixon-table thead tr {
    background: #f8fafc !important;
    border-bottom-color: #e2e8f0 !important;
}

.dixon-table th {
    padding: 0.7rem 0.9rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

[data-theme="light"] .dixon-table th {
    color: #475569 !important;
}

.dixon-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s ease;
}

.dixon-table tbody tr:last-child {
    border-bottom: none;
}

.dixon-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .dixon-table tbody tr {
    border-bottom-color: #f1f5f9 !important;
}

[data-theme="light"] .dixon-table tbody tr:hover {
    background: #f8fafc !important;
}

.dixon-table td {
    padding: 0.65rem 0.9rem;
    vertical-align: middle;
}

.dixon-market-name {
    font-weight: 700;
    color: var(--text-main);
}

[data-theme="light"] .dixon-market-name {
    color: #0f172a !important;
}

.dixon-odd-val {
    font-weight: 800;
    font-family: var(--font-mono);
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: inline-block;
}

[data-theme="light"] .dixon-odd-val {
    color: #0369a1 !important;
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
}

.dixon-prob-val {
    color: var(--text-main);
    font-weight: 600;
}

[data-theme="light"] .dixon-prob-val {
    color: #1e293b !important;
}

.dixon-fair-odd {
    font-family: var(--font-mono);
    color: var(--text-dim);
    font-weight: 600;
}

[data-theme="light"] .dixon-fair-odd {
    color: #64748b !important;
}

/* EV Rozetleri */
.dixon-ev-badge {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 0.84rem;
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.dixon-ev-badge.pos-high {
    background: rgba(16, 185, 129, 0.18);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .dixon-ev-badge.pos-high {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #6ee7b7 !important;
}

.dixon-ev-badge.pos-mild {
    background: rgba(245, 158, 11, 0.14);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

[data-theme="light"] .dixon-ev-badge.pos-mild {
    background: #fffbeb !important;
    color: #b45309 !important;
    border-color: #fde68a !important;
}

.dixon-ev-badge.neg {
    color: #f43f5e;
    font-weight: 600;
}

[data-theme="light"] .dixon-ev-badge.neg {
    color: #e11d48 !important;
}

.dixon-kelly-val {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-main);
}

[data-theme="light"] .dixon-kelly-val {
    color: #0f172a !important;
}

/* Durum ve Ekle Butonu */
.dixon-action-cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
}

.dixon-status-pill {
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.73rem;
    font-weight: 700;
    white-space: nowrap;
}

.dixon-status-pill.valuable {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .dixon-status-pill.valuable {
    background: #dcfce7 !important;
    color: #15803d !important;
    border-color: #86efac !important;
}

.dixon-status-pill.market {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .dixon-status-pill.market {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-color: #cbd5e1 !important;
}

.dixon-btn-slip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.28rem 0.65rem;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.dixon-btn-slip:hover {
    background: #10b981;
    color: #000;
    border-color: #10b981;
    transform: translateY(-1px);
}

[data-theme="light"] .dixon-btn-slip {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

[data-theme="light"] .dixon-btn-slip:hover {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
}

/* Banner */
.dixon-top-value-container {
    display: flex;
    align-items: center;
}

.dixon-top-value-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(245, 158, 11, 0.12));
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: 10px;
    padding: 0.5rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .dixon-top-value-card {
    background: linear-gradient(135deg, #ecfdf5, #fffbeb) !important;
    border-color: #86efac !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1) !important;
}

.dixon-top-value-card .tv-title {
    font-size: 0.72rem;
    color: #10b981;
    font-weight: 800;
    letter-spacing: 0.04em;
}

[data-theme="light"] .dixon-top-value-card .tv-title {
    color: #047857 !important;
}

.dixon-top-value-card .tv-pick {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-main);
}

[data-theme="light"] .dixon-top-value-card .tv-pick {
    color: #0f172a !important;
}

.dixon-top-value-card .tv-btn {
    background: #10b981;
    color: #000000;
    border: none;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.4rem 0.75rem;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dixon-top-value-card .tv-btn:hover {
    background: #059669;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================================================
   ⚡ 10 DAKİKA İÇİNDE GOL ALARMI VE RADAR TOAST BİLDİRİMİ
   ========================================================================== */
.goal-prediction-toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 3rem);
}

.goal-prediction-toast {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    border: 1.5px solid #f59e0b;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    box-shadow: 0 10px 35px rgba(245, 158, 11, 0.35), 0 0 20px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

[data-theme="light"] .goal-prediction-toast {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: #f59e0b !important;
    color: #0f172a !important;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25) !important;
}

@keyframes toastSlideIn {
    0% { transform: translateX(110%) scale(0.92); opacity: 0; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

.goal-prediction-toast.hiding {
    animation: toastSlideOut 0.3s forwards ease-in;
}

@keyframes toastSlideOut {
    0% { transform: translateX(0) scale(1); opacity: 1; }
    100% { transform: translateX(110%) scale(0.9); opacity: 0; }
}

.goal-toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.goal-toast-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(239, 68, 68, 0.25));
    border: 1px solid rgba(245, 158, 11, 0.6);
    color: #f59e0b;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

.goal-toast-close {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    line-height: 1;
    transition: color 0.15s;
}

.goal-toast-close:hover {
    color: #ef4444;
}

.goal-toast-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
}

[data-theme="light"] .goal-toast-title {
    color: #0f172a !important;
}

.goal-toast-body {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.45;
}

.goal-toast-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(245, 158, 11, 0.25);
}

.goal-toast-prob {
    font-size: 0.85rem;
    font-weight: 800;
    color: #10b981;
}

.goal-toast-btn {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #ffffff;
    border: none;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    transition: transform 0.15s;
}

.goal-toast-btn:hover {
    transform: scale(1.03);
}

/* Maç Kartı Üzerinde Parlayan Radar Banner */
.card-goal-radar-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(239, 68, 68, 0.08));
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin: 0.5rem 0 0.25rem 0;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.card-goal-radar-banner:hover {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.15));
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transform: translateY(-1px);
}

[data-theme="light"] .card-goal-radar-banner {
    background: #fffbeb !important;
    border-color: #f59e0b !important;
}

.radar-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    animation: radarPulseAnim 1.4s infinite cubic-bezier(0.45, 0, 0.55, 1);
    flex-shrink: 0;
}

@keyframes radarPulseAnim {
    0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ==========================================================================
   Master Günlük / Haftalık Ayrımı (Bülten & Kuponlar)
   ========================================================================== */
.master-tab-switch {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.95);
    padding: 4px;
    border-radius: 12px;
    border: 1.5px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    gap: 4px;
}

.master-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 1.1rem;
    border: none;
    background: transparent;
    color: var(--text-dim);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.master-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.master-tab-btn.active {
    background: linear-gradient(135deg, #0284c7, #06b6d4);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.master-tab-btn.active strong,
.master-tab-btn.active span {
    color: #ffffff !important;
}

/* Kupon Bölümü Master Switcher */
.coupons-master-switch-bar .master-tab-switch {
    border-color: rgba(16, 185, 129, 0.35);
}

.coupons-master-switch-bar .master-tab-btn.active {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Özel Tarih Seçici Input */
.custom-date-picker {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.custom-date-picker:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

/* Light Theme Overrides */
[data-theme="light"] .master-tab-switch {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .master-tab-btn {
    color: #64748b !important;
}

[data-theme="light"] .master-tab-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

[data-theme="light"] .master-tab-btn.active {
    background: linear-gradient(135deg, #0284c7, #06b6d4) !important;
    color: #ffffff !important;
}

[data-theme="light"] .master-tab-btn.active strong,
[data-theme="light"] .master-tab-btn.active span {
    color: #ffffff !important;
}

[data-theme="light"] .coupons-master-switch-bar .master-tab-btn.active {
    background: linear-gradient(135deg, #059669, #10b981) !important;
}

[data-theme="light"] .custom-date-picker {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

/* Master Verdict Card & Tek Karar UI */
.master-verdict-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.master-verdict-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px rgba(16, 185, 129, 0.3) !important;
}

[data-theme="light"] .master-verdict-card {
    background: linear-gradient(135deg, #f0fdf4, #e0f2fe, #ffffff) !important;
    border-color: #10b981 !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15) !important;
}

[data-theme="light"] #masterPickTitle {
    color: #0f172a !important;
    text-shadow: none !important;
}

[data-theme="light"] #masterPickReason {
    color: #334155 !important;
}

[data-theme="light"] .sim-advanced-details {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .sim-advanced-details summary {
    color: #0284c7 !important;
}

/* ==========================================================================
   BİLYONER DÜZENİ: FİLTRE ÇUBUĞU, GRUP BAŞLIKLARI VE ORAN BUTONLARI
   ========================================================================== */

.bilyoner-bulletin-container {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

/* 1. Üst Filtre Barı (Saat, Lig, Popüler, Favori, Canlı, Arama) */
.bilyoner-main-toolbar {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.6rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .bilyoner-main-toolbar {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.bilyoner-toolbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.bilyoner-pill-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.bilyoner-sort-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

[data-theme="light"] .bilyoner-sort-btn {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.bilyoner-sort-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

[data-theme="light"] .bilyoner-sort-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Bilyoner Yeşili Aktif Düğme (Ekran görüntüsündeki "Saat" stili) */
.bilyoner-sort-btn.active {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.bilyoner-action-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.bilyoner-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.bilyoner-action-btn.active {
    background: #0284c7;
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
}

.bilyoner-action-btn.fav-btn.active {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    color: #f59e0b;
}

.bilyoner-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
    min-width: 190px;
}

[data-theme="light"] .bilyoner-search-box {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.bilyoner-search-box input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.78rem;
    outline: none;
    width: 100%;
}

[data-theme="light"] .bilyoner-search-box input {
    color: #0f172a;
}

/* 2. Alt Market Sekmeleri (MS/2.5, 1.5/3.5, ÇŞ/KG, İY) */
.bilyoner-markets-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

[data-theme="light"] .bilyoner-markets-strip {
    border-top-color: #e2e8f0;
}

.bilyoner-market-tabs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 2px;
}

.bilyoner-market-tab {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.bilyoner-market-tab:hover {
    color: #ffffff;
}

[data-theme="light"] .bilyoner-market-tab:hover {
    color: #0f172a;
}

.bilyoner-market-tab.active {
    color: #06b6d4;
    border-bottom-color: #06b6d4;
}

[data-theme="light"] .bilyoner-market-tab.active {
    color: #0284c7;
    border-bottom-color: #0284c7;
}

.bilyoner-count-badge {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 600;
}

/* 3. Grup Başlık Şeridi (Bilyoner Koyu Petrol Yeşil Şerit) */
.bilyoner-group-header {
    background: linear-gradient(90deg, #0e3b4f, #164e63);
    color: #ffffff;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 0.92rem;
    margin-top: 0.85rem;
    margin-bottom: 0.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .bilyoner-group-header {
    background: linear-gradient(90deg, #0369a1, #0284c7);
}

.bgh-league {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.2px;
}

.bgh-league-icon {
    font-size: 1rem;
}

.bgh-time {
    font-size: 0.82rem;
    color: #cbd5e1;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* 4. Maç Kartı / Satırı (Bilyoner Kart Stili) */
.bilyoner-match-card {
    background: #18222d;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.45rem;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

[data-theme="light"] .bilyoner-match-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.bilyoner-match-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    background: #1c2734;
}

[data-theme="light"] .bilyoner-match-card:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.bilyoner-match-card.is-live-card {
    border-left: 3px solid #ef4444;
}

/* Üst Satır: Yıldız, MBS, Takımlar, İkonlar */
.bmc-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.bmc-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.bmc-star {
    font-size: 1.15rem;
    color: #64748b;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease;
    user-select: none;
    line-height: 1;
}

.bmc-star:hover {
    transform: scale(1.2);
    color: #f59e0b;
}

.bmc-star.active {
    color: #f59e0b;
}

.bmc-mbs {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.72rem;
    color: #ffffff;
    user-select: none;
    flex-shrink: 0;
}

.bmc-mbs.mbs-1 {
    background: #f97316; /* Bilyoner Turuncu 1 */
}

.bmc-mbs.mbs-2 {
    background: #0284c7; /* Bilyoner Mavi 2 */
}

/* Maç Başlama Saati Rozeti */
.bmc-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    font-weight: 800;
    white-space: nowrap;
    line-height: 1.2;
}

.bmc-time-badge.is-upcoming {
    background: rgba(6, 182, 212, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(6, 182, 212, 0.35);
}

[data-theme="light"] .bmc-time-badge.is-upcoming {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
}

.bmc-time-badge.is-live {
    background: rgba(239, 68, 68, 0.18);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.bmc-time-badge.is-finished {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.bmc-start-pill {
    font-size: 0.7rem;
    opacity: 0.85;
    font-weight: 600;
    margin-left: 2px;
}

.bmc-time-detail {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.76rem;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    gap: 3px;
}

[data-theme="light"] .bmc-time-detail {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
}

.bmc-teams {
    font-size: 0.94rem;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

[data-theme="light"] .bmc-teams {
    color: #0f172a;
}

.bmc-teams:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.bmc-live-score {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 0.4rem;
    white-space: nowrap;
}

.bmc-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-shrink: 0;
}

.bmc-status-capsule {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.78rem;
    line-height: 1.2;
    white-space: nowrap;
}

.bmc-status-capsule.live {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.bmc-status-capsule.finished {
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.bmc-status-capsule.upcoming {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

[data-theme="light"] .bmc-status-capsule.upcoming {
    background: #e0f2fe;
    border-color: #bae6fd;
}

[data-theme="light"] .bmc-status-capsule.finished {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* 5. Alt Satır: Oran Butonları Grid */
.bmc-odds-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.35rem;
}

.bilyoner-odd-box {
    background: #242f3d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.4rem 0.2rem;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.12s ease;
    user-select: none;
}

[data-theme="light"] .bilyoner-odd-box {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.bilyoner-odd-box:hover {
    background: #2e3c4e;
    border-color: #06b6d4;
    transform: translateY(-1px);
}

[data-theme="light"] .bilyoner-odd-box:hover {
    background: #e2e8f0;
    border-color: #0284c7;
}

.bilyoner-odd-box .bob-val {
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-mono);
    line-height: 1.15;
}

[data-theme="light"] .bilyoner-odd-box .bob-val {
    color: #0f172a;
}

.bilyoner-odd-box .bob-lbl {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 2px;
    line-height: 1;
}

[data-theme="light"] .bilyoner-odd-box .bob-lbl {
    color: #64748b;
}

/* Seçili Kupon Hali (Mavi Vurgu) */
.bilyoner-odd-box.selected {
    background: #0284c7 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.5);
}

.bilyoner-odd-box.selected .bob-val {
    color: #ffffff !important;
}

.bilyoner-odd-box.selected .bob-lbl {
    color: #e0f2fe !important;
}

/* En Sağdaki "+971 Tümü" Butonu */
.bilyoner-odd-box.bob-more {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.25);
}

.bilyoner-odd-box.bob-more:hover {
    background: rgba(6, 182, 212, 0.18);
    border-color: #06b6d4;
}

.bilyoner-odd-box.bob-more .bob-val {
    color: #38bdf8;
    font-size: 0.88rem;
}

[data-theme="light"] .bilyoner-odd-box.bob-more .bob-val {
    color: #0284c7;
}

/* ==========================================================================
   KAPSAMLI RESPONSIVE & MOBİL DÜZEN SİSTEMİ
   ========================================================================== */

/* 1. Global Taşıyıcı ve Tablo Sınıfları */
.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 1.25rem;
}

.vb-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
    align-items: start;
}

/* ==========================================================================
   Hamburger Butonu & Mobil Çekmece (Drawer) Menü
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: #06b6d4;
}

.hamburger-bar {
    display: block;
    width: 16px;
    height: 2px;
    background: #38bdf8;
    border-radius: 2px;
    transition: all 0.25s ease;
    transform-origin: center;
}

[data-theme="light"] .hamburger-bar {
    background: #0284c7;
}

.mobile-menu-btn.open .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.open .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobil Drawer Backdrop */
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Mobil Drawer Menü */
.mobile-drawer-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #0b1120 0%, #070a12 100%);
    border-left: 1px solid rgba(6, 182, 212, 0.3);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .mobile-drawer-menu {
    background: #ffffff;
    border-left: 1px solid #cbd5e1;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
}

.mobile-drawer-menu.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .drawer-header {
    border-bottom: 1px solid #e2e8f0;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.drawer-logo {
    font-size: 1.1rem;
}

.drawer-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

[data-theme="light"] .drawer-title {
    color: #0f172a;
}

.drawer-title span {
    color: var(--primary-cyan);
    font-weight: 300;
}

.drawer-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.drawer-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #fff;
}

[data-theme="light"] .drawer-close-btn {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.1rem;
    -webkit-overflow-scrolling: touch;
}

/* Drawer Sanal Kasa Kartı */
.drawer-kasa-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.1rem;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.2s ease;
}

.drawer-kasa-card:hover {
    transform: translateY(-1px);
    border-color: #10b981;
}

[data-theme="light"] .drawer-kasa-card {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.dkc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
    color: var(--text-dim);
    font-weight: 700;
}

.dkc-badge {
    background: #10b981;
    color: #0b1120;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
}

.dkc-amount {
    display: block;
    font-size: 1.35rem;
    font-family: var(--font-mono);
    color: #10b981;
    font-weight: 900;
    margin: 0.25rem 0;
}

.dkc-hint {
    display: block;
    font-size: 0.72rem;
    color: var(--primary-cyan);
    font-weight: 600;
}

/* Bölüm Başlıkları */
.drawer-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #38bdf8;
    margin: 0.9rem 0 0.45rem 0.2rem;
    text-transform: uppercase;
}

[data-theme="light"] .drawer-section-title {
    color: #0284c7;
}

.drawer-league-wrap {
    margin-bottom: 0.9rem;
}

.drawer-select {
    width: 100% !important;
    height: 38px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    padding: 0.4rem 0.75rem !important;
    font-size: 0.82rem !important;
    color: #ffffff !important;
}

[data-theme="light"] .drawer-select {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

/* Menü Öğeleri Listesi */
.drawer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 9px;
    color: #cbd5e1;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}

.drawer-nav-item:hover {
    background: rgba(6, 182, 212, 0.1);
    color: #ffffff;
    border-color: rgba(6, 182, 212, 0.25);
}

.drawer-nav-item.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-weight: 700;
}

[data-theme="light"] .drawer-nav-item {
    background: #f8fafc;
    color: #334155;
}

[data-theme="light"] .drawer-nav-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

[data-theme="light"] .drawer-nav-item.active {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0284c7;
}

.dni-icon {
    font-size: 0.95rem;
}

.dni-arrow {
    margin-left: auto;
    font-size: 0.72rem;
    opacity: 0.5;
}

/* Drawer Footer Butonları */
.drawer-footer {
    padding: 0.85rem 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

[data-theme="light"] .drawer-footer {
    border-top: 1px solid #e2e8f0;
}

.drawer-action-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-action-btn:hover {
    background: rgba(6, 182, 212, 0.12);
    border-color: #06b6d4;
    color: #fff;
}

[data-theme="light"] .drawer-action-btn {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

/* 2. Tablet & Küçük Masaüstü (<= 1024px) */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    /* Hamburger menüde tüm sekmeler bulunduğu için mobilde yatay tab bar tamamen gizlenir */
    .nav-tabs-wrapper {
        display: none !important;
    }
    .navbar-primary {
        padding: 0.45rem 1rem;
    }

    .league-selector-wrap {
        max-width: 250px;
    }

    .vb-grid-layout {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* 3. Mobil ve Tablet Dikey (<= 768px) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        -webkit-text-size-adjust: 100%;
    }

    .main-container {
        padding: 0.75rem 0.5rem 5rem 0.5rem !important;
    }

    /* Navbar Mobilde İki Katmanlı & Kusursuz Düzen */
    .navbar {
        position: sticky;
        top: 0;
        z-index: 100;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-primary {
        height: auto;
        min-height: 50px;
        padding: 0.45rem 0.65rem;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.35rem 0.5rem;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-brand {
        order: 1 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.45rem;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .brand-logo {
        width: 26px;
        height: 26px;
        font-size: 0.82rem;
    }

    .brand-title {
        font-size: 0.88rem;
    }

    /* Mobilde nav-tools içeriğini doğrudan navbar-primary flex akışına aktarır */
    .nav-tools {
        display: contents !important;
    }

    .virtual-balance-chip {
        order: 2 !important;
        height: 32px;
        padding: 0.15rem 0.5rem;
        font-size: 0.78rem;
        gap: 0.3rem;
        border-radius: 6px;
        max-width: 120px;
        margin-left: auto !important;
        margin-right: 0.35rem !important;
        flex-shrink: 0 !important;
    }

    .vb-chip-label {
        display: none !important;
    }

    .vb-chip-icon-mobile {
        display: inline-block !important;
        font-size: 0.85rem;
    }

    #headerVirtualBalance {
        font-size: 0.84rem;
        font-weight: 800;
    }

    .nav-quick-actions {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.35rem;
        flex-shrink: 0 !important;
    }

    /* Mobilde ses ve tema butonları hamburger menü içerisinde mevcuttur; üst barda yer tasarrufu için gizlenir */
    #soundToggleBtn, #themeToggleBtn {
        display: none !important;
    }

    /* Hamburger butonu mobilde her zaman net ve sağ üstte kalıcı olarak görünür */
    .mobile-menu-btn {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        background: rgba(6, 182, 212, 0.15) !important;
        border: 1px solid rgba(6, 182, 212, 0.4) !important;
        border-radius: 8px !important;
        justify-content: center !important;
        align-items: center !important;
        cursor: pointer !important;
        box-shadow: 0 2px 8px rgba(6, 182, 212, 0.25) !important;
    }

    .league-selector-wrap {
        order: 4 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
        height: 36px;
        margin-top: 0.25rem !important;
        justify-content: space-between;
        border-radius: 8px;
        padding: 0.2rem 0.65rem;
        box-sizing: border-box;
    }

    .league-selector-wrap .selector-label {
        font-size: 0.72rem;
    }

    .league-selector-wrap select {
        width: 100%;
        font-size: 0.8rem;
        padding-right: 0.3rem;
    }

    /* Sekmeler hamburger menüde yer aldığı için mobilde yatay tab bar tamamen gizlenir */
    .nav-tabs-wrapper {
        display: none !important;
    }

    /* Panel Başlıkları & Buton Şeritleri */
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        margin-bottom: 0.9rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .section-desc {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .view-toggle-strip {
        width: 100%;
        display: flex;
        gap: 0.35rem;
        justify-content: space-between;
    }

    .mode-toggle-btn {
        flex: 1;
        text-align: center;
        justify-content: center;
        font-size: 0.76rem;
        padding: 0.45rem 0.3rem;
        white-space: nowrap;
    }

    #refreshMatchesBtn {
        font-size: 0.76rem;
        padding: 0.45rem 0.6rem;
    }

    /* Master Günlük / Haftalık Takvim Barı */
    .schedule-master-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
        margin-bottom: 0.8rem;
    }

    .master-tab-switch {
        width: 100%;
        display: flex;
    }

    .master-tab-btn {
        flex: 1;
        justify-content: center;
        padding: 0.5rem 0.4rem;
        gap: 0.4rem;
    }

    .master-sub-label {
        display: none !important;
    }

    #dailySubFilters, #weeklySubFilters {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 3px;
        overflow-x: auto;
        padding: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #dailySubFilters .mode-toggle-btn, #weeklySubFilters .mode-toggle-btn {
        flex: 1;
        text-align: center;
        font-size: 0.74rem;
        padding: 0.35rem 0.25rem;
        white-space: nowrap;
    }

    .custom-date-picker {
        font-size: 0.74rem;
        padding: 0.25rem 0.35rem;
        max-width: 110px;
    }

    /* Matchweek Navigator Bar */
    .matchweek-bar {
        padding: 0.5rem 0.65rem;
        gap: 0.4rem;
        justify-content: space-between;
    }

    .week-nav-btn {
        padding: 0.35rem 0.55rem;
        font-size: 0.75rem;
    }

    .week-nav-btn span {
        display: none;
    }

    .week-select {
        font-size: 0.8rem;
        padding: 0.35rem 0.55rem;
        max-width: 160px;
    }

    .week-date-badge {
        font-size: 0.72rem;
        padding: 0.25rem 0.5rem;
    }

    /* Bilyoner Tarzı Maç Kartları & Oran Izgarası */
    .bilyoner-match-card {
        padding: 0.65rem 0.7rem;
        border-radius: 10px;
        margin-bottom: 0.55rem;
    }

    .bmc-top-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.45rem !important;
        margin-bottom: 0.45rem !important;
        width: 100% !important;
    }

    .bmc-left {
        display: flex !important;
        align-items: center !important;
        gap: 0.4rem !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .bmc-teams {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        min-width: 0 !important;
    }

    .bmc-right {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }

    .bmc-odds-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.35rem !important;
    }

    .bilyoner-odd-box {
        min-height: 42px;
        padding: 0.35rem 0.15rem;
    }

    .bilyoner-odd-box .bob-val {
        font-size: 0.96rem;
    }

    .bilyoner-odd-box .bob-lbl {
        font-size: 0.65rem;
    }

    .bilyoner-group-header {
        font-size: 0.8rem;
        padding: 0.4rem 0.65rem;
    }

    .bgh-time {
        font-size: 0.74rem;
    }

    /* Puan Tablosu Mobilde Yatay Akış */
    .standings-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .standings-table th, .standings-table td {
        padding: 0.45rem 0.35rem;
        font-size: 0.75rem;
    }

    /* Maç Laboratuvarı Hero Kartı */
    .lab-match-hero-card {
        padding: 0.85rem 0.65rem;
    }

    .hero-match-row {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
        text-align: center;
    }

    .hero-team {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.35rem;
        width: 100%;
    }

    .hero-team.away {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-team-meta.right {
        align-items: center;
        text-align: center;
    }

    .hero-team-name {
        font-size: 1.05rem;
    }

    .hero-logo {
        width: 44px;
        height: 44px;
    }

    .hero-score-box {
        order: 2;
        margin: 0.25rem 0;
        padding: 0.45rem 1rem;
        min-width: 110px;
    }

    .hero-score-num {
        font-size: 1.6rem;
    }

    .hero-match-subbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    #labHeroStandingsSummary {
        flex-direction: column;
        gap: 0.35rem;
        align-items: stretch;
        text-align: center;
    }

    /* Genel Kart ve Laboratuvar Responsive Düzeni (Taşmaları %100 Önler) */
    .card {
        padding: 0.85rem 0.65rem !important;
        border-radius: 12px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.45rem !important;
        margin-bottom: 0.75rem !important;
    }

    .card-header h3 {
        font-size: 0.98rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }

    /* 2D Saha xG Haritası (2. Fotoğraftaki Kesilmeyi ve Taşmayı Önler) */
    .lab-pitch-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .pitch-legend {
        flex-wrap: wrap !important;
        gap: 0.35rem 0.75rem !important;
        font-size: 0.74rem !important;
    }

    .pitch-container {
        padding: 0.35rem !important;
        margin-bottom: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .soccer-pitch {
        width: 100% !important;
        max-width: 100% !important;
        height: 200px !important;
        box-sizing: border-box !important;
    }

    .xg-scoreboard {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.65rem 0.35rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        gap: 0.25rem !important;
    }

    .team-xg-box {
        flex: 1 !important;
        min-width: 0 !important;
        text-align: center !important;
        padding: 0 2px !important;
    }

    .team-xg-box .team-name {
        font-size: 0.82rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.2 !important;
    }

    .team-xg-box .xg-val {
        font-size: 1.45rem !important;
        margin: 2px 0 !important;
    }

    .team-xg-box .xg-label {
        font-size: 0.66rem !important;
    }

    .vs-divider {
        font-size: 0.92rem !important;
        font-weight: 800 !important;
        margin: 0 0.2rem !important;
        flex-shrink: 0 !important;
    }

    /* Momentum Grafiği Mobilde */
    .momentum-chart-wrap {
        padding: 0.35rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .momentum-chart-wrap canvas {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* AI Doğruluk Karnesi */
    .ai-accuracy-scorecard {
        flex-direction: column !important;
        padding: 0.75rem !important;
        gap: 0.75rem !important;
        box-sizing: border-box !important;
    }

    .scorecard-right {
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Kadrolar ve Dizilişler */
    .lineups-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }

    /* Tablo ve Yatay Kaydırmalar */
    .stats-table-wrap, .standings-table-wrap, .unified-bulletin-container, .table-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Kuponlar Bölümü */
    .coupons-master-switch-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .coupons-master-switch-bar .master-tab-switch {
        width: 100%;
        display: flex;
    }

    .coupon-toolbar-filters {
        width: 100%;
        justify-content: space-between;
    }

    .coupon-filter-action-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .coupon-status-filter-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        gap: 0.35rem;
        padding-bottom: 0.2rem;
    }

    .coupon-filter-btn {
        font-size: 0.74rem;
        padding: 0.35rem 0.55rem;
        flex-shrink: 0;
    }

    .coupons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Sanal Kasa İstatistik Kartı */
    .vb-bankroll-card > div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .vb-bankroll-card strong {
        font-size: 1.3rem !important;
    }

    /* Tek Karar AI Kartı */
    .master-verdict-card {
        padding: 1rem 0.75rem !important;
    }

    .master-verdict-card > div:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    #masterPickTitle {
        font-size: 1.55rem !important;
    }

    /* Modallar */
    .modal-card {
        width: 96% !important;
        max-height: 94vh !important;
        padding: 1rem 0.75rem !important;
        border-radius: 12px !important;
    }

    /* Floating Bet Slip Butonu */
    .floating-betslip-btn {
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        right: 1rem;
        z-index: 9999;
        padding: 0.65rem 1.1rem;
        font-size: 0.85rem;
    }
}

/* 4. Ekstra Küçük Ekranlar (<= 420px) */
@media (max-width: 420px) {
    .brand-title {
        font-size: 0.82rem;
    }

    .nav-tab {
        padding: 0.2rem 0.5rem;
        font-size: 0.74rem;
    }

    .bilyoner-odd-box .bob-val {
        font-size: 0.88rem;
    }
}




