.sg-age-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: color-mix(in srgb, var(--sg-age-bg) 94%, transparent);
    backdrop-filter: blur(10px);
}

.sg-age-gate__panel {
    width: min(100%, 520px);
    padding: 34px;
    border-radius: 22px;
    background: var(--sg-age-panel);
    color: var(--sg-age-text);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
    text-align: center;
    font-family: inherit;
}

.sg-age-gate__panel h2 {
    margin: 0 0 14px;
    color: var(--sg-age-text);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.1;
}

.sg-age-gate__panel p {
    margin: 0 0 26px;
    color: var(--sg-age-text);
    font-size: 17px;
    line-height: 1.55;
}

.sg-age-gate__actions {
    display: grid;
    gap: 12px;
}

.sg-age-gate button {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: transform .18s ease, opacity .18s ease;
}

.sg-age-gate button:hover,
.sg-age-gate button:focus {
    transform: translateY(-1px);
    opacity: .92;
}

.sg-age-gate__accept {
    background: var(--sg-age-button);
    color: var(--sg-age-button-text);
}

.sg-age-gate__reject {
    background: transparent;
    color: var(--sg-age-text);
    outline: 1px solid color-mix(in srgb, var(--sg-age-text) 24%, transparent);
}

body.sg-age-gate-is-visible {
    overflow: hidden;
}
