:root {
  color-scheme: dark;
  --bg: #09030d;
  --bg-2: #120719;
  --panel: rgba(19, 10, 27, .78);
  --panel-strong: rgba(28, 13, 39, .92);
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --text: #fff7ff;
  --muted: rgba(255, 247, 255, .68);
  --soft: rgba(255, 247, 255, .48);
  --magenta: #ff3edb;
  --cyan: #43efff;
  --gold: #ffbc69;
  --green: #63ffaf;
  --shadow: 0 30px 90px rgba(0, 0, 0, .45);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 5%, rgba(255, 62, 219, .22), transparent 28rem),
    radial-gradient(circle at 80% 8%, rgba(67, 239, 255, .14), transparent 25rem),
    radial-gradient(circle at 50% 110%, rgba(255, 188, 105, .11), transparent 32rem),
    linear-gradient(145deg, var(--bg), var(--bg-2) 52%, #06030a);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #120719;
}
.skip-link:focus { transform: translateY(0); }

.signal-canvas,
.bg-grid,
.bg-noise,
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.signal-canvas { z-index: -4; opacity: .58; }
.bg-grid {
  z-index: -3;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}
.bg-noise {
  z-index: -2;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.aurora { z-index: -1; overflow: hidden; filter: blur(30px); opacity: .65; }
.aurora span {
  position: absolute;
  width: 36vw;
  height: 36vw;
  min-width: 320px;
  min-height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,62,219,.28), transparent 62%);
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { top: 3%; left: -8%; }
.aurora span:nth-child(2) { right: -10%; top: 38%; background: radial-gradient(circle, rgba(67,239,255,.20), transparent 62%); animation-delay: -7s; }
@keyframes drift { to { transform: translate3d(9vw, 6vh, 0) scale(1.12); } }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(calc(100% - 28px), var(--max));
  margin: 14px auto 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 3, 13, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff, var(--cyan) 22%, var(--magenta) 58%, #321141 100%);
  box-shadow: 0 0 28px rgba(255, 62, 219, .5);
  color: #120719;
  font-weight: 950;
}
.brand strong { display: block; font-size: .94rem; line-height: 1; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.topnav { display: flex; align-items: center; gap: 6px; }
.topnav a {
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: .9rem;
}
.topnav a:hover { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.05); }
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: var(--muted);
}
.lang-switcher select {
  max-width: 128px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .86rem;
  cursor: pointer;
}
.lang-switcher select option {
  background: #120719;
  color: #fff7ff;
}
.lang-switcher:focus-within {
  border-color: rgba(67,239,255,.5);
  box-shadow: 0 0 0 3px rgba(67,239,255,.10);
}
[dir="rtl"] .brand,
[dir="rtl"] .top-actions,
[dir="rtl"] .hero-actions,
[dir="rtl"] .mini-actions,
[dir="rtl"] .card-footer,
[dir="rtl"] .footer,
[dir="rtl"] .footer nav {
  direction: rtl;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] p {
  letter-spacing: normal;
}

.page { width: min(calc(100% - 28px), var(--max)); margin: 0 auto; padding: 34px 0 28px; }
.hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .74fr);
  gap: 18px;
  align-items: stretch;
}
.hero-copy,
.hero-panel,
.album-card,
.feature-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.hero-copy {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(67,239,255,.22);
  box-shadow: inset 0 0 80px rgba(255,62,219,.14), 0 0 90px rgba(67,239,255,.12);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 850;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 8vw, 6.7rem);
  line-height: .86;
  letter-spacing: -.08em;
}
h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: .95; letter-spacing: -.045em; }
h3 { margin-bottom: 8px; font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1; letter-spacing: -.035em; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.55; }
.hero-actions, .mini-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.12); }
.btn.primary { border-color: rgba(67,239,255,.38); background: linear-gradient(135deg, rgba(67,239,255,.20), rgba(255,62,219,.18)); box-shadow: 0 0 34px rgba(67,239,255,.12); }
.btn.ghost { color: var(--muted); }

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
}
.pulse-orb {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: min(230px, 54vw);
  height: min(230px, 54vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #fff, var(--cyan) 7%, transparent 18%),
    radial-gradient(circle, rgba(255,62,219,.78), rgba(67,239,255,.22) 38%, rgba(255,188,105,.10) 64%, transparent 72%);
  box-shadow: 0 0 70px rgba(255,62,219,.33), inset 0 0 70px rgba(255,255,255,.12);
  animation: breathe 5.4s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translateX(-50%) scale(1.05); filter: saturate(1.25); } }
