/* Homepage-matched login/register experience. Intentionally scoped to two auth pages.
   Uses the same soft violet / white palette as faucet-inspired-home.css. */
body.auth-faucet {
    --auth-violet: #8656e7;
    --auth-violet-dark: #6f42d1;
    --auth-ink: #231b38;
    --auth-muted: #777188;
    --auth-line: #eae5f1;
    background: #fff !important;
    color: var(--auth-ink) !important;
}
body.auth-faucet .topbar { border-bottom: 1px solid #f1eef8; box-shadow: none !important; }
body.auth-faucet .footer { margin-top: 0; border-top: 1px solid #f1eef8; color: #50465f; }
body.auth-faucet .footer a { color: #605971; }
body.auth-faucet .footer a:hover { color: var(--auth-violet); }
body.auth-faucet .alert,
body.auth-faucet .flash { max-width: 1160px; margin: 18px auto 0; border: 1px solid #e5daf7; background: #f7f2ff; color: #55339d; box-shadow: 0 8px 20px rgba(79,45,128,.05); }
body.auth-faucet .alert.error,
body.auth-faucet .flash.error { border-color: #fecdd3; background: #fff1f2; color: #9f1239; }
body.auth-faucet .alert.success,
body.auth-faucet .flash.success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }

body.auth-faucet .auth-premium-wrap.auth-faucet-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: calc(100vh - 79px) !important;
    padding: 60px 24px 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(ellipse at 8% 21%, rgba(177,140,237,.11), transparent 36%),
        radial-gradient(ellipse at 95% 82%, rgba(222,206,249,.29), transparent 40%),
        linear-gradient(180deg, #fff 0%, #fcfbff 100%) !important;
    overflow: visible !important;
}
body.auth-faucet .auth-shell.auth-faucet-shell {
    width: min(1180px, 100%) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    background: #fff;
    border: 1px solid #eee9f6;
    border-radius: 30px;
    box-shadow: 0 25px 85px rgba(73,44,117,.105), 0 2px 10px rgba(45,35,75,.025);
    overflow: hidden;
}
body.auth-faucet .auth-side.auth-faucet-side {
    box-sizing: border-box !important;
    min-height: 645px !important;
    padding: 47px 46px 31px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 10% 9%, rgba(255,255,255,.95) 0, transparent 37%),
        radial-gradient(circle at 90% 82%, rgba(173,128,246,.16), transparent 34%),
        linear-gradient(140deg, #fbf9ff 0%, #f2eafd 68%, #eee3ff 100%) !important;
    color: var(--auth-ink) !important;
    box-shadow: none !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    isolation: isolate;
}
body.auth-faucet .auth-side.auth-faucet-side::after {
    content: "" !important;
    position: absolute !important;
    right: -180px !important;
    bottom: -190px !important;
    width: 450px !important;
    height: 450px !important;
    border: 1px solid rgba(136,90,223,.14) !important;
    border-radius: 50% !important;
    background: transparent !important;
    z-index: -1;
    pointer-events: none;
}
body.auth-faucet .auth-side.auth-faucet-side::before {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(136,90,223,.12);
    border-radius: 50%;
    right: -106px;
    bottom: -120px;
    pointer-events: none;
}
body.auth-faucet .auth-side .auth-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px;
    width: max-content !important;
    margin: 0 0 20px !important;
    padding: 8px 12px !important;
    color: #7745d3 !important;
    background: rgba(255,255,255,.75) !important;
    border: 1px solid #e6d8fa !important;
    border-radius: 40px !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    letter-spacing: .75px !important;
    text-transform: uppercase !important;
}
body.auth-faucet .auth-side .auth-spark { font-size: 16px; color: #9c70e8; }
body.auth-faucet .auth-side h2 {
    font-size: clamp(34px, 3.5vw, 49px) !important;
    line-height: 1.115 !important;
    letter-spacing: -2px !important;
    margin: 0 0 16px !important;
    max-width: 445px;
    color: var(--auth-ink) !important;
    font-weight: 870 !important;
}
body.auth-faucet .auth-side .auth-gradient {
    color: var(--auth-violet) !important;
    background: none !important;
    -webkit-text-fill-color: var(--auth-violet) !important;
}
body.auth-faucet .auth-side p {
    color: #756e86 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    max-width: 400px !important;
    margin: 0 !important;
    font-weight: 450 !important;
}
body.auth-faucet .auth-benefits { gap: 12px !important; margin-top: 28px !important; }
body.auth-faucet .auth-benefit {
    color: #3c3153 !important;
    font-size: 13px;
    font-weight: 720 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
body.auth-faucet .auth-check {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    background: #fff !important;
    color: #8f61de !important;
    border: 1px solid #dfd0f8;
    border-radius: 100% !important;
    box-shadow: 0 3px 9px rgba(128,92,192,.07);
    font-size: 12px;
}
body.auth-faucet .auth-showcase {
    border: 1px solid rgba(223,212,241,.89);
    border-radius: 19px;
    background: rgba(255,255,255,.89);
    padding: 17px;
    margin-top: 36px;
    box-shadow: 0 20px 45px rgba(111,67,164,.08), 0 3px 9px rgba(67,52,100,.025);
    backdrop-filter: blur(9px);
}
body.auth-faucet .auth-showcase-top { display:flex; align-items:center; gap:8px; color:#877b96; font-size:11px; font-weight:780; }
body.auth-faucet .auth-showcase-symbol { display:grid; place-items:center; width:23px; height:23px; background:#9167e2; color:white; border-radius:7px; font-size:15px; }
body.auth-faucet .auth-showcase-dots { color:#b7acbf; margin-left:auto; letter-spacing:3px; }
body.auth-faucet .auth-showcase-heading { font-size:17px; font-weight:850; margin:17px 0 11px; color:#302444; letter-spacing:-.45px; }
body.auth-faucet .auth-showcase-list { display:grid; gap:7px; }
body.auth-faucet .auth-showcase-list > div { display:flex; align-items:center; gap:11px; background:#faf8fe; border:1px solid #f3eefb; border-radius:12px; padding:10px 11px; }
body.auth-faucet .auth-showcase-list > div > span:nth-child(2) { display:flex; flex-direction:column; gap:3px; min-width:0; }
body.auth-faucet .auth-showcase-list b { color:#453652; font-size:12px; }
body.auth-faucet .auth-showcase-list small { color:#93889f; font-size:11px; line-height:1.4; }
body.auth-faucet .auth-showcase-icon { display:grid;place-items:center;width:32px;height:32px; flex:0 0 32px; border-radius:10px; font-size:13px; font-weight:800; }
body.auth-faucet .auth-purple { background:#ece2ff; color:#8456d8; }
body.auth-faucet .auth-mint { background:#e3f7ef; color:#1c9a71; }
body.auth-faucet .auth-peach { background:#fff0df; color:#ca8846; }
body.auth-faucet .auth-showcase-arrow { color:#9c8cbb; margin-left:auto; font-size:16px; }
body.auth-faucet .auth-side-trust { display:flex; align-items:center; gap:8px; margin-top:23px; font-size:11px; font-weight:700; color:#897e98; }
body.auth-faucet .auth-side-trust-dot { width:7px; height:7px; background:#2cb98c; border-radius:50%; box-shadow:0 0 0 4px #2cb98c20; }

body.auth-faucet .auth-card.auth-faucet-card {
    box-sizing: border-box !important;
    max-width: none !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 42px clamp(28px, 4.3vw, 57px) 35px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    align-self: center !important;
    justify-self: stretch !important;
}
body.auth-faucet .auth-card.auth-faucet-card::before { display:none !important; content:none !important; }
body.auth-faucet .auth-mode-switch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    background: #f6f3fb;
    border: 1px solid #f2edf9;
    border-radius: 12px;
    padding: 5px;
    margin: 0 0 35px;
}
body.auth-faucet .auth-mode-switch a { display:block; border-radius:9px; padding:10px 12px; color:#897e99; text-align:center; font-size:13px; font-weight:780; text-decoration:none; transition:color .15s ease,background .15s ease; }
body.auth-faucet .auth-mode-switch a:hover { color:#7544ca; }
body.auth-faucet .auth-mode-switch a.is-active { background:#fff; box-shadow:0 2px 9px rgba(49,30,92,.09); color:#7847d1; }
body.auth-faucet .auth-form-eyebrow { display:block; margin:0 0 11px; font-size:11px; font-weight:850; letter-spacing:1px; color:#9366df; }
body.auth-faucet .auth-card h1 { color:#271e37 !important; font-size:clamp(29px, 3vw, 37px) !important; letter-spacing:-1.5px !important; line-height:1.16 !important; margin:0 0 11px !important; font-weight:860 !important; }
body.auth-faucet .auth-card h1 span { color:var(--auth-violet); }
body.auth-faucet .auth-card .auth-form-intro { margin:0 0 27px !important; color:#80788d !important; line-height:1.65 !important; font-size:13.5px !important; }
body.auth-faucet .auth-card .auth-form { width:100% !important; display:grid !important; gap:18px !important; }
body.auth-faucet .auth-field { min-width:0; display:grid; gap:8px; }
body.auth-faucet .auth-card .auth-field label,
body.auth-faucet .auth-card .auth-field-heading label { font-size:12px !important; font-weight:800 !important; color:#473d56 !important; display:block !important; }
body.auth-faucet .auth-field-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
body.auth-faucet .auth-field-heading a { font-size:12px; font-weight:770; color:#8557da; white-space:nowrap; }
body.auth-faucet .auth-field-heading a:hover { text-decoration:underline; }
body.auth-faucet .auth-input,
body.auth-faucet .auth-card .input { box-sizing:border-box !important; width:100% !important; min-height:48px !important; height:48px !important; padding:0 14px !important; border:1px solid #e7e2ed !important; border-radius:11px !important; background:#fdfcff !important; color:#33283f !important; font-size:13.5px !important; font-weight:480 !important; box-shadow:0 1px 2px #30204505 !important; outline:none !important; }
body.auth-faucet .auth-input::placeholder { color:#aaa2b4; opacity:1; }
body.auth-faucet .auth-input:hover { border-color:#cfc1e8 !important; }
body.auth-faucet .auth-input:focus,
body.auth-faucet .auth-card .input:focus { border-color:#9366df !important; box-shadow:0 0 0 4px rgba(145,102,223,.12) !important; background:#fff !important; }
body.auth-faucet .auth-password-wrap { position:relative; }
body.auth-faucet .auth-password-wrap .auth-input { padding-right:65px !important; }
body.auth-faucet .auth-card .auth-password-toggle { position:absolute; right:7px; top:6px; bottom:6px; width:53px; min-height:0; padding:0 5px !important; display:grid; place-items:center; border-radius:8px; background:transparent !important; box-shadow:none !important; border:0 !important; color:#885dcf !important; font-size:12px; font-weight:820; transform:none !important; cursor:pointer; }
body.auth-faucet .auth-card .auth-password-toggle:hover { background:#f2ebfc !important; transform:none !important; }
body.auth-faucet .auth-password-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
body.auth-faucet .auth-recaptcha { min-width:0; max-width:100%; overflow-x:auto; overflow-y:visible; padding:1px 0; }
body.auth-faucet .auth-recaptcha:empty { display:none; }
body.auth-faucet .auth-card .auth-policy-agreement { display:grid !important; grid-template-columns:18px minmax(0,1fr); gap:10px !important; font-size:12px !important; font-weight:450 !important; color:#756c81 !important; line-height:1.65 !important; cursor:pointer; align-items:start; }
body.auth-faucet .auth-policy-agreement input[type="checkbox"] { width:17px; height:17px; margin:2px 0 0; accent-color:#8755e8; cursor:pointer; }
body.auth-faucet .auth-policy-agreement a { color:#7d4dcf; font-weight:760; text-decoration:underline; text-underline-offset:2px; }
body.auth-faucet .auth-card .auth-submit,
body.auth-faucet .auth-card button[type="submit"] { display:flex !important; align-items:center; justify-content:center; gap:12px; width:100% !important; min-height:50px !important; border:0 !important; border-radius:11px !important; padding:12px 19px !important; background:linear-gradient(120deg,#8554e4,#a071ed) !important; color:#fff !important; box-shadow:0 10px 20px rgba(137,84,224,.21) !important; text-align:center; font-size:14px !important; font-weight:850 !important; cursor:pointer; transform:none !important; transition:transform .18s ease,box-shadow .18s ease; }
body.auth-faucet .auth-card .auth-submit:hover { transform:translateY(-2px) !important; box-shadow:0 13px 22px rgba(137,84,224,.3) !important; }
body.auth-faucet .auth-card .auth-submit:active { transform:translateY(0) !important; }
body.auth-faucet .auth-card .auth-submit span { font-size:19px; line-height:1; }
body.auth-faucet .auth-card .auth-footer-cta { text-align:center; font-size:12.5px; margin:21px 0 0 !important; color:#80778b !important; }
body.auth-faucet .auth-footer-cta a { color:#7e4bd5; font-weight:780; }
body.auth-faucet .auth-footer-cta a:hover { text-decoration:underline; }
body.auth-faucet .auth-safe-note { display:flex; justify-content:center; align-items:center; gap:6px; text-align:center; margin-top:29px; padding-top:15px; border-top:1px solid #f2eff6; color:#aaa1b0; font-size:11px; }
body.auth-faucet .auth-safe-note span { color:#9e75e2; font-size:16px; }
body.auth-faucet button:focus-visible,
body.auth-faucet a:focus-visible,
body.auth-faucet input:focus-visible { outline:2px solid #8d5be1; outline-offset:3px; }

@media (max-width: 1040px) {
    body.auth-faucet .auth-premium-wrap.auth-faucet-wrap { padding:40px 20px 55px !important; }
    body.auth-faucet .auth-side.auth-faucet-side { padding:38px 30px 27px !important; }
    body.auth-faucet .auth-card.auth-faucet-card { padding:34px 30px 32px !important; }
    body.auth-faucet .auth-side h2 { font-size:37px !important; }
}
@media (max-width: 760px) {
    body.auth-faucet .topbar { height:76px !important; min-height:76px !important; padding:0 20px !important; flex-wrap:nowrap !important; }
    body.auth-faucet .topbar nav { top:76px !important; left:0 !important; right:0 !important; width:100% !important; overflow-y:auto; }
    body.auth-faucet .auth-shell.auth-faucet-shell { grid-template-columns:1fr !important; border-radius:22px; }
    body.auth-faucet .auth-side.auth-faucet-side { min-height:auto !important; padding:29px 30px !important; gap:16px; }
    body.auth-faucet .auth-side h2 { max-width:100%; font-size:34px !important; }
    body.auth-faucet .auth-side .auth-benefits { margin-top:18px !important; gap:9px !important; }
    body.auth-faucet .auth-showcase { display:none; }
    body.auth-faucet .auth-side-trust { margin-top:0; }
    body.auth-faucet .auth-card.auth-faucet-card { padding:34px 30px 39px !important; }
    body.auth-faucet .auth-mode-switch { margin-bottom:30px; }
}
@media (max-width: 520px) {
    body.auth-faucet .topbar { min-height:72px !important; height:72px !important; padding:0 16px !important; flex-wrap:nowrap !important; }
    body.auth-faucet .topbar nav { position:absolute !important; top:72px !important; left:0 !important; right:0 !important; width:100% !important; max-height:calc(100vh - 72px); overflow-y:auto; padding:16px 19px 22px !important; }
    body.auth-faucet .auth-premium-wrap.auth-faucet-wrap { min-height:auto !important; padding:20px 12px 34px !important; }
    body.auth-faucet .auth-shell.auth-faucet-shell { border-radius:20px; }
    body.auth-faucet .auth-side.auth-faucet-side { padding:25px 22px !important; }
    body.auth-faucet .auth-side h2 { font-size:30px !important; line-height:1.12 !important; letter-spacing:-1.35px !important; }
    body.auth-faucet .auth-side p { font-size:13px !important; line-height:1.7 !important; }
    body.auth-faucet .auth-side .auth-badge { margin-bottom:14px !important; }
    body.auth-faucet .auth-benefit { font-size:12px; }
    body.auth-faucet .auth-card.auth-faucet-card { padding:28px 21px 34px !important; }
    body.auth-faucet .auth-card h1 { font-size:29px !important; }
    body.auth-faucet .auth-form-eyebrow { font-size:10px; }
    body.auth-faucet .auth-password-grid { grid-template-columns:1fr; gap:16px; }
    body.auth-faucet .auth-mode-switch { margin-bottom:25px; }
    body.auth-faucet .alert, body.auth-faucet .flash { margin:12px; }
}
@media (prefers-reduced-motion: reduce) {
    body.auth-faucet .auth-input,
    body.auth-faucet .auth-submit,
    body.auth-faucet .auth-mode-switch a { transition:none !important; }
}

/* 2026-10-22: Auth page mobile fit and consistent focus states. */
body.auth-faucet .auth-shell.auth-faucet-shell,
body.auth-faucet .auth-shell.auth-faucet-shell * { box-sizing: border-box; }
body.auth-faucet .auth-card .auth-password-toggle:focus-visible {
    outline: 2px solid var(--auth-violet); outline-offset: 2px;
}
@media (max-width: 360px) {
    body.auth-faucet .auth-premium-wrap.auth-faucet-wrap { padding: 14px 9px 26px !important; }
    body.auth-faucet .auth-side.auth-faucet-side { padding: 22px 17px !important; }
    body.auth-faucet .auth-card.auth-faucet-card { padding: 25px 16px 30px !important; }
    body.auth-faucet .auth-side h2 { font-size: 27px !important; letter-spacing: -1px !important; }
    body.auth-faucet .auth-card h1 { font-size: 26px !important; letter-spacing: -1px !important; }
    body.auth-faucet .auth-mode-switch a { padding: 10px 7px; font-size: 12px; }
    body.auth-faucet .auth-form { min-width: 0; }
    body.auth-faucet .auth-card .auth-policy-agreement { overflow-wrap: anywhere; }
}
