/* ersy signature surfaces ? brand promise, editorial, discovery, artist universe */

.cine-promise {
  display: none;
}

.ersy-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim, #7a6a8c);
}

.ersy-block-lede {
  margin: 10px 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted, #a894b8);
  max-width: 52ch;
}

.ersy-deepcut-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: #16101e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  max-width: 720px;
}

.ersy-deepcut-art {
  position: relative;
  width: 168px;
  height: 168px;
  flex: none;
}

.ersy-deepcut-card img,
.ersy-deepcut-art img {
  width: 168px;
  height: 168px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: #1a102c;
}

.ersy-deepcut-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--magenta, #ff2d6f);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.ersy-deepcut-copy {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding-right: 8px;
}

.ersy-deepcut-copy em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta-soft, #ff8fb0);
}

.ersy-deepcut-copy strong {
  font-family: var(--display, "Bricolage Grotesque", sans-serif);
  font-size: clamp(18px, 2.1vw, 26px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 700;
}

.ersy-deepcut-copy > span {
  font-size: 14px;
  color: var(--pale, #d4c4de);
}

.ersy-deepcut-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ersy-deepcut-acts .btn-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #a894b8);
}

.ersy-edit-rail,
.ersy-city-rail,
.ersy-era-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.ersy-edit-rail::-webkit-scrollbar,
.ersy-city-rail::-webkit-scrollbar,
.ersy-era-rail::-webkit-scrollbar { display: none; }

.ersy-edit-card {
  flex: 0 0 260px;
  width: 260px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ersy-edit-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: none;
}

.ersy-edit-card img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  pointer-events: none;
}

.ersy-edit-card span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.ersy-edit-card strong {
  font-size: 15px;
  font-weight: 700;
}

.ersy-edit-card em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted, #a894b8);
}

.ersy-edit-card i {
  font-style: normal;
  font-size: 11px;
  color: var(--magenta-soft, #ff8fb0);
}

.ersy-city-pill,
.ersy-era-card {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.ersy-city-pill:hover,
.ersy-era-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.ersy-city-pill img,
.ersy-era-card img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.ersy-era-card {
  border-radius: 14px;
  min-width: 150px;
}

.ersy-era-card img {
  border-radius: 8px;
}

.ersy-city-pill span,
.ersy-era-card span {
  display: grid;
  gap: 1px;
}

.ersy-city-pill strong,
.ersy-era-card strong {
  font-size: 13px;
  font-weight: 700;
}

.ersy-city-pill em,
.ersy-era-card em {
  font-style: normal;
  font-size: 11px;
  color: var(--dim, #7a6a8c);
}

.sp-chapter {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta-soft, #ff8fb0);
}

.sp-chapter-pad {
  padding: 8px 28px 0;
}

.sp-chapter-side {
  margin-bottom: 12px;
}

.sp-sec-blurb {
  margin: 10px 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #aaa;
  max-width: 46ch;
}

/* Title + lede stacks ? keep headline descenders clear of the blurb */
.ytm-sec-head h2 + .sp-sec-blurb,
.ytm-sec-head h2 + .ersy-block-lede,
.home-row-head h2 + .ersy-block-lede,
.explore-block h3 + .ersy-block-lede,
.page-head h1 + .page-lede,
.page-head h2 + .page-lede {
  margin-top: 12px;
}

.sp-session {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 45, 111, 0.55);
  background: rgba(255, 45, 111, 0.12);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: none;
}

.sp-session:hover:not(:disabled) {
  background: rgba(255, 45, 111, 0.22);
}

.sp-session:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sp-pop-row {
  grid-template-columns: 28px minmax(0, 1fr) 64px auto 40px;
}

.sp-pop-watch {
  border: 0;
  background: rgba(255, 45, 111, 0.14);
  color: #ff8fb0;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.sp-pop-watch:hover {
  background: rgba(255, 45, 111, 0.28);
  color: #fff;
}

.sp-latest-why {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
  color: #9a9a9a;
}

.sp-banner.is-live .ytm-banner-art {
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(255, 45, 111, 0.55);
}

.sp-banner.is-live .ytm-banner-photo {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .ersy-edit-card:hover { transform: none; }
}

@media (max-width: 860px) {
  .sp-banner.is-live .ytm-banner-art {
    box-shadow: none;
  }
  .ersy-deepcut-card {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
  .ersy-deepcut-art,
  .ersy-deepcut-card img,
  .ersy-deepcut-art img {
    width: 120px;
    height: 120px;
  }
  .ersy-deepcut-play {
    width: 34px;
    height: 34px;
    right: 8px;
    bottom: 8px;
  }
  .sp-chapter-pad { padding-left: 16px; padding-right: 16px; }
  .sp-pop-row {
    grid-template-columns: 24px minmax(0, 1fr) auto 36px;
  }
  .sp-pop-dur { display: none; }
}

.sp-session.on {
  background: var(--magenta, #ff2d6f);
  border-color: var(--magenta, #ff2d6f);
  color: #fff;
}

.sp-pop-slot {
  width: 0;
  height: 0;
  overflow: hidden;
}

.sp-scarce,
.sp-scarce-banner {
  font-style: normal;
  font-size: 11px;
  color: #c9a0b0;
}

.sp-scarce-banner {
  margin: 8px 0 0;
  font-size: 13px;
  max-width: 42ch;
}

.ersy-era-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 2px;
}

.ersy-era-slider {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.ersy-era-slider > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-right: 2px;
}

.ersy-era-chip {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.ersy-era-chip.on {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.ersy-era-status {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #9a9a9a;
  max-width: 64ch;
}

.ytm-artist .sp-play,
.ytm-artist .ytm-vid-play,
.ytm-artist .ytm-album-play,
.ytm-artist .play-fab,
.ytm-artist .nf-play {
  border-radius: 50% !important;
}

.ytm-album.vinyl .ytm-album-art,
.release-card.vinyl .release-art {
  border-radius: 50%;
  box-shadow: 0 0 0 6px #111, 0 0 0 8px rgba(255,255,255,0.12);
}

.ytm-album.collected strong::after,
.release-card.collected strong::after {
  content: ' ? on shelf';
  color: var(--magenta-soft, #ff8fb0);
  font-size: 11px;
  font-weight: 600;
}

.ytm-album-scarce {
  position: absolute;
  inset: auto 8px 8px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.65);
  padding: 6px 8px;
  border-radius: 6px;
  text-align: center;
}

.ersy-cover-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: #fff;
  background: #120818;
  isolation: isolate;
}

.ersy-cover-bg {
  position: absolute;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
}

.ersy-cover-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: none;
  transform: none;
  opacity: 0.28;
}

.ersy-cover-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 4, 16, 0.72) 0%, rgba(8, 4, 16, 0.28) 55%, rgba(8, 4, 16, 0.45) 100%),
    linear-gradient(0deg, rgba(8, 4, 16, 0.55), transparent 45%);
}

.ersy-cover-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  min-height: 280px;
}

