/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
   :root {
    /* Color Palette - Light Glass Theme */
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    
    --primary: #7B2CBF;
    --primary-hover: #5A189A;
    --secondary: #e2e8f0;
    --secondary-hover: #cbd5e1;
    
    --accent-glow: rgba(123, 44, 191, 0.2);
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Text Colors */
    --text-primary: #0f1115;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    
    /* Typography */
    --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    
    /* Metrics */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-ui);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.legal-page {
    width: min(760px, calc(100% - 32px));
    margin: 64px auto;
    padding: 32px;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.legal-page h1 { margin: 24px 0 16px; }
.legal-page p { margin: 12px 0; color: var(--text-secondary); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

:focus-visible {
    outline: 3px solid var(--info);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-info { color: var(--info); }

/* ==========================================================================
   Components
   ========================================================================== */

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary { background: rgba(92, 56, 255, 0.15); color: #a78bfa; border: 1px solid rgba(92, 56, 255, 0.3); }
.badge-warning { background: #facc15; color: #1c1917; border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.3); font-weight: 700; }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-success { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-secondary { background: var(--secondary); color: var(--text-secondary); }
.badge-info { background: #7B2CBF; color: #ffffff; border: none; font-weight: 700; box-shadow: 0 2px 8px rgba(123, 44, 191, 0.4); letter-spacing: 0.8px; }
.badge-live {
    background: var(--danger, #ef4444);
    color: #ffffff;
    border: none;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.badge-live::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    animation: pulse 2s infinite;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-ui);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 56, 255, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--secondary);
}

/* Form Elements */
.modern-select {
    appearance: none;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 10px 40px 10px 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-weight: 500;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}
.modern-select:focus { outline: none; border-color: var(--primary); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.brand-logo i {
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

.nav-search {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    width: 260px;
    transition: var(--transition);
}

.nav-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(92, 56, 255, 0.2);
}

.nav-search i {
    color: var(--text-muted);
    margin-right: 8px;
}

.nav-search input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 100%;
    font-family: var(--font-ui);
}

.nav-search input:focus { outline: none; }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==========================================================================
   Layout & Views
   ========================================================================== */
.app-container {
    padding-top: 70px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.view {
    display: none;
    padding: 40px 24px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    animation: fadeIn 0.4s ease;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.section-header h2 {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Home / Hero */
.hero {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-content .badge { margin-bottom: 24px; }
.hero-content h1 { font-size: 4rem; margin-bottom: 20px; line-height: 1.1; }
.hero-content p { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 32px; }

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero-image-container img {
    max-width: 100%;
    height: auto;
    width: 500px;
    filter: drop-shadow(0 20px 40px rgba(123, 44, 191, 0.3));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Stats Overview */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    z-index: 2;
    position: relative;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: var(--bg-surface-elevated);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-info h3 { font-size: 2rem; margin-bottom: 4px; }
.stat-info p { color: var(--text-secondary); font-size: 0.95rem; }

/* Grid & Cards */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Grouped Events */
.event-group { margin-bottom: 40px; }
.event-group-title { margin-bottom: 16px; color: var(--text-secondary); font-size: 1.25rem; }

.card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

.card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.card:hover .card-thumb img {
    transform: scale(1.05);
}

.card-status {
    position: absolute;
    top: 12px;
    left: 12px;
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.card-footer {
    margin-top: auto;
}

.card-footer .btn {
    width: 100%;
}

/* Player View */
.player-view { padding-top: 20px; }
.back-btn { margin-bottom: 20px; }

/* Player View Controls Row */
.player-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.player-layout-actions {
    display: flex;
    gap: 10px;
}

.player-controls-row .back-btn {
    margin-bottom: 0;
}

/* Theater Mode Styles */
.player-view.theater-mode {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

/* Chat Hidden Layout Styles */
.player-layout.chat-hidden {
    grid-template-columns: 1fr;
}

.player-layout.chat-hidden .player-sidebar {
    display: none;
}

.player-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.player-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.stream-countdown {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 24px;
    background: radial-gradient(circle at 50% 40%, rgba(123, 44, 191, 0.25), rgba(0, 0, 0, 0.95));
    color: #fff;
    z-index: 5;
}

.stream-countdown .countdown-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--danger);
}

.stream-countdown .countdown-badge .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--danger);
    box-shadow: 0 0 8px var(--danger);
    animation: pulseDot 1.4s infinite;
}

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

.stream-countdown .countdown-title {
    font-size: 1.05rem;
    font-weight: 600;
    max-width: 520px;
}

.stream-countdown .countdown-timer {
    font-size: clamp(2.2rem, 7vw, 3.8rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    line-height: 1;
}

.stream-countdown .countdown-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 460px;
}

.player-info {
    padding: 24px;
}

.stream-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

#playerTitle {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.stream-sources h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.sources-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.source-btn {
    padding: 8px 16px;
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.source-btn:hover { background: var(--secondary-hover); }
.source-btn.active {
    background: var(--danger);
    border-color: var(--danger);
    color: #ffffff;
}

/* Mock Chat Sidebar */
.player-sidebar {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 { font-size: 1.1rem; }
.viewer-count { color: var(--danger); font-size: 0.9rem; font-weight: 600; }

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.chat-empty {
    text-align: center;
    color: var(--text-muted);
    margin-top: 40px;
    font-size: 0.9rem;
}

.chat-message {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}
.chat-input-container {
    padding: 16px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 8px;
}
.chat-input-container input {
    flex: 1;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--bg-base);
    color: var(--text-primary);
    outline: none;
    font-family: inherit;
}
.chat-input-container button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    width: 42px;
    cursor: pointer;
    transition: var(--transition);
}
.chat-input-container button:hover {
    background: var(--primary-hover);
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-base);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.loader-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--secondary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

/* Empty States */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--glass-border);
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Animations */
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .player-layout { grid-template-columns: 1fr; }
    /* Let the sidebar grow with its content so the embedded ad doesn't
       squeeze the chat. Give the message list an explicit, scrollable height
       instead of flex:1 (which collapses to ~1 line next to the ad). */
    .player-sidebar { height: auto; }
    .chat-messages { flex: none; height: 50vh; min-height: 300px; }
    .stats-overview { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 3rem; }
    #theaterBtn { display: none; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--glass-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--glass-border);
        padding: 20px 24px;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }
    .nav-search { display: none; }
    .mobile-menu-btn { display: block; }
    .stats-overview { grid-template-columns: 1fr; }
    .hero { text-align: center; justify-content: center; padding: 40px 0; }
    .hero-image-container { display: none; }
    .hero-actions { justify-content: center; }
    .player-controls-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .player-layout-actions { width: 100%; }
    .player-layout-actions .btn { flex: 1; }
}

/* Footer */
.site-footer {
    margin-top: 60px;
    padding: 30px 20px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.disclaimer-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.05);
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

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

/* ==========================================================================
   Advertisement Styles
   ========================================================================= */
.ad-leaderboard-wrapper {
    margin-top: 24px;
    width: 100%;
}

.ad-sidebar-wrapper {
    padding: 16px;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
}

.ad-banner-card {
    position: relative;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 8px 8px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.ad-banner-card:hover {
    border-color: rgba(250, 204, 21, 0.3);
}

.ad-label {
    position: absolute;
    top: 2px;
    left: 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.ad-close-btn {
    position: absolute;
    top: 2px;
    right: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-close-btn:hover {
    color: var(--danger);
}

.ad-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
}

.ad-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
    transition: var(--transition);
}

.ad-content img:hover {
    filter: brightness(1.05);
}

/* Pre-roll Ad Player & Overlay */
.ad-preroll-player {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.ad-preroll-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-preroll-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 25%, transparent 75%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    box-sizing: border-box;
}

.ad-preroll-overlay > * {
    pointer-events: auto;
}

.ad-badge {
    align-self: flex-start;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.05em;
}

.ad-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.ad-skip-btn {
    background: var(--primary);
    color: #000;
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.2);
}

.ad-skip-btn:disabled {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    box-shadow: none;
    backdrop-filter: blur(4px);
}

.ad-skip-btn:not(:disabled):hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.ad-mute-btn {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.ad-mute-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Sources Overlay & Metadata Bar Styles
   ========================================================================== */

/* Metadata Bar */
.player-metadata-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 8px;
}

.meta-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-info #playerTitle {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
}

.meta-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.viewer-count-sub {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
}

.viewer-count-sub i {
    color: var(--danger);
}

.meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 4K Badge Pill */
.badge-4k-pill {
    background: var(--danger); /* bright red */
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    vertical-align: middle;
    letter-spacing: 0.5px;
    display: inline-block;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsiveness for metadata bar */
@media (max-width: 768px) {
    .player-metadata-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .meta-right {
        width: 100%;
        justify-content: space-between;
    }
    .meta-right button {
        flex: 1;
    }
}

/* Chat Header Change Username Button */
.btn-change-username {
    background: transparent;
    border: 1px dashed var(--glass-border);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-family: var(--font-ui);
    font-weight: 500;
}

.btn-change-username:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(123, 44, 191, 0.05);
}

.btn-change-username i {
    opacity: 0.8;
}

/* Chat Header Inline Username Input */
.input-change-username {
    background: var(--bg-base);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    outline: none;
    font-family: var(--font-ui);
    width: 120px;
    transition: var(--transition);
}

.input-change-username:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

/* ==========================================================================
   World Cup Hub
   ========================================================================== */
.wc-tab-btn {
    border: 1px solid var(--glass-border) !important;
    background: transparent !important;
    color: var(--text-secondary) !important;
}

.wc-tab-btn.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.wc-tab-btn:hover:not(.active) {
    background: rgba(123, 44, 191, 0.05) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.wc-filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.wc-filter-btn.active {
    background: var(--bg-surface-elevated);
    border-color: var(--text-muted);
    color: var(--text-primary);
    font-weight: 600;
}

.wc-filter-btn:hover:not(.active) {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.wc-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    transition: var(--transition);
}

.wc-match-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.wc-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    border-color: rgba(123, 44, 191, 0.15);
    background: rgba(255, 255, 255, 0.7);
}

.wc-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding-bottom: 8px;
}

.wc-match-teams {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.wc-team-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-primary);
}

.wc-team-flag {
    display: inline-block;
    width: 26px;
    height: 19px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    vertical-align: middle;
    font-size: 1.35rem;
    line-height: 1;
}
/* Görsel yüklenemezse emoji yedeğine düşer — kutu/gölge olmadan */
.wc-team-flag.flag-img-fallback {
    width: auto;
    height: auto;
    box-shadow: none;
    border-radius: 0;
}

.wc-team-name {
    font-size: 0.95rem;
}

.wc-team-score {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    width: 24px;
    text-align: right;
}

.wc-match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    border-top: 1px dashed rgba(0, 0, 0, 0.04);
    padding-top: 10px;
}

