/* Scoped to account screens: no marketing or learning layout changes. */
.koi-auth-body{min-height:100vh;display:flex;flex-direction:column;background:#070c10 url('./brand/auth-night-fuji.png') center/cover fixed no-repeat;color:#fff}
.koi-auth-body .koi-header{background:rgba(5,10,14,.92);border-bottom:1px solid #ffffff24}
.koi-auth-body .koi-nav-links a{position:relative;padding-block:28px;color:#c5ccd6}
.koi-auth-body .koi-nav-links a.is-active{color:#fff}
.koi-auth-body .koi-nav-links a.is-active::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:3px;background:#ff2348;box-shadow:0 0 15px #ff2348}
.koi-auth-body .koi-auth-main{width:100%;max-width:1320px;margin:auto;padding:58px 32px 76px;box-sizing:border-box}
.koi-auth-body .koi-auth-shell{display:grid;grid-template-columns:1.12fr 1fr;min-height:600px;border:1px solid #bec9d061;border-radius:18px;overflow:hidden;background:transparent;box-shadow:0 28px 90px #0009,0 0 35px #e61e3220}
.koi-auth-body .koi-auth-intro{position:relative;isolation:isolate;min-width:0;padding:84px 52px;background:none}
.koi-auth-body .koi-auth-intro::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 30% 25%,#03080cbd 0%,#03080c80 35%,#03080c30 64%,transparent 90%)}
.koi-auth-welcome{position:relative;z-index:1;max-width:440px;padding-right:56px;box-sizing:border-box}
.koi-auth-body .koi-auth-intro h1{margin:0;font-family:var(--koi-font-display,Georgia,serif);font-size:clamp(36px,4.1vw,58px);line-height:.98;letter-spacing:-.025em;font-weight:400;color:#fff;text-wrap:balance;text-shadow:0 3px 20px #000}
.koi-auth-intro h1 em{font-style:normal;color:#ff294b}
.koi-auth-rule{display:block;width:32px;height:2px;margin:21px 0 15px;background:#ff2348;box-shadow:0 0 12px #ff2348}
.koi-auth-body .koi-auth-welcome>p{font-size:19px;line-height:1.32;color:#f1f4f8;text-wrap:pretty;text-shadow:0 2px 9px #000;margin:0;max-width:340px}
.koi-auth-body .koi-auth-art{position:absolute;display:grid;grid-template-columns:auto auto;align-items:start;justify-content:start;right:24px;top:40px;bottom:auto;padding:0;gap:10px 0;background:none;text-shadow:0 2px 6px #000}
.koi-auth-body .koi-auth-art p{position:relative;grid-column:1;grid-row:1;font-size:26px;line-height:1.25;writing-mode:vertical-rl;padding:0 14px;border:0;color:#a9adb2;margin:0;text-shadow:0 1px 5px #000,0 0 9px #d7dee70a}
.koi-auth-body .koi-auth-art p::before{content:'';position:absolute;inset:0 auto -39px 0;width:1px;background:linear-gradient(180deg,#b91632aa,#df2344cc 45%,#a9132b88);box-shadow:0 0 5px #e3213e35}
.koi-auth-body .koi-auth-art b{grid-column:1;grid-row:2;justify-self:center;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:27px;height:27px;padding:0;margin:0;line-height:1;font-family:'Yu Gothic','Meiryo','Noto Sans JP',sans-serif;letter-spacing:0;background:linear-gradient(145deg,#b91e32,#941529);border:1px solid #cd2c3e66;border-radius:2px;color:#08090b;font-size:22px;font-weight:600;box-shadow:0 0 9px #b3192c18,inset 0 1px #ed48551a;text-shadow:none}
.koi-auth-body .koi-auth-art small{position:relative;grid-column:2;grid-row:1;padding:21px 0 15px 12px;font-size:9px;font-weight:500;letter-spacing:.22em;line-height:2;color:#a9adb2;max-width:83px}
.koi-auth-body .koi-auth-art small::before{content:'';position:absolute;inset:0 auto 0 0;width:1px;background:linear-gradient(180deg,#a5142a88,#cf1f3ab3,#a5142a55);box-shadow:0 0 5px #e3213e26}
.koi-auth-body .koi-auth-form-card{align-self:stretch;display:flex;flex-direction:column;justify-content:center;margin:0;padding:52px;min-width:0;border:0;border-left:1px solid #ffffff19;border-radius:0;background:rgba(5,10,14,.91);backdrop-filter:blur(14px);box-shadow:inset 1px 0 #ffffff05}
.koi-auth-body .koi-auth-form-card form{display:grid;gap:18px}
.koi-auth-body .koi-auth-form-card label{display:grid;gap:9px;font-size:14px;font-weight:500;line-height:1.5;color:#f4f5f8}
.koi-auth-body .koi-auth-form-card input:not([type=checkbox]):not([type=hidden]){box-sizing:border-box;width:100%;min-width:0;height:54px;padding:0 17px;border:1px solid #89949f87;border-radius:10px;background:linear-gradient(120deg,#1c2228d9,#13191ee6);color:#fff;font-size:16px;box-shadow:inset 0 1px 0 #ffffff09;transition:border-color .2s,box-shadow .2s}
.koi-auth-body .koi-auth-form-card input:focus{outline:none;border-color:#ff4964;box-shadow:0 0 0 3px #ff23481c}
.koi-auth-body .koi-auth-form-card input:not([type=checkbox]):not([type=hidden]){color-scheme:dark;background-color:#182027;color:#f8fafc;-webkit-text-fill-color:#f8fafc;caret-color:#fff;opacity:1}
/* Separate selectors: a browser must not discard the fallback with an unknown pseudo-class. */
.koi-auth-body .koi-auth-form-card input:-webkit-autofill,
.koi-auth-body .koi-auth-form-card input:-webkit-autofill:hover,
.koi-auth-body .koi-auth-form-card input:-webkit-autofill:focus{-webkit-text-fill-color:#f8fafc!important;-webkit-box-shadow:0 0 0 1000px #182027 inset!important;box-shadow:0 0 0 1000px #182027 inset!important;caret-color:#fff!important;border-color:#89949f}
.koi-auth-body .koi-auth-form-card input:autofill{color:#f8fafc!important;background:#182027!important;box-shadow:0 0 0 1000px #182027 inset!important}
.koi-auth-body .koi-auth-form-card input::placeholder{color:#a4afbe;-webkit-text-fill-color:#a4afbe;opacity:1}
.koi-auth-body .koi-auth-password button[data-password-toggle]{bottom:11px;right:12px;color:#d3d9e1}
.koi-auth-input-wrap{position:relative;display:block}
.koi-auth-input-wrap>svg{position:absolute;left:17px;top:17px;width:20px;height:20px;fill:none;stroke:#c9d1dc;stroke-width:1.5;pointer-events:none}
.koi-auth-body .koi-auth-form-card .koi-auth-icon-field input:not([type=hidden]){padding-left:48px}
.koi-auth-body .koi-auth-form-card form>p.koi-auth-divider{display:flex;align-items:center;gap:20px;text-align:center;margin:14px 0 0;color:#aeb9c8;font-size:12px}
.koi-auth-divider::before,.koi-auth-divider::after{content:'';flex:1;height:1px;background:#ffffff25}
.koi-auth-body .koi-auth-form-card :is(.koi-review-primary-button,button.koi-button){display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:52px;padding:12px 18px;margin:4px 0 0;border:1px solid #ff4a60;border-radius:10px;background:linear-gradient(115deg,#ff2446,#cf002c);color:#fff;font-size:16px;font-weight:700;text-decoration:none;box-shadow:0 7px 27px #e5003838,inset 0 1px 0 #ffffff30;cursor:pointer;transition:filter .2s,box-shadow .2s}
.koi-auth-body .koi-auth-form-card :is(.koi-review-primary-button,button.koi-button):hover{filter:brightness(1.12);box-shadow:0 8px 32px #e5003855}
.koi-auth-body .koi-auth-form-card button:disabled{opacity:.6;cursor:wait}
.koi-auth-body .koi-auth-form-card :is(.koi-review-secondary-button,.koi-auth-reset-link){display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px;padding:10px 16px;border:1px solid #e543586e;border-radius:9px;background:#070c1077;color:#ff7285;font-size:14px;font-weight:500;text-decoration:none;transition:background .2s,border-color .2s}
.koi-auth-body .koi-auth-form-card :is(.koi-review-secondary-button,.koi-auth-reset-link):hover{background:#b51d3120;border-color:#ff4964}
.koi-auth-body .koi-auth-form-card p{font-size:13px;line-height:1.7;color:#bec8d5;margin:12px 0;text-align:left}
.koi-auth-body .koi-auth-form-card form>p:last-of-type{margin:12px 0 0;line-height:1.6;font-size:13px;color:#bec8d5}
.koi-auth-body .koi-auth-form-card a{color:#ff8293;font-size:inherit}
.koi-auth-body .koi-auth-form-card h2,.koi-auth-body .koi-auth-form-card h1{font:400 28px/1.2 var(--koi-font-display,Georgia,serif);color:#fff;margin:0 0 22px}
.koi-auth-body #register-state{margin:0 0 28px;padding:19px 20px 16px;border:1px solid #ff496445;border-radius:13px;background:linear-gradient(115deg,#791a2d30,#111a22a6);box-shadow:inset 0 1px #ffffff09,0 6px 24px #0002;color:#fff}
.koi-auth-step-heading{display:flex;align-items:center;gap:15px}
.koi-auth-step-number{flex:0 0 43px;display:grid;place-items:center;height:43px;border:1px solid #ff587075;border-radius:12px;background:linear-gradient(135deg,#d3214540,#63142a30);color:#ff8295;font:400 24px/1 Georgia,serif;box-shadow:0 0 18px #ff23481c}
.koi-auth-step-kicker{display:block;color:#ff8ba0;font-size:9px;font-weight:700;letter-spacing:.16em;margin-bottom:5px}
.koi-auth-body #register-state [data-register-state-text]{font-size:14px;font-weight:500;color:#f3f5fa;line-height:1.5;margin:0;text-align:left}
.koi-auth-step-track{display:flex;gap:7px;margin-top:17px}
.koi-auth-step-track i{flex:1;height:3px;border-radius:4px;background:#46505c69;transition:background .25s,box-shadow .25s}
[data-step] .koi-auth-step-track i:first-child,[data-step='2'] .koi-auth-step-track i:nth-child(2),[data-step='3'] .koi-auth-step-track i{background:linear-gradient(90deg,#ff244d,#ff6378);box-shadow:0 0 10px #ff23484d}
.koi-auth-body .koi-auth-form-card :is(.koi-review-primary-button,button.koi-button){min-height:54px;border-color:#ff59718c;background:linear-gradient(165deg,#ff4059 0%,#eb123c 45%,#ba0029 100%);box-shadow:inset 0 1px 0 #ffffff45,inset 0 -2px 4px #82002350,0 8px 25px #ee003538;letter-spacing:.015em}
.koi-auth-body .koi-auth-form-card :is(.koi-review-primary-button,button.koi-button):active{filter:brightness(.96);box-shadow:inset 0 2px 7px #70001b50,0 3px 12px #ee003525}
.koi-auth-body .koi-auth-form-card :is(.koi-review-secondary-button,.koi-auth-reset-link){background:linear-gradient(120deg,#17212b73,#0a101866);border-color:#e35b7159;box-shadow:inset 0 1px #ffffff09;color:#ff9aab}
.koi-auth-body .koi-auth-form-card .koi-field{display:grid;gap:9px}
.koi-auth-body .koi-auth-form-card :is(.errorlist,.koi-auth-errors,.koi-error){color:#ffacb9;line-height:1.5}
.koi-auth-body .koi-auth-form-card .koi-auth-field-help{margin:-10px 0 0;font-size:11px;line-height:1.5;color:#a6b4c7;text-align:left}
.koi-auth-body .koi-auth-form-card .errorlist{padding:13px 15px;border:1px solid #f2617966;border-left:2px solid #f35b76;border-radius:10px;background:linear-gradient(120deg,#9c23352e,#15202c88);box-shadow:0 0 18px #e52e4910;color:#ffd3dc;font-size:12px;line-height:1.65;list-style:none;margin:0}
.koi-auth-body .koi-auth-form-card input[aria-invalid=true]{border-color:#f26179;box-shadow:0 0 0 3px #ed33551a}
.koi-auth-body .koi-auth-form-card [hidden]{display:none!important}
.koi-auth-body .koi-footer{background:#060b0ee8;margin-top:auto}
.koi-auth-body .koi-messages{display:grid;gap:10px;margin:0 0 22px;padding:0;list-style:none}
.koi-auth-body .koi-message{position:relative;display:flex;align-items:center;gap:15px;margin:0;padding:18px 23px;border:1px solid #ca49634d;border-left:2px solid #db3854;border-radius:12px;background:linear-gradient(110deg,#421827e8,#0d1722ed 65%);color:#edf1f8;font-size:14px;font-weight:500;line-height:1.6;box-shadow:0 10px 30px #0004,inset 0 1px #ffffff08;text-shadow:none}
.koi-auth-body .koi-message--success::before{content:'✓';display:grid;place-items:center;flex:0 0 33px;height:33px;border:1px solid #e9718559;border-radius:50%;background:#b42c4526;color:#ffadbe;font:400 20px/1 sans-serif;box-shadow:0 0 15px #ef35531c}
@media(max-width:600px){.koi-auth-body .koi-message{padding:15px;gap:12px;font-size:13px}}
.koi-auth-body :is(a,button):focus-visible{outline:2px solid #ff8293;outline-offset:4px}
.koi-auth-body .koi-auth-legal{min-width:0;margin:5px 0 0;padding:17px 18px 18px;border:1px solid #d04d6440;border-radius:12px;background:linear-gradient(135deg,#851b2e16,#10192299);box-shadow:inset 0 1px #ffffff05}
.koi-auth-legal legend{padding:0 8px;color:#d9dfe8;font-size:11px;font-weight:600;letter-spacing:.045em}
.koi-auth-legal-checks{display:grid;gap:14px}
.koi-auth-body .koi-auth-legal label.koi-auth-consent{gap:11px;font-size:13px;font-weight:400;color:#e4e9f1;line-height:1.5}
.koi-auth-body .koi-auth-legal-item .errorlist{margin-top:8px;font-size:12px}
.koi-auth-legal-documents{display:grid;gap:0;margin-top:17px;padding-top:9px;border-top:1px solid #ffffff12}
.koi-auth-body .koi-auth-legal-documents a{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 0;color:#ee9aa9;font-size:12px;line-height:1.45;text-decoration:none}
.koi-auth-legal-documents a>span:first-child{flex:1;min-width:0}
.koi-auth-legal-documents small{white-space:nowrap;color:#95a1b1;font-size:10px}
.koi-auth-body .koi-auth-legal-documents a:hover{color:#ffd1da;text-decoration:underline;text-underline-offset:4px}
.koi-auth-body .koi-auth-form-card .koi-auth-legal-note{margin:12px 0 0;padding:0;color:#96a3b5;font-size:11px;line-height:1.55;text-align:left}
@media(max-width:600px){.koi-auth-body .koi-auth-legal{padding-inline:13px}.koi-auth-legal-documents a{flex-wrap:wrap}}
/* The native disclosure stays usable when the global script collapses mobile nav. */
@media(max-width:600px){.koi-auth-body .koi-nav-menu:not([open])>summary{display:block;padding:10px 14px;border:1px solid #ffffff35;border-radius:8px;color:#fff}.koi-auth-body .koi-nav-menu:not([open])>.koi-nav-links{display:none}}
@media(max-width:900px){.koi-auth-body .koi-auth-main{padding:32px 20px}.koi-auth-body .koi-auth-intro{padding:60px 28px}.koi-auth-body .koi-auth-form-card{padding:36px 28px}.koi-auth-body .koi-auth-art{right:18px;bottom:26px}.koi-auth-body .koi-auth-shell{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.koi-auth-body{background-attachment:scroll}.koi-auth-body .koi-auth-main{padding:24px 16px 36px}.koi-auth-body .koi-auth-shell{grid-template-columns:1fr;min-height:0;border-radius:14px}.koi-auth-body .koi-auth-intro{padding:30px 26px 34px;background-position:center 62%}.koi-auth-body .koi-auth-intro h1{font-size:39px}.koi-auth-body .koi-auth-welcome>p{font-size:16px;max-width:100%}.koi-auth-eyebrow{margin-bottom:16px}.koi-auth-body .koi-auth-art{display:none}.koi-auth-body .koi-auth-form-card{padding:28px 24px 32px;border-left:0;border-top:1px solid #ffffff1c}.koi-auth-body .koi-nav-menu>summary{display:none}.koi-auth-body .koi-nav-menu>.koi-nav-links{display:flex;gap:22px;padding:0}.koi-auth-body .koi-nav-links a{padding-block:12px;font-size:13px}.koi-auth-body .koi-header{flex-wrap:wrap;gap:8px;padding-block:12px}.koi-auth-body .koi-brand{max-width:160px}}
@media(min-width:601px) and (max-width:900px){.koi-auth-welcome{padding-right:45px}.koi-auth-body .koi-auth-intro h1{font-size:36px}.koi-auth-body .koi-auth-art{top:24px;bottom:auto;right:12px}.koi-auth-body .koi-auth-art p{font-size:21px;padding-inline:8px}.koi-auth-body .koi-auth-art small{font-size:7px}}
@media(max-width:600px){.koi-auth-welcome{padding-right:40px}.koi-auth-body .koi-auth-intro h1{font-size:clamp(30px,8.6vw,39px);line-height:.98}.koi-auth-body .koi-auth-art{display:grid;top:26px;bottom:auto;right:12px;gap:8px}.koi-auth-body .koi-auth-art p{font-size:17px;padding-inline:7px}.koi-auth-body .koi-auth-art b{width:22px;height:22px;font-size:17px}.koi-auth-body .koi-auth-art small{display:none}}
