/* ═══════════════════════════════════════════════════════════════════════════
   Müzik Panel — Apple-style Liquid Glass
   Neutral dark canvas, bright frosted white glass, a single system-blue accent.
   Crisp thin borders, specular top-edge highlight, calm depth. No color cast.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Canvas — neutral near-black (Apple system grays), no purple */
  --bg-0: #0a0a0c;
  --bg-1: #131317;

  /* Text — Apple off-white ramp */
  --text: #f5f5f7;
  --text-dim: #a1a1a9;
  --text-faint: #6c6c76;

  /* Accents — restrained: one system blue, pink for likes, green for ok */
  --accent: #0a84ff;        /* system blue (dark) */
  --accent-2: #64d2ff;      /* lighter cyan-blue, for the queue action */
  --accent-press: #0a6fe0;
  --like: #ff375f;          /* system pink */
  --ok: #30d158;            /* system green */

  /* Liquid glass tokens — brighter, whiter, thin crisp edges */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-strong: rgba(255, 255, 255, 0.11);
  --glass-brd: rgba(255, 255, 255, 0.14);
  --glass-brd-bright: rgba(255, 255, 255, 0.26);
  --hairline: rgba(255, 255, 255, 0.08);

  --blur: 30px;
  --radius: 24px;
  --radius-sm: 15px;

  --shadow: 0 8px 30px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --tint: #cfd2da; /* neutral cool sheen used on placeholders */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-0);
  overflow: hidden;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hidden { display: none !important; }

/* ── Icons (inline SVG line set — replaces emoji everywhere) ─────────────── */
.ic { width: 1em; height: 1em; display: block; flex: none; }
.nav-item .ni, .brand-icon, .vol-icon, .logout { display: grid; place-items: center; }
.brand-icon { font-size: 21px; color: var(--text); }
.nav-item .ni { font-size: 18px; }
.pill .ic, .back .ic { width: 16px; height: 16px; }
.search-go .ic { width: 19px; height: 19px; }
.detail-cover .ic { width: 38px; height: 38px; color: var(--accent); }
.pl-cover .ic { width: 30px; height: 30px; color: var(--text-dim); }
.pl-card.new .plus .ic { width: 28px; height: 28px; }
.row-art.ph .ic { width: 20px; height: 20px; }

/* ── Background — clean neutral with a soft cool light, no neon ──────────── */
.bg {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(100% 70% at 50% -8%, #1c1c24 0%, #101015 45%, var(--bg-0) 78%),
    var(--bg-0);
}
.blob { position: absolute; border-radius: 50%; filter: blur(100px); will-change: transform; }
/* Soft, desaturated ambient light — gives the glass something to refract at its
   edges without tinting the UI. Cool highlight + a faint system-blue + a warm
   neutral, all low-saturation so it reads as "premium depth", not "neon". */
.b1 { width: 62vw; height: 62vw; background: rgba(190, 200, 220, 0.16); top: -20vw; left: 6vw; animation: drift1 34s ease-in-out infinite; }
.b2 { width: 50vw; height: 50vw; background: rgba(10, 132, 255, 0.16); bottom: -18vw; right: -6vw; animation: drift2 40s ease-in-out infinite; }
.b3 { width: 42vw; height: 42vw; background: rgba(120, 140, 170, 0.10); top: 44%; left: 46%; animation: drift3 46s ease-in-out infinite; }
.bg-grain { position: absolute; inset: 0; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4vw,3vw) scale(1.08); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-4vw,-3vw) scale(1.06); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-4vw,2vw) scale(0.94); } }

