.match-detail-esports {
    margin: 20px 0;
}

.match-detail-esports__format {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    display: inline-block;
}

.match-detail-esports__games {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.match-detail-esports__game {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.match-detail-esports__game-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f9f9f9;
    font-size: 14px;
}

.match-detail-esports__game-num {
    font-weight: 600;
}

.match-detail-esports__game-map {
    color: #666;
}

.match-detail-esports__game-score {
    margin-left: auto;
    font-weight: 700;
    font-size: 16px;
}

.match-detail-esports__game-score--finished {
    color: #333;
}

.match-detail-esports__players {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.match-detail-esports__players th,
.match-detail-esports__players td {
    padding: 6px 10px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.match-detail-esports__players th {
    font-weight: 600;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
}

.match-detail-esports__players td:first-child {
    text-align: left;
    font-weight: 500;
}

.match-detail-esports__player-row--home td:first-child {
    border-left: 3px solid #1976d2;
}

.match-detail-esports__player-row--away td:first-child {
    border-left: 3px solid #e53935;
}

.match-detail-esports__separator td {
    height: 2px;
    padding: 0;
    background: #ddd;
    border: none;
}

.match-detail-esports__rounds {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 10px 16px;
    align-items: center;
}

.match-detail-esports__round {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    display: inline-block;
}

.match-detail-esports__round--ct {
    background: rgba(25, 118, 210, 0.3);
}

.match-detail-esports__round--t {
    background: rgba(255, 152, 0, 0.3);
}

.match-detail-esports__round--home-win {
    opacity: 1;
}

.match-detail-esports__round--away-win {
    opacity: 0.5;
}

.match-detail-esports__round--ct.match-detail-esports__round--home-win {
    background: #1976d2;
}

.match-detail-esports__round--t.match-detail-esports__round--home-win {
    background: #ff9800;
}

.match-detail-esports__round--ct.match-detail-esports__round--away-win {
    background: rgba(25, 118, 210, 0.4);
}

.match-detail-esports__round--t.match-detail-esports__round--away-win {
    background: rgba(255, 152, 0, 0.4);
}

.match-detail-esports__round-ot-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    margin: 0 4px;
}

.match-detail-esports__round--ot {
    background: #9e9e9e;
}

.match-detail-esports__round--ot.match-detail-esports__round--home-win {
    background: #4caf50;
}

.match-detail-esports__round--ot.match-detail-esports__round--away-win {
    background: rgba(76, 175, 80, 0.4);
}

.match-detail-esports__bans {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid #eee;
}

.match-detail-esports__bans-team {
    display: flex;
    gap: 6px;
    flex: 1;
}

.match-detail-esports__bans-team:last-child {
    justify-content: flex-end;
}

.match-detail-esports__bans-label {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
}

.match-detail-esports__ban img {
    border-radius: 4px;
    opacity: 0.6;
    filter: grayscale(60%);
}
