/* Shown before any public page. The lock rules are here, in a stylesheet
   linked from the head, so the rest of the page is not painted first. */
html:not(.age-ok) body {
    overflow: hidden;
}

html:not(.age-ok) body > *:not(#age-gate) {
    visibility: hidden;
}

.age-gate {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: #1b081c;
    overflow: auto;
    font-family: "Lato", "Nunito", sans-serif;
}

html.age-ok .age-gate {
    display: none;
}

.age-gate__box {
    box-sizing: border-box;
    width: min(460px, 100%);
    margin: auto;
    padding: 28px 22px 22px;
    text-align: center;
    color: #fff;
    background: #3d1b40;
    border: 2px solid #ec9faa;
    border-radius: 12px;
}

.age-gate__mark {
    width: 96px;
    height: auto;
    margin-bottom: 8px;
}

.age-gate__box h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1.2;
}

.age-gate__box p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.45;
}

.age-gate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.age-gate__enter,
.age-gate__exit {
    display: inline-block;
    margin: 0;
    padding: 8px 22px;
    border-radius: 3px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.age-gate__enter {
    border: none;
    color: #fff;
    background: #ec9faa;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}

.age-gate__exit {
    border: 2px solid #ec9faa;
    color: #ec9faa;
    background: transparent;
}

.age-gate__enter:hover,
.age-gate__exit:hover {
    color: #3d1b40;
    background: #ec9faa;
}

.age-gate__box p.age-gate__fine {
    margin: 16px 0 0;
    font-size: 0.85rem;
}

.age-gate a {
    color: #ec9faa;
    text-decoration: underline;
}

.age-gate a:hover {
    color: #fff;
}