/* ── Liquid glass primitive ─────────────────────────────────────────────── */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur)) saturate(150%) brightness(1.06);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%) brightness(1.06);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow);
}
/* Specular sheen: a bright hairline on the top edge + a faint diagonal gloss —
   the signature of Apple's liquid glass. */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26), rgba(255,255,255,0) 32%),
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0) 42%);
  -webkit-mask: linear-gradient(180deg, #000, transparent 58%);
          mask: linear-gradient(180deg, #000, transparent 58%);
}

/* ── Login ──────────────────────────────────────────────────────────────── */
.login { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(420px, 92vw); border-radius: 30px; padding: 46px 38px; text-align: center; }
.login-logo { font-size: 56px; filter: drop-shadow(0 10px 22px rgba(0,0,0,0.5)); }
.login-card h1 { font-size: 29px; margin: 16px 0 10px; letter-spacing: -0.03em; font-weight: 700; }
.login-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; margin-bottom: 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  border: none; cursor: pointer; font: inherit; font-weight: 600; color: #fff;
  padding: 14px 22px; border-radius: 15px; text-decoration: none;
  transition: transform .15s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn-discord { background: #5865F2; box-shadow: 0 10px 26px rgba(88,101,242,.4); width: 100%; }

/* ── App layout ─────────────────────────────────────────────────────────── */
.app {
  position: fixed; inset: 0; padding: 18px;
  display: grid; grid-template-columns: 236px 1fr; grid-template-rows: 1fr auto;
  grid-template-areas: "side main" "player player";
  gap: 18px;
}

/* Sidebar */
.sidebar { grid-area: side; border-radius: var(--radius); padding: 22px 16px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 22px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand-icon { font-size: 22px; }
.nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  background: transparent; border: 1px solid transparent; color: var(--text-dim);
  font: inherit; font-weight: 550; font-size: 15px; padding: 12px 14px; border-radius: 13px;
  cursor: pointer; transition: background .18s ease, color .18s ease;
}
.nav-item .ni { font-size: 17px; width: 20px; text-align: center; }
.nav-item:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.nav-item.active {
  color: #fff; background: rgba(255,255,255,0.10);
  border-color: var(--glass-brd); box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.sidebar-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 14px 8px 4px; border-top: 1px solid var(--hairline); }
.me { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.me-avatar { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--glass-brd); background: #222; object-fit: cover; }
.me-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logout { color: var(--text-faint); text-decoration: none; font-size: 18px; padding: 6px; border-radius: 10px; transition: all .15s; }
.logout:hover { color: var(--like); background: rgba(255,255,255,0.06); }

/* Main */
.main { grid-area: main; min-width: 0; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px; }
.topbar h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.guild-badge {
  font-size: 12.5px; color: var(--text-dim); padding: 7px 13px; border-radius: 999px;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-brd); backdrop-filter: blur(12px);
}
.view { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 2px 4px 8px; }
.view::-webkit-scrollbar { width: 10px; }
.view::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }
.view::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); background-clip: content-box; }

/* ── Search bar ─────────────────────────────────────────────────────────── */
.searchbar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  border-radius: 999px; padding: 6px 8px 6px 22px;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(var(--blur)) saturate(150%) brightness(1.06); box-shadow: var(--shadow);
}
.searchbar input {
  flex: 1; background: transparent; border: none; outline: none; color: var(--text);
  font: inherit; font-size: 16.5px; padding: 12px 0; letter-spacing: -0.01em;
}
.searchbar input::placeholder { color: var(--text-faint); }
.search-go {
  width: 46px; height: 46px; flex: none; border: none; cursor: pointer; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 18px;
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(10,132,255,.4), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .15s, filter .2s;
}
.search-go:hover { transform: scale(1.05); filter: brightness(1.08); }

