.game-settings-popup {
    position: fixed;
    z-index: 1000001;
    width: 190px;
    background: #2a4556;
    border: 1px solid #3d6073;
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
    padding: 8px 0;
    color: #e7f3fb;
    font-family: "Space Grotesk", sans-serif;
}

.game-settings-row {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.game-settings-row + .game-settings-row {
    border-top: 1px solid rgba(88, 120, 140, 0.3);
}

.game-settings-label {
    font-size: 14px;
    font-weight: 600;
    color: #d7e6f1;
}

.game-settings-note {
    color: #9cb3c2;
    font-size: 12px;
    padding: 10px 12px 4px;
}

.game-settings-switch {
    position: relative;
    width: 42px;
    height: 24px;
    flex: 0 0 auto;
}

.game-settings-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.game-settings-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #1a3140;
    border: 1px solid #446478;
    cursor: pointer;
    transition: background-color 0.16s;
}

.game-settings-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 2px;
    border-radius: 999px;
    background: #d0e3ef;
    transition: transform 0.16s;
}

.game-settings-switch input:checked + .game-settings-slider {
    background: #256ea7;
}

.game-settings-switch input:checked + .game-settings-slider::before {
    transform: translateX(18px);
}
