/**
 * EthiopiaTemari — Sports v1.7.9 stylesheet
 * --------------------------------------------------------------
 * Modern rewrite with CSS custom properties, glassmorphism, dark
 * mode parity, skeleton loaders, and a "score flash" animation
 * for v1.7.9 score-change detection in sports.js.
 *
 * Loaded via <link rel="stylesheet" href="/assets/css/sports.css?v=1.7.9">
 * (Externalized from inline <style> block in v1.7.9 — saves ~3 KB
 * per page response and lets the browser cache it for 1 year.)
 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* Brand */
    --et-emerald: #059669;
    --et-emerald-dark: #047857;
    --et-emerald-light: #10b981;
    --et-emerald-glow: rgba(16, 185, 129, 0.45);

    /* Live / Red */
    --et-live: #dc2626;
    --et-live-dark: #b91c1c;
    --et-live-glow: rgba(220, 38, 38, 0.55);

    /* Accents */
    --et-amber: #f59e0b;
    --et-purple: #7c3aed;
    --et-sky: #0284c7;

    /* Surfaces (light) */
    --sport-bg: #f8fafc;
    --sport-surface: #ffffff;
    --sport-surface-alt: #f1f5f9;
    --sport-border: #e2e8f0;
    --sport-text: #0f172a;
    --sport-text-muted: #64748b;
    --sport-text-dim: #94a3b8;

    /* League position colors */
    --ucl-bg: #dcfce7;  --ucl-text: #166534;
    --uel-bg: #dbeafe;  --uel-text: #1e40af;
    --rel-bg: #fee2e2;  --rel-text: #991b1b;

    /* Score chip */
    --score-bg: #fef3c7;
    --score-text: #92400e;

    /* Shadows */
    --sport-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --sport-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.10);
    --sport-shadow-lg: 0 12px 32px -8px rgba(15, 23, 42, 0.18);
    --sport-shadow-glow: 0 0 0 3px var(--et-emerald-glow);

    /* Radius */
    --sport-radius: 0.75rem;
    --sport-radius-sm: 0.5rem;
    --sport-radius-lg: 1rem;
    --sport-radius-pill: 9999px;

    /* Transitions */
    --sport-tx: all 0.18s ease;
}

/* Dark mode (Bootstrap data-bs-theme or prefers-color-scheme) */
[data-bs-theme="dark"] {
    --sport-bg: #030712;
    --sport-surface: rgba(15, 23, 42, 0.7);
    --sport-surface-alt: rgba(30, 41, 59, 0.6);
    --sport-border: rgba(148, 163, 184, 0.18);
    --sport-text: #f1f5f9;
    --sport-text-muted: #94a3b8;
    --sport-text-dim: #64748b;

    --ucl-bg: rgba(22, 101, 52, 0.25);  --ucl-text: #86efac;
    --uel-bg: rgba(30, 64, 175, 0.25);  --uel-text: #93c5fd;
    --rel-bg: rgba(153, 27, 27, 0.25);  --rel-text: #fca5a5;

    --score-bg: #422006;
    --score-text: #fbbf24;

    --sport-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.4);
    --sport-shadow-lg: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-bs-theme="light"]) {
        --sport-bg: #030712;
        --sport-surface: rgba(15, 23, 42, 0.7);
        --sport-surface-alt: rgba(30, 41, 59, 0.6);
        --sport-border: rgba(148, 163, 184, 0.18);
        --sport-text: #f1f5f9;
        --sport-text-muted: #94a3b8;
        --sport-text-dim: #64748b;
        --ucl-bg: rgba(22, 101, 52, 0.25);  --ucl-text: #86efac;
        --uel-bg: rgba(30, 64, 175, 0.25);  --uel-text: #93c5fd;
        --rel-bg: rgba(153, 27, 27, 0.25);  --rel-text: #fca5a5;
        --score-bg: #422006; --score-text: #fbbf24;
        --sport-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.4);
        --sport-shadow-lg: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
    }
}

/* ============================================================
   BASE
   ============================================================ */
.sports-hub,
.sports-live,
.sports-fixtures,
.sports-standings,
.sports-leagues,
.sports-match {
    background: var(--sport-bg);
    color: var(--sport-text);
    font-feature-settings: "ss01", "cv11";
    min-height: 60vh;
}

.sports-hub a, .sports-live a,
.sports-fixtures a, .sports-standings a,
.sports-leagues a, .sports-match a {
    color: var(--et-emerald);
    text-decoration: none;
}
.sports-hub a:hover, .sports-live a:hover { color: var(--et-emerald-light); text-decoration: underline; }

