/* Unified listening UX — Spotify / Apple / YT Music / TIDAL / Amazon patterns */

.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.station-tile {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.station-tile img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
}

.station-tile span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.station-tile strong {
  font-size: 14px;
}

.station-tile em {
  font-style: normal;
  font-size: 12px;
  color: var(--dim);
}

.station-tile i {
  font-style: normal;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--magenta);
  color: #fff;
  font-size: 12px;
}

.station-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.station-rail::-webkit-scrollbar {
  display: none;
}

.station-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
}

.station-pill img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}

.station-pill span {
  font-size: 13px;
  font-weight: 700;
}

.bar-meta-btn {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

button.disc {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.np-sheet {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: grid;
  place-items: end center;
}

#app.np-open {
  z-index: 280 !important;
}

#app.np-open ~ #video-host.vh.audio {
  pointer-events: none;
}

#app.np-open ~ #video-host.vh.audio .vh-box {
  opacity: 0;
  pointer-events: none;
}

#app.np-open .bar.ersy-playbar,
#app:has(.overlay) .bar.ersy-playbar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  content-visibility: hidden;
}

#app.np-open .feat-track,
#app.np-open .cine-hero-shot,
#app.np-open .disc {
  animation-play-state: paused !important;
}

.np-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 10, 0.86);
}

.np-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(96vh, 980px);
  height: min(96vh, 980px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  border-radius: 16px 16px 0 0;
  background: #120c18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  padding: 8px 16px 28px;
  box-shadow: none;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.np-panel.is-pulling {
  overflow: hidden;
}

.np-grab {
  flex: none;
  width: 100%;
  height: 22px;
  margin: 2px 0 0;
  padding: 10px 0 8px;
  border-radius: 0;
  background: transparent;
  touch-action: none;
  cursor: grab;
}

.np-grab::after {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin: 0 auto;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.np-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
  flex: none;
  position: sticky;
  top: 0;
  z-index: 3;
  background: #120c18;
  padding: 8px 2px 10px;
  min-height: 44px;
  touch-action: none;
}

.np-head-main {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.np-head-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
}

.np-head-mini {
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
  min-height: 36px;
  min-width: 0;
  touch-action: none;
}

.np-head-mini img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
  display: block;
}

.np-head-mini span {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 2px;
}

.np-head-mini b {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.np-head-mini em {
  font-style: normal;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.48);
}

.np-head-acts {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
  height: 36px;
}

.np-head-play {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #141018;
  cursor: pointer;
  place-items: center;
  padding: 0;
  line-height: 0;
  flex: none;
  align-self: center;
}

.np-head-play .yt-svg {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0;
}

.np-head .np-knob .yt-svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
}

.np-panel.is-scrolled .np-grab {
  display: block;
  margin: 10px auto 0;
  opacity: 0.7;
}

.np-panel.is-scrolled .np-head {
  background: transparent;
  padding: 6px 2px 12px;
  margin-bottom: 4px;
  min-height: 0;
  border-bottom: 0;
}

.np-panel.is-scrolled .np-head-label {
  display: none;
}

.np-panel.is-scrolled .np-head-mini {
  display: flex;
  max-width: none;
}

.np-panel.is-scrolled .np-head-main {
  justify-content: flex-start;
}

.np-panel.is-scrolled .np-head-play {
  display: grid;
}

.np-hero {
  flex: none;
}

.np-art {
  width: min(280px, 68%);
  margin: 0 auto 16px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
}

.np-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.np-watch-pill {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 2;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: #ff2d6f;
  box-shadow: 0 8px 24px rgba(255, 45, 111, 0.4);
  cursor: pointer;
  white-space: nowrap;
}

.np-info {
  flex: none;
  margin: 0 4px 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.np-info h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #fff;
}

.np-info p,
.np-info .btn-link {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.np-cluster {
  flex: none;
  margin: 0 0 18px;
}

.np-transport {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto 14px;
}

.np-knob {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  color: #fff;
  display: grid;
  place-items: center;
  background: #2a2430;
  box-shadow: none;
  position: relative;
}

.np-head .np-knob {
  width: 36px;
  height: 36px;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  flex: none;
  align-self: center;
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.88);
}

.np-head .np-knob.on {
  background: transparent;
  border-color: transparent;
  color: #ff2d6f;
}

.np-knob.on {
  background: rgba(255, 45, 111, 0.18);
  border-color: #ff2d6f;
  color: #ff2d6f;
  box-shadow: none;
}

