/* ============================================================
   TICKER — ZohnStats
   Sticky scores strip below the header.
   ============================================================ */

/* Ticker is now embedded inside the header (.header-ticker in main.css) */

/* "SCORES" label pill — now a button linking to the scores page */
.ticker-title {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    padding: 0 14px;
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 900;
    font-size: 0.68rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 4px 0 12px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: filter 0.15s;
}
.ticker-title:hover { filter: brightness(1.15); }
.ticker-title:active { filter: brightness(0.9); }

/* "N LIVE" badge inside the title pill */
.ticker-live-badge {
    display: inline-block;
    background: rgba(245,158,11,0.25);
    border: 1px solid rgba(245,158,11,0.5);
    color: var(--color-live);
    font-size: 0.58rem;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: var(--radius-xs);
    letter-spacing: 0.3px;
    animation: tickerLivePulse 1.8s ease-in-out infinite;
}

/* Scrolling strip */
.ticker {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 50s linear infinite;
    will-change: transform;
}
.ticker:hover { animation-play-state: paused; }

/* Individual game item */
.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 18px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    border-right: 1px solid var(--border-default);
    transition: background 0.12s;
}
.ticker__item:hover { background: var(--bg-subtle); }

/* Team logos inside ticker */
.ticker-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.9;
}

/* Team abbreviation */
.ticker-team {
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

/* Score numbers */
.ticker-score {
    font-weight: 900;
    font-size: 0.85rem;
    color: var(--text-primary);
    min-width: 1.4ch;
    text-align: center;
}
.ticker-score--win { color: var(--color-win); }

/* Divider between scores */
.ticker-divider {
    color: var(--text-subtle);
    font-weight: 300;
    margin: 0 1px;
}

/* Status pill */
.ticker-status-pill {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 1px 5px;
    border-radius: var(--radius-xs);
    margin-left: 3px;
    flex-shrink: 0;
    text-transform: uppercase;
}
.ticker-status-pill--final {
    background: rgba(34,211,160,0.10);
    color: var(--color-win);
    border: 1px solid rgba(34,211,160,0.25);
}
.ticker-status-pill--live {
    background: rgba(245,158,11,0.14);
    color: var(--color-live);
    border: 1px solid rgba(245,158,11,0.3);
    animation: tickerLivePulse 1.8s ease-in-out infinite;
}
.ticker-status-pill--sched {
    background: var(--bg-subtle);
    color: var(--text-muted);
    border: 1px solid var(--border-default);
}
.ticker-status-pill--other {
    background: var(--bg-subtle);
    color: var(--text-subtle);
    border: 1px solid var(--border-default);
}

/* Mobile — slightly smaller */
@media (max-width: 600px) {
    .ticker-wrap  { height: 32px; }
    .ticker-title { padding: 0 10px; font-size: 0.62rem; }
    .ticker__item { padding: 0 12px; font-size: 0.72rem; }
    .ticker-logo  { width: 15px; height: 15px; }
}
