/* ersy. — flagship layer (loaded after styles.css) */
:root {
  --bg: #07040f;
  --panel: #11081c;
  --panel-2: #181028;
  --magenta: #ff2d6f;
  --magenta-hi: #ff4f86;
  --magenta-soft: #ff9fbc;
  --purple: #a855ff;
  --text: #f7f0fa;
  --muted: #b7a6c8;
  --dim: #7f6f94;
  --line: rgba(247, 240, 250, 0.09);
  --line-2: rgba(247, 240, 250, 0.16);
  --fill: rgba(247, 240, 250, 0.045);
  --fill-2: rgba(247, 240, 250, 0.09);
  --bar-h: 64px;
  --radius: 14px;
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --ui: "Instrument Sans", system-ui, sans-serif;
  --glow: none;
  --navy: var(--bg);
  --navy-deep: #05030a;
  --navy-panel: var(--panel-2);
  --cream: var(--text);
  --wine: var(--magenta);
  --wine-hi: var(--magenta-hi);
  --rose: var(--magenta);
  --rose-soft: var(--magenta-soft);
  --pale: #dccfe6;
  --body: #cbbdd8;
}

html, body {
  background: var(--bg);
  font-family: var(--ui);
}

body::before {
  display: none;
}

#app {
  position: relative;
  z-index: 1;
}
#app:has(.overlay) {
  z-index: 90;
}

.app-frame {
  padding: 12px 12px 0;
  gap: 12px;
  background: transparent;
}

.side-nav,
.right-rail {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #11081c;
  backdrop-filter: none;
  box-shadow: none;
}

.main-scroll {
  border-radius: var(--radius);
  border: 0;
  background: #0b0614;
  box-shadow: none;
  animation: none;
}

.brand-mark strong,
.home-brand,
.lv-hero-meta h1,
.h-page,
.adm-h {
  font-family: var(--display);
  font-optical-sizing: auto;
}

.nf-row-head h2 {
  font-family: var(--ui);
}

.brand-mark .logo {
  background: var(--magenta);
  box-shadow: none;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: -0.04em;
}

.btn {
  background: var(--magenta);
  box-shadow: none;
  border-radius: 999px;
  padding: 11px 20px;
  letter-spacing: 0;
}

.btn:hover {
  background: var(--magenta-hi);
  transform: none;
}

.btn-ghost {
  border-radius: 999px;
  backdrop-filter: none;
}

.lv-play,
.nf-play {
  background: var(--magenta) !important;
  color: #fff !important;
  box-shadow: none;
}

/* player play button styled in player-bar.css */

/* ─── Cinematic home ─────────────────────────────────────────── */
.home {
  padding-bottom: 40px;
}

.cine-hero {
  position: relative;
  min-height: min(52vh, 480px);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.cine-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cine-hero-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: none;
  transform: none;
  opacity: 0.22;
  pointer-events: none;
}

.cine-hero-shot {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(58%, 760px);
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: none;
  transform: none;
  animation: none;
  opacity: 0;
  transition: opacity 0.75s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}

.cine-hero-shot.on {
  opacity: 1;
}

@keyframes ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1%, 0, 0); }
}

.cine-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 4, 15, 0.94) 0%, rgba(7, 4, 15, 0.62) 36%, rgba(7, 4, 15, 0.12) 68%, rgba(7, 4, 15, 0.04) 100%),
    linear-gradient(0deg, rgba(7, 4, 15, 0.5) 0%, transparent 46%);
}

.cine-hero-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.cine-hero-glow {
  display: none;
}

.cine-hero-copy {
  position: relative;
  z-index: 2;
  padding: 28px 28px 36px;
  max-width: 640px;
  pointer-events: none;
}

.cine-hero-copy .cine-cta,
.cine-hero-copy .cine-cta *,
.cine-hero-copy a,
.cine-hero-copy button {
  pointer-events: auto;
}