.np-knob.on .yt-svg {
  color: #ff2d6f;
}

.np-cluster [data-act="shuffle"].on::after,
.np-cluster [data-act="repeat"].on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: #ff2d6f;
}

.np-play {
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  color: #141018;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: none;
}

.np-play .yt-svg {
  width: 24px;
  height: 24px;
}

.np-seek-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 6px 14px;
}

.np-seek-wrap .seek {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  flex: 1;
  cursor: grab;
  touch-action: none;
}

.np-seek-wrap .seek::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  bottom: -16px;
}

.np-seek-wrap .seek i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 99px;
  background: #ff2d6f;
  pointer-events: none;
}

.np-seek-wrap .seek i::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: #ff2d6f;
  box-shadow: 0 0 0 4px rgba(255, 45, 111, 0.28);
  pointer-events: none;
}

.np-seek-wrap .seek.is-scrubbing,
.np-seek-wrap .seek:active {
  cursor: grabbing;
}

.np-seek-wrap .seek.is-scrubbing i::after {
  width: 18px;
  height: 18px;
  right: -9px;
  margin-top: -9px;
}

.np-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 4px 8px 0;
}

.np-body {
  min-height: 0;
  flex: none;
  overflow: visible;
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
}

.np-related-block {
  margin-top: 28px;
  padding-top: 8px;
}

.np-related-block h3 {
  margin: 0 4px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.np-related-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.np-rel-card {
  position: relative;
  flex: none;
  width: 112px;
}

.np-rel-hit img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #1a1020;
}

.np-rel-card .play-fab {
  position: absolute;
  right: 8px;
  bottom: 36px;
}

.np-rel-meta {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 650;
  color: #fff;
}

.np-panel.lyrics-exp {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "head" "body" "cluster";
  overflow: hidden;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--lyric-wash, #b5523a);
  color: #fff;
}

.np-panel.lyrics-exp .np-grab {
  display: none;
}

.np-panel.lyrics-exp .np-head {
  grid-area: head;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 8px;
}

.np-panel.lyrics-exp .np-head-label,
.np-panel.lyrics-exp .np-head-acts,
.np-panel.lyrics-exp .np-head-mini img {
  display: none;
}

.np-panel.lyrics-exp .np-head-main {
  text-align: center;
}

.np-panel.lyrics-exp .np-head-mini {
  justify-content: center;
}

.np-panel.lyrics-exp .np-head-mini b {
  color: #fff;
}

.np-panel.lyrics-exp .np-head-mini em {
  color: rgba(255, 255, 255, 0.72);
}

.np-panel.lyrics-exp .np-knob {
  background: transparent;
  border-color: transparent;
  color: #fff;
  box-shadow: none;
}

.np-panel.lyrics-exp .np-xtra {
  display: none;
}

.np-panel.lyrics-exp .np-body {
  grid-area: body;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 22px 20px;
  -webkit-overflow-scrolling: touch;
}

.np-panel.lyrics-exp .np-cluster {
  grid-area: cluster;
  margin: 0;
  padding: 6px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.16) 28%);
  display: flex;
  flex-direction: column;
}

.np-panel.lyrics-exp .np-icons {
  order: 1;
  padding: 0 8px 10px;
}

.np-panel.lyrics-exp .np-seek-wrap {
  order: 2;
}

.np-panel.lyrics-exp .np-transport {
  order: 3;
}

.np-panel.lyrics-exp .np-seek-wrap,
.np-panel.lyrics-exp .np-transport {
  margin-bottom: 8px;
}

.np-panel.lyrics-exp .np-seek-wrap .seek {
  background: rgba(255, 255, 255, 0.28);
}

.np-panel.lyrics-exp .np-seek-wrap .seek i,
.np-panel.lyrics-exp .np-seek-wrap .seek i::after {
  background: #fff;
  box-shadow: none;
}

.np-panel.lyrics-exp .np-seek-wrap .time {
  color: rgba(255, 255, 255, 0.7);
}

.np-panel.lyrics-exp .np-play {
  background: #fff;
  color: #111;
}

.np-panel.lyrics-exp .np-lyrics-line {
  color: rgba(17, 17, 17, 0.32);
  font-size: 28px;
}

.np-panel.lyrics-exp .np-lyrics-line.on {
  color: #111;
}

.np-panel.lyrics-exp .np-lyrics-empty,
.np-panel.lyrics-exp .np-lyric-peek {
  color: rgba(17, 17, 17, 0.55);
}

