.firebase-passport-mount {
    display: contents;
}

/* ─────────────────────────────────────────────────────────────
   Launch auth modal — modern OAuth sign-in sheet
   ───────────────────────────────────────────────────────────── */

.launchauth {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    isolation: isolate;
    animation: launchauth-fade 340ms var(--ease-out-expo);
}

.launchauth__scrim {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(7, 16, 32, 0.55) 0%, rgba(2, 5, 12, 0.92) 70%),
        rgba(2, 5, 12, 0.72);
    backdrop-filter: blur(22px) saturate(1.1);
    -webkit-backdrop-filter: blur(22px) saturate(1.1);
    cursor: pointer;
}

.launchauth__aurora {
    position: absolute;
    inset: -20%;
    pointer-events: none;
    filter: blur(80px) saturate(1.2);
    opacity: 0.9;
    z-index: 0;
}

.launchauth__orb {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    mix-blend-mode: screen;
    opacity: 0.55;
}

.launchauth__orb--teal {
    top: -180px;
    left: -80px;
    background: radial-gradient(circle, rgba(88, 215, 196, 0.9) 0%, transparent 60%);
    animation: launchauth-drift-a 14s ease-in-out infinite;
}

.launchauth__orb--indigo {
    bottom: -220px;
    right: -120px;
    background: radial-gradient(circle, rgba(139, 156, 255, 0.85) 0%, transparent 62%);
    animation: launchauth-drift-b 18s ease-in-out infinite;
}

.launchauth__orb--amber {
    top: 30%;
    right: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 184, 122, 0.65) 0%, transparent 65%);
    animation: launchauth-drift-c 22s ease-in-out infinite;
}

.launchauth__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.45 0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.55'/></svg>");
}

.launchauth__card {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    padding: 36px 32px 28px;
    border-radius: 26px;
    color: #eef3ff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(160deg, rgba(14, 22, 38, 0.92), rgba(8, 14, 26, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.06) inset,
        0 0 0 1px rgba(8, 14, 26, 0.4),
        0 40px 120px rgba(0, 0, 0, 0.55),
        0 12px 32px rgba(88, 215, 196, 0.08);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    animation: launchauth-rise 420ms var(--ease-out-expo) both;
}

.launchauth__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(155deg, rgba(142, 247, 218, 0.28), rgba(139, 156, 255, 0.12) 40%, transparent 65%, rgba(245, 184, 122, 0.22) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0.9;
}

.launchauth__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(238, 243, 255, 0.7);
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out-expo);
}

.launchauth__close svg { width: 16px; height: 16px; }

.launchauth__close:hover {
    color: #eef3ff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: rotate(90deg);
}

.launchauth__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(238, 243, 255, 0.9);
    opacity: 0;
    animation: launchauth-slide 600ms var(--ease-out-expo) 80ms forwards;
}

.launchauth__spark svg { width: 26px; height: 26px; display: block; }

.launchauth__wordmark {
    font-family: var(--font-display, "Fraunces", serif);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.launchauth__header {
    margin: 22px 0 26px;
    opacity: 0;
    animation: launchauth-slide 600ms var(--ease-out-expo) 160ms forwards;
}

.launchauth__kicker {
    margin: 0 0 10px;
    font-family: var(--font-label, "JetBrains Mono", monospace);
    font-size: 10.5px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(142, 247, 218, 0.85);
    font-weight: 600;
}

.launchauth__title {
    margin: 0 0 10px;
    font-family: var(--font-display, "Fraunces", serif);
    font-size: clamp(1.9rem, 4vw, 2.35rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff 0%, #c4d6f7 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.launchauth__subtitle {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(202, 213, 237, 0.78);
    max-width: 38ch;
}

.launchauth__providers {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
    opacity: 0;
    animation: launchauth-slide 600ms var(--ease-out-expo) 240ms forwards;
}

.launchauth__provider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        transform 220ms var(--ease-out-expo),
        box-shadow 220ms ease,
        background 220ms ease,
        border-color 220ms ease;
}

.launchauth__provider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.16) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 700ms var(--ease-out-expo);
    pointer-events: none;
}

.launchauth__provider:hover:not(:disabled)::after {
    transform: translateX(120%);
}

.launchauth__provider:hover:not(:disabled) {
    transform: translateY(-1px);
}

.launchauth__provider:active:not(:disabled) {
    transform: translateY(0);
}

.launchauth__provider:disabled {
    opacity: 0.55;
    cursor: wait;
}

.launchauth__provider-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.launchauth__provider-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.launchauth__provider-label {
    letter-spacing: -0.003em;
}

