.matches {
    display: grid;
    gap: 10px;
}

.match_score {
    text-align: center;
}

.score_editor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.score_editor input {
    width: 58px;
    height: 42px;
    text-align: center;
    font-weight: 900;
    appearance: textfield;
    -moz-appearance: textfield;
}

.delete_score {
    border: 0;
    background: 0 0;
    color: #ff626f;
    cursor: pointer;
    font-size: 12px;
}

.matches {
    gap: 8px;
}

.match_round {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: #6f7c8b;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.score_editor input::-webkit-inner-spin-button,
.score_editor input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.match_filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.match_rounds {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.match_round_card {
    overflow: hidden;
    border: 1px solid var(--ui_color_border_soft);
    border-radius: 10px;
    background: var(--ui_color_surface_compact);
    box-shadow: 0 12px 28px var(--ui_color_shadow_soft);
}

.match_round_card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #2d3742;
}

.match_round_card__head h3 {
    margin: 0;
    color: var(--ui_color_text);
    font-size: 14px;
}

.match_round_card__head span {
    color: #788594;
    font-size: 12px;
}

.round_match {
    min-height: 64px;
}

.match_round_card .round_match {
    min-height: 84px;
    padding-left: 15px;
    padding-right: 15px;
}

.round_match + .round_match {
    border-top: 1px solid var(--ui_color_border_muted);
}

.round_match__score .ui_matchup_scores {
    margin: 0;
    cursor: pointer;
}

.round_match__score .ui_matchup_scores:hover {
    background: var(--ui_color_surface_hover);
}

.round_match__score .score_button--pending {
    min-width: 104px;
    min-height: 38px;
    padding: 8px 13px;
    border: 0;
    background: var(--ui_color_surface_hover);
}

.round_match__score .score_button--pending:hover {
    background: var(--ui_color_control);
}

.round_match__score_value {
    padding: 0 !important;
    color: inherit !important;
}

.round_match__pending {
    padding: 0 !important;
    color: var(--ui_color_text) !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

@media (min-width: 900px) {
.score_editor input {
        width: 53px;
        height: 34px;
    }
}

@media (max-width: 899px) {
.match_rounds {
        grid-template-columns: 1fr;
    }

    .venue_icon {
        font-size: 14px;
    }

.venue_icon__glyph {
        width: 11px;
        height: 11px;
    }
}
