.gsc-rounds-modal {
    height: min(720px, calc(100dvh - 24px));
}

.gsc-rounds-modal .gsc-settings-menu-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 0;
}

.gsc-rounds-range-filter {
    flex: 0 0 auto;
    padding-bottom: 14px;
}

.gsc-rounds-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.gsc-rounds-modal-body[aria-busy="true"] {
    opacity: 0.6;
    pointer-events: none;
}

.gsc-rounds-list-row {
    width: 100%;
    min-height: 78px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 14px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    appearance: none;
    color: #06285a;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gsc-rounds-list-course {
    grid-column: 1;
    grid-row: 1 / 3;
    min-width: 0;
    align-self: start;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.gsc-rounds-list-date {
    grid-column: 2;
    grid-row: 1;
    color: #707985;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
}

.gsc-rounds-list-score {
    grid-column: 2;
    grid-row: 2;
    color: #06285a;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    text-align: right;
}

.gsc-rounds-list-row:focus-visible {
    outline: 2px solid var(--gsc-green);
    outline-offset: -2px;
}

.gsc-rounds-modal .gsc-settings-menu-footer {
    flex: 0 0 auto;
    background: #ffffff;
}

.gsc-rounds-modal-close {
    border: 2px solid var(--gsc-green);
    background: #ffffff;
    color: var(--gsc-green);
}

.gsc-rounds-modal-close:hover,
.gsc-rounds-modal-close:focus-visible {
    background: #f4faf3;
}

.gsc-rounds-modal-error {
    padding: 28px 12px;
    color: #9b2c2c;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 390px) {
    .gsc-rounds-list-row {
        column-gap: 10px;
        padding-inline: 2px;
    }

    .gsc-rounds-list-course {
        font-size: 16px;
    }

    .gsc-rounds-list-date {
        font-size: 12px;
    }
}