.panel-kicker { margin-bottom: 8px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 850; }
.hero-panel p:not(.panel-kicker) { color: var(--muted); line-height: 1.45; }
.quick-stack { display: grid; gap: 8px; margin-top: 10px; }
.quick-stack a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
}
.quick-stack span { color: var(--soft); }

.section-head {
  margin: 64px 0 18px;
  max-width: 720px;
}
.section-head p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.albums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.album-card { border-radius: var(--radius-xl); padding: 18px; overflow: hidden; }
.album-meta { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 16px; }
.cover {
  width: 118px;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.9);
  font-size: 2rem;
  font-weight: 950;
  box-shadow: inset 0 0 80px rgba(255,255,255,.11), 0 25px 50px rgba(0,0,0,.25);
}
.cover-sun { background: radial-gradient(circle at 26% 22%, #fff3c8, var(--gold) 16%, var(--magenta) 48%, #120719 100%); }
.cover-insane { background: radial-gradient(circle at 70% 18%, var(--cyan), #2558ff 20%, var(--magenta) 52%, #120719 100%); }
.tag { margin-bottom: 8px; color: var(--gold); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 850; }
.short-text { color: var(--muted); line-height: 1.45; margin-bottom: 0; }
.platform-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.platform {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  cursor: pointer;
}
.platform:hover, .platform.is-active { color: var(--text); border-color: rgba(67,239,255,.44); background: rgba(67,239,255,.10); }
.player-shell {
  position: relative;
  overflow: hidden;
  min-height: 352px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0,0,0,.26);
}
.player-shell iframe { width: 100%; height: 352px; display: block; border: 0; background: transparent; }
.external-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(67,239,255,.10), rgba(255,62,219,.08) 45%, rgba(0,0,0,.25));
}
.external-fallback p { margin: 0; color: var(--muted); max-width: 340px; }
.fallback-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--cyan); }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; color: var(--muted); }
.open-link { color: var(--text); font-weight: 750; }
.open-link:hover { color: var(--cyan); }

.direct-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: var(--soft);
  font-size: .82rem;
}
.direct-links span { color: var(--muted); margin-right: 2px; }
.direct-links a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: var(--muted);
  text-decoration: none;
}
.direct-links a:hover {
  color: var(--text);
  border-color: rgba(67,239,255,.38);
  background: rgba(67,239,255,.08);
}

.listen-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; margin-top: 22px; }
.feature-card { border-radius: var(--radius-xl); padding: clamp(22px, 4vw, 34px); }
.feature-card p:not(.eyebrow) { color: var(--muted); line-height: 1.55; max-width: 650px; }
.radio-card { background: linear-gradient(145deg, rgba(67,239,255,.13), rgba(255,62,219,.08), rgba(255,255,255,.035)); }
.footer {
  width: min(calc(100% - 28px), var(--max));
  margin: 10px auto 0;
  padding: 24px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--soft);
  font-size: .9rem;
}
.footer nav { display: flex; gap: 14px; flex-wrap: wrap; }
.footer a:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .topnav { display: none; }
  .hero, .albums, .listen-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-panel { min-height: 320px; }
  .section-head { margin-top: 44px; }
}
@media (max-width: 560px) {
  .topbar { width: calc(100% - 18px); margin-top: 9px; padding: 8px; }
  .brand small { display: none; }
  .lang-switcher { min-height: 38px; padding: 0 8px; }
  .lang-switcher select { max-width: 96px; font-size: .82rem; }
  .page { width: calc(100% - 18px); padding-top: 18px; }
  .hero-copy, .hero-panel, .album-card, .feature-card { border-radius: 24px; }
  .hero-copy { padding: 28px 20px; }
  h1 { font-size: clamp(2.8rem, 18vw, 4.4rem); }
  .album-meta { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; }
  .cover { width: 78px; border-radius: 18px; font-size: 1.35rem; }
  .player-shell { min-height: 312px; }
  .player-shell iframe { height: 312px; }
  .platform-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .platform { flex: 0 0 auto; }
  .footer { width: calc(100% - 18px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}


/* v0.7 legal pages + embed fixes */
.player-shell iframe[hidden],
.external-fallback[hidden] {
  display: none !important;
}
.player-shell iframe {
  color-scheme: normal;
}
.legal-page {
  width: min(calc(100% - 28px), 920px);
  margin: 0 auto;
  padding: 40px 0 34px;
}
.legal-document {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  padding: clamp(22px, 5vw, 46px);
}
.legal-document .legal-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 850;
}
.legal-document h1 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 8vw, 4.6rem);
  line-height: .92;
  letter-spacing: -.065em;
}
.legal-document .legal-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}
.legal-meta-line {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 10px 0 26px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255,255,255,.045);
  font-size: .85rem;
}
.legal-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal-section h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}
.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.62;
}
.legal-section ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}
[dir="rtl"] .legal-section ul {
  padding-left: 0;
  padding-right: 1.2rem;
}
.legal-doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}
.legal-doc-nav a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.05);
}
.legal-doc-nav a[aria-current="page"],
.legal-doc-nav a:hover {
  color: var(--text);
  border-color: rgba(67,239,255,.44);
  background: rgba(67,239,255,.10);
}
@media (max-width: 560px) {
  .legal-page { width: calc(100% - 18px); padding-top: 20px; }
  .legal-document { border-radius: 24px; }
}

