:root {
  --bg: #070b17;
  --bg-soft: rgba(14, 20, 36, 0.8);
  --surface: rgba(12, 18, 32, 0.78);
  --surface-strong: rgba(16, 24, 42, 0.94);
  --surface-light: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f7fb;
  --muted: rgba(232, 239, 255, 0.72);
  --accent: #67a4ff;
  --accent-strong: #7cf1d3;
  --accent-glow: rgba(103, 164, 255, 0.24);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100vw - 32px));
  --header-h: 88px;
  --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(86, 128, 255, 0.22), transparent 32%),
              radial-gradient(circle at bottom right, rgba(124, 241, 211, 0.12), transparent 24%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 60;
}
.skip-link:focus { top: 16px; }

.page-shell {
  position: relative;
  overflow: clip;
}
.bg-orb {
  position: fixed;
  inset: auto;
  width: 38rem;
  aspect-ratio: 1;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -2;
}
.bg-orb-one {
  top: -10rem;
  left: -12rem;
  background: rgba(103, 164, 255, 0.25);
}
.bg-orb-two {
  right: -8rem;
  top: 18rem;
  background: rgba(124, 241, 211, 0.18);
}
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
  opacity: 0.33;
  pointer-events: none;
  z-index: -3;
}
.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  backdrop-filter:none;
  background: linear-gradient(180deg, rgba(5, 7, 14, 0.82), rgba(5, 7, 14, 0.32));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(10, 15, 28, 0.72);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}
.brand-copy {
  display: grid;
  gap: 2px;
}
.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.18em;
}
.brand-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lang-pill {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
}
.lang-pill.is-active {
  color: #08101f;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 99px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.hero-section {
  padding: 32px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}
.hero-copy,
.hero-visual,
.featured-card,
.shop-card,
.track-card,
.news-card,
.video-card,
.streaming-panel,
.utility-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 25, 44, 0.86), rgba(9, 13, 24, 0.9));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.hero-copy {
  padding: clamp(28px, 4vw, 42px);
  display: grid;
  align-content: center;
  gap: 22px;
  min-height: 560px;
}
.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--accent-strong);
  border: 1px solid rgba(124, 241, 211, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}
.hero-copy h1,
.section-head h2,
.utility-card h1 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero-copy h1 {
  font-size: clamp(2.7rem, 7vw, 5.35rem);
  max-width: 11ch;
}
.hero-copy p,
.section-head p,
.rich-text p,
.news-copy p,
.utility-card p,
.shop-meta,
.featured-copy p,
.track-body p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.hero-actions,
.cookie-actions,
.utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #08101f;
  font-weight: 800;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 14px 34px rgba(103, 164, 255, 0.25);
}
.button:hover { transform: translateY(-2px); }
.button-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  box-shadow: none;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.hero-stat {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.hero-stat span { color: var(--muted); font-size: 0.9rem; }
.hero-visual {
  position: relative;
  min-height: 560px;
  padding: 22px;
  display: grid;
  gap: 18px;
}
.visual-main {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.visual-main img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(103, 164, 255, 0.18), rgba(124, 241, 211, 0.12));
}
.visual-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.stack-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.stack-card img {
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  width: 100%;
}
.stack-card span {
  display: block;
  padding: 12px 14px 14px;
  font-weight: 700;
}

.section-block { padding: 38px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px 36px;
  align-items: end;
  margin-bottom: 22px;
}
.section-head.is-compact {
  margin-bottom: 24px;
}
.section-head h2 { font-size: clamp(2rem, 5vw, 3.3rem); }
.section-head > div { max-width: 520px; }
.section-head > p { max-width: 520px; }
.featured-grid,
.shop-grid,
.news-grid,
.video-grid,
.stream-links,
.content-grid {
  display: grid;
  gap: 18px;
}
.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-card {
  overflow: hidden;
  display: grid;
}
.featured-media img {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
  background: rgba(255,255,255,0.05);
}
.featured-copy { padding: 20px; display: grid; gap: 10px; }
.featured-copy h3,
.shop-copy h3,
.track-body h3,
.bio-highlight h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
}
.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shop-card {
  padding: 18px;
  display: grid;
  gap: 16px;
}
.shop-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(135deg, rgba(103, 164, 255, 0.14), rgba(124, 241, 211, 0.08));
  border: 1px solid rgba(255,255,255,0.08);
}
.shop-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: opacity 260ms ease, transform 260ms ease;
}
.shop-image.is-back { opacity: 0; transform: scale(1.04); }
.shop-card:hover .shop-image.is-back,
.shop-card.is-flipped .shop-image.is-back { opacity: 1; transform: scale(1); }
.shop-card:hover .shop-image.is-front,
.shop-card.is-flipped .shop-image.is-front { opacity: 0; transform: scale(0.98); }
.shop-copy { display: grid; gap: 14px; }
.shop-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.shop-line strong { font-size: 1.1rem; }
.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.34);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.16);
}
.color-dot.is-selected {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}
.music-toolbar {
  margin-bottom: 18px;
}
.search-box {
  width: min(420px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}
.search-box svg {
  width: 18px;
  height: 18px;
  fill: var(--muted);
  flex: 0 0 auto;
}
.search-box input {
  background: transparent;
  border: none;
  color: var(--text);
  width: 100%;
  outline: none;
}
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.track-card {
  padding: 16px;
  display: grid;
  gap: 16px;
}
.track-cover {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.track-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.track-body { display: grid; gap: 12px; }
.player {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.player-button {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #08101f;
  font-size: 1.25rem;
  font-weight: 900;
}
.player-meta { display: grid; gap: 8px; }
.player-range {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}
.player-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--progress, 0%), rgba(255,255,255,0.14) var(--progress, 0%));
}
.player-range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--progress, 0%), rgba(255,255,255,0.14) var(--progress, 0%));
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.22);
}
.player-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  background: #fff;
}
.player-times {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}
.empty-state {
  margin: 22px 0 0;
  color: var(--muted);
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px dashed var(--line-strong);
}
.content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-card,
.news-card {
  overflow: hidden;
  display: grid;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 25, 44, 0.86), rgba(9, 13, 24, 0.9));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.content-card > div {
  padding: 22px;
  display: grid;
  gap: 12px;
}
.content-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255,255,255,0.05);
}
.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-card {
  overflow: hidden;
  display: grid;
}
.news-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255,255,255,0.05);
}
.news-copy {
  display: grid;
  gap: 12px;
  padding: 20px;
}
.news-copy time {
  color: var(--accent-strong);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}
