/**
 * Score Ticker Styles
 * ESPN-style horizontal score ticker
 */

.ticker-container {
    background: linear-gradient(to bottom, #1a1a2e 0%, #0f0f1a 100%);
    border-bottom: 2px solid #3b82f6;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ticker-nav {
    background: #0f0f1a;
    border: none;
    color: #6b7280;
    padding: 16px 12px;
    cursor: pointer;
    font-size: 24px;
    font-weight: 300;
    flex-shrink: 0;
    transition: all 0.2s ease;
    line-height: 1;
    border-right: 1px solid #2a2a4a;
}

.ticker-nav.ticker-next {
    border-right: none;
    border-left: 1px solid #2a2a4a;
}

.ticker-nav:hover:not(:disabled) {
    color: #fff;
    background: #1a1a2e;
}

.ticker-nav:disabled {
    color: #333;
    cursor: not-allowed;
}

.ticker-track {
    display: flex;
    overflow: hidden;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.ticker-inner {
    display: flex;
    transition: transform 0.3s ease;
}

.ticker-game {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-right: 1px solid #2a2a4a;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    transition: background 0.2s ease;
    min-width: fit-content;
}

.ticker-game:hover {
    background: rgba(59, 130, 246, 0.1);
}

.ticker-game:last-child {
    border-right: none;
}

.ticker-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.ticker-score {
    font-weight: 700;
    font-size: 18px;
    min-width: 28px;
    text-align: center;
    color: #9ca3af;
}

.ticker-score.winner {
    color: #fff;
}

.ticker-status {
    font-size: 10px;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    font-weight: 600;
}

.ticker-at {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    padding: 0 4px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .ticker-container {
        border-radius: 0;
    }
    
    .ticker-nav {
        padding: 12px 8px;
        font-size: 20px;
    }
    
    .ticker-game {
        padding: 10px 14px;
        gap: 8px;
    }
    
    .ticker-logo {
        width: 30px;
        height: 30px;
    }
    
    .ticker-score {
        font-size: 16px;
        min-width: 24px;
    }
    
    .ticker-status {
        font-size: 9px;
        padding: 2px 6px;
    }
}