/* v0.7.1: only real embeds are selectable; external services stay as direct links. */
.player-shell .external-fallback:not([hidden]) {
  position: static;
  min-height: 352px;
}

/* v0.8 polish pass: clearer hierarchy, better focus states, safer embeds. */
::selection {
  color: #09030d;
  background: rgba(67, 239, 255, .86);
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(67, 239, 255, .88);
  outline-offset: 3px;
}

.topbar {
  border-color: rgba(255,255,255,.15);
  background: linear-gradient(135deg, rgba(9,3,13,.82), rgba(22,8,31,.66));
}

.brand-mark {
  position: relative;
  isolation: isolate;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from 140deg, rgba(67,239,255,.45), rgba(255,62,219,.42), rgba(255,188,105,.35), rgba(67,239,255,.45));
  filter: blur(12px);
  opacity: .55;
}

.hero-copy,
.hero-panel,
.album-card,
.feature-card,
.legal-document {
  position: relative;
}

.hero-copy::before,
.album-card::before,
.feature-card::before,
.legal-document::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 28%, rgba(67,239,255,.07) 68%, transparent);
  opacity: .62;
  mask: linear-gradient(#000, transparent 64%);
}

h1 {
  max-width: 720px;
  line-height: .9;
  text-wrap: balance;
}

.lead,
.short-text,
.feature-card p:not(.eyebrow),
.section-head p:not(.eyebrow) {
  text-wrap: pretty;
}

.btn:active,
.platform:active,
.quick-stack a:active,
.direct-links a:active {
  transform: translateY(0) scale(.985);
}

.album-card {
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.album-card:hover {
  transform: translateY(-3px);
  border-color: rgba(67,239,255,.28);
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
  box-shadow: 0 34px 95px rgba(0,0,0,.50), 0 0 42px rgba(67,239,255,.055);
}

.cover {
  position: relative;
  overflow: hidden;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 12%, rgba(255,255,255,.28) 48%, transparent 58%);
  transform: translateX(-120%);
  animation: coverSheen 8s ease-in-out infinite;
  opacity: .55;
}
@keyframes coverSheen {
  0%, 55% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}

.platform-row {
  padding: 4px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 999px;
  background: rgba(0,0,0,.13);
}
.platform {
  min-height: 40px;
  white-space: nowrap;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.platform.is-active {
  box-shadow: inset 0 0 0 1px rgba(67,239,255,.12), 0 0 22px rgba(67,239,255,.10);
}

.player-shell {
  min-height: var(--player-height, 380px);
  border-color: rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 20% 0%, rgba(67,239,255,.10), transparent 42%),
    radial-gradient(circle at 82% 100%, rgba(255,62,219,.12), transparent 42%),
    rgba(0,0,0,.32);
  contain: content;
}
.player-shell iframe {
  position: relative;
  z-index: 2;
  height: var(--player-height, 380px);
  border-radius: 19px;
}
.player-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.08) 22%, transparent 44%);
  transform: translateX(-120%);
}
.player-shell.is-loading::before {
  opacity: .72;
  animation: playerLoading 1.2s ease-in-out infinite;
}
@keyframes playerLoading { to { transform: translateX(120%); } }