.biography-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.96fr);
  gap: 18px;
}
.bio-copy {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 25, 44, 0.86), rgba(9, 13, 24, 0.9));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
}
.bio-media {
  display: grid;
  align-content: start;
  gap: 18px;
}
.bio-detail-grid {
  margin-top: 18px;
}
.bio-highlight {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.bio-highlight span {
  color: var(--accent-strong);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.rich-text {
  display: grid;
  gap: 14px;
}
.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-card {
  overflow: hidden;
  padding: 0;
}
.video-card + .video-card {
  margin-top: 0;
}
.video-card video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000;
}
.gallery-grid {
  column-count: 3;
  column-gap: 18px;
}
.gallery-card {
  width: 100%;
  display: inline-grid;
  margin: 0 0 18px;
  padding: 0;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 25, 44, 0.86), rgba(9, 13, 24, 0.9));
  box-shadow: var(--shadow);
}
.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  background: rgba(255,255,255,0.05);
}
.gallery-card span {
  padding: 16px 16px 18px;
  color: var(--muted);
  line-height: 1.55;
}
.streaming-panel {
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 22px;
}
.stream-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stream-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}
.stream-link img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.site-footer {
  padding: 0 0 38px;
}
.footer-inner {
  border: 1px solid var(--line);
  background: rgba(9, 13, 24, 0.9);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.footer-inner p { margin: 6px 0 0; color: var(--muted); }
.footer-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
}
.footer-meta a { color: var(--muted); }

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(980px, calc(100vw - 24px));
  padding: 18px 20px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(9, 13, 24, 0.96);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  z-index: 80;
}
.cookie-banner p { margin: 0; color: var(--muted); max-width: 60ch; }

.gallery-modal[hidden],
.cookie-banner[hidden] { display: none; }
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}
.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, 0.8);
  backdrop-filter:none;
}
.gallery-dialog {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(1080px, calc(100vw - 24px));
  padding: 16px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(8, 11, 20, 0.95);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow);
}
.gallery-dialog figure {
  margin: 0;
  display: grid;
  gap: 14px;
}
.gallery-dialog img {
  max-height: min(76vh, 820px);
  width: 100%;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
}
.gallery-dialog figcaption {
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.gallery-close,
.gallery-nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1.9rem;
}
.gallery-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
}

.utility-page .site-header {
  position: static;
  padding-top: 24px;
}
.utility-main {
  width: min(920px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 40px 0 56px;
}
.utility-card {
  padding: clamp(24px, 4vw, 38px);
}
.legal-list {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}
.error-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 0;
}
.error-card {
  text-align: center;
  width: min(700px, calc(100vw - 24px));
  justify-items: center;
}
.error-logo {
  width: min(220px, 38vw);
  margin-bottom: 10px;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.media-fallback {
  background: linear-gradient(135deg, rgba(103, 164, 255, 0.18), rgba(124, 241, 211, 0.14));
}

@media (max-width: 1120px) {
  .featured-grid,
  .track-grid,
  .shop-grid,
  .biography-grid,
  .hero-grid,
  .streaming-panel,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid,
  .biography-grid,
  .streaming-panel {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .hero-visual { min-height: auto; }
  .hero-copy h1 { max-width: 14ch; }
}

@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    inset: calc(var(--header-h) + 12px) 16px auto;
    padding: 14px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(8, 11, 20, 0.98);
    box-shadow: var(--shadow);
    display: grid;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity var(--transition), transform var(--transition);
  }
  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav a { padding: 14px 16px; }
  .menu-toggle { display: inline-flex; }
  .section-head {
    flex-direction: column;
    align-items: start;
  }
  .featured-grid,
  .shop-grid,
  .track-grid,
  .news-grid,
  .video-grid,
  .stream-links,
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid { column-count: 2; }
  .cookie-banner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta { justify-items: start; }
}

@media (max-width: 640px) {
  :root { --container: calc(100vw - 20px); }
  .header-inner {
    padding: 12px 14px;
    border-radius: 26px;
  }
  .brand-copy small { display: none; }
  .featured-grid,
  .shop-grid,
  .track-grid,
  .news-grid,
  .video-grid,
  .stream-links,
  .content-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .hero-stats { gap: 10px; }
  .visual-stack { grid-template-columns: 1fr; }
  .gallery-grid { column-count: 1; }
  .gallery-dialog {
    width: calc(100vw - 16px);
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    padding: 12px;
  }
  .gallery-nav,
  .gallery-close { width: 40px; height: 40px; }
  .gallery-close { right: 12px; top: 12px; }
  .cookie-banner {
    left: 10px;
    right: 10px;
    width: auto;
    transform: none;
    bottom: 10px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Homepage dynamic account + users section */
.header-actions{display:flex;align-items:center;gap:12px}
.header-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text);position:relative;transition:background var(--transition),transform var(--transition),border-color var(--transition)}
.header-icon-btn:hover{background:rgba(255,255,255,.08);transform:translateY(-1px);border-color:var(--line-strong)}
.header-icon-btn svg{width:20px;height:20px;fill:currentColor}
.icon-badge{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--accent),var(--accent-strong));color:#08101f;font-size:.72rem;font-weight:800}
.home-users-section .section-head{align-items:flex-end}
.home-users-search{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.home-users-search input{min-width:min(360px,100%);flex:1;padding:14px 16px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--text);outline:none}
.home-users-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.home-user-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:16px;padding:18px;border:1px solid var(--line);background:linear-gradient(180deg, rgba(18, 25, 44, 0.86), rgba(9, 13, 24, 0.9));box-shadow:var(--shadow);border-radius:var(--radius)}
.home-user-card img{width:84px;height:84px;border-radius:22px;object-fit:cover;background:rgba(255,255,255,.05)}
.home-user-card h3{margin:0 0 6px;font-size:1.12rem;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.home-user-card p{margin:0;color:var(--muted);line-height:1.5}
.home-user-meta{display:grid;gap:10px}
.home-user-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.home-user-actions .button,.home-user-actions .button-secondary{min-height:42px;padding:10px 14px}
.home-user-badges{display:inline-flex;gap:8px;flex-wrap:wrap}
.home-status-badge{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;font-size:.72rem;font-weight:800;border:1px solid rgba(255,255,255,.1)}
.home-status-badge.verified{background:rgba(103,164,255,.16);color:#9bc2ff}
.home-status-badge.premium{background:rgba(124,241,211,.14);color:var(--accent-strong)}
.home-users-empty{padding:18px;border:1px dashed var(--line-strong);border-radius:22px;color:var(--muted)}
@media (max-width: 920px){.home-users-grid{grid-template-columns:1fr}.home-users-search input{min-width:100%}}


.home-track-card.is-locked .track-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,7,14,.06),rgba(4,7,14,.42));}
.track-cover{position:relative}
.home-track-lock{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:999px;background:rgba(8,12,22,.82);border:1px solid rgba(255,255,255,.12);font-size:1.1rem;z-index:2}
.home-track-pill{margin-bottom:6px}
.home-track-locked{display:grid;gap:12px;padding:14px 0 0}.home-track-locked p{margin:0;color:var(--muted)}
.home-premium-panel{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.home-premium-panel h2{margin:12px 0 12px;font-size:clamp(2rem,4vw,3rem);line-height:1.05;letter-spacing:-.04em}
.home-premium-actions{display:grid;gap:18px;align-content:center}
.home-premium-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-premium-facts>div{padding:18px;border-radius:22px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);display:grid;gap:8px}.home-premium-facts span{color:var(--muted);font-size:.84rem}.home-premium-status{margin-top:14px;padding:14px 16px;border-radius:18px;background:rgba(124,241,211,.10);border:1px solid rgba(124,241,211,.24);color:var(--accent-strong);font-weight:700}
@media (max-width:920px){.home-premium-panel,.home-premium-facts{grid-template-columns:1fr}}

