:root{color-scheme:dark;--safe-top: env(safe-area-inset-top);--safe-bottom: env(safe-area-inset-bottom);--bg: #121212;--surface: #1c1c1e;--surface-2: #232326;--border: rgba(255, 255, 255, .08);--text: #f5f5f7;--muted: #9b9ba1;--accent: #1db954;--accent-soft: rgba(29, 185, 84, .16);--warning: #e0a458;--danger: #e5484d}@media(prefers-color-scheme:light){:root{color-scheme:light;--bg: #f5f5f7;--surface: #ffffff;--surface-2: #ededf0;--border: rgba(0, 0, 0, .08);--text: #141416;--muted: #6a6a70;--accent: #178a40;--accent-soft: rgba(23, 138, 64, .12);--warning: #a66a1f;--danger: #c62828}.app{background:#e9e9ec}.sidebar,.player-bar,.mobile-nav{background:#fff}}*{box-sizing:border-box}html{height:-webkit-fill-available}html,body,#root{height:100%;overflow:hidden}body{margin:0;min-height:100vh;min-height:-webkit-fill-available;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased}.screen{min-height:100%;display:grid;place-items:center;padding:24px}.loading{color:var(--muted)}.setup{min-height:100%;display:grid;place-items:center;padding:24px}.setup-card{width:min(440px,100%);padding:32px;border-radius:20px;background:var(--surface);border:1px solid var(--border)}.brand{display:flex;align-items:center;gap:10px}.brand h1{margin:0;font-size:20px;letter-spacing:-.01em}.brand-large{margin-bottom:12px}.brand-large h1{font-size:30px}.brand-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#06130a;font-size:15px;padding-left:3px}.subtitle{margin:0 0 24px;color:var(--muted);line-height:1.55}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;font-size:14px;color:var(--muted)}.field input{width:100%;padding:13px 14px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:16px;outline:none}.field input:focus{border-color:var(--accent)}.primary-button{width:100%;margin-top:8px;padding:14px;border:0;border-radius:999px;background:var(--accent);color:#04130a;font-size:16px;font-weight:700;cursor:pointer}.primary-button:disabled{opacity:.6;cursor:default}.form-error{margin:0 0 16px;padding:12px 14px;border-radius:12px;background:#e5484d1f;color:var(--danger);font-size:14px;line-height:1.4}.hint{margin:18px 0 0;color:var(--muted);font-size:13px}.library{height:100dvh;display:flex;flex-direction:column;padding:0 clamp(12px,3vw,40px)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}.topbar-actions{display:flex;align-items:center;gap:12px}.sync-badge{font-size:12px;padding:5px 10px;border-radius:999px;background:var(--surface-2);color:var(--muted);white-space:nowrap}.sync-idle{color:var(--accent);background:var(--accent-soft)}.sync-offline{color:var(--warning);background:#e0a4581f}.sync-button{width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--muted);font-size:18px;cursor:pointer}.add-button{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:999px;border:1px solid transparent;background:var(--accent-soft);color:var(--accent);font-size:14px;font-weight:600;cursor:pointer}.add-button:hover{border-color:var(--accent)}.add-button-icon{font-size:16px;line-height:1}.app{position:fixed;top:var(--safe-top);left:0;right:0;height:calc(100vh - var(--safe-top));height:calc(100dvh - var(--safe-top));display:flex;flex-direction:column;min-height:0;background:#000}@media(display-mode:standalone){.app{height:calc(100lvh - var(--safe-top))}}.app-body{display:flex;flex:1;min-height:0;gap:8px;padding:8px 8px 0}.sidebar{display:flex;flex-direction:column;flex:none;width:240px;padding:18px 12px;border-radius:12px;background:#121212}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:4px 8px 20px;border:0;background:transparent;color:var(--text);font-size:19px;font-weight:700;letter-spacing:-.01em;cursor:pointer}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.sidebar-nav button,.mobile-nav button{display:flex;align-items:center;gap:14px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:14px;font-weight:600;text-align:left;cursor:pointer}.sidebar-nav button svg,.mobile-nav button svg{width:20px;height:20px;fill:currentColor}.sidebar-nav button:hover,.mobile-nav button:hover{color:var(--text)}.sidebar-nav button.active,.mobile-nav button.active{background:var(--surface-2);color:var(--text)}.sidebar-add{display:flex;align-items:center;gap:10px;margin-top:18px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--accent);font-size:14px;font-weight:700;cursor:pointer}.sidebar-add svg{width:18px;height:18px;fill:currentColor}.sidebar-spacer{flex:1;min-height:16px}.sidebar-user{display:flex;align-items:center;gap:10px;padding:10px 8px;border-top:1px solid var(--border)}.sidebar-user-info{min-width:0}.sidebar-user-name{overflow:hidden;font-size:13px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}.sidebar-user-role{margin-top:2px;color:var(--muted);font-size:11px}.avatar{display:grid;flex:none;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:14px;font-weight:700}.avatar-small{width:30px;height:30px;font-size:12px}.main{display:flex;flex-direction:column;flex:1;min-width:0;border-radius:12px;background:var(--bg);overflow:hidden}.main-header{display:flex;align-items:center;gap:14px;padding:14px 24px 10px}.mobile-brand{display:none;align-items:center;gap:8px;border:0;background:transparent;color:var(--text);font-size:17px;font-weight:700;cursor:pointer}.main-header .searchbar{flex:1;max-width:560px;margin-bottom:0}.search-icon{width:18px;height:18px;color:var(--muted);fill:currentColor}.clear-search{border:0;background:transparent;color:var(--muted);font-size:18px;line-height:1;cursor:pointer}.main-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.main-content{flex:1;min-height:0;padding:4px 24px 24px;overflow-y:auto}.main-content.view-library,.main-content.view-search{display:flex;flex-direction:column;overflow:hidden;padding-bottom:8px}.main-content.view-library .track-list,.main-content.view-search .track-list{flex:1;min-height:0}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:22px 0 12px}.section-head h2{margin:0;font-size:22px;letter-spacing:-.01em}.muted{color:var(--muted);font-size:13px}.home-hero{margin:4px 0 8px;padding:26px;border-radius:16px;background:linear-gradient(180deg,rgba(29,185,84,.2),transparent 90%),var(--surface)}.eyebrow{margin:0 0 6px;color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.home-hero h1{margin:0;font-size:clamp(28px,4vw,44px);letter-spacing:-.03em}.hero-sub{margin:8px 0 0;color:var(--muted);font-size:14px}.album-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}.album-card{display:flex;flex-direction:column;gap:8px;padding:12px;border:0;border-radius:10px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer;transition:background .15s ease}.album-card:hover{background:var(--surface-2)}.album-card-cover .track-cover{width:100%;height:auto;aspect-ratio:1;border-radius:6px}.album-card-cover .track-cover-placeholder{font-size:40px}.album-card-title{overflow:hidden;font-size:14px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}.album-card-sub{overflow:hidden;color:var(--muted);font-size:12px;white-space:nowrap;text-overflow:ellipsis}.simple-track-list{margin-top:4px}.back-button{margin:0 0 10px;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;cursor:pointer}.back-button:hover{color:var(--text)}.album-hero{display:flex;align-items:flex-end;gap:26px;margin-bottom:18px;padding:24px;border-radius:16px;background:linear-gradient(180deg,rgba(29,185,84,.22),transparent),var(--surface)}.album-cover-large .track-cover{width:190px;height:190px;border-radius:12px;box-shadow:0 12px 40px #00000073}.album-cover-large .track-cover-placeholder{font-size:44px}.album-hero-info h1{margin:4px 0 8px;font-size:clamp(26px,3.4vw,42px);letter-spacing:-.03em}.album-meta{margin:0 0 16px;color:var(--muted);font-size:14px}.primary-button.album-play,.primary-button.empty-action{width:auto;padding:12px 22px}.mobile-nav{display:none}.player-bar{flex:none;display:grid;grid-template-columns:minmax(180px,1fr) minmax(320px,2fr) minmax(0,1fr);align-items:center;gap:16px;padding:12px 20px;border-top:1px solid var(--border);background:#181818}.player-track-info{display:flex;align-items:center;gap:10px;min-width:0}.player-track-info .track-cover{width:48px;height:48px;border-radius:10px}.player-meta{min-width:0}.player-title{display:flex;align-items:center;gap:8px;overflow:hidden;font-size:14px;white-space:nowrap;text-overflow:ellipsis}.player-sub{margin-top:3px;overflow:hidden;color:var(--muted);font-size:12px;white-space:nowrap;text-overflow:ellipsis}.player-controls-wrap{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.player-controls{display:flex;align-items:center;gap:10px}.icon-button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}.icon-button svg{width:18px;height:18px;fill:currentColor}.icon-button:hover{color:var(--text)}.icon-button.active{color:var(--accent)}.repeat-button{position:relative}.repeat-one{position:absolute;top:1px;right:1px;display:grid;place-items:center;width:11px;height:11px;border-radius:50%;background:var(--accent);color:#04130a;font-size:9px;font-weight:700}.player-toggle{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:var(--accent);color:#04130a;cursor:pointer}.player-toggle svg{width:20px;height:20px;fill:currentColor}.player-progress{display:flex;align-items:center;gap:8px;width:100%;max-width:520px}.player-time-current,.player-time-total{width:38px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.player-time-total{text-align:right}.player-seek-wrap{position:relative;flex:1;min-width:0;height:14px;display:flex;align-items:center}.player-seek-wrap:before{content:"";position:absolute;left:0;right:0;top:50%;height:4px;transform:translateY(-50%);border-radius:999px;background:var(--border)}.player-seek-fill{position:absolute;left:0;top:50%;height:4px;transform:translateY(-50%);border-radius:999px;background:var(--text);pointer-events:none}.player-seek-fill:after{content:"";position:absolute;right:-5px;top:50%;width:10px;height:10px;transform:translateY(-50%);border-radius:50%;background:var(--text);opacity:0;transition:opacity .15s ease}.player-bar:hover .player-seek-fill:after{opacity:1}.player-seek{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none}.player-seek:disabled{cursor:default;opacity:.5}.player-error{margin:0;color:var(--danger);font-size:11px;text-align:center}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:20px;background:#0000009e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:min(560px,100%);max-height:90dvh;overflow:auto;padding:24px;border-radius:20px;border:1px solid var(--border);background:var(--surface);box-shadow:0 24px 80px #00000073}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-head h2{margin:0;font-size:20px}.modal-close{width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:var(--surface-2);color:var(--muted);font-size:20px;line-height:1;cursor:pointer}.modal-close:disabled{opacity:.4;cursor:default}.dropzone{padding:26px 18px;border:1.5px dashed var(--border);border-radius:16px;text-align:center;cursor:pointer;transition:border-color .15s ease,background .15s ease}.dropzone:hover,.dropzone-active{border-color:var(--accent);background:var(--accent-soft)}.dropzone-icon{display:inline-grid;place-items:center;width:44px;height:44px;margin-bottom:10px;border-radius:50%;background:var(--surface-2);color:var(--accent);font-size:22px}.dropzone-title{margin:0 0 4px;font-weight:600}.dropzone-hint{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.file-input{display:none}.import-list{display:flex;flex-direction:column;gap:10px;max-height:280px;margin:16px 0 0;padding:0;overflow:auto;list-style:none}.import-item{padding:10px 12px;border-radius:12px;background:var(--surface-2)}.import-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.import-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.import-status{flex:none;color:var(--muted);font-size:12px}.import-done,.import-restored{color:var(--accent)}.import-duplicate{color:var(--warning)}.import-error{color:var(--danger)}.progress-rail{height:4px;margin-top:8px;border-radius:999px;background:var(--border);overflow:hidden}.progress-fill{height:100%;border-radius:999px;background:var(--accent);transition:width .15s ease}.import-message{margin:8px 0 0;color:var(--muted);font-size:12px}.import-note{margin:14px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.secondary-button{padding:12px 18px;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--text);font-size:14px;cursor:pointer}.modal-done{width:auto;margin-top:0;padding:12px 22px}.sync-button:hover{color:var(--text)}.user-chip{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:var(--muted)}.searchbar{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:0 14px;height:46px;border-radius:14px;background:var(--surface);border:1px solid var(--border)}.search-icon{color:var(--muted);font-size:18px}.search-input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:var(--text);font-size:15px}.search-input::placeholder{color:var(--muted)}.result-count{color:var(--muted);font-size:12px;white-space:nowrap}.track-list{flex:1;overflow-y:auto;padding-bottom:24px;overscroll-behavior:contain}.track-row{display:flex;align-items:center;gap:14px;padding:8px 12px;border-radius:12px;cursor:pointer}.track-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.track-current{background:var(--accent-soft)}.track-current .track-title{color:var(--accent)}.playing-bars{display:inline-flex;align-items:flex-end;justify-content:center;gap:2px;width:20px;height:14px}.playing-bars i{width:3px;height:4px;border-radius:2px;background:var(--accent)}.playing-bars.playing i{animation:playing-bars .9s ease-in-out infinite}.playing-bars.playing i:nth-child(2){animation-delay:.2s}.playing-bars.playing i:nth-child(3){animation-delay:.4s}@keyframes playing-bars{0%,to{height:4px}50%{height:14px}}@media(prefers-reduced-motion:reduce){.playing-bars.playing i{animation:none;height:8px}}.track-row:hover{background:var(--surface)}.track-index{width:24px;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums;text-align:right}.track-cover{width:44px;height:44px;border-radius:8px;object-fit:cover;flex:none}.track-cover-placeholder{display:grid;place-items:center;background:var(--surface-2);color:var(--muted);font-size:18px}.track-main{flex:1;min-width:0}.track-title{display:flex;align-items:center;gap:8px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lossless-badge{flex:none;padding:1px 6px;border-radius:4px;border:1px solid var(--accent);color:var(--accent);font-size:10px;letter-spacing:.04em;text-transform:uppercase}.track-sub{margin-top:3px;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track-format{width:48px;color:var(--muted);font-size:11px;letter-spacing:.04em;text-align:right}.track-duration{width:48px;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums;text-align:right}.download-button{display:grid;flex:none;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}.download-button svg{width:17px;height:17px;fill:currentColor}.download-button:hover{color:var(--text);background:var(--surface-2)}.download-complete{color:var(--accent)}.download-spinner{width:13px;height:13px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:download-spin .8s linear infinite}@keyframes download-spin{to{transform:rotate(360deg)}}.downloads-button{position:relative;display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--muted);cursor:pointer}.downloads-button svg{width:18px;height:18px;fill:currentColor}.downloads-button:hover{color:var(--text)}.downloads-count{position:absolute;top:-3px;right:-3px;min-width:15px;height:15px;padding:0 3px;border-radius:999px;background:var(--accent);color:#04130a;font-size:9px;font-weight:700;line-height:15px;text-align:center}.downloads-modal{width:min(620px,100%)}.downloads-summary{margin:0 0 12px;color:var(--muted);font-size:13px}.downloads-seed-note{margin:-4px 0 12px;font-size:12px;line-height:1.45}.downloads-empty{padding:24px 0;text-align:center}.downloads-empty p{margin:0 0 4px}.downloads-list{display:flex;flex-direction:column;gap:8px;max-height:340px;margin:0;padding:0;overflow-y:auto;list-style:none}.download-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;background:var(--surface-2)}.download-item .track-cover{width:42px;height:42px;border-radius:8px}.download-info{flex:1;min-width:0}.download-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.download-title{overflow:hidden;font-size:13px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}.download-status{flex:none;color:var(--muted);font-size:11px}.download-status-complete{color:var(--accent)}.download-status-error{color:var(--danger)}.download-sub{margin-top:3px;color:var(--muted);font-size:11px}.download-error{margin:4px 0 0;color:var(--danger);font-size:11px}.download-actions{display:flex;flex:none;align-items:center;gap:2px}.download-actions .icon-button{width:28px;height:28px;font-size:14px}.download-actions .icon-button svg{width:15px;height:15px}.pin-button.active{color:var(--accent)}.downloads-settings{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}.checkbox-label,.limit-field{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.checkbox-label input{accent-color:var(--accent)}.limit-field input{width:70px;padding:6px 8px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text);font-size:13px}.empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:var(--muted);padding:40px 20px}.empty-state h2{margin:0;color:var(--text);font-size:20px}.empty-state p{margin:0;max-width:420px;line-height:1.5}.empty-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:var(--surface);font-size:26px;margin-bottom:6px}@media(max-width:900px){.sidebar{display:none}.app-body{padding:0;gap:0;min-height:0}.main{border-radius:0}.main-header{flex-wrap:wrap;gap:6px;padding:10px 12px 6px}.main-actions{flex-shrink:0;flex-wrap:nowrap;gap:4px}.mobile-brand{min-width:0;gap:6px;font-size:15px}.mobile-brand>span:last-child{max-width:112px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sync-badge{padding:4px 8px;font-size:11px}.mobile-brand{display:flex}.main-header .searchbar{order:3;flex-basis:100%;max-width:none}.avatar-small{display:none}.main-content{padding:4px 12px 16px}.main-content{padding-bottom:112px}.mobile-nav{position:relative;z-index:40}.main-content.view-library,.main-content.view-search{padding-bottom:8px}.section-head h2{font-size:19px}.home-hero{padding:18px}.album-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.album-hero{flex-direction:column;align-items:flex-start;gap:16px;padding:18px}.album-cover-large .track-cover{width:140px;height:140px}.mobile-nav{display:flex;flex:none;justify-content:space-around;padding:6px 8px calc(6px + var(--safe-bottom));border-top:1px solid var(--border);background:#0a0a0a}.mobile-nav button{flex-direction:column;gap:3px;padding:6px 14px;font-size:10px;font-weight:600}.mobile-nav button svg{width:22px;height:22px}.player-bar{display:flex;align-items:center;gap:12px;position:fixed;left:8px;right:8px;bottom:calc(62px + var(--safe-bottom));margin:0;z-index:30;padding:10px 12px 16px;border-radius:12px;background-color:var(--surface-2);background-image:linear-gradient(to right,rgba(255,255,255,.9) 0 var(--progress, 0%),rgba(255,255,255,.18) var(--progress, 0%) 100%);background-size:100% 6px;background-position:0 100%;background-repeat:no-repeat;border:1px solid var(--border);border-bottom:0;box-shadow:0 10px 28px #00000059;overflow:hidden}.player-track-info{flex:1;min-width:0;gap:10px}.player-track-info .track-cover{width:44px;height:44px;border-radius:6px}.player-title{font-size:15px;font-weight:700}.player-sub{display:block;margin-top:2px;font-size:12px}.player-controls-wrap{flex:none;width:auto}.player-controls .icon-button{display:none}.player-toggle{width:36px;height:36px;background:transparent;color:var(--text)}.player-toggle svg{width:26px;height:26px;fill:currentColor}.player-progress{position:absolute;left:0;right:0;bottom:0;height:18px;max-width:none;gap:0;margin:0;background:none}.player-time-current,.player-time-total{display:none}.player-seek-wrap{height:100%}.player-seek-wrap:before,.player-seek-fill{display:none}.player-seek-fill:after{display:none}.player-right{display:none}.player-error{position:absolute;bottom:12px;left:12px;right:12px}}@media(max-width:640px){.track-index,.track-format,.user-chip{display:none}.track-row{gap:10px;padding:8px 4px}.track-duration{width:40px}.add-button{width:36px;padding:0;justify-content:center}.add-button-label{display:none}.modal{padding:20px}.modal-actions .primary-button,.modal-actions .secondary-button{flex:1}}@media(prefers-color-scheme:light){.app{background:#e9e9ec}.sidebar,.player-bar,.mobile-nav{background:#fff}}.field textarea,.field select{width:100%;padding:13px 14px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:15px;font-family:inherit;outline:none;resize:vertical}.field textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.field textarea:focus,.field select:focus{border-color:var(--accent)}.field-hint{color:var(--muted);font-size:12px;line-height:1.5}.form-notice{margin:0 0 16px;padding:12px 14px;border-radius:12px;background:#1ed7601f;color:var(--accent);font-size:14px;line-height:1.4}.setup-links{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:16px}.link-button{padding:0;border:0;background:none;color:var(--muted);font-size:13px;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.link-button:hover{color:var(--text)}.link-button.danger{color:var(--danger)}.invitation-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:12px 14px;border-radius:12px;border:1px solid rgba(30,215,96,.35);background:#1ed76014;color:var(--text);font-size:14px}.ghost-button{padding:10px 16px;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--text);font-size:14px;cursor:pointer}.ghost-button:hover{border-color:var(--accent)}.ghost-button:disabled{opacity:.55;cursor:default}.modal-small{width:min(440px,100%)}.modal-text{margin:0 0 16px;color:var(--muted);font-size:14px;line-height:1.55}.avatar-button{border:0;cursor:pointer;font-family:inherit}.account-summary{display:flex;align-items:center;gap:14px;margin-bottom:20px}.account-actions{display:flex;flex-direction:column;gap:10px}.checkbox-field{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;color:var(--text);font-size:14px;line-height:1.4}.checkbox-field input{margin-top:2px;accent-color:var(--accent)}.link-code-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-radius:14px;border:1px dashed var(--border);background:var(--surface-2)}.link-code-box code{font-size:18px;letter-spacing:.08em;color:var(--text)}.transfer-list{margin-top:18px}.transfer-list h3,.issued-list h3{margin:0 0 10px;font-size:14px;color:var(--muted);font-weight:600}.transfer-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--border);font-size:14px}.invite-form{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.invite-form .field:first-child{grid-column:1 / -1}.invite-link-box{display:flex;gap:10px;margin-top:14px}.invite-link-box input{flex:1;min-width:0;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:12px;outline:none}.issued-list{margin-top:22px}.issued-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--border)}.issued-title{font-size:14px}.track-action.delete-track{color:var(--danger)}.banned-badge{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:999px;background:#e5484d2e;color:var(--danger);font-size:11px;font-weight:600;vertical-align:middle}.admin-track-search{width:100%;margin-bottom:6px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:13px;outline:none}.admin-track-search:focus{border-color:var(--accent)}.admin-role{padding:8px 10px;font-size:13px}.issued-meta{margin-top:3px;color:var(--muted);font-size:12px}.issued-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;flex-shrink:0}@media(max-width:520px){.invite-form{grid-template-columns:1fr}}.modal-actions .primary-button{width:auto;margin-top:0;padding:12px 22px}.seed-badge{flex:none;padding:2px 8px;border-radius:999px;border:1px solid rgba(30,215,96,.35);background:#1ed7601a;color:var(--accent);font-size:11px;font-variant-numeric:tabular-nums}.seed-badge.seed-none{border-color:var(--border);background:transparent;color:var(--muted)}.track-unavailable .track-title,.track-unavailable .track-sub{color:var(--muted)}.track-unavailable .track-cover{opacity:.45}.presence-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;border:1px solid var(--border);color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.presence-badge.presence-online{color:var(--accent);border-color:#1ed76059}.share-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:16px}.share-form{display:flex;flex-direction:column;gap:2px}.import-option{margin-top:4px}.seedbox-button.active{color:var(--accent);border-color:#1ed76059;background:#1ed76014}.track-action{flex:none;width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:16px;cursor:pointer}.track-action:hover{color:var(--text);background:var(--surface-2)}.like-button.active{color:var(--accent)}.playlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;margin-bottom:24px}.playlist-card{padding:14px;border-radius:14px;border:1px solid var(--border);background:var(--surface);color:var(--text);text-align:left;cursor:pointer;font-family:inherit}.playlist-card:hover{border-color:var(--accent)}.playlist-cover{height:120px;border-radius:10px;display:grid;place-items:center;font-size:40px;color:var(--accent);background:var(--surface-2);margin-bottom:10px}.playlist-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playlist-meta{margin-top:4px;color:var(--muted);font-size:12px}.playlist-cover-large{width:200px;height:200px;font-size:72px;border-radius:16px}.playlist-title-input{width:100%;padding:6px 10px;border-radius:10px;border:1px solid transparent;background:transparent;color:var(--text);font-size:40px;font-weight:800;letter-spacing:-.03em;outline:none}.playlist-title-input:hover,.playlist-title-input:focus{border-color:var(--border);background:var(--surface)}.playlist-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.ghost-button.danger{color:var(--danger);border-color:#e5484d66}.playlist-create{display:flex;gap:10px;margin-bottom:18px}.playlist-create input{flex:1;min-width:0;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:15px;outline:none}.picker-list{display:flex;flex-direction:column;gap:4px;max-height:40vh;overflow:auto;margin-bottom:16px}.picker-row{display:flex;justify-content:space-between;gap:12px;padding:12px;border:0;border-radius:10px;background:transparent;color:var(--text);font-size:14px;text-align:left;cursor:pointer}.picker-row:hover{background:var(--surface-2)}.avatar-nav{width:22px;height:22px;font-size:11px}.public-id{margin-top:4px;padding:2px 8px;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--muted);font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;cursor:pointer}.public-id span{color:var(--text)}.public-id:hover{border-color:var(--accent)}.listening-list{display:flex;flex-direction:column;gap:6px;margin-bottom:24px}.listening-row{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--border);font-size:14px}.listening-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}.listening-user{font-weight:600;flex:none}.listening-track{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.player-like{font-size:16px}.player-volume{display:flex;align-items:center;gap:6px;min-width:0}.player-volume-icon{font-size:13px;opacity:.75}.player-volume input{width:96px;height:4px;accent-color:var(--accent);cursor:pointer}@media(max-width:900px){.player-right{display:none}.player-controls{gap:8px}}@media(prefers-color-scheme:light)and (max-width:900px){.player-bar{background-color:#fff;background-image:linear-gradient(to right,rgba(0,0,0,.82) 0 var(--progress, 0%),rgba(0,0,0,.14) var(--progress, 0%) 100%);background-size:100% 6px;background-position:0 100%;background-repeat:no-repeat;border-color:#00000014}}.ghost-select{padding:10px 14px;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--text);font-size:14px;cursor:pointer}@media(max-width:640px){.track-action.add-to-playlist{display:none}.main-header .sync-badge{padding:4px 6px;font-size:10px}.main-header .add-button,.main-header .downloads-button,.main-header .sync-button{width:34px;height:34px}.main-header .add-button{padding:0;justify-content:center}}.unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:8px;border-radius:999px;background:var(--accent);color:#000;font-size:11px;font-weight:700;vertical-align:middle}.chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.chat-peer{display:flex;align-items:center;gap:10px;min-width:0}.chat-list{display:flex;flex-direction:column;gap:8px;max-height:44dvh;overflow-y:auto;padding:10px 4px 10px 2px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);scrollbar-width:thin;scrollbar-color:var(--border) transparent}.chat-list::-webkit-scrollbar{width:6px}.chat-list::-webkit-scrollbar-thumb{border-radius:999px;background:var(--border)}.chat-empty{margin:18px 0;text-align:center}.chat-load-more{align-self:center;flex-shrink:0}.chat-message{max-width:82%;padding:8px 12px;border-radius:14px;border:1px solid var(--border);background:var(--surface-2)}.chat-message.theirs{align-self:flex-start}.chat-message.mine{align-self:flex-end;background:var(--accent-soft);border-color:var(--accent)}.chat-text{margin:0;font-size:14px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.chat-missing-track{margin-top:6px;color:var(--muted);font-style:italic}.chat-meta{margin-top:5px;color:var(--muted);font-size:11px;text-align:right}.chat-track{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface)}.chat-track-info{min-width:0}.chat-track-info .issued-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-track-actions{display:flex;gap:10px;flex-shrink:0}.chat-attachment{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:8px 12px;border-radius:10px;border:1px dashed var(--border);background:var(--surface-2);font-size:13px}.chat-picker{margin-top:8px;padding:10px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2)}.chat-picker input{width:100%;padding:9px 11px;border-radius:9px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:13px;outline:none}.chat-picker input:focus{border-color:var(--accent)}.chat-picker-item{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:8px 4px;border:0;border-top:1px solid var(--border);background:transparent;color:var(--text);font:inherit;font-size:13px;text-align:left;cursor:pointer}.chat-picker-item:hover{color:var(--accent)}.chat-picker-item small{color:var(--muted);font-size:11px}.chat-compose{display:flex;align-items:flex-end;gap:8px;margin-top:12px}.chat-compose textarea{flex:1;min-width:0;max-height:120px;padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:14px;line-height:1.4;outline:none;resize:vertical}.chat-compose textarea:focus{border-color:var(--accent)}.chat-attach{flex-shrink:0;width:38px;height:38px;padding:0;font-size:18px;line-height:1}.chat-compose .primary-button{flex-shrink:0;width:auto;margin-top:0;padding:10px 18px}.nav-account-icon{position:relative;display:inline-flex}.nav-badge{position:absolute;top:-4px;right:-8px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--accent);color:#000;font-size:10px;font-weight:700;line-height:16px;text-align:center}.avatar-button{position:relative}.avatar-badge{position:absolute;top:2px;right:2px;width:9px;height:9px;border-radius:50%;border:2px solid var(--bg);background:var(--accent)}@media(max-width:640px){.chat-list{max-height:40dvh;scrollbar-width:none}.chat-list::-webkit-scrollbar{display:none}.chat-message{max-width:90%}.chat-track{flex-direction:column;align-items:flex-start}.chat-compose .primary-button{padding:10px 14px}}.enrich-search{display:flex;gap:8px;margin:12px 0}.enrich-search input{flex:1;min-width:0}.enrich-list{display:flex;flex-direction:column;gap:6px;max-height:320px;overflow:auto;margin:8px 0 16px;padding:0;list-style:none}.enrich-item{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid var(--border);border-radius:10px;cursor:pointer}.enrich-item input{margin-top:3px}.search-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:4px 0 14px}.search-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.search-filters input,.search-filters select{min-height:34px;padding:6px 10px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text)}.search-filters .checkbox-field{flex-direction:row;align-items:center;gap:6px;padding-bottom:8px;color:var(--text)}.enrich-tags{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--border)}.enrich-tags label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}
