/* ============================================================================
   AIRDROP · Spotify-inspired discovery theme  (scope: .sp)
   ----------------------------------------------------------------------------
   כל הטוקנים חיים על .sp כדי שהעיצוב מבודד לעמוד הזה בלבד.
   להרחבה עתידית לכל האתר: הוסיפו class="sp" ל-<body> ואמצו את מחלקות ה-sp-*.
   נשען על Google Sans + Heebo (עברית). Near-black, ירוק ספוטיפיי פונקציונלי בלבד.
   ============================================================================ */

.sp {
  /* ── Surfaces ── */
  --sp-black: #000000;
  --sp-bg: #121212;
  --sp-elev-1: #181818;
  --sp-elev-2: #1f1f1f;
  --sp-card: #181818;
  --sp-card-2: #242424;
  --sp-hover: #1a1a1a;
  --sp-row-hover: #2a2a2a;

  /* ── Brand (AIRDROP gradient — replaces Spotify green) ── */
  --sp-accent: #BE43D5;
  --sp-accent-2: #854AF8;
  --sp-grad: linear-gradient(135deg, #BE43D5 0%, #854AF8 100%);
  --sp-grad-soft: linear-gradient(135deg, rgba(190,67,213,.16) 0%, rgba(133,74,248,.16) 100%);

  /* ── Text ── */
  --sp-text: #ffffff;
  --sp-text-2: #b3b3b3;
  --sp-text-3: #7c7c7c;
  --sp-text-hi: #fdfdfd;

  /* ── Lines / semantic ── */
  --sp-border: #4d4d4d;
  --sp-border-2: #7c7c7c;
  --sp-neg: #f3727f;
  --sp-warn: #ffa42b;
  --sp-info: #539df5;

  /* ── Elevation ── */
  --sp-shadow-card: rgba(0, 0, 0, .30) 0 8px 8px;
  --sp-shadow-dialog: rgba(0, 0, 0, .50) 0 8px 24px;

  /* ── Geometry ── */
  --sp-r-img: 6px;
  --sp-r-card: 8px;
  --sp-r-panel: 8px;
  --sp-pill: 9999px;

  /* ── Type ── */
  --sp-font: "Google Sans", "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  color-scheme: dark;
  font-family: var(--sp-font);
  background: var(--sp-black);
  color: var(--sp-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: clip;
}

/* scoped reset */
.sp *, .sp *::before, .sp *::after { box-sizing: border-box; }
.sp h1, .sp h2, .sp h3, .sp h4, .sp p, .sp ul, .sp li, .sp figure { margin: 0; padding: 0; }
.sp ul { list-style: none; }
.sp a { color: inherit; text-decoration: none; }
.sp button { font-family: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.sp img { display: block; max-width: 100%; }
.sp :focus-visible { outline: 2px solid var(--sp-text); outline-offset: 2px; }

/* thin dark scrollbars */
.sp ::-webkit-scrollbar { width: 12px; height: 12px; }
.sp ::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 6px; border: 3px solid transparent; background-clip: content-box; }
.sp ::-webkit-scrollbar-thumb:hover { background: #3f3f3f; background-clip: content-box; }
.sp ::-webkit-scrollbar-track { background: transparent; }

/* ==========================================================================
   APP SHELL  — desktop: sidebar + main   mobile: stacked app
   (the bottom player is the real music streamer-bar, shown only while playing)
   ========================================================================== */
.sp-app {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: 1fr;
  gap: 8px;
  padding: 8px;
  height: 100vh;
  height: 100dvh;
  background: var(--sp-black);
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.sp-sidebar {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.sp-side-top {
  background: var(--sp-bg);
  border-radius: var(--sp-r-panel);
  padding: 8px 12px;
}
.sp-brand {
  display: flex;
  align-items: center;
  direction: rtl;
  justify-content: flex-start;
  padding: 10px 8px 14px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2px;
}
.sp-brand__logo {
  width: 150px; height: 28px;
  overflow: visible;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.sp-brand__logo img { width: 100%; height: 100%; object-fit: contain; filter: invert(100%); }
.sp-brand b { background: var(--sp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.sp-side-nav { display: flex; flex-direction: column; gap: 2px; }
.sp-side-nav a {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 8px;
  font-size: 15px; font-weight: 700;
  color: var(--sp-text-2);
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.sp-side-nav a svg { width: 22px; height: 22px; flex: 0 0 auto; }
.sp-side-nav a:hover { color: var(--sp-text); }
.sp-side-nav a.is-active { color: var(--sp-text); }

.sp-side-lib {
  background: var(--sp-bg);
  border-radius: var(--sp-r-panel);
  flex: 1 1 auto;
  min-height: 0;
  display: flex; flex-direction: column;
  padding: 8px 4px 8px 8px;
}
.sp-side-lib__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 8px 12px;
  color: var(--sp-text-2);
  font-size: 15px; font-weight: 700;
}
.sp-side-lib__head button { color: var(--sp-text-2); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.sp-side-lib__head button:hover { color: var(--sp-text); background: var(--sp-elev-2); }
.sp-side-lib__scroll { overflow-y: auto; padding: 0 4px; display: flex; flex-direction: column; gap: 2px; }
.sp-libitem {
  display: flex; align-items: center; gap: 12px;
  padding: 8px; border-radius: 6px;
  transition: background .15s ease;
}
.sp-libitem:hover { background: #1a1a1a; }
.sp-libitem__art {
  width: 48px; height: 48px; border-radius: var(--sp-r-img);
  background: #333 center/cover no-repeat;
  flex: 0 0 auto; overflow: hidden;
  display: grid; place-items: center;
}
.sp-libitem__art--round { border-radius: 50%; }
.sp-libitem__art img { width: 100%; height: 100%; object-fit: cover; }
.sp-libitem__art--genre {
  background: #333;
  color: var(--sp-text-2);
  box-shadow: none;
}
.sp-libitem__art--genre svg { width: 25px; height: 25px; color: currentColor; }
.sp-libitem__art svg { width: 22px; height: 22px; color: var(--sp-text-2); }
.sp-libitem__t { min-width: 0; }
.sp-libitem__t b { display: block; font-size: 15px; font-weight: 500; color: var(--sp-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-libitem__t span { font-size: 13px; color: var(--sp-text-2); }

/* ── Main scroll panel ───────────────────────────────────────────────────── */
.sp-main {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: var(--sp-r-panel);
  background: linear-gradient(180deg, #1c1c1c 0, var(--sp-bg) 260px);
  min-height: 0;
  scroll-behavior: smooth;
  min-width: 0;
}

/* ── Top bar (sticky) ────────────────────────────────────────────────────── */
.sp-topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 24px;
  transition: background .25s ease;
}
.sp-topbar.is-stuck { background: #0e0e0e; box-shadow: rgba(0,0,0,.4) 0 4px 12px; }
.sp-topbar__nav { display: flex; gap: 8px; }
.sp-circ {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: var(--sp-text);
  display: grid; place-items: center;
  transition: transform .12s ease, background .15s ease;
}
.sp-circ:hover { background: rgba(0,0,0,.7); }
.sp-circ:active { transform: scale(.92); }
.sp-circ svg { width: 18px; height: 18px; }
.sp-circ[disabled] { color: var(--sp-text-3); cursor: default; }

/* search field acts as a trigger that opens the shared search overlay */
.sp-search {
  display: flex; align-items: center; gap: 10px;
  width: min(420px, 42vw);
  background: var(--sp-elev-2);
  border-radius: var(--sp-pill);
  padding: 11px 18px;
  color: var(--sp-text-2);
  text-align: start;
  box-shadow: rgba(255,255,255,.08) 0 0 0 1px inset;
  transition: box-shadow .15s ease, background .15s ease;
}
.sp-search:hover { background: #262626; box-shadow: rgba(255,255,255,.16) 0 0 0 1px inset; }
.sp-search svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--sp-text-2); }
.sp-search__ph {
  flex: 1 1 auto; min-width: 0;
  font-size: 14px; color: var(--sp-text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* sidebar nav renders both <a> and <button> identically */
.sp-side-nav button {
  width: 100%; text-align: start;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 8px;
  font-size: 15px; font-weight: 700;
  color: var(--sp-text-2);
  border-radius: 6px;
  transition: color .15s ease;
}
.sp-side-nav button svg { width: 22px; height: 22px; flex: 0 0 auto; }
.sp-side-nav button:hover { color: var(--sp-text); }

.sp-topbar__spacer { flex: 1 1 auto; }
.sp-topbar__actions { display: flex; align-items: center; gap: 12px; }
.sp-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #535353 center/cover no-repeat;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: #fff;
}
.sp-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.sp-avatar svg { width: 20px; height: 20px; color: var(--sp-text-2); }

/* ==========================================================================
   HERO SPOTLIGHT
   ========================================================================== */
.sp-content { padding: 0 24px 40px; }

.sp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 232px) 1fr;
  gap: 24px;
  align-items: end;
  padding: 24px 4px 28px;
}
.sp-hero__art {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--sp-r-card);
  overflow: hidden;
  box-shadow: rgba(0,0,0,.5) 0 8px 28px;
  background: #2a2a2a center/cover no-repeat;
}
.sp-hero__body { padding-bottom: 6px; }
.sp-hero__kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .4px;
  color: var(--sp-text); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.sp-hero__title {
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 12px 0 16px;
}
.sp-hero__meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 14px; color: var(--sp-text);
}
.sp-hero__meta .dot { color: var(--sp-text-2); }
.sp-hero__meta b { font-weight: 700; }
.sp-hero__meta .muted { color: var(--sp-text-2); }
.sp-hero__actions { display: flex; align-items: center; gap: 20px; margin-top: 22px; }

/* Circular gradient play — the singular functional accent */
.sp-play {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sp-grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: rgba(133,74,248,.35) 0 8px 20px;
  transition: transform .12s ease, filter .15s ease;
}
.sp-play svg { width: 26px; height: 26px; margin-inline-start: 2px; }
.sp-play:hover { filter: brightness(1.12); transform: scale(1.05); }
.sp-play:active { transform: scale(.98); }
.sp-play--sm { width: 44px; height: 44px; }
.sp-play--sm svg { width: 20px; height: 20px; }

.sp-iconbtn {
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--sp-text-2);
  display: grid; place-items: center;
  transition: color .15s ease, transform .12s ease;
}
.sp-iconbtn svg { width: 26px; height: 26px; }
.sp-iconbtn:hover { color: var(--sp-text); transform: scale(1.06); }
.sp-iconbtn.is-on { color: var(--sp-accent); }

/* ==========================================================================
   FILTER CHIPS
   ========================================================================== */
.sp-quicknav {
  display: flex; align-items: center; justify-content: flex-start; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  padding: 14px 4px 6px;
}
.sp-quicknav::-webkit-scrollbar { display: none; }
.sp-quicknav a {
  flex: 0 0 auto; padding: 8px 13px; border-radius: var(--sp-pill);
  background: rgba(255,255,255,.075);
  border: 0;
  box-shadow: none;
  color: var(--sp-text); font-size: 13px; font-weight: 700;
  transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease;
}
.sp-quicknav a:hover {
  color: var(--sp-text); background: rgba(255,255,255,.13);
  transform: translateY(-1px);
}
.sp-quicknav a:active { transform: translateY(0); background: rgba(255,255,255,.1); }
/* Preview uses the quick navigation as a visible app menu, rather than
   waiting for hover to reveal the clickable surfaces. */
.sp--preview .sp-quicknav a { background: var(--sp-elev-2); color: var(--sp-text); }
.sp--preview .sp-quicknav a:hover { background: #2a2a2a; }
.sp-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 8px 4px 4px;
}
.sp-chip {
  padding: 8px 16px;
  border-radius: var(--sp-pill);
  background: var(--sp-elev-2);
  color: var(--sp-text);
  font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}
.sp-chip:hover { background: #2a2a2a; }
.sp-chip.is-active { background: var(--sp-grad); color: #fff; font-weight: 700; }
.sp-chip:active { transform: scale(.97); }

/* ==========================================================================
   SHELF (section) + horizontal RAIL of cards
   ========================================================================== */
.sp-shelf { padding: 18px 4px 6px; }
.sp-shelf__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 6px; padding: 0 4px;
}
.sp-shelf__title { font-size: 24px; font-weight: 700; letter-spacing: -.4px; }
.sp-shelf__title:hover { text-decoration: none; }
.sp-shelf__more {
  font-size: 13px; font-weight: 700; letter-spacing: .4px;
  color: var(--sp-text-2); text-transform: uppercase;
}
.sp-shelf__more:hover { color: var(--sp-text); text-decoration: none; }

/* Date finder — same data/interaction model as the home calendar, restyled
   as a compact shelf for Discover. */
.sp-calendar { padding-top: 28px; }
.sp-calendar__sub { margin-top: 4px; color: var(--sp-text-2); font-size: 13px; }
.sp-calx { padding: 10px 0 0; background: transparent; border: 0; }
.sp-calx .calx__monthbar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.sp-calx .calx__monthnav { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: transparent; color: var(--sp-text); transition: color .15s ease, transform .15s ease; }
.sp-calx .calx__monthnav:hover { color: var(--sp-accent); transform: scale(1.05); }
.sp-calx .calx__monthnav[disabled] { opacity: .3; pointer-events: none; }
.sp-calx .calx__monthnav svg { width: 19px; height: 19px; }
.sp-calx .calx__monthlabel { min-width: 150px; text-align: center; font-size: 17px; font-weight: 700; color: var(--sp-text); }
.sp-calx .calx__railwrap { position: relative; }
.sp-calx .calx__rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 12px; scrollbar-width: none; }
.sp-calx .calx__rail::-webkit-scrollbar { display: none; }
.sp-calx .calx__day { flex: 0 0 auto; width: 56px; min-height: 68px; padding: 6px 2px; border: 0; border-radius: 8px; background: rgba(255,255,255,.035); color: var(--sp-text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; scroll-snap-align: center; transition: background .15s ease, color .15s ease; }
.sp-calx .calx__day.has-events { background: rgba(255,255,255,.065); border: 0; cursor: pointer; }
.sp-calx .calx__day.has-events:hover { background: rgba(255,255,255,.11); }
.sp-calx .calx__day.is-empty { opacity: .38; }
.sp-calx .calx__day.is-past { opacity: .28; filter: grayscale(1); }
.sp-calx .calx__day.is-selected { width: 56px; border: 0; background: rgba(150,121,190,.18); box-shadow: none; color: #9679BE; }
.sp-calx .calx__day-dow { font-size: 11px; color: var(--sp-text-2); }
.sp-calx .calx__day-num { font-size: 22px; font-weight: 700; line-height: 1; }
.sp-calx .calx__day-mon { font-size: 10px; color: var(--sp-text-2); }
.sp-calx .calx__day-dot { height: 5px; margin-top: 2px; }
.sp-calx .calx__day-dot i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--sp-text-2); }
.sp-calx .calx__day.is-selected .calx__day-dow, .sp-calx .calx__day.is-selected .calx__day-num, .sp-calx .calx__day.is-selected .calx__day-mon { color: #9679BE; }
.sp-calx .calx__day.is-selected .calx__day-dot i { width: 18px; border-radius: var(--sp-pill); background: #9679BE; }
.sp-calx .calx__results { margin-top: 16px; min-height: 48px; }
.sp-calx[data-calx-manual]:not(.is-date-selected) .calx__results { display: none; }
.sp-calx .calx__resultshead { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.sp-calx .calx__resultstitle { font-size: 16px; font-weight: 700; }
.sp-calx .calx__resultscount { font-size: 12px; color: var(--sp-text-2); }
.sp-calx .calx__empty { padding: 20px; text-align: center; color: var(--sp-text-2); font-size: 14px; }
.sp-calx .calx__empty span { display: block; font-size: 22px; margin-bottom: 5px; }
.sp-calx .calx__resultstrack { grid-auto-columns: 180px; }
.sp-calx .wcard { background: rgba(255,255,255,.035) !important; border: 0 !important; border-radius: 10px; box-shadow: none !important; padding: 10px; transition: background .18s ease, transform .18s ease; }
.sp-calx .wcard:hover { background: rgba(255,255,255,.075) !important; transform: translateY(-3px); }
.sp-calx .wcard__media { border-radius: 7px; }
.sp-calx .wcard__body { padding: 12px 2px 2px; }
.sp-calx .wcard__day, .sp-calx .wcard__genre { border: 0; background: transparent; padding-inline: 0; }

.sp-railwrap { position: relative; }
.sp-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 224px;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 8px 4px 14px;
  scrollbar-width: none;
}
.sp-rail::-webkit-scrollbar { display: none; }
.sp-rail--artist { grid-auto-columns: 160px; }

/* rail nav arrows (desktop hover) */
.sp-rail__nav {
  position: absolute; top: 44%; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: #000; color: #fff;
  display: grid; place-items: center;
  box-shadow: rgba(0,0,0,.5) 0 8px 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .12s ease;
}
.sp-railwrap:hover .sp-rail__nav { opacity: .92; pointer-events: auto; }
.sp-rail__nav:hover { transform: scale(1.06); background: #111; }
.sp-rail__nav--prev { inset-inline-end: -6px; }
.sp-rail__nav--next { inset-inline-start: -6px; }
.sp-rail__nav svg { width: 20px; height: 20px; }
.sp-rail__nav.is-edge { display: none; }

/* Event card */
.sp-card {
  scroll-snap-align: start;
  background: var(--sp-card);
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  position: relative;
}
.sp-card:hover { background: var(--sp-card-2); transform: translateY(-3px); }
.sp-card__art {
  position: relative;
  aspect-ratio: 1.18;
  border-radius: 0;
  overflow: hidden;
  background: #2a2a2a center/cover no-repeat;
  box-shadow: inset 0 -38px 34px rgba(0,0,0,.18);
}
.sp-card__badge {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: rgba(13,13,16,.82); backdrop-filter: blur(8px);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: var(--sp-pill); border: 1px solid rgba(255,255,255,.12);
}
.sp-card__play {
  position: absolute; bottom: 10px; inset-inline-start: 10px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sp-grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: rgba(133,74,248,.35) 0 8px 16px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, filter .15s ease;
}
.sp-card__play svg { width: 20px; height: 20px; margin-inline-start: 2px; }
.sp-card:hover .sp-card__play { opacity: 1; transform: translateY(0); }
.sp-card__play:hover { filter: brightness(1.12); transform: scale(1.05); }
.sp-card__body { padding: 12px 13px 13px; min-height: 131px; display: flex; flex-direction: column; }
.sp-card__date { display: flex; align-items: center; gap: 5px; color: var(--sp-text-2); font-size: 12px; font-weight: 700; line-height: 1.2; }
.sp-card__date svg, .sp-card__place svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-card__title {
  font-size: 16px; font-weight: 750; line-height: 1.3; letter-spacing: -.15px;
  margin-top: 7px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sp-card__place { display: flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--sp-text-2); font-size: 12px; line-height: 1.3; min-width: 0; }
.sp-card__place span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 10px; }
.sp-card__tags { display: flex; gap: 5px; min-width: 0; overflow: hidden; }
.sp-card__tags span { flex: 0 0 auto; max-width: 82px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 7px; border-radius: var(--sp-pill); background: rgba(190,67,213,.14); color: #e6c8ee; font-size: 10px; font-weight: 700; }
.sp-card__price { flex: 0 0 auto; color: #d7d7d7; font-size: 11px; font-weight: 700; }

/* Artist circle card */
.sp-artist {
  scroll-snap-align: start;
  background: var(--sp-card);
  border-radius: var(--sp-r-card);
  padding: 12px;
  text-align: center;
  transition: background .2s ease;
  position: relative;
}
.sp-artist:hover { background: var(--sp-card-2); }
.sp-artist__img {
  aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; margin-bottom: 12px;
  background: #2a2a2a center/cover no-repeat;
  box-shadow: rgba(0,0,0,.4) 0 4px 12px;
  position: relative;
}
.sp-artist__live {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  background: var(--sp-grad); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .3px;
  padding: 2px 8px; border-radius: var(--sp-pill);
}
.sp-artist__name {
  font-size: 15px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-artist__role { font-size: 13px; color: var(--sp-text-2); margin-top: 2px; }

/* ==========================================================================
   NUMBERED LIST  (Top / Trending — mirrors "Most Played All Time")
   ========================================================================== */
.sp-list { padding: 6px 4px 4px; display: flex; flex-direction: column; }
.sp-row {
  display: grid;
  grid-template-columns: 28px 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  transition: background .15s ease;
}
.sp-row:hover { background: var(--sp-row-hover); }
.sp-row__rank {
  text-align: center; font-size: 16px; font-weight: 500;
  color: var(--sp-text-2); font-variant-numeric: tabular-nums;
}
.sp-row:hover .sp-row__rank .n { display: none; }
.sp-row__rank .play { display: none; color: var(--sp-text); }
.sp-row:hover .sp-row__rank .play { display: inline-flex; }
.sp-row.is-playing .sp-row__rank .n { display: none; }
.sp-row.is-playing .sp-row__rank .eq { display: inline-flex; }
.sp-row__rank .eq { display: none; }
.sp-row__art {
  width: 48px; height: 48px; border-radius: 4px; overflow: hidden;
  background: #2a2a2a center/cover no-repeat;
}
.sp-row__info { min-width: 0; overflow: hidden; }
.sp-row__title {
  display: block;
  font-size: 15px; font-weight: 500; color: var(--sp-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-row.is-playing .sp-row__title { color: var(--sp-accent); }
.sp-row__sub {
  display: block;
  font-size: 13px; color: var(--sp-text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-row__meta { display: flex; align-items: center; gap: 16px; color: var(--sp-text-2); font-size: 13px; }
.sp-row__like { color: var(--sp-text-2); opacity: 0; transition: opacity .15s ease, color .15s ease; }
.sp-row:hover .sp-row__like { opacity: 1; }
.sp-row__like:hover { color: var(--sp-text); }
.sp-row__like.is-on { color: var(--sp-accent); opacity: 1; }
.sp-row__like svg { width: 18px; height: 18px; }

/* equalizer bars */
.sp-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.sp-eq i { width: 3px; background: var(--sp-accent); border-radius: 1px; animation: sp-eq 1s ease-in-out infinite; }
.sp-eq i:nth-child(1){ height: 40%; animation-delay: -.8s; }
.sp-eq i:nth-child(2){ height: 100%; animation-delay: -.4s; }
.sp-eq i:nth-child(3){ height: 60%; animation-delay: -.6s; }
.sp-eq i:nth-child(4){ height: 80%; animation-delay: -.2s; }
@keyframes sp-eq { 0%,100%{ transform: scaleY(.35); } 50%{ transform: scaleY(1); } }

/* ==========================================================================
   NETFLIX-STYLE HERO  (cinematic rotating featured events)
   ========================================================================== */
.sp-nhero {
  position: relative;
  margin: 10px 0 16px;             /* clear separation from the sticky top bar */
  height: clamp(320px, 44vh, 440px);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: rgba(0,0,0,.4) 0 12px 34px;
  max-width: 100%;
  touch-action: pan-y;
}
.sp-nhero__slide {
  position: absolute; inset: 0;
  background: #101010 center/cover no-repeat;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease;
  will-change: opacity;
}
.sp-nhero__slide.is-active { opacity: 1; visibility: visible; }
.sp-nhero__slide.has-image { background-image: var(--nhero-image); }
/* A managed corner does not require artwork: it still gets a polished backdrop. */
.sp-nhero__slide--corner { background-image: radial-gradient(circle at 80% 20%, rgba(216,84,255,.72), transparent 34%), linear-gradient(135deg, #251139, #0d0b19 72%); }
.sp-nhero__slide--corner-2 { background-image: radial-gradient(circle at 18% 22%, rgba(48,204,222,.65), transparent 32%), linear-gradient(135deg, #0c3040, #0b0c1d 72%); }
.sp-nhero__slide--corner-3 { background-image: radial-gradient(circle at 84% 16%, rgba(255,176,68,.62), transparent 31%), linear-gradient(135deg, #412112, #130c16 72%); }
.sp-nhero__slide--corner-4 { background-image: radial-gradient(circle at 25% 18%, rgba(255,68,154,.60), transparent 31%), linear-gradient(135deg, #35102d, #100b1c 72%); }
/* strong legibility scrims — bottom + trailing (RTL: right) side + overall floor.
   heavier than before so the overlaid text never blends into the artwork. */
.sp-nhero__slide::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(7,7,9,.94) 0%, rgba(7,7,9,.82) 30%, rgba(7,7,9,.58) 52%, rgba(7,7,9,.18) 70%, rgba(7,7,9,0) 88%),
    linear-gradient(285deg, rgba(7,7,9,.72) 0%, rgba(7,7,9,.28) 48%, rgba(7,7,9,0) 76%);
  z-index: 1;
}
/* Desktop: one tight block hugging the inline start (right, in RTL). */
.sp-nhero__body {
  position: absolute; inset-inline-start: 84px; inset-inline-end: 84px; bottom: 40px;
  max-width: 640px; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: start;
  min-width: 0;
}
.sp-nhero__pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.sp-nhero__badge {
  background: var(--sp-grad); color: #fff;
  padding: 4px 12px; border-radius: var(--sp-pill); font-size: 12px; font-weight: 700;
}
.sp-nhero__pill {
  background: rgba(255,255,255,.14); color: #fff;
  padding: 4px 12px; border-radius: var(--sp-pill); font-size: 12px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.sp-nhero__title {
  font-size: clamp(26px, 3.2vw, 44px); line-height: 1.07; font-weight: 700;
  letter-spacing: -.8px;
  text-shadow: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  max-width: 100%; overflow-wrap: anywhere;
}
.sp-nhero__desc {
  font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.82);
  max-width: 560px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: none;
}
/* The `.sp h2, .sp p { margin: 0 }` reset above outranks a single class, so the
   hero's vertical rhythm has to be declared at matching specificity or it is
   silently dropped and the copy collapses into one block. */
.sp .sp-nhero__title { margin-bottom: 12px; }
.sp .sp-nhero__desc { margin-bottom: 24px; }
.sp-nhero__meta {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.84); margin-bottom: 20px;
}
.sp-nhero__meta-tag {
  display: inline-flex; align-items: center;
  min-height: auto; padding: 4px 12px;
  border: 0; border-radius: var(--sp-pill);
  background: rgba(255,255,255,.14); color: #fff;
  backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600;
}
.sp-nhero__actions { display: flex; align-items: center; gap: 14px; }
.sp-nhero__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 28px; border-radius: var(--sp-pill);
  font-size: 16px; font-weight: 700;
  background: var(--sp-grad); color: #fff; box-shadow: none;
  transition: transform .12s ease, filter .15s ease;
}
.sp-nhero__btn svg { width: 22px; height: 22px; }
.sp-nhero__btn:hover { filter: brightness(1.1); transform: scale(1.03); }
/* slide dots + arrows */
.sp-nhero__dots {
  position: absolute; bottom: 18px; inset-inline-end: 28px; display: flex; gap: 8px; z-index: 4;
  padding: 8px 11px; border-radius: var(--sp-pill);
  background: rgba(0,0,0,.35); backdrop-filter: blur(6px);
}
.sp .sp-nhero__dot:not(.is-active) {
  width: 17px; height: 6px; border-radius: var(--sp-pill);
  background: rgba(255,255,255,.62) !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transition: width .2s ease, background .2s ease;
}
.sp .sp-nhero__dot:not(.is-active):hover { background: rgba(255,255,255,.82) !important; }
.sp .sp-nhero__dot.is-active { width: 28px; border-radius: var(--sp-pill); background: #fff !important; border:0 !important; box-shadow: none !important; opacity: 1 !important; }
.sp-nhero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .2s ease, background .15s ease;
}
.sp-nhero:hover .sp-nhero__arrow { opacity: 1; }
.sp-nhero__arrow:hover { background: rgba(0,0,0,.72); }
.sp-nhero__arrow svg { width: 22px; height: 22px; }
.sp-nhero__arrow--prev { inset-inline-end: 16px; }
.sp-nhero__arrow--next { inset-inline-start: 16px; }

/* ==========================================================================
   ARTIST STORIES (main content) — circular avatars with gradient ring
   ========================================================================== */
.sp-stories-wrap { position: relative; }
.sp-shelf[data-hot-artists] { padding-top: 12px; padding-bottom: 0; }
.sp-stories {
  display: flex; gap: 6px;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 10px 4px 8px;
  scrollbar-width: none;
}
.sp-stories::-webkit-scrollbar { display: none; }
.sp-story {
  flex: 0 0 auto; scroll-snap-align: start;
  width: 96px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.sp-story__ring {
  position: relative; width: 88px; height: 88px; border-radius: 50%;
  padding: 3px; background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
  transition: transform .18s ease;
}
.sp-story:hover .sp-story__ring { transform: translateY(-3px); }
.sp-story__ring--upcoming,
.sp-story__ring--live { background: var(--sp-grad); }
.sp-story__img {
  display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: #2a2a2a center/cover no-repeat;
  border: 3px solid var(--sp-bg);
}
.sp-story__img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.sp-story__live {
  position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  background: var(--sp-grad); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .3px;
  padding: 2px 9px; border-radius: var(--sp-pill);
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.sp-story__count {
  position: absolute; top: -2px; inset-inline-end: -2px;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--sp-elev-2); color: #fff;
  border: 2px solid var(--sp-bg); border-radius: var(--sp-pill);
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.sp-story__name {
  font-size: 13px; font-weight: 600; color: var(--sp-text);
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-story--more .sp-story__img {
  display: grid; place-items: center; background: var(--sp-elev-2);
}
.sp-story--more .sp-story__img svg { width: 30px; height: 30px; color: var(--sp-text-2); }

/* ==========================================================================
   SWIPE DISCOVERY — a focused, Tinder-like way to discover upcoming events
   ========================================================================== */
.sp-swipe { position: relative; isolation: isolate; overflow: hidden; margin: 30px 4px 22px; padding: 22px; border-radius: 18px; background: linear-gradient(125deg, rgba(190,67,213,.16), rgba(133,74,248,.1) 48%, rgba(255,255,255,.04)); transition: transform .2s ease, background .2s ease; }
.sp-swipe::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; background: radial-gradient(circle at 12% 50%, rgba(190,67,213,.16), transparent 33%); transition: opacity .25s ease; }
.sp-swipe > * { position: relative; z-index: 1; }
.sp-swipe:hover { transform: translateY(-2px); background: linear-gradient(125deg, rgba(190,67,213,.2), rgba(133,74,248,.13) 48%, rgba(255,255,255,.055)); }
.sp-swipe:hover::before, .sp-swipe:focus-within::before { opacity: 1; }
.sp-swipe__intro { min-height: 142px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; }
.sp-swipe__eyebrow { grid-column: 1 / -1; display: flex; gap: 7px; align-items: center; color: #e5c8f0; font-size: 12px; font-weight: 700; }
.sp-swipe__eyebrow span { color: #cf65e6; font-size: 16px; }
.sp-swipe h2 { font-size: 27px; line-height: 1.1; letter-spacing: -.5px; }
.sp-swipe__intro p { margin-top: 7px; color: var(--sp-text-2); font-size: 14px; line-height: 1.5; max-width: 510px; }
.sp-swipe__start { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--sp-pill); background: var(--sp-grad); color: #fff; font-weight: 700; font-size: 14px; transition: transform .15s ease, filter .15s ease; }
.sp-swipe__start:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(190,67,213,.24); }.sp-swipe__start svg { width: 18px; height: 18px; }
.sp-swipe__game { max-width: 470px; margin: 0 auto; }
.sp-swipe__top { display: flex; justify-content: space-between; color: var(--sp-text-2); font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.sp-swipe__deck { position: relative; height: 470px; perspective: 1000px; }
.sp-swipe__card { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: #171717 center/cover no-repeat; box-shadow: 0 14px 32px rgba(0,0,0,.32); cursor: grab; touch-action: pan-y; user-select: none; transition: transform .24s ease, opacity .24s ease; }
.sp-swipe__card:active { cursor: grabbing; }.sp-swipe__card.is-leaving { pointer-events: none; opacity: 0; }.sp-swipe__card.is-leaving.is-like { transform: translateX(130%) rotate(12deg) !important; }.sp-swipe__card.is-leaving.is-skip { transform: translateX(-130%) rotate(-12deg) !important; }
.sp-swipe__card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,6,8,.98) 0%, rgba(6,6,8,.72) 37%, rgba(6,6,8,.05) 76%); }
.sp-swipe__content { position: absolute; z-index: 2; right: 22px; left: 22px; bottom: 20px; }.sp-swipe__pills { display: flex; flex-wrap: wrap; gap: 6px; }.sp-swipe__pills span, .sp-swipe__facts span { padding: 4px 9px; border-radius: var(--sp-pill); background: rgba(0,0,0,.48); backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 700; }
.sp-swipe h3 { margin-top: 10px; font-size: 29px; line-height: 1.08; letter-spacing: -.55px; }.sp-swipe__place { margin-top: 7px; color: rgba(255,255,255,.82); font-size: 14px; }.sp-swipe__facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sp-swipe__details { margin-top: 12px; padding: 11px 12px; border-radius: 10px; background: rgba(0,0,0,.48); backdrop-filter: blur(8px); }.sp-swipe__details p { color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.45; }.sp-swipe__details a { display: inline-block; margin-top: 8px; color: #e2bdf0; font-size: 13px; font-weight: 700; }
.sp-swipe__details-btn { display: inline-flex; align-items: center; gap: 5px; margin-top: 11px; color: #fff; font-size: 13px; font-weight: 700; }.sp-swipe__details-btn svg { width: 16px; height: 16px; }
.sp-swipe__hint { position: absolute; top: 26px; z-index: 3; padding: 7px 12px; border: 2px solid; border-radius: 8px; font-size: 17px; font-weight: 800; opacity: 0; transition: opacity .1s ease; }.sp-swipe__hint--skip { left: 22px; color: #ff8e99; border-color: #ff8e99; transform: rotate(-12deg); }.sp-swipe__hint--like { right: 22px; color: #75efaa; border-color: #75efaa; transform: rotate(12deg); }.sp-swipe__card.is-drag-like .sp-swipe__hint--like, .sp-swipe__card.is-drag-skip .sp-swipe__hint--skip { opacity: 1; }
.sp-swipe__actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }.sp-swipe__action { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #262626; color: #fff; font-size: 31px; line-height: 1; transition: transform .15s ease, background .15s ease; }.sp-swipe__action:hover { transform: scale(1.08); }.sp-swipe__action--skip { color: #ff9ba5; }.sp-swipe__action--like { background: var(--sp-grad); }.sp-swipe__action--like svg { width: 21px; height: 21px; }
.sp-swipe__gesture { margin-top: 10px; text-align: center; color: var(--sp-text-3); font-size: 11px; }
.sp-swipe__done { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; text-align: center; border-radius: 16px; background: rgba(0,0,0,.2); }.sp-swipe__done b { font-size: 22px; }.sp-swipe__done span { color: var(--sp-text-2); font-size: 14px; }.sp-swipe__done button { margin-top: 6px; padding: 10px 16px; border-radius: var(--sp-pill); background: var(--sp-grad); color: #fff; font-weight: 700; }

/* The deck opens as an immersive dating-app style experience. */
.sp-swipe__game[hidden] { display: none; }
.sp-swipe__card[hidden], .sp-swipe__actions[hidden], .sp-swipe__gesture[hidden] { display: none; }
.sp-swipe__game {
  position: fixed; inset: 0; z-index: 130;
  display: flex; align-items: center; justify-content: center;
  max-width: none; margin: 0; padding: 22px;
  isolation: isolate; overscroll-behavior: contain;
}
.sp-swipe__backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; width: 100%; height: 100%; }
.sp-swipe__backdrop::before { content: ""; position: absolute; inset: -45px; background: #09090b var(--swipe-bg, none) center/cover no-repeat; filter: blur(30px) saturate(1.18); transform: scale(1.08); }
.sp-swipe__backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,7,9,.75), rgba(7,7,9,.92)), radial-gradient(circle at 50% 24%, rgba(190,67,213,.2), transparent 50%); backdrop-filter: blur(5px); }
.sp-swipe__app {
  width: min(520px, 100%); height: min(830px, calc(100dvh - 44px));
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  padding: 16px 16px 13px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(30,30,33,.93), rgba(14,14,16,.98));
  box-shadow: 0 30px 90px rgba(0,0,0,.62), inset 0 0 0 1px rgba(255,255,255,.09);
  backdrop-filter: blur(22px); overflow: hidden;
  animation: sp-swipe-pop .24s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes sp-swipe-pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.sp-swipe__appbar { display: grid; grid-template-columns: 1fr auto 38px; align-items: center; gap: 12px; min-height: 48px; }
.sp-swipe__appbrand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.sp-swipe__appmark { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border-radius: 50%; background: var(--sp-grad); color: #fff; font-size: 17px; font-weight: 900; font-style: italic; }
.sp-swipe__appbrand > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }.sp-swipe__appbrand b { font-size: 13px; letter-spacing: .08em; }.sp-swipe__appbrand small { margin-top: 3px; color: var(--sp-text-3); font-size: 8px; letter-spacing: .12em; }
.sp-swipe__progress { min-width: 82px; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--sp-text-2); font-size: 10px; font-weight: 700; direction: ltr; }
.sp-swipe__progress i { display: block; width: 82px; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.12); }.sp-swipe__progress b { display: block; width: 10%; height: 100%; border-radius: inherit; background: var(--sp-grad); transition: width .25s ease; }
.sp-swipe__close { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .15s ease, transform .15s ease; }.sp-swipe__close:hover { background: rgba(255,255,255,.14); transform: scale(1.04); }.sp-swipe__close svg { width: 19px; height: 19px; }
.sp-swipe__game .sp-swipe__top { display: flex; justify-content: space-between; gap: 12px; margin: 8px 3px 10px; color: var(--sp-text-2); font-size: 10px; font-weight: 600; }
.sp-swipe__game .sp-swipe__deck { min-height: 0; height: auto; }
.sp-swipe__game .sp-swipe__card { border-radius: 22px; box-shadow: 0 16px 38px rgba(0,0,0,.42); }
.sp-swipe__game .sp-swipe__card.is-active { z-index: 2; }.sp-swipe__game .sp-swipe__card.is-next { z-index: 1; opacity: .45; transform: translateY(10px) scale(.965); pointer-events: none; }
.sp-swipe__game .sp-swipe__card.is-leaving { z-index: 3; }
.sp-swipe__game .sp-swipe__card::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.sp-swipe__game .sp-swipe__content { right: 22px; left: 22px; bottom: 18px; }
.sp-swipe__game .sp-swipe__actions { gap: 42px; margin-top: 12px; }
.sp-swipe__game .sp-swipe__action { width: auto; height: auto; display: flex; flex-direction: column; align-items: center; gap: 5px; border-radius: 0; background: none; color: #fff; font-size: inherit; }
.sp-swipe__game .sp-swipe__action > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.09); font-size: 31px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: transform .15s ease, background .15s ease; }
.sp-swipe__game .sp-swipe__action:hover { transform: none; }.sp-swipe__game .sp-swipe__action:hover > span { transform: scale(1.07); background: rgba(255,255,255,.14); }
.sp-swipe__game .sp-swipe__action--skip > span { color: #ff9ba5; }.sp-swipe__game .sp-swipe__action--like { background: none; }.sp-swipe__game .sp-swipe__action--like > span { background: var(--sp-grad); box-shadow: none; }.sp-swipe__game .sp-swipe__action--like:hover > span { background: var(--sp-grad); filter: brightness(1.08); }
.sp-swipe__game .sp-swipe__action small { color: var(--sp-text-2); font-size: 10px; font-weight: 700; }.sp-swipe__game .sp-swipe__gesture { margin-top: 5px; }
.sp-swipe__game .sp-swipe__done { background: linear-gradient(145deg, rgba(190,67,213,.14), rgba(255,255,255,.04)); }
body.sp-swipe-open { overflow: hidden !important; }
body.sp-swipe-open .sp-main { overflow: hidden !important; }

/* Standalone swipe page: no modal/fixed-layer lifecycle, so it remains stable
   while cards are loading or being dragged. */
.swipe-page { min-height: 100dvh; display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at 50% 15%, rgba(190,67,213,.14), transparent 42%), #09090b; }
.swipe-page .swipe-page__game { position: relative; inset: auto; z-index: auto; display: block; width: min(520px, 100%); max-width: none; margin: 0; padding: 0; isolation: auto; }
.swipe-page .sp-swipe__app { width: 100%; height: min(830px, calc(100dvh - 44px)); }

@media (max-width: 900px) {
  .swipe-page { display: block; padding: 0; }
  .swipe-page .swipe-page__game { width: 100%; height: 100dvh; }
  .swipe-page .sp-swipe__app { height: 100dvh; }
}

/* ==========================================================================
   SIDEBAR — "ז׳אנרים" box (3 + show all) + separate "אמנים חמים" box
   ========================================================================== */
.sp-side-box {
  background: var(--sp-bg);
  border-radius: var(--sp-r-panel);
  display: flex; flex-direction: column;
  padding: 8px 4px 6px 8px;
}
.sp-side-box + .sp-side-box { margin-top: 0; }
.sp-side-box--grow { flex: 1 1 auto; min-height: 0; }
.sp-side-box__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 8px 10px; color: var(--sp-text-2);
  font-size: 15px; font-weight: 700;
}
.sp-side-box__head span { display: inline-flex; align-items: center; }
.sp-side-box__scroll { overflow-y: auto; padding: 0 4px; display: flex; flex-direction: column; gap: 2px; }
.sp-side-genre.is-hidden { display: none; }
.sp-side-showall {
  margin: 6px 8px 4px; padding: 8px 12px;
  align-self: flex-start;
  border-radius: var(--sp-pill);
  background: var(--sp-elev-2); color: var(--sp-text);
  font-size: 13px; font-weight: 700;
  transition: background .15s ease;
}
.sp-side-showall:hover { background: #2a2a2a; }

/* ==========================================================================
   MUSIC PLAYER — Spotify look riding on the existing streamer engine
   (overrides the site's purple streamer-bar / fullscreen, scoped to .sp)
   ========================================================================== */
.sp .streamer-bar {
  left: 8px; right: 8px; bottom: 8px;
  width: auto; max-width: none; z-index: 60;
  transform: translateY(140%);
  background: #181818; border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; box-shadow: var(--sp-shadow-dialog);
  padding: 10px 16px 12px; gap: 14px;
}
.sp .streamer-bar.is-open { transform: translateY(0); }
.sp .streamer-bar__expand { flex: 0 1 auto; max-width: 46%; margin-inline-end: auto; }
.sp .streamer-bar__art { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 6px; }
.sp .streamer-bar__info strong { font-size: 14px; }
.sp .streamer-bar__info span { color: var(--sp-text-2); }
.sp .streamer-bar__btn { color: var(--sp-text-2); }
.sp .streamer-bar__btn:hover { color: var(--sp-text); }
/* main play/pause becomes the gradient circle, centered */
.sp .streamer-bar [data-streamer-toggle] {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sp-grad); color: #fff;
  box-shadow: none;
}
.sp .streamer-bar [data-streamer-toggle]:hover { color: #fff; filter: brightness(1.1); }
.sp .streamer-bar__progress { left: 16px; right: 16px; bottom: 4px; background: rgba(255,255,255,.16); }
.sp .streamer-bar__progress span { background: var(--sp-grad); }

/* fullscreen: dark Spotify look instead of the purple wash */
.sp .streamer-full__bg { filter: blur(58px) brightness(.34) saturate(1.1); }
.sp .streamer-full::before { background: rgba(10,10,12,.6); }
.sp .streamer-full__progress span,
.sp .streamer-full__fill { background: var(--sp-grad) !important; }
.sp .streamer-full__btn--main { background: var(--sp-grad) !important; color: #fff !important; }

/* mobile-only UI, hidden on desktop */
.sp-mtop, .sp-tabbar, .sp-mobile-menu { display: none; }

/* ==========================================================================
   DISCOVER FOOTER — shared site content in the Discover visual language
   ========================================================================== */
.sp-footer {
  margin-top: 52px;
  padding: 0 24px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #0d0d0d;
}
.sp-footer__inner { max-width: 1180px; margin: 0 auto; }
.sp-footer__community {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sp-footer__eyebrow {
  display: inline-block; margin-bottom: 8px;
  color: var(--sp-text-2); font-size: 11px; font-weight: 700; letter-spacing: .08em;
}
.sp-footer__community h2 { font-size: 26px; line-height: 1.1; letter-spacing: -.4px; }
.sp-footer__community p { max-width: 590px; margin-top: 8px; color: var(--sp-text-2); font-size: 14px; line-height: 1.55; }
.sp-footer__community-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  flex: 0 0 auto; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: var(--sp-pill);
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); color: #fff; font-size: 14px; font-weight: 700;
  transition: filter .15s ease, transform .15s ease;
}
.sp-footer__community-btn svg { width: 18px; height: 18px; }
.sp-footer__community-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sp-footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; }
.sp-footer__links h3 { margin-bottom: 13px; color: var(--sp-text); font-size: 14px; font-weight: 700; }
.sp-footer__links a { display: block; width: fit-content; margin-top: 8px; color: var(--sp-text-2); font-size: 13px; transition: color .15s ease; }
.sp-footer__links a:hover { color: var(--sp-text); }
.sp-footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08);
  color: var(--sp-text-3); font-size: 12px; line-height: 1.5;
}
.sp-footer__bottom p { max-width: 760px; }
.sp-footer__bottom span { flex: 0 0 auto; color: var(--sp-text-2); font-weight: 700; letter-spacing: .05em; }

/* ==========================================================================
   RESPONSIVE  → mobile app
   ========================================================================== */
@media (max-width: 900px) {
  /* Keep the page as the scrolling context so the mobile header can stick.
     `hidden` on an ancestor captures sticky positioning in Safari/Chrome. */
  html, body.sp { width: 100%; max-width: 100%; overflow-x: clip; }
  .sp-app {
    display: block;
    height: auto; min-height: 100dvh;
    width: 100%; max-width: 100%; min-width: 0;
    padding: 0; overflow-x: clip;
  }
  .sp-sidebar { display: none; }
  .sp-main {
    border-radius: 0;
    width: 100%; min-width: 0;
    /* `hidden` creates a scroll container and breaks the mobile sticky header.
       `clip` keeps stray horizontal paint out without becoming that container. */
    height: auto; overflow-x: clip; overflow-y: visible;
    background: var(--sp-bg);
    padding-bottom: 96px;
  }
  .sp-footer { margin-top: 36px; padding: 0 16px 88px; text-align: center; }
  .sp-footer__community { align-items: center; flex-direction: column; gap: 18px; padding: 26px 0; }
  .sp-footer__community h2 { font-size: 23px; }
  .sp-footer__community-btn { width: 100%; }
  .sp-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 28px 0; }
  .sp-footer__links a { width: auto; }
  .sp-footer__bottom { align-items: center; flex-direction: column; gap: 10px; padding-top: 16px; }
  .sp-topbar { display: none; }

  /* Netflix hero → mobile */
  .sp-nhero {
    margin: 8px 0 12px;
    height: clamp(250px, calc(48vh - 96px), 330px);
    border-radius: 14px;
  }
  /* Mobile: the whole block is centred — alignment, text and the wrapped
     description alike (max-width alone would leave it hugging one side). */
  .sp-nhero__body {
    inset-inline-end: 24px; inset-inline-start: 24px; bottom: 46px;
    max-width: none; min-width: 0;
    align-items: center; text-align: center;
  }
  .sp-nhero__title { font-size: clamp(26px, 7.5vw, 40px); }
  .sp-nhero__desc { font-size: 14px; -webkit-line-clamp: 2; }
  /* same specificity story as on desktop — see the reset note above */
  .sp .sp-nhero__desc { margin-inline: auto; margin-bottom: 22px; }
  .sp-nhero__meta { font-size: 12.5px; }
  .sp-nhero__meta {
    width: 100%; max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto; overflow-y: hidden;
    padding: 2px 0;
    margin-bottom: 20px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sp-nhero__meta::-webkit-scrollbar { display: none; }
  .sp-nhero__meta-tag { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
  .sp-nhero__slide::before {
    background:
      linear-gradient(0deg, rgba(7,7,9,.94) 2%, rgba(7,7,9,.82) 31%, rgba(7,7,9,.54) 57%, rgba(7,7,9,.08) 80%, rgba(7,7,9,0) 92%);
  }
  /* Keep content crisp while giving only uploaded hero artwork a soft mobile depth. */
  .sp-nhero__slide.has-image { background-image: none !important; }
  .sp-nhero__slide.has-image::after {
    content: ""; position: absolute; inset: -5px; z-index: 0;
    background: var(--nhero-image) center/cover no-repeat;
    filter: blur(2px);
    transform: scale(1.015);
  }
  .sp-nhero__dots { inset-inline: auto; left: 50%; right: auto; transform: translateX(-50%); bottom: 12px; }
  .sp-nhero__arrow { display: none; }
  .sp-nhero__pills,
  .sp-nhero__meta { justify-content: center; }
  .sp-nhero__actions {
    width: calc(100% + 24px);
    margin-inline: -12px;
  }
  .sp-nhero__btn { width: 100%; justify-content: center; }

  /* stories → mobile */
  .sp-stories { gap: 5px; }
  .sp-story { width: 74px; }
  .sp-story__ring { width: 72px; height: 72px; }

  /* mobile brand header */
  .sp-mtop {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 16px 16px 4px;
    position: sticky; top: 0; z-index: 30;
    isolation: isolate;
    transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
  }
  .sp-mtop.is-stuck {
    padding-top: 10px; padding-bottom: 10px;
    background: rgba(18,18,18,.84);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
  }
  .sp-mtop > * { position: relative; z-index: 1; }
  .sp-mtop__brand { display: block; height: 26px; }
  .sp-mtop__brand img { height: 100%; width: auto; object-fit: contain; filter: invert(1); }
  .sp-mtop__actions { display: flex; gap: 8px; }
  .sp-mtop__actions .sp-circ svg { width: 22px; height: 22px; }

  .sp-mobile-menu { display: block; position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; }
  .sp-mobile-menu.is-open { visibility: visible; pointer-events: auto; }
  .sp-mobile-menu__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(0,0,0,.66); opacity: 0; transition: opacity .2s ease; }
  .sp-mobile-menu__panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(330px, 86vw); padding: 18px; background: #171717; border-inline-start: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .24s ease; box-shadow: -16px 0 42px rgba(0,0,0,.35); }
  .sp-mobile-menu.is-open .sp-mobile-menu__backdrop { opacity: 1; }
  .sp-mobile-menu.is-open .sp-mobile-menu__panel { transform: translateX(0); }
  .sp-mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.09); }
  .sp-mobile-menu__head img { width: 122px; height: auto; }
  .sp-mobile-menu__panel > a { padding: 14px 8px; color: var(--sp-text); font-size: 17px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.06); }
  .sp-mobile-menu__panel > a:active { background: rgba(255,255,255,.06); }

  .sp-content { width: 100%; min-width: 0; padding: 0 16px 24px; overflow-x: hidden; }
  .sp-quicknav { padding: 10px 0 4px; gap: 8px; }
  .sp-quicknav a { padding: 8px 11px; font-size: 12px; }
  .sp-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 4px 8px;
  }
  .sp-hero__art { width: 100%; max-width: none; aspect-ratio: 16/12; margin-bottom: 18px; }
  .sp-hero__title { font-size: clamp(30px, 9vw, 44px); letter-spacing: -.5px; }
  .sp-hero__actions { margin-top: 18px; }

  .sp-chips { max-width: 100%; padding: 6px 0 2px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sp-chips::-webkit-scrollbar { display: none; }

  .sp-shelf__title { font-size: 21px; }
  .streamer .sp-shelf__more { font-size: 11px; }
  .sp-calendar { padding-top: 24px; }
  .sp-calx { padding: 10px 0 0; margin-inline: 0; }
  .sp-calx .calx__day { width: 56px; min-height: 68px; }
  .sp-calx .calx__day.is-selected { width: 56px; }
  .sp-calx .calx__monthlabel { min-width: 128px; font-size: 16px; }
  .sp-calx .calx__resultstrack { grid-auto-columns: minmax(210px, 78vw); }
  .sp-calx.has-single-result .calx__resultstrack { grid-auto-columns: 100%; }
  .sp-rail { grid-auto-columns: minmax(188px, 64vw); gap: 14px; }
  .sp-rail--artist { grid-auto-columns: 130px; }
  .sp-rail__nav { display: none; }
  .sp-card__body { min-height: 126px; padding: 11px 12px 12px; }
  .sp-card__title { font-size: 15px; }
  .sp-swipe { margin: 26px 0 18px; padding: 17px; border-radius: 14px; }
  .sp-swipe__intro { min-height: 0; grid-template-columns: 1fr; gap: 13px; }.sp-swipe__eyebrow { margin-bottom: -3px; }.sp-swipe h2 { font-size: 24px; }.sp-swipe__start { width: 100%; justify-content: center; }.sp-swipe__deck { height: min(118vw, 465px); }.sp-swipe__content { right: 17px; left: 17px; bottom: 16px; }.sp-swipe h3 { font-size: 26px; }.sp-swipe__hint { top: 18px; }
  .sp-swipe__game { padding: 0; align-items: stretch; }
  .sp-swipe__app { width: 100%; height: 100dvh; padding: calc(10px + env(safe-area-inset-top)) 12px calc(9px + env(safe-area-inset-bottom)); border-radius: 0; box-shadow: none; }
  .sp-swipe__appbar { min-height: 44px; }.sp-swipe__appmark { width: 32px; height: 32px; flex-basis: 32px; font-size: 15px; }.sp-swipe__progress, .sp-swipe__progress i { min-width: 70px; width: 70px; }
  .sp-swipe__game .sp-swipe__top { margin: 5px 4px 8px; }.sp-swipe__game .sp-swipe__top span:last-child { display: none; }
  .sp-swipe__game .sp-swipe__deck { height: auto; min-height: 0; }.sp-swipe__game .sp-swipe__card { border-radius: 21px; }.sp-swipe__game .sp-swipe__content { right: 18px; left: 18px; bottom: 16px; }.sp-swipe__game .sp-swipe__actions { margin-top: 9px; }.sp-swipe__game .sp-swipe__gesture { margin-top: 2px; }
  .sp-row { grid-template-columns: 24px 44px minmax(0, 1fr); gap: 10px; padding: 8px 4px; }
  .sp-row__meta { display: none; }

  /* real music streamer-bar floats just above the tab bar */
  .sp .streamer-bar { bottom: calc(74px + env(safe-area-inset-bottom)) !important; }

  /* bottom tab bar */
  .sp-tabbar {
    display: flex; align-items: center; justify-content: space-around;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(18,18,18,.6), #0d0d0d 60%);
    backdrop-filter: blur(12px);
  }
  .sp-tab {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: var(--sp-text-2); font-size: 11px; font-weight: 500;
    padding: 4px 12px;
  }
  .sp-tab svg { width: 24px; height: 24px; }
  .sp-tab.is-active { color: var(--sp-text); font-weight: 700; }
}

@media (min-width: 901px) {
  .sp-mtop, .sp-tabbar { display: none !important; }
}

/* ── Shared search overlay ───────────────────────────────────────────────
   Discover owns this dialog outside the app shell, so it needs its own
   Spotify surface rules instead of inheriting the legacy purple treatment. */
.sp .search-overlay { z-index: 200; }
.sp .search-overlay__backdrop {
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sp .search-overlay__panel {
  background: #181818;
  border: 0;
  box-shadow: rgba(0,0,0,.5) 0 8px 24px;
  padding: 20px 24px 22px;
  max-height: min(76vh, 620px);
}
.sp .search-overlay__form,
.sp .search-overlay__body { max-width: 760px; }
.sp .search-overlay__top { gap: 12px; }
.sp .search-overlay__field {
  min-height: 52px;
  background: var(--sp-elev-2);
  border: 0;
  border-radius: var(--sp-pill);
  padding: 0 18px;
  box-shadow: none;
}
.sp .search-overlay__field:focus-within {
  background: #252525;
  border: 0;
  box-shadow: 0 0 0 2px var(--sp-accent);
}
.sp .search-overlay__field svg { width: 21px; height: 21px; color: var(--sp-text-2); }
.sp .search-overlay__input,
.sp .search-overlay__input:focus,
.sp .search-overlay__input:focus-visible {
  background: transparent;
  border: 0;
  outline: 0 !important;
  box-shadow: none !important;
  color: var(--sp-text);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 0;
}
.sp .search-overlay__input::placeholder { color: var(--sp-text-2); opacity: 1; }
.sp .search-overlay__clear {
  width: 30px; height: 30px;
  background: transparent;
  color: var(--sp-text-2);
}
.sp .search-overlay__clear:hover { background: #303030; color: var(--sp-text); }
.sp .search-overlay__close {
  border-radius: var(--sp-pill);
  background: #1f1f1f;
  color: var(--sp-text);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
}
.sp .search-overlay__close:hover { background: #303030; color: var(--sp-text); }
.sp .search-overlay__body { margin-top: 16px; padding: 12px 0 4px; }
.sp .search-overlay__hint {
  color: var(--sp-text-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 0;
}
.sp .search-overlay__hint--secondary {
  color: var(--sp-text-2);
  font-weight: 400;
  letter-spacing: 0;
}
.sp .search-overlay__tags { gap: 8px; padding: 0; }
.sp .search-tag {
  background: #1f1f1f;
  border: 0;
  border-radius: var(--sp-pill);
  color: var(--sp-text);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
}
.sp .search-tag:hover,
.sp .search-tag:focus-visible { background: #303030; color: var(--sp-text); transform: none; }
.sp .search-overlay__spinner { border-color: #4d4d4d; border-top-color: var(--sp-accent); }
.sp .search-overlay__state--loading,
.sp .search-overlay__state--empty,
.sp .search-overlay__empty-sub { color: var(--sp-text-2); }
.sp .sr-group { gap: 2px; }
.sp .sr-group__head { padding: 0 4px 8px; }
.sp .sr-group__title { color: var(--sp-text); font-size: 14px; letter-spacing: 0; }
.sp .sr-item { border-radius: 6px; padding: 8px; }
.sp .sr-item:hover,
.sp .sr-item:focus-visible { background: #282828; outline: 0; }
.sp .sr-item__img { border-radius: 6px; background: #282828; }
.sp .sr-item__title { color: var(--sp-text); }
.sp .sr-item__sub,
.sp .sr-item__meta { color: var(--sp-text-2); }
.sp .sr-group__more { color: var(--sp-text-2); border-radius: 6px; }
.sp .sr-group__more:hover { background: #282828; color: var(--sp-text); }
.sp .search-overlay__all-cta {
  border-radius: var(--sp-pill);
  background: var(--sp-grad);
  box-shadow: none;
}
.sp .search-overlay__all-cta:hover { filter: brightness(1.08); transform: none; }

@media (max-width: 640px) {
  .sp .search-overlay__panel { padding: 16px 16px 18px; max-height: min(84vh, 640px); }
  .sp .search-overlay__top { align-items: stretch; }
  .sp .search-overlay__field { min-height: 50px; }
  .sp .search-overlay__close { padding-inline: 14px; }
  .sp .search-overlay__tags { padding: 2px 0 8px; margin: 0; }
}

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