.launchauth__provider--apple {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.launchauth__provider--apple:hover:not(:disabled) {
    background: #141414;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.launchauth__provider--google {
    background: #fff;
    color: #1f1f1f;
    border-color: rgba(31, 31, 31, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.launchauth__provider--google:hover:not(:disabled) {
    background: #f7f8fb;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.launchauth__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    color: rgba(202, 213, 237, 0.42);
    font-family: var(--font-label, "JetBrains Mono", monospace);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0;
    animation: launchauth-slide 600ms var(--ease-out-expo) 320ms forwards;
}

.launchauth__divider::before,
.launchauth__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.launchauth__email-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.025);
    color: rgba(238, 243, 255, 0.86);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
    opacity: 0;
    animation: launchauth-slide 600ms var(--ease-out-expo) 400ms forwards;
}

.launchauth__email-toggle:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(142, 247, 218, 0.32);
    color: #fff;
}

.launchauth__email-toggle .launchauth__provider-icon {
    width: 18px;
    height: 18px;
    color: rgba(142, 247, 218, 0.8);
}

.launchauth__panel {
    margin-top: 16px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(4, 9, 18, 0.5);
    animation: launchauth-reveal 280ms var(--ease-out-expo);
}

.launchauth__segment {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 4px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.launchauth__segment-option {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    color: rgba(202, 213, 237, 0.6);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 9px;
    cursor: pointer;
    transition: color 220ms ease;
}

.launchauth__segment-option.is-active {
    color: #fff;
}

.launchauth__segment-thumb {
    position: absolute;
    z-index: 0;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(142, 247, 218, 0.22), rgba(139, 156, 255, 0.22));
    border: 1px solid rgba(142, 247, 218, 0.28);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 320ms var(--ease-out-expo);
}

.launchauth__segment-thumb[data-mode="signup"] {
    transform: translateX(100%);
}

.launchauth__form {
    display: grid;
    gap: 12px;
}

.launchauth__field {
    display: grid;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(202, 213, 237, 0.68);
}

.launchauth__field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #f3f7ff;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.launchauth__field input::placeholder { color: rgba(202, 213, 237, 0.32); }

.launchauth__field input:focus {
    outline: none;
    border-color: rgba(142, 247, 218, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(142, 247, 218, 0.12);
}

.launchauth__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    margin-top: 4px;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(135deg, #8ef7da 0%, #8b9cff 100%);
    color: #061018;
    font: inherit;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.005em;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(142, 247, 218, 0.25), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
    transition: transform 200ms var(--ease-out-expo), box-shadow 200ms ease, filter 200ms ease;
}

.launchauth__submit svg { width: 16px; height: 16px; transition: transform 260ms var(--ease-out-expo); }

.launchauth__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(142, 247, 218, 0.35), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.launchauth__submit:hover:not(:disabled) svg { transform: translateX(3px); }

.launchauth__submit:disabled { opacity: 0.7; cursor: wait; }

.launchauth__error {
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 140, 140, 0.28);
    background: rgba(255, 92, 92, 0.1);
    color: #ffd0d0;
    font-size: 13px;
    font-weight: 500;
}

.launchauth__footer {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    opacity: 0;
    animation: launchauth-slide 600ms var(--ease-out-expo) 480ms forwards;
}

.launchauth__guest {
    border: 0;
    background: none;
    color: rgba(238, 243, 255, 0.78);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0;
    transition: color 180ms ease, letter-spacing 180ms ease;
}

.launchauth__guest:hover {
    color: #fff;
    letter-spacing: 0.005em;
}

.launchauth__fineprint {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.55;
    color: rgba(202, 213, 237, 0.42);
}