.home-brand {
  margin: 0;
  font-size: clamp(56px, 7vw, 108px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-weight: 800;
  font-optical-sizing: auto;
  color: var(--text);
  text-wrap: balance;
}

.home-brand span {
  color: var(--magenta);
}

.cine-hero-copy .lede {
  margin: 14px 0 0;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.4;
  color: var(--pale);
  max-width: 32ch;
  font-weight: 400;
}

.cine-hero-copy .sub {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
}

.cine-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.cine-cta .cine-feat {
  white-space: nowrap;
}

.cine-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cine-meta b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.cine-meta span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.home-section {
  padding: 28px 28px 8px;
}

.home-section .home-row-head,
.home-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 0;
}

.home-row-head h2 {
  margin: 0;
  min-width: 0;
}

.home-row-head .btn-link {
  flex-shrink: 0;
  white-space: nowrap;
}

.home-section .nf-row-head h2,
.nf-row-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.045em;
}

/* featured mosaic stage */
.feature-stage {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0612;
}

.feature-stage .faces {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  opacity: 1;
  pointer-events: auto;
  background: transparent;
}

.feature-stage .card {
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 14px;
}

.feature-stage.is-assembling .faces {
  opacity: 0;
  pointer-events: none;
}

.feature-stage.is-assembled .faces {
  opacity: 1;
  animation: facesIn 500ms ease both;
}

@keyframes facesIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1200px) {
  .feature-stage .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .feature-stage .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cine-hero-copy { padding: 36px 20px 40px; }
  .cine-hero-shot {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    object-position: center 8%;
  }
  .home-section { padding: 20px 16px 4px; }
}

/* artist library tiles */
.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 18px;
  padding: 8px 0 24px;
  align-items: start;
}

.lib-more {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin: 8px 0 28px;
  pointer-events: none;
}

.lib-more-status {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dim);
  opacity: 0.85;
}

.lib-card-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: 220px 280px;
}

.lib-art {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: none;
  margin-bottom: 12px;
  background: var(--panel-2);
  flex: none;
}

.lib-hit {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.lib-hit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  pointer-events: none;
  transition: transform 0s;
}

.lib-card-wrap:hover .lib-hit img { transform: none; }

.lib-meta {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  width: 100%;
  min-width: 0;
  text-decoration: none;
  display: block;
}

.lib-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lib-meta em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.3;
}

/* legacy selectors still used elsewhere */
.lib-card {
  position: relative;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
  padding: 0;
  width: 100%;
}

.lib-card .art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: none;
  margin-bottom: 12px;
  background: var(--panel-2);
}

.lib-card .art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.lib-card-wrap .play-fab {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--magenta);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: none;
  transition: opacity 0.15s ease;
  box-shadow: none;
  cursor: pointer;
  z-index: 2;
}

.lib-card-wrap:hover .play-fab {
  opacity: 1;
  transform: none;
}

.lib-card-wrap .heart-float {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}

.page-lede {
  margin: 10px 0 22px;
  max-width: 48ch;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

.page-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}

.brand-mark strong span {
  color: var(--magenta);
}

.mobile-preview-link {
  margin: 6px 0 2px;
}

.eyebrow {
  color: var(--magenta-soft) !important;
  letter-spacing: 0.16em !important;
}

.empty {
  border: 1px dashed var(--line-2);
  border-radius: 20px;
  background: rgba(247, 240, 250, 0.02);
  padding: 48px 28px !important;
}

.empty .mark {
  color: var(--magenta);
}

.cmd {
  border: 1px solid var(--line-2) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
  background: #0e0818 !important;
  backdrop-filter: none;
}

.lv-hero-meta h1 {
  font-size: clamp(42px, 7vw, 84px);
  letter-spacing: -0.06em;
}

.lv-actions {
  gap: 12px;
}

.lv-follow {
  border-radius: 999px !important;
}

.bar .disc.spin {
  animation: spin 8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* video shelves */
.vid-shelf {
  margin-top: 28px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(247, 240, 250, 0.03);
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
  contain: layout style paint;
}

.vid-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--dim);
}

.vid-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 5px 0 4px;
}

.vid-sub {
  font-size: 12.5px;
  color: var(--muted);
}

.page {
  padding: 32px 32px 48px;
}

.h-page {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.055em;
}

/* player bar elevation — shell owned by player-bar.css */
.bar,
.bar.ersy-playbar,
.vh.audio .vh-box {
  --bar-h: 64px;
}

