:root {
  --bg: #000;
  --panel: #121212;
  --card: #181818;
  --hover: #1a1a1a;
  --elev: #282828;
  --ink: #fff;
  --mute: #b3b3b3;
  --dim: #6a6a6a;
  --green: #e91429;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }
body.kyo-body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: Figtree, "Segoe UI", sans-serif;
  overscroll-behavior: none;
}
body.is-rtl.kyo-body {
  font-family: "IBM Plex Sans Arabic", Figtree, "Segoe UI", sans-serif;
}

.ico { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 32px; height: 32px; }

.sp-app {
  direction: ltr;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  height: 100dvh;
  background: #000;
  min-height: 0;
}
.sp-body {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  overflow: hidden;
}
.sp-sidebar { display: none; min-height: 0; }
.sp-main {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: #121212;
  border-radius: 8px;
}
.sp-main-inner {
  padding: 16px 16px 24px;
}
body.is-rtl .sp-main-inner { direction: rtl; text-align: right; }
body.is-ltr .sp-main-inner { direction: ltr; text-align: left; }

/* ── Top bar (Spotify desktop) ── */
.sp-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #000;
  min-height: 56px;
  direction: ltr;
}
.sp-topbar-left, .sp-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sp-topbar-left { justify-self: start; }
.sp-topbar-right { justify-self: end; }
.sp-topbar-center {
  flex: 1;
  min-width: 0;
  display: none;
  justify-content: center;
}
.sp-brand-mini {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.sp-logo-sm { width: 32px; height: 32px; border-radius: 50%; }
.top-icon-btn {
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: #000;
  color: #b3b3b3;
  cursor: pointer;
  display: grid; place-items: center;
}
.top-icon-btn.is-on, .top-icon-btn:hover { color: #fff; background: #1a1a1a; }
.top-search {
  width: min(100%, 480px);
  margin: 0;
  background: #242424 !important;
  border-radius: 500px !important;
  color: #fff !important;
  padding: 8px 12px !important;
}
.top-search input { color: #fff !important; font-size: 14px !important; font-weight: 400 !important; }
.top-search input::placeholder { color: #b3b3b3 !important; }
.top-search .ico { color: #b3b3b3 !important; width: 20px !important; height: 20px !important; }
.top-search .spot-search-btn { display: grid !important; color: #b3b3b3; }
.top-user {
  width: 32px; height: 32px;
  border: 0; border-radius: 50%;
  background: #e91429;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: grid; place-items: center;
  font-family: inherit;
}

.sp-side-card {
  background: #121212;
  border-radius: 8px;
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  overflow: auto;
}
.sp-side-card.grow, .lib-card { flex: 1; min-height: 0; }
.lib-card { background: #121212; border-radius: 8px; padding: 8px; }
.lib-cards { padding: 0 4px 8px; }
.lib-promo {
  background: #242424;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
}
.lib-promo b { display: block; font-size: 14px; margin-bottom: 6px; }
.lib-promo p { margin: 0 0 12px; color: #b3b3b3; font-size: 13px; line-height: 1.4; }
.promo-btn {
  border: 0; background: #fff; color: #000;
  border-radius: 500px; padding: 8px 16px;
  font-family: inherit; font-weight: 700; font-size: 13px; cursor: pointer;
}
.sp-lib-head {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; font-size: 16px;
  padding: 8px 8px 12px;
}
.sp-lib-head .ico { color: #b3b3b3; }
.lib-plus { margin-inline-start: auto; width: 28px; height: 28px; color: #b3b3b3; }

.sp-brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  padding: 12px; font-weight: 700; font-size: 16px;
}
.sp-logo, img.sp-logo {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block;
}
.logo {
  width: 72px; height: 72px; border-radius: 50%;
  background: transparent; overflow: hidden;
  display: grid; place-items: center; margin: 0 auto;
}
.logo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.logo .sp-logo { width: 72px; height: 72px; }

.nav-item {
  display: flex; align-items: center; gap: 16px;
  width: 100%; border: 0; background: transparent;
  color: #b3b3b3; font-family: inherit;
  font-size: 16px; font-weight: 700;
  padding: 12px; border-radius: 6px; cursor: pointer; text-align: left;
}
.nav-item:hover, .nav-item.is-on { color: #fff; }

.sp-plist {
  display: flex; align-items: center; gap: 12px;
  width: 100%; border: 0; background: transparent;
  color: #fff; font-family: inherit; text-align: left;
  padding: 8px; border-radius: 6px; cursor: pointer;
}
.sp-plist:hover, .sp-plist.is-on { background: #1a1a1a; }
.sp-plist.big { padding: 12px; margin-bottom: 16px; background: #181818; }
.sp-thumb {
  width: 48px; height: 48px; border-radius: 4px;
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  overflow: hidden; background: #282828;
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-thumb.liked { background: linear-gradient(135deg, #450af5, #c4b5fd); }
.sp-plist b { display: block; font-size: 14px; font-weight: 600; }
.sp-plist span span, .sp-plist-t span { display: block; color: #b3b3b3; font-size: 12px; margin-top: 2px; }

.sp-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0 16px;
  position: sticky; top: 0; z-index: 4;
  background: transparent;
}
.sp-top h2, .page-h { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
.page-h { margin: 8px 0 16px; }
.top-pills { display: flex; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #000; color: #fff; border: 0;
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700;
  font-family: inherit; cursor: pointer;
}
.icon-pill {
  width: 40px; height: 40px; padding: 0;
  justify-content: center; background: rgba(0,0,0,.45);
}
.icon-pill .ico { width: 18px; height: 18px; }

.view { display: none; }
.view.is-on { display: block; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.section-title { margin: 0; font-size: 22px; font-weight: 700; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 28px 0 14px;
}
.show-all {
  border: 0; background: transparent; color: #b3b3b3;
  font-family: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; text-transform: none;
}
.show-all:hover { color: #fff; text-decoration: underline; }

.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-pill {
  border: 0; background: #2a2a2a; color: #fff;
  border-radius: 500px; padding: 8px 14px;
  font-family: inherit; font-weight: 700; font-size: 13px; cursor: pointer;
}
.filter-pill.is-on { background: #fff; color: #000; }

.start-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, #f5c518 0%, #c9970a 45%, #8a6400 100%);
  border-radius: 8px;
  padding: 24px;
  color: #000;
  margin-bottom: 8px;
}
.start-banner p { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.start-banner h3 { margin: 6px 0 8px; font-size: 28px; font-weight: 900; letter-spacing: -.04em; }
.start-desc { font-size: 14px !important; font-weight: 500 !important; text-transform: none !important; opacity: .85; max-width: 420px; }
.start-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.start-banner-art {
  display: flex; gap: 8px; align-items: flex-end;
}
.start-banner-art span {
  width: 72px; height: 72px; border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transform: rotate(8deg);
  background-size: cover;
  background-position: center;
  background-color: #282828;
}
.start-banner-art span:nth-child(2) { transform: rotate(-4deg) translateY(-8px); height: 88px; }
.start-banner-art span:nth-child(3) { transform: rotate(12deg); height: 64px; }

.back-link {
  border: 0; background: transparent; color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; padding: 0 0 12px; display: inline-flex; align-items: center; gap: 6px;
}
.back-link:hover { text-decoration: underline; }

.radio-row, .artist-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  margin-inline: -16px;
  padding-inline: 16px;
}
.radio-row::-webkit-scrollbar, .artist-row::-webkit-scrollbar { display: none; }
.radio-row.is-all,
.artist-row.is-all,
.home-albums.is-all {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  overflow: visible;
  margin-inline: 0;
  padding-inline: 0;
}
.radio-row.is-all .radio-card,
.artist-row.is-all .artist-card,
.home-albums.is-all .album {
  flex: none;
  width: 100%;
}
.artist-row.is-all {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.radio-row::-webkit-scrollbar, .artist-row::-webkit-scrollbar { display: none; }

.radio-card {
  flex: 0 0 168px;
  border: 0; background: transparent; color: #fff;
  font-family: inherit; text-align: start; cursor: pointer; padding: 0;
}
.radio-art {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #450af5, #8e44ad);
}
.radio-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
  gap: 0;
}
.radio-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.radio-badge {
  position: absolute; top: 8px; inset-inline-end: 8px;
  background: rgba(0,0,0,.65);
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  padding: 4px 8px; border-radius: 4px;
  z-index: 2;
}
.radio-card b { display: block; font-size: 14px; font-weight: 700; }
.radio-card span { display: block; color: #b3b3b3; font-size: 12px; margin-top: 4px; line-height: 1.35; }

.artist-card {
  flex: 0 0 104px;
  border: 0; background: transparent; color: #fff;
  font-family: inherit; text-align: center; cursor: pointer; padding: 0;
}
.artist-avatar {
  width: 104px; height: 104px; border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  overflow: hidden;
  background: #282828;
}
.artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.artist-card span { display: block; font-size: 13px; font-weight: 600; }

.mobile-search { display: flex; }

@media (max-width: 979px) {
  .sp-main {
    background: linear-gradient(#4a0c16 0, #121212 220px);
    border-radius: 0;
  }
  .start-banner {
    grid-template-columns: 1fr;
  }
  .start-banner-art { display: none; }
  .lib-card, .sp-sidebar { display: none !important; }
}

.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip {
  display: flex; align-items: center; gap: 10px;
  background: #2a2a2a; border: 0; color: #fff;
  border-radius: 4px; overflow: hidden; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 13px; text-align: start;
  padding: 0 12px 0 0; min-height: 48px;
}
.chip img, .chip-art {
  width: 48px; height: 48px; object-fit: cover; flex-shrink: 0;
}
.chip-art { display: block; }
.albums {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.home-albums {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  margin-inline: -16px;
  padding-inline: 16px 16px;
  scrollbar-width: none;
}
.home-albums::-webkit-scrollbar { display: none; }
.home-albums .album {
  flex: 0 0 142px;
  background: transparent;
  padding: 0;
  text-align: start;
}
.lib-albums {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lib-albums .album {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  padding: 8px 0;
  text-align: start;
  border-radius: 0;
}
.lib-albums .album-art {
  width: 56px; height: 56px; aspect-ratio: auto; margin: 0; flex-shrink: 0;
  box-shadow: none;
}
.lib-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0 4px;
}
.lib-top .page-h { margin: 0; }
.album {
  background: #181818; border: 0; color: #fff; text-align: start;
  border-radius: 8px; padding: 12px; cursor: pointer; font-family: inherit;
}
.album:hover { background: #282828; }
.album-art {
  aspect-ratio: 1; border-radius: 6px; margin-bottom: 12px;
  background: #282828 center/cover no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.album b { display: block; font-size: 14px; }
.album span { display: block; color: #b3b3b3; font-size: 12px; margin-top: 4px; }

.hero-mix {
  margin-top: 22px;
  background: linear-gradient(135deg, #e91429, #5a0812 55%, #121212);
  border-radius: 8px; padding: 22px;
}
.hero-mix p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-mix h3 { margin: 6px 0 14px; font-size: 26px; }

.kyo-btn {
  appearance: none; border: 0; background: #fff; color: #000;
  font-family: inherit; font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 500px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.kyo-btn-solid { background: #e91429; }
.kyo-btn-solid:hover { background: #ff4d5a; }
.kyo-btn .ico { width: 16px; height: 16px; }

.play-lg {
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: #e91429; color: #000; cursor: pointer;
  display: grid; place-items: center; margin-top: 14px;
}
.play-lg:hover { transform: scale(1.06); }
.play-lg .ico { width: 22px; height: 22px; }

.sp-head {
  display: flex; gap: 20px; align-items: flex-end;
  background: linear-gradient(180deg, #333, #121212);
  margin: -8px -16px 18px;
  padding: 28px 16px 22px;
}
.sp-head-art {
  width: 140px; height: 140px; border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  display: grid; place-items: center; flex-shrink: 0; background: #282828;
}
.sp-head-art .ico { width: 64px; height: 64px; }
.kicker { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.h2 { margin: 4px 0 8px; font-size: 32px; font-weight: 700; letter-spacing: -.04em; }
.lead { margin: 0; color: #b3b3b3; font-size: 14px; }

.spot-search {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 8px;
  padding: 10px 12px; margin: 4px 0 20px;
  color: #121212;
}
.spot-search:focus-within { box-shadow: none; }
.spot-search input {
  flex: 1; min-width: 0; background: transparent; border: 0;
  color: #121212; font-family: inherit; font-size: 16px; font-weight: 600; outline: none;
}
.spot-search input::placeholder { color: #3e3e3e; }
.spot-search .ico { width: 22px; height: 22px; color: #121212; }
.spot-search-btn { display: none; }
.search-status { color: #b3b3b3; font-size: 14px; margin: 0 0 12px; }
.empty { color: #b3b3b3; padding: 16px; }

.spot-list-head { display: none; }
.spot-row {
  display: grid; grid-template-columns: 48px 1fr;
  gap: 12px; align-items: center; width: 100%;
  text-align: left; background: transparent; border: 0; color: #fff;
  border-radius: 4px; padding: 8px 0; cursor: pointer; font-family: inherit;
}
.spot-row:hover { background: transparent; }
.spot-row.is-on b { color: #e91429; }
.spot-row .n { display: none; }
.spot-row img { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; background: #282828; }
.spot-row b { display: block; font-size: 15px; font-weight: 500; }
.spot-row em { display: block; color: #b3b3b3; font-size: 13px; margin-top: 2px; font-style: normal; }

.sp-player {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  background: #181818;
  border-radius: 8px;
  margin: 0 8px;
  padding: 8px 8px 10px;
  min-height: 56px;
}
.sp-now { display: flex; align-items: center; gap: 10px; min-width: 0; }
.spot-cover { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; background: #282828; }
.spot-meta { min-width: 0; flex: 1; }
#spot-title { margin: 0; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#spot-artist { margin: 2px 0 0; color: #b3b3b3; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-center { min-width: 0; }
.spot-controls { display: flex; align-items: center; justify-content: center; gap: 6px; }
.sp-player .spot-controls > .spot-ico,
.sp-player #btn-like { display: none; }
.spot-progress { display: none; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; }
.sp-player .spot-progress {
  display: grid;
  grid-template-columns: 1fr;
  position: absolute;
  left: 10px; right: 10px; bottom: 3px;
  gap: 0;
  pointer-events: none;
}
.sp-player .spot-progress span { display: none; }
.spot-progress span { color: #a7a7a7; font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.spot-progress input[type="range"], .sp-vol input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 99px;
  background: linear-gradient(90deg, #fff var(--p, 0%), #4d4d4d var(--p, 0%));
  outline: none; cursor: pointer;
}
.sp-player .spot-progress input[type="range"] {
  height: 2px;
}
.sp-player .spot-progress input[type="range"]::-webkit-slider-thumb {
  width: 0; height: 0; opacity: 0;
}
.spot-progress input[type="range"]::-webkit-slider-thumb,
.sp-vol input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0;
}
.spot-progress:hover input[type="range"], .sp-vol:hover input[type="range"] {
  background: linear-gradient(90deg, #c40e22 var(--p, 0%), #4d4d4d var(--p, 0%));
}
.spot-ico {
  width: 32px; height: 32px; border: 0; background: transparent;
  color: #b3b3b3; cursor: pointer; display: grid; place-items: center; border-radius: 50%;
}
.spot-ico:hover { color: #fff; }
.spot-ico.is-on { color: #e91429; }
.spot-ico .ico { width: 16px; height: 16px; }
.spot-play {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center;
}
.spot-play .ico { grid-area: 1 / 1; width: 22px; height: 22px; }
.spot-play .i-pause { display: none; }
.spot-play.is-on .i-play { display: none; }
.spot-play.is-on .i-pause { display: block; }
.sp-vol { display: none; align-items: center; gap: 8px; color: #b3b3b3; }
.sp-vol input { width: 90px; }

.sp-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(180deg, transparent, #000 40%);
  border-top: 0;
  padding: 10px 8px calc(10px + var(--safe-bottom));
}
.sp-tabs .nav-item {
  flex-direction: column; gap: 4px; font-size: 10px; font-weight: 500;
  padding: 6px 2px; text-align: center; justify-content: center;
  color: #b3b3b3;
}
.sp-tabs .nav-item.is-on { color: #fff; }
.sp-tabs .nav-item .ico { width: 24px; height: 24px; margin: 0 auto; }

.kyo-toast {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%) translateY(-8px);
  z-index: 80; background: #e91429; color: #000;
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  max-width: 92%; opacity: 0; pointer-events: none; transition: .25s ease;
}
.kyo-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); color: #fff; }

.kyo-overlay {
  position: fixed; inset: 0; z-index: 70; background: #000;
  display: grid; place-items: center; transition: opacity .4s ease;
}
.kyo-overlay.hide { opacity: 0; pointer-events: none; }
.kyo-boot { text-align: center; color: #b3b3b3; }
.kyo-boot h1 { margin: 12px 0 4px; color: #fff; font-weight: 800; letter-spacing: -.04em; }
.kyo-boot-bar { width: 140px; height: 4px; margin: 18px auto 0; background: #2a2a2a; border-radius: 99px; overflow: hidden; }
.kyo-boot-bar span { display: block; height: 100%; width: 40%; background: #e91429; animation: load 1s ease infinite; }
@keyframes load { from { transform: translateX(-120%); } to { transform: translateX(320%); } }

.genres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 16px;
}
.browse-card {
  position: relative;
  height: 100px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  text-align: start;
  padding: 12px;
  font-family: inherit;
  cursor: pointer;
}
.browse-card b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.genre {
  border: 0; background: #282828; color: #fff;
  border-radius: 500px; padding: 8px 14px; font-family: inherit; font-weight: 700;
  font-size: 13px; cursor: pointer;
}
.genre:hover { background: #e91429; }
.spot-cover { cursor: pointer; }
.nowplay {
  position: fixed; inset: 0; z-index: 75;
  background: linear-gradient(180deg, #7a1020 0%, #121212 46%);
  display: none; flex-direction: column;
  padding: 8px 24px calc(24px + var(--safe-bottom));
}
.nowplay.is-on { display: flex; }
.np-top {
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.np-top .spot-ico { color: #fff; width: 40px; height: 40px; }
.np-top .spot-ico .ico { width: 22px; height: 22px; }
.nowplay > img {
  width: min(100%, 340px); aspect-ratio: 1; object-fit: cover;
  border-radius: 8px; margin: 18px auto 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
.np-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.nowplay h2 { margin: 0; font-size: 22px; font-weight: 800; }
.nowplay p { margin: 6px 0 0; color: #b3b3b3; font-size: 14px; }
.np-meta .spot-ico { color: #fff; width: 40px; height: 40px; }
.np-meta .spot-ico .ico { width: 24px; height: 24px; }
.np-progress {
  display: grid !important;
  grid-template-columns: 40px 1fr 40px;
  margin: 20px 0 10px;
}
.np-controls {
  margin-top: auto;
  gap: 8px;
  padding: 8px 0 4px;
}
.np-controls .spot-ico {
  width: 48px; height: 48px; color: #fff;
}
.np-controls .spot-ico .ico { width: 24px; height: 24px; }
.np-play {
  width: 64px !important; height: 64px !important;
  background: #fff !important; color: #000 !important;
}
.np-play .ico { width: 28px !important; height: 28px !important; }
.queue-box {
  position: fixed; inset: auto 0 0; z-index: 80;
  width: 100%;
  max-height: 70vh; overflow: auto;
  background: #181818; border-radius: 16px 16px 0 0; padding: 16px;
  display: none;
}
.queue-box.is-on { display: block; }
.queue-box h4 { margin: 0 0 8px; }
.drawer-close { float: left; border: 0; background: transparent; color: #b3b3b3; cursor: pointer; font-size: 18px; }
.create-row { display: flex; gap: 8px; margin: 12px 0 18px; }
.create-row .kyo-input { flex: 1; }
.kyo-input {
  width: 100%; background: #242424; border: 0; color: #fff;
  border-radius: 4px; padding: 12px 14px; font-family: inherit; font-size: 15px; outline: none;
}

@media (min-width: 980px) {
  .sp-app {
    grid-template-rows: auto 1fr 90px;
    gap: 8px;
    padding: 8px 8px 0;
  }
  .sp-topbar {
    grid-row: 1;
    padding: 8px 16px;
    border-radius: 8px;
    background: #000;
  }
  .sp-topbar-center { display: flex; }
  .sp-body {
    grid-row: 2;
    grid-template-columns: 350px 1fr;
    gap: 8px;
    min-height: 0;
  }
  .sp-sidebar {
    display: block;
    min-height: 0;
  }
  .sp-main { min-height: 0; }
  .sp-player {
    grid-row: 3;
    grid-column: 1 / -1;
    margin: 0;
    border-radius: 0;
    background: #000;
    min-height: 90px;
    padding: 0 16px;
  }
  .sp-tabs { display: none; }
  .mobile-search { display: none; }
  .sp-main-inner { padding: 16px 24px 32px; }
  .radio-row, .artist-row { margin-inline: 0; padding-inline: 0; }
  .sp-head { margin: -16px -24px 22px; padding: 28px 24px 24px; }
}

@media (min-width: 760px) and (max-width: 979px) {
  .sp-main { background: #121212; }
  .sp-top {
    background: linear-gradient(#1a1a1a, #121212);
    padding: 12px 0 18px;
  }
  .sp-top h2, .page-h { font-size: 28px; }
  .albums { grid-template-columns: repeat(4, 1fr); }
  .home-albums {
    display: grid;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .home-albums .album {
    flex: none;
    background: #181818;
    padding: 12px;
  }
  .lib-albums {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .lib-albums .album {
    display: block;
    background: #181818;
    padding: 12px;
    border-radius: 8px;
  }
  .lib-albums .album-art {
    width: auto; height: auto; aspect-ratio: 1; margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.45);
  }
  .chips { grid-template-columns: repeat(4, 1fr); }
  .chip img, .chip-art { width: 56px; height: 56px; }
  .sp-head-art { width: 192px; height: 192px; }
  .h2 { font-size: 48px; }
  .spot-search {
    background: #242424;
    border-radius: 500px;
    padding: 8px 8px 8px 16px;
    color: #fff;
  }
  .spot-search:focus-within { box-shadow: inset 0 0 0 2px #fff; }
  .spot-search input { color: #fff; font-size: 14px; font-weight: 400; }
  .spot-search input::placeholder { color: #6a6a6a; }
  .spot-search .ico { color: #b3b3b3; width: 24px; height: 24px; }
  .spot-search-btn {
    display: grid; place-items: center;
    width: 36px; height: 36px; border: 0; background: transparent; color: #b3b3b3;
    border-radius: 50%; cursor: pointer;
  }
  .spot-list-head {
    display: grid; grid-template-columns: 28px 1fr;
    gap: 12px; color: #b3b3b3; font-size: 12px;
    padding: 8px 12px; border-bottom: 1px solid #2a2a2a; margin-bottom: 6px;
  }
  .spot-row {
    grid-template-columns: 28px 40px 1fr;
    padding: 8px 12px;
  }
  .spot-row:hover { background: #1a1a1a; }
  .spot-row .n { display: block; color: #b3b3b3; font-size: 14px; text-align: center; }
  .spot-row img { width: 40px; height: 40px; }
  .sp-player {
    grid-template-columns: 1.1fr 1.8fr .9fr;
    margin: 0; border-radius: 0; background: #000; min-height: 80px; padding: 0 16px;
  }
  .sp-player .spot-controls > .spot-ico,
  .sp-player #btn-like { display: grid; }
  .spot-cover { width: 56px; height: 56px; }
  .spot-progress, .sp-vol { display: grid; }
  .sp-player .spot-progress {
    position: static;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 8px;
    pointer-events: auto;
  }
  .sp-player .spot-progress span { display: block; }
  .sp-player .spot-progress input[type="range"] { height: 4px; }
  .sp-player .spot-progress input[type="range"]::-webkit-slider-thumb {
    width: 12px; height: 12px; opacity: 1;
  }
  .sp-vol { display: flex; justify-content: flex-end; }
  .sp-player .spot-play {
    width: 32px; height: 32px;
    background: #fff; color: #000;
  }
  .sp-player .spot-play .ico { width: 14px; height: 14px; }
  .queue-box {
    inset: auto 12px 96px auto;
    right: 12px; left: auto; bottom: 96px;
    width: min(360px, calc(100% - 24px));
    max-height: 50vh;
    border-radius: 8px;
  }
}


.sp-app.is-locked { display: none; }

@media (min-width: 980px) {
  /* desktop grid handled above */
}


.ico-heart {
  fill: none !important;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.spot-ico.is-on .ico-heart {
  fill: #e91429 !important;
  stroke: #e91429;
}
.ico-heart-fill {
  fill: #fff !important;
  stroke: none;
}

.auth-screen {
  position: fixed; inset: 0; z-index: 80;
  display: none;
  background: #000;
  overflow: auto;
}
.auth-screen.is-on { display: block; }
.auth-wrap {
  min-height: 100%;
  background: #121212;
  max-width: 734px;
  margin: 0 auto;
  padding: 32px 0 64px;
}
.auth-inner {
  width: min(324px, calc(100% - 40px));
  margin: 0 auto;
  direction: ltr;
  text-align: left;
  font-family: Figtree, "Segoe UI", sans-serif;
}
.auth-logo { display: flex; justify-content: center; margin-bottom: 8px; }
.auth-logo img { width: 40px; height: 40px; border-radius: 50%; }
.auth-panel { display: none; }
.auth-panel.is-on { display: block; }
.auth-panel h1 {
  margin: 24px 0 32px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-align: center;
  color: #fff;
}
.auth-form { display: grid; gap: 12px; }
.auth-form label {
  display: grid; gap: 8px;
  font-size: 14px; font-weight: 700; color: #fff;
}
.auth-form label > span { display: block; }
.auth-form input {
  width: 100%;
  background: #121212;
  border: 1px solid #727272;
  color: #fff;
  border-radius: 4px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  pointer-events: auto;
}
.auth-form input:hover { border-color: #fff; }
.auth-form input:focus { border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.auth-submit {
  width: 100%;
  border: 0;
  background: #e91429;
  color: #fff;
  border-radius: 500px;
  padding: 14px;
  margin-top: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.auth-submit:hover { transform: scale(1.03); background: #ff2a40; }
.auth-err { color: #f15e6c; font-size: 13px; font-weight: 700; margin: 12px 0 0; text-align: center; }
.auth-foot {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid #292929;
  text-align: center;
  color: #b3b3b3;
  font-size: 15px;
}
.auth-foot button {
  border: 0; background: none; color: #fff;
  font: inherit; font-weight: 700; text-decoration: underline;
  cursor: pointer;
}
