.gsc-round-settings-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 18, 45, 0.58);
}

.gsc-round-settings-modal {
    width: min(100%, 420px);
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    box-shadow:
        0 22px 60px rgba(0, 17, 43, 0.28);
}

.gsc-round-settings-header {
    padding: 26px 24px 20px;
    border-bottom: 1px solid #e6ebf2;
    text-align: center;
}

.gsc-round-settings-header h2 {
    margin: 0;
    color: #06285a;
    font-size: 30px;
    font-weight: 700;
}

.gsc-round-settings-content {
    padding: 8px 24px 4px;
}

.gsc-round-settings-group {
    padding: 18px 0;
}

.gsc-round-settings-group + .gsc-round-settings-group {
    border-top: 1px solid #e6ebf2;
}

.gsc-round-settings-group h3 {
    margin: 0 0 10px;
    color: #2e8b24;
    font-size: 17px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gsc-round-settings-row {
    width: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #06285a;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gsc-round-settings-row--subordinate {
    min-height: 52px;
    padding-left: 22px;
    background: #f8f9fa;
}

.gsc-round-settings-row--subordinate
    .gsc-round-settings-label {
    font-size: 17px;
    font-weight: 600;
}

.gsc-round-settings-row--subordinate:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.gsc-round-settings-label {
    font-size: 19px;
    font-weight: 650;
}

.gsc-round-settings-switch {
    position: relative;
    width: 52px;
    height: 30px;
    display: block;
    flex: 0 0 52px;
    border-radius: 999px;
    background: #cfd4dc;
    transition: background 140ms ease;
}

.gsc-round-settings-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 5px rgba(0, 20, 50, 0.28);
    transition: transform 140ms ease;
}

.gsc-round-settings-row[aria-pressed="true"]
    .gsc-round-settings-switch {
    background: #2e8b24;
}

.gsc-round-settings-row[aria-pressed="true"]
    .gsc-round-settings-switch-thumb {
    transform: translateX(22px);
}

.gsc-round-settings-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 24px;
    border-top: 1px solid #e6ebf2;
}

.gsc-round-settings-footer .gsc-button {
    min-height: 58px;
    font-size: 19px;
}

.gsc-round-settings-save:disabled {
    opacity: 0.65;
    cursor: wait;
}

@media (max-width: 390px) {
    .gsc-round-settings-overlay {
        padding: 16px;
    }

    .gsc-round-settings-content {
        padding-inline: 20px;
    }

    .gsc-round-settings-footer {
        gap: 12px;
        padding: 20px;
    }

    .gsc-round-settings-row--subordinate {
        padding-left: 18px;
    }

    .gsc-round-settings-label {
        font-size: 18px;
    }
}