/* ============================================================
   HERO  (v1.7.9 — glassmorphism + animated gradient)
   ============================================================ */
.sports-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--sport-radius-lg);
    padding: 2.5rem 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #047857 0%, #064e3b 50%, #0f172a 100%);
    color: #fff;
    box-shadow: var(--sport-shadow-lg);
}
.sports-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(800px 400px at 20% -10%, rgba(16, 185, 129, 0.35), transparent 60%),
        radial-gradient(600px 300px at 110% 30%, rgba(245, 158, 11, 0.25), transparent 60%);
    pointer-events: none;
}
.sports-hero-content { position: relative; z-index: 1; }
.sports-hero h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #ffffff 0%, #6ee7b7 60%, #fcd34d 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sports-hero .lead { color: rgba(255, 255, 255, 0.85); font-weight: 400; }
.sports-hero .btn-light {
    background: rgba(255, 255, 255, 0.95);
    border-color: transparent;
    color: #047857;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.sports-hero .btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.sports-hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   PULSE DOT (live indicator)
   ============================================================ */
.pulse-dot {
    display: inline-block;
    width: 10px; height: 10px;
    background: var(--et-live);
    border-radius: 50%;
    vertical-align: middle;
    animation: sports-pulse 2s ease-in-out infinite;
}
.pulse-dot.sm { width: 6px; height: 6px; }
.pulse-dot.lg { width: 14px; height: 14px; }

@keyframes sports-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(220, 38, 38, 0.7); }
    70%  { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0   rgba(220, 38, 38, 0); }
}

.sports-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--et-live);
    color: #fff;
    padding: 3px 8px;
    border-radius: var(--sport-radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.sports-badge-live::before {
    content: "";
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: sports-pulse 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .pulse-dot, .sports-badge-live::before { animation: none; }
}

/* ============================================================
   TICKER  (horizontal scroller)
   ============================================================ */
.sports-ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sport-surface);
    border: 1px solid var(--sport-border);
    border-radius: var(--sport-radius);
    padding: 8px 12px;
    box-shadow: var(--sport-shadow-sm);
}
.sports-ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--et-live), var(--et-live-dark));
    color: #fff;
    padding: 6px 10px;
    border-radius: var(--sport-radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}
.sports-ticker {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--et-emerald) transparent;
    flex: 1;
    padding: 2px 0;
}
.sports-ticker::-webkit-scrollbar { height: 4px; }
.sports-ticker::-webkit-scrollbar-thumb { background: rgba(16, 185, 129, 0.4); border-radius: 2px; }

.ticker-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--sport-surface-alt);
    border: 1px solid var(--sport-border);
    border-radius: var(--sport-radius-pill);
    color: var(--sport-text);
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: 600;
    scroll-snap-align: start;
    transition: var(--sport-tx);
    white-space: nowrap;
}
.ticker-item:hover {
    background: var(--et-emerald);
    color: #fff;
    border-color: var(--et-emerald);
    transform: translateY(-1px);
    text-decoration: none;
}
.ticker-league {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sport-text-muted);
}
.ticker-item:hover .ticker-league { color: rgba(255, 255, 255, 0.8); }
.ticker-match { display: inline-flex; align-items: center; gap: 6px; }
.ticker-score {
    background: var(--score-bg);
    color: var(--score-text);
    padding: 2px 8px;
    border-radius: var(--sport-radius-sm);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}
.ticker-item:hover .ticker-score {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.ticker-min {
    font-size: 0.7rem;
    color: var(--et-live);
    font-weight: 800;
    text-transform: uppercase;
}

/* ============================================================
   LEAGUE FILTER PILLS  (new in v1.7.9)
   ============================================================ */
.sports-filter-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 10px;
    scrollbar-width: none;
}
.sports-filter-pills::-webkit-scrollbar { display: none; }
.filter-pill {
    flex: 0 0 auto;
    background: var(--sport-surface);
    border: 1px solid var(--sport-border);
    color: var(--sport-text-muted);
    padding: 6px 14px;
    border-radius: var(--sport-radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--sport-tx);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.filter-pill:hover {
    border-color: var(--et-emerald);
    color: var(--et-emerald);
}
.filter-pill.active {
    background: linear-gradient(135deg, var(--et-emerald), var(--et-emerald-light));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px -2px var(--et-emerald-glow);
}
.filter-pill .pill-count {
    background: rgba(148, 163, 184, 0.2);
    color: var(--sport-text-muted);
    padding: 1px 7px;
    border-radius: var(--sport-radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
}
.filter-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ============================================================
   LIVE MATCH CARD  (modern glass card)
   ============================================================ */
.sports-live-card {
    display: block;
    height: 100%;
    background: var(--sport-surface);
    border: 1px solid var(--sport-border);
    border-radius: var(--sport-radius);
    color: var(--sport-text) !important;
    text-decoration: none !important;
    transition: var(--sport-tx);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.sports-live-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--et-emerald), var(--et-emerald-light));
    opacity: 0;
    transition: opacity 0.2s ease;
}
.sports-live-card:hover {
    border-color: var(--et-emerald);
    transform: translateY(-2px);
    box-shadow: var(--sport-shadow-lg);
    text-decoration: none;
}
.sports-live-card:hover::before { opacity: 1; }

