: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;--sidebar-bg: #000000;--border: rgba(255, 255, 255, .08);--text: #f5f5f7;--muted: #9b9ba1;--accent: #1db954;--accent-soft: rgba(29, 185, 84, .16);--on-accent: #04130a;--warning: #e0a458;--danger: #f2585d;--on-danger: #1a0506}@media(prefers-color-scheme:light){:root{color-scheme:light;--bg: #f5f5f7;--surface: #ffffff;--surface-2: #ededf0;--sidebar-bg: #ffffff;--border: rgba(0, 0, 0, .08);--text: #141416;--muted: #6a6a70;--accent: #0f6b32;--accent-soft: rgba(15, 107, 50, .14);--on-accent: #ffffff;--warning: #7a4c10;--danger: #b32222;--on-danger: #ffffff}.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}.update-required{max-width:520px;margin:auto}.update-required .modal-actions{margin-top:18px}.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:var(--on-accent);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:var(--on-accent);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}.offline-banner{flex:none;padding:8px 12px;background:var(--warning);color:#1a1206;font-size:13px;font-weight:600;text-align:center}@media(prefers-color-scheme:light){.offline-banner{color:#fff}}.sync-button{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--muted);font-size:18px;cursor:pointer}.sync-button svg{width:18px;height:18px;fill:currentColor}.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{display:flex}.add-button-icon svg{width:16px;height:16px;fill:currentColor}.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:var(--sidebar-bg)}.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);font-weight:700}.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;transition:background-color .2s ease,box-shadow .2s ease}.main-header.scrolled{background:var(--bg);box-shadow:0 1px 0 var(--border)}.mobile-search-pill{display:none}.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{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:18px;line-height:1;cursor:pointer}.clear-search svg{width:16px;height:16px;fill:currentColor}.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{position:relative}.album-play-hint{display:none}.album-card:hover .album-play-hint,.album-card:focus-visible .album-play-hint{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--accent);color:var(--on-accent);box-shadow:0 8px 20px #00000073}.album-play-hint svg{width:20px;height:20px;fill:currentColor}.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{display:grid;place-items:center;width:36px;height:36px;margin:0 0 10px;padding:0;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text);cursor:pointer}.back-button svg{width:20px;height:20px;fill:currentColor}.back-button:hover{background:var(--surface-2)}.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);background:linear-gradient(180deg,color-mix(in srgb,var(--hero-tint, #1db954) 42%,var(--surface)),transparent 92%),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}.primary-button.album-play{display:inline-flex;align-items:center;gap:8px}.primary-button.album-play svg{width:18px;height:18px;fill:currentColor}.track-head{display:flex;align-items:center;gap:14px;padding:4px 12px 6px;color:var(--muted);font-size:11px;letter-spacing:.06em;text-transform:uppercase}.track-head-index{width:24px;text-align:right}.track-head-cover{width:44px}.track-head-title{flex:1}.track-head-gap{width:76px}.track-head-format,.track-head-time{width:48px;text-align:right}.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:var(--on-accent);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:var(--on-accent);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}@media(hover:hover){.player-bar:hover .player-seek-wrap:before{background:#ffffff47}.player-bar:hover .player-seek-fill{background:var(--accent)}}@media(hover:hover)and (prefers-color-scheme:light){.player-bar:hover .player-seek-wrap:before{background:#00000038}}.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{display:grid;place-items:center;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 svg{width:18px;height:18px;fill:currentColor}.primary-button.danger-button{background:var(--danger);color:var(--on-danger)}.modal-close:disabled{opacity:.4;cursor:default}.account-back-icon{display:none}.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}.import-success{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px 8px 4px;text-align:center}.import-success-cover .track-cover{width:132px;height:132px;border-radius:12px;box-shadow:0 12px 32px #0006}.import-success h3{margin:6px 0 0;font-size:20px}.import-success p{margin:0 0 8px}.import-success .primary-button{width:auto;padding:12px 28px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.toast-host{position:fixed;left:50%;bottom:24px;z-index:90;display:flex;flex-direction:column;align-items:center;gap:8px;max-width:min(92vw,480px);transform:translate(-50%);pointer-events:none}.toast{padding:10px 18px;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:14px;line-height:1.35;text-align:center;box-shadow:0 10px 30px #00000059;opacity:0;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease}.toast-visible{opacity:1;transform:none}@media(max-width:900px){.toast-host{bottom:calc(150px + var(--safe-bottom))}}.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 .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-row.track-current,.track-row.track-current:hover{background:var(--accent-soft)}.track-index{display:grid;place-items:end center;width:24px;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums;text-align:right}.hover-play{display:none;place-items:center}.hover-play svg{width:14px;height:14px;fill:currentColor}.track-row:hover .track-index .hover-play,.track-row:focus-within .track-index .hover-play{display:grid}.track-row:hover .track-index .index-number,.track-row:focus-within .track-index .index-number{display:none}.track-row .track-action,.track-row .enrich-button,.track-row .seed-badge{opacity:0;transition:opacity .15s ease}.track-row:hover .track-action,.track-row:focus-within .track-action,.track-row:hover .enrich-button,.track-row:focus-within .enrich-button,.track-row:hover .seed-badge,.track-row:focus-within .seed-badge{opacity:1}.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:var(--on-accent);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);color:var(--muted);font-size:26px;margin-bottom:6px}.empty-icon svg{width:28px;height:28px;fill:currentColor}.empty-actions{margin-top:6px}.skeleton{border-radius:8px;background:linear-gradient(90deg,var(--surface-2) 25%,var(--surface) 50%,var(--surface-2) 75%);background-size:200% 100%;animation:skeleton 1.4s ease infinite}@keyframes skeleton{0%{background-position:100% 0}to{background-position:-100% 0}}.skeleton-card{padding:12px;border-radius:10px;background:var(--surface)}.skeleton-cover{width:100%;aspect-ratio:1;margin-bottom:10px}.skeleton-line{width:80%;height:12px;margin-top:8px}.skeleton-line.short{width:55%}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}.empty-card{display:flex;align-items:center;gap:12px;width:100%;margin-bottom:6px;padding:12px 14px;border:1px dashed var(--border);border-radius:12px;background:transparent;color:var(--muted);text-align:left;cursor:default}button.empty-card{cursor:pointer}button.empty-card:hover{border-color:var(--accent);background:var(--accent-soft)}.empty-card-icon{display:grid;flex:none;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--surface);color:var(--accent)}.empty-card-icon svg{width:20px;height:20px;fill:currentColor}.empty-card-body{display:flex;flex-direction:column;gap:2px;min-width:0}.empty-card-title{color:var(--text);font-size:14px;font-weight:600}.empty-card-text{color:var(--muted);font-size:12px}@media(max-width:900px){.track-head,.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{display:none;order:3;flex-basis:100%;max-width:none}.main-header.searching .searchbar{display:flex}.main-header.searching .mobile-search-pill{display:none}.mobile-search-pill{display:flex;align-items:center;gap:8px;flex:1;min-width:0;height:36px;padding:0 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);font-size:14px;text-align:left;cursor:pointer}.mobile-search-pill svg{flex:none;width:16px;height:16px;fill:currentColor}.mobile-search-pill span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.avatar-small,.presence-badge,.sync-badge{display:none}.main-content{padding:4px 12px 16px}.main-content{padding-bottom:calc(150px + var(--safe-bottom))}.mobile-nav{position:relative;z-index:40}.main-content.view-library,.main-content.view-search{padding-bottom:calc(150px + var(--safe-bottom))}.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;align-items:center;justify-content:space-around;min-height:calc(56px + var(--safe-bottom));padding:0 8px var(--safe-bottom);border-top:0;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:0;right:0;bottom:calc(56px + var(--safe-bottom));margin:0;z-index:30;padding:10px 14px 16px;border-radius:0;border:0;border-top:1px solid var(--border);background:#0a0a0a;background-image:none;box-shadow:none;overflow:hidden}.player-track-info{flex:1;min-width:0;gap:10px}.player-track-info .track-cover{width:56px;height:56px;border-radius:8px}.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 .shuffle-button,.player-controls .repeat-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:14px;right:14px;bottom:6px;height:4px;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:block;height:3px;background:#ffffff2e}.player-seek-fill{background:#ffffffe6}.player-seek-fill:after{display:none}.player-right{display:none}.player-error{position:absolute;bottom:12px;left:12px;right:12px}.player-bar.now-playing{position:fixed;top:var(--safe-top);left:0;right:0;bottom:0;z-index:70;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;margin:0;padding:14px 24px calc(20px + var(--safe-bottom));border:0;border-radius:0;background:var(--bg);background-image:none;box-shadow:none;overflow-y:auto;overscroll-behavior:contain}.now-playing-head{display:flex;align-items:center;gap:8px;margin-bottom:18px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.now-playing-close{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:var(--text);cursor:pointer}.now-playing-close svg{width:26px;height:26px;fill:currentColor;transform:rotate(-90deg)}.now-playing-label{flex:1;text-align:center}.now-playing-head-spacer{width:40px}.now-playing-cover{display:flex;justify-content:center;margin-bottom:26px}.now-playing-cover .track-cover{width:min(72vw,340px);height:auto;aspect-ratio:1;border-radius:12px;box-shadow:0 18px 48px #00000073}.now-playing .player-track-info{flex:none;flex-direction:column;align-items:flex-start;gap:0;margin-bottom:22px}.now-playing .player-track-info .track-cover{display:none}.now-playing .player-title{font-size:22px;font-weight:700;white-space:normal}.now-playing .player-sub{margin-top:6px;font-size:14px}.now-playing .player-controls-wrap{width:100%;gap:22px;margin-top:auto}.now-playing .player-progress{position:static;display:flex;height:auto;gap:10px}.now-playing .player-time-current,.now-playing .player-time-total{display:block;width:40px;font-size:12px}.now-playing .player-seek-wrap{height:16px}.now-playing .player-seek-wrap:before{display:block;background:var(--surface-2)}.now-playing .player-seek-fill,.now-playing .player-seek-fill:after{display:block;opacity:1}.now-playing .player-controls{justify-content:center;gap:22px}.now-playing .player-controls .shuffle-button,.now-playing .player-controls .repeat-button{display:grid}.now-playing .player-toggle{width:64px;height:64px;border-radius:50%;background:var(--accent);color:var(--on-accent)}.now-playing .player-toggle svg{width:30px;height:30px}.now-playing .player-right{display:flex;justify-content:center;margin-top:18px}.now-playing .player-volume{display:none}.now-playing .player-like{width:44px;height:44px}.now-playing .player-like svg{width:24px;height:24px}.account-backdrop{display:block;padding:0;background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}.account-sheet{width:100%;max-width:none;height:100%;max-height:none;padding:calc(10px + var(--safe-top)) 16px calc(24px + var(--safe-bottom));border:0;border-radius:0;background:var(--bg);box-shadow:none}.account-sheet .modal-head{position:sticky;top:0;z-index:2;justify-content:flex-start;gap:12px;margin:0 -16px 10px;padding:2px 16px 12px;background:var(--bg)}.account-sheet .account-close{order:-1;display:grid;place-items:center;width:40px;height:40px;border-color:transparent;background:transparent}.account-back-icon{display:block;width:24px;height:24px;fill:currentColor}.account-close-x{display:none}.sheet-backdrop{align-items:flex-end;padding:0}.sheet{position:relative;width:100%;max-width:none;max-height:92dvh;padding-bottom:calc(20px + var(--safe-bottom));border-radius:20px 20px 0 0;border-bottom:0}.sheet:before{content:"";position:absolute;top:8px;left:50%;width:36px;height:4px;border-radius:2px;background:var(--border);transform:translate(-50%)}.sheet .modal-head{margin-top:8px}.download-button,.downloads-modal .download-actions .icon-button{width:44px;height:44px}.downloads-modal .download-item{flex-wrap:wrap}.downloads-modal .download-info{flex:1 1 calc(100% - 76px)}.downloads-modal .download-actions{width:100%;justify-content:flex-end}.queue-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:74;display:block;background:#0000008c}.queue-panel{position:fixed;left:0;right:0;bottom:0;z-index:75;width:auto;max-height:72dvh;padding:16px 16px calc(20px + var(--safe-bottom));border-radius:20px 20px 0 0;background:var(--surface)}}@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}.account-nav{display:flex;flex-direction:column;margin:0 0 16px}.account-nav-row{display:flex;align-items:center;gap:10px;width:100%;padding:14px 12px;border:0;border-top:1px solid var(--border);background:transparent;color:var(--text);font-size:15px;text-align:left;cursor:pointer}.account-nav-row:last-child{border-bottom:1px solid var(--border)}.account-nav-row:hover{background:var(--surface-2)}.account-nav-label{font-weight:600}.account-nav-meta{color:var(--muted);font-size:12px}.account-nav-arrow{margin-left:auto;color:var(--muted);font-size:20px;line-height:1}.account-secondary-actions{display:flex;flex-wrap:wrap;gap:10px}.account-secondary-actions .secondary-button{flex:1;min-width:150px}.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(--muted)}.track-action.delete-track:hover{color:var(--danger)}.banned-badge{display:inline-block;margin-left:8px;padding:0 6px;border-radius:999px;border:1px solid var(--danger);background:transparent;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-more{margin-top:10px}.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;display:inline-flex;align-items:center;gap:3px;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)}.seed-badge svg{width:12px;height:12px;fill:currentColor}.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)}.track-action svg{width:16px;height:16px;fill:currentColor}.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}.queue-backdrop{display:none}.queue-panel{flex:none;width:300px;padding:16px 12px;border-radius:12px;background:var(--surface);overflow-y:auto}.queue-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.queue-head h2{margin:0;font-size:18px}.queue-sub{margin:2px 0 12px;color:var(--muted);font-size:12px;letter-spacing:.06em;text-transform:uppercase}.queue-list{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.queue-row{display:flex;align-items:center;gap:10px;width:100%;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left;cursor:pointer}.queue-row:hover{background:var(--surface-2)}.queue-row.current{background:var(--accent-soft)}.queue-row.current .queue-title{color:var(--accent)}.queue-index{width:20px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;text-align:right}.queue-row .track-cover{width:36px;height:36px;border-radius:6px}.queue-main{display:flex;flex:1;flex-direction:column;min-width:0}.queue-title{overflow:hidden;font-size:14px;white-space:nowrap;text-overflow:ellipsis}.queue-artist{overflow:hidden;color:var(--muted);font-size:12px;white-space:nowrap;text-overflow:ellipsis}.queue-playing{display:inline-flex;flex:none;align-items:flex-end;gap:2px;width:16px;height:12px}.queue-playing i{width:3px;height:4px;border-radius:2px;background:var(--accent);animation:playing-bars .9s ease-in-out infinite}.queue-playing i:nth-child(2){animation-delay:.2s}.queue-playing i:nth-child(3){animation-delay:.4s}.player-volume{display:flex;align-items:center;gap:6px;min-width:0}.player-volume-icon{display:flex;opacity:.75}.player-volume-icon svg{width:18px;height:18px;fill:currentColor}.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:#fff;background-image:none;border-top-color:#00000014}.player-seek-wrap:before{background:#00000024}.player-seek-fill{background:#000000d1}}.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,.track-row .like-button,.track-row .enrich-button,.track-row .variant-badge{display:none}.track-row .seed-badge,.track-row .track-action{opacity:1}.track-row .hover-play,.track-row .index-number{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:var(--on-accent);font-size:11px;font-weight:700;vertical-align:middle}.chat-modal{width:min(720px,100%)}.chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.chat-status{color:var(--muted);font-size:13px}.chat-status.online{color:var(--accent)}.chat-menu-wrap{position:relative}.chat-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:3;min-width:190px;padding:4px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);box-shadow:0 12px 32px #00000073}.chat-menu-item{width:100%;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:14px;text-align:left;cursor:pointer}.chat-menu-item:hover{background:var(--surface)}.chat-menu-item.danger{color:var(--danger)}.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);border-color:transparent;color:var(--on-accent)}.chat-message.mine .link-button{color:var(--on-accent)}.chat-message.mine .chat-track{color:var(--text)}.chat-message.mine .chat-track .link-button{color:var(--muted)}.chat-message.mine .chat-track .link-button:hover{color:var(--text)}.chat-message.mine .chat-meta{color:var(--on-accent);opacity:.72}.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-main{display:flex;align-items:center;gap:10px;min-width:0}.chat-track-main .track-cover{width:36px;height:36px;border-radius:6px;flex:none}.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:var(--on-accent);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)}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 14px}.chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);color:var(--muted);font-size:13px}.chip.active{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.chip-label{font-size:12px}.chip select{border:0;background:transparent;color:var(--text);font:inherit;outline:none;cursor:pointer}.chip input{width:52px;border:0;background:transparent;color:var(--text);font:inherit;outline:none}.chip input::placeholder{color:var(--muted)}.chip-clear{display:grid;place-items:center;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}.chip-clear:hover{color:var(--text)}.chip-clear svg{width:12px;height:12px;fill:currentColor}.chip-toggle{cursor:pointer}.chip-toggle.active,.chip-reset{color:var(--accent)}.chip-reset{border-color:transparent;background:transparent;cursor:pointer}mark{padding:0 1px;border-radius:2px;background:var(--accent-soft);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)}.enrich-sources{display:flex;gap:8px;margin:10px 0;flex-wrap:wrap}.enrich-cover{display:flex;flex-direction:column;gap:8px;margin:8px 0 14px}.enrich-cover-preview{width:96px;height:96px;object-fit:cover;border-radius:10px;border:1px solid var(--border)}.acoustid-block{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-top:1px solid var(--border)}.acoustid-block .secondary-button{align-self:flex-start}.variant-badge{border:none;cursor:pointer;font:inherit}.variant-hero{display:flex;gap:12px;align-items:flex-start;margin-bottom:10px}.variant-hero .track-cover,.variant-hero>:first-child{width:72px;height:72px;flex:0 0 72px}.variant-hero p{margin:4px 0 0;font-size:13px}.variant-item{align-items:center;justify-content:space-between;cursor:default;width:100%}.variant-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.variant-tag{padding:2px 8px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:11px;font-weight:700;white-space:nowrap}@media(max-width:640px){.variant-item{align-items:flex-start;flex-direction:column;gap:8px}.variant-actions{justify-content:flex-start}}