.card-footer {
  min-height: 38px;
  padding: 0 2px;
}
.card-footer [data-current-label] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 760;
  color: rgba(255,247,255,.78);
}
.card-footer [data-current-label]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(99,255,175,.56);
}
.open-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
}
.open-link:hover {
  border-color: rgba(67,239,255,.35);
  background: rgba(67,239,255,.075);
}

.direct-links {
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.feature-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer {
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer nav a {
  padding: 2px 0;
}

.noscript {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto 24px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255,255,255,.055);
}

@media (max-width: 900px) {
  .platform-row {
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .hero-actions .btn,
  .mini-actions .btn {
    flex: 1 1 auto;
  }
  .album-card:hover {
    transform: none;
  }
  .platform-row {
    margin-left: -2px;
    margin-right: -2px;
    border-radius: 18px;
    scroll-snap-type: x proximity;
  }
  .platform {
    scroll-snap-align: start;
  }
  .player-shell {
    min-height: min(var(--player-height, 340px), 380px);
  }
  .player-shell iframe {
    height: min(var(--player-height, 340px), 380px);
  }
  .card-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .open-link {
    justify-content: center;
  }
  .direct-links a {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cover::after,
  .player-shell.is-loading::before {
    animation: none !important;
  }
}

/* v0.9: minimal ShenRadio player inside the music page. */
.radio-mini {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(67, 239, 255, .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 0%, rgba(67,239,255,.14), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 18px 44px rgba(0,0,0,.22);
}
.radio-mini-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,247,255,.72);
  font-size: .78rem;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(99,255,175,.72);
  animation: livePulse 1.9s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { transform: scale(.92); opacity: .72; }
  50% { transform: scale(1.22); opacity: 1; }
}
.radio-mini-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.radio-play {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(67,239,255,.38);
  border-radius: 20px;
  color: #fff7ff;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 36%),
    linear-gradient(135deg, rgba(67,239,255,.22), rgba(255,62,219,.18));
  box-shadow: 0 0 28px rgba(67,239,255,.13);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.radio-play:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.42);
  box-shadow: 0 0 32px rgba(255,62,219,.13), 0 0 22px rgba(67,239,255,.12);
}
.radio-play.is-playing {
  border-color: rgba(99,255,175,.44);
  background: linear-gradient(135deg, rgba(99,255,175,.18), rgba(67,239,255,.16));
}
.radio-play span {
  display: inline-block;
  font-size: 1.25rem;
  transform: translateX(1px);
}
.radio-mini-copy {
  min-width: 0;
}
.radio-mini-copy strong,
.radio-mini-copy small {
  display: block;
}
.radio-mini-copy strong {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: -.01em;
}
.radio-mini-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 650;
}
.radio-mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.radio-mini-actions .btn {
  min-height: 38px;
  padding: 0 13px;
  font-size: .88rem;
}
@media (max-width: 560px) {
  .radio-mini {
    padding: 14px;
    border-radius: 20px;
  }
  .radio-mini-main {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }
  .radio-play {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }
  .radio-mini-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none !important; }
}

/* Global ecosystem footer links added in the consolidated pack. */
.ecosystem-footer{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:.35rem 0;
}
.ecosystem-footer a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 .72rem;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  color:rgba(255,248,255,.78);
  background:rgba(255,255,255,.045);
  text-decoration:none;
  font-size:.84rem;
  font-weight:800;
}
.ecosystem-footer a:hover,.ecosystem-footer a:focus-visible{
  color:#fff;
  border-color:rgba(54,242,255,.42);
  background:rgba(54,242,255,.08);
  outline:0;
}
.micro-links{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.85rem}
.micro-links a{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:.55rem .72rem;background:rgba(255,255,255,.055);color:rgba(255,248,255,.86);text-decoration:none;font-size:.88rem;font-weight:800}
.micro-links a:hover,.micro-links a:focus-visible{color:#fff;border-color:rgba(54,242,255,.4);outline:0}
@media (max-width:620px){.ecosystem-footer{width:100%}.ecosystem-footer a{flex:1 1 auto}}
