:root {
    color-scheme: light;
    --ink: #22302d;
    --muted: #77847f;
    --line: #dce8e4;
    --paper: #ffffff;
    --wash: #f5faf8;
    --wash-strong: #eef6f3;
    --blue: #6f9ff2;
    --green: #72c7a4;
    --rose: #e8a0af;
    --shadow: 0 24px 70px rgba(59, 86, 80, .13);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background:
            radial-gradient(circle at 18% 10%, rgba(111, 159, 242, .17), transparent 24rem),
            radial-gradient(circle at 88% 84%, rgba(114, 199, 164, .18), transparent 28rem),
            linear-gradient(135deg, #fbfefd 0%, #eef7f4 100%);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

label {
    display: grid;
    gap: .45rem;
    color: var(--muted);
    font-size: .84rem;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    color: var(--ink);
    outline: none;
    padding: .82rem .92rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

textarea {
    min-height: 108px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(111, 159, 242, .15);
    background: white;
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 2rem;
}

.auth-shell {
    width: min(1060px, 100%);
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    border: 1px solid rgba(220, 232, 228, .9);
    border-radius: 24px;
    background: rgba(255, 255, 255, .58);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
}

.mascot-panel {
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, #f5fbfa, #e8f4f8 48%, #f7f1f5);
    border-right: 1px solid var(--line);
}

.mascot-stage {
    position: relative;
    width: min(420px, 85%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.soft-ring {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(111, 159, 242, .22);
}

.ring-one {
    inset: 8%;
}

.ring-two {
    inset: 23%;
    border-color: rgba(114, 199, 164, .24);
}

.mascot {
    position: relative;
    width: 230px;
    height: 310px;
    transform-origin: 50% 90%;
    transition: transform .3s ease;
}

.head {
    position: absolute;
    left: 35px;
    top: 34px;
    width: 160px;
    height: 145px;
    border-radius: 48% 48% 44% 44%;
    background: linear-gradient(160deg, #fff7ed, #f3d5c7);
    border: 1px solid rgba(142, 109, 95, .18);
    box-shadow: 0 18px 36px rgba(137, 113, 100, .16);
    z-index: 2;
}

.hair {
    position: absolute;
    top: 20px;
    width: 92px;
    height: 74px;
    background: #384a48;
    z-index: 3;
}

.hair-left {
    left: 32px;
    border-radius: 60% 38% 48% 30%;
    transform: rotate(-16deg);
}

.hair-right {
    right: 32px;
    border-radius: 38% 60% 30% 48%;
    transform: rotate(16deg);
}

.ear {
    position: absolute;
    top: 90px;
    width: 28px;
    height: 42px;
    border-radius: 999px;
    background: #f1d2c2;
    z-index: 1;
}

.ear-left {
    left: 20px;
}

.ear-right {
    right: 20px;
}

.eye {
    position: absolute;
    top: 66px;
    width: 32px;
    height: 26px;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(46, 61, 58, .08);
}

.eye-left {
    left: 39px;
}

.eye-right {
    right: 39px;
}

.eye span {
    position: absolute;
    width: 12px;
    height: 12px;
    left: 10px;
    top: 7px;
    border-radius: 999px;
    background: #23302d;
    transition: transform .12s ease;
}

.mascot.blink .eye {
    height: 4px;
    top: 77px;
}

.mascot.blink .eye span {
    opacity: 0;
}

.brow {
    position: absolute;
    top: 50px;
    width: 30px;
    height: 8px;
    border-radius: 999px;
    background: #40514f;
}

.brow-left {
    left: 40px;
    transform: rotate(-8deg);
}

.brow-right {
    right: 40px;
    transform: rotate(8deg);
}

.nose {
    position: absolute;
    top: 89px;
    left: 75px;
    width: 10px;
    height: 13px;
    border-radius: 999px;
    background: rgba(216, 141, 123, .42);
}

.mouth {
    position: absolute;
    top: 114px;
    left: 68px;
    width: 25px;
    height: 10px;
    border-bottom: 3px solid #bc7773;
    border-radius: 0 0 999px 999px;
}

.body {
    position: absolute;
    left: 43px;
    bottom: 20px;
    width: 144px;
    height: 145px;
    border-radius: 48px 48px 36px 36px;
    background: linear-gradient(160deg, #b8d8ed, #6f9ff2);
    box-shadow: 0 24px 44px rgba(71, 105, 161, .18);
}

.scarf {
    position: absolute;
    z-index: 4;
    left: 55px;
    top: 166px;
    width: 120px;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e8a0af, #f2c3bd);
}

.hand {
    position: absolute;
    z-index: 5;
    top: 190px;
    width: 48px;
    height: 62px;
    border-radius: 999px;
    background: #f2d2c1;
    transition: transform .35s ease;
}

.hand-left {
    left: 28px;
    transform: rotate(24deg);
}

.hand-right {
    right: 28px;
    transform: rotate(-24deg);
}

.mascot.shy .head {
    transform: rotate(-7deg) translateX(-7px);
}

.mascot.shy .hand-left {
    transform: rotate(12deg) translate(20px, -45px);
}

.mascot.shy .hand-right {
    transform: rotate(-12deg) translate(-20px, -45px);
}

.auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.brand-mark {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: 0;
}

.auth-tabs {
    display: flex;
    gap: .5rem;
    padding: .35rem;
    border-radius: 10px;
    background: var(--wash-strong);
}

.tab {
    flex: 1;
    border-radius: 8px;
    padding: .75rem .6rem;
    background: transparent;
    color: var(--muted);
}

.tab.active {
    color: var(--ink);
    background: white;
    box-shadow: 0 8px 22px rgba(76, 100, 95, .12);
}

.auth-form {
    display: none;
    gap: 1rem;
}

.auth-form.active {
    display: grid;
}

.inline-field {
    display: grid;
    grid-template-columns: 1fr 104px;
    gap: .75rem;
    align-items: end;
}

.primary-button,
.ghost-button,
.compact-form button,
.composer button,
.publish-panel button {
    border-radius: 8px;
    padding: .86rem 1rem;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--green));
    box-shadow: 0 14px 30px rgba(111, 159, 242, .22);
}

.ghost-button {
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
    box-shadow: none;
}

.full {
    width: 100%;
}

.toast {
    min-height: 1.2rem;
    color: var(--muted);
}

.app-page {
    padding: 1rem;
}

.app-shell {
    height: calc(100vh - 2rem);
    display: grid;
    grid-template-columns: 260px 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow);
}

.sidebar {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-right: 1px solid var(--line);
    background: rgba(246, 251, 249, .88);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #cfe0f8, #cdeedc);
}

.user-chip span {
    display: block;
    color: var(--muted);
    font-size: .82rem;
}

.role-badge {
    width: fit-content;
    margin-top: .22rem;
    padding: .12rem .45rem;
    border-radius: 999px;
    background: #eef4f1;
    color: #5a6b65;
    font-size: .7rem;
    font-weight: 800;
}

.role-badge.admin {
    background: #f1ebff;
    color: #6636e4;
}

.rail {
    display: grid;
    gap: .5rem;
}

.rail-button,
.icon-button {
    border-radius: 8px;
    padding: .8rem;
    text-align: left;
    color: var(--muted);
    background: transparent;
}

.rail-button.active,
.rail-button:hover,
.icon-button:hover {
    color: var(--ink);
    background: white;
}

.workspace {
    display: none;
    min-width: 0;
    height: 100%;
}

.workspace.active {
    display: grid;
}

#chatView {
    grid-template-columns: 330px 1fr;
}

.list-pane,
.chat-pane,
.panel,
.publish-panel,
.profile-editor {
    min-width: 0;
    padding: 1rem;
}

.list-pane {
    border-right: 1px solid var(--line);
}

.pane-head,
.chat-head {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

h1 {
    margin: 0;
    font-size: 1.25rem;
}

.stack-list,
.feed-list,
.message-list {
    display: grid;
    gap: .75rem;
    align-content: start;
}

.message-list {
    height: calc(100vh - 176px);
    overflow: auto;
    padding: 1rem 0;
}

.list-item,
.feed-card,
.message-bubble {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: .82rem;
}

.message-bubble.me {
    justify-self: end;
    background: #eaf4ff;
}

.chat-image {
    display: block;
    max-width: min(260px, 70vw);
    border-radius: 8px;
}

.compact-form,
.composer,
.publish-panel,
.profile-editor {
    display: grid;
    gap: .75rem;
}

.composer {
    grid-template-columns: 1fr 120px 88px;
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
}

.feed-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 1rem;
    padding: 1rem;
    overflow: auto;
}

.profile-editor {
    width: min(720px, 100%);
}

.profile-cover {
    height: 210px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d9e8ff, #def2e9 55%, #f5dfe5);
}

@media (max-width: 860px) {
    .auth-shell,
    .app-shell,
    #chatView,
    .panel-grid,
    .feed-layout {
        grid-template-columns: 1fr;
    }

    .mascot-panel {
        min-height: 280px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .app-shell {
        height: auto;
        min-height: calc(100vh - 2rem);
    }

    .sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .rail {
        grid-template-columns: repeat(4, 1fr);
    }

    .rail-button {
        text-align: center;
    }

    .composer,
    .inline-field {
        grid-template-columns: 1fr;
    }
}

/* Premium auth illustration inspired by the selected peeking-character direction. */
.premium-auth {
    width: min(1240px, calc(100vw - 2rem));
    min-height: min(760px, calc(100vh - 2rem));
    grid-template-columns: 1.08fr .92fr;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(30, 38, 54, .16);
}

.premium-mascot-panel {
    position: relative;
    overflow: hidden;
    background:
            radial-gradient(circle at 20% 82%, rgba(26, 32, 48, .95) 0 28%, transparent 28.4%),
            linear-gradient(145deg, #333b4c 0%, #697287 52%, #9aa3b6 100%);
    border-right: 1px solid #e7e9f0;
}

.peek-stage {
    position: relative;
    width: min(620px, 92%);
    height: min(620px, 86vh);
    transform-style: preserve-3d;
}

.ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(34px);
    opacity: .42;
}

.ambient-a {
    width: 260px;
    height: 260px;
    right: -50px;
    top: 60px;
    background: #f0f4ff;
}

.ambient-b {
    width: 230px;
    height: 230px;
    left: 40px;
    bottom: 60px;
    background: #2f3548;
}

.cover-card {
    position: absolute;
    overflow: hidden;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .18), 0 28px 60px rgba(13, 18, 31, .26);
    transition: transform .45s ease;
}

.purple-card {
    left: 185px;
    top: 120px;
    width: 224px;
    height: 260px;
    border-radius: 22px 94px 22px 22px;
    background:
            linear-gradient(150deg, rgba(255,255,255,.16), transparent 42%),
            linear-gradient(145deg, #8e63df, #5e35b4);
}

.black-card {
    left: 340px;
    top: 280px;
    width: 205px;
    height: 248px;
    border-radius: 20px 20px 0 0;
    background:
            linear-gradient(150deg, rgba(255,255,255,.08), transparent 38%),
            linear-gradient(145deg, #2e3038, #14161d);
    z-index: 5;
}

.yellow-card {
    left: 456px;
    top: 420px;
    width: 165px;
    height: 260px;
    border-radius: 20px 20px 0 0;
    background:
            linear-gradient(150deg, rgba(255,255,255,.22), transparent 42%),
            linear-gradient(145deg, #f5d94f, #d5ad1f);
    z-index: 8;
}

.cover-orbit {
    position: absolute;
    border-radius: 999px;
    background:
            linear-gradient(145deg, rgba(255,255,255,.08), transparent 36%),
            linear-gradient(145deg, #43495a, #252a37);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.12), 0 30px 80px rgba(8, 12, 22, .38);
}

.cover-orbit-left {
    left: -170px;
    bottom: -205px;
    width: 480px;
    height: 480px;
    z-index: 9;
}

.cover-orbit-front {
    left: -200px;
    bottom: -170px;
    width: 455px;
    height: 455px;
    z-index: 12;
}

.peeper {
    position: absolute;
    width: 126px;
    height: 126px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    transition: transform .45s cubic-bezier(.2,.85,.2,1), opacity .3s;
}

.peeper-purple {
    left: 58px;
    top: 112px;
    background: radial-gradient(circle at 35% 26%, #b596ff, #7547d8 72%);
}

.peeper-black {
    left: 78px;
    top: 62px;
    background: radial-gradient(circle at 35% 24%, #4f5159, #191b22 70%);
}

.peeper-yellow {
    left: 42px;
    top: -74px;
    background: radial-gradient(circle at 34% 25%, #ffe778, #e6bf27 70%);
}

.peeper-coral {
    left: 220px;
    top: 335px;
    background: radial-gradient(circle at 35% 25%, #ffbe8b, #f2773f 72%);
    z-index: 10;
}

.peeper-face {
    position: relative;
    width: 82px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.peek-stage .eye {
    position: relative;
    inset: auto;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #fbfbff;
    box-shadow: inset 0 0 0 1px rgba(20, 24, 34, .12), 0 4px 12px rgba(8, 10, 18, .12);
}

.peek-stage .eye span {
    position: absolute;
    width: 13px;
    height: 13px;
    left: 8px;
    top: 8px;
    border-radius: 999px;
    background: #171b22;
    transition: transform .12s ease, opacity .12s ease;
}

.peeper-brow {
    position: absolute;
    top: -10px;
    width: 23px;
    height: 5px;
    border-radius: 999px;
    background: #191b22;
}

.peeper-purple .peeper-brow,
.peeper-yellow .peeper-brow {
    background: #171b22;
}

.brow-a {
    left: 7px;
    transform: rotate(7deg);
}

.brow-b {
    right: 7px;
    transform: rotate(-7deg);
}

.peek-stage.blink .eye {
    height: 5px;
    margin-top: 12px;
}

.peek-stage.blink .eye span {
    opacity: 0;
}

.peeper.blinking .eye {
    height: 2px;
    margin-top: 8px;
}

.peeper.blinking .eye span {
    opacity: 0;
}

.peek-stage.shy .purple-card {
    transform: translateY(18px) rotate(-2deg);
}

.peek-stage.shy .black-card {
    transform: translateY(-20px) rotate(1deg);
}

.peek-stage.shy .yellow-card {
    transform: translateY(-32px) rotate(-1deg);
}

.peek-stage.shy .peeper {
    transform: translateY(18px) scale(.96);
}

.peek-caption {
    position: absolute;
    left: 192px;
    bottom: 32px;
    z-index: 14;
    color: rgba(255,255,255,.72);
    font-size: .86rem;
    letter-spacing: 0;
}

.premium-auth-card {
    padding: clamp(2rem, 6vw, 5.8rem);
    justify-content: center;
    gap: 1.35rem;
    background:
            radial-gradient(circle at 24% 18%, rgba(123, 94, 230, .05), transparent 22rem),
            #ffffff;
}

.auth-copy {
    display: grid;
    gap: .35rem;
    margin-bottom: .35rem;
}

.eyebrow {
    margin: 0;
    color: #7657e6;
    font-weight: 700;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.auth-copy h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4.4vw, 3.15rem);
    line-height: 1.04;
    color: #12182a;
    letter-spacing: 0;
}

.auth-copy p:last-child {
    margin: 0;
    color: #8b93a7;
    font-size: 1rem;
}

.premium-auth .auth-tabs {
    width: 100%;
    padding: .25rem;
    border-radius: 12px;
    background: #f2f4f8;
}

.premium-auth .tab {
    border-radius: 9px;
    color: #81899c;
    font-weight: 600;
}

.premium-auth .tab.active {
    color: #171b2b;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(35, 41, 59, .08);
}

.premium-auth .auth-form {
    gap: 1rem;
}

.input-wrap {
    position: relative;
    display: block;
}

.input-wrap::before {
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: #8b93a7;
    font-size: 1rem;
    z-index: 1;
}

.user-icon::before {
    content: "@";
}

.lock-icon::before {
    content: "□";
}

.mail-icon::before {
    content: "✉";
}

.code-icon::before {
    content: "#";
}

.sparkle-icon::before {
    content: "*";
}

.premium-auth input,
.premium-auth select {
    min-height: 54px;
    padding-left: 3rem;
    border-radius: 12px;
    border-color: #dde1ea;
    background: #ffffff;
    color: #171b2b;
}

.premium-auth input::placeholder {
    color: #a0a7b7;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.remember-line {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: .55rem;
    color: #727b91;
}

.remember-line input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    accent-color: #6a45df;
}

.link-button {
    background: transparent;
    color: #6a45df;
    padding: .4rem 0;
    font-weight: 600;
}

.premium-auth .primary-button {
    min-height: 58px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6d46e9, #6236df);
    box-shadow: 0 18px 38px rgba(99, 57, 224, .25);
    font-weight: 800;
}

.premium-auth .ghost-button,
.outline-action {
    min-height: 54px;
    border-radius: 12px;
    border: 1px solid #dde1ea;
    background: #ffffff;
    color: #171b2b;
    box-shadow: none;
    font-weight: 700;
}

.divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    color: #9aa2b4;
    font-size: .9rem;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    background: #e4e7ee;
}

.premium-auth .toast {
    color: #7657e6;
    min-height: 1.4rem;
}

@media (max-width: 920px) {
    .premium-auth {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .premium-mascot-panel {
        min-height: 420px;
        border-right: 0;
        border-bottom: 1px solid #e7e9f0;
    }

    .peek-stage {
        width: min(520px, 94vw);
        height: 420px;
        transform: scale(.8);
    }
}

/* CareerCompass-style split remake, customized for WhisperChat. */
.auth-page {
    padding: 0;
    background: #ffffff;
}

.premium-auth {
    width: 100vw;
    min-height: 100vh;
    grid-template-columns: 1fr 1fr;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
}

.premium-mascot-panel {
    align-items: stretch;
    justify-items: stretch;
    background:
            radial-gradient(circle at 52% 54%, rgba(113, 123, 142, .76), transparent 19rem),
            linear-gradient(145deg, #939cab 0%, #6d7788 58%, #566172 100%);
}

.auth-brand-lockup {
    position: absolute;
    left: 3.1rem;
    top: 3.2rem;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #ffffff;
    font-size: 1.08rem;
}

.brand-symbol {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #111827;
    color: #ffffff;
    font-size: .82rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(20, 24, 35, .26);
}

.auth-legal {
    position: absolute;
    left: 3.1rem;
    bottom: 3rem;
    z-index: 30;
    display: flex;
    gap: 2.2rem;
    color: rgba(24, 31, 45, .48);
    font-size: .92rem;
}

.peek-stage {
    position: absolute;
    left: 50%;
    top: 53%;
    width: 560px;
    height: 520px;
    transform: translate(-50%, -50%);
}

.ambient-a,
.ambient-b,
.cover-orbit-left,
.cover-orbit-front,
.peek-caption {
    display: none;
}

.cover-card {
    box-shadow: 0 28px 70px rgba(27, 34, 49, .12);
    overflow: visible;
}

.purple-card {
    left: 136px;
    top: 88px;
    width: 190px;
    height: 330px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, #6f3df1 0%, #6636e4 100%);
    z-index: 2;
}

.black-card {
    left: 306px;
    top: 182px;
    width: 120px;
    height: 310px;
    border-radius: 8px 8px 0 0;
    background: #252525;
    z-index: 5;
}

.yellow-card {
    left: 382px;
    top: 280px;
    width: 152px;
    height: 218px;
    border-radius: 78px 78px 0 0;
    background: #eddf4c;
    z-index: 7;
}

.peeper {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.peeper-purple {
    left: 50px;
    top: 38px;
}

.peeper-black {
    left: 28px;
    top: 36px;
}

.peeper-yellow {
    left: 30px;
    top: 40px;
}

.peeper-coral {
    left: 54px;
    top: 318px;
    width: 250px;
    height: 180px;
    z-index: 8;
    border-radius: 130px 130px 0 0;
    display: grid;
    place-items: start center;
    padding-top: 72px;
    background: #ff9964;
}

.peeper-face {
    width: 74px;
    height: 46px;
    gap: 18px;
}

.peek-stage .eye {
    width: 18px;
    height: 18px;
    background: #f7f8fb;
    box-shadow: none;
}

.peek-stage .eye span {
    width: 7px;
    height: 7px;
    left: 5.5px;
    top: 5.5px;
    background: #20242d;
}

.peeper-coral .eye,
.peeper-yellow .eye {
    background: #20242d;
}

.peeper-coral .eye span,
.peeper-yellow .eye span {
    opacity: 0;
}

.peeper-brow {
    width: 24px;
    height: 4px;
    top: -12px;
    background: #151923;
}

.peeper-yellow .peeper-brow {
    top: 30px;
    width: 82px;
    height: 4px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.peeper-yellow .brow-b {
    display: none;
}

.peek-stage.shy .purple-card {
    transform: translateY(18px);
}

.peek-stage.shy .black-card {
    transform: translateY(-18px);
}

.peek-stage.shy .yellow-card {
    transform: translateY(-22px);
}

.peek-stage.shy .peeper-coral {
    transform: translateY(24px);
}

.premium-auth-card {
    width: min(420px, calc(100vw - 3rem));
    justify-self: center;
    align-self: center;
    padding: 0;
    gap: 1.45rem;
    background: transparent;
}

.premium-auth .eyebrow {
    display: none;
}

.auth-copy {
    text-align: center;
    gap: .7rem;
    margin-bottom: .4rem;
}

.auth-copy h1 {
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 900;
    color: #030712;
}

.auth-copy p:last-child {
    color: #5e6d86;
}

.premium-auth .auth-tabs {
    background: #f3f5f9;
    border-radius: 16px;
}

.premium-auth input,
.premium-auth select {
    min-height: 48px;
    border-radius: 999px;
    border-color: #e1e6ee;
    padding-left: 3.05rem;
}

.premium-auth .inline-field {
    grid-template-columns: 1fr 108px;
}

.premium-auth .primary-button,
.premium-auth .ghost-button,
.outline-action {
    min-height: 48px;
    border-radius: 999px;
}

.premium-auth .primary-button {
    background: #ffffff;
    color: #030712;
    border: 1px solid #dce3ed;
    box-shadow: none;
}

.premium-auth .primary-button:hover,
.outline-action:hover,
.premium-auth .ghost-button:hover {
    border-color: #6f3df1;
    box-shadow: 0 12px 28px rgba(111, 61, 241, .12);
}

.outline-action {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #7545ee, #5e35d8);
    box-shadow: 0 16px 32px rgba(111, 61, 241, .2);
}

.form-row {
    font-size: .94rem;
}

.link-button {
    color: #1b21a8;
}

@media (max-width: 920px) {
    .premium-auth {
        grid-template-columns: 1fr;
    }

    .premium-mascot-panel {
        min-height: 390px;
    }

    .peek-stage {
        top: 56%;
        transform: translate(-50%, -50%) scale(.72);
    }

    .auth-brand-lockup {
        left: 1.4rem;
        top: 1.4rem;
    }

    .auth-legal {
        display: none;
    }

    .premium-auth-card {
        padding: 2rem 0 2.6rem;
    }
}

/* Full interaction layer: tracking, typing lean, password privacy, and hover buttons. */
.lock-icon::before {
    content: "□";
}

.mail-icon::before {
    content: "@";
}

.peek-stage .eye,
.peeper-coral .eye,
.peeper-yellow .eye {
    background: #f7f8fb;
}

.peek-stage .eye span,
.peeper-coral .eye span,
.peeper-yellow .eye span {
    opacity: 1;
}

.cover-card,
.peeper-coral,
.peeper-face {
    transition: transform .42s cubic-bezier(.2, .85, .2, 1), opacity .18s ease;
}

.peek-stage.identity-typing .purple-card {
    transform-origin: bottom center;
    transform: skewX(12deg) translateX(34px) scaleY(1.08);
}

.peek-stage.identity-typing .black-card {
    transform-origin: bottom center;
    transform: skewX(8deg) translateX(26px) scaleY(1.06);
}

.peek-stage.identity-typing .yellow-card {
    transform-origin: bottom center;
    transform: skewX(6deg) translateX(22px) scaleY(1.05);
}

.peek-stage.identity-typing .peeper-coral {
    transform-origin: bottom center;
    transform: skewX(10deg) translateX(30px) scaleY(1.06);
}

.peek-stage.password-secret .purple-card {
    transform-origin: bottom center;
    transform: skewX(-10deg) translateX(-18px) scaleY(1.05);
}

.peek-stage.password-secret .black-card {
    transform-origin: bottom center;
    transform: skewX(-7deg) translateX(-14px) scaleY(1.04);
}

.peek-stage.password-secret .yellow-card {
    transform-origin: bottom center;
    transform: skewX(-5deg) translateX(-12px) scaleY(1.03);
}

.peek-stage.password-secret .peeper-coral {
    transform-origin: bottom center;
    transform: skewX(-9deg) translateX(-20px) scaleY(1.04);
}

.peek-stage.password-secret:not(.password-peeking) .peeper-face {
    transform: translateX(-9px);
}

.peek-stage.password-peeking .purple-card {
    transform: skewX(8deg) translateX(26px) scaleY(1.05);
}

.peek-stage.password-peeking .black-card {
    transform: skewX(6deg) translateX(20px) scaleY(1.04);
}

.peek-stage.password-peeking .yellow-card {
    transform: skewX(5deg) translateX(18px) scaleY(1.03);
}

.peek-stage.password-peeking .peeper-coral {
    transform: skewX(8deg) translateX(24px) scaleY(1.04);
}

.peek-stage.password-peeking .peeper-face {
    transform: translateX(10px);
}

.password-wrap input {
    padding-right: 3.25rem;
}

.password-toggle {
    position: absolute;
    right: .7rem;
    top: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 999px;
    background: transparent;
    color: #6d7587;
    font-size: 1rem;
    transition: background .2s, color .2s, transform .2s;
}

.password-toggle:hover {
    background: #eef2f8;
    color: #111827;
}

.interactive-hover {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.interactive-hover .idle-label,
.interactive-hover .hover-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, opacity .3s ease;
}

.interactive-hover .hover-label {
    position: absolute;
    inset: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #7545ee, #5e35d8);
    opacity: 0;
    transform: translateY(105%);
    z-index: -1;
}

.interactive-hover:hover .idle-label {
    transform: translateX(48px);
    opacity: 0;
}

.interactive-hover:hover .hover-label {
    opacity: 1;
    transform: translateY(0);
}

.outline-action .hover-label {
    background: #111827;
}

/* Size and emotion tuning requested after visual review. */
.peek-stage {
    width: 680px;
    height: 610px;
    top: 55%;
    transition: transform .42s cubic-bezier(.2, .85, .2, 1);
}

.peek-stage.password-secret {
    transform: translate(calc(-50% - 34px), -50%) rotate(-2.4deg);
}

.purple-card {
    left: 122px;
    top: 64px;
    width: 248px;
    height: 400px;
    transform: skewX(var(--body-skew, 0deg));
}

.black-card {
    left: 346px;
    top: 178px;
    width: 156px;
    height: 350px;
    transform: skewX(var(--body-skew, 0deg));
}

.yellow-card {
    left: 442px;
    top: 292px;
    width: 190px;
    height: 260px;
    border-radius: 96px 96px 0 0;
    transform: skewX(var(--body-skew, 0deg));
}

.peeper-coral {
    left: 36px;
    top: 318px;
    width: 330px;
    height: 238px;
    border-radius: 170px 170px 0 0;
    padding-top: 104px;
    transform: skewX(var(--body-skew, 0deg));
}

.peeper-purple {
    left: 64px;
    top: 54px;
}

.peeper-black {
    left: 38px;
    top: 42px;
}

.peeper-yellow {
    left: 42px;
    top: 44px;
}

.peeper-face {
    width: 98px;
    height: 62px;
    gap: 18px;
}

.peek-stage .eye {
    width: 26px;
    height: 26px;
}

.peek-stage .eye span {
    width: 10px;
    height: 10px;
    left: 8px;
    top: 8px;
    transition: transform .1s ease-out, opacity .12s ease;
}

.peeper.blinking .eye {
    height: 2px;
    margin-top: 12px;
}

.peeper-brow {
    width: 30px;
    height: 5px;
    top: -14px;
}

.peeper-yellow .peeper-brow {
    top: 34px;
    width: 98px;
}

.peek-stage.identity-typing .purple-card {
    transform: skewX(14deg) translateX(46px) scaleY(1.12);
}

.peek-stage.identity-typing .black-card {
    transform: skewX(10deg) translateX(36px) scaleY(1.1);
}

.peek-stage.identity-typing .yellow-card {
    transform: skewX(8deg) translateX(30px) scaleY(1.08);
}

.peek-stage.identity-typing .peeper-coral {
    transform: skewX(12deg) translateX(42px) scaleY(1.09);
}

.peek-stage.password-secret .purple-card {
    transform: skewX(-13deg) translateX(-34px) scaleY(1.12);
}

.peek-stage.password-secret .black-card {
    transform: skewX(-10deg) translateX(-28px) scaleY(1.1);
}

.peek-stage.password-secret .yellow-card {
    transform: skewX(-8deg) translateX(-24px) scaleY(1.08);
}

.peek-stage.password-secret .peeper-coral {
    transform: skewX(-12deg) translateX(-36px) scaleY(1.09);
}

.peek-stage.password-secret:not(.password-peeking) .peeper-face {
    transform: translateX(-18px);
}

.peek-stage.password-visible:not(.password-peeking) .purple-card,
.peek-stage.password-visible:not(.password-peeking) .black-card,
.peek-stage.password-visible:not(.password-peeking) .yellow-card,
.peek-stage.password-visible:not(.password-peeking) .peeper-coral {
    transform: skewX(0deg) translateX(0) scaleY(1);
}

.peek-stage.password-peeking .purple-card {
    transform: skewX(11deg) translateX(42px) scaleY(1.08);
}

.peek-stage.password-peeking .black-card {
    transform: skewX(8deg) translateX(32px) scaleY(1.06);
}

.peek-stage.password-peeking .yellow-card {
    transform: skewX(7deg) translateX(28px) scaleY(1.05);
}

.peek-stage.password-peeking .peeper-coral {
    transform: skewX(10deg) translateX(36px) scaleY(1.06);
}

.peek-stage.password-peeking .peeper-face {
    transform: translateX(20px);
}

@media (max-width: 920px) {
    .peek-stage {
        width: 680px;
        height: 610px;
        transform: translate(-50%, -50%) scale(.56);
    }

    .peek-stage.password-secret {
        transform: translate(calc(-50% - 22px), -50%) rotate(-2.4deg) scale(.56);
    }
}
