:root {
  color-scheme: light;
  --page: #f7f7f8;
  --surface: #fff;
  --surface-2: #f0f0f2;
  --surface-3: #e7e7eb;
  --text: #202024;
  --muted: #898990;
  --subtle: #b5b5bb;
  --line: rgba(38, 38, 42, .085);
  --accent: #fa2d48;
  --accent-hover: #e51f3b;
  --accent-soft: rgba(250, 45, 72, .11);
  --green: #30a46c;
  --shadow: 0 24px 64px rgba(24, 24, 28, .16);
  --sidebar-width: 238px;
  --player-height: 88px;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; min-width: 320px; height: 100%; margin: 0; }
body { overflow: hidden; background: var(--page); color: var(--text); }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(250, 45, 72, .36); outline-offset: 2px; }
::selection { background: rgba(250, 45, 72, .2); }

body[data-theme="dark"] {
  color-scheme: dark;
  --page: #171719;
  --surface: #222225;
  --surface-2: #2d2d31;
  --surface-3: #38383d;
  --text: #f5f5f7;
  --muted: #a4a4ad;
  --subtle: #72727b;
  --line: rgba(255, 255, 255, .09);
  --accent-soft: rgba(250, 45, 72, .18);
  --shadow: 0 24px 64px rgba(0, 0, 0, .4);
}

.app-shell { display: flex; width: 100%; height: 100dvh; background: var(--page); }
.sidebar { position: relative; z-index: 5; display: flex; flex: 0 0 var(--sidebar-width); flex-direction: column; width: var(--sidebar-width); padding: 25px 15px 16px; background: color-mix(in srgb, var(--surface) 86%, var(--page)); border-inline-end: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; padding: 2px 12px 26px; color: var(--text); text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; gap: 2px; width: 28px; height: 28px; padding: 5px 4px; border-radius: 9px; background: var(--accent); box-shadow: 0 3px 8px rgba(250, 45, 72, .25); }
.brand-mark span { display: block; width: 2px; border-radius: 2px; background: white; }
.brand-mark span:nth-child(1), .brand-mark span:nth-child(5) { height: 6px; opacity: .75; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(4) { height: 12px; }
.brand-mark span:nth-child(3) { height: 17px; }
.brand-name { font-size: 19px; font-weight: 730; letter-spacing: -.45px; }
.sidebar-scroll { flex: 1; overflow: auto; }
.nav-group { margin: 0 0 22px; }
.nav-caption { padding: 0 12px; margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .045em; text-transform: uppercase; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 38px; padding: 7px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); text-align: start; font-size: 13px; font-weight: 520; cursor: pointer; transition: background .18s, color .18s, transform .18s; }
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item:active { transform: scale(.985); }
.nav-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 650; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 19px; font-size: 18px; line-height: 1; }
.nav-icon.heart { color: var(--accent); font-size: 15px; }
.nav-count { margin-inline-start: auto; color: var(--subtle); font-size: 11px; font-variant-numeric: tabular-nums; }
.sidebar-bottom { padding-top: 12px; border-top: 1px solid var(--line); }
.server-chip { display: flex; align-items: center; gap: 8px; margin: 0 8px 6px; padding: 9px 7px; color: var(--muted); font-size: 11px; }
.server-dot, .connect-dot { width: 7px; height: 7px; border-radius: 50%; background: #c7c7cc; }
.server-chip.connected .server-dot, .connect-button.connected .connect-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(48, 164, 108, .12); }