.launchauth__fineprint a {
    color: rgba(142, 247, 218, 0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(142, 247, 218, 0.25);
    transition: color 160ms ease, border-color 160ms ease;
}

.launchauth__fineprint a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.launchauth[data-busy="true"] .launchauth__card {
    pointer-events: none;
}

/* ── Motion ───────────────────────────────────────────── */

@keyframes launchauth-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes launchauth-rise {
    from { opacity: 0; transform: translateY(14px) scale(0.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes launchauth-slide {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes launchauth-reveal {
    from { opacity: 0; transform: translateY(-6px); max-height: 0; }
    to   { opacity: 1; transform: translateY(0); max-height: 600px; }
}

@keyframes launchauth-drift-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes launchauth-drift-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-50px, -30px) scale(1.1); }
}

@keyframes launchauth-drift-c {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
    50%      { transform: translate(-30px, 40px) scale(1.15); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
    .launchauth,
    .launchauth__card,
    .launchauth__brand,
    .launchauth__header,
    .launchauth__providers,
    .launchauth__divider,
    .launchauth__email-toggle,
    .launchauth__footer,
    .launchauth__orb--teal,
    .launchauth__orb--indigo,
    .launchauth__orb--amber {
        animation: none !important;
    }
    .launchauth__brand,
    .launchauth__header,
    .launchauth__providers,
    .launchauth__divider,
    .launchauth__email-toggle,
    .launchauth__footer {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .launchauth { padding: 16px; }
    .launchauth__card {
        padding: 30px 22px 22px;
        border-radius: 22px;
    }
    .launchauth__title {
        font-size: 1.75rem;
    }
}

.firebase-passport {
    --passport-bg: linear-gradient(145deg, rgba(9, 14, 26, 0.88), rgba(10, 22, 32, 0.94));
    --passport-border: rgba(255, 255, 255, 0.14);
    --passport-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    color: var(--text);
}

.firebase-passport--hero {
    margin-top: 24px;
    padding: 22px 22px 20px;
    border-radius: 24px;
    border: 1px solid var(--passport-border);
    background:
        radial-gradient(circle at top right, rgba(88, 215, 196, 0.16), transparent 36%),
        radial-gradient(circle at bottom left, rgba(139, 156, 255, 0.14), transparent 38%),
        var(--passport-bg);
    box-shadow: var(--passport-shadow);
    position: relative;
    overflow: hidden;
}

.firebase-passport--compact {
    min-width: min(420px, 92vw);
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(88, 215, 196, 0.2);
    background: linear-gradient(135deg, rgba(7, 14, 24, 0.94), rgba(9, 18, 30, 0.92));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.firebase-passport__head,
.firebase-passport__user,
.firebase-passport__signed-in-actions,
.firebase-passport__panel-actions,
.firebase-passport__mode-switch,
.firebase-passport__actions {
    display: flex;
    align-items: center;
}

.firebase-passport__head,
.firebase-passport__signed-in-actions {
    justify-content: space-between;
    gap: 16px;
}

.firebase-passport__eyebrow {
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-3);
    font-weight: 700;
}

.firebase-passport__title {
    margin: 6px 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    line-height: 1.08;
}

.firebase-passport__copy,
.firebase-passport__meta,
.firebase-passport__identity-meta {
    color: var(--muted);
    line-height: 1.5;
}

.firebase-passport__copy {
    margin: 12px 0 18px;
    max-width: 62ch;
    font-size: 14px;
}

.firebase-passport__actions {
    flex-wrap: wrap;
    gap: 10px;
}

.firebase-passport__provider {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s var(--ease-out-expo), border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.firebase-passport__provider:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(88, 215, 196, 0.42);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.firebase-passport__provider:disabled,
.firebase-passport__mode:disabled {
    opacity: 0.55;
    cursor: wait;
}

.firebase-passport__provider-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.firebase-passport__provider-icon svg {
    width: 18px;
    height: 18px;
}

.firebase-passport__provider--apple {
    color: #f8fbff;
}

.firebase-passport__provider--email {
    border-color: rgba(245, 184, 122, 0.32);
    color: var(--accent-3);
}

.firebase-passport__panel {
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(1, 6, 12, 0.42);
}

.firebase-passport__panel.is-open {
    animation: passportReveal 220ms var(--ease-out-expo);
}

.firebase-passport__mode-switch {
    gap: 8px;
    margin-bottom: 14px;
}

.firebase-passport__mode {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    padding: 8px 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.firebase-passport__mode.is-active {
    border-color: rgba(88, 215, 196, 0.42);
    background: rgba(88, 215, 196, 0.12);
    color: var(--text);
}

.firebase-passport__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.firebase-passport__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.firebase-passport__field input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
}

.firebase-passport__field input:focus {
    outline: 2px solid rgba(88, 215, 196, 0.28);
    outline-offset: 1px;
    border-color: rgba(88, 215, 196, 0.42);
}

.firebase-passport__panel-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 10px;
}

.firebase-passport__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--accent-2);
    background: rgba(255, 255, 255, 0.04);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.firebase-passport__pill--success {
    color: var(--success);
    border-color: rgba(110, 240, 168, 0.24);
}

.firebase-passport__meta {
    margin: 14px 0 0;
    font-size: 12px;
}

.firebase-passport__error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 122, 122, 0.28);
    background: rgba(255, 122, 122, 0.1);
    color: #ffd6d6;
    font-size: 13px;
}

.firebase-passport__user {
    gap: 14px;
}

.firebase-passport__avatar,
.firebase-passport__avatar-image {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    flex-shrink: 0;
}

.firebase-passport__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #071018;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.firebase-passport__avatar-image {
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.firebase-passport__identity {
    min-width: 0;
}

.firebase-passport__identity-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.firebase-passport__identity-meta {
    margin-top: 4px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.firebase-passport__signed-in-actions {
    margin-top: 14px;
    flex-wrap: wrap;
}

@keyframes passportReveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .firebase-passport--compact {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .firebase-passport__form {
        grid-template-columns: 1fr;
    }

    .firebase-passport__head,
    .firebase-passport__signed-in-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}
