.auth-layer{--auth-bg:#fff;--auth-ink:#142039;--auth-muted:#6c778a;--auth-field:#f6f8fb;--auth-line:#e3e8ef;--auth-accent:#2563eb;position:fixed;inset:0;z-index:1080;display:grid;place-items:center;padding:20px;overflow:auto;color:var(--auth-ink);overscroll-behavior:contain}
html[data-aov-theme="dark"] .auth-layer{--auth-bg:#162133;--auth-ink:#f1f5fb;--auth-muted:#a0aec2;--auth-field:#101a2b;--auth-line:#2d3d54;--auth-accent:#86acff}
.auth-layer[hidden],.auth-layer [hidden]{display:none!important}
.auth-layer *{box-sizing:border-box}
.auth-backdrop{position:fixed;inset:0;background:#06101fc2;backdrop-filter:blur(5px)}
.auth-popup{position:relative;width:min(480px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:26px 30px;background:var(--auth-bg);border:1px solid var(--auth-line);border-radius:22px;box-shadow:0 24px 100px #0005;scrollbar-width:thin;animation:auth-popup-in .2s cubic-bezier(.23,1,.32,1)}
.auth-popup-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
.auth-popup-brand{font-size:15px;letter-spacing:-.5px;font-weight:800;color:var(--auth-ink)!important;text-decoration:none}.auth-popup-brand span{font-weight:450;color:var(--auth-muted)}
.auth-close{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--auth-field);color:var(--auth-muted);cursor:pointer}
.auth-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:var(--auth-field);padding:5px;border:1px solid var(--auth-line);border-radius:11px;margin-bottom:23px}
.auth-switch button{border:0;background:transparent;border-radius:7px;color:var(--auth-muted);padding:10px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer;min-height:38px}
.auth-switch button[aria-selected="true"]{background:var(--auth-bg);box-shadow:0 1px 5px #0001;color:var(--auth-ink)}
.auth-popup h2{font-size:25px;letter-spacing:-.8px;font-weight:700;margin:0 0 7px;color:var(--auth-ink)!important;line-height:1.2}.auth-popup-intro{font-size:12px;line-height:1.6;color:var(--auth-muted);margin:0 0 22px}
.auth-popup-form>label,.auth-password-grid label,.auth-label-row label{display:block;font-size:11px;font-weight:600;color:var(--auth-ink);margin-bottom:7px}
.auth-popup input:not([type="checkbox"]):not([type="hidden"]){display:block;width:100%;height:43px;padding:0 12px;border:1px solid var(--auth-line);background:var(--auth-field);border-radius:9px;color:var(--auth-ink);font:inherit;font-size:13px;outline:0;min-width:0}
.auth-popup input::placeholder{color:var(--auth-muted);opacity:.75}.auth-popup input:focus{border-color:var(--auth-accent)!important;box-shadow:0 0 0 3px #3979ea18}
.auth-popup-form>input:not([type="hidden"]){margin-bottom:15px}.auth-label-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:2px 0 0}.auth-label-row a{font-size:10px;color:var(--auth-accent)}
.auth-secret{position:relative;margin-bottom:15px}.auth-secret input{padding-right:42px!important}.auth-secret button{position:absolute;right:3px;top:3px;width:37px;height:37px;border:0;background:transparent;color:var(--auth-muted);cursor:pointer}
.auth-password-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-password-grid>div{min-width:0}
.auth-terms{display:flex!important;gap:9px;align-items:flex-start;font-size:10px!important;line-height:1.6!important;font-weight:400!important;margin:1px 0 12px!important;color:var(--auth-muted)!important}.auth-terms input{accent-color:#2563eb;flex:none;min-width:15px;width:15px;height:15px;margin-top:1px}.auth-terms a{color:var(--auth-accent)}
.auth-challenge{min-height:0;margin-top:8px}.auth-challenge-status{font-size:10px;color:var(--auth-muted);margin:8px 0 12px;line-height:1.5}
.auth-submit{display:flex;justify-content:center;align-items:center;gap:18px;width:100%;min-height:44px;border:0;border-radius:9px;background:#2563eb;color:white;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer;transition:transform .12s ease-out}.auth-submit:disabled{opacity:.6;cursor:wait}.auth-submit:active{transform:scale(.985)}
.auth-feedback{font-size:12px;line-height:1.5;background:var(--auth-field);border:1px solid var(--auth-line);border-left:3px solid #cf5265;border-radius:8px;padding:10px 12px;margin:0 0 16px;color:var(--auth-ink)}.auth-feedback[data-kind="success"]{border-left-color:#38a87b}
.auth-social-separator{text-align:center;display:flex;align-items:center;gap:12px;font-size:10px;color:var(--auth-muted);margin:21px 0 14px}.auth-social-separator::before,.auth-social-separator::after{content:"";height:1px;background:var(--auth-line);flex:1}.auth-popup-social>p{display:none!important}
.auth-layer button:focus-visible,.auth-layer a:focus-visible{outline:2px solid var(--auth-accent);outline-offset:3px}
body.aov-auth-open{overflow:hidden}body.aov-auth-open #aov-player.aov-radio-v4{z-index:1090!important}body.aov-auth-open #aov-music-toast{z-index:1091!important}
.aov-auth-shell{min-height:100dvh!important;background:#eef2f7!important}.auth-shell-story{max-width:1100px;min-height:100dvh;margin:auto;padding:80px 36px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;color:#17243c}.auth-shell-logo{font-size:22px;letter-spacing:-1px;font-weight:800;color:inherit!important}.auth-shell-logo span{font-weight:400;color:#748199}.auth-shell-story>p{font-size:12px;margin:40px 0 14px;color:#68778f}.auth-shell-story h1{font-size:clamp(38px,7vw,82px);font-weight:750;line-height:1.07;letter-spacing:-3px;color:inherit!important;margin:0 0 35px}.auth-shell-actions{display:flex;align-items:center;gap:24px;font-size:12px}.auth-shell-actions a{color:#2563eb}.auth-shell-actions button{background:transparent;border:0;color:inherit;cursor:pointer}
html[data-aov-theme="dark"] .aov-auth-shell{background:#101a2b!important}html[data-aov-theme="dark"] .auth-shell-story{color:#eef4ff}
@keyframes auth-popup-in{from{transform:translateY(8px) scale(.99);opacity:0}to{transform:none;opacity:1}}
@media(max-width:520px){.auth-layer{padding:12px}.auth-popup{padding:22px;max-height:calc(100dvh - 24px);border-radius:18px}.auth-popup input:not([type="checkbox"]):not([type="hidden"]){font-size:16px}.auth-password-grid{grid-template-columns:1fr;gap:0}.auth-shell-story{padding:36px 24px}.auth-shell-story h1{letter-spacing:-1.5px}}
@media(prefers-reduced-motion:reduce){.auth-popup{animation:none}.auth-submit{transition:none}}

.auth-popup .auth-social-separator{display:none}.auth-close{width:44px;height:44px}
