.wrs-age-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.wrs-age-modal[hidden] { display: none; }

.wrs-age-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 12, 4, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wrs-age-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--wrs-surface);
    border: 1px solid var(--wrs-green);
    border-radius: var(--wrs-radius);
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(29,224,72,0.25);
    animation: wrsAgePop .22s ease-out;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@keyframes wrsAgePop {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

.wrs-age-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}
.wrs-age-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.wrs-age-title {
    font-size: clamp(22px, 4vw, 28px);
    color: #fff;
    margin: 0;
    line-height: 1.1;
}

.wrs-age-text {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--wrs-text-muted);
    margin: 0;
}

.wrs-age-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--wrs-radius);
    background: rgba(0,0,0,0.2);
    transition: border-color .15s, background .15s;
    user-select: none;
    margin-top: 4px;
}

.wrs-age-checkbox:hover { border-color: var(--wrs-green); }

.wrs-age-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.wrs-age-checkbox-box {
    flex: none;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 5px;
    position: relative;
    transition: background .15s, border-color .15s;
}

.wrs-age-checkbox-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 7px;
    height: 12px;
    border: solid var(--wrs-near-black);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform .15s;
}

.wrs-age-checkbox input:checked ~ .wrs-age-checkbox-box {
    background: var(--wrs-green);
    border-color: var(--wrs-green);
}
.wrs-age-checkbox input:checked ~ .wrs-age-checkbox-box::after { transform: rotate(45deg) scale(1); }

.wrs-age-checkbox input:focus-visible ~ .wrs-age-checkbox-box {
    outline: 2px solid var(--wrs-green);
    outline-offset: 2px;
}

.wrs-age-checkbox-label {
    font-family: 'Bungee', sans-serif;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    text-align: left;
}

.wrs-age-description {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--wrs-text-dim);
    margin: 0;
}

.wrs-age-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.wrs-age-actions .wrs-btn {
    min-width: 220px;
}

.wrs-age-actions .wrs-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

@media (max-width: 480px) {
    .wrs-age-card { padding: 24px 20px; gap: 14px; }
    .wrs-age-actions .wrs-btn { width: 100%; min-width: 0; }
}
