:root { color-scheme: dark; font-family: Aptos, Candara, "Trebuchet MS", ui-sans-serif, sans-serif; color: #fff8f3; background: #24091b; font-synthesis: none; --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 50% 5%, #6b234c 0, #2a0b20 46%, #190612 100%); }
button, input, textarea { font: inherit; }
a { color: #f2bfd0; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #e2b761; outline-offset: 3px; border-radius: 8px; }
::selection { color: white; background: #c73c71; }
.auth-shell { display: grid; min-height: 100svh; place-items: center; padding: max(1.25rem, env(safe-area-inset-top)) 1rem max(1.25rem, env(safe-area-inset-bottom)); }
.auth-card { width: min(100%, 430px); padding: 1.15rem; border-radius: 16px; color: #4b1737; background: #fff9f3; box-shadow: 0 28px 80px rgba(0,0,0,.4); }
.auth-brand { display: flex; gap: .8rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid #efd9df; }
.auth-brand__rabbit { position: relative; display: grid; width: 50px; height: 50px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: #bd3568; }
.auth-brand__rabbit i { position: absolute; top: -8px; width: 14px; height: 27px; border-radius: 50% 50% 35% 35%; background: #e88dab; transform: rotate(-11deg); }
.auth-brand__rabbit i:nth-child(2) { transform: translateX(15px) rotate(11deg); }
.auth-brand__rabbit b { position: relative; font-size: 1.1rem; }
.auth-brand strong { display: block; font-family: var(--serif); font-size: 1.2rem; }
.auth-brand small { display: block; margin-top: .18rem; color: #8d5b76; font-size: .63rem; }
.auth-heading { margin: 1.45rem 0 1.2rem; text-align: center; }
.auth-heading > span { color: #a62d5b; font-size: .62rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.auth-heading h1 { margin: .35rem 0 .55rem; font-family: var(--serif); font-size: clamp(2.2rem, 11vw, 3.2rem); line-height: .95; letter-spacing: -.03em; text-wrap: balance; }
.auth-heading p { margin: 0; color: #77475f; font-size: 1rem; line-height: 1.5; }
.auth-form { display: grid; gap: .85rem; }
.auth-form label { display: grid; gap: .38rem; color: #67304f; font-size: .75rem; font-weight: 800; }
.auth-form label > small { color: #97667e; font-weight: 500; }
.auth-form input:not([type="submit"]) { width: 100%; min-height: 52px; padding: .75rem; border: 1px solid #d9b5c3; border-radius: 12px; color: #43122f; background: #fff; }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 5.8rem !important; }
.password-eye { position: absolute; top: 4px; right: 4px; min-width: 78px; min-height: 44px; padding: 0 .65rem; border: 0; border-radius: 9px; color: #6d3754; background: #f5e3e8; cursor: pointer; font-size: .7rem; font-weight: 750; }
.auth-button { width: 100%; min-height: 52px; margin-top: .25rem; padding: .8rem 1rem; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #c43a70, #9d2653); box-shadow: 0 12px 28px rgba(157, 38, 83, .24); cursor: pointer; font-weight: 800; }
.auth-button:active { transform: scale(.985); }
.auth-button--danger { color: #8c2334; background: #f7d9dc; box-shadow: none; }
.auth-button--quiet { color: #7c3153; background: #f2e2e7; box-shadow: none; }
.auth-secret-label { margin: .5rem 0 -.4rem; color: #77475f; font-size: .76rem; text-align: center; }
.auth-link { display: block; min-height: 44px; margin-top: .8rem; padding: .65rem; color: #9d2653; font-size: .76rem; font-weight: 700; text-align: center; }
.auth-link--strong { border-radius: 12px; background: #f3e1e6; text-decoration: none; }
.auth-help { margin: 1rem 0 0; color: #85536c; font-size: .9rem; line-height: 1.5; text-align: center; }
.auth-privacy { width: min(100%, 420px); margin: 1rem auto 0; color: #d9becb; font-size: .65rem; line-height: 1.45; text-align: center; }
.flash, .field-error { margin: .65rem 0; padding: .65rem .75rem; border-radius: 10px; color: #7e2232; background: #fee3e6; font-size: .75rem; font-weight: 650; line-height: 1.4; }
.flash--success { color: #1d6548; background: #dff2e9; }
.recovery-code { overflow-wrap: anywhere; margin: 1rem 0 .65rem; padding: 1rem; border-radius: 12px; color: #fff; background: #451332; font-family: ui-monospace, "Cascadia Mono", monospace; font-size: .84rem; line-height: 1.55; text-align: center; user-select: all; }
.copy-status { min-height: 22px; margin: .45rem 0; color: #2b6b4e; font-size: .72rem; font-weight: 700; text-align: center; }
.auth-access-ready { margin: 1rem 0; padding: 1rem; border-radius: 14px; color: #214f3c; background: #e3f4eb; }
.auth-access-ready h2 { margin: 0; font-family: var(--serif); font-size: 1.45rem; }
.auth-access-ready p { margin: .4rem 0 .85rem; line-height: 1.45; }
.auth-access-ready > small { display: block; color: #376752; font-size: .72rem; line-height: 1.45; text-align: center; }
.auth-credentials { display: grid; gap: .5rem; margin: 0 0 .85rem; }
.auth-credentials div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: baseline; gap: .5rem; }
.auth-credentials dt { color: #4a7663; font-size: .72rem; font-weight: 750; }
.auth-credentials dd { overflow-wrap: anywhere; margin: 0; color: #173f2f; font-size: .95rem; font-weight: 850; }
.auth-message-label { display: block; margin-bottom: .35rem; color: #376752; font-size: .72rem; font-weight: 800; }
.auth-access-message { width: 100%; resize: vertical; min-height: 132px; padding: .75rem; border: 1px solid #a9d1bd; border-radius: 12px; color: #173f2f; background: #fff; font-size: .82rem; line-height: 1.5; }
.auth-details { margin: 1rem 0; border-radius: 12px; background: #f4e5e8; }
.auth-details summary { min-height: 48px; padding: .9rem; cursor: pointer; font-weight: 750; }
.auth-details .auth-form { padding: 0 .9rem .9rem; }
.auth-action + .auth-action { margin-top: .55rem; }
.auth-member .auth-action { margin-top: .7rem; }
.auth-member { margin: 1rem 0; padding: 1rem; border-radius: 14px; color: #fff8f3; background: #46142f; }
.auth-member h2 { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; }
.auth-member p { margin: .45rem 0 .8rem; color: #edd6e1; font-size: 1rem; line-height: 1.5; }
.auth-member .auth-button { margin-top: 0; }
.auth-form--on-dark { margin-top: 1rem; }
.auth-form--on-dark label, .auth-details--on-dark .auth-form label { color: #fff8f3; }
.auth-form--on-dark label > small, .auth-details--on-dark .auth-form label > small { color: #e8c5d5; }
.auth-account-state { display: flex; justify-content: space-between; gap: .75rem; margin: .85rem 0; }
.auth-account-state > div { display: grid; min-width: 0; gap: .25rem; }
.auth-account-state strong, .auth-account-login { overflow-wrap: anywhere; }
.auth-account-login { color: #e8c5d5; font-size: .76rem; }
.auth-status { width: fit-content; padding: .28rem .55rem; border-radius: 999px; font-size: .68rem; font-weight: 800; }
.auth-status--active { color: #174c37; background: #d7f2e5; }
.auth-status--locked { color: #7a2c35; background: #f8dadd; }
.auth-details--on-dark { background: #f7ebef; color: #57213e; }
.auth-details--on-dark .auth-form label { color: #67304f; }
.auth-details--on-dark .auth-form label > small { color: #97667e; }
@media (max-width: 359px) { .auth-card { padding: .9rem; } .auth-heading h1 { font-size: 2.05rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; } }
