.auria-auth-gate {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.auria-auth-gate.open {
    opacity: 1;
    pointer-events: auto;
}

.auria-auth-gate-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(45, 37, 33, .48);
    backdrop-filter: blur(5px);
}

.auria-auth-gate-card {
    position: relative;
    width: min(680px, 100%);
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(180px, .78fr) minmax(0, 1.22fr);
    overflow: hidden;
    border: 1px solid rgba(189, 112, 107, .24);
    border-radius: 8px;
    background: #fffaf8;
    box-shadow: 0 28px 80px rgba(52, 39, 34, .28);
    transform: translateY(12px) scale(.98);
    transition: transform .24s ease;
}

.auria-auth-gate.open .auria-auth-gate-card { transform: none; }

.auria-auth-gate-assistant {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    padding: 26px 8px 0;
    background: #f9e7e3;
}

.auria-auth-gate-card > div {
    align-self: center;
    padding: 48px 42px;
}

.auria-auth-gate-card span {
    display: block;
    margin-bottom: 10px;
    color: #bd706b;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.auria-auth-gate-card h2 {
    margin: 0 0 14px;
    color: #302925;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 500;
    line-height: 1;
}

.auria-auth-gate-card p {
    margin: 0;
    color: #6c5f59;
    font-size: 14px;
    line-height: 1.75;
}

.auria-auth-gate-card nav {
    display: flex;
    gap: 10px;
    margin-top: 26px;
}

.auria-auth-gate-card nav a {
    flex: 1;
    padding: 13px 16px;
    border: 1px solid #cb7b73;
    border-radius: 6px;
    color: #b86761;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.auria-auth-gate-card nav a:first-child {
    background: #cb7b73;
    color: #fff;
}

.auria-auth-gate-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(189, 112, 107, .25);
    border-radius: 50%;
    background: #fff;
    color: #bd706b;
    font-size: 24px;
}

.auria-auth-gate-open { overflow: hidden; }

@media (min-width: 621px) {
    .auria-auth-gate-assistant {
        object-position: center;
        padding: 16px 8px;
    }
}

@media (max-width: 620px) {
    .auria-auth-gate-card {
        width: min(390px, 100%);
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .auria-auth-gate-assistant {
        height: 150px;
        padding-top: 12px;
        object-position: center 18%;
    }

    .auria-auth-gate-card > div { padding: 28px 24px 26px; }
    .auria-auth-gate-card h2 { font-size: 34px; }
    .auria-auth-gate-card nav { flex-direction: column; }
}