/* Section label */
.section-label { font-size: 12.5px; color: var(--text-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 6px 6px 12px; }

/* ── Track rows ─────────────────────────────────────────────────────────── */
.rows { display: flex; flex-direction: column; gap: 8px; }
.row {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--glass-bg); border: 1px solid var(--hairline);
  backdrop-filter: blur(16px) saturate(140%) brightness(1.05); transition: background .16s, border-color .16s;
}
.row:hover { background: var(--glass-bg-strong); border-color: var(--glass-brd); }
.row-art { width: 46px; height: 46px; flex: none; border-radius: 10px; object-fit: cover; background: linear-gradient(160deg,#26262c,#17171b); box-shadow: 0 3px 10px rgba(0,0,0,.35); }
.row-art.ph { display: grid; place-items: center; font-size: 19px; color: var(--text-faint); }
.row-meta { flex: 1; min-width: 0; }
.row-title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { font-size: 13px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.row-dur { font-size: 12.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; margin-right: 4px; }
.row-actions { display: flex; align-items: center; gap: 6px; flex: none; }

.iconbtn {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border-radius: 11px; border: 1px solid transparent; background: rgba(255,255,255,0.04);
  color: var(--text-dim); cursor: pointer; font-size: 16px; transition: background .16s, color .16s, transform .12s;
}
.iconbtn:hover { background: rgba(255,255,255,0.1); color: var(--text); transform: translateY(-1px); }
.iconbtn.play:hover { color: var(--accent); }
.iconbtn.queue:hover { color: var(--accent-2); }
.iconbtn.add:hover { color: var(--ok); }
.iconbtn.like { font-size: 17px; }
.iconbtn.like:hover { color: var(--like); }
.iconbtn.like.on { color: var(--like); background: rgba(255,55,95,.15); border-color: rgba(255,55,95,.34); }
.iconbtn.del:hover { color: var(--like); }

/* ── Playlist / server grid ─────────────────────────────────────────────── */
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.pl-card {
  border-radius: var(--radius-sm); padding: 18px; cursor: pointer; position: relative; overflow: hidden;
  background: var(--glass-bg); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px) brightness(1.05);
  transition: transform .16s, background .18s, border-color .18s; min-height: 122px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.pl-card:hover { transform: translateY(-3px); background: var(--glass-bg-strong); border-color: var(--glass-brd-bright); }
.pl-cover { font-size: 30px; }
.pl-name { font-weight: 650; font-size: 16px; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-count { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.pl-card.new { align-items: center; justify-content: center; text-align: center; color: var(--text-dim); border-style: dashed; }
.pl-card.new:hover { color: var(--text); }
.pl-card.new .plus { font-size: 30px; font-weight: 300; }

/* Back link */
.back { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: var(--text-dim); font: inherit; font-size: 14px; cursor: pointer; margin-bottom: 16px; padding: 6px 4px; }
.back:hover { color: var(--text); }

/* Detail header */
.detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.detail-cover { width: 84px; height: 84px; border-radius: 20px; display: grid; place-items: center; font-size: 38px; background: var(--glass-bg-strong); border: 1px solid var(--glass-brd); box-shadow: var(--shadow); }
.detail-title { font-size: 27px; font-weight: 700; letter-spacing: -.03em; }
.detail-sub { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.detail-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14px; border: 1px solid var(--glass-brd); color: var(--text);
  background: var(--glass-bg-strong); transition: background .16s, transform .12s;
}
.pill:hover { background: rgba(255,255,255,.15); transform: translateY(-1px); }
.pill.primary { background: var(--accent); border: 1px solid transparent; color: #fff; box-shadow: 0 6px 18px rgba(10,132,255,.36), inset 0 1px 0 rgba(255,255,255,.3); }
.pill.primary:hover { background: var(--accent-press); }

/* ── Empty / loading ────────────────────────────────────────────────────── */
.empty { text-align: center; color: var(--text-faint); padding: 60px 20px; }
.empty .em-ico { font-size: 44px; opacity: .85; }
.empty p { margin-top: 12px; font-size: 15px; }
.spinner { width: 30px; height: 30px; margin: 60px auto; border: 3px solid rgba(255,255,255,.14); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.sm { width: 20px; height: 20px; margin: 20px auto; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Now playing bar ────────────────────────────────────────────────────── */
.player { grid-area: player; border-radius: var(--radius); padding: 12px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.np-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.np-art { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; background: linear-gradient(160deg,#26262c,#17171b); box-shadow: 0 3px 12px rgba(0,0,0,.4); }
.np-meta { min-width: 0; }
.np-title { font-weight: 650; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-author { font-size: 12.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-controls { display: flex; align-items: center; gap: 8px; }
.ctrl { width: 40px; height: 40px; border-radius: 12px; border: none; background: rgba(255,255,255,.05); color: var(--text); font-size: 16px; cursor: pointer; display: grid; place-items: center; transition: background .15s, transform .12s; }
.ctrl:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.ctrl.small { width: 36px; height: 36px; font-size: 14px; }
.ctrl.small.on { background: rgba(10,132,255,.22); color: #fff; border: 1px solid rgba(10,132,255,.4); }
.ctrl-main { width: 48px; height: 48px; font-size: 19px; background: var(--accent); color: #fff; box-shadow: 0 5px 16px rgba(10,132,255,.4), inset 0 1px 0 rgba(255,255,255,.3); }
.ctrl-main:hover { background: var(--accent-press); }
.np-extra { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.vol-icon { color: var(--text-dim); font-size: 15px; }
.vol { -webkit-appearance: none; appearance: none; width: 120px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.16); outline: none; }
.vol::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.vol::-moz-range-thumb { width: 16px; height: 16px; border: none; border-radius: 50%; background: #fff; cursor: pointer; }

/* ── Toast ──────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 118px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--glass-bg-strong); backdrop-filter: blur(24px) saturate(150%) brightness(1.1);
  border: 1px solid var(--glass-brd); color: var(--text); padding: 12px 22px; border-radius: 14px;
  font-size: 14px; font-weight: 550; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 100; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: rgba(255,55,95,.5); }
.toast.ok { border-color: rgba(48,209,88,.5); }

/* ── Modal ──────────────────────────────────────────────────────────────── */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); display: grid; place-items: center; z-index: 90; padding: 20px; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(440px, 94vw); max-height: 80vh; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; animation: pop .22s cubic-bezier(.2,.9,.3,1.25); }
@keyframes pop { from { opacity: 0; transform: scale(.95) translateY(10px); } }
.modal h3 { font-size: 20px; margin-bottom: 4px; letter-spacing: -0.02em; }
.modal .sub { color: var(--text-dim); font-size: 13.5px; margin-bottom: 18px; }
.modal-list { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin: 0 -4px; padding: 0 4px; }
.modal-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid transparent; transition: background .15s, border-color .15s; text-align: left; font: inherit; color: var(--text);
}
.modal-item:hover { background: rgba(255,255,255,.1); border-color: var(--glass-brd); }
.modal-item .mi-ico { font-size: 18px; width: 24px; text-align: center; }
.modal-item img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #333; }
.modal-item .mi-sub { font-size: 12px; color: var(--text-dim); margin-left: auto; }
.field { display: flex; gap: 8px; margin-top: 16px; }
.field input { flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd); border-radius: 13px; color: var(--text); font: inherit; font-size: 14.5px; padding: 12px 14px; outline: none; transition: border-color .15s; }
.field input:focus { border-color: var(--accent); }
.modal-close { position: absolute; top: 18px; right: 20px; background: none; border: none; color: var(--text-faint); font-size: 20px; cursor: pointer; }
.modal-close:hover { color: var(--text); }

/* Queue modal — remove button aligned right */
.modal-item .q-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal-item .qx { width: 30px; height: 30px; margin-left: auto; opacity: 0; }
.modal-item:hover .qx { opacity: 1; }
.modal-item .mi-ico .ic { width: 15px; height: 15px; }

/* ── Live lyrics overlay ────────────────────────────────────────────────── */
.lyrics {
  position: fixed; inset: 18px 18px 104px 18px; z-index: 80; border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden; animation: fade .2s ease;
}
.lyrics-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--hairline); }
.lyrics-title { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lyrics-head .iconbtn { width: 40px; height: 40px; }
.lyrics-body { flex: 1; overflow-y: auto; padding: 34vh 24px; text-align: center; scroll-behavior: smooth; }
.lyrics-body::-webkit-scrollbar { width: 10px; }
.lyrics-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }
.ly-line {
  font-size: 25px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.32;
  color: var(--text-faint); padding: 8px 0; cursor: default;
  transition: color .3s ease, opacity .3s ease, transform .3s ease, filter .3s ease;
  filter: blur(0.4px); opacity: .55;
}
.ly-line.past { opacity: .38; }
.ly-line.active { color: var(--text); opacity: 1; transform: scale(1.05); filter: blur(0); text-shadow: 0 2px 20px rgba(255,255,255,.12); }
.ly-plain { text-align: left; white-space: pre-wrap; line-height: 1.85; font-size: 16px; color: var(--text-dim); max-width: 680px; margin: 0 auto; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .app { grid-template-columns: 1fr; grid-template-areas: "main" "player"; padding: 12px; gap: 12px; }
  .sidebar { display: none; }
  .player { grid-template-columns: 1fr auto; }
  .np-extra { display: none; }
}

/* ── Home hero: bot stats + invite (search view) ─────────────────────────── */
.home-hero { margin-bottom: 18px; }
.hero-card {
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-id { display: flex; align-items: center; gap: 14px; }
.hero-avatar {
  width: 56px; height: 56px; border-radius: 16px; object-fit: cover;
  border: 1px solid var(--glass-brd); flex: none;
}
.hero-avatar.ph {
  display: grid; place-items: center; color: var(--tint);
  background: var(--glass-bg); font-size: 26px;
}
.hero-name { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.hero-tag { color: var(--text-dim); font-size: 13.5px; margin-top: 2px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-stat {
  background: var(--glass-bg); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: 12px 10px; text-align: center;
}
.hs-num { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.hs-lbl { color: var(--text-dim); font-size: 12px; margin-top: 3px; }
.hero-invite {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; color: #fff; font-weight: 600; font-size: 14.5px;
  background: var(--accent); border: 1px solid transparent;
  padding: 12px 16px; border-radius: 999px;
  transition: background .15s ease, transform .1s ease;
}
.hero-invite:hover { background: var(--accent-press); }
.hero-invite:active { transform: scale(.98); }
.hero-invite .ic { width: 18px; height: 18px; }

/* ── Home: mood chips, listening sections, artist strip ──────────────────── */
.mood-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.chip {
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  color: var(--text); font-size: 13px; font-weight: 550;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.chip:hover { background: var(--glass-bg-strong); border-color: var(--glass-brd-bright); }
.chip:active { transform: scale(.97); }
.home-sections { margin-top: 8px; }
.home-sections .section-label { margin-top: 22px; }
.row-plays {
  font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums;
  padding: 3px 8px; border-radius: 999px; background: var(--glass-bg);
  border: 1px solid var(--hairline); white-space: nowrap;
}
.artist-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 116px;
  gap: 12px; overflow-x: auto; padding: 4px 2px 6px; margin-top: 12px;
  scrollbar-width: thin;
}
.artist-card { text-align: center; }
.artist-av {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--glass-brd); margin: 0 auto 8px; display: block;
}
.artist-av.ph { display: grid; place-items: center; color: var(--tint);
  background: var(--glass-bg); font-size: 30px; }
.artist-name { font-size: 13.5px; font-weight: 600; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.artist-plays { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