.sports-live-card .card-body { padding: 1rem 1.25rem; }

.live-minute {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--et-live);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.live-score {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--sport-text);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    background: var(--score-bg);
    color: var(--score-text);
    padding: 4px 14px;
    border-radius: var(--sport-radius-sm);
    line-height: 1;
}

/* v1.7.9: Score-change flash */
.sports-live-card.score-flash .live-score {
    animation: scoreFlash 1.4s ease-out;
}
@keyframes scoreFlash {
    0%   { background: var(--et-live); color: #fff; transform: scale(1.18); }
    35%  { background: var(--et-live-dark); color: #fff; transform: scale(1.05); }
    100% { background: var(--score-bg); color: var(--score-text); transform: scale(1); }
}
.sports-live-card.goal-celebrate {
    animation: goalCelebrate 0.6s ease-out;
}
@keyframes goalCelebrate {
    0%, 100% { transform: translateY(0); }
    25%      { transform: translateY(-4px) rotate(-0.5deg); }
    50%      { transform: translateY(-2px) rotate(0.5deg); }
    75%      { transform: translateY(-3px) rotate(-0.3deg); }
}

/* Match status pill */
.match-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--sport-radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.match-status-pill.live    { background: var(--et-live); color: #fff; }
.match-status-pill.ht      { background: var(--et-amber); color: #fff; }
.match-status-pill.ft      { background: var(--sport-text-muted); color: #fff; }
.match-status-pill.scheduled { background: var(--et-emerald); color: #fff; }

/* ============================================================
   SKELETON LOADER  (v1.7.9 — proper implementation)
   ============================================================ */
.sports-skeleton {
    background: linear-gradient(
        90deg,
        var(--sport-surface-alt) 25%,
        var(--sport-border) 50%,
        var(--sport-surface-alt) 75%
    );
    background-size: 200% 100%;
    animation: sports-shimmer 1.5s infinite linear;
    border-radius: var(--sport-radius-sm);
}
.sports-skeleton-card {
    height: 160px;
    border-radius: var(--sport-radius);
    border: 1px solid var(--sport-border);
    padding: 1rem;
    background: var(--sport-surface);
    position: relative;
    overflow: hidden;
}
.sports-skeleton-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200% 100%;
    animation: sports-shimmer 1.5s infinite linear;
}
.sports-skeleton-line {
    height: 10px;
    margin: 8px 0;
    border-radius: var(--sport-radius-pill);
}
.sports-skeleton-line.short { width: 40%; }
.sports-skeleton-line.medium { width: 70%; }
.sports-skeleton-line.long { width: 100%; }

@keyframes sports-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   AUTO-REFRESH PROGRESS BAR  (new in v1.7.9)
   ============================================================ */
.refresh-progress {
    position: relative;
    height: 3px;
    background: var(--sport-border);
    border-radius: var(--sport-radius-pill);
    overflow: hidden;
    margin-top: 6px;
}
.refresh-progress > span {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, var(--et-emerald), var(--et-emerald-light));
    transition: width 0.1s linear;
}
.refresh-progress.paused > span {
    background: var(--sport-text-muted);
    transition: none;
}

/* ============================================================
   PUSH NOTIFICATION OPT-IN  (new in v1.7.9)
   ============================================================ */
.push-optin {
    display: none;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(124, 58, 237, 0.10));
    border: 1px solid rgba(5, 150, 105, 0.3);
    border-radius: var(--sport-radius);
    padding: 14px 18px;
    margin-bottom: 1rem;
    align-items: center;
    gap: 12px;
}
.push-optin.show { display: flex; }
.push-optin .push-icon {
    width: 40px; height: 40px;
    background: var(--et-emerald);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.push-optin .push-text {
    flex: 1;
    color: var(--sport-text);
}
.push-optin .push-text strong { color: var(--et-emerald); }
.push-optin .push-text small { color: var(--sport-text-muted); display: block; margin-top: 2px; }
.push-optin .push-btn {
    background: var(--et-emerald);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--sport-radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: var(--sport-tx);
    flex-shrink: 0;
}
.push-optin .push-btn:hover {
    background: var(--et-emerald-dark);
    transform: translateY(-1px);
}
.push-optin .push-dismiss {
    background: transparent;
    border: none;
    color: var(--sport-text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}
.push-optin .push-dismiss:hover { color: var(--sport-text); }

/* ============================================================
   LEAGUE / QUICK ACCESS CARDS
   ============================================================ */
.sports-league-card,
.sports-quick-card {
    background: var(--sport-surface);
    border: 1px solid var(--sport-border);
    border-radius: var(--sport-radius);
    color: var(--sport-text) !important;
    text-decoration: none !important;
    transition: var(--sport-tx);
    height: 100%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.sports-league-card:hover,
.sports-quick-card:hover {
    border-color: var(--et-emerald);
    transform: translateY(-3px);
    box-shadow: var(--sport-shadow);
    text-decoration: none;
    color: var(--sport-text) !important;
}
.sports-league-logo {
    width: 48px; height: 48px;
    object-fit: contain;
    border-radius: 8px;
}
.sports-league-logo-placeholder {
    width: 48px; height: 48px;
    background: var(--sport-surface-alt);
    border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--et-amber);
    font-size: 1.4rem;
}

/* ============================================================
   FIXTURES — match row
   ============================================================ */
.sports-match-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sport-surface);
    border: 1px solid var(--sport-border);
    color: var(--sport-text) !important;
    text-decoration: none !important;
    padding: 12px 16px;
    transition: var(--sport-tx);
}
.sports-match-row:hover {
    border-color: var(--et-emerald);
    background: var(--sport-surface-alt);
    text-decoration: none;
}
.sports-team-crest {
    width: 28px; height: 28px;
    object-fit: contain;
    border-radius: 4px;
}
.sports-kickoff-time {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--et-emerald);
    min-width: 80px;
}
.sports-date-group-heading {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sport-text-muted);
    font-weight: 700;
    margin: 1.2rem 0 0.4rem;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--sport-border);
}