.wc-match-status {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-completed {
    color: var(--text-muted);
}

.status-upcoming {
    color: var(--warning);
}

.wc-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.wc-watch-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.03);
}

/* Scrollbar hiding for filter container */
.wc-group-filters::-webkit-scrollbar {
    display: none;
}

/* Standings Table Styles */
.wc-standings-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 20px !important;
    padding-bottom: 12px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Slim scrollbar styling for standings grid */
.wc-standings-grid::-webkit-scrollbar {
    height: 6px;
}

.wc-standings-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-pill);
}

.wc-standings-grid::-webkit-scrollbar-thumb {
    background: rgba(123, 44, 191, 0.25);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.wc-standings-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(123, 44, 191, 0.45);
}

.wc-standings-grid .wc-standings-card {
    min-width: 290px !important;
    flex: 0 0 290px !important;
    scroll-snap-align: start !important;
}

.wc-standings-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition);
}

.wc-standings-card:hover {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(123, 44, 191, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.wc-standings-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 6px;
    font-family: var(--font-heading);
}

.wc-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.wc-standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
}

.wc-standings-table th {
    color: var(--text-muted);
    font-weight: 600;
    padding: 6px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.wc-standings-table td {
    padding: 8px 4px;
    vertical-align: middle;
}

.wc-standings-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.wc-standings-table tbody tr:last-child {
    border-bottom: none;
}

.wc-standings-table tbody tr:hover {
    background: rgba(123, 44, 191, 0.02);
}

/* Specific Column Widths & Alignments */
.wc-col-rank {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
}

.wc-col-team {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.wc-col-team .wc-team-flag {
    width: 20px;
    height: 15px;
    font-size: 1.1rem;
    line-height: 1;
}

.wc-col-team .wc-team-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}

.wc-col-stat {
    text-align: center;
    color: var(--text-secondary);
    width: 25px;
}

.wc-col-pts {
    text-align: center;
    font-weight: 700;
    color: var(--text-primary);
    width: 30px;
}

/* Green Highlight for Top 2 Teams in each group */
.wc-rank-qualify {
    background: rgba(16, 185, 129, 0.03);
}

.wc-rank-qualify .wc-col-rank {
    color: var(--success);
}

/* Single Table Container (for filtered group view) */
.wc-single-table-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.wc-single-table-container .wc-standings-card {
    padding: 20px;
}

.wc-single-table-container .wc-standings-header {
    font-size: 1rem;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.wc-single-table-container .wc-standings-table {
    font-size: 0.9rem;
}

.wc-single-table-container .wc-standings-table th, 
.wc-single-table-container .wc-standings-table td {
    padding: 10px 8px;
}

.wc-single-table-container .wc-col-team .wc-team-name {
    max-width: 220px;
}



/* === A2: Heart favourite button === */
.card-thumb { position: relative; }
.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
  z-index: 3;
}
.fav-btn:hover { transform: scale(1.12); background: rgba(0, 0, 0, 0.75); }
.fav-btn.is-fav { color: var(--danger, #ef4444); }

.fav-subhead { margin: 24px 0 12px; font-size: 1.1rem; }
.fav-empty { text-align: center; padding: 48px 16px; color: var(--text-muted, #94a3b8); }
.fav-empty i { font-size: 2.5rem; margin-bottom: 12px; display: block; }

.reminder-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15, 17, 21, 0.45);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: rmFade 0.2s ease;
}
@keyframes rmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rmPop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.reminder-box {
  position: relative;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 22px;
  width: min(380px, 92vw);
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; text-align: center;
  box-shadow: 0 24px 60px rgba(15, 17, 21, 0.25);
  animation: rmPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.reminder-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: var(--bg-surface-elevated);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.reminder-close:hover { background: var(--secondary); color: var(--text-primary); }

.reminder-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-glow); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

.reminder-box .reminder-title {
  margin: 0; font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary); line-height: 1.3;
}

.reminder-date {
  margin: 0; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 600; color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  padding: 6px 12px; border-radius: var(--radius-pill);
}

.reminder-actions {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; margin-top: 4px;
}
.reminder-actions .btn { width: 100%; justify-content: center; }

.reminder-note {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 0.78rem; margin-top: 2px;
}
.btn-text { background: none; border: none; color: var(--text-muted, #94a3b8); cursor: pointer; }

/* ==========================================================================
   Redesign additions: tip banner, match carousel, recommended matches,
   chat bubble + player control polish
   ========================================================================== */

/* Calm tip banner (replaces the shouty red DNS alert) */
.tip-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.tip-banner i {
  color: var(--primary);
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.tip-banner-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.tip-banner-body strong { color: var(--text-primary); font-weight: 600; }
.tip-divider { margin: 0 8px; color: var(--glass-border); }

@media (max-width: 640px) {
  .tip-divider { display: block; margin: 6px 0 0; }
}

/* Upcoming Matches carousel */
.match-carousel-section { margin-bottom: 40px; }

.match-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-track-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 5vw, 56px);
  padding: 28px clamp(16px, 6vw, 64px);
  background:
    linear-gradient(135deg, rgba(123, 44, 191, 0.9), rgba(59, 130, 246, 0.85)),
    var(--bg-surface);
  color: #fff;
  min-height: 200px;
}

.carousel-slide .cs-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 96px;
}
.carousel-slide .cs-flag {
  display: inline-block;
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.25);
  font-size: 2.75rem;
  line-height: 1;
}
/* Görsel yüklenemezse emoji yedeğine düşer — kutu/gölge olmadan */
.carousel-slide .cs-flag.flag-img-fallback {
  width: auto;
  height: auto;
  box-shadow: none;
  border-radius: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}
.carousel-slide .cs-team-name {
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.carousel-slide .cs-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.carousel-slide .cs-vs {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  opacity: 0.85;
}
.carousel-slide .cs-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  white-space: nowrap;
}
.carousel-slide .cs-cta {
  background: #fff;
  color: var(--primary);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.carousel-slide .cs-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.carousel-slide .cs-cta.is-live {
  background: var(--danger);
  color: #fff;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.carousel-arrow:disabled { opacity: 0.35; cursor: default; pointer-events: none; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glass-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.carousel-dot.active { background: var(--primary); width: 22px; border-radius: var(--radius-pill); }

@media (max-width: 640px) {
  .carousel-arrow { display: none; }
  .carousel-slide { gap: 10px; padding: 22px 10px; }
  .carousel-slide .cs-team {
    min-width: 0;
    flex: 1 1 0;
    gap: 6px;
  }
  .carousel-slide .cs-flag { width: 42px; height: 30px; font-size: 2rem; }
  .carousel-slide .cs-team-name {
    font-size: 0.78rem;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .carousel-slide .cs-center { flex: 0 0 auto; gap: 6px; }
  .carousel-slide .cs-vs { font-size: 1.1rem; }
  .carousel-slide .cs-meta { font-size: 0.72rem; white-space: normal; text-align: center; }
  .carousel-slide .cs-cta { padding: 8px 14px; font-size: 0.78rem; }
}

/* Recommended Matches strip (player page) */
.recommended-section h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.recommended-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.recommended-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  font-family: inherit;
}
.recommended-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.recommended-card .rc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.recommended-card .rc-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Chat message bubbles */
.chat-message {
  margin-bottom: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
}
.chat-pinned-notice {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Player action button toggled ("pressed") states */
.player-view.theater-mode #theaterBtn,
.player-layout.chat-hidden #toggleChatBtn {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========================================================================== */
/* Modern Sports Center theme                                                 */
/* ========================================================================== */
.sports-center-theme {
    --sports-content-width: 1360px;
    --bg-base: #eef1f5;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f4f6f8;
    --primary: #d71920;
    --primary-hover: #b51218;
    --danger: #d71920;
    --info: #153252;
    --warning: #f4b400;
    --text-primary: #101820;
    --text-secondary: #4b5967;
    --text-muted: #6e7b87;
    --glass-bg: #ffffff;
    --glass-border: #dfe4e9;
    --accent-glow: rgba(215, 25, 32, 0.12);
    background: #eef1f5;
}

.sports-topbar {
    height: 34px;
    color: #cbd4dd;
    background: #0b1724;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sports-topbar-inner {
    width: min(var(--sports-content-width), calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-spacer { flex: 1; }
.topbar-live { color: #fff; }
.topbar-live i { color: #ef3340; font-size: .5rem; margin-right: 6px; animation: pulse 1.8s infinite; }

.sports-center-theme .navbar {
    top: 0;
    height: 72px;
    background: #fff;
    border-bottom: 3px solid #d71920;
    box-shadow: 0 3px 12px rgba(11, 23, 36, .09);
}

.sports-center-theme .nav-container {
    width: min(var(--sports-content-width), calc(100% - 48px));
    height: 100%;
}

.sports-center-theme .brand-logo {
    min-width: 190px;
    color: #101820;
    font-style: italic;
    letter-spacing: -.04em;
}

.sports-center-theme .brand-logo img { height: 42px !important; }
.sports-center-theme .brand-logo small {
    margin-left: 5px;
    padding: 3px 5px;
    color: #fff;
    background: #d71920;
    border-radius: 2px;
    font: 800 .54rem/1 var(--font-ui);
    letter-spacing: .08em;
}

.sports-center-theme .nav-links { align-self: stretch; gap: 0; }
.sports-center-theme .nav-link {
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    font-size: .83rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.sports-center-theme .nav-link:hover { background: #f4f6f8; color: #d71920; }
.sports-center-theme .nav-link.active { background: transparent; color: #d71920; border-bottom-color: #d71920; }

.sports-center-theme .nav-search {
    width: 260px;
    border: 1px solid #d8dee5;
    background: #f4f6f8;
    border-radius: 4px;
}

.sports-center-theme .app-container {
    width: min(var(--sports-content-width), calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
    padding-top: 28px;
}

.sports-command-header {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 190px;
    margin-bottom: 18px;
    padding: 34px 42px;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(8,24,40,.98) 0%, rgba(14,42,68,.95) 56%, rgba(215,25,32,.8) 130%),
        url('/assets/img/world_cup_hero.png') center 42%/cover;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(11,23,36,.2);
}

.sports-command-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, transparent 0 48px, rgba(255,255,255,.025) 49px 50px);
    pointer-events: none;
}

.sports-command-header > * { position: relative; z-index: 1; }
.sports-eyebrow, .section-kicker {
    display: block;
    margin-bottom: 8px;
    color: #ef3340;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.sports-command-header h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.04em; }
.sports-command-header p { max-width: 660px; margin-top: 10px; color: #cbd4dd; }

.sports-date-card {
    min-width: 205px;
    padding: 20px 24px;
    background: rgba(4,13,22,.72);
    border-left: 4px solid #ef3340;
    backdrop-filter: blur(10px);
}
.sports-date-card span, .sports-date-card small { display: block; color: #9eacb9; font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; }
.sports-date-card strong { display: block; margin: 5px 0; color: #fff; font: 800 1.1rem var(--font-heading); }

.sports-center-theme .tip-banner {
    border: 1px solid #d9e0e6;
    border-left: 4px solid #153252;
    border-radius: 3px;
    background: #fff;
    color: #4b5967;
    box-shadow: none;
}
.sports-center-theme .tip-banner > i { color: #153252; }

.sports-center-theme .section-header {
    min-height: 58px;
    margin-bottom: 16px;
    padding: 0 0 10px;
    border-bottom: 2px solid #101820;
}
.sports-center-theme .section-header h2 { font-size: 1.55rem; letter-spacing: -.025em; }
.section-meta { color: #6e7b87; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.sports-center-theme .match-carousel-section,
.sports-center-theme .world-cup-hub { margin-top: 30px !important; }

.sports-center-theme .wc-hub-card {
    padding: 0 !important;
    border: 1px solid #d7dee5 !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(11,23,36,.06) !important;
    backdrop-filter: none !important;
}
.sports-center-theme .wc-tab-header {
    margin: 0 !important;
    padding: 0 18px !important;
    background: #101f2e;
    border: 0 !important;
}
.sports-center-theme .wc-tab-btn {
    min-height: 54px;
    padding: 0 18px !important;
    color: #cbd4dd;
    background: transparent;
    border: 0;
    border-bottom: 4px solid transparent;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.sports-center-theme .wc-tab-btn.active { color: #fff; background: transparent; border-bottom-color: #ef3340; }
.sports-center-theme .wc-filters-container { margin: 0 !important; padding: 16px 20px 8px; }
.sports-center-theme .wc-matches-grid { padding: 12px 20px 22px; }
.sports-center-theme .wc-filter-btn { border-radius: 2px; }
.sports-center-theme .wc-filter-btn.active { background: #153252; border-color: #153252; }

.sports-center-theme .wc-match-card,
.sports-center-theme .card,
.sports-center-theme .stat-card,
.sports-center-theme .wc-standings-card {
    border-radius: 4px;
    border: 1px solid #dbe1e7;
    box-shadow: 0 3px 10px rgba(11,23,36,.05);
}
.sports-center-theme .wc-match-card { border-top: 3px solid #153252; }
.sports-center-theme .wc-match-card:hover,
.sports-center-theme .card:hover { transform: translateY(-3px); border-color: #9ba8b5; box-shadow: 0 10px 22px rgba(11,23,36,.12); }
.sports-center-theme .wc-match-header { background: #f2f4f6; border-bottom: 1px solid #e0e5ea; }
.sports-center-theme .wc-match-status { font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }

.sports-center-theme .stats-overview { gap: 14px; }
.sports-center-theme .stat-card {
    background: #101f2e;
    border-color: #101f2e;
    color: #fff;
}
.sports-center-theme .stat-card h3,
.sports-center-theme .stat-card p { color: #fff; }
.sports-center-theme .stat-icon { background: #d71920; color: #fff; border-radius: 3px; }

.sports-center-theme .grid-layout { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); }
.sports-center-theme .card { overflow: hidden; background: #fff; }
.sports-center-theme .card-thumb { border-radius: 0; }
.sports-center-theme .card-body { padding: 16px; }
.sports-center-theme .card-title { min-height: 2.5em; font-size: 1.05rem; }
.sports-center-theme .badge { border-radius: 2px; }
.sports-center-theme .btn { border-radius: 3px; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; }
.sports-center-theme .modern-select { border-radius: 3px; background: #fff; }

.sports-center-theme .player-controls-row { padding: 10px 0; border-bottom: 2px solid #101820; }
.sports-center-theme .player-layout { gap: 18px; }
.sports-center-theme .player-wrapper,
.sports-center-theme .player-sidebar { border-radius: 4px; box-shadow: 0 8px 24px rgba(11,23,36,.12); }
.sports-center-theme .player-metadata-bar { border-top: 4px solid #d71920; }
.sports-center-theme .chat-header { background: #101f2e; }
.sports-center-theme .chat-header h3 { color: #fff; }

.sports-center-theme .site-footer { margin-top: 50px; background: #0b1724; color: #b6c0ca; border-top: 4px solid #d71920; }
.sports-center-theme .footer-container {
    width: min(var(--sports-content-width), calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}
.sports-center-theme .site-footer p { color: #b6c0ca; }

@media (max-width: 900px) {
    .sports-topbar-inner span:not(.topbar-live):not(.topbar-spacer):last-child { display: none; }
    .sports-center-theme .nav-search { width: 210px; }
    .sports-command-header { min-height: 165px; padding: 28px; }
    .sports-date-card { display: none; }
}

@media (max-width: 768px) {
    .sports-topbar { height: 30px; }
    .sports-topbar-inner { width: calc(100% - 24px); gap: 16px; overflow: hidden; }
    .sports-topbar-inner span:nth-child(3), .sports-topbar-inner span:nth-child(4) { display: none; }
    .sports-center-theme .navbar { height: 62px; }
    .sports-center-theme .nav-container,
    .sports-center-theme .app-container { width: calc(100% - 24px); }
    .sports-center-theme .brand-logo { min-width: 0; font-size: 1.2rem; }
    .sports-center-theme .brand-logo img { height: 34px !important; }
    .sports-center-theme .brand-logo small { display: none; }
    .sports-center-theme .nav-links {
        top: 62px;
        border-radius: 0 0 4px 4px;
        border-top: 0;
        box-shadow: 0 14px 28px rgba(11,23,36,.18);
    }
    .sports-center-theme .nav-link { min-height: 50px; border-bottom: 1px solid #edf0f3; }
    .sports-center-theme .nav-link.active { border-left: 4px solid #d71920; border-bottom-color: #edf0f3; }
    .sports-center-theme .app-container { padding-top: 18px; }
    .sports-command-header { min-height: 178px; padding: 24px 20px; border-radius: 4px; }
    .sports-command-header h2 { font-size: 2rem; }
    .sports-command-header p { font-size: .88rem; }
    .sports-center-theme .tip-banner { align-items: flex-start; font-size: .78rem; }
    .sports-center-theme .section-header { align-items: flex-end; }
    .section-meta { display: none; }
    .sports-center-theme .wc-tab-header { padding: 0 8px !important; overflow-x: auto; }
    .sports-center-theme .wc-tab-btn { flex: 0 0 auto; min-height: 48px; padding: 0 12px !important; font-size: .72rem; }
    .sports-center-theme .wc-filters-container { padding: 14px 14px 6px; }
    .sports-center-theme .wc-matches-grid { padding: 10px 14px 16px; }
    .sports-center-theme .grid-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sports-center-theme .card-body { padding: 12px; }
    .sports-center-theme .card-title { font-size: .88rem; }
}

@media (max-width: 430px) {
    .sports-center-theme .nav-search { display: none; }
    .sports-center-theme .grid-layout { grid-template-columns: 1fr; }
    .sports-center-theme .stats-overview { grid-template-columns: 1fr 1fr; }
    .sports-center-theme .stat-card { padding: 14px; }
    .sports-center-theme .stat-icon { width: 38px; height: 38px; }
}

/* Upcoming Matches — broadcast scoreboard treatment */
.sports-center-theme .match-carousel-section {
    position: relative;
    margin-top: 52px !important;
    margin-bottom: 52px;
}
.sports-center-theme .upcoming-header {
    min-height: 88px;
    margin: 0;
    padding: 0 22px;
    color: #fff;
    background: #090e14;
    border: 0;
}
.upcoming-title-lockup { display: flex; align-items: center; gap: 16px; }
.upcoming-emblem {
    display: grid;
    width: 46px;
    height: 52px;
    place-items: center;
    color: #fff;
    background: #e0001b;
    clip-path: polygon(11% 0,100% 0,89% 100%,0 100%);
}
.sports-center-theme .upcoming-header .section-kicker { margin-bottom: 3px; color: #8e9aa6; font-size: .59rem; }
.sports-center-theme .upcoming-header h2 { color: #fff; font-size: 1.7rem; font-style: italic; letter-spacing: -.055em; }
.sports-center-theme .upcoming-header h2 b { color: #ff1732; }
.upcoming-header-meta { color: #8e9aa6; font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.upcoming-header-meta i { margin-right: 7px; color: #ff1732; }

.sports-center-theme .match-carousel {
    gap: 0;
    padding: 0 58px;
    background: #111923;
    border-top: 1px solid #29333d;
    box-shadow: 0 16px 38px rgba(8,15,23,.16);
}
.sports-center-theme .carousel-track-wrapper {
    border-radius: 0;
    border-right: 1px solid #2c3540;
    border-left: 1px solid #2c3540;
}
.sports-center-theme .carousel-slide {
    position: relative;
    min-height: 265px;
    padding: 58px clamp(36px, 7vw, 100px) 34px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7,13,20,.98), rgba(17,29,41,.94) 48%, rgba(7,13,20,.98)),
        repeating-linear-gradient(120deg, transparent 0 54px, rgba(255,255,255,.025) 55px 56px);
    gap: clamp(30px, 8vw, 120px);
}
.sports-center-theme .carousel-slide::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #e0001b 0 18%, #47535f 18% 100%);
}
.cs-scorebug {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 20px;
    color: #a7b1bb;
    background: #0a1017;
    border-bottom: 1px solid #29323b;
    font-size: .62rem;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.cs-scorebug span { color: #ff3048; font-weight: 900; }
.cs-scorebug span i { margin-right: 6px; font-size: .46rem; }
.cs-scorebug strong { color: #a7b1bb; font-weight: 750; }
.sports-center-theme .carousel-slide .cs-team {
    flex: 1 1 0;
    min-width: 140px;
    gap: 13px;
}
.sports-center-theme .carousel-slide .cs-flag {
    width: 82px;
    height: 55px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 2px;
    box-shadow: 0 9px 24px rgba(0,0,0,.36);
}
.sports-center-theme .carousel-slide .cs-team-name {
    color: #fff;
    font: 850 1.3rem/1.1 var(--font-heading);
    letter-spacing: -.02em;
    text-transform: uppercase;
}
.sports-center-theme .carousel-slide .cs-center { min-width: 190px; gap: 12px; }
.sports-center-theme .carousel-slide .cs-vs {
    display: flex;
    flex-direction: column;
    color: #fff;
    font-size: 1.7rem;
    line-height: .9;
}
.sports-center-theme .carousel-slide .cs-vs small {
    margin-bottom: 6px;
    color: #788592;
    font: 800 .5rem/1 var(--font-ui);
    letter-spacing: .15em;
    text-transform: uppercase;
}
.sports-center-theme .carousel-slide .cs-meta {
    color: #b8c2cc;
    font-size: .76rem;
    letter-spacing: .045em;
    text-transform: uppercase;
}
.sports-center-theme .carousel-slide .cs-cta {
    min-width: 155px;
    padding: 11px 17px;
    color: #fff;
    background: #e0001b;
    border: 1px solid #e0001b;
    border-radius: 2px;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.sports-center-theme .carousel-slide .cs-cta:hover { background: #ff1732; border-color: #ff1732; }
.sports-center-theme .carousel-slide .cs-cta.is-live { background: #e0001b; }
.sports-center-theme .carousel-slide .cs-cta i { margin-right: 7px; }
.sports-center-theme .carousel-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 42px;
    height: 58px;
    margin-top: -29px;
    color: #fff;
    background: #202a34;
    border: 1px solid #39434d;
    border-radius: 0;
}
.sports-center-theme #carouselPrev { left: 8px; }
.sports-center-theme #carouselNext { right: 8px; }
.sports-center-theme .carousel-arrow:hover { background: #e0001b; border-color: #e0001b; }
.sports-center-theme .carousel-dots { margin-top: 14px; }
.sports-center-theme .carousel-dot { width: 18px; height: 3px; background: #aab3bc; border-radius: 0; }
.sports-center-theme .carousel-dot.active { width: 36px; height: 3px; background: #e0001b; border-radius: 0; }

@media (max-width: 768px) {
    .sports-center-theme .match-carousel-section { margin-top: 38px !important; }
    .sports-center-theme .upcoming-header { min-height: 76px; padding: 0 14px; }
    .upcoming-emblem { width: 39px; height: 44px; }
    .sports-center-theme .upcoming-header h2 { font-size: 1.3rem; }
    .upcoming-header-meta { display: none; }
    .sports-center-theme .match-carousel { padding: 0; }
    .sports-center-theme .carousel-slide { min-height: 255px; padding: 58px 14px 24px; gap: 10px; }
    .sports-center-theme .carousel-slide .cs-team { min-width: 0; }
    .sports-center-theme .carousel-slide .cs-flag { width: 54px; height: 36px; }
    .sports-center-theme .carousel-slide .cs-team-name { font-size: .8rem; }
    .sports-center-theme .carousel-slide .cs-center { min-width: 125px; }
    .sports-center-theme .carousel-slide .cs-cta { min-width: 120px; padding: 9px 10px; font-size: .59rem; }
    .sports-center-theme .carousel-slide .cs-meta { font-size: .61rem; white-space: normal; }
    .cs-scorebug { padding: 0 12px; }
}

/* ========================================================================== */
/* Broadcast identity v2 — custom sports network masthead and match center    */
/* ========================================================================== */
.sports-center-theme .sports-topbar {
    height: 30px;
    background: #c90018;
    color: rgba(255,255,255,.82);
    border: 0;
}
.sports-center-theme .sports-topbar-inner { font-size: .65rem; }
.sports-center-theme .topbar-live { color: #fff; }
.sports-center-theme .topbar-live i { color: #fff; }

.sports-center-theme .navbar {
    height: 78px;
    background: #090e14;
    border: 0;
    box-shadow: 0 8px 30px rgba(4,8,12,.26);
}
.sports-center-theme .brand-logo {
    display: flex;
    align-items: center;
    min-width: 275px;
    color: #fff;
    font-style: normal;
}
.brand-mark {
    position: relative;
    display: grid;
    width: 44px;
    height: 34px;
    place-items: center;
    margin-right: 12px;
    overflow: hidden;
    color: #fff;
    background: #e0001b;
    transform: skew(-12deg);
    font: 950 1rem/1 var(--font-heading);
    letter-spacing: -.1em;
}
.brand-mark::after {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    top: 15px;
    height: 3px;
    background: #090e14;
}
.brand-wordmark {
    color: #fff;
    transform: skew(-8deg);
    font: 900 1.55rem/.9 var(--font-heading);
    letter-spacing: -.075em;
}
.brand-wordmark span { color: #e0001b; }
.sports-center-theme .brand-logo small {
    margin: 2px 0 0 11px;
    padding-left: 11px;
    color: #8f9aa6;
    background: none;
    border-left: 1px solid #343c44;
    border-radius: 0;
    font-size: .52rem;
    line-height: 1.35;
    letter-spacing: .12em;
}
.sports-center-theme .nav-links { margin-right: auto; }
.sports-center-theme .nav-link {
    color: #aeb7c0;
    border: 0;
    border-top: 3px solid transparent;
    font-size: .75rem;
}
.sports-center-theme .nav-link:hover { color: #fff; background: #151c24; }
.sports-center-theme .nav-link.active {
    color: #fff;
    background: #151c24;
    border-top-color: #e0001b;
    border-bottom: 0;
}
.sports-center-theme .nav-search {
    width: 235px;
    color: #fff;
    background: #171e26;
    border-color: #2c353e;
    border-radius: 2px;
}
.sports-center-theme .nav-search input { color: #fff; }

.sports-center-theme .app-container { padding-top: 34px; }
.sports-center-theme #homeView { position: relative; }
.sports-command-header {
    min-height: 390px;
    padding: 52px 58px;
    background:
        linear-gradient(90deg, #07111b 0%, rgba(7,17,27,.97) 43%, rgba(7,17,27,.42) 72%, rgba(201,0,24,.12) 100%),
        linear-gradient(0deg, rgba(201,0,24,.2), transparent 50%),
        url('/assets/img/world_cup_hero.png') 78% center/cover;
    border: 0;
    border-radius: 0;
    box-shadow: 0 20px 50px rgba(6,14,22,.23);
}
.sports-command-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: #e0001b;
}
.sports-command-header::after {
    background:
        linear-gradient(115deg, transparent 0 64%, rgba(255,255,255,.035) 64.1% 65%, transparent 65.1%),
        linear-gradient(115deg, transparent 0 76%, rgba(224,0,27,.35) 76.1% 77%, transparent 77.1%);
}
.command-copy { max-width: 690px; }
.sports-eyebrow { margin-bottom: 16px; color: #ff3048; font-size: .73rem; }
.sports-command-header h2 {
    max-width: 680px;
    font-size: clamp(3.1rem, 5.6vw, 5.6rem);
    line-height: .88;
    letter-spacing: -.065em;
    text-transform: uppercase;
}
.sports-command-header h2 em { color: #ff1732; font-style: normal; }
.sports-command-header p { max-width: 540px; margin-top: 24px; font-size: 1.08rem; line-height: 1.65; }
.command-actions { display: flex; gap: 12px; margin-top: 30px; }
.command-primary,
.command-secondary {
    min-height: 48px;
    padding: 0 22px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 2px;
    font: 850 .75rem/1 var(--font-ui);
    letter-spacing: .075em;
    text-transform: uppercase;
    transition: .2s ease;
}
.command-primary { color: #fff; background: #e0001b; }
.command-primary:hover { background: #ff1732; transform: translateY(-2px); }
.command-secondary { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.command-secondary:hover { background: rgba(255,255,255,.16); }
.command-actions i { margin: 0 7px; }

.sports-date-card {
    align-self: flex-end;
    min-width: 245px;
    padding: 22px 24px;
    background: rgba(4,9,14,.88);
    border: 1px solid rgba(255,255,255,.14);
    border-top: 3px solid #e0001b;
}
.sports-date-card span i { color: #ff1732; margin-right: 5px; font-size: .5rem; }
.sports-date-card strong { margin: 10px 0 4px; font-size: 1.35rem; text-transform: uppercase; }
.date-card-lines { display: flex; gap: 4px; margin-top: 16px; }
.date-card-lines i { width: 32px; height: 3px; background: #e0001b; }
.date-card-lines i:nth-child(2) { background: #6d7883; }
.date-card-lines i:nth-child(3) { background: #313a43; }

.sports-center-theme .tip-banner {
    margin-top: 14px;
    padding: 13px 18px;
    color: #c3ccd5;
    background: #111923;
    border: 0;
    border-left: 4px solid #e0001b;
}
.sports-center-theme .tip-banner > i { color: #ff3048; }
.sports-center-theme .tip-banner .tip-banner-body { color: #cbd5df; }
.sports-center-theme .tip-banner .tip-banner-body strong { color: #ffffff; font-weight: 800; }
.sports-center-theme .tip-banner .tip-divider { color: #ff3048; }

.sports-center-theme .world-cup-hub { margin-top: 54px !important; }
.sports-center-theme .world-cup-hub > .section-header {
    min-height: 100px;
    margin: 0;
    padding: 0 26px;
    color: #fff;
    background: #090e14;
    border: 0;
}
.cup-title-lockup { display: flex; align-items: center; gap: 18px; }
.cup-emblem {
    display: grid;
    width: 52px;
    height: 58px;
    place-items: center;
    color: #fff;
    background: #e0001b;
    clip-path: polygon(12% 0,100% 0,88% 100%,0 100%);
    font-size: 1.35rem;
}
.sports-center-theme .world-cup-hub .section-kicker { margin-bottom: 5px; color: #8e9aa6; font-size: .6rem; }
.sports-center-theme .world-cup-hub .section-header h2 { color: #fff; font-size: 2rem; font-style: italic; letter-spacing: -.055em; }
.sports-center-theme .world-cup-hub .section-header h2 b { color: #ff1732; }
.cup-live-label { color: #9aa5af; font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cup-live-label i { margin-right: 7px; color: #e0001b; font-size: .48rem; }

.sports-center-theme .wc-hub-card {
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 45px rgba(8,15,23,.13) !important;
}
.sports-center-theme .wc-tab-header {
    align-items: stretch;
    gap: 0 !important;
    min-height: 66px;
    padding: 0 24px !important;
    background: #151d26;
}
.sports-center-theme .wc-tab-btn {
    min-width: 155px;
    min-height: 66px;
    color: #8e99a4;
    border: 0;
    border-bottom: 4px solid transparent;
    font-size: .7rem !important;
}
.sports-center-theme .wc-tab-btn i { margin-right: 8px; }
.sports-center-theme .wc-tab-btn.active { color: #fff; background: #202a34; border-bottom-color: #e0001b; }
.sports-center-theme .wc-filters-container {
    min-height: 76px;
    padding: 17px 26px 10px !important;
    background: #f1f3f5;
    border-bottom: 1px solid #dce1e6;
}
.sports-center-theme .wc-group-label { color: #64717e !important; font-size: .66rem !important; letter-spacing: .1em !important; }
.sports-center-theme .wc-filter-btn {
    min-width: 35px;
    height: 32px;
    color: #596775;
    background: #fff;
    border: 1px solid #d4dbe1;
    border-radius: 1px;
    font-size: .72rem;
    font-weight: 850;
}
.sports-center-theme .wc-filter-btn.active { color: #fff; background: #e0001b; border-color: #e0001b; box-shadow: 0 4px 10px rgba(224,0,27,.2); }
.sports-center-theme .wc-matches-grid {
    gap: 14px;
    padding: 24px 26px 30px;
    background: #e9edf1;
}
.sports-center-theme .wc-match-card {
    overflow: hidden;
    min-height: 205px;
    background: #fff;
    border: 0;
    border-top: 3px solid #111923;
    border-radius: 0;
    box-shadow: 0 3px 9px rgba(12,20,28,.08);
}
.sports-center-theme .wc-match-card:hover { border-top-color: #e0001b; transform: translateY(-3px); }
.sports-center-theme .wc-match-header { padding: 12px 15px; background: #f7f8f9; }
.sports-center-theme .wc-match-teams { padding: 15px; }
.sports-center-theme .wc-team-row { min-height: 36px; }
.sports-center-theme .wc-team-name { font-weight: 800; }
.sports-center-theme .wc-team-score { font-size: 1.2rem; font-weight: 900; }
.sports-center-theme .wc-match-footer { padding: 11px 15px; background: #fafbfc; }

@media (max-width: 900px) {
    .sports-center-theme .brand-logo { min-width: 220px; }
    .sports-center-theme .brand-logo small { display: none; }
    .sports-command-header { min-height: 340px; padding: 44px 36px; }
}

@media (max-width: 768px) {
    .sports-center-theme .sports-topbar { display: none; }
    .sports-center-theme .navbar { height: 68px; }
    .sports-center-theme .brand-logo { min-width: 0; }
    .brand-mark { width: 38px; height: 30px; margin-right: 9px; }
    .brand-wordmark { font-size: 1.25rem; }
    .sports-center-theme .mobile-menu-btn { color: #fff; border-color: #39434c; background: #151c24; }
    .sports-center-theme .nav-links { top: 68px; background: #0d141c; }
    .sports-center-theme .nav-link.active { border-top-color: transparent; border-left: 4px solid #e0001b; }
    .sports-command-header { min-height: 420px; padding: 35px 24px; align-items: flex-end; background-position: 64% center; }
    .sports-command-header h2 { font-size: 3.35rem; }
    .sports-command-header p { font-size: .92rem; }
    .command-actions { flex-direction: column; align-items: stretch; max-width: 240px; }
    .sports-date-card { display: none; }
    .sports-center-theme .world-cup-hub > .section-header { min-height: 88px; padding: 0 16px; }
    .cup-emblem { width: 42px; height: 48px; }
    .sports-center-theme .world-cup-hub .section-header h2 { font-size: 1.45rem; }
    .cup-live-label { display: none; }
    .sports-center-theme .wc-tab-header { padding: 0 !important; }
    .sports-center-theme .wc-tab-btn { min-width: auto; flex: 1 0 auto; padding: 0 14px !important; }
    .sports-center-theme .wc-filters-container { padding: 15px 14px 8px !important; }
    .sports-center-theme .wc-matches-grid { padding: 14px; }
}

@media (max-width: 430px) {
    .sports-center-theme .app-container { width: 100%; padding-top: 0; }
    .sports-center-theme #homeView > .tip-banner,
    .sports-center-theme #homeView > .match-carousel-section,
    .sports-center-theme #homeView > .world-cup-hub,
    .sports-center-theme #homeView > .stats-overview { margin-left: 12px !important; margin-right: 12px !important; }
    .sports-command-header { min-height: 460px; border-left: 0; }
    .sports-command-header::before { width: 4px; }
    .sports-command-header h2 { font-size: 3rem; }
    .sports-center-theme .tip-banner { margin-top: 10px; }
}
