.kr-auth-dialog { box-sizing:border-box; width:min(460px,calc(100vw - 28px)); max-height:calc(100dvh - 32px); margin:auto; padding:28px; overflow:auto; border:1px solid #e8e1fa; border-radius:28px; background:#fff; color:#172033; box-shadow:0 28px 100px #17203338; font:400 16px/1.5 Inter,ui-sans-serif,system-ui,sans-serif; }
.kr-auth-dialog::backdrop { background:#17203380; backdrop-filter:blur(7px); }
.kr-auth-dialog *, .kr-auth-dialog *::before, .kr-auth-dialog *::after { box-sizing:border-box; }
.kr-auth-dialog button, .kr-auth-dialog input { font:inherit; }
.kr-auth-dialog button { cursor:pointer; }
.kr-auth-dialog button:disabled { cursor:wait; opacity:.6; }
.kr-auth-dialog :focus-visible { outline:3px solid #a78bfa; outline-offset:3px; }
.kr-auth-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:30px; gap:12px; }
.kr-auth-brand { display:flex; align-items:center; gap:9px; font-weight:850; letter-spacing:-.04em; font-size:19px; }
.kr-auth-brand>span { display:grid; place-items:center; width:34px; height:34px; border-radius:12px; background:#a78bfa; color:white; font-size:26px; }
.kr-auth-close { display:grid; place-items:center; border:0; width:40px; height:40px; border-radius:50%; background:#f4f1ff; color:#475569; font-size:28px!important; }
.kr-auth-kicker { margin:0 0 10px; color:#7c3aed; font-size:10px; font-weight:850; letter-spacing:.12em; }
.kr-auth-dialog h2 { margin:0 0 10px; font-size:30px; line-height:1.15; font-weight:850; letter-spacing:-.045em; text-wrap:balance; }
.kr-auth-description { margin:0 0 24px; color:#536174; font-size:15px; }
.kr-auth-form { display:grid; gap:9px; margin:0; }
.kr-auth-label { font-weight:750; font-size:14px; margin-top:6px; }
.kr-auth-form input { display:block; width:100%; min-width:0; height:50px; padding:11px 13px; color:#172033; background:#fbfaff; border:1px solid #d6cfe5; border-radius:12px; }
.kr-auth-form input:focus { border-color:#7c3aed; }
.kr-auth-password { position:relative; }
.kr-auth-password input { padding-right:67px; }
.kr-auth-password button { position:absolute; right:4px; top:4px; bottom:4px; width:58px; border:0; border-radius:9px; background:transparent; color:#6d28d9; font-weight:750; font-size:12px; }
.kr-auth-hint { margin:0; color:#64748b; font-size:12px; line-height:1.5; }
.kr-auth-link { min-height:36px; padding:3px 0; border:0; background:none; color:#6d28d9; font-weight:750; text-decoration:underline; text-underline-offset:3px; }
.kr-auth-forgot { justify-self:end; font-size:13px!important; }
.kr-auth-submit { width:100%; min-height:52px; padding:12px; border:0; border-radius:14px; background:#7c3aed; color:white; font-weight:800!important; box-shadow:0 5px 16px #7c3aed25; }
.kr-auth-submit:hover { background:#6d28d9; }
.kr-auth-error { margin:0; font-size:13px; color:#b42318; }
.kr-auth-error:empty { display:none; }
.kr-auth-error:not(:empty) { padding:10px 12px; background:#fff1f0; border-radius:10px; }
.kr-auth-switch { margin:20px 0 0; text-align:center; font-size:14px; color:#536174; }
.kr-auth-switch button { font-size:14px; }
.kr-auth-footer { margin-top:8px; text-align:center; }
.kr-auth-address { margin:0 0 5px; overflow-wrap:anywhere; font-size:14px; font-weight:750; color:#6d28d9; }
#kr-auth-code { letter-spacing:.35em; font-size:24px; text-align:center; font-weight:750; }
.kr-auth-resend { display:flex; justify-content:space-between; gap:12px; margin-top:15px; font-size:12px; }
.kr-auth-notice { padding:12px; margin:0 0 16px; border-radius:10px; background:#f0fdf4; color:#166534; font-size:13px; }
@media(max-width:420px){.kr-auth-dialog{padding:23px 20px;border-radius:23px}.kr-auth-dialog h2{font-size:27px}.kr-auth-top{margin-bottom:22px}}