.gallery-card{position:relative;overflow:hidden}
.gallery-caption{position:absolute;left:12px;right:12px;bottom:12px;padding:10px 12px;border-radius:14px;background:rgba(6,11,22,.72);backdrop-filter:none;color:var(--text-primary,#fff);font-size:13px}

.header-icon-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 30px rgba(0,0,0,0.25);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.header-icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 241, 211, 0.45);
  box-shadow: 0 18px 36px rgba(0,0,0,0.28), 0 0 0 8px rgba(103,164,255,0.08);
}
.header-icon-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.header-icon-chip {
  position: absolute;
  right: -3px;
  bottom: -4px;
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #08101f;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}
.icon-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #08101f;
  background: linear-gradient(135deg, #9bd2ff, #7cf1d3);
  box-shadow: 0 6px 18px rgba(124, 241, 211, 0.35);
}
.header-player-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.header-player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 15, 0.66);
  backdrop-filter:none;
}
.header-player-dialog { max-height:calc(100vh - 120px); overflow:auto;
  width:min(1120px, calc(100vw - 40px));
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100vw - 32px));
  margin: 112px auto 24px;
}
.header-player-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 1.4rem;
  z-index: 2;
}
.header-player-shell {
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(130, 170, 255, 0.2);
  background: linear-gradient(140deg, rgba(10,19,38,0.96), rgba(5,10,22,0.97));
  box-shadow: 0 40px 120px rgba(0,0,0,0.48);
}
.header-player-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(103,164,255,0.24), transparent 36%), radial-gradient(circle at bottom right, rgba(124,241,211,0.16), transparent 28%);
  pointer-events: none;
}
.header-player-shell,
.header-player-stage,
.header-player-playlist { position: relative; }
.header-player-shell { display: grid; grid-template-columns: minmax(0, 0.95fr) 320px; min-height: min(60vh, 620px); }
.header-player-stage { padding: 24px; display: grid; align-content: start; gap: 14px; }
.header-player-stage h3 { margin: 0; font-size: clamp(1.55rem, 3.2vw, 2.45rem); }
.header-player-stage p { margin: 0; color: var(--muted); max-width: 56ch; }
.header-player-now {
  max-width: 760px;
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
}
.header-player-cover {
  width: 96px;
  height: 96px;
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.header-player-cover img,
.promo-player-cover img { width: 100%; height: 100%; object-fit: cover; }
.header-player-now-copy { display: grid; gap: 6px; }
.header-player-now-copy strong { font-size: 1.35rem; }
.header-player-now-copy span { color: var(--muted); }
.header-player-controls,
.promo-player-controls { display: flex; align-items: center; gap: 10px; }
.header-player-control,
.promo-player-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.header-player-control.is-play,
.promo-player-btn.is-play {
  width: 58px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #08101f;
  font-weight: 800;
}
.header-player-progress,
.promo-player-progress { display: grid; gap: 10px; }
.header-player-progress span,
.promo-player-progress span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.84rem;
}
.header-player-progress input,
.player-range,
.promo-player-progress input {
  width: 100%;
  accent-color: var(--accent-strong);
}
.header-player-upsell {
  padding: 20px 22px;
  border-radius: 26px;
  border: 1px solid rgba(124,241,211,0.18);
  background: rgba(124,241,211,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.header-player-upsell p { margin: 0; }
.header-player-playlist {
  max-height: min(72vh, 760px);
  border-left: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  padding: 28px 22px;
  max-height: min(72vh, 840px);
  overflow: auto;
}
.header-player-playlist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 4px 16px;
  color: var(--muted);
}
.header-player-track {
  width: 100%;
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 22px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-align: left;
}
.header-player-track:hover,
.header-player-track.is-current {
  border-color: rgba(124,241,211,0.24);
  background: linear-gradient(135deg, rgba(103,164,255,0.12), rgba(124,241,211,0.08));
}
.header-player-track.is-disabled { opacity: 0.55; cursor: not-allowed; }
.header-player-track img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.header-player-track-copy { min-width: 0; display: grid; gap: 6px; }
.header-player-track-copy small {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-player-index,
.header-player-lock {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}
.promo-track-trigger {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(124,241,211,0.22);
  background: linear-gradient(135deg, rgba(103,164,255,0.14), rgba(124,241,211,0.08));
  color: var(--text);
  font-weight: 700;
}
.promo-track-trigger span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #08101f;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}
.promo-player-bar {
  padding-top: 20px;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: grid;
  grid-template-columns: 82px minmax(0, 240px) auto minmax(220px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 28px;
  border: 1px solid rgba(126,153,198,0.2);
  background: rgba(7,12,24,0.9);
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  backdrop-filter:none;
}
.promo-player-cover {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.promo-player-copy { min-width: 0; display: grid; gap: 6px; }
.promo-player-copy strong { font-size: 1rem; }
.promo-player-copy span { color: var(--muted); }
.has-promo-player main,
.has-promo-player .page-shell { padding-bottom: 124px; }

@media (max-width: 1080px) {
  .header-player-shell { grid-template-columns: 1fr; }
  .header-player-playlist { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); max-height: 320px; }
  .promo-player-bar { grid-template-columns: 70px minmax(0,1fr); }
  .promo-player-controls,
  .promo-player-progress { grid-column: 1 / -1; }
}

@media (max-width: 840px) {
  .header-actions { gap: 8px; }
  .header-icon-btn { width: 46px; height: 46px; }
  .header-player-dialog { max-height:calc(100vh - 120px); overflow:auto; width: calc(100vw - 20px); margin-top: 96px; }
  .header-player-stage { padding: 22px; }
  .header-player-upsell { flex-direction: column; align-items: flex-start; }
  .promo-player-bar {
  padding-top: 20px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 12px;
    padding: 12px;
    border-radius: 24px;
  }
}


.promo-player-collapse {
  position:absolute;
  top:8px;
  right:10px;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff;
  z-index:2;
}
.header-player-dialog { max-height:calc(100vh - 120px); overflow:auto;
  max-height: calc(100vh - 120px);
  overflow: hidden;
}
.header-player-track { padding: 12px; }
.header-player-track img { width: 56px; height: 56px; border-radius: 14px; }
.header-player-progress input, .promo-player-progress input { height: 6px; }
.promo-player-bar[hidden] { display:none !important; }


.header-notice-wrap { position: relative; }
.header-notice-dropdown {
  position:absolute;
  right:0;
  top:calc(100% + 14px);
  width:min(420px, calc(100vw - 24px));
  padding:16px;
  border-radius:24px;
  border:1px solid rgba(126,153,198,.24);
  background:linear-gradient(180deg, rgba(8,15,30,.97), rgba(10,18,34,.97));
  box-shadow:0 28px 70px rgba(0,0,0,.38);
  display:grid;
  gap:14px;
  z-index:45;
}
.header-notice-head { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--muted); }
.header-notice-head strong { color:var(--text); font-size:1rem; }
.header-notice-list { display:grid; gap:10px; max-height:min(52vh, 420px); overflow:auto; padding-right:4px; }
.header-notice-item {
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(126,153,198,.16);
  background:rgba(255,255,255,.03);
  color:var(--text);
}
.header-notice-item:hover { border-color:rgba(124,241,211,.28); transform:translateY(-1px); }
.header-notice-item img { width:56px; height:56px; border-radius:16px; object-fit:cover; background:rgba(255,255,255,.05); }
.header-notice-copy { display:grid; gap:4px; min-width:0; }
.header-notice-copy small { color:var(--accent-strong); font-weight:700; }
.header-notice-copy strong { font-size:.98rem; }
.header-notice-copy span { color:var(--muted); font-size:.88rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.header-notice-empty { padding:10px 2px; color:var(--muted); }
.header-notice-all {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:48px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid rgba(126,153,198,.18);
  background:rgba(122,165,255,.10);
  color:var(--text);
  font-weight:700;
}
@media (max-width: 860px) {
  .header-notice-dropdown { right:-84px; width:min(420px, calc(100vw - 16px)); }
}

.header-player-control .icon-pause,.promo-player-btn .icon-pause,.header-player-control .play-eq,.promo-player-btn .play-eq{display:none}.header-player-control.is-playing .icon-play,.promo-player-btn.is-playing .icon-play{display:none}.header-player-control.is-playing .icon-pause,.promo-player-btn.is-playing .icon-pause{display:inline}.header-player-control.is-playing .play-eq,.promo-player-btn.is-playing .play-eq{display:inline-flex;gap:2px;margin-left:6px}.play-eq i{display:block;width:3px;height:10px;border-radius:999px;background:currentColor;animation:eqWave 1s ease-in-out infinite}.play-eq i:nth-child(2){animation-delay:.16s}.play-eq i:nth-child(3){animation-delay:.32s}.promo-player-collapse{top:8px;right:8px}.header-notice-dropdown{border-color:rgba(122,165,255,.2);box-shadow:0 26px 56px rgba(0,0,0,.45)}.header-notice-item{position:relative}.header-notice-item.is-messages{background:linear-gradient(180deg,rgba(122,165,255,.08),rgba(255,255,255,.02))}.header-notice-item.is-friends{background:linear-gradient(180deg,rgba(122,230,210,.08),rgba(255,255,255,.02))}.header-notice-item.is-gifts{background:linear-gradient(180deg,rgba(255,212,122,.08),rgba(255,255,255,.02))}@keyframes eqWave{0%,100%{transform:scaleY(.55)}50%{transform:scaleY(1.15)}}

/* polish fixes */
.hero-copy{display:grid;gap:18px;align-content:start}.hero-copy p{margin:0;max-width:58ch}.hero-actions{display:flex;flex-wrap:wrap;gap:14px}.hero-stats{margin-top:6px}.hero-visual,.visual-main,.track-card,.track-cover,.track-body,.header-player-now,.header-player-track,.header-notice-dropdown,.home-user-card,.streaming-panel,.surface-card{min-width:0}.track-grid{align-items:start}.track-card{grid-template-rows:auto 1fr}.track-cover{aspect-ratio:1/1;display:block;position:relative}.track-cover img{display:block;width:100%;height:100%;object-fit:cover}.home-track-card .track-body h3,.home-track-card .track-body p{margin:0}.home-track-pill{align-self:start}.promo-track-trigger,.premium-track-trigger{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:12px 16px;border-radius:999px;border:1px solid rgba(124,241,211,.22);background:linear-gradient(135deg,rgba(103,164,255,.14),rgba(124,241,211,.08));color:var(--text);font-weight:700;box-sizing:border-box}.premium-track-trigger{background:linear-gradient(135deg,rgba(122,165,255,.16),rgba(103,164,255,.08))}.promo-track-trigger span,.premium-track-trigger span{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,var(--accent),var(--accent-strong));color:#08101f;flex:0 0 30px}
.header-player-dialog{overflow:visible!important}.header-player-shell{min-height:min(54vh,560px)}.header-player-stage{gap:12px}.header-player-now{max-width:720px;gap:16px;padding:20px}.header-player-cover{width:88px;height:88px;border-radius:24px}.header-player-playlist{padding:24px 20px}.header-player-close{top:16px;right:16px;display:inline-flex;align-items:center;justify-content:center}.header-notice-dropdown{gap:12px;border-radius:26px}.header-notice-head-actions{display:flex;align-items:center;gap:10px}.header-notice-close{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:var(--text)}.header-notice-item{transition:transform .2s ease,border-color .2s ease,background .2s ease}.header-notice-item strong,.header-notice-item span{white-space:normal}.header-notice-all{border-radius:18px}
.promo-player-bar{grid-template-columns:82px minmax(180px,260px) auto minmax(220px,1fr);padding-top:14px}.promo-player-collapse{display:inline-flex;align-items:center;justify-content:center}.promo-player-btn,.header-player-control{display:inline-flex;align-items:center;justify-content:center}.promo-player-copy strong{line-height:1.2}.promo-player-progress{min-width:0}
.home-user-card,.home-user-meta,.home-user-actions{min-width:0}.home-user-actions{display:flex;gap:10px;flex-wrap:wrap}.home-user-actions>*{flex:1 1 150px}.home-online-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:.9rem}.online-dot{width:10px;height:10px;border-radius:999px;background:#52d17c;box-shadow:0 0 0 4px rgba(82,209,124,.14)}.online-dot.is-offline{background:#8da0c2;box-shadow:none}
html.is-page-transition body{opacity:.985;transform:translateY(2px)}body{transition:opacity .22s ease,transform .22s ease}
@media (max-width: 1100px){.track-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-grid{grid-template-columns:1fr}.hero-visual{min-height:auto}.header-player-shell{grid-template-columns:1fr}.header-player-playlist{border-left:0;border-top:1px solid rgba(255,255,255,.08);max-height:320px}}
@media (max-width: 860px){.header-notice-dropdown{right:0;width:min(420px,calc(100vw - 20px))}.promo-player-bar{grid-template-columns:64px minmax(0,1fr);padding-right:12px}.promo-player-cover{width:64px;height:64px;border-radius:18px}.promo-player-controls,.promo-player-progress{grid-column:1/-1}.hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-grid,.shop-grid,.news-grid,.content-grid,.home-users-grid{grid-template-columns:1fr}}
@media (max-width: 640px){.header-player-dialog{width:calc(100vw - 14px);margin-top:88px}.header-player-stage{padding:18px}.header-player-now{padding:16px;border-radius:24px}.header-player-track{grid-template-columns:56px minmax(0,1fr) auto}.header-player-track img{width:56px;height:56px}.hero-copy h1{font-size:clamp(2.2rem,12vw,4rem)}.hero-stats{grid-template-columns:1fr 1fr}.button,.button-secondary{width:100%;justify-content:center}.hero-actions .button{flex:1 1 100%}.track-grid{grid-template-columns:1fr}.promo-player-bar{left:8px;right:8px;bottom:8px;border-radius:22px}.promo-player-collapse{top:10px;right:10px}.header-notice-dropdown{top:calc(100% + 10px);padding:14px;border-radius:22px}.section-head,.music-toolbar,.bio-copy,.bio-media,.track-body,.streaming-panel,.shop-copy,.featured-copy{min-width:0}}

.header-notice-dropdown[hidden], .header-player-panel[hidden], .auth-modal[hidden]{display:none !important;}
body.header-player-open{overflow:hidden;}
body.header-player-open .site-header{filter:none;}
.header-icon-btn.is-playing,.header-player-btn.is-playing{border-color:rgba(122,230,210,.4);box-shadow:0 0 0 4px rgba(122,230,210,.12);}
.online-state-badge{width:18px;height:18px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.online-state-badge i{display:block;width:8px;height:8px;border-radius:999px;background:#7f8aa1}
.online-state-badge.is-online i{background:#64e5ae;box-shadow:0 0 0 4px rgba(100,229,174,.16)}
.header-notice-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.header-notice-head-actions{display:flex;align-items:center;gap:10px}.header-notice-close{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:var(--text);cursor:pointer}.header-notice-dropdown{display:grid;gap:12px}.header-notice-all{display:flex;align-items:center;justify-content:center}

.header-player-panel .header-player-backdrop{background:rgba(2,6,15,.72);backdrop-filter:blur(20px)}.track-cover img,.featured-media img,.visual-main img,.stack-card img{width:100%;height:100%;object-fit:cover}.home-track-card .track-cover{aspect-ratio:1/1;overflow:hidden}


/* ===== homepage hotfix 2026-04-14 ===== */
html,body{max-width:100%;overflow-x:hidden}
.home-users-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.home-users-search input{width:100%;min-width:0}
.home-users-search .button{min-width:120px}
.home-users-grid,.featured-grid,.shop-grid,.track-grid,.gallery-grid,.content-grid{align-items:start}
.home-user-card,.featured-card,.shop-card,.track-card,.gallery-card,.content-card,.visual-main,.stack-card,.hero-copy,.hero-visual{min-width:0}
.home-user-card{grid-template-columns:84px minmax(0,1fr);align-items:start}
.home-user-meta,.home-user-actions{min-width:0}
.home-user-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.home-user-actions>*{flex:1 1 180px}
.track-card,.home-track-card{display:grid;grid-template-rows:auto 1fr}.track-cover{aspect-ratio:1/1;overflow:hidden}.track-cover img{width:100%;height:100%;object-fit:cover}
.gallery-card{display:grid;align-content:start}.gallery-card img{aspect-ratio:1/1;object-fit:cover}
.news-card img,.content-card img,.featured-media img{aspect-ratio:16/10;object-fit:cover;height:auto}
.section-head{align-items:end}.section-head>div,.section-head>p{min-width:0}
.header-player-backdrop{background:radial-gradient(circle at top,rgba(12,22,44,.78),rgba(2,6,15,.88));backdrop-filter:blur(20px) saturate(1.08)}
.header-player-dialog{margin:88px auto 24px;overflow:visible!important}
.header-player-shell{position:relative;overflow:hidden;border-radius:34px;border:1px solid rgba(130,170,255,.22);background:linear-gradient(145deg,rgba(8,15,31,.98),rgba(5,10,22,.99));box-shadow:0 44px 120px rgba(0,0,0,.52)}
.header-player-shell::before{content:'';position:absolute;inset:-10% -5% auto auto;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(124,241,211,.12),transparent 65%);filter:none;opacity:.95}
.header-player-shell::after{content:'';position:absolute;left:-80px;bottom:-120px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(103,164,255,.16),transparent 68%);filter:none;opacity:.9}
.header-player-stage,.header-player-playlist{position:relative;z-index:1}
.header-player-now{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-areas:'cover copy' 'controls controls' 'progress progress';gap:16px;max-width:780px;padding:22px;border-radius:28px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));backdrop-filter:blur(12px)}
.header-player-cover{grid-area:cover;width:96px;height:96px;border-radius:24px;box-shadow:0 18px 30px rgba(0,0,0,.24)}
.header-player-now-copy{grid-area:copy;min-width:0;align-content:center}.header-player-now-copy strong{font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.12}.header-player-now-copy span{font-size:1rem;color:#bcc9df}
.header-player-controls{grid-area:controls}.header-player-progress{grid-area:progress}
.header-player-track{grid-template-columns:64px minmax(0,1fr) auto;align-items:center;padding:14px;border-radius:20px}.header-player-track strong,.header-player-track small{overflow-wrap:anywhere}.header-player-track img{width:64px;height:64px;border-radius:16px}
.header-player-track:hover,.header-player-track.is-current{transform:translateY(-1px);border-color:rgba(124,241,211,.26);background:linear-gradient(180deg,rgba(124,241,211,.08),rgba(255,255,255,.03))}
.header-player-playlist{background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.025))}
.promo-player-bar{backdrop-filter:blur(18px) saturate(1.06)}
@media (max-width:980px){.home-users-search{grid-template-columns:1fr}.home-users-search .button{width:100%}.header-player-shell{grid-template-columns:1fr}.header-player-playlist{border-left:0;border-top:1px solid rgba(255,255,255,.08)}.section-head{align-items:start}}
@media (max-width:760px){.home-user-card{grid-template-columns:1fr}.home-user-card img{width:96px;height:96px}.home-user-actions>*{flex:1 1 100%}.header-player-dialog{width:calc(100vw - 14px);margin-top:74px}.header-player-now{grid-template-columns:1fr;grid-template-areas:'cover' 'copy' 'controls' 'progress';padding:18px}.header-player-cover{width:84px;height:84px}.header-player-track{grid-template-columns:56px minmax(0,1fr)}.header-player-track>*:last-child{justify-self:start}}

/* ===== fixes 2026-04-14 rev3 ===== */
.stack-card{position:relative;display:grid;align-content:end;min-height:220px}
.stack-card img{position:absolute;inset:0;height:100%;z-index:0}
.stack-card::after{content:'';position:absolute;inset:auto 0 0 0;height:40%;background:linear-gradient(180deg,rgba(2,8,18,0),rgba(2,8,18,.86));z-index:1}
.stack-card .stack-card-caption{position:relative;z-index:2;color:#f6fbff;font-weight:800;letter-spacing:.01em;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.shop-color-row{display:grid;gap:10px;margin-top:6px}
.shop-color-row>span{font-size:.82rem;color:var(--muted);font-weight:700}
.shop-color-dots{display:flex;flex-wrap:wrap;gap:10px}
.color-dot{width:38px;height:38px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);display:inline-flex;align-items:center;justify-content:center;padding:0;box-shadow:none}
.color-dot span{width:18px;height:18px;border-radius:999px;background:var(--dot,#7aa5ff);display:block;box-shadow:0 0 0 2px rgba(255,255,255,.16) inset}
.color-dot.is-selected{border-color:rgba(124,241,211,.42);box-shadow:0 0 0 4px rgba(124,241,211,.12)}
.shop-visual{position:relative;overflow:hidden}
.shop-image{width:100%;height:100%;object-fit:cover;transition:opacity .28s ease,transform .28s ease}
.shop-image.is-back{position:absolute;inset:0;opacity:0;transform:scale(.985)}
.shop-card:hover .shop-image.is-back,.shop-card.is-flipped .shop-image.is-back{opacity:1;transform:scale(1)}
.shop-card:hover .shop-image.is-front,.shop-card.is-flipped .shop-image.is-front{opacity:0;transform:scale(.985)}
.header-player-shell,.header-player-now,.header-player-playlist,.promo-player-bar{backdrop-filter:none !important}
.header-player-backdrop{backdrop-filter:blur(8px) saturate(1.02) !important}
.header-player-dialog{overflow:visible!important}
.header-player-close,.promo-player-collapse{width:34px;height:34px;font-size:18px;line-height:1;padding:0;border-radius:999px}
.promo-player-bar{grid-template-columns:72px minmax(180px,260px) auto minmax(240px,1fr);align-items:center;padding:16px 18px 14px;border-radius:24px}
.promo-player-progress{min-width:0}
.promo-player-progress input,.header-player-progress input{accent-color:#7ae6d2}
.header-player-btn.is-playing svg,.header-icon-btn.is-playing svg{animation:headerPulse 1.15s ease-in-out infinite}
@keyframes headerPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}
@media(max-width:860px){.promo-player-bar{grid-template-columns:64px minmax(0,1fr)}.promo-player-controls,.promo-player-progress{grid-column:1/-1}}


/* 2026-04-14 fixes */
.site-header,.header-player-panel,.global-player,.glass-card,.featured-player,.promo-player-bar{backdrop-filter:none !important;}
body.header-player-open .site-header{filter:none !important;}


.home-users-search{grid-template-columns:minmax(0,1fr) auto;align-items:start}
.home-users-search input,.home-users-search .button{min-width:0}
.home-user-card{grid-template-columns:84px minmax(0,1fr);align-items:start}
.home-user-meta{display:grid;gap:14px;min-width:0}
.home-user-copy{display:grid;gap:8px;min-width:0}
.home-user-copy p{overflow-wrap:anywhere}
.home-user-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:.9rem}
.home-user-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:0}
.home-user-actions>*{flex:1 1 180px;min-width:0}
.home-user-actions form{display:flex}
.home-user-actions form .button,.home-user-actions form .button-secondary,.home-user-actions .pill{width:100%;justify-content:center;box-sizing:border-box}
@media (max-width:980px){.home-users-search{grid-template-columns:1fr}.home-users-search .button{width:100%}}

.home-users-search{margin-bottom:24px}.home-user-card{padding:18px}.media-library-grid{gap:22px}.section-block[hidden]{display:none!important}.header-player-mini-eq{display:none;gap:2px;margin-left:6px}.header-player-btn.is-playing .header-player-mini-eq{display:inline-flex}.header-player-mini-eq i{display:block;width:3px;height:12px;border-radius:999px;background:currentColor;animation:eqWave 1s ease-in-out infinite}.header-player-mini-eq i:nth-child(2){animation-delay:.16s}.header-player-mini-eq i:nth-child(3){animation-delay:.32s}

/* r6 targeted fixes */
.header-player-dialog{overflow:hidden}
.header-player-shell{width:100%}
.header-player-playlist{min-height:100%;box-sizing:border-box}
.header-player-close{right:14px}
.biography-grid{grid-template-columns:1fr;align-items:start}
.bio-copy{max-width:860px;position:relative;z-index:2}
.bio-media{margin-top:18px}
.video-grid{margin-top:10px}


/* 2026-04-14 r13 unified premium player final */
.header-player-panel{position:fixed;inset:0;z-index:80}
.header-player-backdrop{position:absolute;inset:0;background:rgba(2,6,15,.68);backdrop-filter:blur(10px) saturate(1.02)!important}
.header-player-dialog{position:relative;z-index:1;width:min(1220px,calc(100vw - 32px));margin:96px auto 24px;max-height:calc(100vh - 120px);overflow:visible!important}
.header-player-shell{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 360px;width:100%;min-height:min(58vh,620px);overflow:hidden;border-radius:36px;border:1px solid rgba(130,170,255,.2);background:linear-gradient(140deg,rgba(10,19,38,.96),rgba(5,10,22,.97));box-shadow:0 40px 120px rgba(0,0,0,.48)}
.header-player-shell::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top left,rgba(103,164,255,.22),transparent 36%),radial-gradient(circle at bottom right,rgba(124,241,211,.14),transparent 28%);pointer-events:none}
.header-player-close{position:absolute;top:16px;right:16px;z-index:4;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);color:var(--text);font-size:1.35rem;line-height:1}
.header-player-stage,.header-player-playlist,.header-player-now{position:relative;min-width:0}
.header-player-stage{display:grid;align-content:start;gap:14px;padding:24px}
.header-player-stage h3{margin:0;font-size:clamp(1.55rem,3.2vw,2.45rem)}
.header-player-stage p{margin:0;color:var(--muted);max-width:56ch}
.header-player-now{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-areas:'cover copy' 'controls controls' 'progress progress';gap:16px;max-width:760px;padding:22px;border-radius:28px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025))}
.header-player-cover{grid-area:cover;width:96px;height:96px;aspect-ratio:1;border-radius:26px;overflow:hidden;background:rgba(255,255,255,.04)}
.header-player-cover img{display:block;width:100%;height:100%;object-fit:cover}
.header-player-now-copy{grid-area:copy;display:grid;gap:6px;min-width:0;align-content:center}
.header-player-now-copy strong{font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.12;overflow-wrap:anywhere}
.header-player-now-copy span{font-size:1rem;color:#bcc9df;overflow-wrap:anywhere}
.header-player-controls{grid-area:controls;display:flex;align-items:center;gap:10px}
.header-player-progress{grid-area:progress;display:grid;gap:8px;min-width:0}
.header-player-progress input{width:100%}
.header-player-playlist{display:grid;align-content:start;gap:14px;padding:24px 20px;border-left:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01));box-sizing:border-box}
.header-player-playlist-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:52px}
.header-player-track{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;padding:14px;border-radius:22px;border:1px solid transparent;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));text-align:left;color:var(--text);box-sizing:border-box}
.header-player-track img{display:block;width:64px;height:64px;border-radius:18px;object-fit:cover;background:rgba(255,255,255,.04)}
.header-player-track-copy{display:grid;gap:4px;min-width:0}
.header-player-track-copy strong,.header-player-track-copy small{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.header-player-track-copy strong{font-size:1rem;line-height:1.2}
.header-player-track-copy small{font-size:.92rem;color:var(--muted)}
.header-player-index,.header-player-lock{justify-self:end}
@media (max-width:1100px){.header-player-shell{grid-template-columns:1fr}.header-player-playlist{border-left:0;border-top:1px solid rgba(255,255,255,.08)}.header-player-playlist-head{padding-right:52px}}
@media (max-width:760px){.header-player-dialog{width:calc(100vw - 14px);margin-top:74px}.header-player-stage{padding:18px}.header-player-now{grid-template-columns:1fr;grid-template-areas:'cover' 'copy' 'controls' 'progress';padding:18px}.header-player-cover{width:84px;height:84px}.header-player-track{grid-template-columns:56px minmax(0,1fr) auto;gap:12px}.header-player-track img{width:56px;height:56px;border-radius:16px}}

/* ===== css audit fixes 2026-04-15 ===== */
html,body{max-width:100%;overflow-x:hidden}
*,*::before,*::after{-webkit-tap-highlight-color:transparent}
a,button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],label[for],summary,.button,.header-icon-btn,.menu-toggle,.header-player-track,.promo-player-btn{touch-action:manipulation}
[hidden]{display:none !important}
.bg-orb,.bg-grid,.stack-card::after,.header-player-shell::before,.header-player-shell::after,.track-cover::after{pointer-events:none}
.header-player-panel,.header-notice-dropdown,.promo-player-bar,.site-header,.header-inner,.hero-copy,.hero-visual,.featured-card,.shop-card,.track-card,.news-card,.streaming-panel,.surface-card{isolation:isolate}
.header-player-panel[hidden],.header-notice-dropdown[hidden],.cookie-banner[hidden]{opacity:0;visibility:hidden;pointer-events:none}
.header-player-backdrop,.gallery-backdrop{pointer-events:auto}
.header-player-dialog,.header-notice-dropdown,.promo-player-bar{pointer-events:auto}
.header-player-panel{z-index:90}
.header-notice-dropdown{z-index:86;max-width:min(380px,calc(100vw - 24px))}
.header-player-dialog{overflow:auto!important;-webkit-overflow-scrolling:touch}
@media (max-width: 980px){
  .site-nav{pointer-events:none;visibility:hidden}
  body.menu-open .site-nav{pointer-events:auto;visibility:visible}
}


