html.lb-age-gate-open,
body.lb-age-gate-open {
    overflow: hidden !important;
}

.lb-age-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 32px 20px;
    background: var(--lb-age-gate-bg, #ed002d);
    color: #fff;
}

.lb-age-gate.is-visible {
    display: flex;
}

.lb-age-gate__inner {
    width: min(760px, 100%);
    text-align: center;
}

.lb-age-gate__logo {
    display: block;
    width: min(200px, 42vw);
    max-height: 150px;
    object-fit: contain;
    margin: 0 auto 34px;
}

.lb-age-gate__title {
    margin: 0 0 34px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.lb-age-gate__panel[hidden] {
    display: none !important;
}

.lb-age-gate__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.lb-age-gate__button {
    appearance: none;
    min-width: 120px;
    border: 3px solid #fff;
    border-radius: 999px;
    padding: 10px 28px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.lb-age-gate__button:hover,
.lb-age-gate__button:focus-visible {
    background: #fff;
    color: var(--lb-age-gate-bg, #ed002d);
    outline: none;
}

.lb-age-gate__button:active {
    transform: translateY(1px);
}

.lb-age-gate__dob-intro {
    margin: -2px 0 16px;
    color: #fff;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 800;
}

.lb-age-gate__dob-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(560px, 100%);
    margin: 0 auto 12px;
}

.lb-age-gate__dob-fields select {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 8px 42px 8px 18px;
    background-color: #fff;
    color: #111;
    font: inherit;
    font-size: 16px;
    cursor: pointer;
}

.lb-age-gate__submit {
    min-width: 220px;
}

.lb-age-gate__error {
    min-height: 24px;
    margin: 14px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 640px) {
    .lb-age-gate {
        padding: 24px 16px;
    }

    .lb-age-gate__logo {
        margin-bottom: 26px;
    }

    .lb-age-gate__title {
        margin-bottom: 28px;
        font-size: clamp(34px, 12vw, 52px);
    }

    .lb-age-gate__dob-fields {
        grid-template-columns: 1fr;
        width: min(360px, 100%);
    }

    .lb-age-gate__dob-fields select {
        min-height: 50px;
    }

    .lb-age-gate__submit {
        width: min(360px, 100%);
        margin-top: 4px;
    }
}

/* Prevent a flash of the site while the age-gate decision is being resolved. */
html.lb-age-gate-preload {
    overflow: hidden !important;
}

html.lb-age-gate-preload .lb-age-gate {
    display: flex !important;
}
