.auth-dialog,.add-dialog{color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:0;max-width:calc(100vw - 32px);box-shadow:0 30px 120px #0008}
.auth-dialog::backdrop,.add-dialog::backdrop{background:#0b100ee6;backdrop-filter:blur(12px)}
.auth-dialog{width:810px}.auth-layout{display:grid;grid-template-columns:310px 1fr}
.auth-art{padding:35px 30px;position:relative;overflow:hidden;background:linear-gradient(160deg,#31442a,#17271d 70%);display:flex;flex-direction:column;min-height:550px}
.auth-art .brand{font-size:22px;color:#edf5e5}.auth-art .brand-mark i{background:#c0f47b}
.auth-orbit{height:245px;position:relative;margin:35px -15px 12px}
.auth-orbit:before,.auth-orbit:after{content:"";position:absolute;inset:15px 0;border:1px solid #c0f47b22;border-radius:50%;transform:rotate(-35deg) scaleY(.6)}
.auth-orbit:after{transform:rotate(40deg) scaleY(.65)}
.auth-orbit>span{position:absolute;left:calc(50% - 70px);top:40px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#f1f6ce,#bed88e 35%,#6a8d55 70%,#334b2e);box-shadow:15px 25px 40px #08160766}
.auth-art h2{font-size:26px;line-height:1.6;font-weight:500;letter-spacing:1px;margin:0;color:#eaf4df}.auth-art p{font-size:12px;color:#aabd9b;line-height:1.9;margin-top:13px}.auth-art small{margin-top:auto;padding-top:35px;font:9px ui-monospace,monospace;letter-spacing:1.5px;color:#8fa480}
.auth-content{padding:38px 38px 30px}.auth-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-bottom:30px}
.auth-tabs button{border:0;background:transparent;color:var(--faint);font-size:14px;padding:0 0 13px;position:relative}.auth-tabs [aria-selected=true]{color:var(--accent)}.auth-tabs [aria-selected=true]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--accent)}
.auth-content h2{font-size:27px;font-weight:550;letter-spacing:-.5px;margin:0 0 11px}.auth-subtitle{color:var(--muted);font-size:13px;margin:0 0 29px;line-height:1.8}
.auth-form label,.add-form label{display:block;font-size:13px;color:var(--muted);margin-bottom:17px;line-height:1.5}
.auth-form input,.add-form input{width:100%;height:44px;background:var(--bg);border:1px solid var(--line);border-radius:7px;color:var(--text);padding:0 12px;font-size:15px;margin-top:8px;outline-offset:2px}
.auth-form input::placeholder,.add-form input::placeholder{font-size:12px;color:var(--faint)}
.password-field{position:relative;display:block}.password-field input{padding-right:55px}.password-field button{position:absolute;right:11px;top:22px;border:0;background:transparent;color:var(--muted);font-size:11px;padding:0}
.auth-submit{width:100%;padding:13px 15px;border:0;border-radius:7px;background:var(--accent);color:var(--accent-ink);font-size:14px;font-weight:550;transition:filter .15s}
.auth-submit:hover{filter:brightness(1.07)}.auth-submit:disabled{opacity:.5;cursor:wait}.form-error{font-size:12px;color:#f1a998;line-height:1.8;margin:0 0 12px;min-height:0}.form-error:empty{display:none}
.auth-countdown{color:var(--muted);font-size:12px;line-height:1.7}.auth-countdown:empty{display:none}
.auth-safety{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:var(--faint);line-height:1.9;margin:20px 0 0}.auth-safety svg{width:15px;height:15px;flex-shrink:0;margin-top:3px}
.add-dialog{width:460px;padding:28px}.add-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.add-dialog h2{font-size:22px;font-weight:500;margin:0}.add-dialog>p{color:var(--muted);font-size:12px;line-height:1.8;margin:13px 0 24px}.add-form small{color:var(--faint);font-size:11px;margin-left:5px}.add-form .auth-submit{margin-top:5px}.music-home .profile-mark{cursor:pointer}
.auth-form [hidden]{display:none}
@media(max-width:700px){.auth-dialog{width:430px}.auth-layout{display:block}.auth-art{display:none}.auth-content{padding:30px 27px}.auth-content h2{font-size:25px}.auth-subtitle{font-size:12px}.auth-dialog{border-radius:16px}.add-dialog{padding:24px}.auth-tabs{margin-bottom:26px}.auth-safety{font-size:10px}}
/* Keep account controls accessible on smaller screens. */
.home-header .profile-mark{display:grid;border:1px solid #c0f47b30}
@media(max-width:480px){.home-header .breadcrumb{display:none}.home-header .header-tools{width:100%;gap:10px}.home-header .search-box{flex:1;min-width:0}.home-header .search-box input{width:100%;flex:1}.home-header .profile-mark{width:31px;height:31px;flex-shrink:0}}
.add-tabs{margin-top:24px;margin-bottom:18px}.local-file-button{width:100%;display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 18px;border:1px dashed #c0f47b55;border-radius:12px;background:#c0f47b06;color:var(--accent)}.local-file-button:hover{background:#c0f47b0d;border-color:var(--accent)}.local-file-button svg{width:33px;height:33px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.local-file-button strong{font-size:15px;font-weight:500}.local-file-button>span{font-size:12px;color:var(--muted)}.local-file-button:disabled{opacity:.5;cursor:wait}.local-storage-note{font-size:12px;color:var(--faint);line-height:1.9;margin:18px 0 0}.local-import-status{font-size:12px;color:var(--accent);line-height:1.8;margin-top:12px}.local-import-status:empty{display:none}.add-form[hidden],#local-add-panel[hidden]{display:none}.needs-local-file .song-artist{color:#c0ad82}.needs-local-file .list-cover{filter:saturate(.35);opacity:.6}html:has(.auth-dialog[open]){overflow:hidden}