/* 2026-04-15 homepage premium player sync with profile */
.header-player-panel{position:fixed;inset:0;z-index:90}.header-player-backdrop{position:absolute;inset:0;background:rgba(2,7,18,.78)!important;backdrop-filter:blur(12px) saturate(1.04)!important}.header-player-dialog{position:relative;z-index:1;width:min(1220px,calc(100vw - 32px));margin:96px auto 24px;max-height:calc(100vh - 120px);overflow:visible!important}.header-player-shell{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 360px;width:100%;min-height:min(58vh,620px);overflow:hidden;border-radius:36px;border:1px solid rgba(130,170,255,.2);background:linear-gradient(140deg,rgba(10,19,38,.96),rgba(5,10,22,.97));box-shadow:0 40px 120px rgba(0,0,0,.48)}.header-player-shell::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top left,rgba(103,164,255,.22),transparent 36%),radial-gradient(circle at bottom right,rgba(124,241,211,.14),transparent 28%);pointer-events:none}.header-player-stage,.header-player-playlist,.header-player-now{position:relative;min-width:0}.header-player-stage{display:grid;align-content:start;gap:14px;padding:24px}.header-player-stage h3{margin:0;font-size:clamp(1.55rem,3.2vw,2.45rem)}.header-player-stage p{margin:0;color:var(--muted);max-width:56ch}.header-player-now{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-areas:'cover copy' 'controls controls' 'progress progress';gap:16px;max-width:760px;padding:22px;border-radius:28px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025))}.header-player-cover{grid-area:cover;width:96px;height:96px;aspect-ratio:1;border-radius:26px;overflow:hidden;background:rgba(255,255,255,.04)}.header-player-cover img{display:block;width:100%;height:100%;object-fit:cover}.header-player-now-copy{grid-area:copy;display:grid;gap:6px;min-width:0;align-content:center}.header-player-now-copy strong{font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.12;overflow-wrap:anywhere}.header-player-now-copy span{font-size:1rem;color:#bcc9df;overflow-wrap:anywhere}.header-player-controls{grid-area:controls;display:flex;align-items:center;gap:10px}.header-player-progress{grid-area:progress;display:grid;gap:8px;min-width:0}.header-player-progress input{width:100%}.header-player-playlist{display:grid;align-content:start;gap:14px;padding:24px 20px;border-left:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01));box-sizing:border-box;scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.header-player-playlist::-webkit-scrollbar{width:0;height:0}.header-player-playlist-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:52px}.header-player-search{display:block}.header-player-search .admin-input,.header-player-search input[type=search]{width:100%;-webkit-appearance:none;appearance:none;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.1)!important;color:var(--text)!important;min-height:48px;border-radius:16px;padding:12px 14px}.header-player-search input[type=search]::-webkit-search-decoration,.header-player-search input[type=search]::-webkit-search-cancel-button,.header-player-search input[type=search]::-webkit-search-results-button,.header-player-search input[type=search]::-webkit-search-results-decoration{display:none}.header-player-track{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;padding:14px;border-radius:22px;border:1px solid transparent;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));text-align:left;color:var(--text);box-sizing:border-box}.header-player-track:hover,.header-player-track.is-current{border-color:rgba(121,227,210,.4);background:linear-gradient(180deg,rgba(121,227,210,.1),rgba(255,255,255,.02))}.header-player-track[hidden]{display:none!important}.header-player-track img{display:block;width:64px;height:64px;border-radius:18px;object-fit:cover;background:rgba(255,255,255,.04)}.header-player-track-copy{display:grid;gap:4px;min-width:0}.header-player-track-copy strong,.header-player-track-copy small{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-player-track-copy strong{font-size:1rem;line-height:1.2}.header-player-track-copy small{font-size:.92rem;color:var(--muted)}.header-player-index,.header-player-lock{justify-self:end}.header-player-close{position:absolute;top:16px;right:16px;z-index:4;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);color:var(--text);font-size:1.35rem;line-height:1}.header-player-panel[data-search-empty='1'] .header-player-playlist::after{content:'Ничего не найдено';display:block;padding:14px 16px;border-radius:18px;border:1px dashed rgba(255,255,255,.12);color:var(--muted);background:rgba(255,255,255,.02)}html[lang='et'] .header-player-panel[data-search-empty='1'] .header-player-playlist::after{content:'Midagi ei leitud'}@media (max-width:1100px){.header-player-shell{grid-template-columns:1fr}.header-player-playlist{border-left:0;border-top:1px solid rgba(255,255,255,.08)}.header-player-playlist-head{padding-right:52px}}@media (max-width:760px){.header-player-dialog{width:calc(100vw - 14px);margin-top:74px}.header-player-stage{padding:18px}.header-player-now{grid-template-columns:1fr;grid-template-areas:'cover' 'copy' 'controls' 'progress';padding:18px}.header-player-cover{width:84px;height:84px}.header-player-track{grid-template-columns:56px minmax(0,1fr) auto;gap:12px}.header-player-track img{width:56px;height:56px;border-radius:16px}}


/* 2026-04-16 promo progress spacing fix */
.promo-player-progress{padding-top:14px}
@media (max-width:640px){.promo-player-progress{padding-top:18px}}

.bio-story-rich a{color:var(--theme-accent,#7aa5ff);text-decoration:underline}.cover-overlay:empty{display:none}

/* 2026-04-21 homepage mobile fixes */
@media (max-width: 860px){
  .site-header{overflow:visible!important;}
  .header-inner{grid-template-columns:1fr!important;justify-items:center!important;gap:12px!important;padding:12px 14px!important;}
  .brand{justify-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;min-width:0;}
  .brand-copy{display:none!important;}
  body[data-current-user-id]:not([data-current-user-id="0"]) .brand-copy,
  body[data-current-user-id]:not([data-current-user-id=""]) .brand-copy{display:none!important;}
  .header-actions{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;flex-wrap:nowrap!important;margin:0 auto!important;}
  .header-actions > *{flex:0 0 auto!important;}
  .header-icon-btn,.menu-toggle,.lang-pill{width:54px!important;height:54px!important;min-width:54px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
  .language-switcher{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;}
  .site-nav{position:fixed!important;left:18px!important;right:18px!important;top:108px!important;bottom:auto!important;width:auto!important;max-height:min(62vh,520px)!important;overflow:auto!important;padding:20px 18px!important;border-radius:28px!important;display:none!important;z-index:85!important;transform:none!important;}
  .site-nav.is-open,body.menu-open .site-nav{display:grid!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
  .site-nav a{padding:12px 14px!important;}
  #people .section-head,#people .section-head>div{justify-items:start!important;text-align:left!important;align-items:start!important;}
  #people .section-head{justify-content:flex-start!important;}
}
@media (max-width: 640px){
  .site-nav{top:102px!important;left:16px!important;right:16px!important;}
  .header-actions{gap:8px!important;}
  .header-icon-btn,.menu-toggle,.lang-pill{width:52px!important;height:52px!important;min-width:52px!important;}
}

@media (max-width: 860px){
  .header-player-panel{position:fixed!important;inset:0!important;display:flex!important;align-items:center;justify-content:center;overflow:auto!important;padding:14px 0 calc(92px + env(safe-area-inset-bottom));}
  .header-player-panel .header-player-dialog{position:relative!important;left:auto!important;right:auto!important;top:auto!important;margin:0 auto!important;width:min(calc(100vw - 16px),560px)!important;max-height:none!important;}
  .header-player-panel .header-player-shell{width:100%!important;margin:0 auto!important;}
}
@media (max-width: 720px){
  .header-player-panel .header-player-dialog{margin:8px auto 0!important;}
  .header-player-stage,.header-player-playlist,.header-player-now{padding:18px 16px!important;}
  .header-player-controls{justify-content:center!important;}
}


/* 2026-04-21 round 3 homepage mobile fixes */
@media (max-width: 860px){
  body.menu-open{overflow:hidden!important;touch-action:none}
  .site-header{padding-left:max(0px,env(safe-area-inset-left));padding-right:max(0px,env(safe-area-inset-right));overflow:visible!important}
  .header-inner{padding:12px 12px!important;overflow:visible!important}
  .header-actions{width:100%!important;justify-content:space-between!important;gap:6px!important;padding:0 2px!important}
  .header-actions > *{flex:0 0 auto!important}
  .header-icon-btn,.menu-toggle,.lang-pill{width:46px!important;height:46px!important;min-width:46px!important}
  .menu-toggle{margin-left:auto!important}
  .language-switcher{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;flex:0 0 auto!important}
  .site-nav{
    position:fixed!important;
    left:18px!important;
    right:18px!important;
    top:calc(env(safe-area-inset-top) + 92px)!important;
    width:auto!important;
    max-height:min(52vh,420px)!important;
    overflow:auto!important;
    padding:18px 16px!important;
    border-radius:26px!important;
    z-index:95!important;
    box-shadow:0 28px 80px rgba(0,0,0,.42)!important;
  }
  .site-nav a{padding:10px 12px!important}
  .profile-player-fab{
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
    width:min(calc(100vw - 24px),420px)!important;
    max-width:min(calc(100vw - 24px),420px)!important;
  }
  .header-player-panel{align-items:center!important;justify-content:center!important;padding:16px 0 calc(24px + env(safe-area-inset-bottom))!important}
  .header-player-panel .header-player-dialog{margin:0 auto!important;width:min(calc(100vw - 16px),560px)!important}
}
@media (max-width: 640px){
  .header-actions{gap:5px!important}
  .header-icon-btn,.menu-toggle,.lang-pill{width:44px!important;height:44px!important;min-width:44px!important}
  .site-nav{left:16px!important;right:16px!important;top:calc(env(safe-area-inset-top) + 86px)!important;max-height:min(50vh,390px)!important}
  .profile-player-fab{bottom:calc(10px + env(safe-area-inset-bottom))!important;width:min(calc(100vw - 18px),400px)!important;max-width:min(calc(100vw - 18px),400px)!important}
  .header-player-panel .header-player-dialog{width:min(calc(100vw - 12px),520px)!important}
}


/* 2026-04-21 homepage/mobile notice + menu corrections */
@media (max-width: 860px){
  .site-header{overflow:visible!important}
  .header-inner{overflow:visible!important}
  .header-notice-wrap{position:static!important}
  .header-notice-dropdown{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    top:calc(84px + env(safe-area-inset-top))!important;
    transform:translateX(-50%)!important;
    width:min(calc(100vw - 16px), 420px)!important;
    max-width:calc(100vw - 16px)!important;
    max-height:min(68vh, 540px)!important;
    overflow:auto!important;
    z-index:130!important;
  }
}


/* 2026-04-21 round 5 targeted fixes */
@media (max-width: 860px){
  .brand{gap:10px!important;}
  .brand img{background:transparent!important;box-shadow:none!important;}
  .header-actions{
    justify-content:center!important;
    align-items:center!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
    overflow:visible!important;
  }
  .header-actions > *{flex:0 0 auto!important;}
  .header-notice-dropdown{
    left:8px!important;
    right:8px!important;
    width:auto!important;
    max-width:none!important;
    transform:none!important;
    top:calc(env(safe-area-inset-top) + 84px)!important;
  }
  .site-nav{
    position:fixed!important;
    top:calc(env(safe-area-inset-top) + 92px)!important;
    left:16px!important;
    right:16px!important;
    width:auto!important;
    transform:none!important;
    margin:0!important;
  }
  body.menu-open .site-nav,
  .site-nav.is-open{
    position:fixed!important;
  }
  .header-player-panel{
    align-items:center!important;
    justify-content:center!important;
    padding:calc(env(safe-area-inset-top) + 8px) 8px calc(env(safe-area-inset-bottom) + 16px)!important;
  }
  .header-player-panel .header-player-dialog{
    width:min(calc(100vw - 16px), 540px)!important;
    margin:auto!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
  }
}
@media (max-width: 640px){
  .header-actions{gap:6px!important;}
  .header-icon-btn,.menu-toggle,.lang-pill{width:44px!important;height:44px!important;min-width:44px!important;}
  .header-player-panel .header-player-dialog{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;}
}


/* 2026-04-22 homepage resilience */
.hero-copy h1, .section-head h2, .featured-copy h3, .shop-copy h3, .track-body h3, .bio-copy h3, .header-player-now-copy strong, .header-player-track-copy strong { overflow-wrap: anywhere; }
.header-notice-dropdown, .header-player-dialog, .promo-player-bar { max-width: calc(100vw - 12px); }
@media (orientation: landscape) and (max-height: 540px) {
  .hero-section, .section-block { padding: 20px 0; }
  .header-player-panel { align-items: flex-start; padding: 8px 0; }
  .header-player-dialog { margin: 8px auto !important; max-height: calc(100dvh - 16px) !important; }
  .header-player-shell { min-height: auto !important; }
  .header-player-playlist { max-height: min(44dvh, 320px); }
}
