/* Standalone after-midnight authentication. Geometry matches auth-v1; no portal theme is loaded. */
:root[data-auth-design="standalone"]{color-scheme:dark;--ink:#f6e9dc;--soft:#cdbab1;--muted:#cdbab1;--rose:#e6abb4;--pink:#563439;--deep:#f0bbc1;--pale:#332421;--paper:#241c19;--line:#806d5f;--beany-header-block:20px;--beany-header-inline:24px;--beany-auth-inline:20px;background:#15100e}
:root[data-auth-design="standalone"] body{margin:0;background:radial-gradient(ellipse at 50% 0%,#3a2025,transparent 65%),#15100e;color:var(--ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100dvh}
:root[data-auth-design="standalone"] :is(h1,h2,h3){font-family:Georgia,"Times New Roman",serif;color:var(--ink);line-height:1.2;letter-spacing:-.035em}
:root[data-auth-design="standalone"] h1{font-size:clamp(1.9rem,5vw,2.65rem);margin:12px 0 18px}
:root[data-auth-design="standalone"] h2{font-size:1.55rem}
:root[data-auth-design="standalone"] a{color:var(--deep);text-underline-offset:3px}
:root[data-auth-design="standalone"] a:hover{color:#ffe0d4}
:root[data-auth-design="standalone"] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #f0bbc1;outline-offset:4px;scroll-margin-block:18px}
:root[data-auth-design="standalone"] .topbar{max-width:none;border-bottom:1px solid #604d42;background-color:#191310;box-shadow:none;gap:16px;padding-bottom:20px}
:root[data-auth-design="standalone"] .brand{max-width:1080px;width:100%;margin:auto;gap:12px;color:var(--ink)}
:root[data-auth-design="standalone"] .brand-mark{width:42px;height:42px;flex:0 0 42px;background:#392725;border:1px solid #8c7465;border-radius:13px;color:#efc2b2;box-shadow:none}
:root[data-auth-design="standalone"] .brand strong{font-family:Georgia,serif;font-size:1.25rem;letter-spacing:-.025em}
:root[data-auth-design="standalone"] .brand small{font-size:.65rem;line-height:1.6;color:#c5aaa0;letter-spacing:.1em}
:root[data-auth-design="standalone"] .auth-workspace{padding-top:clamp(24px,5vh,52px);padding-bottom:calc(30px + var(--beany-safe-bottom));min-width:0}
/* The opaque declaration is the fallback; the nearly opaque surface needs no blur. */
:root[data-auth-design="standalone"] :is(.auth-card,.account-card){width:100%;max-width:470px;margin:0 auto;border:1px solid #806d5f;border-radius:20px;background:#241c19;background:rgba(36,28,25,.96);padding:clamp(22px,4vw,36px);box-shadow:0 18px 50px #0000004d;overflow:visible;min-width:0}
:root[data-auth-design="standalone"] .auth-mark{display:grid;place-items:center;width:46px;height:46px;margin:0 0 18px;border-radius:50%;background:#3a2728;color:#eebcc2;font-size:1.75rem;line-height:1}
:root[data-auth-design="standalone"] .eyebrow{font:700 .7rem/1.6 system-ui,sans-serif;color:#e5b3b4;letter-spacing:.1em}
:root[data-auth-design="standalone"] :is(.subtitle,.safe-note,.helptext,.auth-card small){color:var(--muted);font-size:.875rem;line-height:1.65}
:root[data-auth-design="standalone"] .stack{gap:18px;margin-top:24px;grid-template-columns:minmax(0,1fr)}
:root[data-auth-design="standalone"] .stack>*{min-width:0;overflow-wrap:anywhere}
:root[data-auth-design="standalone"] .stack label{display:block;font-size:.9rem;line-height:1.5;font-weight:650;color:var(--ink);margin-bottom:8px}
:root[data-auth-design="standalone"] :is(input,textarea,select){font:inherit;color:var(--ink);background:#18120f;border:1px solid #91796a;border-radius:10px;padding:12px 13px;min-height:48px;max-width:100%;box-shadow:none;accent-color:#e0ad9b;caret-color:#f6e9dc}
:root[data-auth-design="standalone"] input::placeholder{color:#bba49a;opacity:1}
:root[data-auth-design="standalone"] input:is(:-webkit-autofill,:autofill){-webkit-text-fill-color:#f6e9dc;box-shadow:0 0 0 1000px #18120f inset;caret-color:#f6e9dc;color:#f6e9dc}
:root[data-auth-design="standalone"] input:is([type=checkbox],[type=radio]){width:20px;height:20px;min-height:20px;flex:0 0 20px;padding:0;margin:3px 0 0}
:root[data-auth-design="standalone"] .stack label.check-row{display:flex;align-items:flex-start;gap:12px;font-weight:450;margin:0;font-size:.875rem;line-height:1.65}
:root[data-auth-design="standalone"] .button{font:700 .9rem/1.45 system-ui,sans-serif;min-height:48px;padding:12px 16px;white-space:normal;border:1px solid #91796a;border-radius:10px;background:#352722;color:#f0c3be;box-shadow:none;cursor:pointer;transition:background-color .12s,border-color .12s}
:root[data-auth-design="standalone"] .button.primary{background:#e0ad9b;border-color:#f0c8ac;color:#251712;box-shadow:0 3px 18px #cc8e7e24}
:root[data-auth-design="standalone"] .button.primary:hover{background:#efc1b0;border-color:#f6d8c3;color:#251712}
:root[data-auth-design="standalone"] .button.soft:hover{background:#4a322e;color:#ffe0d4}
:root[data-auth-design="standalone"] :is(button,input):disabled{background:#352a27;border-color:#806b60;color:#baa69b;opacity:1;cursor:not-allowed}
:root[data-auth-design="standalone"] .button:disabled{background:#352a27;color:#baa69b;border-color:#806b60;box-shadow:none}
:root[data-auth-design="standalone"] :is(.notice,.review-email-note){background:#30211f;border:1px solid #8c7160;color:#ead6c8;border-radius:10px;font-size:.875rem;line-height:1.6;padding:13px 15px;overflow-wrap:anywhere}
:root[data-auth-design="standalone"] :is(.notice.error,.errorlist){color:#ffd0ce;background:#3c2021;border-color:#ba8380}
:root[data-auth-design="standalone"] .errorlist{padding:10px 14px 10px 30px;border-radius:8px;font-size:.875rem;line-height:1.6}
:root[data-auth-design="standalone"] .safe-note{margin-top:22px}
:root[data-auth-design="standalone"] .account-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
:root[data-auth-design="standalone"] .policy-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px;max-width:780px;margin:26px auto 0;padding-bottom:10px;color:#c5aaa0;font-size:.8rem;line-height:1.7}
:root[data-auth-design="standalone"] .policy-footer a{color:#e3b2b3;display:inline-flex;align-items:center;min-height:44px}
:root[data-auth-design="standalone"] .install-help{max-width:100%;margin-top:24px;border-top:1px solid #70584d;padding-top:16px;background:transparent;color:var(--soft)}
:root[data-auth-design="standalone"] :is(.install-help summary,.install-help button){font-size:.85rem;line-height:1.6;color:var(--deep)}
:root[data-auth-design="standalone"] .adult-declaration-dialog{color:var(--ink);background:#241c19;border-color:#947d68;border-radius:18px;box-shadow:0 20px 70px #00000080}
:root[data-auth-design="standalone"] .adult-declaration-dialog::backdrop{background:#100b0bd9}
:root[data-auth-design="standalone"] .adult-dialog-close{background:#352722;color:#f0c3be;border:1px solid #91796a;border-radius:9px}
:root[data-auth-design="standalone"] .adult-declaration-dialog :focus-visible{outline-color:#f0bbc1}
:root[data-auth-design="standalone"] .policy-document{width:100%;max-width:780px;margin:0 auto;color:var(--ink);background:#241c19;border:1px solid #806d5f;border-radius:18px;padding:clamp(22px,4vw,42px)}
:root[data-auth-design="standalone"] .policy-document :is(p,li){color:var(--soft);font-size:1rem;line-height:1.8}
:root[data-auth-design="standalone"].is-installed .topbar{background-image:linear-gradient(#15100e,#15100e);background-repeat:no-repeat;background-size:100% var(--beany-safe-top)}
@media(display-mode:standalone){:root[data-auth-design="standalone"] .topbar{background-image:linear-gradient(#15100e,#15100e);background-repeat:no-repeat;background-size:100% var(--beany-safe-top)}}
@media(max-width:700px){:root[data-auth-design="standalone"]{--beany-header-block:16px;--beany-header-inline:18px;--beany-auth-inline:16px}:root[data-auth-design="standalone"] .topbar{padding-bottom:16px}:root[data-auth-design="standalone"] .brand strong{font-size:1.15rem}:root[data-auth-design="standalone"] .brand small{font-size:.6rem}}
@media(max-height:500px){:root[data-auth-design="standalone"] .auth-workspace{padding-top:20px}}
@media(prefers-reduced-motion:reduce){:root[data-auth-design="standalone"] *{transition:none!important;animation:none!important}}
