/*
   The shell's own look (plan CORE §3.18), on shadcn-vue's variables (brand.css): the sign-in panel's texture, the
   page header's eyebrow, and the folded sidebar's labels. No colour of its own: everything is a variable.
*/

/* ── The sign-in panel (AuthShell.vue): navy in both modes, Clearance's texture in the panel's own accent ── */
.auth-hero {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(
        135deg,
        var(--hero) 0%,
        color-mix(in srgb, var(--hero-2) 70%, var(--hero)) 60%,
        var(--hero-2) 100%
    );
}
.auth-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(
            circle at 1px 1px,
            color-mix(in srgb, var(--hero-accent) 22%, transparent) 1.2px,
            transparent 1.6px
        ),
        linear-gradient(
            color-mix(in srgb, var(--hero-accent) 7%, transparent) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            color-mix(in srgb, var(--hero-accent) 7%, transparent) 1px,
            transparent 1px
        );
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(
        ellipse 120% 90% at 85% 10%,
        black 30%,
        transparent 85%
    );
    mask-image: radial-gradient(
        ellipse 120% 90% at 85% 10%,
        black 30%,
        transparent 85%
    );
}
.auth-hero::after {
    content: '';
    position: absolute;
    top: -180px;
    inset-inline-end: -160px;
    width: 540px;
    height: 540px;
    pointer-events: none;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--hero-accent) 24%, transparent) 0%,
        transparent 62%
    );
    animation: auth-glow 18s ease-in-out infinite alternate;
}
.auth-tex {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.auth-tex::before {
    content: '';
    position: absolute;
    inset-inline-start: -200px;
    bottom: -240px;
    width: 620px;
    height: 620px;
    background: radial-gradient(
        circle,
        rgba(var(--brand-cobalt-rgb), 0.38) 0%,
        transparent 62%
    );
    animation: auth-glow 22s ease-in-out infinite alternate-reverse;
}
.auth-tex::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        color-mix(in srgb, var(--hero-accent) 4%, transparent) 0 1px,
        transparent 1px 14px
    );
    -webkit-mask-image: linear-gradient(200deg, transparent 45%, black 100%);
    mask-image: linear-gradient(200deg, transparent 45%, black 100%);
}
.auth-tex img {
    position: absolute;
    inset-inline-end: -70px;
    bottom: -60px;
    width: 380px;
    height: auto;
    opacity: 0.06;
    transform: rotate(-8deg);
}
.auth-hero .auth-statement em {
    font-style: normal;
    color: var(--hero-accent);
}
@keyframes auth-glow {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(-40px, 30px) scale(1.12);
    }
}
@media (prefers-reduced-motion: reduce) {
    .auth-hero::after,
    .auth-tex::before {
        animation: none;
    }
}

/* ── The page header's eyebrow: the family's small mono capitals in the accent ── */
.page-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
}

/* ── The folded sidebar names its icons (§3.18): the tooltip reads as the item's own label, bold ── */
.nav-flyout {
    font-weight: 700;
    font-size: 13px;
    padding: 6px 10px;
}

/* Unsubscribing at id (plan NU, NU-9; mockup nu/blocked.html): no sign-in, one press, one press back */
.nu-unsub { max-width: 420px; margin: 0 auto; text-align: center; }
.nu-unsub .ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin: 0 auto 14px; font-size: 24px;
    background: color-mix(in srgb, var(--muted-foreground) 12%, transparent); color: var(--muted-foreground); }
.nu-unsub .ic.on { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.nu-unsub h1 { font-size: 24px; font-weight: 900; letter-spacing: -.02em; margin: 0 0 8px; color: var(--foreground); }
.nu-unsub p { color: var(--muted-foreground); font-size: 14px; line-height: 1.55; margin: 0 0 12px; overflow-wrap: anywhere; }
.nu-unsub .still { text-align: left; background: var(--muted); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--muted-foreground); margin: 14px 0; }
.nu-unsub .still b { color: var(--foreground); }
.nu-unsub .nu-unsub-act { display: flex; justify-content: center; margin-top: 18px; }

/* A quiet page for someone who may have no account (plan NU, NU-9): a bar, the one thing, a footer */
.quiet-shell { min-height: 100svh; display: flex; flex-direction: column; background: var(--background); }
.quiet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.quiet-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 16px 56px; }
.quiet-foot { padding: 16px 20px; font: 500 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); text-align: center; }