/* reserve space for the player only while a track is queued */
#app:not(.has-player) .main-scroll,
#app:not(.has-player) .right-rail {
  padding-bottom: 28px;
}

#app:not(.has-player) .toast {
  bottom: 24px;
}

/* auth premium */
.auth {
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.auth-form {
  background: #120a1c;
  color: var(--text);
}

.auth-form h2 {
  color: var(--text);
  font-family: var(--display);
}

.auth-form .sub,
.auth-form label,
.auth-note,
.auth-form > div:last-of-type {
  color: var(--muted) !important;
}

.auth-form input {
  background: rgba(247, 240, 250, 0.05) !important;
  border-color: var(--line-2) !important;
  color: var(--text) !important;
}

.auth-submit {
  background: var(--magenta) !important;
  border-radius: 999px !important;
}

.auth-x {
  color: var(--muted) !important;
  border-color: var(--line-2) !important;
}

/* page flash transition */
.page-flash {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 6px;
  opacity: 0;
}

.page-flash.on {
  opacity: 1;
  animation: flashHold 700ms ease forwards;
}

.page-flash i {
  background: #0a0612;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translate(40px, 24px) scale(0.86);
  animation: tileIn 560ms cubic-bezier(.16, 1, .3, 1) forwards;
}

.page-flash i:nth-child(1) { animation-delay: 0.02s; }
.page-flash i:nth-child(2) { animation-delay: 0.08s; }
.page-flash i:nth-child(3) { animation-delay: 0.14s; }
.page-flash i:nth-child(4) { animation-delay: 0.2s; }
.page-flash i:nth-child(5) { animation-delay: 0.1s; }
.page-flash i:nth-child(6) { animation-delay: 0.18s; }
.page-flash i:nth-child(7) { animation-delay: 0.24s; }
.page-flash i:nth-child(8) { animation-delay: 0.12s; }
.page-flash i:nth-child(9) { animation-delay: 0.22s; }
.page-flash i:nth-child(10) { animation-delay: 0.28s; }

@keyframes tileIn {
  to { opacity: 1; transform: none; }
}

@keyframes flashHold {
  0%, 55% { opacity: 1; }
  100% { opacity: 0; }
}

.loading-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 16px;
  color: var(--muted);
}

.loading-shell .orb {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(255, 45, 111, 0.25);
  border-top-color: var(--magenta);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 8px;
}

.lv-hero {
  min-height: min(58vh, 520px);
}

.lv-ring {
  box-shadow: 0 0 0 3px rgba(255, 45, 111, 0.85), 0 0 60px rgba(255, 45, 111, 0.45);
}

.toast {
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  bottom: calc(var(--bar-h) + 18px);
}

/* Prefer faces over scalp crops across chrome */
.related-row img,
.rail-card img,
.side-pl-art,
.feature-stage .card img,
.faces .card img,
.disc img {
  object-position: center 20% !important;
}

/* ─── Endless featured marquee ───────────────────────────────── */
.home-featured {
  padding-right: 0;
}

.feat-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 94%, transparent);
}

.feat-track {
  display: flex;
  width: max-content;
  animation: featLoop 55s linear infinite;
  animation-play-state: paused;
}

.feat-marquee:hover .feat-track {
  animation-play-state: paused;
}

.feat-marquee.is-static .feat-track {
  animation: none;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 8px;
}

.feat-set {
  display: flex;
  gap: 14px;
  padding: 8px 14px 20px 0;
}

.feat-card {
  position: relative;
  flex: 0 0 168px;
  width: 168px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: #140a1e;
  border: 1px solid var(--line);
  transition: transform 220ms ease, box-shadow 220ms ease;
  content-visibility: auto;
  contain-intrinsic-size: 168px 224px;
}

.feat-card:hover,
.feat-card:focus-within {
  transform: none;
  z-index: 3;
  box-shadow: none;
  border-color: var(--line-2);
}

.feat-card .card-hit {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  color: inherit;
  display: block;
  text-decoration: none;
}

.feat-card .card-hit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  pointer-events: none;
  transition: none;
}

.feat-card .card-hit img.broken {
  opacity: 0;
}

