:root {
  color-scheme: dark;
  --bg: #0d0d10;
  --surface: #15151a;
  --surface-2: #1b1b21;
  --surface-3: #23232a;
  --text: #f5f4ef;
  --muted: #8d8c96;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --accent: #d7ff58;
  --accent-ink: #11120d;
  --violet: #8c75ff;
  --coral: #ff745d;
  --shadow: 0 24px 70px rgba(0,0,0,.35);
  --sidebar: 244px;
  --player: 92px;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f2ed;
  --surface: #fffefa;
  --surface-2: #ece9e2;
  --surface-3: #e2ded5;
  --text: #17171a;
  --muted: #6f6d72;
  --line: rgba(20,20,24,.09);
  --line-strong: rgba(20,20,24,.17);
  --accent: #b9eb2e;
  --accent-ink: #15170c;
  --shadow: 0 24px 70px rgba(55,50,40,.12);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hidden { display: none !important; }

.ambient { position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: .2; z-index: 0; }
.ambient-a { width: 460px; height: 460px; background: #6d48ff; left: -160px; bottom: -120px; }
.ambient-b { width: 380px; height: 380px; background: #e9ff77; right: -170px; top: -130px; opacity: .08; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: .12em; color: inherit; text-decoration: none; font-size: 14px; }
.brand-large { font-size: 15px; }
.brand-mark { width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; border-radius: 9px; background: var(--accent); transform: rotate(-7deg); }
.brand-mark i { width: 3px; border-radius: 8px; background: #12130e; display: block; }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 12px; }
.brand-mark i:nth-child(4) { height: 20px; }

.auth-view { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(480px, .84fr); position: relative; z-index: 1; }
.auth-story { position: relative; padding: 48px 6vw 40px; overflow: hidden; border-right: 1px solid var(--line); background: radial-gradient(circle at 74% 58%, rgba(145,118,255,.19), transparent 27%), linear-gradient(135deg, rgba(255,255,255,.025), transparent 58%); }
.story-copy { position: relative; z-index: 2; margin-top: 10vh; max-width: 700px; }
.eyebrow, .mini-label { margin: 0 0 18px; font-size: 11px; letter-spacing: .19em; font-weight: 800; color: var(--accent); }
.story-copy h1 { margin: 0; max-width: 700px; font-size: clamp(47px, 5.1vw, 82px); letter-spacing: -.055em; line-height: .96; font-weight: 720; }
.story-copy > p:last-child { max-width: min(580px,46%); color: var(--muted); font-size: 16px; line-height: 1.65; margin-top: 25px; }
.story-foot { position: absolute; left: 6vw; right: 6vw; bottom: 38px; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.story-foot > span:first-child { display: flex; align-items: center; gap: 8px; }
.story-foot b { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px rgba(215,255,88,.12); }

.orbit { position: absolute; right: -3vw; bottom: 7vh; width: min(43vw, 600px); aspect-ratio: 1; opacity: .88; }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); inset: 9%; }
.orbit::after { inset: 23%; border-style: dashed; }
.orbit-cover { position: absolute; width: 48%; height: 48%; left: 26%; top: 26%; border-radius: 28px; transform: rotate(8deg); overflow: hidden; background: linear-gradient(145deg,#d5ff54 0%,#8b72ff 48%,#ff745d 100%); box-shadow: 0 28px 80px rgba(0,0,0,.45); }
.orbit-cover::before { content: ""; position: absolute; width: 110%; height: 46%; left: -20%; top: 28%; background: rgba(10,10,13,.78); transform: rotate(-19deg); }
.orbit-glow { position: absolute; width: 170px; height: 170px; border: 30px solid rgba(255,255,255,.2); border-radius: 50%; top: -55px; right: -45px; }
.cover-word { position: absolute; z-index: 2; left: 21px; bottom: 18px; color: white; font-size: clamp(22px, 2.7vw, 42px); font-weight: 900; line-height: .78; letter-spacing: -.07em; }
.orbit-chip { position: absolute; width: 55px; height: 55px; display: grid; place-items: center; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 12px; font-weight: 900; }
.chip-sc { left: 5%; top: 34%; color: #ff6b27; transform: rotate(-12deg); }
.chip-ya { right: 9%; top: 19%; color: #ffcc00; transform: rotate(9deg); }
.chip-sp { right: 4%; bottom: 24%; color: #1ed760; transform: rotate(-5deg); }
.chip-yt { left: 19%; bottom: 9%; color: #ff3546; transform: rotate(10deg); }

.auth-panel { display: grid; place-items: center; padding: 48px 7vw; position: relative; background: rgba(13,13,16,.52); backdrop-filter: blur(18px); }
[data-theme="light"] .auth-panel { background: rgba(244,242,237,.64); }
.auth-card { width: min(100%, 430px); }
.auth-mobile-brand { display: none; }
.step-pill { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 10px; color: var(--muted); font-size: 9px; letter-spacing: .15em; font-weight: 800; }
.auth-heading h2 { margin: 18px 0 7px; font-size: 34px; letter-spacing: -.035em; }
.auth-heading p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin: 30px 0 22px; }
.auth-tab { border: 0; background: transparent; color: var(--muted); padding: 0 0 13px; cursor: pointer; font-size: 13px; font-weight: 700; position: relative; }
.auth-tab.active { color: var(--text); }
.auth-tab.active::after { content: ""; position: absolute; height: 2px; bottom: -1px; left: 0; right: 0; background: var(--accent); }
.google-button { width: 100%; height: 50px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 11px; cursor: pointer; font-size: 13px; font-weight: 700; transition: .2s ease; }
.google-button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.28); }
.google-g { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: white; color: #4285f4; font-weight: 900; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 10px; margin: 19px 0; letter-spacing: .08em; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.field { display: block; margin: 14px 0; }
.field > span { display: block; font-size: 11px; font-weight: 750; color: var(--muted); margin: 0 0 7px; }
.field input { width: 100%; height: 48px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 0 14px; font-size: 13px; transition: border .2s; }
.field input:focus { border-color: var(--accent); outline: none; }
.field input::placeholder { color: #686771; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 48px; }
.reveal-button { position: absolute; right: 4px; top: 4px; height: 40px; width: 40px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.form-meta { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 21px; font-size: 11px; }
.check { display: flex; align-items: center; gap: 8px; color: var(--muted); cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check input + span { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line-strong); display: inline-block; }
.check input:checked + span { background: var(--accent); box-shadow: inset 0 0 0 4px var(--bg); }
.text-button { border: 0; background: none; color: var(--text); cursor: pointer; font-size: 11px; padding: 0; }
.primary-button { border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 850; border-radius: 11px; cursor: pointer; min-height: 48px; padding: 0 18px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; }
.auth-submit { width: 100%; justify-content: space-between; padding: 0 18px; }
.auth-submit b { font-size: 20px; }
.auth-submit:disabled { opacity: .55; cursor: wait; }
.form-error { min-height: 17px; margin: -3px 0 7px; color: #ff8878; font-size: 11px; }
.legal { color: var(--muted); font-size: 9px; line-height: 1.5; text-align: center; margin: 14px 0 0; }
.locale-switch { position: absolute; right: 34px; bottom: 27px; display: flex; gap: 7px; color: var(--muted); font-size: 10px; }
.locale-switch button { border: 0; background: transparent; padding: 0; color: var(--muted); cursor: pointer; font-size: 10px; }
.locale-switch button.active { color: var(--text); font-weight: 800; }

.app-view { position: relative; min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); grid-template-rows: minmax(0,1fr) var(--player); z-index: 2; background: var(--bg); }
.sidebar { grid-row: 1 / 2; padding: 27px 18px 17px; border-right: 1px solid var(--line); background: rgba(15,15,18,.86); display: flex; flex-direction: column; min-height: 0; }
[data-theme="light"] .sidebar { background: rgba(255,254,250,.8); }
.sidebar-brand { padding: 0 10px 25px; }
.main-nav { display: grid; gap: 3px; }
.nav-item { width: 100%; border: 0; background: transparent; display: flex; align-items: center; gap: 12px; min-height: 39px; padding: 0 11px; border-radius: 9px; color: var(--muted); cursor: pointer; font-size: 12px; text-align: left; }
.nav-item > span:first-child { width: 18px; font-size: 18px; text-align: center; color: inherit; }
.nav-item:hover { color: var(--text); background: var(--surface); }
.nav-item.active { color: var(--text); background: var(--surface-2); font-weight: 750; }
.sidebar-label { margin: 29px 9px 9px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; letter-spacing: .15em; font-weight: 800; }
.sidebar-label button { border: 0; background: none; color: var(--muted); font-size: 18px; padding: 0; cursor: pointer; }
.provider-nav { display: grid; gap: 3px; overflow-y: auto; }
.provider-nav-button { border: 0; background: transparent; min-height: 39px; padding: 0 10px; border-radius: 9px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; cursor: pointer; }
.provider-nav-button.active { color: var(--text); background: var(--surface); }
.provider-dot { width: 23px; height: 23px; border-radius: 7px; display: grid; place-items: center; color: #111; font-size: 7px; font-weight: 950; flex: 0 0 auto; }
.provider-nav-button small { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: #54545d; }
.provider-nav-button small.connected { background: var(--accent); box-shadow: 0 0 0 4px rgba(215,255,88,.08); }
.sidebar-bottom { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.user-mini { width: 100%; border: 0; background: none; display: flex; align-items: center; gap: 9px; padding: 14px 8px 0; text-align: left; cursor: pointer; }
.avatar, .top-avatar { display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,var(--violet),var(--coral)); color: white; font-weight: 900; }
.avatar { width: 31px; height: 31px; font-size: 11px; }
.user-mini > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.user-mini b { font-size: 10px; overflow: hidden; text-overflow: ellipsis; }
.user-mini small { font-size: 8px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.user-mini i { margin-left: auto; color: var(--muted); font-style: normal; font-size: 9px; }

.main-content { min-width: 0; min-height: 0; position: relative; }
.topbar { height: 72px; border-bottom: 1px solid var(--line); padding: 0 clamp(20px,4vw,58px); display: flex; align-items: center; gap: 22px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(18px); }
.global-search { position: relative; width: min(100%, 580px); display: flex; align-items: center; }
.global-search > span { position: absolute; left: 14px; color: var(--muted); font-size: 18px; }
.global-search input { width: 100%; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 11px; color: var(--text); padding: 0 64px 0 42px; font-size: 12px; }
.global-search input:focus { outline: none; border-color: var(--line-strong); }
.global-search input::placeholder { color: var(--muted); }
.global-search kbd { position: absolute; right: 8px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 8px; font-family: inherit; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.icon-button, .top-avatar, .mobile-menu { width: 36px; height: 36px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.icon-button { border-radius: 10px; color: var(--muted); }
.notification-button { position: relative; }
.notification-button i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); right: 8px; top: 7px; }
.top-avatar { border: 0; font-size: 11px; margin-left: 5px; }
.mobile-menu { display: none; border-radius: 9px; }
.content-scroll { height: calc(100vh - 72px - var(--player)); overflow-y: auto; padding: 47px clamp(24px,5vw,78px) 64px; scrollbar-width: thin; }
.home-view, .search-view { max-width: 1180px; margin: 0 auto; }
.welcome-row { display: flex; justify-content: space-between; align-items: end; margin-bottom: 27px; }
.welcome-row .eyebrow { margin-bottom: 10px; font-size: 9px; }
.welcome-row h1 { margin: 0; font-size: clamp(34px,4vw,56px); letter-spacing: -.05em; line-height: 1; }
.welcome-row > div > p:last-child { color: var(--muted); margin: 9px 0 0; font-size: 13px; }
.prototype-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; font-size: 8px; letter-spacing: .12em; }
.prototype-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.hero-search-card { min-height: 265px; border-radius: 23px; padding: 36px 40px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; position: relative; background: linear-gradient(118deg,#29243f,#2c1c36 52%,#39231d); box-shadow: var(--shadow); color: #fff; }
.hero-search-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 24%,rgba(215,255,88,.2),transparent 27%), linear-gradient(90deg, transparent 48%, rgba(255,255,255,.03)); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h2 { margin: 0; font-size: clamp(31px,3.4vw,48px); line-height: 1; letter-spacing: -.05em; }
.hero-copy > p { margin: 12px 0 23px; color: rgba(255,255,255,.6); font-size: 12px; }
.hero-search { display: flex; align-items: center; width: min(100%, 500px); height: 48px; background: rgba(10,10,14,.72); border: 1px solid rgba(255,255,255,.11); border-radius: 12px; }
.hero-search > span { margin: 0 12px 0 15px; color: rgba(255,255,255,.48); font-size: 18px; }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: white; font-size: 11px; }
.hero-search input:focus { outline: none; }
.hero-search button { width: 37px; height: 37px; border: 0; margin-right: 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); cursor: pointer; font-size: 19px; }
.hero-visual { position: relative; min-height: 190px; }
.vinyl { position: absolute; width: 240px; height: 240px; border-radius: 50%; right: 1%; top: -19px; background: repeating-radial-gradient(circle,#111118 0 3px,#262532 4px 6px); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.vinyl::before { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: conic-gradient(var(--accent),var(--coral),var(--violet),var(--accent)); }
.vinyl span { position: absolute; inset: 44%; border-radius: 50%; background: #101013; z-index: 2; }
.signal-bars { position: absolute; display: flex; align-items: center; gap: 4px; left: 4%; top: 35%; height: 90px; transform: rotate(-8deg); }
.signal-bars i { display: block; width: 4px; background: rgba(255,255,255,.45); border-radius: 8px; }
.signal-bars i:nth-child(1),.signal-bars i:nth-child(9){height:18%}.signal-bars i:nth-child(2),.signal-bars i:nth-child(8){height:37%}.signal-bars i:nth-child(3),.signal-bars i:nth-child(7){height:66%}.signal-bars i:nth-child(4),.signal-bars i:nth-child(6){height:89%}.signal-bars i:nth-child(5){height:53%;background:var(--accent)}

.section-heading { display: flex; justify-content: space-between; align-items: end; margin: 40px 0 17px; }
.section-heading h3 { margin: 0 0 5px; font-size: 19px; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.outline-button { height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.outline-button:hover { border-color: var(--line-strong); color: var(--text); }
.provider-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.provider-card { min-height: 135px; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; cursor: pointer; transition: transform .2s,border .2s; text-align: left; }
.provider-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.provider-card-head { display: flex; align-items: center; gap: 10px; }
.provider-card .provider-dot { width: 34px; height: 34px; border-radius: 10px; font-size: 9px; }
.provider-card-head span:nth-child(2) { display: grid; gap: 3px; }
.provider-card-head b { font-size: 12px; }
.provider-card-head small { color: var(--muted); font-size: 8px; }
.provider-status { margin-left: auto; padding: 5px 7px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-size: 7px; letter-spacing: .08em; }
.provider-card p { color: var(--muted); font-size: 9px; line-height: 1.45; margin: auto 0 0; }
.provider-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; font-size: 9px; font-weight: 750; }
.connect-plus { color: var(--accent); }
.compact-heading { margin-top: 35px; }
.mood-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mood-card { height: 118px; border: 0; border-radius: 15px; padding: 18px; position: relative; overflow: hidden; color: white; display: flex; flex-direction: column; align-items: start; text-align: left; cursor: pointer; }
.mood-card::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; border: 18px solid rgba(255,255,255,.13); right: -24px; top: -28px; }
.mood-card span { font-size: 8px; opacity: .65; }
.mood-card b { margin-top: auto; font-size: 14px; }
.mood-card small { opacity: .6; margin-top: 3px; font-size: 8px; }
.mood-night { background: linear-gradient(135deg,#3e2b7a,#17182c); }.mood-motion { background: linear-gradient(135deg,#ce5f47,#5d2436); }.mood-slow { background: linear-gradient(135deg,#547c79,#29343b); }

.search-intro { margin-bottom: 30px; }
.search-intro .eyebrow { margin-bottom: 10px; font-size: 9px; }
.search-intro h1 { margin: 0; font-size: clamp(34px,4vw,52px); letter-spacing: -.05em; }
.search-intro > p:last-child { color: var(--muted); font-size: 11px; }
.search-groups { display: grid; gap: 29px; }
.search-group { border-top: 1px solid var(--line); padding-top: 17px; }
.search-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.search-group-head .provider-dot { width: 28px; height: 28px; }
.search-group-head h3 { font-size: 14px; margin: 0; }
.search-group-head small { color: var(--muted); font-size: 8px; }
.search-group-head .outline-button { margin-left: auto; }
.track-row { width: 100%; border: 0; background: transparent; border-radius: 10px; display: grid; grid-template-columns: 30px minmax(0,1fr) minmax(110px,.45fr) 46px 70px; align-items: center; gap: 12px; min-height: 55px; padding: 5px 9px; cursor: pointer; text-align: left; }
.track-row:hover { background: var(--surface); }
.track-index { color: var(--muted); font-size: 9px; text-align: center; }
.track-row:hover .track-index { font-size: 0; }
.track-row:hover .track-index::after { content: "▶"; font-size: 9px; color: var(--text); }
.track-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.track-cover { width: 39px; height: 39px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; color: white; font-size: 7px; font-weight: 900; overflow: hidden; position: relative; }
.track-cover::after { content: ""; width: 36px; height: 36px; border: 8px solid rgba(255,255,255,.16); border-radius: 50%; position: absolute; right: -19px; top: -18px; }
.track-info > span:last-child { min-width: 0; display: grid; gap: 3px; }
.track-info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.track-info small, .track-album, .track-time { color: var(--muted); font-size: 8px; }
.track-like { border: 0; background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; }
.track-like.active { color: var(--accent); }
.track-demo { justify-self: end; padding: 4px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 7px; }

.empty-view { max-width: 560px; margin: 13vh auto 0; text-align: center; }
.empty-icon { width: 78px; height: 78px; display: grid; place-items: center; margin: auto; border-radius: 22px; background: var(--surface); font-size: 32px; color: var(--accent); transform: rotate(-5deg); }
.empty-view h2 { margin: 24px 0 8px; font-size: 29px; letter-spacing: -.04em; }
.empty-view p { color: var(--muted); font-size: 12px; margin-bottom: 25px; }

.player { grid-column: 1 / 3; grid-row: 2; height: var(--player); border-top: 1px solid var(--line); background: color-mix(in srgb,var(--surface) 91%,transparent); backdrop-filter: blur(25px); display: grid; grid-template-columns: minmax(230px,1fr) minmax(340px,1.2fr) minmax(230px,1fr); align-items: center; padding: 0 21px; z-index: 10; }
.player-track { min-width: 0; border: 0; background: none; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; }
.player-cover { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 11px; background: linear-gradient(135deg,var(--violet),var(--coral)); display: grid; place-items: center; position: relative; overflow: hidden; }
.player-cover::after { content:"";position:absolute;width:48px;height:48px;border:10px solid rgba(255,255,255,.16);border-radius:50%;right:-25px;top:-24px; }
.player-cover i { font-style: normal; font-size: 8px; font-weight: 900; color: white; }
.player-copy { min-width: 0; display: grid; gap: 4px; }
.player-copy b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-copy small { font-size: 8px; color: var(--muted); }
.player-center { display: grid; gap: 8px; }
.player-controls { display: flex; justify-content: center; align-items: center; gap: 16px; }
.player-controls button, .player-actions button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; }
.player-controls button.active, .player-actions button.active { color: var(--accent); }
.player-controls .play-button { width: 33px; height: 33px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 10px; padding-left: 3px; }
.timeline { display: grid; grid-template-columns: 28px minmax(0,1fr) 28px; gap: 8px; align-items: center; color: var(--muted); font-size: 7px; }
input[type="range"] { accent-color: var(--text); height: 3px; cursor: pointer; }
.player-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.volume { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.volume input { width: 70px; }
.mobile-nav { display: none; }

.modal-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 22px; background: rgba(4,4,7,.7); backdrop-filter: blur(14px); }
.modal { width: min(100%, 720px); max-height: min(820px,90vh); overflow-y: auto; border: 1px solid var(--line-strong); border-radius: 23px; background: var(--surface); padding: 27px; box-shadow: var(--shadow); }
.modal-head { display: flex; gap: 20px; justify-content: space-between; align-items: start; padding-bottom: 20px; }
.modal-head h2 { margin: 12px 0 7px; font-size: 28px; letter-spacing: -.04em; }
.modal-head p { color: var(--muted); margin: 0; max-width: 560px; line-height: 1.55; font-size: 10px; }
.modal-close { width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; flex: 0 0 auto; }
.provider-modal-list { display: grid; gap: 8px; }
.provider-modal-row { min-height: 73px; border: 1px solid var(--line); border-radius: 13px; padding: 11px 12px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.provider-modal-row .provider-dot { width: 42px; height: 42px; border-radius: 12px; }
.provider-modal-copy { min-width: 0; display: grid; gap: 4px; }
.provider-modal-copy b { font-size: 12px; }
.provider-modal-copy small { color: var(--muted); font-size: 8px; line-height: 1.4; }
.connect-button { height: 33px; border-radius: 8px; border: 1px solid var(--line-strong); background: transparent; padding: 0 11px; cursor: pointer; font-size: 9px; font-weight: 750; white-space: nowrap; }
.connect-button:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.connect-button:disabled { opacity: .45; cursor: not-allowed; }
.trust-note { margin-top: 17px; display: flex; gap: 11px; padding: 13px; border-radius: 12px; background: color-mix(in srgb,var(--accent) 7%,transparent); border: 1px solid color-mix(in srgb,var(--accent) 16%,transparent); }
.trust-note > span { color: var(--accent); }
.trust-note p { margin: 0; font-size: 9px; color: var(--muted); line-height: 1.5; }.trust-note b { color: var(--text); }
.settings-card { width: min(100%, 560px); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 20px 0; }
.setting-row > div:first-child { display: grid; gap: 4px; }
.setting-row b { font-size: 12px; }.setting-row small { color: var(--muted); font-size: 9px; }
.segmented { padding: 3px; border: 1px solid var(--line); border-radius: 9px; display: flex; gap: 2px; }
.segmented button { min-width: 35px; height: 29px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font-size: 9px; }
.segmented button.active { background: var(--surface-3); color: var(--text); }
.logout-button { width: 100%; height: 45px; border: 1px solid rgba(255,116,93,.25); border-radius: 10px; background: rgba(255,116,93,.05); color: #ff8878; display: flex; justify-content: space-between; align-items: center; padding: 0 13px; cursor: pointer; font-size: 10px; }

.full-player { position: fixed; inset: 0; z-index: 60; background: radial-gradient(circle at 50% 28%,rgba(140,117,255,.28),transparent 32%),linear-gradient(160deg,#17151f,#0b0b0e 65%); color: white; padding: 35px max(24px,calc((100vw - 470px)/2)); overflow-y: auto; display: flex; flex-direction: column; align-items: stretch; }
.full-close { position: fixed; top: 25px; left: 27px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; background: rgba(255,255,255,.05); color: white; cursor: pointer; font-size: 20px; }
.full-service { text-align: center; color: rgba(255,255,255,.45); font-size: 9px; letter-spacing: .15em; margin-bottom: 25px; }
.full-cover { width: min(55vh,100%); aspect-ratio: 1; align-self: center; border-radius: 24px; background: linear-gradient(145deg,var(--violet),var(--coral)); box-shadow: 0 35px 100px rgba(0,0,0,.48); position: relative; overflow: hidden; display: flex; align-items: end; padding: 29px; }
.full-cover::before { content:"";position:absolute;width:80%;height:38%;background:rgba(8,8,12,.65);left:-10%;top:32%;transform:rotate(-17deg); }
.full-cover-lines { position:absolute;width:210px;height:210px;border:35px solid rgba(255,255,255,.14);border-radius:50%;right:-69px;top:-77px; }
.full-cover span { z-index: 2; font-size: clamp(35px,7vh,65px); line-height: .79; font-weight: 950; letter-spacing: -.08em; }
.full-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.full-meta h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.03em; }.full-meta p { color: rgba(255,255,255,.55); margin: 0; font-size: 11px; }.full-meta button { border: 0; background: none; color: white; font-size: 24px; cursor: pointer; }
.full-timeline { margin-top: 20px; }.full-timeline input { width: 100%; }.full-timeline > div { display: flex; justify-content: space-between; color: rgba(255,255,255,.45); font-size: 8px; }
.full-controls { margin: 19px 0; display: flex; justify-content: space-between; align-items: center; }.full-controls button { border: 0; background: none; color: rgba(255,255,255,.68); cursor: pointer; }.full-controls .full-play { width: 55px; height: 55px; border-radius: 50%; background: white; color: #111; }
.full-notice { border-top: 1px solid rgba(255,255,255,.1); padding-top: 15px; color: rgba(255,255,255,.4); text-align: center; font-size: 8px; line-height: 1.5; }
.toast { position: fixed; left: 50%; bottom: 115px; transform: translate(-50%,18px); z-index: 100; max-width: min(90vw,520px); background: var(--text); color: var(--bg); border-radius: 10px; padding: 11px 14px; font-size: 10px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 1000px) {
  :root { --sidebar: 210px; }
  .provider-cards { grid-template-columns: repeat(2,1fr); }
  .player { grid-template-columns: minmax(190px,.8fr) minmax(300px,1.3fr) 150px; }
  .player-actions .volume { display: none; }
}

@media (max-width: 820px) {
  body { overflow: auto; }
  .auth-view { grid-template-columns: 1fr; min-height: 100svh; }
  .auth-story { display: none; }
  .auth-panel { min-height: 100svh; padding: 44px 24px 70px; background: radial-gradient(circle at 50% 0,rgba(140,117,255,.15),transparent 36%); }
  .auth-mobile-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 42px; letter-spacing: .12em; font-size: 13px; }
  .locale-switch { bottom: 22px; right: 24px; }
  .app-view { display: block; min-height: 100svh; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; z-index: 30; transform: translateX(-100%); transition: transform .25s; box-shadow: var(--shadow); }
  .sidebar.open { transform: translateX(0); }
  .topbar { padding: 0 14px; gap: 10px; }
  .mobile-menu { display: block; flex: 0 0 auto; }
  .top-actions .notification-button { display: none; }
  .content-scroll { height: calc(100svh - 72px - 142px); padding: 30px 17px 45px; }
  .hero-search-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .hero-visual { display: none; }
  .provider-cards { grid-template-columns: 1fr 1fr; }
  .mood-grid { overflow-x: auto; grid-template-columns: repeat(3,220px); padding-bottom: 5px; }
  .player { position: fixed; left: 10px; right: 10px; bottom: 66px; height: 68px; grid-template-columns: minmax(0,1fr) auto; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 15px; box-shadow: var(--shadow); }
  .player-cover { width: 48px; height: 48px; }
  .player-center { display: block; }.player-center .timeline,.player-controls > button:not(.play-button) { display: none; }.player-controls .play-button { width: 36px; height: 36px; }
  .player-actions { display: none; }
  .mobile-nav { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; height: 70px; display: grid; grid-template-columns: repeat(3,1fr); background: var(--bg); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav button { border: 0; background: none; color: var(--muted); display: grid; place-content: center; gap: 4px; font-size: 16px; }.mobile-nav button small { font-size: 8px; }.mobile-nav button.active { color: var(--text); }
  .track-row { grid-template-columns: 22px minmax(0,1fr) 42px; }.track-album,.track-time { display: none; }.track-demo { justify-self: end; }
}

@media (max-width: 560px) {
  .global-search kbd { display: none; }.global-search input { padding-right: 12px; }.top-actions .icon-button { display: none; }
  .welcome-row { align-items: start; }.prototype-badge { display: none; }
  .hero-search-card { border-radius: 18px; min-height: 235px; }.hero-copy h2 { font-size: 34px; }.hero-search { margin-top: 27px; }
  .provider-cards { grid-template-columns: 1fr; }.provider-card { min-height: 118px; }
  .section-heading { align-items: center; }.section-heading .outline-button { padding: 0 10px; }
  .modal-backdrop { padding: 9px; align-items: end; }.modal { border-radius: 22px 22px 12px 12px; padding: 22px 17px; max-height: 91svh; }
  .provider-modal-row { grid-template-columns: 38px minmax(0,1fr) auto; }.provider-modal-row .provider-dot { width: 38px; height: 38px; }.provider-modal-copy small { display: none; }
  .setting-row { align-items: start; flex-direction: column; }
  .auth-heading h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
