/* ── WAF Scores Ticker ── */
#waf-ticker-bar {
    background: #111418;
    color: #fff;
    height: 32px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 9999;
    font-family: 'Barlow', -apple-system, sans-serif;
    font-size: 12px;
    border-bottom: 1px solid #2a2a2a;
}

.waf-ticker-label {
    background: #EC321D;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.waf-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}

.waf-ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
}

.waf-ticker-loading {
    color: #aaa;
    padding: 0 20px;
    font-size: 12px;
}

.waf-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-right: 1px solid #2a2a2a;
    height: 100%;
    cursor: default;
    transition: background 0.15s;
}

.waf-ticker-item:hover { background: rgba(255,255,255,0.06); }
.waf-ticker-item a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.waf-ticker-item a:hover .waf-ticker-teams { color: #EC321D; }

.waf-ticker-sport {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #EC321D;
    flex-shrink: 0;
    background: rgba(236,50,29,0.15);
    padding: 2px 6px;
    border-radius: 2px;
}

.waf-ticker-teams {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 12px;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.waf-ticker-teams .vs {
    font-weight: 400;
    font-size: 10px;
    color: #666;
}

.waf-ticker-score {
    font-weight: 800;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
    background: rgba(255,255,255,0.1);
    padding: 1px 6px;
    border-radius: 2px;
    margin: 0 2px;
}

.waf-ticker-status {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaaaaa;
    flex-shrink: 0;
}

.waf-ticker-status.is-live {
    color: #EC321D;
    animation: waf-blink 1.5s ease-in-out infinite;
}

.waf-ticker-headline {
    font-size: 12px;
    color: #dddddd;
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes waf-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

/* Push header down */
#site-header { top: 32px !important; }

@media (max-width: 640px) {
    #waf-ticker-bar { height: 28px; font-size: 11px; }
    #site-header { top: 28px !important; }
    .waf-ticker-label { padding: 0 8px; font-size: 9px; }
    .waf-ticker-item { padding: 0 14px; gap: 6px; }
}
