/* WS-029 — Age-gate modal styles.
 * Hidden by default via the [hidden] attribute. Activated when JS removes it.
 * Mobile-first, no webfonts, no external assets. Fits inside the AC5 budget. */
#age-gate[hidden] { display: none !important; }
#age-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483600; /* above the WS-028 consent banner */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.age-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}
.age-gate__inner {
    position: relative;
    z-index: 1;
    max-width: 28rem;
    width: 100%;
    background: #fff;
    color: #1a1a1a;
    border-radius: 0.5rem;
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.35);
    padding: 1.5rem;
    outline: none;
}
.age-gate__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
}
.age-gate__body {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.45;
}
.age-gate__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.age-gate-btn {
    flex: 1 1 auto;
    min-width: 9rem;
    padding: 0.625rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
}
.age-gate-btn--confirm {
    background: #1f6feb;
    color: #fff;
}
.age-gate-btn--confirm:hover,
.age-gate-btn--confirm:focus {
    background: #1758c7;
}
.age-gate-btn--deny {
    background: #fff;
    color: #1a1a1a;
    border-color: #d0d7de;
}
.age-gate-btn--deny:hover,
.age-gate-btn--deny:focus {
    background: #f3f4f6;
}
.age-gate-btn:focus-visible {
    outline: 3px solid #4493f8;
    outline-offset: 2px;
}
