/* ==================== Chart Badges ==================== */

.plotBadges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.plotBadge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.plotBadge--pos {
    background: rgba(99, 255, 156, 0.15);
    color: var(--color-radiant);
}

.plotBadge--neg {
    background: rgba(255, 92, 92, 0.15);
    color: var(--color-dire);
}

.plotBadge--time {
    background: rgba(80, 180, 255, 0.12);
    color: rgba(80, 180, 255, 0.8);
}

/* ==================== Live Badge ==================== */

.liveBadge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 11px;
    background: rgba(99, 255, 156, 0.10);
    border: 1px solid rgba(99, 255, 156, 0.22);
    color: var(--color-radiant);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 1;
}

.liveDot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-radiant);
    flex-shrink: 0;
    box-shadow: 0 0 4px rgba(99, 255, 156, 0.6);
    animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
    0% {
        box-shadow:
            0 0 4px rgba(99, 255, 156, 0.6),
            0 0 0 0 rgba(255, 80, 80, 0.6);
    }
    70% {
        box-shadow:
            0 0 4px rgba(99, 255, 156, 0.6),
            0 0 0 6px rgba(255, 80, 80, 0);
    }
    100% {
        box-shadow:
            0 0 4px rgba(99, 255, 156, 0.6),
            0 0 0 0 rgba(255, 80, 80, 0);
    }
}

.mapRow__liveDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: mapRowLiveBlink 1.2s ease-in-out infinite;
}

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

/* ==================== Tournament Badge ==================== */

.tournamentBadge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(99, 255, 156, 0.15);
    color: var(--color-radiant);
}

/* ==================== Schedule Status Badges ==================== */

.scheduleBadge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px;
    border-radius: 6px;
    white-space: nowrap;
}

.scheduleBadge--upcoming {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.scheduleBadge--live {
    background: rgba(99, 255, 156, 0.12);
    color: var(--color-radiant);
}

.scheduleBadge--finished {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.22);
}

.scheduleBadge--cancelled {
    background: rgba(255, 92, 92, 0.1);
    color: rgba(255, 92, 92, 0.55);
}

/* Series format (bo1/bo2/bo3/bo5) — neutral, it is not a status */
.scheduleBadge--bo {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.45);
    padding: 3px 6px;
}

/* ==================== Map Row Pill (event meta) ==================== */

.mapRow__trophy {
    margin-left: 6px;
}

.mapRow__pillLink {
    flex: 0 0 auto;
    text-decoration: none;
    color: inherit;
}

.mapRow__side {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.mapRow__side--radiant {
    color: #4ade80;
}

.mapRow__side--dire {
    color: #f87171;
}

.mapRow__pill {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mapRow__pill--upcoming {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

.mapRow__pill--live {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
}

.mapRow__pill--finished {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== Coupon Sold Badge ==================== */

.couponSoldBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.couponSoldBadge--sold {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.24);
}

.couponSoldBadge--empty {
    min-width: 24px;
    background: transparent;
    color: rgba(255, 255, 255, 0.38);
    border: 1px solid transparent;
}
