/* Bextage Iris · access and settings share one clear, private entry surface. */
:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;--auth-bg:#101D1C;--auth-ink:#F5F3E9;--auth-muted:#C2CFC5;--auth-faint:#AABDB1;--auth-paper:#1B2B29;--auth-soft:#2B403C;--auth-input:#152421;--auth-line:#3E5750;--auth-line-strong:#688277;--auth-accent:#8DD4C5;--auth-accent-soft:#203F38;--auth-button-ink:#102B26;--auth-mint:#A8D5B3;--auth-warning:#E8C481;--auth-warning-soft:#493B24;--auth-error:#E5ADB3;--auth-shadow:0 20px 70px #07141140,inset 0 1px #ffffff0c;color:var(--auth-ink);background:var(--auth-bg);font-synthesis:none;text-rendering:optimizeLegibility}
:root[data-theme=light]{color-scheme:light;--auth-bg:#F5F2EA;--auth-ink:#21312F;--auth-muted:#556661;--auth-faint:#5A6964;--auth-paper:#FFFEFA;--auth-soft:#F2EEE5;--auth-input:#FFFEFA;--auth-line:#D9DED4;--auth-line-strong:#A6B5AA;--auth-accent:#156D68;--auth-accent-soft:#DFEFEB;--auth-button-ink:#ffffff;--auth-mint:#286C49;--auth-warning:#885415;--auth-warning-soft:#FFF0D2;--auth-error:#984C56;--auth-shadow:0 20px 70px #24372F0B,inset 0 1px #ffffffed}
*{box-sizing:border-box}body{margin:0;min-width:280px;min-height:100vh;min-height:100dvh;padding:clamp(24px,6vw,64px) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));display:grid;place-items:center;color:var(--auth-ink);background:radial-gradient(ellipse at 20% 0,color-mix(in srgb,var(--auth-accent) 12%,transparent),transparent 40rem),var(--auth-bg);-webkit-font-smoothing:antialiased}
.auth-card{position:relative;isolation:isolate;width:min(100%,540px);min-width:0;padding:clamp(24px,5vw,40px);border:1px solid var(--auth-line);border-radius:28px;background:var(--auth-paper);box-shadow:var(--auth-shadow)}
.auth-card::before{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--auth-accent) 5%,transparent),transparent 55%)}
.auth-brand{display:flex;align-items:center;gap:16px;color:inherit;text-decoration:none;font-size:27px;font-weight:750;letter-spacing:-.035em;line-height:1.2}.auth-brand img{display:block;flex:none;filter:drop-shadow(0 7px 10px #0C211D20);transform:perspective(360px) rotateY(-9deg) rotateX(4deg)}.auth-brand small{display:block;margin-top:6px;color:var(--auth-muted);font-size:10px;font-weight:600;line-height:1.5;letter-spacing:.08em}
h1{font-size:clamp(26px,5vw,33px);font-weight:730;letter-spacing:-.035em;line-height:1.2;margin:29px 0 13px;overflow-wrap:anywhere}h2{font-size:19px;line-height:1.4;letter-spacing:-.02em;margin:24px 0 12px}p,li{font-size:15px;line-height:1.75;color:var(--auth-muted);overflow-wrap:anywhere}p{margin:12px 0}form{min-width:0}.auth-field{display:grid;gap:8px;margin:21px 0;color:var(--auth-ink);font-size:14px;font-weight:550;line-height:1.5}
input{font:inherit;font-size:16px;width:100%;max-width:100%;min-width:0;min-height:52px;padding:13px 15px;border:1px solid var(--auth-line-strong);border-radius:13px;background:var(--auth-input);color:var(--auth-ink);box-shadow:inset 0 1px 3px #0C211D08}input::placeholder{color:var(--auth-faint)}input:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid var(--auth-accent);outline-offset:4px}input:focus-visible{border-color:var(--auth-accent)}
button,.auth-button{font:inherit;display:block;width:100%;max-width:100%;min-height:52px;margin:22px 0 12px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--auth-accent) 65%,var(--auth-line));border-radius:14px;background:var(--auth-accent);color:var(--auth-button-ink);box-shadow:inset 0 1px #ffffff28,0 5px 15px color-mix(in srgb,var(--auth-accent) 14%,transparent);font-weight:700;line-height:1.5;text-align:center;text-decoration:none;cursor:pointer}button:active,.auth-button:active{transform:scale(.985)}button:disabled{opacity:.5;cursor:wait}a{color:var(--auth-accent);text-underline-offset:3px}
.auth-notice{margin:18px 0;padding:13px 15px;border:1px solid color-mix(in srgb,var(--auth-warning) 35%,var(--auth-line));border-radius:13px;background:var(--auth-warning-soft);color:var(--auth-warning);font-size:14px;line-height:1.7}.auth-note{margin-top:18px;color:var(--auth-muted);font-size:12px;line-height:1.8}.checks{padding:0;list-style:none}.checks li{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--auth-line)}.checks b{color:var(--auth-mint)}.checks b.fail{color:var(--auth-error)}code{display:block;max-width:100%;padding:12px;border:1px solid var(--auth-line);border-radius:11px;background:var(--auth-soft);color:var(--auth-ink);font-size:12px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}hr{border:0;border-top:1px solid var(--auth-line);margin:26px 0}
.auth-links{display:flex;gap:8px 20px;flex-wrap:wrap;margin-top:22px}.auth-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}.auth-inline{display:inline;width:auto;min-height:44px;margin:0;padding:8px 0;border:0;background:transparent;box-shadow:none;color:var(--auth-muted);font-size:14px;font-weight:550}.auth-actions{display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap;margin-top:24px}.auth-progress{color:var(--auth-muted);font-size:13px;line-height:1.6}
@media(max-width:600px){body{padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.auth-card{padding:25px 22px;border-radius:24px}.auth-brand{font-size:25px;gap:13px}.auth-brand small{font-size:10px;letter-spacing:.05em}h1{margin-top:26px;font-size:29px}p,li{font-size:14px}.auth-field{font-size:14px}.auth-note{font-size:12px}.auth-notice{padding:12px;font-size:13px}.checks li{gap:12px}.auth-actions{gap:8px 16px}}
@media(max-width:359px){.auth-card{padding:23px 19px;border-radius:22px}.auth-brand{font-size:23px;gap:11px}.auth-brand small{font-size:9px}h1{font-size:27px}.auth-links{gap:5px 16px}}
/* Existing interaction timing is retained; the redesign adds no animation. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.auth-brand:hover img{transform:perspective(360px) rotateY(5deg) rotateX(0)}button:not(.auth-inline):hover,.auth-button:hover{filter:brightness(1.05);transform:translateY(-2px)}}
@media(prefers-reduced-motion:no-preference){.auth-card{animation:auth-v2-appear .5s cubic-bezier(.2,.7,.2,1) both}.auth-brand img{transition:transform .35s ease}.auth-button,button{transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}@keyframes auth-v2-appear{from{opacity:0;transform:perspective(1000px) translateY(14px) rotateX(2deg)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){.auth-brand img{transform:none}.auth-card,button,.auth-button{animation:none;transition:none}}

/* Discovery + Liquid Glass 2026: welcoming frosted doorway with private access flow. */
@view-transition { navigation: auto; }
.auth-card{border-radius:32px;border-top:4px solid var(--auth-accent);background:color-mix(in srgb,var(--auth-paper) 82%,transparent);-webkit-backdrop-filter:blur(28px) saturate(175%);backdrop-filter:blur(28px) saturate(175%)}.auth-brand img{padding:5px;border-radius:20px;background:var(--auth-accent-soft)}.auth-card::before{background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--auth-mint) 14%,transparent),transparent 65%)}body{background:radial-gradient(ellipse at 15% 12%,color-mix(in srgb,var(--auth-accent) 20%,transparent),transparent 45rem),radial-gradient(ellipse at 88% 18%,rgba(139,92,246,.12),transparent 38rem),radial-gradient(ellipse at 90% 95%,color-mix(in srgb,var(--auth-mint) 11%,transparent),transparent 40rem),var(--auth-bg)}.auth-card h1{font-size:clamp(29px,5vw,38px);letter-spacing:-.045em}button:not(.auth-inline),.auth-button{border-radius:16px;box-shadow:0 4px 0 color-mix(in srgb,var(--auth-accent) 30%,var(--auth-bg)),inset 0 1px #ffffff30}input{border-radius:15px;min-height:55px}@media(max-width:359px){.auth-card{border-radius:25px}.auth-card h1{font-size:29px}}

