/* FATE authentication — shared email and provider account screens. */
.auth-page{width:100%;max-width:402px;min-height:100svh;margin:0 auto;background:#101010;color:#f4eee7;padding-bottom:30px;overflow:hidden}.auth-page *{box-sizing:border-box}.auth-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:10px 20px;gap:12px;border-bottom:1px solid #ffffff08}.auth-icon-button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:transparent;color:#f4eee7}.auth-icon-button:hover{background:#ffffff08}.auth-wordmark{font-family:Georgia,serif;font-size:24px;font-weight:700;letter-spacing:-1.6px;display:flex;align-items:center;gap:6px;color:#f4eee7;text-decoration:none}.auth-wordmark i{width:5px;height:5px;background:#ff5b23;border-radius:50%}.auth-topbar>span{font-size:8px;letter-spacing:1.1px;color:#938d85;max-width:100px;width:44px;text-align:right;white-space:nowrap}.auth-content{padding:34px 22px 26px}.auth-page-heading{margin-bottom:31px}.auth-eyebrow{font-size:9px;font-weight:650;letter-spacing:2px;line-height:1.6;color:#ff8c61;margin:0 0 13px}.auth-page-heading h1{font-size:30px;line-height:1.36;letter-spacing:-1.3px;font-weight:700;margin:0 0 16px}.auth-page-heading h1:focus{outline:0}.auth-description{color:#aaa49c;font-size:14px;line-height:1.8;letter-spacing:-.4px;margin:0;word-break:keep-all;overflow-wrap:anywhere}.auth-description strong{font-weight:600;color:#ded4c9}.auth-preview-note{font-size:11px;line-height:1.85;color:#b6a18e;text-align:center;margin:16px 0 0!important;letter-spacing:-.1px!important}.auth-button{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;min-height:54px;padding:13px 16px;border:1px solid transparent;border-radius:12px;font-size:14px;font-weight:700;line-height:1.5;cursor:pointer;transition:background .16s,opacity .16s;text-decoration:none;box-sizing:border-box}.auth-button:disabled{opacity:.34;cursor:not-allowed}.auth-primary{background:#ff5b23;color:#160d09}.auth-primary:not(:disabled):hover{background:#ff7342}.auth-secondary{background:#211e1b;border-color:#39332d;color:#f4eee7}.auth-kakao{background:#f3d947;color:#201d11;font-weight:650}.auth-kakao:hover{background:#f8e36a}.auth-text-action{display:block;padding:13px 8px;min-height:44px;text-align:center;background:none;border:0;text-decoration:underline;text-underline-offset:4px;color:#b7a28e;font-size:12px;line-height:1.7;width:100%;cursor:pointer}.auth-signup-prompt{margin:24px 0 0;font-size:12px;color:#958b80;text-align:center;line-height:1.8}.auth-signup-prompt a{font-size:12px;display:inline-flex;align-items:center;color:#f4eee7;text-decoration:underline;text-underline-offset:4px;min-height:32px;margin-left:7px}.auth-bottom-action{margin-top:31px}.auth-landing{padding-bottom:20px;position:relative;display:flex;flex-direction:column}.auth-landing .auth-topbar{border:0;position:relative;z-index:3;background:linear-gradient(#10101077,transparent)}.auth-landing-art{position:relative;min-height:445px;margin-top:-64px;display:flex;align-items:flex-end;isolation:isolate}.auth-art-image{position:absolute;inset:0;background-image:url('/platform/assets/fate-essence.webp'),linear-gradient(160deg,#9a5130,#151211);background-size:cover;background-position:50% 20%;z-index:-2}.auth-landing-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#101010 0%,#10101080 32%,#10101005 75%);z-index:-1}.auth-landing-copy{padding:270px 24px 20px}.auth-landing-copy .auth-eyebrow{font-size:8px;color:#e2b999}.auth-landing-copy h1{font-size:34px;line-height:1.35;letter-spacing:-1.5px;font-weight:700;margin:12px 0 15px}.auth-landing-copy>p:last-child{font-size:13px;line-height:1.8;color:#c2b4a7}.auth-landing-actions{padding:12px 22px 10px;display:grid;gap:10px;margin-top:auto}.auth-landing-actions .auth-signup-prompt{margin-top:3px}.auth-landing-actions .auth-preview-note{margin-top:0!important}.auth-later{background:none;border:0;min-height:35px;color:#8b7e71;font-size:11px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.auth-form{margin:0;padding:0}.auth-field{display:block;margin:0 0 23px;position:relative}.auth-field>span:first-child{display:block;font-size:13px;font-weight:600;color:#d7cfc6;margin-bottom:10px;line-height:1.6}.auth-input-wrap{display:flex!important;position:relative;align-items:center;width:100%;border:1px solid #3b3530;border-radius:11px;background:#1a1816;min-height:52px;margin:0!important;overflow:hidden}.auth-input-wrap:focus-within{border-color:#ff6b35;box-shadow:0 0 0 3px #ff5b2310}.auth-input-wrap input{display:block;width:100%;min-height:50px;padding:13px 14px;border:0;background:transparent;color:#f4eee7;outline:0;font-size:16px;line-height:1.5;letter-spacing:0;font-weight:400;border-radius:11px}.auth-input-wrap input:focus-visible{outline:0}.auth-input-wrap input[type=password],.auth-input-wrap:has(.auth-password-toggle) input{padding-right:48px}.auth-input-wrap input::placeholder{color:#776f66;font-size:13px;letter-spacing:-.3px}.auth-password-toggle{position:absolute;right:3px;top:3px;width:44px;height:44px;background:none;color:#ac9988;display:flex;align-items:center;justify-content:center;border-radius:8px;cursor:pointer}.auth-password-toggle[aria-pressed=true]{color:#ff9367}.auth-input-wrap.has-error,.auth-otp-wrap.has-error{border-color:#e58e75}.auth-field>small{display:block;font-size:11px;line-height:1.8;color:#908174;margin-top:8px}.auth-error{display:block;color:#f0a18a;font-size:12px;line-height:1.7;margin:8px 0 3px;overflow-wrap:anywhere}.auth-forgot-link{display:block;width:max-content;margin:-9px 0 24px auto;color:#ae9783;font-size:12px;line-height:1.7;min-height:32px;padding-top:5px;text-decoration:underline;text-underline-offset:4px}.auth-divider{display:flex;align-items:center;gap:17px;margin:30px 0 24px;color:#7c7167;font-size:10px}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#352b23;flex:1}.auth-journey{display:flex;gap:16px;justify-content:space-between;padding:0 0 24px;margin:0 0 26px;border-bottom:1px solid #32291f}.auth-journey span{font-size:10px;letter-spacing:-.1px;color:#70665d;line-height:1.6}.auth-journey span.is-active{color:#ff9367;font-weight:650}.auth-check{position:relative;display:flex;align-items:flex-start;gap:11px;min-height:44px;cursor:pointer;font-size:13px;color:#c9baab;line-height:1.8}.auth-check>input{position:absolute;opacity:0;left:0;top:0;width:24px;height:24px;margin:0;cursor:pointer}.auth-check-visual{display:flex;align-items:center;justify-content:center;width:23px;height:23px;flex:0 0 23px;border:1px solid #5a4939;border-radius:6px;background:#1e1915;margin:0!important;pointer-events:none}.auth-check-visual svg{opacity:0;pointer-events:none}.auth-check>input:checked+.auth-check-visual{background:#ff5b23;border-color:#ff5b23;color:#1b0f09}.auth-check>input:checked+.auth-check-visual svg{opacity:1}.auth-check>input:focus-visible+.auth-check-visual{outline:2px solid #ffac85;outline-offset:4px}.auth-check>span:last-child{padding-top:0;line-height:1.8;font-size:12px}.auth-check>span:last-child em{font-style:normal;color:#df926b;margin-right:7px;font-size:10px}.auth-check>span:last-child small{display:block;font-size:11px;line-height:1.8;color:#96816d;margin-top:5px;font-weight:400}.auth-check-all{border:1px solid #5b3926;border-radius:13px;padding:19px 15px;background:linear-gradient(110deg,#302015,#1c1814);margin:0 0 18px;gap:12px}.auth-check-all>input{left:15px;top:19px}.auth-check-all>span:last-child{font-size:15px;font-weight:650;color:#ead3bc}.auth-agreements{padding:0 5px}.auth-agreement-row{display:flex;align-items:center;gap:5px;margin:10px 0}.auth-agreement-row .auth-check{flex:1;align-items:center;min-height:47px}.auth-agreement-row .auth-check>input{top:12px}.auth-legal-open{background:none;color:#a28469;width:35px;height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer}.auth-callout{display:flex;gap:12px;align-items:flex-start;border-top:1px solid #3b2b1f;border-bottom:1px solid #3b2b1f;padding:20px 0;margin:26px 0;color:#b48258}.auth-callout>svg{flex-shrink:0;margin-top:2px}.auth-callout p{color:#9e8772;font-size:12px;line-height:1.9;margin:0;word-break:keep-all}.auth-password-strength{display:flex;align-items:center;gap:4px;margin:-12px 0 25px;flex-wrap:wrap}.auth-password-strength i{height:3px;flex:1;background:#3e3126;border-radius:5px;max-width:31px}.auth-password-strength i.is-active{background:#ff8351}.auth-password-strength span{font-size:9px;color:#a18065;margin-left:7px;line-height:1.6}.auth-demo-code{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:17px 15px;border:1px solid #5c3924;background:#2c1e14;border-radius:12px;margin-bottom:30px}.auth-demo-code>span{font-size:11px;color:#bd9676}.auth-demo-code strong{font-size:22px;color:#ff9b63;letter-spacing:3px;font-weight:650;margin-left:auto}.auth-demo-code small{font-size:10px;color:#9c7c62;flex:0 0 100%;line-height:1.7}.auth-otp-wrap{border:1px solid #493526;min-height:62px;background:#1c1713;display:flex;align-items:center;border-radius:11px;padding:0 13px}.auth-otp-wrap:focus-within{border-color:#ff7a3a}.auth-otp-wrap input{width:100%;min-width:0;padding:15px 0;border:0;background:none;color:#f4eee7;font-size:26px;letter-spacing:9px;line-height:1.4;outline:0;max-width:245px;font-variant-numeric:tabular-nums}.auth-otp-wrap input::placeholder{color:#514235}.auth-otp-wrap input:focus-visible{outline:0}.auth-otp-wrap>span{font-size:12px;color:#ff9e65;margin-left:auto;font-variant-numeric:tabular-nums}.auth-resend-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:-9px}.auth-resend-row>span{font-size:11px;color:#8a7562}.auth-resend-row button{color:#d7a278;background:none;border:0;font-size:12px;min-height:44px;padding:4px 0;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.auth-resend-row button:disabled{opacity:.35;cursor:not-allowed}.auth-complete-content{text-align:center;padding-top:55px;display:flex;flex-direction:column;min-height:calc(100svh - 110px)}.auth-complete-content .auth-page-heading{margin-bottom:0}.auth-complete-content .auth-eyebrow{font-size:8px;margin-top:8px}.auth-complete-content .auth-page-heading h1{font-size:30px}.auth-complete-content .auth-bottom-action{margin-top:auto;padding-top:32px}.auth-success-symbol,.auth-mail-symbol{width:83px;height:83px;border:1px solid #b06b3f;border-radius:24px;display:flex;align-items:center;justify-content:center;color:#ff9c63;background:#ff5b2310;margin:8px auto 37px;position:relative}.auth-welcome-coupon{border:1px solid #644125;border-radius:16px;background:linear-gradient(135deg,#3a2717,#21180f);padding:22px;margin:29px 0 6px;text-align:left;position:relative;overflow:hidden}.auth-welcome-coupon>span{font-size:8px;letter-spacing:1.8px;color:#ba8d5f}.auth-welcome-coupon>div{display:flex;align-items:center;gap:17px;color:#ce9a63;margin:17px 0 10px}.auth-welcome-coupon strong{font-size:36px;line-height:1.2;letter-spacing:-1.7px;font-weight:700;color:#ffab69}.auth-welcome-coupon strong small{font-size:14px;margin-left:5px;font-weight:400}.auth-welcome-coupon p{font-size:12px;color:#d5af83;line-height:1.7}.auth-welcome-coupon code{font-family:Arial,sans-serif;font-size:10px;letter-spacing:1.5px;color:#8f6a48;display:block;margin-top:15px;padding-top:13px;border-top:1px dashed #75512e80}.auth-social-identity{display:flex;align-items:center;gap:13px;border:1px solid #4f3d2a;border-radius:13px;padding:20px 15px;margin-bottom:26px;background:#211b14}.auth-social-identity>span{width:45px;height:45px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#e9d34a;color:#28220a;flex-shrink:0}.auth-social-identity strong{display:block;font-size:14px;color:#e4d7bb;font-weight:650;line-height:1.5}.auth-social-identity small{display:block;font-size:10px;color:#a38e6e;line-height:1.7;margin-top:4px}.auth-social-identity em{font-style:normal;font-family:Arial,sans-serif;font-size:7px;letter-spacing:1px;color:#a78b59;margin-left:auto}.auth-consent-card{border-top:1px solid #463321;border-bottom:1px solid #463321;padding:22px 0;margin-bottom:27px}.auth-consent-card h2{font-size:14px;font-weight:650;margin:0 0 21px;color:#dbc8b2}.auth-consent-card>div{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:13px 0;font-size:12px;line-height:1.7}.auth-consent-card>div span{color:#9d8266}.auth-consent-card>div strong{color:#d0b494;font-weight:500}.auth-consent-card p{font-size:11px;line-height:1.9;color:#8e7155;margin:23px 0 0}.auth-legal-modal p:not(.auth-eyebrow){font-size:13px;color:#b8a48f;line-height:1.9;margin:17px 0}.auth-legal-modal .auth-button{margin-top:24px}.auth-page :focus-visible{outline:2px solid #ff9c70;outline-offset:4px}.auth-page button,.auth-page a{touch-action:manipulation}@media(max-width:365px){.auth-content{padding-left:20px;padding-right:20px}.auth-page-heading h1{font-size:28px}.auth-journey{gap:9px}.auth-journey span{font-size:9px}.auth-check>span:last-child{font-size:11px}.auth-otp-wrap input{letter-spacing:6px;font-size:25px;max-width:220px}.auth-demo-code{gap:7px}.auth-demo-code strong{font-size:20px}.auth-landing-copy h1{font-size:32px}.auth-password-strength span{font-size:8px}}
/* Programmatic page-heading focus is announced without a decorative outline. */
.auth-page h1[tabindex="-1"]:focus{outline:0}

/* Mobile actions retain a 44px touch area, including quiet secondary links. */
.auth-forgot-link{min-height:44px;padding-top:10px;padding-bottom:10px}
.auth-signup-prompt a{min-height:44px;min-width:44px;justify-content:center}
.auth-later{min-height:44px}
.auth-legal-open{width:44px;min-width:44px;height:44px}

.auth-wordmark{min-height:44px;align-items:center}

.auth-age-target{display:grid;gap:8px;padding:18px;border:1px solid #5c3928;border-radius:15px;background:#241b16;margin:26px 0}.auth-age-target>span,.auth-age-target>small{font-size:11px;color:#bc9d85;line-height:1.7}.auth-age-target>strong{font-size:16px;font-weight:600;line-height:1.6;color:#f0ded0}.auth-age-target>small{color:#ffa377}.auth-nice-provider{display:flex;align-items:center;gap:15px;border:1px solid #41362e;border-radius:15px;background:#1b1816;padding:20px;margin:24px 0}.auth-nice-provider>span{color:#ff9569;display:flex;align-items:center}.auth-nice-provider strong{font-size:19px;color:#f0e1d4;font-weight:650}.auth-nice-provider p{font-size:13px;color:#bca894;line-height:1.8;margin:5px 0 0}.auth-nice-handoff{display:flex;flex-direction:column;text-align:center;padding:30px 18px;gap:13px}.auth-nice-handoff small{font-size:12px;line-height:1.8;color:#ab9887}.auth-provider-demo{padding:20px 17px;border:1px dashed #73503b;border-radius:16px;background:#231b15;margin-top:27px}.auth-provider-demo>span{font-size:11px;letter-spacing:.04em;color:#f3b48b}.auth-provider-demo>p{font-size:13px;color:#bca48e;line-height:1.9;margin:12px 0 20px}.auth-demo-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.auth-demo-outcomes button{min-height:44px;border:1px solid #544030;border-radius:10px;padding:10px;background:#1c1713;color:#d3bba7;font-size:12px}.auth-demo-outcomes button:last-child{grid-column:1/-1}.auth-age-content-badge{font-size:12px;color:#ffab7e;border:1px solid #6b4731;background:#2b2018;border-radius:9px;padding:11px 13px;margin:0 0 27px;display:inline-flex;line-height:1.7}

/* The adult flow uses the server-verified NICE result. */
.auth-adult-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 15px;margin-top:4px;border:1px solid #493225;border-radius:12px;color:#d8b89f;font-size:13px;background:#201914}.auth-adult-entry>span{display:flex;align-items:center;gap:12px}.auth-adult-entry b{font-weight:650;font-size:14px;line-height:1.2;color:#ff9569}
.auth-age-mark{width:104px;height:104px;border-radius:26px;border:1px solid #a95b36;background:#ff5b2310;color:#ff9569;display:flex;align-items:center;justify-content:center;gap:1px;font-size:46px;line-height:1;font-weight:650;letter-spacing:-2px;margin:0 0 28px}.auth-age-mark>span{font-size:24px;align-self:flex-start;padding-top:27px;letter-spacing:0}.auth-age-mark-small{margin:8px auto 37px;width:92px;height:92px;font-size:39px}.auth-age-mark-small>span{padding-top:23px;font-size:22px}.auth-age-process{list-style:none;padding:0;margin:32px 0 0;display:grid;gap:0}.auth-age-process>li{display:flex;gap:18px;padding:18px 0;border-top:1px solid #32291f}.auth-age-process b{font-size:12px;letter-spacing:.05em;color:#ff9263;line-height:1.8;font-weight:500}.auth-age-process strong{font-size:14px;font-weight:600;line-height:1.7;color:#e4d4c6}.auth-age-process p{font-size:12px;line-height:1.8;color:#a28d7a;margin:5px 0 0}.auth-adult .auth-input-wrap select{font:inherit;font-size:16px;min-height:50px;width:100%;border:0;outline:0;color:#f4eee7;background:#1a1816;padding:12px 14px;border-radius:11px}.auth-age-agreements{border-top:1px solid #3b2b1f;border-bottom:1px solid #3b2b1f;padding:10px 0;margin-top:26px}.auth-age-privacy{font-size:12px;color:#a59280;line-height:1.8;margin:18px 0 8px}.auth-age-example{color:#f2b68e;background:none;border:0;display:flex;align-items:center;min-height:44px;padding:8px 0;text-decoration:underline;text-underline-offset:4px;font-size:13px}.auth-age-result{border:1px solid #624125;border-radius:16px;background:#251b14;padding:22px 18px;margin:30px 0 10px}.auth-age-result>span{display:block;font-size:11px;letter-spacing:.05em;color:#bc9678;line-height:1.8}.auth-age-result>strong{display:block;font-size:23px;color:#ffab7d;margin:11px 0;line-height:1.5}.auth-age-result>p{font-size:13px;color:#bca58e;line-height:1.9;margin:12px 0 0}.account-age-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:14px 16px;border:1px solid #5d3a24;border-radius:13px;background:#241b15;color:#e8b48b;font-size:14px;margin:20px 0}

/* Placeholder copy stays a mid tone, distinct from entered values; outranks the #app placeholder rule in refinement.css. */
.auth-input-wrap input::placeholder,#app .auth-input-wrap input::placeholder,#app .auth-otp-wrap input::placeholder{color:#8f877e;opacity:1}

/* Fields focused after validation keep a visible ring over the error border. */
.auth-input-wrap.has-error:focus-within,.auth-otp-wrap.has-error:focus-within{border-color:#f0a18a;box-shadow:0 0 0 3px #f0a18a3d}
/* Error/status messages focused by script get a quiet marker; keyboard focus keeps the full outline. */
.auth-page :is(.auth-error,[role=status],[role=alert])[tabindex="-1"]:focus{outline:1px solid #f0a18a99;outline-offset:4px;border-radius:4px}
.auth-page :is(.auth-error,[role=status],[role=alert])[tabindex="-1"]:focus-visible{outline:2px solid #ff9c70}

/* Resend countdown text lives in the button: wraps inside 320px and keeps a 44px target. */
.auth-resend-row{flex-wrap:wrap;row-gap:0}
.auth-resend-row>span{flex:1 1 9em;min-width:0;line-height:1.6}
.auth-resend-row button{flex:0 1 auto;min-width:44px;max-width:100%;margin-left:auto;padding:10px 0;line-height:1.5;text-align:right;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.auth-resend-row button:disabled{opacity:1;color:#9a8b7d;text-decoration:none}

/* Login: tighter vertical rhythm so the Kakao option surfaces sooner on 667–874px tall screens. */
.auth-login .auth-content,.auth-content.auth-login{padding-top:24px}
.auth-login .auth-page-heading{margin-bottom:24px}
.auth-login .auth-eyebrow{margin-bottom:10px}
.auth-login .auth-page-heading h1{margin-bottom:12px}
.auth-login .auth-field{margin-bottom:18px}
.auth-login .auth-field>span:first-child{margin-bottom:8px}
.auth-login .auth-forgot-link{margin:-8px 0 14px auto}
.auth-login .auth-divider{margin:22px 0 18px}
.auth-login .auth-signup-prompt{margin-top:14px}
