.battles-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 10px 0;
}

.battle-header {
    display: flex;
    align-items: center;
    background: var(--thead-color);
    padding: 8px;
    font-weight: 600;
    color: var(--primary-color-text);
    margin-bottom: 5px;
}

.header-team {
    flex: 1;
    text-align: center;
}

.header-vs {
    width: 100px;
    text-align: center;
    font-size: 1.2rem;
}

.battle-row {
    display: flex;
    align-items: center;
    height: 90px;
    border-bottom: 1px solid var(--border-color);
    background: var(--first-layer-color);
}

.team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.team-name {
    font-size: 1rem;
    margin-bottom: 5px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    color: var(--primary-color-text);
}

.score-large {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
}

.win {
    color: #2fbd76;
    font-weight: 800;
}

.lose {
    color: #ff6868;
    font-weight: 800;
}

.draw {
    color: #ababab;
    font-weight: 800;
}

.vs-info {
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.vs-icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    display: block;
    margin: 0 auto;
}

.goals-row {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 5px;
    justify-content: center;
    gap: 5px;
}

.goals-small {
    font-size: 1rem;
    color: var(--primary-color-text);
}

.goals-label {
    font-size: 0.8rem;
    text-align: center;
    color: var(--secondary-color-text);
    white-space: nowrap;
    flex: none;
}

.left-goals {
    flex: 1;
    text-align: right;
}

.right-goals {
    flex: 1;
    text-align: left;
}

.medal-icon {
    width: 16.15px;
    height: 20px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .battle-row {
        flex-direction: row;
        height: auto;
        padding: var(--space-sm);
    }

    .team-info {
        width: 100%;
        text-align: center;
    }

    .vs-info {
        width: 100%;
        margin: var(--space-sm) 0;
    }

    .score-large {
        font-size: 2rem;
    }

    .goals-row {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .team-name {
        font-size: 0.9rem;
    }

    .goals-small {
        font-size: 0.9rem;
    }
}