.main-column { position: relative; display: flex; min-width: 0; flex: 1; flex-direction: column; }
.topbar { position: relative; z-index: 3; display: flex; align-items: center; gap: 18px; height: 70px; flex: 0 0 70px; padding: 0 34px; background: color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter: blur(20px); }
.search-box { display: flex; align-items: center; gap: 9px; width: min(430px, 48vw); height: 36px; padding: 0 11px; border: 1px solid transparent; border-radius: 9px; background: var(--surface-2); color: var(--muted); transition: border .2s, background .2s; }
.search-box:focus-within { border-color: rgba(250, 45, 72, .35); background: var(--surface); }
.search-icon { margin-top: -3px; color: var(--muted); font-size: 24px; line-height: 1; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
.search-box input::placeholder { color: var(--muted); }
.search-box kbd { flex: 0 0 auto; padding: 2px 5px; border: 1px solid var(--line); border-radius: 5px; color: var(--subtle); font-size: 9px; font-family: inherit; white-space: nowrap; }
.topbar-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.icon-button, .tiny-icon { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: color .18s, background .18s; }
.icon-button { width: 34px; height: 34px; border-radius: 50%; font-size: 18px; }
.icon-button:hover, .tiny-icon:hover { background: var(--surface-2); color: var(--text); }
.language-toggle { min-width: 35px; height: 29px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 10px; font-weight: 700; cursor: pointer; }
.language-toggle:hover { color: var(--accent); }
.install-button { min-height: 29px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--accent); font-size: 10px; font-weight: 650; cursor: pointer; }
.install-button:hover { border-color: var(--accent); }
.connect-button { display: inline-flex; align-items: center; gap: 8px; min-height: 33px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 11px; font-weight: 630; cursor: pointer; transition: border .2s, transform .2s; }
.connect-button:hover { border-color: rgba(250, 45, 72, .38); transform: translateY(-1px); }
.connect-button .connect-dot { width: 6px; height: 6px; background: var(--accent); }
.mobile-menu { display: none; }

.main-scroll { flex: 1; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.content-wrap { width: min(1320px, 100%); min-height: 100%; padding: 23px 36px 32px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 0 22px; }
.eyebrow { margin: 0 0 7px; color: var(--accent); font-size: 10px; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }
.page-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 760; letter-spacing: -.045em; line-height: 1.08; }
.page-heading p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--accent); color: white; font-size: 12px; font-weight: 660; cursor: pointer; box-shadow: 0 5px 15px rgba(250, 45, 72, .18); transition: background .2s, transform .2s, box-shadow .2s; }
.primary-button:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(250, 45, 72, .24); }
.primary-button:active { transform: scale(.985); }
.button-arrow { font-size: 17px; line-height: 0; }