/* ============================================================
   STANDINGS TABLE
   ============================================================ */
.sports-standings-card {
    background: var(--sport-surface);
    border: 1px solid var(--sport-border);
    border-radius: var(--sport-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}
.sports-table-standings {
    width: 100%;
    margin: 0;
    color: var(--sport-text);
    font-variant-numeric: tabular-nums;
    font-size: 0.88rem;
}
.sports-table-standings thead th {
    background: var(--sport-surface-alt);
    color: var(--sport-text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 8px 10px;
    border-bottom: 1px solid var(--sport-border);
    font-weight: 700;
}
.sports-table-standings tbody td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--sport-border);
    vertical-align: middle;
}
.sports-table-standings tbody tr:last-child td { border-bottom: none; }
.sports-table-standings tbody tr:hover { background: var(--sport-surface-alt); }

.sports-pos-indicator {
    display: inline-block;
    width: 4px; height: 24px;
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
}
.sports-pos-ucl { background: var(--et-emerald); }
.sports-pos-uel { background: var(--et-sky); }
.sports-pos-rel { background: var(--et-live); }

/* ============================================================
   MATCH DETAIL — score display
   ============================================================ */
.sports-match-card {
    background: var(--sport-surface);
    border: 1px solid var(--sport-border);
    border-radius: var(--sport-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--sport-shadow);
}
.sports-match-crest {
    width: 80px; height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}
.sports-score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}
.sports-score-numbers {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--sport-text);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.sports-score-dash {
    font-size: 2.5rem;
    color: var(--sport-text-muted);
    font-weight: 300;
}
.sports-kickoff-large {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--et-emerald);
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   BUTTONS — follow + reminder
   ============================================================ */