.ersy-cover-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  background: #1a1024;
}

.ersy-cover-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 12%;
  pointer-events: none;
}

.ersy-cover-copy {
  position: relative;
  inset: auto;
  padding: 0;
  display: grid;
  gap: 8px;
  background: none;
  align-content: center;
}

.ersy-cover-copy em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta-soft, #ff8fb0);
}

.ersy-cover-copy strong {
  font-family: var(--display, "Bricolage Grotesque", sans-serif);
  font-size: clamp(28px, 4.5vw, 48px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.ersy-cover-copy i {
  font-style: normal;
  max-width: 48ch;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.5;
}

.ersy-cover-copy b {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}

.ersy-modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0,0,0,0.55);
}

.ersy-modal {
  position: fixed;
  z-index: 91;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 32px));
  padding: 22px;
  border-radius: 16px;
  background: #160d24;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}

.ersy-modal h3 { margin: 0 0 8px; font-size: 18px; }
.ersy-modal p { margin: 0 0 12px; color: var(--muted, #a894b8); font-size: 13px; }
.ersy-modal textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: #fff;
  padding: 12px;
  font: inherit;
  resize: vertical;
  margin-bottom: 14px;
}

.ersy-note-preview {
  margin: 8px 12px 0;
  padding: 0 4px 10px;
  font-size: 12px;
  color: #cbb;
}

.ersy-gift-card,
.ersy-listen-page .ersy-listen-code {
  display: grid;
  gap: 16px;
}

.ersy-gift-card {
  grid-template-columns: 160px minmax(0,1fr);
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.ersy-gift-card img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  object-fit: cover;
}

.ersy-gift-msg {
  font-size: 16px;
  line-height: 1.45;
  color: var(--pale, #d4c4de);
}

.ersy-listen-code {
  font-family: var(--display, "Bricolage Grotesque", sans-serif);
  font-size: clamp(40px, 8vw, 64px);
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--magenta, #ff2d6f);
}

@media (max-width: 860px) {
  .ersy-gift-card { grid-template-columns: 1fr; }
  .ersy-cover-layout {
    grid-template-columns: 1fr;
    justify-items: start;
    min-height: 0;
    padding: 18px;
  }
  .ersy-cover-photo {
    width: min(200px, 56vw);
  }
  .ersy-cover-card { min-height: 0; }
}