.np-lyric-stage {
  min-height: 100%;
}

.np-lyrics-handle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 12px 12px;
  margin: 0 0 18px;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.np-lyrics-handle i {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
}

.np-lyrics-handle:hover {
  background: rgba(255, 45, 111, 0.16);
}

.np-lyrics-handle:hover i {
  background: #fff;
}

.np-lyrics-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.np-upnext {
  display: grid;
  gap: 4px;
  min-height: 8px;
  padding-bottom: 12px;
}

#np-queue {
  display: block;
  width: 100%;
  padding: 8px 0 36px;
}

.np-queue {
  display: grid;
  gap: 14px;
}

.np-queue .q-section {
  min-width: 0;
}

.np-queue .side-empty {
  margin: 2px 8px 8px;
  color: rgba(255, 255, 255, 0.48);
}

.np-queue .np-qrow.q-edit {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  padding: 2px 4px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.np-q-handle {
  display: block;
  width: 16px;
  height: 28px;
  min-width: 16px;
  border-radius: 4px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.45) 1.15px, transparent 1.25px);
  background-size: 6px 6px;
  background-position: center;
  cursor: grab;
  flex: none;
  pointer-events: none;
}

.np-queue .np-qrow.q-edit.is-dragging {
  opacity: 0.55;
  background: rgba(255, 255, 255, 0.08);
  cursor: grabbing;
}

.np-queue .np-qrow.q-edit.is-dragging .np-q-handle {
  cursor: grabbing;
}

.np-qrow {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.np-qrow.on,
.np-qrow:hover {
  background: rgba(255, 255, 255, 0.05);
}

.np-qrow img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.np-qrow span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.q-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 11px;
  width: 11px;
  margin-right: 7px;
  vertical-align: -1px;
}

