/* Age-gate overlay: visual only. Page HTML underneath stays in the document for everyone, including search engines. */
#ybd-age-gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    box-sizing: border-box;
    background: #000;
}

html.ybd-age-ok #ybd-age-gate,
#ybd-age-gate.is-cleared {
    display: none !important;
}

body.ybd-age-locked {
    overflow: hidden;
}

.ybd-age-dialog {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    color: #b0b0b0;
    background: transparent;
}

.ybd-age-badge {
    display: inline-block;
    margin: 0 0 28px;
    padding: 7px 18px;
    border: 1px solid #9a9a9a;
    border-radius: 999px;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #cfcfcf;
    line-height: 1.2;
}

.ybd-age-copy {
    margin: 0 0 32px;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #9c9c9c;
    text-align: center;
}

.ybd-age-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ybd-age-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 14px 20px;
    border: 1px solid #8d8d8d;
    border-radius: 999px;
    background: transparent;
    color: #d0d0d0;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.ybd-age-btn:hover,
.ybd-age-btn:focus {
    color: #fff;
    border-color: #c8c8c8;
    outline: none;
}

.ybd-age-btn:focus-visible {
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #c8c8c8;
}

@media (max-width: 768px) {
    #ybd-age-gate {
        padding: 20px 16px;
        align-items: center;
    }
    .ybd-age-dialog {
        max-width: 100%;
    }
    .ybd-age-copy {
        font-size: 0.95rem;
        margin: 0 0 28px;
    }
    .ybd-age-btn {
        padding: 13px 16px;
        min-height: 44px;
    }
}

.ybd-age-title {
    margin: 0 0 20px;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    text-align: center;
}

@media (max-width: 768px) {
    .ybd-age-title {
        font-size: 1.35rem;
    }
}