.hero-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(290px, .96fr); min-height: 276px; overflow: hidden; border-radius: 18px; background: #25252d; color: white; isolation: isolate; }
.hero-copy { position: relative; z-index: 1; align-self: center; max-width: 560px; padding: 34px 40px; }
.hero-copy .eyebrow { color: #ff8c9c; }
.hero-copy h2 { max-width: 470px; margin: 0; font-size: clamp(30px, 4vw, 47px); font-weight: 760; letter-spacing: -.055em; line-height: 1.04; }
.hero-copy p:not(.eyebrow) { max-width: 410px; margin: 16px 0 22px; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.6; }
.hero-card .primary-button { background: white; color: #222; box-shadow: none; }
.hero-card .primary-button:hover { background: #f2f2f5; }
.hero-art { position: relative; min-height: 276px; overflow: hidden; background: radial-gradient(ellipse at 60% 25%, #ff7589 0, #bf3e70 21%, transparent 53%), linear-gradient(135deg, #272633, #30234b 48%, #1e1e26); }
.hero-art::before, .hero-art::after { position: absolute; display: block; content: ""; border-radius: 50%; filter: blur(.2px); }
.hero-art::before { width: 270px; height: 270px; inset: 24px 12% auto auto; border: 1px solid rgba(255,255,255,.34); box-shadow: 0 0 0 14px rgba(255,255,255,.035), 0 0 0 31px rgba(255,255,255,.025), 0 0 0 52px rgba(255,255,255,.025); transform: rotate(-19deg) scaleX(.78); }
.hero-art::after { width: 220px; height: 220px; inset: 54px 19% auto auto; background: linear-gradient(135deg, rgba(255,198,198,.87), rgba(250,45,72,.15) 62%, rgba(42,22,70,.5)); mix-blend-mode: screen; opacity: .84; transform: rotate(38deg) scaleX(.68); }
.hero-disc { position: absolute; z-index: 1; inset: 22px 15% auto auto; display: grid; width: 250px; height: 250px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.12) 0 1px, transparent 2px 8px), linear-gradient(135deg, rgba(247,130,155,.5), rgba(82,37,113,.3)); box-shadow: 0 22px 55px rgba(0,0,0,.3), inset 0 0 40px rgba(255,255,255,.08); transform: rotate(-19deg) scaleX(.78); }
.hero-disc::after { width: 52px; height: 52px; border: 6px solid rgba(255,255,255,.68); border-radius: 50%; background: #2c2535; box-shadow: inset 0 0 0 8px rgba(250,45,72,.7); content: ""; }
.hero-wave { position: absolute; right: -5%; bottom: 8px; left: -5%; display: flex; align-items: center; justify-content: space-around; height: 80px; opacity: .2; transform: rotate(-8deg); }
.hero-wave i { width: 3px; border-radius: 5px; background: white; }
.hero-wave i:nth-child(4n) { height: 60px; }.hero-wave i:nth-child(4n+1) { height: 34px; }.hero-wave i:nth-child(4n+2) { height: 45px; }.hero-wave i:nth-child(4n+3) { height: 22px; }

.section-block { margin-top: 29px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin: 0 0 14px; }
.section-heading h2 { margin: 0; font-size: 19px; font-weight: 730; letter-spacing: -.035em; }
.section-heading p { margin: 0 0 0 auto; color: var(--muted); font-size: 11px; }
.text-button { border: 0; background: transparent; color: var(--accent); font-size: 11px; font-weight: 650; cursor: pointer; }
.album-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; }
.album-card { min-width: 0; border: 0; padding: 0; background: transparent; text-align: start; cursor: pointer; }
.album-art { position: relative; display: grid; width: 100%; aspect-ratio: 1; overflow: hidden; place-items: center; border-radius: 11px; background: var(--cover-bg, linear-gradient(135deg, #c85761, #442f5f)); box-shadow: 0 5px 15px rgba(0,0,0,.09); isolation: isolate; transition: transform .24s, box-shadow .24s; }
.album-card:hover .album-art { transform: translateY(-3px) scale(1.015); box-shadow: 0 11px 23px rgba(0,0,0,.14); }
.album-art img { width: 100%; height: 100%; object-fit: cover; }
.album-art img, .track-thumb img, .mini-art img { position: absolute; inset: 0; }
.album-art.has-art .art-glyph, .track-thumb.has-art > span, .mini-art.has-art .art-glyph { display: none; }
.album-art::before { position: absolute; z-index: -1; width: 88%; height: 88%; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; content: ""; transform: rotate(23deg) scaleX(.7); }
.album-art::after { position: absolute; inset: 0; background: linear-gradient(140deg, transparent 45%, rgba(0,0,0,.2)); content: ""; }
.art-glyph { position: relative; z-index: 1; color: rgba(255,255,255,.92); font-family: Georgia, serif; font-size: clamp(40px, 6vw, 92px); font-weight: 300; text-shadow: 0 2px 13px rgba(0,0,0,.2); }
.album-title { display: block; overflow: hidden; margin: 10px 0 4px; color: var(--text); font-size: 12px; font-weight: 640; text-overflow: ellipsis; white-space: nowrap; }
.album-subtitle { display: block; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.tone-1 { --cover-bg: radial-gradient(circle at 67% 33%, #ffcad1 0, #db4861 17%, transparent 18%), linear-gradient(145deg, #442d67, #ba3f57 55%, #ed8a6b); }
.tone-2 { --cover-bg: radial-gradient(ellipse at 45% 68%, #e9cf9a 0 18%, transparent 19%), linear-gradient(145deg, #122f38, #3d7771 55%, #a4b084); }
.tone-3 { --cover-bg: radial-gradient(circle at 35% 34%, rgba(255,255,255,.8) 0 4%, transparent 5%), linear-gradient(135deg, #8071ab, #d687a8 55%, #f4c9a8); }
.tone-4 { --cover-bg: radial-gradient(ellipse at 65% 50%, #e2b378 0 14%, transparent 15%), linear-gradient(140deg, #273c58, #3f5366 45%, #a27461); }
.tone-5 { --cover-bg: radial-gradient(circle at 50% 50%, #ed886b 0 9%, transparent 10%), repeating-radial-gradient(circle at 50% 50%, transparent 0 9px, rgba(255,255,255,.12) 10px 11px), linear-gradient(135deg, #322854, #af465b); }
.tone-6 { --cover-bg: radial-gradient(ellipse at 72% 22%, #b6d8e4 0 12%, transparent 13%), linear-gradient(160deg, #1c263f, #546f9d 52%, #d79b8a); }
.tone-7 { --cover-bg: radial-gradient(ellipse at 50% 100%, #edb572 0 18%, transparent 19%), linear-gradient(145deg, #3f3e56, #a14c55 55%, #e28560); }
.tone-8 { --cover-bg: radial-gradient(circle at 55% 42%, #fcf4d5 0 7%, transparent 8%), linear-gradient(145deg, #2d5d65, #65a5a0 45%, #dacd9a); }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-card { display: flex; align-items: center; gap: 12px; min-height: 67px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: start; cursor: pointer; transition: transform .18s, border .18s; }
.quick-card:hover { transform: translateY(-2px); border-color: rgba(250, 45, 72, .28); }
.quick-art { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 20px; }
.quick-card strong { display: block; font-size: 11px; }.quick-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.empty-inline { display: grid; min-height: 130px; place-items: center; border: 1px dashed var(--surface-3); border-radius: 12px; color: var(--muted); font-size: 11px; }
.artist-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; }
.artist-card { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 7px; padding: 16px 8px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); cursor: pointer; transition: transform .18s, border .18s; }
.artist-card:hover { transform: translateY(-2px); border-color: rgba(250,45,72,.3); }
.artist-avatar { display: grid; width: 82px; height: 82px; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #e98790, #735b8f 57%, #37456a); color: white; font-size: 29px; font-weight: 700; box-shadow: 0 8px 22px rgba(55, 44, 86, .17); }
.artist-card strong { overflow: hidden; max-width: 100%; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.artist-card small { color: var(--muted); font-size: 9px; }
.playlist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.playlist-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 7px; padding: 0; border: 0; background: transparent; text-align: start; cursor: pointer; }
.playlist-art { display: grid; width: 100%; aspect-ratio: 1.2; place-items: center; border-radius: 12px; background: var(--cover-bg, linear-gradient(135deg,#6e5a91,#df7785)); color: white; font-size: 45px; box-shadow: 0 6px 17px rgba(0,0,0,.09); transition: transform .2s; }
.playlist-card:hover .playlist-art { transform: translateY(-3px); }
.playlist-card strong { overflow: hidden; max-width: 100%; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.playlist-card small { color: var(--muted); font-size: 9px; }
.offline-note { margin-bottom: 15px; padding: 13px 16px; }.offline-note h3 { margin-bottom: 4px; }.offline-note p { margin: 0; }
.lyrics-source { margin-top: 24px; color: var(--muted); font-size: 9px; font-weight: 450; }

.empty-state { display: flex; min-height: 245px; flex-direction: column; align-items: center; justify-content: center; padding: 24px; border: 1px dashed var(--surface-3); border-radius: 15px; background: color-mix(in srgb, var(--surface) 65%, transparent); text-align: center; }
.empty-icon { display: grid; width: 55px; height: 55px; place-items: center; margin-bottom: 15px; border-radius: 17px; background: var(--accent-soft); color: var(--accent); font-size: 24px; }
.empty-state h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }.empty-state p { max-width: 390px; margin: 8px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.empty-state .primary-button { min-height: 34px; font-size: 11px; }
.track-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.track-table th { padding: 0 12px 10px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: start; font-size: 10px; font-weight: 560; }
.track-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.track-table tr { transition: background .15s; }.track-table tbody tr:hover { background: var(--surface); }.track-table tbody tr.playing { color: var(--accent); }
.track-cell { display: flex; align-items: center; gap: 11px; min-width: 170px; }
.track-thumb { position: relative; display: grid; width: 38px; height: 38px; flex: 0 0 auto; overflow: hidden; place-items: center; border-radius: 6px; background: var(--cover-bg, linear-gradient(135deg,#c85761,#442f5f)); color: white; font-size: 17px; }
.track-thumb img { width: 100%; height: 100%; object-fit: cover; }
.track-title { display: block; overflow: hidden; max-width: 320px; color: var(--text); font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }.playing .track-title { color: var(--accent); }
.track-artist, .table-muted { display: block; overflow: hidden; max-width: 230px; margin-top: 3px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.row-action { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 15px; cursor: pointer; }.row-action:hover { background: var(--surface-2); color: var(--accent); }
.play-row { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--accent); color: white; font-size: 10px; cursor: pointer; }
.skeleton-row { height: 54px; background: linear-gradient(90deg, transparent, var(--surface-2), transparent); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.player-bar { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(205px, 1fr) minmax(280px, 1.25fr) minmax(205px, 1fr); align-items: center; gap: 18px; height: var(--player-height); flex: 0 0 var(--player-height); padding: 10px 24px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, var(--page)); backdrop-filter: blur(24px); }
.track-now { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mini-art { position: relative; display: grid; width: 48px; height: 48px; flex: 0 0 auto; overflow: hidden; place-items: center; border-radius: 7px; background: var(--cover-bg, linear-gradient(135deg,#c85761,#442f5f)); color: white; }
.mini-art img { width: 100%; height: 100%; object-fit: cover; }.mini-art .art-glyph { font-size: 28px; }
.now-meta { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.now-meta strong, .now-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.now-meta strong { font-size: 11px; font-weight: 640; }.now-meta span { color: var(--muted); font-size: 9px; }
.tiny-icon { width: 29px; height: 29px; flex: 0 0 auto; border-radius: 50%; font-size: 16px; }.like-current { font-size: 19px; }
.player-center { min-width: 0; }.player-controls { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 24px); height: 37px; }
.player-action { padding: 4px; border: 0; background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; }.player-action:hover, .player-action.active { color: var(--accent); }
.play-button { display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 50%; background: var(--text); color: var(--surface); font-size: 11px; cursor: pointer; transition: transform .18s, background .18s; }.play-button:hover { transform: scale(1.08); background: var(--accent); }.play-button span { margin-inline-start: 2px; }
.seek-row { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
input[type="range"] { height: 3px; margin: 0; appearance: none; border-radius: 99px; background: var(--surface-3); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { width: 9px; height: 9px; appearance: none; border: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); }
input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); }
#seekBar { width: 100%; }
.player-extras { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.volume-control { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }.volume-control input { width: 84px; }
#audioElement { display: none; }
.mobile-tabs { display: none; }

.modal-layer { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(16,16,22,.45); backdrop-filter: blur(9px); }.modal-layer[hidden] { display: none; }
.connect-modal { position: relative; width: min(430px, 100%); max-height: calc(100dvh - 40px); overflow: auto; padding: 29px 32px 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 14px; inset-inline-end: 15px; display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 21px; cursor: pointer; }
.modal-logo { margin-bottom: 19px; }.connect-modal h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; }.modal-copy { margin: 8px 0 21px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.connect-modal form { display: grid; gap: 12px; }.connect-modal label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 620; }
.connect-modal input, .connect-modal select { width: 100%; height: 39px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--page); color: var(--text); font-size: 12px; outline: none; }
.connect-modal input:focus, .connect-modal select:focus { border-color: rgba(250,45,72,.52); }.connect-modal input::placeholder { color: var(--subtle); }
.secure-note { display: flex; gap: 7px; margin: 1px 0 2px; color: var(--muted); font-size: 9px; line-height: 1.5; }.secure-note > span:first-child { color: var(--green); font-size: 13px; }
.form-error { min-height: 0; color: var(--accent); font-size: 10px; }.form-error:not(:empty) { padding: 8px; border-radius: 7px; background: var(--accent-soft); }
.full-button { width: 100%; min-height: 40px; }.modal-footnote { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 15px 0 0; color: var(--subtle); font-size: 9px; }.lock-mark { font-size: 14px; }
.scrim { position: fixed; z-index: 4; inset: 0; display: none; background: rgba(0,0,0,.28); }
.side-panel { position: fixed; z-index: 10; inset-block: 0; inset-inline-end: 0; display: flex; width: min(390px, 100vw); flex-direction: column; padding: 25px 25px 90px; border-inline-start: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transform: translateX(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
[dir="rtl"] .side-panel { transform: translateX(-105%); }.side-panel.open { transform: translateX(0); }
.side-panel-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }.side-panel-head h2 { margin: 0; font-size: 24px; }.side-panel-head .eyebrow { font-size: 9px; }
.panel-track { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }.panel-track .mini-art { width: 54px; height: 54px; }.panel-track strong { display: block; font-size: 12px; }.panel-track small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.lyrics-content { overflow: auto; padding: 20px 3px; color: var(--subtle); font-size: 17px; font-weight: 650; line-height: 1.8; text-align: center; }.lyrics-line { margin: 0 0 11px; transition: color .2s, transform .2s; }.lyrics-line.active { color: var(--accent); transform: scale(1.035); }.lyrics-line.clickable { cursor: pointer; }.lyrics-empty { color: var(--muted); font-size: 11px; font-weight: 450; line-height: 1.6; }
.queue-content { overflow: auto; padding-top: 10px; }.queue-item { display: flex; align-items: center; gap: 11px; padding: 9px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }.queue-item:hover { background: var(--surface-2); }.queue-item.current { color: var(--accent); }.queue-item .track-thumb { width: 38px; height: 38px; }.queue-item div:nth-child(2) { min-width: 0; flex: 1; }.queue-item strong, .queue-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.queue-item strong { font-size: 11px; }.queue-item small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.toast { position: fixed; z-index: 30; inset-inline-start: 50%; bottom: calc(var(--player-height) + 20px); max-width: min(90vw, 420px); padding: 10px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--text); color: var(--surface); font-size: 11px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(240px, .9fr); gap: 16px; }
.settings-card { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }.settings-card h3 { margin: 0 0 6px; font-size: 14px; }.settings-card p { margin: 0 0 15px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }.settings-row strong { display: block; font-size: 11px; }.settings-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.secondary-button { min-height: 31px; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); font-size: 10px; font-weight: 620; cursor: pointer; }.secondary-button:hover { border-color: var(--accent); color: var(--accent); }
.progress-note { color: var(--muted); font-size: 10px; }

@media (min-width: 1550px) { :root { --sidebar-width: 256px; } .content-wrap { padding-inline: 46px; } .album-grid { gap: 20px; } }
@media (max-width: 1100px) { :root { --sidebar-width: 205px; } .content-wrap { padding-inline: 25px; }.album-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }.album-grid .album-card:nth-child(n+5) { display: none; }.quick-grid { grid-template-columns: repeat(2, 1fr); }.player-bar { grid-template-columns: minmax(160px, .9fr) minmax(250px, 1.2fr) minmax(100px, .55fr); gap: 12px; padding-inline: 17px; }.volume-control { display: none; } }
@media (max-width: 760px) {
  :root { --player-height: 72px; }
  body { overflow: hidden; }
  .sidebar { position: fixed; z-index: 8; inset-block: 0; inset-inline-start: 0; width: min(280px, 82vw); box-shadow: var(--shadow); transform: translateX(-105%); transition: transform .25s; }
  [dir="rtl"] .sidebar { transform: translateX(105%); }
  .sidebar.open { transform: translateX(0); }
  .scrim.visible { display: block; }
  .topbar { height: 58px; flex-basis: 58px; gap: 9px; padding: 0 13px; }
  .mobile-menu { display: inline-flex; flex: 0 0 auto; }
  .search-box { width: auto; flex: 1; height: 34px; }.search-box kbd { display: none; }
  .topbar-actions { gap: 5px; }.theme-toggle { display: none; }.connect-button { gap: 0; width: 34px; min-width: 34px; min-height: 34px; justify-content: center; padding: 0; border-radius: 50%; }.connect-button span:not(.connect-dot) { display: none; }.connect-button .connect-dot { width: 8px; height: 8px; }
  .content-wrap { padding: 17px 16px 25px; }
  .page-heading { margin-bottom: 16px; }.page-heading h1 { font-size: 29px; }.page-heading p:not(.eyebrow) { font-size: 10px; }
  .hero-card { grid-template-columns: 1fr; min-height: 0; }.hero-copy { padding: 24px 23px 20px; }.hero-copy h2 { max-width: 330px; font-size: 34px; }.hero-copy p:not(.eyebrow) { margin: 11px 0 16px; font-size: 11px; }.hero-art { position: absolute; z-index: -1; inset: 0 25% 0 0; min-height: 100%; opacity: .38; }.hero-art::before { width: 230px; height: 230px; inset: 38px 0 auto auto; }.hero-art::after { width: 200px; height: 200px; inset: 51px 7% auto auto; }.hero-disc { width: 205px; height: 205px; inset: 44px 6% auto auto; }
  .section-block { margin-top: 23px; }.section-heading h2 { font-size: 17px; }.section-heading p { display: none; }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 13px; }.album-grid .album-card:nth-child(n+5) { display: block; }.album-grid .album-card:nth-child(n+5) { display: none; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }.quick-card { min-height: 59px; gap: 8px; padding: 8px; }.quick-art { width: 36px; height: 36px; }.quick-card strong { font-size: 10px; }
  .player-bar { position: fixed; z-index: 6; inset-inline: 0; bottom: 53px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; height: 63px; padding: 6px 12px 7px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 96%, transparent); }
  .track-now { gap: 8px; }.mini-art { width: 40px; height: 40px; }.now-meta strong { font-size: 10px; }.now-meta span { font-size: 8px; }.like-current, .player-extras { display: none; }
  .player-center { display: contents; }.player-controls { grid-column: 2; grid-row: 1; gap: 12px; height: 40px; }.player-controls .player-action:first-child, .player-controls .player-action:last-child { display: none; }.play-button { width: 33px; height: 33px; }.seek-row { position: absolute; inset-inline: 0; bottom: -2px; display: block; height: 2px; }.seek-row span { display: none; }.seek-row #seekBar { display: block; width: 100%; height: 2px; border-radius: 0; }.seek-row #seekBar::-webkit-slider-thumb { width: 0; height: 0; box-shadow: none; }.seek-row #seekBar::-moz-range-thumb { width: 0; height: 0; box-shadow: none; }
  .mobile-tabs { position: fixed; z-index: 7; inset-inline: 0; bottom: 0; display: flex; height: 53px; justify-content: space-around; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(20px); }.mobile-tabs button { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }.mobile-tabs button span { font-size: 17px; }.mobile-tabs button small { font-size: 8px; }.mobile-tabs button.selected { color: var(--accent); }
  .side-panel { z-index: 12; padding: 21px 18px 135px; }.toast { bottom: 139px; }
  .settings-grid { grid-template-columns: 1fr; }.settings-card { padding: 16px; }
  .artist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }.artist-avatar { width: 66px; height: 66px; font-size: 23px; }.playlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .track-table th:nth-child(2), .track-table td:nth-child(2), .track-table th:nth-child(3), .track-table td:nth-child(3) { display: none; }.track-table td { padding: 7px 5px; }.track-table th { padding-inline: 5px; }.track-cell { gap: 8px; min-width: 0; }.track-title { max-width: 170px; font-size: 11px; }.track-thumb { width: 34px; height: 34px; }
}
@media (max-width: 380px) { .language-toggle { min-width: 30px; padding-inline: 6px; }.album-title { font-size: 10px; }.album-grid { gap: 13px 10px; }.page-heading h1 { font-size: 26px; } }

[dir="rtl"] body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Tahoma, sans-serif; }
[dir="rtl"] .hero-copy, [dir="rtl"] .page-heading, [dir="rtl"] .section-heading { text-align: right; }
[dir="rtl"] .brand-mark { direction: ltr; }
[dir="rtl"] .player-controls .play-button span { margin-inline-start: 0; margin-inline-end: 2px; }