.q-eq b {
  display: block;
  width: 2px;
  height: 100%;
  border-radius: 1px;
  background: var(--magenta, #ff2d6f);
  transform-origin: bottom center;
  animation: qEq 0.85s ease-in-out infinite;
}

.q-eq b:nth-child(1) { animation-delay: -0.45s; }
.q-eq b:nth-child(2) { animation-delay: -0.2s; }
.q-eq b:nth-child(3) { animation-delay: -0.55s; }
.q-eq b:nth-child(4) { animation-delay: -0.1s; }

@keyframes qEq {
  0%, 100% { transform: scaleY(0.28); }
  50% { transform: scaleY(1); }
}

.q-pin {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  color: var(--magenta, #ff2d6f);
  vertical-align: -2px;
}

.q-pin .yt-svg {
  width: 13px;
  height: 13px;
}

.np-qrow.on strong,
.queue-row.on strong {
  color: var(--magenta, #ff2d6f);
}

.np-qrow em,
.queue-row em,
.queue-main em {
  font-style: normal;
  font-size: 12px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 0;
}

.np-qrow b {
  font-size: 11px;
  color: var(--magenta-soft);
}

.np-video-tab {
  text-align: center;
  padding: 8px 4px 16px;
}

.np-video-preview {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #120810;
}

.np-video-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.np-video-preview span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #ff2d6f;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 45, 111, 0.4);
}

.np-lyrics-line {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.22;
  color: rgba(255, 255, 255, 0.28);
}

.np-lyrics-line.on {
  color: #fff;
}

.np-lyrics-empty {
  margin: 8px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.np-talk-card {
  margin: 8px 0 18px;
}

.np-talk-log {
  display: grid;
  gap: 8px;
  margin: 0 4px 12px;
}

.np-talk-q,
.np-talk-a {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.np-talk-q {
  color: rgba(255, 255, 255, 0.45);
}

.np-talk-a {
  color: rgba(255, 255, 255, 0.88);
}

.np-talk {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 2px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.np-talk input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.np-talk input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.np-talk-beta {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff7aa6;
  border: 1px solid rgba(255, 45, 111, 0.4);
  border-radius: 999px;
  padding: 2px 7px;
}

.np-talk-go {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.np-talk-go .yt-svg {
  width: 18px;
  height: 18px;
}

.np-lyric-card {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 8px 2px 18px;
  padding: 16px 18px 18px;
  border: 0;
  border-radius: 18px;
  background: var(--lyric-wash, #b5523a);
  color: #111;
  text-align: left;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  contain: layout paint;
}

.np-lyric-card.is-peek {
  min-height: 124px;
  align-content: start;
}

.np-lyric-kicker {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.62);
}

.np-lyric-card .np-lyrics {
  gap: 8px;
}

.np-lyric-card .np-lyrics-line {
  color: rgba(17, 17, 17, 0.4);
  font-size: 22px;
  cursor: inherit;
}

.np-lyric-card .np-lyrics-line.on {
  color: #111;
}

.np-lyric-peek,
.np-lyric-card .np-lyrics-empty {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  color: rgba(17, 17, 17, 0.72);
}

.np-lyric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 10px;
}

.np-lyric-acts {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.np-lyric-expand {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 4px 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  display: grid;
  place-items: center;
}

.np-lyric-expand .yt-svg {
  width: 16px;
  height: 16px;
}

.np-lyric-more {
  display: none;
}

.np-lyric-card h3,
.np-about-hero h3,
.np-vids-card h3,
.np-spin h3,
.np-room h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.np-lyric-copy {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
}

.np-lyrics {
  display: grid;
  gap: 16px;
}

.np-vids-card {
  margin: 8px 2px 8px;
}

.np-card {
  display: block;
  width: 100%;
  margin: 8px 2px 18px;
  padding: 16px;
  border: 0;
  border-radius: 20px;
  background: #1c1822;
  color: inherit;
  text-align: left;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.np-room {
  cursor: pointer;
}

.np-room-faces {
  display: flex;
  padding: 4px 0 14px;
}

.np-room-faces img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1c1822;
  background: #2a2430;
}

.np-room-faces img + img {
  margin-left: -12px;
}

.np-room-people {
  margin: 0 0 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.np-room-copy h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.np-room-copy p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.np-room-go {
  display: inline-flex;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 650;
}

.np-spin-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 12px 0 0;
  padding: 0 16px 0 0;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.np-spin-rail::-webkit-scrollbar {
  display: none;
}

.np-spin {
  position: relative;
  overflow: hidden;
  padding: 16px 0 16px 16px;
}

.np-spin h3 {
  padding-right: 16px;
}

.np-spin::after {
  content: "";
  position: absolute;
  top: 44px;
  right: 0;
  bottom: 16px;
  width: 28px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #1c1822);
}

.np-spin-tile {
  flex: none;
  width: 132px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  touch-action: manipulation;
}

.np-spin-tile img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #2a2430;
}

.np-spin-tile strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.np-spin-tile em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.42);
}

.np-see-more {
  display: inline-block;
  border: 0;
  background: none;
  padding: 8px 0;
  margin-top: 2px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.np-credits-layer {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  align-items: end;
}

.np-credits-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.np-credits-sheet {
  position: relative;
  max-height: min(82vh, 720px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 18px calc(22px + env(safe-area-inset-bottom, 0px));
  border-radius: 18px 18px 0 0;
  background: #1a161f;
  touch-action: none;
}

.np-credits-sheet.is-pulling {
  overflow: hidden;
}

.np-credits-chrome {
  flex: none;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.np-credits-handle {
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.np-credits-handle::after {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin: 12px auto 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.np-credits-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.np-credits-head {
  text-align: center;
  margin-bottom: 18px;
}

.np-credits-head strong {
  display: block;
  font-size: 18px;
}

.np-credits-head em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.np-credits-group {
  margin-bottom: 18px;
}

.np-credits-group h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 750;
}

.np-credits-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.np-credits-row b {
  display: block;
  font-size: 15px;
}

.np-credits-row i {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
}

.np-vid-card {
  flex: none;
  width: 168px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.np-vid-thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1020;
}

.np-vid-thumb img {
  width: 168px;
  height: 94px;
  object-fit: cover;
  display: block;
}

.np-vid-thumb i {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
}

.np-vid-thumb .yt-svg {
  width: 12px;
  height: 12px;
}

.np-vid-card strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.np-vid-card em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.np-about {
  margin: 8px 2px 22px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.np-about-hero {
  position: relative;
}

.np-about-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.np-about-hero h3 {
  position: absolute;
  left: 16px;
  top: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.np-about-body {
  padding: 14px 16px 18px;
}

.np-about-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.np-about-name,
.np-about-body strong {
  display: block;
  font-size: 20px;
  color: #fff;
}

.np-about-row p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.np-follow {
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.np-follow.on {
  border-color: rgba(255, 45, 111, 0.7);
  color: #ff7aa6;
}

.np-about-bio {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.np-settings {
  display: grid;
  gap: 14px;
  padding: 8px 4px 16px;
}

.np-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.np-sleep {
  display: grid;
  gap: 10px;
}

.np-sleep-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.np-related .lib-grid {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

@media (max-width: 720px) {
  .np-sheet {
    place-items: stretch;
  }
  .np-panel {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
  .np-panel.lyrics-exp {
    height: 100dvh;
    max-height: none;
  }
  .bar-right input[type="range"] {
    display: none;
  }
}

.home-listen-bar {
  padding-top: 20px !important;
  padding-bottom: 0 !important;
}

.home-listen-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-listen-kind {
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--muted, #a894b8);
  cursor: pointer;
}

.home-listen-kind:hover {
  color: var(--text, #f7f0fa);
}

.home-listen-kind.on {
  background: #fff;
  color: #111;
}

/* Podcasts — artist shelves + episode rail */
.podcasts-page .page-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 8px 0 22px;
}

.pod-shelf {
  margin-bottom: 28px;
}

.pod-shelf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pod-shelf-artist {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.pod-shelf-artist img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #2a2438;
}

.pod-shelf-artist strong {
  display: block;
  font-size: 1.05rem;
}

.pod-shelf-artist em {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  opacity: 0.65;
}

.pod-shelf-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pod-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 168px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.pod-card {
  scroll-snap-align: start;
  display: grid;
  gap: 8px;
}

.pod-art {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(145deg, #3a3148, #1c1626);
}

.pod-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pod-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f3b4d4;
  background: linear-gradient(145deg, #4a3a58, #22182e);
}

.pod-fallback.show {
  display: flex;
}

.pod-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e91e8c;
  color: #fff;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}

.pod-art:hover .pod-play,
.pod-art:focus-visible .pod-play {
  opacity: 1;
  transform: none;
}

.pod-meta {
  display: grid;
  gap: 2px;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  min-width: 0;
}

.pod-meta em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
}

.pod-meta strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.pod-meta span {
  font-size: 0.78rem;
  opacity: 0.6;
}

@media (max-width: 720px) {
  .pod-shelf-head {
    flex-wrap: wrap;
  }
  .pod-rail {
    grid-auto-columns: minmax(132px, 148px);
  }
}

/* Mini player: 16:9 artwork card, clickable play / maximize */
.vh.mini .vh-box {
  height: auto !important;
  min-height: 0;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  touch-action: auto;
}

.vh.mini .vh-now-head,
.vh.mini .vh-grip {
  position: relative;
  z-index: 8;
  flex: none !important;
  pointer-events: auto;
  touch-action: auto;
}

.vh.mini .vh-stage {
  display: block !important;
  position: relative;
  flex: none !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  order: 1;
  overflow: hidden;
  background: #1a1020;
}

.vh.mini iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  left: auto !important;
  top: auto !important;
  pointer-events: none !important;
  opacity: 1 !important;
  z-index: 1;
}

.vh.mini.no-clip iframe {
  width: 1px !important;
  height: 1px !important;
  left: -9999px !important;
  inset: auto !important;
  opacity: 0 !important;
}

.vh.mini .vh-art {
  display: none !important;
}

.vh.mini.no-clip .vh-art {
  display: block !important;
  opacity: 1 !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 1;
  pointer-events: none;
}

.vh.mini .vh-drag {
  z-index: 2;
  touch-action: none;
}

.vh.mini .vh-grip {
  order: 2;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 12px !important;
  background: #160d18;
}

.vh.mini [data-vh-play],
.vh.mini [data-vh-max],
.vh.mini [data-vh-min],
.vh.mini [data-vh-close] {
  pointer-events: auto !important;
  touch-action: manipulation !important;
  z-index: 20;
  position: relative;
}

.vh.mini .vh-now-head .vh-btn::after,
.vh.mini .vh-play-main::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: -10px;
}

.vh.mini .vh-play-main {
  width: 44px !important;
  height: 44px !important;
  flex: none;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 0 !important;
  color: #fff !important;
}

.vh.mini .vh-resize {
  z-index: 4;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
}

.vh.mini .vh-resize::before {
  width: 22px;
  height: 22px;
}

@media (max-width: 860px) {
  .vh.mini .vh-box {
    width: min(280px, calc(100vw - 20px)) !important;
    height: auto !important;
    right: 10px !important;
    left: auto !important;
    top: auto !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .vh.mini .vh-resize {
    display: none !important;
  }
}