.sports-follow-btn,
.sports-reminder-btn,
.sports-follow-match-home-btn,
.sports-follow-match-away-btn {
    background: transparent;
    border: 1px solid var(--sport-border);
    color: var(--sport-text-muted);
    padding: 5px 12px;
    border-radius: var(--sport-radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--sport-tx);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.sports-follow-btn:hover,
.sports-reminder-btn:hover,
.sports-follow-match-home-btn:hover,
.sports-follow-match-away-btn:hover {
    border-color: var(--et-emerald);
    color: var(--et-emerald);
    background: rgba(5, 150, 105, 0.08);
}
.sports-follow-btn.followed {
    background: rgba(220, 38, 38, 0.12);
    border-color: var(--et-live);
    color: var(--et-live);
}
.sports-follow-btn.followed i.fa-heart { color: var(--et-live); }

.sports-reminder-btn.reminder-set {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--et-amber);
    color: var(--et-amber);
}
.sports-reminder-btn.reminder-set i.fa-bell { color: var(--et-amber); animation: bellRing 1.5s ease-in-out infinite; }
@keyframes bellRing {
    0%, 100% { transform: rotate(0); }
    20%      { transform: rotate(12deg); }
    40%      { transform: rotate(-12deg); }
    60%      { transform: rotate(8deg); }
    80%      { transform: rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) {
    .sports-reminder-btn.reminder-set i.fa-bell { animation: none; }
}

/* ============================================================
   TEAM CHIP (followed teams list)
   ============================================================ */
.sports-team-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--sport-surface);
    border: 1px solid var(--sport-border);
    border-radius: var(--sport-radius-pill);
    color: var(--sport-text) !important;
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--sport-tx);
}
.sports-team-chip:hover {
    border-color: var(--et-live);
    transform: translateY(-1px);
    text-decoration: none;
}
.sports-team-chip img { width: 20px; height: 20px; border-radius: 4px; }

/* ============================================================
   TOAST  (in-page notification for goal, follow, etc.)
   ============================================================ */
.et-sports-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    padding: 12px 22px;
    border-radius: var(--sport-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1080;
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 92vw;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.et-sports-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.et-sports-toast.success { background: linear-gradient(135deg, #047857, #059669); }
.et-sports-toast.error   { background: linear-gradient(135deg, #991b1b, #dc2626); }
.et-sports-toast.goal    {
    background: linear-gradient(135deg, #7c2d12, #dc2626);
    font-size: 1rem;
    box-shadow: 0 12px 40px -6px rgba(220, 38, 38, 0.6);
}
.et-sports-toast.goal::before {
    content: "⚽";
    font-size: 1.4rem;
}

/* ============================================================
   SEO CONTENT
   ============================================================ */
.sports-seo-content {
    background: var(--sport-surface);
    border: 1px solid var(--sport-border);
    border-radius: var(--sport-radius);
    padding: 1.5rem;
    margin-top: 2rem;
    color: var(--sport-text);
    line-height: 1.65;
}
.sports-seo-content h2 { color: var(--sport-text); font-weight: 700; }
.sports-seo-content p { color: var(--sport-text-muted); margin-bottom: 0.8rem; }
.sports-seo-content p:last-child { margin-bottom: 0; }
.sports-seo-content strong { color: var(--sport-text); }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.sports-empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--sport-text-muted);
}
.sports-empty-state i { font-size: 4rem; opacity: 0.3; margin-bottom: 1rem; display: block; }
.sports-empty-state h2 { font-size: 1.25rem; font-weight: 700; color: var(--sport-text); margin-bottom: 0.5rem; }
.sports-empty-state p { font-size: 0.92rem; max-width: 480px; margin: 0 auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .sports-hero { padding: 1.75rem 1.25rem; }
    .sports-hero h1 { font-size: 1.65rem; }
    .sports-hero .lead { font-size: 0.92rem; }
    .sports-hero .btn-lg { padding: 0.55rem 1rem; font-size: 0.92rem; }

    .live-score { font-size: 1.5rem; padding: 4px 12px; }
    .sports-match-crest { width: 56px; height: 56px; }
    .sports-score-numbers { font-size: 2.25rem; }
    .sports-kickoff-large { font-size: 1.25rem; }

    .sports-table-standings { font-size: 0.8rem; }
    .sports-table-standings thead th, .sports-table-standings tbody td { padding: 6px 8px; }

    .sports-ticker-label { font-size: 0.65rem; padding: 4px 8px; }
    .ticker-item { font-size: 0.78rem; padding: 4px 10px; }

    .push-optin { flex-wrap: wrap; }
    .push-optin .push-text { flex-basis: 100%; }
}

@media (max-width: 480px) {
    .sports-ticker-label { display: none; }
    .sports-hero { padding: 1.25rem 1rem; }
    .sports-hero h1 { font-size: 1.4rem; }
    .sports-hero .lead { font-size: 0.85rem; margin-bottom: 0.75rem; }
}

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

.sports-follow-btn:focus-visible,
.sports-reminder-btn:focus-visible,
.filter-pill:focus-visible,
.ticker-item:focus-visible,
.sports-live-card:focus-visible,
.sports-league-card:focus-visible,
.sports-quick-card:focus-visible {
    outline: 2px solid var(--et-emerald-light);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