.feat-card:hover .card-hit img {
  transform: none;
}

.feat-card .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 4, 15, 0.92) 100%);
  pointer-events: none;
}

.feat-card .card-base {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  text-align: left;
  pointer-events: none;
}

.feat-card .card-base em {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.feat-card .card-base strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.feat-card .card-details {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  background: linear-gradient(180deg, rgba(7, 4, 15, 0.15) 0%, rgba(7, 4, 15, 0.88) 55%, rgba(7, 4, 15, 0.96) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.feat-card:hover .card-details,
.feat-card:focus-within .card-details {
  opacity: 1;
  pointer-events: none;
}

.feat-card .card-details-row,
.feat-card .card-details-row button,
.feat-card .card-details-row a,
.feat-card .card-details-title {
  pointer-events: auto;
}

.feat-card .card-details-title {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
  letter-spacing: -0.03em;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.feat-card:hover .card-base,
.feat-card:focus-within .card-base {
  opacity: 0;
}

.feat-card .card-details-meta {
  font-size: 12px;
  color: var(--muted);
}

.feat-card .card-details-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feat-card .card-details-genres span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pale);
}

@keyframes featLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .feat-track { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .cine-hero-media img,
  .main-scroll,
  .page-flash,
  .page-flash i { animation: none !important; }
}

/* ─── Visual polish pass ─────────────────────────────────────── */
.main-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(155, 77, 255, 0.35) transparent;
}

.main-scroll::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}

.main-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.main-scroll::-webkit-scrollbar-thumb {
  background: rgba(155, 77, 255, 0.32);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.desk-top {
  position: sticky;
  top: -1px;
  z-index: 25;
  background: #0b0614;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
  padding: 12px 28px;
  margin: 0;
  isolation: isolate;
  overflow: visible;
  border-radius: var(--radius) var(--radius) 0 0;
}

.desk-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
  background: #0b0614;
  pointer-events: none;
}

.desk-top::after {
  display: none;
}

.desk-top > * {
  position: relative;
  z-index: 1;
}

.app-frame.artist-mode .desk-top,
.app-frame.artist-mode .desk-top::before {
  background: #000;
}

.desk-search {
  height: 40px;
  border-color: rgba(247, 240, 250, 0.1);
  background: rgba(247, 240, 250, 0.04);
}

.home {
  padding-bottom: 56px;
}

.home-section {
  padding: 22px 28px 10px;
}

.home-section-last {
  padding-bottom: 40px;
}

.home-section + .home-section {
  margin-top: 4px;
}

.home-row-head h2,
.home-section .nf-row-head h2 {
  font-family: var(--ui);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-weight: 700;
}

.home-row-head .btn-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.cine-meta {
  gap: 22px 40px;
  margin-top: 22px;
  padding-top: 16px;
}

.cine-meta b {
  font-size: 20px;
}

.cine-meta span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.station-rail,
.news-rail,
.rail,
.release-rail {
  scrollbar-width: none;
  padding-bottom: 4px;
}

.station-rail::-webkit-scrollbar,
.news-rail::-webkit-scrollbar,
.rail::-webkit-scrollbar,
.release-rail::-webkit-scrollbar {
  display: none;
  height: 0;
}

.station-pill {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  transition: background 0.15s, border-color 0.15s;
}

.station-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.rail-card-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.rail-card-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.rail-card-copy em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--dim);
}

.rail-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.rail-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.yt-pl-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding-top: 12px;
  overflow: visible !important;
  max-height: none !important;
}

.yt-new-pl {
  border-radius: 999px !important;
  margin: 0 4px 8px;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}

.yt-auto {
  border-radius: 12px !important;
  padding: 10px 12px !important;
  margin: 0 2px;
  gap: 3px;
}

.yt-auto strong {
  font-size: 14px !important;
  font-weight: 600 !important;
}

.yt-auto em {
  font-size: 11.5px !important;
  color: var(--dim) !important;
  gap: 6px;
}

.yt-auto em .yt-svg {
  width: 12px;
  height: 12px;
  opacity: 0.75;
}

.ytm-sec {
  padding-top: 26px;
}

.ytm-sec + .ytm-sec {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 6px;
}
