/* MyAI-KO Personal 0.4 - isolated modern login/register visual layer */
body:has(.auth-head){background:radial-gradient(ellipse 50% 38% at 50% 30%,rgba(102,180,255,.19),transparent 90%),linear-gradient(180deg,#fbfdff,#eff7ff) !important;color:#092659}
body:has(.auth-head) .top{min-height:53px;padding:7px max(20px,calc((100vw - 1080px)/2));box-shadow:0 2px 14px rgba(27,76,148,.04)}
body:has(.auth-head) .top a{font-size:23px}body:has(.auth-head) .top small{font-size:10px;letter-spacing:2.4px}
body:has(.auth-head) .page{padding:10px 14px;display:flex;justify-content:center;align-items:center}
body:has(.auth-head) .card{box-sizing:border-box;width:min(100%,520px);max-width:520px;padding:20px 30px 16px;background:#fff;border:1px solid #d9e7fa;border-radius:20px;box-shadow:0 18px 55px rgba(39,102,188,.10)}
body:has(.auth-head) footer{padding:7px 10px;font-size:10px}
.auth-head{margin:0 0 12px!important;text-align:center!important}.auth-head .tag{font-size:10px;letter-spacing:1.6px}.auth-head h1{font-size:24px;margin:4px 0 4px;line-height:1.13;letter-spacing:-.5px}.auth-head p{font-size:12px;line-height:1.35;margin:0;color:#6375a5}
.social-stack{display:grid;grid-template-columns:1fr;gap:7px}.social-stack .social-option{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;min-height:38px;padding:7px 14px;border:1px solid #d8e4f3;border-radius:11px;background:#fff;box-shadow:0 1px 2px rgba(37,86,154,.04);color:#15346f;font:700 12px/1.2 Arial,Helvetica,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;transition:background .15s,border-color .15s,box-shadow .15s;opacity:1}
.social-stack .social-option:hover{background:#f3f8ff;border-color:#8ec2ff;box-shadow:0 3px 14px rgba(19,112,245,.07)}.social-stack .social-option:focus-visible{outline:3px solid #81c7ff;outline-offset:2px}.social-stack .social-option span:nth-child(2){flex:0 1 auto}.social-stack .social-mark{font-size:17px;line-height:1;width:19px;display:inline-flex;align-items:center;justify-content:center}.social-stack .apple-mark{color:#0c1837}
.or-divider{display:flex;align-items:center;gap:11px;margin:11px 0 8px;color:#7183a5;font-weight:600;font-size:11px}.or-divider:before,.or-divider:after{content:'';flex:1;height:1px;background:#e1eafa}
.card:has(.auth-head) .field{margin-top:9px}.card:has(.auth-head) .field label{font-size:11.5px;font-weight:800;margin-bottom:5px;color:#173664}.card:has(.auth-head) .field input:not([type=checkbox]){box-sizing:border-box;display:block;width:100%;min-height:39px;height:39px;padding:8px 12px;border:1px solid #cfdff4;border-radius:10px;background:#fcfdff;color:#092659;font-size:13px}.card:has(.auth-head) .field input:focus-visible{outline:2px solid #7cbaff;outline-offset:1px}.card:has(.auth-head) input::placeholder{color:#95a6bf}
.password-field{position:relative}.password-field input{padding-right:84px!important}.password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:transparent;border:0;border-radius:7px;color:#0879ff;font-size:11px;font-weight:800;padding:8px;cursor:pointer}.password-toggle:focus-visible{outline:2px solid #64baff}
.accept-label{display:flex!important;align-items:flex-start!important;gap:10px;margin:11px 0 5px;font-size:11px;line-height:1.37;font-weight:500;color:#173664}.accept-label input[type=checkbox]{appearance:auto;width:16px;height:16px;flex:0 0 16px;min-width:16px;margin:1px 0 0;accent-color:#0e7bf9;padding:0;border:1px solid #a8bfdd}.accept-label span{flex:1}.accept-label a,.auth-switch a,.auth-bottom a{color:#0873e4;text-decoration:underline;text-underline-offset:2px}.legal-note{font-size:10px;line-height:1.35;margin:4px 0 0}.card:has(.auth-head) .btn{min-height:41px;padding:9px 12px;border-radius:10px;margin:11px 0 0;font-size:13px;background:linear-gradient(105deg,#21b9ed,#176dff);box-shadow:0 6px 14px rgba(23,110,237,.17)}
.auth-switch{text-align:center;margin:11px 0 8px;font-size:11.5px;line-height:1.35;color:#53698e}.auth-switch a{font-weight:800}.auth-bottom{border-top:1px solid #e4ecf8;padding-top:8px}.auth-bottom p{font-size:10px;line-height:1.4;margin:0 0 8px;color:#7082a0}.auth-bottom .links{margin:0;display:flex;gap:10px;justify-content:space-between}.auth-bottom .links a{font-size:11px;font-weight:600;text-decoration:none}.card:has(.auth-head) .muted:not(.legal-note){font-size:10.5px;line-height:1.4;margin:8px 0 0}.auth-notice{padding:8px 10px;margin-bottom:9px;font-size:11px;line-height:1.35;border:1px solid #bcdaf8;border-radius:9px;background:#f0f7ff;color:#164980}.auth-notice[hidden]{display:none!important}.card:has(.auth-head) .msg{font-size:12px;padding:9px 10px;margin:10px 0}
@media(max-width:560px){body:has(.auth-head) .page{align-items:flex-start;padding:11px 10px}.card:has(.auth-head){padding:18px 17px}.auth-head h1{font-size:22px}.social-stack .social-option{font-size:12px}.accept-label{font-size:11px}}
@media(max-height:690px) and (min-width:561px){body:has(.auth-head) .page{align-items:flex-start}.card:has(.auth-head){padding-top:12px;padding-bottom:10px}.auth-head{margin-bottom:8px!important}.auth-head p{font-size:11px}.social-stack{gap:5px}.social-stack .social-option{min-height:34px}.or-divider{margin:8px 0 5px}.card:has(.auth-head) .field{margin-top:7px}.card:has(.auth-head) .field input:not([type=checkbox]){height:35px;min-height:35px}.accept-label{margin-top:8px}.auth-switch{margin-top:8px}}
