:root {
  --green: #198f43;
  --green-bright: #23c45d;
  --black: #fff4e8;
  --black-soft: #ffe9d2;
  --orange: #ff8a1f;
  --orange-deep: #f06f11;
  --orange-soft: #ffb061;
  --red: #d62828;
  --red-soft: #ff5b5b;
  --text: #3a210f;
  --muted: #7a5238;
  --card: rgba(255, 246, 236, 0.9);
  --border: rgba(120, 63, 28, 0.2);
  --shadow: 0 12px 28px rgba(120, 63, 28, 0.16);
}

* { box-sizing: border-box; }

img,
iframe,
canvas {
  max-width: 100%;
}

html, body { min-height: 100%; }

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Outfit', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(160deg, #1f9a49 0%, #198f43 48%, #137337 100%),
    radial-gradient(1100px 480px at 18% 8%, rgba(255, 255, 255, 0.1), transparent 60%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(165deg, transparent 0 72%, rgba(214, 40, 40, 0.88) 72% 80%, rgba(25, 143, 67, 0.86) 80% 88%, rgba(255, 138, 31, 0.92) 88% 100%),
    radial-gradient(760px 360px at 82% 12%, rgba(255, 255, 255, 0.16), transparent 72%),
    radial-gradient(900px 380px at 20% 110%, rgba(255, 138, 31, 0.18), transparent 74%);
  mix-blend-mode: normal;
  z-index: 0;
}

.topbar,
.container {
  position: relative;
  z-index: 1;
}

.flag-accent {
  height: 8px;
  width: 100%;
  background: linear-gradient(90deg, var(--green) 0 42%, var(--red) 42% 72%, var(--orange) 72% 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 28px rgba(255, 138, 31, 0.35);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin: 10px auto 0;
  padding: 14px;
  padding-left: max(14px, env(safe-area-inset-left));
  padding-right: max(14px, env(safe-area-inset-right));
  max-width: 1160px;
  background: rgba(255, 237, 217, 0.93);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.topbar-upper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

/* —— Header spotlight / adverts strip (layered glass + motion) —— */
.header-adverts-bar {
  --ha-surface: rgba(255, 252, 248, 0.58);
  --ha-edge: rgba(120, 63, 28, 0.14);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.5) 0%, transparent 42%),
    linear-gradient(315deg, rgba(35, 196, 93, 0.08) 0%, transparent 38%),
    linear-gradient(205deg, rgba(255, 138, 31, 0.1) 0%, transparent 45%),
    var(--ha-surface);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 18px 48px rgba(25, 100, 55, 0.1),
    0 6px 20px rgba(120, 63, 28, 0.08);
  overflow: hidden;
}

.header-adverts-bar::before {
  content: "";
  position: absolute;
  inset: -55%;
  z-index: 0;
  opacity: 0.55;
  background: conic-gradient(
    from 220deg at 50% 50%,
    rgba(35, 196, 93, 0.22) 0deg,
    rgba(255, 184, 120, 0.18) 95deg,
    rgba(214, 40, 40, 0.14) 200deg,
    rgba(35, 196, 93, 0.18) 360deg
  );
  animation: headerAdvertsAura 14s linear infinite;
  pointer-events: none;
}

.header-adverts-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(255, 255, 255, 0.03) 11px,
      rgba(255, 255, 255, 0.03) 12px
    );
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.5;
}

.header-adverts-bar > * {
  position: relative;
  z-index: 2;
}

.header-adverts-label {
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  color: #3f2918;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 241, 224, 0.75) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 14px rgba(255, 138, 31, 0.18),
    0 0 0 1px rgba(255, 176, 97, 0.22);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.header-adverts-track-wrap {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 246, 236, 0.35) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 8px 24px rgba(120, 63, 28, 0.06) inset;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.header-adverts-track {
  display: inline-flex;
  gap: 12px;
  white-space: nowrap;
  padding: 8px 4px;
  animation: advertsScroll 34s linear infinite;
  will-change: transform;
}

.header-adverts-track--single {
  animation: none;
  width: 100%;
  justify-content: center;
}

.advert-placement-fieldset {
  border: 1px solid var(--border, #333);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 14px;
}

.advert-placement-option {
  display: block;
  margin: 6px 0;
  cursor: pointer;
}

.header-adverts-item {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #4a2c14;
  border: 1px solid rgba(255, 176, 97, 0.38);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 236, 214, 0.82) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 6px 16px rgba(214, 103, 16, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-adverts-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 138, 31, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 22px rgba(255, 138, 31, 0.18);
}

.header-adverts-item a {
  color: var(--orange-deep);
  font-weight: 700;
  text-decoration: none;
  padding: 2px 8px;
  margin: -2px -4px -2px 0;
  border-radius: 999px;
  background: rgba(255, 138, 31, 0.12);
  border: 1px solid rgba(255, 138, 31, 0.28);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-adverts-item a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  border-color: rgba(255, 200, 150, 0.6);
}

.header-adverts-bar--empty {
  border-color: rgba(255, 255, 255, 0.52);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 248, 240, 0.45) 55%, rgba(255, 255, 255, 0.38) 100%),
    var(--ha-surface);
  animation: headerEmptyBarGlow 4.5s ease-in-out infinite;
}

.header-adverts-bar--empty::before {
  opacity: 0.35;
  animation-duration: 22s;
}

.header-adverts-bar--empty-public::before {
  opacity: 0.48;
  animation-duration: 18s;
}

.header-adverts-bar--empty .header-adverts-label {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 244, 230, 0.65) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 3px 12px rgba(120, 63, 28, 0.08);
}

.header-adverts-bar--empty-public .header-adverts-label {
  animation: headerEmptyLabelGlow 3.2s ease-in-out infinite;
}

.header-adverts-empty {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 2px 0;
}

.header-adverts-empty-main {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 1 1 220px;
}

.header-adverts-live-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #b8ffd4 0%, var(--green-bright) 38%, var(--green) 100%);
  box-shadow:
    0 0 0 0 rgba(35, 196, 93, 0.45),
    0 0 12px rgba(35, 196, 93, 0.35);
  animation: headerLivePulse 2.2s ease-out infinite;
}

.header-adverts-empty--admin .header-adverts-live-dot {
  background: radial-gradient(circle at 30% 28%, #ffe8c8 0%, var(--orange-soft) 45%, var(--orange) 100%);
  animation: headerLivePulseAdmin 2.8s ease-out infinite;
}

.header-adverts-empty-text {
  font-size: 0.81rem;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.02em;
  max-width: 52ch;
}

.header-adverts-empty--admin .header-adverts-empty-text {
  color: rgba(42, 28, 18, 0.82);
  animation: headerEmptyTextSoft 5s ease-in-out infinite;
}

.header-adverts-empty--public .header-adverts-empty-text {
  background: linear-gradient(
    100deg,
    #3a2618 0%,
    #5c3d24 18%,
    #8a552e 32%,
    #c45a0a 50%,
    #8a552e 68%,
    #5c3d24 82%,
    #3a2618 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headerEmptyTextFlow 7s ease-in-out infinite;
}

.header-adverts-cta {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #2e1f12;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 232, 208, 0.88) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 18px rgba(255, 138, 31, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.header-adverts-cta-label {
  position: relative;
  z-index: 1;
}

.header-adverts-cta-shine {
  position: absolute;
  inset: -40% -60%;
  width: 45%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  transform: translateX(-120%) skewX(-12deg);
  animation: headerCtaShine 3.8s ease-in-out infinite;
  pointer-events: none;
}

.header-adverts-bar--empty-public .header-adverts-cta {
  animation: headerCtaPulse 2.6s ease-in-out infinite;
}

.header-adverts-cta:hover {
  color: #1a1109;
  transform: translateY(-2px);
  border-color: rgba(255, 176, 97, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 28px rgba(255, 138, 31, 0.28);
}

.header-adverts-bar--empty-public .header-adverts-cta:hover {
  animation: none;
}

.header-adverts-cta:hover .header-adverts-cta-shine {
  animation-play-state: paused;
}

.header-adverts-cta:active {
  transform: translateY(0);
}

@keyframes headerAdvertsAura {
  to {
    transform: rotate(360deg);
  }
}

@keyframes headerEmptyBarGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.35) inset,
      0 1px 0 rgba(255, 255, 255, 0.65) inset,
      0 18px 48px rgba(25, 100, 55, 0.08),
      0 6px 20px rgba(120, 63, 28, 0.06),
      0 0 28px rgba(255, 138, 31, 0.06);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.45) inset,
      0 1px 0 rgba(255, 255, 255, 0.75) inset,
      0 22px 56px rgba(25, 143, 67, 0.12),
      0 8px 26px rgba(255, 138, 31, 0.1),
      0 0 36px rgba(35, 196, 93, 0.12);
  }
}

@keyframes headerEmptyLabelGlow {
  0%, 100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 3px 12px rgba(120, 63, 28, 0.08);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 4px 18px rgba(255, 138, 31, 0.22),
      0 0 20px rgba(35, 196, 93, 0.15);
  }
}

@keyframes headerLivePulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(35, 196, 93, 0.45),
      0 0 12px rgba(35, 196, 93, 0.35);
  }
  55% {
    transform: scale(1.05);
    box-shadow:
      0 0 0 10px rgba(35, 196, 93, 0),
      0 0 18px rgba(35, 196, 93, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(35, 196, 93, 0),
      0 0 12px rgba(35, 196, 93, 0.3);
  }
}

@keyframes headerLivePulseAdmin {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(255, 138, 31, 0.35),
      0 0 10px rgba(255, 138, 31, 0.28);
  }
  55% {
    transform: scale(1.06);
    box-shadow:
      0 0 0 9px rgba(255, 138, 31, 0),
      0 0 16px rgba(255, 138, 31, 0.22);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(255, 138, 31, 0),
      0 0 10px rgba(255, 138, 31, 0.25);
  }
}

@keyframes headerEmptyTextFlow {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes headerEmptyTextSoft {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.88;
  }
}

@keyframes headerCtaShine {
  0% {
    transform: translateX(-140%) skewX(-12deg);
  }
  40%, 100% {
    transform: translateX(220%) skewX(-12deg);
  }
}

@keyframes headerCtaPulse {
  0%, 100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.9) inset,
      0 6px 18px rgba(255, 138, 31, 0.2);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 8px 22px rgba(255, 138, 31, 0.32),
      0 0 0 1px rgba(255, 176, 97, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-adverts-bar::before {
    animation: none;
    opacity: 0.25;
  }

  .header-adverts-bar--empty {
    animation: none;
  }

  .header-adverts-bar--empty-public::before {
    opacity: 0.3;
  }

  .header-adverts-bar--empty-public .header-adverts-label {
    animation: none;
  }

  .header-adverts-live-dot {
    animation: none;
    box-shadow: 0 0 10px rgba(35, 196, 93, 0.3);
  }

  .header-adverts-empty--admin .header-adverts-live-dot {
    animation: none;
    box-shadow: 0 0 10px rgba(255, 138, 31, 0.25);
  }

  .header-adverts-empty--public .header-adverts-empty-text {
    animation: none;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: rgba(42, 28, 18, 0.88);
  }

  .header-adverts-empty--admin .header-adverts-empty-text {
    animation: none;
  }

  .header-adverts-cta-shine {
    display: none;
  }

  .header-adverts-bar--empty-public .header-adverts-cta {
    animation: none;
  }

  .header-adverts-track {
    animation: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 8px;
  }

  .header-adverts-item:hover,
  .header-adverts-cta:hover {
    transform: none;
  }
}

.topbar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 138, 31, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 138, 31, 0.12);
  border-color: rgba(255, 176, 97, 0.72);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #6a3714;
  transition: transform .22s ease, opacity .22s ease;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 5px;
}

.topbar.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.topbar.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.topbar.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 176, 97, 0.55);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
  animation: logoFloat 3.8s ease-in-out infinite, logoGlow 2.8s ease-in-out infinite;
}

.brand-wrap:hover .brand-logo {
  transform: translateY(-2px) rotate(-2deg) scale(1.04);
  filter: saturate(1.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26), 0 0 18px rgba(255, 176, 97, 0.36);
}
.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes logoGlow {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.07) saturate(1.08); }
}
.brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(100deg, var(--green-bright), var(--orange-soft) 55%, var(--red-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.3px;
}
.brand-sub {
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: flex-end;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.main-nav a,
.link-btn {
  color: #ff8a1f;
  text-decoration: none;
  border: 1px solid rgba(255, 138, 31, 0.35);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 5px 8px;
  font-weight: 500;
  font-size: 0.8rem;
  transition: all .2s ease;
  cursor: pointer;
}

.main-nav a:hover,
.link-btn:hover {
  color: #ffb061;
  border-color: rgba(255, 176, 97, 0.72);
  background: rgba(255, 138, 31, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 138, 31, 0.35);
}

.container {
  max-width: 1160px;
  margin: 24px auto;
  padding: 0 14px 30px;
  padding-left: max(14px, env(safe-area-inset-left));
  padding-right: max(14px, env(safe-area-inset-right));
  padding-bottom: max(30px, env(safe-area-inset-bottom));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.card > :last-child {
  margin-bottom: 0;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green-bright), var(--orange-soft), var(--red-soft));
  opacity: 0.9;
}

.soft-card {
  background: rgba(255, 239, 222, 0.84);
}

h1, h2, h3, h4 {
  margin-top: 0;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

p, small, li {
  color: var(--muted);
}

p {
  line-height: 1.6;
}

.grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.row.spread {
  justify-content: space-between;
}

.section-heading {
  margin-bottom: 4px;
}

.song-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 11px 0;
}

.review-card {
  border: 1px solid rgba(255, 190, 128, 0.45);
  border-radius: 14px;
  padding: 14px;
  margin: 12px 0;
  background: linear-gradient(145deg, rgba(255, 240, 221, 0.96), rgba(255, 226, 191, 0.92));
  box-shadow: 0 10px 22px rgba(120, 63, 28, 0.16);
}

.review-card-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.review-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.review-media-item {
  border: 1px solid rgba(255, 176, 97, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.35);
  padding: 10px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.review-media-item label {
  font-weight: 700;
  color: #6a3714;
}

.review-audio-player {
  width: 100%;
}

.review-image-thumb {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 176, 97, 0.5);
  box-shadow: 0 8px 18px rgba(120, 63, 28, 0.14);
}

.review-action-form {
  margin-top: 12px;
}

.song-card {
  border: 1px solid rgba(255, 196, 132, 0.36);
  border-radius: 14px;
  padding: 14px;
  margin: 12px 0;
  background:
    linear-gradient(165deg, rgba(255, 232, 204, 0.94), rgba(255, 214, 171, 0.9)),
    radial-gradient(500px 180px at 85% 0%, rgba(255, 176, 97, 0.22), transparent 70%),
    radial-gradient(460px 180px at 18% 100%, rgba(35, 196, 93, 0.14), transparent 72%);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.song-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 97, 0.65);
  box-shadow: 0 14px 28px rgba(170, 93, 29, 0.22), 0 0 0 1px rgba(255, 138, 31, 0.2);
}

.music-cover-thumb {
  width: 132px;
  height: 132px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 186, 122, 0.48);
  margin-bottom: 8px;
  box-shadow: 0 10px 20px rgba(120, 63, 28, 0.2);
  transition: transform .25s ease, box-shadow .25s ease;
}

.music-cover-placeholder {
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #8f5a31;
  background: linear-gradient(145deg, rgba(255, 230, 199, 0.95), rgba(255, 210, 161, 0.92));
}

.music-cover-wrap {
  position: relative;
  width: 132px;
  height: 132px;
}

.music-cover-wrap .music-cover-thumb {
  margin-bottom: 0;
}

.music-badges {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-self: start;
}

.music-now-playing {
  display: none;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: #111;
  border-radius: 999px;
  padding: 4px 10px;
  background: linear-gradient(90deg, rgba(25, 143, 67, 0.98), rgba(255, 138, 31, 0.92), rgba(214, 40, 40, 0.92));
  border: 1px solid rgba(17, 17, 17, 0.18);
  box-shadow: 0 10px 22px rgba(47, 29, 15, 0.22), 0 0 0 2px rgba(255, 255, 255, 0.22) inset;
}

.music-eq {
  position: absolute;
  right: 8px;
  bottom: 8px;
  height: 18px;
  display: none;
  gap: 3px;
  align-items: flex-end;
  padding: 6px 7px;
  border-radius: 999px;
  background: rgba(255, 244, 229, 0.75);
  border: 1px solid rgba(24, 24, 24, 0.18);
  box-shadow: 0 8px 16px rgba(47, 29, 15, 0.18);
  backdrop-filter: blur(6px);
}

.music-eq i {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(35, 196, 93, 0.95), rgba(255, 138, 31, 0.9), rgba(214, 40, 40, 0.9));
  animation: eqBounce 1.1s infinite ease-in-out;
}
.music-eq i:nth-child(2) { animation-delay: .12s; }
.music-eq i:nth-child(3) { animation-delay: .24s; }
.music-eq i:nth-child(4) { animation-delay: .36s; }

@keyframes eqBounce {
  0%, 100% { height: 6px; opacity: .85; }
  40% { height: 16px; opacity: 1; }
  70% { height: 10px; opacity: .95; }
}

.music-grid .song-card.is-playing {
  border-color: rgba(35, 196, 93, 0.68);
  box-shadow:
    0 22px 40px rgba(47, 29, 15, 0.3),
    0 0 0 2px rgba(255, 138, 31, 0.18),
    0 0 0 1px rgba(214, 40, 40, 0.24);
}

@keyframes flagPulse {
  0%, 100% { filter: saturate(1) brightness(1); }
  50% { filter: saturate(1.22) brightness(1.05); }
}

.music-grid .song-card.is-playing {
  animation: flagPulse 1.9s ease-in-out infinite;
}

.music-grid .song-card.is-playing::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 12px;
  pointer-events: none;
  background: conic-gradient(from 180deg,
    rgba(25,143,67,0.22),
    rgba(255,138,31,0.20),
    rgba(214,40,40,0.20),
    rgba(17,17,17,0.14),
    rgba(25,143,67,0.22));
  filter: blur(12px);
  opacity: .7;
}

.music-grid .song-card.is-playing .music-now-playing,
.music-grid .song-card.is-playing .music-eq {
  display: inline-flex;
}

.music-grid .song-card.is-playing .music-cover-thumb {
  transform: scale(1.06);
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.music-grid .song-card {
  margin: 0;
  border: 1px solid rgba(214, 40, 40, 0.45);
  background:
    linear-gradient(155deg, rgba(18, 110, 49, 0.2) 0%, rgba(255, 240, 220, 0.96) 36%, rgba(255, 221, 187, 0.94) 100%),
    linear-gradient(125deg, transparent 0 64%, rgba(214, 40, 40, 0.2) 64% 74%, rgba(24, 24, 24, 0.28) 74% 84%, rgba(255, 138, 31, 0.24) 84% 100%),
    radial-gradient(520px 210px at 8% 100%, rgba(35, 196, 93, 0.2), transparent 72%);
  box-shadow: 0 14px 24px rgba(47, 29, 15, 0.2);
  overflow: hidden;
  position: relative;
}

.music-grid .song-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #198f43 0 42%, #d62828 42% 72%, #111111 72% 84%, #ff8a1f 84% 100%);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  opacity: 0.95;
}

.music-grid .song-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 31, 0.72);
  box-shadow: 0 20px 34px rgba(47, 29, 15, 0.28), 0 0 0 1px rgba(214, 40, 40, 0.25);
}

.music-grid .song-card:hover .music-cover-thumb {
  transform: scale(1.04);
  box-shadow: 0 14px 28px rgba(120, 63, 28, 0.28);
}

.music-card-head {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.music-title-wrap h3 {
  margin: 0;
  color: #4f290f;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: .15px;
}

.music-meta {
  margin-top: 4px;
  font-size: .84rem;
  color: #6b4022;
  font-weight: 600;
}

.music-meta-tags {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.music-meta-tags span {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #5d3113;
  background: linear-gradient(120deg, rgba(25, 143, 67, 0.18), rgba(255, 138, 31, 0.18), rgba(214, 40, 40, 0.14));
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 999px;
  padding: 3px 8px;
}

.music-tag-province {
  background: linear-gradient(120deg, rgba(25, 143, 67, 0.28), rgba(25, 143, 67, 0.12)) !important;
  border-color: rgba(25, 143, 67, 0.45) !important;
  color: #14532d !important;
  text-transform: none !important;
  letter-spacing: .2px !important;
  font-size: .72rem !important;
}

.music-page .filter-row input {
  border-color: rgba(17, 17, 17, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 248, 239, 0.96), rgba(255, 236, 214, 0.92)),
    linear-gradient(90deg, rgba(25, 143, 67, 0.12), rgba(214, 40, 40, 0.10), rgba(17, 17, 17, 0.10), rgba(255, 138, 31, 0.12));
}

.music-page .filter-row select {
  border-color: rgba(17, 17, 17, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 248, 239, 0.96), rgba(255, 236, 214, 0.92)),
    linear-gradient(90deg, rgba(25, 143, 67, 0.12), rgba(214, 40, 40, 0.10), rgba(17, 17, 17, 0.10), rgba(255, 138, 31, 0.12));
}

.music-page .filter-row button {
  background: linear-gradient(120deg, rgba(25, 143, 67, 0.98), rgba(255, 138, 31, 0.92), rgba(214, 40, 40, 0.92));
  color: #1a0f08;
}

.music-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  align-items: center;
}

.music-actions .btn,
.music-actions button {
  padding: 7px 10px;
  font-size: .8rem;
  border-radius: 999px;
}

.music-actions details.inline-form {
  margin: 0;
}

.music-actions details.inline-form > summary {
  list-style: none;
}

.music-actions details.inline-form > summary::-webkit-details-marker {
  display: none;
}

.connect-form {
  display: grid;
  gap: 8px;
  min-width: 240px;
  margin-top: 8px;
}

.connect-form textarea {
  min-height: 72px;
}

.music-grid .trackable-audio {
  margin-top: 0;
  height: 22px;
  max-width: 180px;
  width: 100%;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 12px rgba(120, 63, 28, 0.12);
}

.music-stats {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.music-stats span {
  font-size: .73rem;
  font-weight: 700;
  color: #4a260f;
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.18), rgba(255, 138, 31, 0.2), rgba(214, 40, 40, 0.16));
  border: 1px solid rgba(24, 24, 24, 0.22);
  border-radius: 999px;
  padding: 4px 8px;
}

.filter-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-row > * {
  flex: 1 1 180px;
}

.filter-row button,
.filter-row .btn {
  flex: 0 0 auto;
}

.banner {
  border-left: 4px solid var(--green-bright);
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
  background: linear-gradient(100deg, rgba(255, 138, 31, 0.33), rgba(25, 143, 67, 0.16), rgba(214, 40, 40, 0.14));
}

.tag {
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: linear-gradient(120deg, var(--orange), var(--orange-soft));
  color: #101010;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(240, 111, 17, 0.35);
}

.btn,
button {
  background: linear-gradient(120deg, var(--green-bright), var(--orange), var(--red-soft));
  border: 0;
  color: #1a0f08;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, filter .2s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08) saturate(1.1);
  box-shadow: 0 10px 22px rgba(255, 138, 31, 0.28);
}

.danger {
  background: linear-gradient(120deg, #be1f1f, var(--red), var(--orange));
  color: #fff;
}

input,
select,
textarea {
  width: 100%;
  background: rgba(255, 248, 239, 0.95);
  border: 1px solid rgba(120, 63, 28, 0.24);
  color: var(--text);
  padding: 10px;
  border-radius: 10px;
  margin: 6px 0;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 138, 31, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 138, 31, 0.2);
}

.inline-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 100%;
}
.stack-form {
  display: grid;
  gap: 8px;
  max-width: 680px;
}
.stack-form label {
  margin-top: 4px;
  font-weight: 700;
  color: #6a3714;
  font-size: 0.9rem;
}
.inline-form input[type="hidden"] + button,
.inline-form input[type="hidden"] + .link-btn {
  margin-top: 0;
}
.grow { flex: 1; }
.auth-card { max-width: 460px; margin: auto; }
.auth-subtitle {
  margin-top: -2px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}
.auth-form {
  display: grid;
  gap: 4px;
}
.auth-form label {
  margin-top: 4px;
  font-weight: 700;
  color: #6a3714;
  font-size: 0.9rem;
}
.auth-password-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}
.auth-password-wrap input {
  margin: 6px 0;
}
.auth-toggle-password {
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.82rem;
  white-space: nowrap;
}
.auth-submit-btn {
  margin-top: 8px;
}
.auth-error {
  border: 1px solid rgba(214, 40, 40, 0.45);
  background: rgba(255, 91, 91, 0.15);
  border-radius: 10px;
  padding: 10px;
  color: #782919;
  font-weight: 600;
}
.auth-success {
  border: 1px solid rgba(35, 142, 71, 0.45);
  background: rgba(35, 196, 93, 0.15);
  border-radius: 10px;
  padding: 10px;
  color: #225a2f;
  font-weight: 600;
}
.auth-links {
  margin-top: 10px;
}
.auth-links a {
  color: #c85e10;
  font-weight: 700;
}
.auth-links a:hover {
  color: #f07e21;
}
.auth-card.register-card {
  max-width: 920px;
  width: min(920px, calc(100vw - 32px));
  padding: 16px 22px 14px;
}
.auth-card.register-card h1 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  text-align: center;
}
.register-form {
  gap: 12px;
}
.register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.register-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.register-field label {
  margin: 0;
  font-weight: 700;
  color: #6a3714;
  font-size: 0.82rem;
  line-height: 1.2;
}
.register-field input,
.register-field select {
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
}
.register-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}
.register-submit {
  flex: 1;
  margin: 0;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
}
.register-login-link {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #c85e10;
  text-decoration: none;
  white-space: nowrap;
}
.register-login-link:hover {
  color: #f07e21;
}
@media (max-width: 640px) {
  .auth-card.register-card {
    width: 100%;
    padding: 14px 14px 12px;
  }
  .register-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .register-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .register-login-link {
    text-align: center;
  }
}
.recovery-card .recovery-question-label {
  margin: 0 0 4px;
  font-weight: 700;
  color: #6a3714;
  font-size: 0.9rem;
}
.recovery-card .recovery-question-text {
  margin: 0 0 12px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 176, 97, 0.18);
  border: 1px solid rgba(200, 94, 16, 0.25);
  font-weight: 600;
}
.recovery-card .recovery-hint {
  margin: 0;
  font-size: 0.85rem;
  color: #6a3714;
}

#smartSearch {
  font-size: 0.98rem;
  padding-left: 12px;
  border-color: rgba(255, 176, 97, 0.3);
}

.suggestions {
  position: absolute;
  width: 100%;
  background: rgba(255, 245, 232, 0.98);
  border: 1px solid rgba(120, 63, 28, 0.2);
  border-radius: 10px;
  z-index: 50;
  margin-top: 4px;
  overflow: hidden;
}

.suggestion-item {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .15s ease;
  width: 100%;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  color: inherit;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  cursor: pointer;
  text-align: left;
}

.suggestion-item:hover {
  background: linear-gradient(100deg, rgba(35, 196, 93, 0.16), rgba(255, 138, 31, 0.18));
}

.suggestion-item.is-active {
  background: linear-gradient(100deg, rgba(35, 196, 93, 0.22), rgba(255, 138, 31, 0.22));
}

.suggestion-item:last-child { border-bottom: 0; }

.home-discovery .suggestions {
  margin-top: 8px;
  position: relative;
}

.home-quick-search {
  margin-top: 12px;
}

.continue-listening {
  margin-top: 12px;
}

.continue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.continue-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 176, 97, 0.42);
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.continue-item:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 196, 93, 0.55);
  box-shadow: 0 14px 22px rgba(120, 63, 28, 0.18);
}

.continue-cover {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 186, 122, 0.48);
  background: rgba(255, 244, 229, 0.85);
}

.continue-cover-placeholder {
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 11px;
  color: #8f5a31;
}

.continue-meta strong {
  display: block;
  color: #4f290f;
  font-size: .96rem;
  line-height: 1.2;
}

.continue-meta small {
  display: block;
  margin-top: 3px;
  color: #7a5238;
  font-weight: 600;
}

.trend-play-btn {
  margin-left: 8px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 800;
  background: rgba(255, 138, 31, 0.16);
  border: 1px solid rgba(255, 176, 97, 0.55);
  color: #6a3714;
}

.trend-play-btn:hover {
  background: rgba(255, 138, 31, 0.24);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 12px;
}

.video-grid > * {
  display: grid;
  gap: 10px;
  align-content: start;
}

/* —— Videos page (hero + lux layout, aligned with Artists page) —— */
.videos-page-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card.videos-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px) clamp(18px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(165deg, rgba(255, 252, 250, 0.94) 0%, rgba(255, 236, 248, 0.55) 42%, rgba(255, 241, 224, 0.9) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 22px 56px rgba(90, 40, 120, 0.08),
    0 8px 24px rgba(120, 63, 28, 0.1);
}

.videos-hero-bg {
  position: absolute;
  inset: -40%;
  opacity: 0.5;
  background:
    conic-gradient(from 160deg at 25% 35%, rgba(120, 80, 200, 0.16), transparent 38%, rgba(35, 196, 93, 0.14) 55%, transparent 72%, rgba(255, 138, 31, 0.16) 88%, rgba(214, 40, 40, 0.1) 100%);
  animation: videosHeroAura 24s linear infinite;
  pointer-events: none;
}

@keyframes videosHeroAura {
  to { transform: rotate(-360deg); }
}

.videos-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.videos-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.48;
  animation: videosOrbFloat 9s ease-in-out infinite;
}

.videos-hero-orb--a {
  width: 200px;
  height: 200px;
  background: rgba(120, 90, 200, 0.38);
  top: -10%;
  right: 5%;
}

.videos-hero-orb--b {
  width: 240px;
  height: 240px;
  background: rgba(35, 196, 93, 0.32);
  bottom: -15%;
  left: -8%;
  animation-delay: -3s;
}

.videos-hero-orb--c {
  width: 140px;
  height: 140px;
  background: rgba(255, 138, 31, 0.35);
  top: 45%;
  left: 40%;
  animation-delay: -6s;
}

@keyframes videosOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, 14px) scale(1.05); }
}

.videos-hero-content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.videos-hero-kicker {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.videos-hero-title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #3a1f52;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .videos-hero-title {
    background: linear-gradient(118deg, #3a1f52 0%, #198f43 35%, #c45a10 68%, #b91c1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.videos-hero-lead {
  margin: 0 0 22px;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.55;
  color: #5c3820;
  max-width: 38rem;
}

.videos-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.videos-hero-stat {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(120, 63, 28, 0.12);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(8px);
}

.videos-hero-stat--accent {
  background: linear-gradient(135deg, rgba(120, 90, 200, 0.1), rgba(35, 196, 93, 0.1));
  border-color: rgba(120, 90, 200, 0.22);
}

.videos-hero-stat-value {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.videos-hero-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.videos-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.videos-hero-btn-primary {
  box-shadow: 0 8px 24px rgba(120, 90, 200, 0.18);
}

.videos-hero-btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(120, 63, 28, 0.22);
  color: #5f2f0f;
}

@media (max-width: 620px) {
  .videos-hero-stats {
    grid-template-columns: 1fr;
  }
}

.videos-page {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.92), rgba(255, 244, 232, 0.88));
  box-shadow:
    0 0 0 1px rgba(120, 63, 28, 0.06) inset,
    0 18px 44px rgba(120, 63, 28, 0.08);
}

.videos-page .video-grid-advanced,
.videos-page .video-spotlight,
.videos-page .videos-toolbar {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.videos-empty {
  text-align: center;
  padding: clamp(28px, 5vw, 48px) 20px;
}

.videos-empty-visual {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
}

.videos-empty-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(120, 90, 200, 0.35);
  animation: videosEmptyPulse 2.5s ease-in-out infinite;
}

@keyframes videosEmptyPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.65; }
}

.videos-empty-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: rgba(90, 50, 130, 0.75);
  padding-left: 4px;
}

.videos-empty-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.videos-empty-text {
  margin: 0 auto 18px;
  max-width: 30rem;
  color: var(--muted);
  line-height: 1.55;
}

.videos-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.videos-count-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 176, 97, 0.5);
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.22), rgba(255, 138, 31, 0.28));
  color: #5a2e12;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.videos-count-chip--hero {
  width: fit-content;
}

.video-grid-advanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-grid--lux {
  padding-top: 4px;
}

.video-spotlight {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(14px, 2vw, 22px);
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 252, 250, 0.97), rgba(255, 236, 248, 0.35) 45%, rgba(255, 241, 224, 0.92) 100%),
    radial-gradient(520px 200px at 92% 8%, rgba(120, 90, 200, 0.12), transparent 70%);
  padding: clamp(14px, 2vw, 20px);
  box-shadow:
    0 0 0 1px rgba(120, 63, 28, 0.06) inset,
    0 16px 40px rgba(90, 50, 120, 0.08);
}

.video-spotlight--lux .video-spotlight-media {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.video-spotlight-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, rgba(120, 90, 200, 0.92), rgba(214, 40, 40, 0.85));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.video-spotlight-date {
  color: var(--muted);
  font-weight: 600;
}

.video-spotlight-hint {
  margin: 0;
  font-size: 0.82rem;
  color: #7a5238;
  line-height: 1.45;
}

.video-spotlight-media {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
}

.video-spotlight-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
}

.video-spotlight-meta {
  display: grid;
  align-content: center;
  gap: 10px;
}

.video-spotlight-meta h2 {
  margin: 0;
  color: var(--text);
  line-height: 1.2;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 800;
}

.videos-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.videos-toolbar--lux {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(255, 244, 232, 0.88));
  box-shadow: 0 10px 32px rgba(120, 63, 28, 0.06);
}

.videos-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.videos-search-field {
  flex: 1 1 220px;
  position: relative;
  min-width: 0;
}

.videos-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  display: flex;
  opacity: 0.85;
}

.videos-search-input {
  width: 100%;
  margin: 0;
  padding: 12px 14px 12px 44px;
  border-radius: 12px;
  border: 1px solid rgba(120, 63, 28, 0.18);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.videos-search-input:focus {
  border-color: rgba(120, 90, 200, 0.45);
  box-shadow: 0 0 0 3px rgba(120, 90, 200, 0.15), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.videos-result-pill {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(120, 90, 200, 0.35);
  background: rgba(120, 90, 200, 0.1);
  color: #4a2d6e;
}

.videos-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.videos-filter-chip {
  cursor: pointer;
  border: 1px solid rgba(120, 63, 28, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: #5f2f0f;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.videos-filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 138, 31, 0.45);
}

.videos-filter-chip.active {
  border-color: rgba(35, 196, 93, 0.55);
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.2), rgba(255, 138, 31, 0.16));
  box-shadow: 0 0 0 1px rgba(35, 196, 93, 0.15) inset;
}

.video-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 252, 250, 0.96) 0%, rgba(255, 241, 224, 0.88) 100%);
  box-shadow:
    0 0 0 1px rgba(120, 63, 28, 0.06) inset,
    0 14px 36px rgba(120, 63, 28, 0.1);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.25s ease;
}

.video-card--lux {
  animation: videosCardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: var(--stagger, 0s);
}

@keyframes videosCardIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.video-card-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 0%, rgba(120, 90, 200, 0.12), transparent 42%),
    radial-gradient(circle at 90% 100%, rgba(35, 196, 93, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.video-card--lux:hover .video-card-glow {
  opacity: 1;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 90, 200, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 176, 97, 0.25) inset,
    0 22px 48px rgba(90, 50, 120, 0.12),
    0 12px 28px rgba(25, 100, 55, 0.08);
}

.video-card.is-selected {
  border-color: rgba(35, 196, 93, 0.65);
  box-shadow:
    0 0 0 2px rgba(35, 196, 93, 0.22),
    0 18px 40px rgba(25, 100, 55, 0.14);
}

.video-card.is-hidden {
  display: none;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  z-index: 1;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.video-frame--preview {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(120, 90, 200, 0.35), transparent 55%),
    linear-gradient(145deg, #1a1428 0%, #0d0d12 100%);
  cursor: pointer;
}

.video-frame-play {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(120deg, rgba(120, 90, 200, 0.95), rgba(214, 40, 40, 0.88));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.video-meta {
  position: relative;
  z-index: 1;
  padding: 14px 16px 16px;
  display: grid;
  gap: 8px;
}

.video-meta h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 800;
}

.video-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.video-meta-chip {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(120, 90, 200, 0.28);
  background: rgba(120, 90, 200, 0.08);
  color: #4a2d6e;
}

.video-meta-date {
  color: var(--muted);
  font-weight: 600;
}

.video-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c45a10;
}

.video-card-cta-arrow {
  transition: transform 0.22s ease;
}

.video-card--lux:hover .video-card-cta-arrow {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .videos-hero-bg,
  .videos-hero-orb,
  .videos-empty-ring {
    animation: none !important;
  }

  .video-card--lux {
    animation: none;
  }

  .video-card:hover {
    transform: translateY(-2px);
  }
}

iframe {
  width: 100%;
  min-height: 230px;
  border: 0;
  border-radius: 12px;
}

.news-image {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-item {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 186, 122, 0.42);
  background:
    linear-gradient(160deg, rgba(255, 239, 218, 0.94), rgba(255, 222, 188, 0.9)),
    radial-gradient(520px 220px at 10% 100%, rgba(35, 196, 93, 0.14), transparent 72%);
  box-shadow: 0 16px 30px rgba(170, 93, 29, 0.16);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  isolation: isolate;
}

.news-page .news-list .news-item {
  animation: newsSlideIn .55s ease both;
  animation-delay: var(--news-delay, 0ms);
}

.news-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(220px 120px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.2), transparent 62%);
  opacity: 0;
  transition: opacity .22s ease;
  z-index: 0;
}

.news-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 176, 97, 0.62);
  box-shadow: 0 20px 34px rgba(170, 93, 29, 0.22);
}

.news-item:hover::after {
  opacity: 1;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.news-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.news-filter-btn {
  background: rgba(255, 138, 31, 0.14);
  color: #6a3714;
  border: 1px solid rgba(255, 176, 97, 0.55);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  cursor: pointer;
}

.news-filter-btn.active {
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.26), rgba(255, 138, 31, 0.35));
  border-color: rgba(35, 196, 93, 0.58);
}

.news-item.is-hidden {
  display: none;
}

.news-media {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 186, 122, 0.55);
  box-shadow: 0 12px 24px rgba(170, 93, 29, 0.2);
  background: rgba(255, 244, 229, 0.9);
  display: grid;
  place-items: center;
}

.news-item .news-image {
  width: 100%;
  height: 240px;
  min-height: 240px;
  object-fit: contain;
  margin-bottom: 0;
  border: 0;
  display: block;
  padding: 8px;
  transition: transform .25s ease;
  animation: imageFlicker 2.8s ease-in-out infinite;
}

.news-item:hover .news-image {
  transform: scale(1.04);
}

.news-content h3 {
  margin-bottom: 8px;
  color: #5f2f0f;
  font-size: 1.2rem;
  line-height: 1.25;
}

.news-item .news-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.news-content p {
  margin: 0;
  line-height: 1.55;
  color: #6c4226;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-toggle-btn {
  margin-top: 10px;
  background: rgba(255, 138, 31, 0.18);
  color: #5c2f10;
  border: 1px solid rgba(255, 176, 97, 0.6);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  cursor: pointer;
}

.news-toggle-btn:hover {
  background: rgba(255, 138, 31, 0.28);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.news-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #40210e;
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.34), rgba(255, 176, 97, 0.58));
  border: 1px solid rgba(255, 176, 97, 0.56);
}

.news-item-featured {
  grid-template-columns: 420px 1fr;
  border-color: rgba(35, 196, 93, 0.5);
  box-shadow: 0 18px 36px rgba(124, 86, 31, 0.22);
  overflow: hidden;
}

.news-item-featured .news-image {
  height: 280px;
  min-height: 280px;
}

.news-item-featured::before {
  content: "";
  position: absolute;
  top: -130%;
  left: -55%;
  width: 55%;
  height: 260%;
  transform: rotate(20deg);
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: featuredShine 4.2s ease-in-out infinite;
  z-index: 0;
}

.comment-form {
  display: flex;
  gap: 8px;
}

audio {
  width: 100%;
  margin-top: 8px;
  filter: hue-rotate(60deg) saturate(1.15);
}

.chart-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.chart-responsive canvas {
  display: block;
  max-width: 100%;
  height: auto !important;
}

.media-wide {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hero-home {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(243, 140, 43, 0.9) 0%, rgba(206, 95, 35, 0.9) 45%, rgba(26, 136, 63, 0.88) 100%),
    radial-gradient(680px 280px at 15% 5%, rgba(35, 196, 93, 0.34), transparent 70%),
    radial-gradient(760px 300px at 95% 0%, rgba(255, 208, 143, 0.28), transparent 72%),
    radial-gradient(520px 220px at 85% 100%, rgba(214, 40, 40, 0.3), transparent 76%);
  border: 1px solid rgba(255, 196, 132, 0.4);
  box-shadow: 0 24px 44px rgba(148, 79, 23, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-home > *:not(.hero-bg-orb) {
  min-width: 0;
}

.hero-bg-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
  opacity: 0.9;
}

.orb-one {
  top: -36px;
  left: -30px;
  background: radial-gradient(circle, rgba(35, 196, 93, 0.55), transparent 66%);
}

.orb-two {
  right: -20px;
  bottom: -30px;
  background: radial-gradient(circle, rgba(255, 138, 31, 0.5), transparent 66%);
}

.hero-content h1 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 10px;
  color: #fff8f1;
  text-shadow: 0 10px 26px rgba(93, 45, 12, 0.38);
}

.hero-title {
  background: linear-gradient(100deg, rgba(255,255,255,0.95), rgba(255, 176, 97, 0.9) 55%, rgba(255, 91, 91, 0.85));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 34px rgba(255, 138, 31, 0.24);
  position: relative;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: min(340px, 68%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-bright), var(--orange-soft), var(--red-soft));
  opacity: 0.9;
  animation: underlineGlow 2.8s ease-in-out infinite;
}

.hero-word {
  display: inline-block;
  padding: 2px 10px;
  margin: 0 4px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.22), rgba(255, 138, 31, 0.24), rgba(214, 40, 40, 0.18));
  border: 1px solid rgba(255, 176, 97, 0.45);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25), 0 0 22px rgba(255, 138, 31, 0.16);
  color: #ffffff;
  -webkit-text-fill-color: initial;
  background-clip: padding-box;
  animation: wordPop .35s ease;
}

.hero-sub {
  font-size: 1.02rem;
  max-width: 56ch;
  color: #fff0dd;
  text-shadow: 0 2px 10px rgba(93, 45, 12, 0.3);
}

.hero-em {
  color: #fff7ef;
  font-weight: 700;
  padding: 0 6px;
  border-radius: 10px;
  background: rgba(255, 138, 31, 0.28);
  border: 1px solid rgba(255, 197, 136, 0.45);
}

@keyframes underlineGlow {
  0%, 100% { filter: brightness(1) saturate(1); transform: translateX(0); }
  50% { filter: brightness(1.25) saturate(1.15); transform: translateX(10px); }
}

@keyframes wordPop {
  from { transform: translateY(6px) scale(0.98); opacity: 0.5; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.hero-chip {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #2d1508;
  background: linear-gradient(120deg, var(--green-bright), var(--orange-soft), var(--red-soft));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.hero-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ghost-btn {
  background: rgba(255, 240, 223, 0.16);
  color: #fff4e7;
  border: 1px solid rgba(255, 196, 132, 0.72);
}

.ghost-btn:hover {
  background: rgba(255, 240, 223, 0.24);
  border-color: rgba(255, 210, 160, 0.9);
}

.hero-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-stats div {
  background: linear-gradient(125deg, rgba(255, 248, 235, 0.22), rgba(255, 212, 165, 0.16));
  border: 1px solid rgba(255, 210, 160, 0.6);
  border-radius: 12px;
  padding: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-stats strong {
  font-size: 1.35rem;
  display: block;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(93, 45, 12, 0.32);
}

.hero-stats small {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #ffe7ca;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  transition: transform .25s ease;
}

.pulse-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(255, 176, 97, 0.6);
  box-shadow: 0 0 0 16px rgba(255, 138, 31, 0.12), 0 0 60px rgba(255, 138, 31, 0.25);
  animation: pulse 2.4s infinite ease-in-out;
}

.ring-two {
  position: absolute;
  width: 120px;
  height: 120px;
  border-color: rgba(35, 196, 93, 0.65);
  box-shadow: 0 0 0 10px rgba(35, 196, 93, 0.12), 0 0 40px rgba(35, 196, 93, 0.2);
  animation-delay: .7s;
}

.hero-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: linear-gradient(120deg, rgba(255, 138, 31, 0.95), rgba(214, 40, 40, 0.9));
  color: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 204, 153, 0.4);
  box-shadow: 0 14px 28px rgba(148, 79, 23, 0.3), 0 0 26px rgba(255, 138, 31, 0.28);
}

.hero-badge span {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .9;
}

.hero-badge strong {
  font-size: .95rem;
}

.payment-banner {
  margin-top: -4px;
  margin-bottom: 16px;
  border-left: 0;
  border: 1px solid rgba(255, 176, 97, 0.55);
  border-radius: 14px;
  padding: 10px;
  font-size: 0.7rem;
  line-height: 1.45;
  background:
    linear-gradient(145deg, rgba(255, 236, 214, 0.97), rgba(255, 217, 176, 0.93)),
    radial-gradient(420px 120px at 88% 10%, rgba(255, 138, 31, 0.28), transparent 75%),
    radial-gradient(420px 140px at 8% 90%, rgba(35, 196, 93, 0.2), transparent 72%);
  box-shadow: 0 14px 30px rgba(170, 93, 29, 0.2), 0 0 0 1px rgba(255, 176, 97, 0.12);
}

.payment-banner-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.payment-banner-head strong {
  font-size: 1.05em;
}

.payment-fee-chip {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 97, 0.68);
  background: linear-gradient(120deg, var(--orange), var(--red-soft));
  color: #1b0f08;
  font-size: 0.95em;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 138, 31, 0.3);
}

.payment-banner-body {
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 7px;
}

.payment-method-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.payment-method-label {
  font-size: 0.78em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6e3f1e;
}

.payment-method-number {
  font-family: "Outfit", sans-serif;
  font-size: 1.08em;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 3px 7px;
  border-radius: 8px;
  border: 1px solid rgba(35, 196, 93, 0.45);
  background: rgba(255, 255, 255, 0.45);
  color: #1f5a31;
}

.payment-banner-tip {
  margin-top: 6px;
  font-size: 0.95em;
  color: #7a5238;
  font-weight: 600;
}

.service-fees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 7px;
  margin: 8px 0;
}

.service-fee-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 176, 97, 0.4);
  border-radius: 8px;
  padding: 7px 10px;
}

.service-fee-label {
  font-size: 0.9em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: #6e3f1e;
}

.pulse-strip {
  background:
    linear-gradient(145deg, rgba(255, 236, 214, 0.95), rgba(255, 219, 179, 0.92)),
    linear-gradient(120deg, transparent 0 62%, rgba(214, 40, 40, 0.2) 62% 72%, rgba(20, 20, 20, 0.26) 72% 82%, rgba(255, 138, 31, 0.2) 82% 100%);
  border: 1px solid rgba(255, 176, 97, 0.5);
}

.pulse-strip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pulse-strip-header h2 {
  margin: 0;
  color: #4f280f;
}

.momentum-board {
  background:
    linear-gradient(145deg, rgba(255, 236, 214, 0.95), rgba(255, 219, 179, 0.9)),
    radial-gradient(420px 160px at 10% 10%, rgba(35, 196, 93, 0.18), transparent 72%);
  border: 1px solid rgba(255, 176, 97, 0.45);
}

.momentum-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 10px;
  margin-top: 10px;
}

.momentum-stat {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 176, 97, 0.38);
  border-radius: 12px;
  padding: 10px 12px;
}

.momentum-stat span {
  display: block;
  font-size: 0.78rem;
  color: #7a5238;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.momentum-stat strong {
  font-size: 1.3rem;
  color: #5a2f14;
}

.province-activity {
  margin-top: 12px;
}

.province-activity h3 {
  margin-bottom: 8px;
}

.province-row {
  margin-bottom: 8px;
}

.province-row-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.province-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 176, 97, 0.35);
  overflow: hidden;
}

.province-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(120deg, var(--green), var(--orange), var(--red));
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.pulse-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 176, 97, 0.45);
  background:
    linear-gradient(140deg, rgba(255, 245, 231, 0.95), rgba(255, 226, 194, 0.9)),
    radial-gradient(220px 120px at 90% 0%, rgba(35, 196, 93, 0.16), transparent 72%);
  box-shadow: 0 8px 16px rgba(120, 63, 28, 0.14);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pulse-card:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 196, 93, 0.55);
  box-shadow: 0 14px 22px rgba(120, 63, 28, 0.2);
}

.pulse-card-accent {
  border-color: rgba(214, 40, 40, 0.5);
  background:
    linear-gradient(130deg, rgba(255, 236, 214, 0.96), rgba(255, 214, 171, 0.92)),
    radial-gradient(230px 120px at 90% 10%, rgba(214, 40, 40, 0.16), transparent 72%);
}

.pulse-label {
  display: inline-block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 800;
  color: #6e3b18;
  margin-bottom: 6px;
}

.pulse-card strong {
  display: block;
  color: #43220d;
  margin-bottom: 4px;
  line-height: 1.25;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-height: 2.7em;
}

.pulse-card small {
  color: #7a5238;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.spotlight-card h3 {
  margin-bottom: 12px;
}

.trending-list {
  display: grid;
  gap: 10px;
}

.trend-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 244, 229, 0.14), rgba(255, 244, 229, 0.05)),
    linear-gradient(90deg, rgba(25,143,67,0.12), rgba(214,40,40,0.10), rgba(17,17,17,0.12), rgba(255,138,31,0.10));
  border: 1px solid rgba(255, 176, 97, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.trend-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(220px 120px at var(--mx, 70%) var(--my, 30%), rgba(255,255,255,0.24), transparent 65%);
  opacity: 0;
  transition: opacity .2s ease;
}

.trend-item:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 196, 93, 0.55);
  box-shadow: 0 14px 24px rgba(0,0,0,0.18);
}

.trend-item:hover::after {
  opacity: 1;
}

.trend-cover {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 176, 97, 0.45);
  box-shadow: 0 10px 16px rgba(0,0,0,0.18);
  flex: 0 0 auto;
}

.trend-cover-placeholder {
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 11px;
  color: #1a0f08;
  background: linear-gradient(120deg, rgba(25,143,67,0.9), rgba(255,138,31,0.85), rgba(214,40,40,0.85));
}

.trend-spark {
  margin-left: auto;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(10px 10px at 20% 50%, rgba(35,196,93,0.85), transparent 60%),
    radial-gradient(10px 10px at 55% 40%, rgba(255,138,31,0.85), transparent 60%),
    radial-gradient(10px 10px at 85% 55%, rgba(214,40,40,0.85), transparent 60%);
  opacity: .85;
  filter: blur(.2px);
}

.trend-item.is-active .trend-spark {
  animation: sparkPulse 1.25s ease-in-out infinite;
}

@keyframes sparkPulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hotpick-row {
  position: relative;
}

.hotpick-meter {
  margin-top: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 176, 97, 0.28);
  overflow: hidden;
}

.hotpick-meter span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(25,143,67,0.92), rgba(255,138,31,0.86), rgba(214,40,40,0.86));
  animation: meterFill .9s ease forwards;
}

@keyframes meterFill {
  from { transform: translateX(-6px); filter: saturate(1.05); }
  to { transform: translateX(0); filter: saturate(1.2); }
}

.compact {
  padding: 8px 0;
}

.mini-pill {
  border: 1px solid rgba(255, 176, 97, 0.5);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: .72rem;
  color: var(--orange-soft);
}

.leaderboard-card h2 {
  margin-bottom: 12px;
}

.news-highlight-section .row {
  justify-content: space-between;
  margin-bottom: 10px;
}

.news-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-highlight-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 186, 122, 0.48);
  background:
    linear-gradient(150deg, rgba(255, 242, 225, 0.96), rgba(255, 223, 185, 0.9)),
    radial-gradient(500px 220px at 10% 100%, rgba(35, 196, 93, 0.18), transparent 72%);
  box-shadow: 0 12px 24px rgba(170, 93, 29, 0.16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(170, 93, 29, 0.22);
}

.news-highlight-card.featured {
  border-color: rgba(35, 196, 93, 0.58);
}

.news-highlight-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 12px 0;
  padding: 10px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(145deg, rgba(255, 248, 238, 0.98), rgba(255, 228, 198, 0.92));
  box-shadow:
    0 10px 22px rgba(120, 63, 28, 0.2),
    inset 0 0 0 1px rgba(255, 186, 122, 0.42);
}

.news-highlight-card.featured .news-highlight-media {
  border-radius: 18px;
  box-shadow:
    0 14px 28px rgba(35, 196, 93, 0.14),
    0 10px 22px rgba(120, 63, 28, 0.22),
    inset 0 0 0 1px rgba(35, 196, 93, 0.38);
}

.song-highlight-section .news-highlight-media {
  aspect-ratio: 1;
  border-radius: 18px;
}

.song-highlight-section .news-highlight-card.featured .news-highlight-media {
  border-radius: 20px;
}

.news-highlight-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(120, 63, 28, 0.16);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.song-highlight-section .news-highlight-image {
  border-radius: 14px;
}

.news-highlight-card:hover .news-highlight-image {
  transform: scale(1.02);
  box-shadow: 0 10px 22px rgba(120, 63, 28, 0.22);
}

.news-highlight-content {
  padding: 12px;
}

.news-highlight-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #4f2a0f;
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.3), rgba(255, 138, 31, 0.4));
  border: 1px solid rgba(255, 176, 97, 0.52);
}

.news-highlight-content h3 {
  margin: 0 0 8px;
  color: #5a2f11;
  font-size: 1.06rem;
}

.news-highlight-content p {
  margin: 0 0 10px;
  color: #6c4226;
  line-height: 1.45;
}

.news-highlight-link {
  color: #d66710;
  text-decoration: none;
  font-weight: 700;
}

.news-highlight-link:hover {
  color: #f57d1f;
}

.leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
  height: calc(100vh - 130px);
  overflow: hidden;
  width: 100%;
}

.dashboard-sidebar {
  position: sticky;
  top: 90px;
  height: calc(100vh - 130px);
  overflow-y: auto;
  margin-bottom: 0;
}

.dashboard-main {
  min-height: 0;
  height: calc(100vh - 130px);
  overflow-y: auto;
  padding-right: 4px;
  min-width: 0;
}

.dashboard-sidebar h3 {
  margin-bottom: 10px;
}

.dashboard-nav {
  display: grid;
  gap: 8px;
}

.dashboard-nav-link {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255, 176, 97, 0.42);
  background: rgba(255, 138, 31, 0.1);
  color: #7b4218;
  border-radius: 10px;
  padding: 9px 10px;
  font-weight: 600;
  transition: all .2s ease;
}

.dashboard-nav-link:hover {
  background: rgba(255, 138, 31, 0.2);
  border-color: rgba(255, 138, 31, 0.62);
  color: #5f2f0f;
}

.dashboard-nav-link.active {
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.25), rgba(255, 138, 31, 0.3));
  border-color: rgba(35, 196, 93, 0.56);
  color: #3e220f;
}

.dashboard-main .card:last-child {
  margin-bottom: 0;
}

.admin-users-card .admin-section-head {
  margin-bottom: 16px;
}

.admin-users-card .admin-section-head h2 {
  margin-bottom: 4px;
}

.admin-users-card .admin-section-head p {
  margin: 0;
  color: #6a3714;
}

.admin-users-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 20px;
  align-items: start;
}

.admin-users-create {
  border: 1px solid rgba(255, 176, 97, 0.42);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(160deg, rgba(255, 248, 239, 0.65), rgba(255, 236, 214, 0.35));
}

.admin-users-create h3,
.admin-users-list h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.admin-user-form {
  display: grid;
  gap: 6px;
}

.admin-user-form label {
  margin-top: 4px;
  font-weight: 700;
  font-size: 13px;
  color: #6a3714;
}

.admin-user-form-submit {
  margin-top: 8px;
  width: 100%;
}

.admin-users-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-users-list-head h3 {
  margin: 0;
}

.admin-users-count {
  font-size: 12px;
  font-weight: 600;
  color: #7b4218;
  border: 1px solid rgba(255, 176, 97, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 138, 31, 0.12);
  white-space: nowrap;
}

.admin-users-empty {
  margin: 0;
  padding: 20px;
  text-align: center;
  color: #7b4218;
  border: 1px dashed rgba(255, 176, 97, 0.5);
  border-radius: 12px;
}

.admin-users-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 176, 97, 0.42);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
}

.admin-users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-users-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a3714;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 176, 97, 0.45);
  background: rgba(255, 138, 31, 0.1);
}

.admin-users-table tbody td {
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 176, 97, 0.22);
}

.admin-users-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-users-table tbody tr:hover {
  background: rgba(255, 138, 31, 0.06);
}

.admin-users-name strong {
  display: block;
  color: #3e220f;
}

.admin-users-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 999px;
  color: #5f2f0f;
  background: rgba(120, 120, 120, 0.15);
  border: 1px solid rgba(90, 90, 90, 0.25);
}

.admin-users-contact {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-users-email {
  display: block;
  word-break: break-word;
  color: #4a2a12;
}

.admin-users-phone {
  display: block;
  font-size: 12px;
  color: #7b4218;
}

.admin-users-joined time {
  display: block;
  white-space: nowrap;
  color: #4a2a12;
  font-size: 13px;
}

.admin-role-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.admin-role-badge.role-admin {
  color: #6b1010;
  background: rgba(214, 40, 40, 0.15);
  border-color: rgba(214, 40, 40, 0.35);
}

.admin-role-badge.role-editor {
  color: #1a4a6b;
  background: rgba(52, 120, 200, 0.15);
  border-color: rgba(52, 120, 200, 0.35);
}

.admin-role-badge.role-artist {
  color: #1a5c2e;
  background: rgba(35, 196, 93, 0.18);
  border-color: rgba(35, 196, 93, 0.4);
}

.admin-role-badge.role-listener {
  color: #5f2f0f;
  background: rgba(255, 138, 31, 0.15);
  border-color: rgba(255, 138, 31, 0.35);
}

.accounts-summary-card .admin-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.accounts-filter-row {
  margin-bottom: 18px;
}

.accounts-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.accounts-stat {
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 176, 97, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 138, 31, 0.08));
}

.accounts-stat-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7b4218;
  margin-bottom: 6px;
}

.accounts-stat-value {
  font-size: 1.35rem;
  color: #2a1408;
}

.accounts-stat-income { border-left: 4px solid #1a7a3a; }
.accounts-stat-expense { border-left: 4px solid #b33a12; }
.accounts-stat-balance { border-left: 4px solid #c47a00; }

.accounts-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.accounts-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 97, 0.45);
  color: #5f2f0f;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.accounts-tab.active,
.accounts-tab:hover {
  background: rgba(255, 138, 31, 0.2);
  border-color: rgba(255, 138, 31, 0.65);
}

.accounts-ledger-note {
  font-size: 13px;
  color: #6b4423;
  margin: 0 0 14px;
}

.accounts-type-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.accounts-type-badge.income {
  color: #145a2a;
  background: rgba(35, 196, 93, 0.2);
}

.accounts-type-badge.expense {
  color: #7a2010;
  background: rgba(214, 60, 40, 0.15);
}

.accounts-amount.positive { color: #145a2a; font-weight: 700; }
.accounts-amount.negative { color: #8a2818; font-weight: 700; }

.accounts-auto-tag {
  font-size: 11px;
  color: #7b4218;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-danger-soft {
  background: rgba(180, 40, 30, 0.12);
  border-color: rgba(180, 40, 30, 0.35);
  color: #6b1010;
  font-size: 12px;
  padding: 4px 10px;
}

.accounts-entry-form {
  max-width: 480px;
}

.admin-music-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-music-card {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .accounts-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-music-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.leader-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.02), rgba(255, 138, 31, 0.07));
  transition: transform .2s ease, border-color .2s ease;
}

.leader-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 97, 0.45);
}

.rank {
  font-size: .85rem;
  font-weight: 800;
  color: var(--orange-soft);
  background: rgba(255, 138, 31, 0.12);
  border: 1px solid rgba(255, 176, 97, 0.45);
  border-radius: 999px;
  padding: 4px 8px;
}

.metrics {
  text-align: right;
  display: grid;
  gap: 2px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.08); opacity: .55; }
}

.animate-in {
  opacity: 1;
  transform: none;
}

body.js-enhanced .animate-in {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: opacity .55s ease, transform .55s ease;
}

body.js-enhanced .animate-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ticker-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.12), rgba(255, 138, 31, 0.16), rgba(214, 40, 40, 0.12));
  margin: 8px 0 18px;
}

/* Marketplace — corporate branding on home */
.marketplace-section {
  border: 1px solid rgba(255, 176, 97, 0.45);
  background:
    linear-gradient(145deg, rgba(35, 196, 93, 0.08), rgba(255, 138, 31, 0.12), rgba(214, 40, 40, 0.06)),
    rgba(255, 248, 239, 0.97);
  scroll-margin-top: 88px;
}

.marketplace-section--showcase {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 176, 97, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 22px 50px rgba(170, 93, 29, 0.14);
}

.marketplace-showcase-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.marketplace-showcase-gridlines {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 176, 97, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 176, 97, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.marketplace-showcase-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.55;
  animation: marketplaceOrbFloat 9s ease-in-out infinite;
}

.marketplace-showcase-orb--a {
  width: 220px;
  height: 220px;
  top: -40px;
  left: -30px;
  background: rgba(35, 196, 93, 0.45);
}

.marketplace-showcase-orb--b {
  width: 260px;
  height: 260px;
  top: 30%;
  right: -60px;
  background: rgba(255, 138, 31, 0.42);
  animation-delay: -3s;
}

.marketplace-showcase-orb--c {
  width: 180px;
  height: 180px;
  bottom: -50px;
  left: 35%;
  background: rgba(214, 40, 40, 0.28);
  animation-delay: -5s;
}

@keyframes marketplaceOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -16px) scale(1.08); }
}

.marketplace-section--showcase > *:not(.marketplace-showcase-bg) {
  position: relative;
  z-index: 1;
}

.marketplace-head--showcase {
  margin-bottom: 12px;
}

.marketplace-eyebrow--pulse {
  animation: marketplaceEyebrowPulse 2.4s ease-in-out infinite;
}

@keyframes marketplaceEyebrowPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 138, 31, 0); }
  50% { box-shadow: 0 0 14px rgba(255, 138, 31, 0.35); }
}

.marketplace-showcase-title {
  background: linear-gradient(100deg, #178a3f, #e07812 45%, #c73a20);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.marketplace-showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.marketplace-showcase-stat {
  padding: 12px 10px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 176, 97, 0.4);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.marketplace-showcase-stat strong {
  display: block;
  font-size: 1.35rem;
  color: #4a260f;
  line-height: 1.1;
}

.marketplace-showcase-stat small {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a04a12;
}

.marketplace-showcase-stat--accent {
  background: linear-gradient(145deg, rgba(35, 196, 93, 0.2), rgba(255, 138, 31, 0.22));
}

.marketplace-showcase-ticker {
  overflow: hidden;
  margin-bottom: 14px;
  padding: 9px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 176, 97, 0.32);
  background: rgba(255, 255, 255, 0.42);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marketplace-showcase-ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marketplaceShowcaseTicker 26s linear infinite;
}

.marketplace-showcase-ticker-track span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a04a12;
  white-space: nowrap;
}

.marketplace-showcase-ticker-track span::before {
  content: "✦";
  margin-right: 8px;
  color: #ff8a1f;
}

@keyframes marketplaceShowcaseTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marketplace-showcase-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 176, 97, 0.5);
  background:
    linear-gradient(145deg, rgba(255, 252, 248, 0.95), rgba(255, 232, 200, 0.55));
  box-shadow: 0 18px 40px rgba(170, 93, 29, 0.16);
  overflow: visible;
  animation: marketplaceHeroIn 0.7s ease both;
}

@keyframes marketplaceHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.marketplace-showcase-hero-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketplace-showcase-hero-media:has(.marketplace-banner-image) {
  aspect-ratio: 3 / 1;
}

.marketplace-showcase-hero-media:has(video) {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(35, 196, 93, 0.2), rgba(255, 138, 31, 0.25));
}

.marketplace-showcase-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: marketplaceKenBurns 14s ease-in-out infinite alternate;
}

.marketplace-showcase-hero-media .marketplace-banner-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

@keyframes marketplaceKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.marketplace-showcase-live {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, #d62828, #ff8a1f);
  animation: marketplaceLiveBlink 1.8s ease-in-out infinite;
}

@keyframes marketplaceLiveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}

.marketplace-showcase-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: marketplaceShineSweep 4.5s ease-in-out infinite;
}

@keyframes marketplaceShineSweep {
  0%, 35% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}

.marketplace-showcase-hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 1;
  width: 100%;
}

.marketplace-showcase-hero-brand span {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #23c45d, #ff8a1f, #d62828);
  box-shadow: 0 12px 28px rgba(200, 94, 16, 0.28);
  animation: marketplacePulse 3s ease-in-out infinite;
}

.marketplace-showcase-hero-body h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #4a260f;
}

.marketplace-showcase-hero-body p {
  margin: 0 0 12px;
  line-height: 1.5;
  color: #6a3714;
}

.marketplace-showcase-hero-body {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.marketplace-showcase-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.marketplace-section--showcase .ghost-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #4a260f;
  border: 2px solid rgba(200, 94, 16, 0.42);
  box-shadow: 0 4px 14px rgba(170, 93, 29, 0.12);
}

.marketplace-section--showcase .ghost-btn:hover {
  background: #fff;
  color: #3a1f0c;
  border-color: rgba(255, 138, 31, 0.65);
  filter: none;
}

.marketplace-all-partners-btn {
  background: linear-gradient(120deg, #23c45d, #ff8a1f);
  color: #fff !important;
  border: 2px solid rgba(95, 47, 15, 0.35);
  box-shadow: 0 6px 18px rgba(200, 94, 16, 0.28);
}

.marketplace-all-partners-btn:hover {
  color: #fff !important;
  filter: brightness(1.06);
}

.marketplace-showcase-view-all {
  margin: 0 0 16px;
  display: flex;
  justify-content: center;
}

.marketplace-tag--glow {
  box-shadow: 0 0 16px rgba(255, 138, 31, 0.35);
}

.marketplace-cta--pulse {
  animation: marketplaceCtaPulse 2.2s ease-in-out infinite;
}

@keyframes marketplaceCtaPulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(200, 94, 16, 0.25); }
  50% { box-shadow: 0 8px 22px rgba(255, 138, 31, 0.45); }
}

.marketplace-showcase-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.marketplace-showcase-rail-title {
  margin: 0;
  font-size: 1rem;
  color: #4a260f;
}

.marketplace-showcase-rail-hint {
  font-size: 0.75rem;
  font-weight: 700;
  color: #a04a12;
  animation: marketplaceHintNudge 2s ease-in-out infinite;
}

@keyframes marketplaceHintNudge {
  0%, 100% { transform: translateX(0); opacity: 0.75; }
  50% { transform: translateX(4px); opacity: 1; }
}

.marketplace-showcase-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 138, 31, 0.5) transparent;
}

.marketplace-card--rail {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  animation: marketplaceSlideIn 0.55s ease both;
  animation-delay: var(--marketplace-delay, 0ms);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.marketplace-card--rail.is-rail-active {
  border-color: rgba(35, 196, 93, 0.55);
  box-shadow: 0 14px 32px rgba(170, 93, 29, 0.2);
  transform: translateY(-4px) scale(1.01);
}

.marketplace-card--rail .marketplace-media--banner {
  aspect-ratio: 3 / 1;
  min-height: unset;
  max-height: none;
}

.marketplace-card--rail .marketplace-media:has(video) {
  aspect-ratio: 16 / 9;
  min-height: unset;
  max-height: none;
}

.marketplace-rail-play {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 2;
}

.marketplace-empty--showcase {
  position: relative;
  overflow: hidden;
  padding: 32px 20px;
}

.marketplace-empty-visual {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
}

.marketplace-empty-visual .marketplace-showcase-orb--a {
  inset: 0;
  width: 100%;
  height: 100%;
  top: auto;
  left: auto;
}

.marketplace-empty--showcase .marketplace-empty-icon {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  height: 100%;
  animation: marketplacePulse 3s ease-in-out infinite;
}

@media (max-width: 900px) {
  .marketplace-showcase-hero {
    grid-template-columns: 1fr;
  }
  .marketplace-showcase-stats {
    grid-template-columns: 1fr 1fr;
  }
  .marketplace-showcase-stat--accent {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .marketplace-showcase-stats {
    grid-template-columns: 1fr;
  }
  .marketplace-showcase-stat--accent {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketplace-showcase-orb,
  .marketplace-showcase-ticker-track,
  .marketplace-showcase-shine,
  .marketplace-showcase-hero-media video,
  .marketplace-showcase-hero-media .marketplace-banner-image,
  .marketplace-cta--pulse,
  .marketplace-eyebrow--pulse,
  .marketplace-showcase-live,
  .marketplace-showcase-rail-hint {
    animation: none !important;
  }
}
.marketplace-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.marketplace-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a04a12;
  background: rgba(255, 176, 97, 0.28);
  border: 1px solid rgba(200, 94, 16, 0.25);
}
.marketplace-intro {
  margin: 6px 0 0;
  max-width: 52ch;
  font-size: 0.95rem;
  color: #6a3714;
  line-height: 1.45;
}
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.marketplace-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(200, 94, 16, 0.22);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.marketplace-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(200, 94, 16, 0.18);
}
.marketplace-card--featured {
  grid-column: span 2;
  flex-direction: row;
  border-color: rgba(255, 138, 31, 0.45);
  background: linear-gradient(120deg, rgba(255, 248, 239, 0.95), rgba(255, 220, 170, 0.35));
}
.marketplace-card--featured .marketplace-media {
  flex: 0 0 42%;
}

.marketplace-card--featured .marketplace-media--banner {
  flex: 0 0 42%;
  max-width: 42%;
}
.marketplace-card--featured .marketplace-body {
  flex: 1;
  padding: 18px;
}
.marketplace-media {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, rgba(35, 196, 93, 0.2), rgba(255, 138, 31, 0.25));
}

.marketplace-media:not(.marketplace-media--banner):not(:has(video)) {
  min-height: 100px;
}
.marketplace-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: unset;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
}

.marketplace-media--banner {
  aspect-ratio: 3 / 1;
  width: 100%;
  min-height: unset;
  max-height: none;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(200, 94, 16, 0.1);
}

.marketplace-banner-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0;
}
.marketplace-media--brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.marketplace-brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #23c45d, #ff8a1f, #d62828);
  box-shadow: 0 8px 20px rgba(200, 94, 16, 0.25);
}
.marketplace-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.marketplace-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c85e10;
}
.marketplace-body h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #4a260f;
}
.marketplace-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #6a3714;
  flex: 1;
}
.marketplace-cta {
  align-self: flex-start;
  margin-top: 4px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, #23c45d, #ff8a1f);
}
.marketplace-cta:hover {
  filter: brightness(1.08);
  color: #fff;
}
.marketplace-empty {
  text-align: center;
  padding: 28px 20px;
  border-radius: 14px;
  border: 1px dashed rgba(200, 94, 16, 0.35);
  background: rgba(255, 255, 255, 0.5);
}
.marketplace-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, #23c45d, #ff8a1f);
}
.marketplace-empty h3 {
  margin: 0 0 8px;
}
.marketplace-empty p {
  margin: 0 auto 14px;
  max-width: 40ch;
  color: #6a3714;
  font-size: 0.92rem;
}
@media (max-width: 900px) {
  .marketplace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .marketplace-card--featured {
    grid-column: span 2;
    flex-direction: column;
  }
  .marketplace-card--featured .marketplace-media,
  .marketplace-card--featured .marketplace-media--banner {
    flex: none;
    max-width: 100%;
  }
}
@media (max-width: 560px) {
  .marketplace-grid {
    grid-template-columns: 1fr;
  }
  .marketplace-card--featured {
    grid-column: span 1;
  }
  .marketplace-head .btn {
    width: 100%;
    text-align: center;
  }
}

.adverts-banner {
  border: 1px solid rgba(214, 40, 40, 0.42);
  background:
    linear-gradient(120deg, rgba(35, 196, 93, 0.2), rgba(255, 138, 31, 0.26), rgba(214, 40, 40, 0.2)),
    rgba(255, 245, 232, 0.96);
}

.adverts-banner-head {
  margin-bottom: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.adverts-track-wrap {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 176, 97, 0.38);
  background: rgba(255, 255, 255, 0.45);
}

.adverts-track {
  display: inline-flex;
  gap: 12px;
  white-space: nowrap;
  padding: 10px 0;
  animation: advertsScroll 28s linear infinite;
}

.adverts-item {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 97, 0.48);
  background: rgba(255, 245, 232, 0.9);
  color: #5a2e12;
  animation: advertsFlash 1.6s ease-in-out infinite;
}

.adverts-item a {
  color: #d66710;
  font-weight: 700;
  text-decoration: none;
}

.adverts-item a:hover {
  color: #f07e21;
}

.adverts-video-section {
  border: 1px solid rgba(255, 176, 97, 0.42);
}

.adverts-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.adverts-video-card {
  border: 1px solid rgba(255, 176, 97, 0.38);
  border-radius: 12px;
  background: rgba(255, 248, 239, 0.9);
  overflow: hidden;
}

.adverts-video-card video {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
  margin: 0;
}

.adverts-video-meta {
  padding: 8px 10px;
  display: grid;
  gap: 4px;
}

.adverts-video-meta a {
  color: #d66710;
  font-weight: 700;
  text-decoration: none;
}

.adverts-video-meta a:hover {
  color: #f07e21;
}

.review-advert-video {
  width: 100%;
  max-width: 340px;
  border-radius: 10px;
  border: 1px solid rgba(255, 176, 97, 0.42);
  margin: 8px 0;
}

@keyframes advertsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes advertsFlash {
  0%, 100% { filter: brightness(1); box-shadow: 0 0 0 rgba(214, 40, 40, 0); }
  50% { filter: brightness(1.14); box-shadow: 0 0 16px rgba(214, 40, 40, 0.3); }
}

.ticker-track {
  display: inline-flex;
  gap: 18px;
  padding: 10px 0;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}

.ticker-track span {
  border: 1px solid rgba(255, 206, 156, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .82rem;
  color: #fff5e7;
  background: rgba(221, 112, 35, 0.34);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes featuredShine {
  0%, 25% { transform: translateX(-210%) rotate(20deg); opacity: 0; }
  35%, 65% { transform: translateX(340%) rotate(20deg); opacity: 1; }
  100% { transform: translateX(340%) rotate(20deg); opacity: 0; }
}

@keyframes newsSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes imageFlicker {
  0%, 100% { filter: brightness(1) saturate(1); opacity: 1; }
  20% { filter: brightness(1.05) saturate(1.04); opacity: 0.98; }
  45% { filter: brightness(0.97) saturate(0.98); opacity: 0.95; }
  70% { filter: brightness(1.07) saturate(1.07); opacity: 0.99; }
}

@media (max-width: 980px) {
  .brand-logo {
    width: 48px;
    height: 48px;
    animation-duration: 4.2s, 3.1s;
  }
}

@media (max-width: 900px) {
  .admin-users-layout {
    grid-template-columns: 1fr;
  }

  .news-item,
  .news-item-featured {
    grid-template-columns: 1fr;
  }
  .news-item-featured .news-image {
    height: 240px;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .song-row { flex-direction: column; align-items: flex-start; }
  .comment-form { flex-direction: column; }
  .container {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
  .card { border-radius: 14px; padding: 14px; }
  .hero-home {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 16px;
  }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .leaderboard-grid { grid-template-columns: 1fr; }
  .news-highlight-grid { grid-template-columns: 1fr; }
  .news-highlight-media {
    margin: 10px 10px 0;
    border-radius: 14px;
  }
  .song-highlight-section .news-highlight-media,
  .song-highlight-section .news-highlight-card.featured .news-highlight-media {
    border-radius: 16px;
  }
  .dashboard-layout { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .dashboard-sidebar { position: static; height: auto; overflow: visible; }
  .dashboard-main { height: auto; overflow: visible; padding-right: 0; }
  .admin-users-table thead { display: none; }
  .admin-users-table tbody tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 176, 97, 0.3);
  }
  .admin-users-table tbody tr:last-child { border-bottom: none; }
  .admin-users-table tbody td {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 6px 10px;
    padding: 6px 14px;
    border-bottom: none;
  }
  .admin-users-table tbody td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6a3714;
  }
  .admin-users-joined time { white-space: normal; }
  .news-item .news-image { height: 220px; min-height: 220px; }
  .news-header { align-items: flex-start; }
  .music-grid { grid-template-columns: 1fr; }
  .video-grid-advanced { grid-template-columns: 1fr; }
  .video-spotlight { grid-template-columns: 1fr; }
  .review-media-grid { grid-template-columns: 1fr; }
  .music-card-head { grid-template-columns: 92px 1fr auto; }
  .music-badges { grid-column: 1 / -1; justify-content: flex-start; }
  .music-cover-thumb { width: 92px; height: 92px; }
  .music-cover-wrap { width: 92px; height: 92px; }
  .pulse-grid { grid-template-columns: 1fr; }
  .continue-grid { grid-template-columns: 1fr; }
  .adverts-video-grid { grid-template-columns: 1fr; }
  .filter-row > * { flex-basis: 100%; }
  .topbar { margin: 10px 10px 0; max-width: none; }
  .trend-item {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .trend-item .tag {
    flex: 0 0 auto;
  }
  .trend-item > div:nth-of-type(1) {
    flex: 1 1 140px;
    min-width: 0;
  }
  .trend-play-btn {
    margin-left: auto;
  }
  .payment-banner .payment-method-number {
    word-break: break-all;
    font-size: 1.05em;
  }
  .auth-password-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .auth-password-wrap .auth-toggle-password {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .music-card-head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .music-badges {
    justify-content: center;
  }
  .music-actions {
    justify-content: center;
  }
  .music-grid .trackable-audio {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .leader-item {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 8px;
  }
  .leader-item .metrics {
    text-align: left;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: row;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1080px) and (min-width: 769px) {
  .music-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1220px) {
  .pulse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.admin-news-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 0 12px;
  margin: 4px 0 16px;
  border-bottom: 1px solid var(--border);
}

.admin-news-tabs a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid transparent;
}

.admin-news-tabs a:hover {
  color: var(--text);
  background: rgba(255, 138, 31, 0.1);
}

.admin-news-tabs a.is-active {
  color: #4f290f;
  background: rgba(255, 138, 31, 0.18);
  border-color: rgba(255, 176, 97, 0.55);
}

.editorial-published-row {
  margin-bottom: 14px;
}

.editorial-published-form .row {
  margin-top: 8px;
}

.editorial-thumb-wrap {
  margin-bottom: 12px;
}

.editorial-published-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.editorial-published-actions .editorial-published-form {
  flex: 1 1 280px;
  min-width: 0;
}

.editorial-published-delete {
  flex: 0 0 auto;
  align-self: flex-start;
}

.awards-charts-grid {
  align-items: stretch;
  gap: 12px;
}

.awards-chart-card {
  padding: 12px;
  margin-bottom: 12px;
  overflow: visible;
}

.awards-chart-card h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.awards-chart-card .awards-chart-caption {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.awards-chart-wrap {
  position: relative;
  width: 100%;
  min-height: 200px;
  max-width: 100%;
}

.awards-chart-wrap--wide {
  min-height: 240px;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 193, 128, 0.45);
  background:
    linear-gradient(145deg, rgba(103, 78, 26, 0.96), rgba(136, 86, 28, 0.96) 45%, rgba(170, 93, 29, 0.94)),
    radial-gradient(640px 240px at 8% 0%, rgba(35, 196, 93, 0.28), transparent 72%),
    radial-gradient(560px 220px at 28% 100%, rgba(25, 143, 67, 0.22), transparent 74%),
    radial-gradient(680px 250px at 95% 0%, rgba(255, 176, 97, 0.24), transparent 72%),
    radial-gradient(520px 220px at 52% 0%, rgba(214, 40, 40, 0.16), transparent 68%);
}

.footer-glow {
  height: 4px;
  background: linear-gradient(90deg, var(--green-bright), var(--red-soft), var(--orange-soft));
  box-shadow: 0 0 20px rgba(255, 138, 31, 0.45);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 14px 16px;
  padding-left: max(14px, env(safe-area-inset-left));
  padding-right: max(14px, env(safe-area-inset-right));
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 18px;
  align-items: start;
}

.footer-inner h3,
.footer-inner h4 {
  margin-bottom: 8px;
}

.footer-inner h4 {
  color: #fff4e6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.footer-inner h3 {
  background: linear-gradient(100deg, var(--green-bright), var(--orange-soft), var(--red-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-inner a:not(.footer-social-chip) {
  display: block;
  color: #ffe3c2;
  text-decoration: none;
  margin: 6px 0;
  transition: color .2s ease;
}

.footer-inner p {
  color: #ffedd7;
  line-height: 1.5;
}

.footer-inner a:hover {
  color: #fff1df;
}

.footer-social {
  display: grid;
  grid-template-columns: repeat(3, minmax(5.75rem, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 21rem;
  margin-top: 4px;
}

.footer-social-chip {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 201, 143, 0.38);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: center;
  color: #fff7ef;
  background: linear-gradient(145deg, rgba(35, 196, 93, 0.34), rgba(255, 138, 31, 0.28), rgba(214, 40, 40, 0.2));
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-social-chip--link:hover,
.footer-social-chip--admin:hover {
  color: #fff1df;
  border-color: rgba(255, 201, 143, 0.65);
  transform: translateY(-1px);
}

.footer-social-chip--pending {
  opacity: 0.78;
  cursor: default;
  border-style: dashed;
}

.footer-email-link {
  color: #fff7ef;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-email-link:hover {
  color: #fff1df;
}

.join-us-link {
  font-weight: 700;
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px;
  padding-left: max(14px, env(safe-area-inset-left));
  padding-right: max(14px, env(safe-area-inset-right));
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 201, 143, 0.28);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  color: #ffe0bb;
  font-size: 0.88rem;
}

@media (max-width: 920px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* —— Artist profile (edit page) —— */
.artist-profile-flash {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
.artist-profile-flash--ok {
  border: 1px solid rgba(35, 196, 93, 0.45);
  background: rgba(35, 196, 93, 0.14);
  color: #1a4d2a;
}
.artist-profile-flash--err {
  border: 1px solid rgba(214, 40, 40, 0.45);
  background: rgba(255, 91, 91, 0.12);
  color: #782919;
}

.card.artist-profile-hero {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.artist-profile-cover {
  position: relative;
  height: min(28vw, 180px);
  min-height: 120px;
  overflow: hidden;
  background-color: rgba(25, 100, 55, 0.35);
}

.artist-profile-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.artist-profile-cover-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(35, 196, 93, 0.35), rgba(255, 138, 31, 0.25), rgba(214, 40, 40, 0.2));
}

.artist-profile-cover--empty {
  background-image: linear-gradient(125deg, rgba(35, 196, 93, 0.45), rgba(255, 138, 31, 0.35), rgba(214, 40, 40, 0.25));
}

.artist-profile-cover--empty .artist-profile-cover-scrim {
  background: transparent;
}

.artist-profile-hero--compact .artist-profile-cover {
  height: min(22vw, 140px);
  min-height: 100px;
}

.artist-profile-hero--compact .artist-profile-hero-inner {
  margin-top: -48px;
}

.artist-profile-sub--compact {
  margin: 0;
  font-size: 0.88rem;
}

.artist-profile-sub--compact a {
  font-weight: 700;
}

.artist-profile-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 16px 20px;
  padding: 0 18px 18px;
  margin-top: -56px;
  position: relative;
  z-index: 1;
  align-items: end;
}

.artist-profile-avatar-wrap {
  grid-row: 1 / span 2;
  align-self: end;
}

.artist-profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 246, 236, 0.95);
  box-shadow: 0 10px 28px rgba(120, 63, 28, 0.22);
  display: block;
  background: rgba(255, 248, 239, 0.95);
}

.artist-profile-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #5f2f0f;
  background: linear-gradient(145deg, rgba(255, 248, 239, 0.98), rgba(255, 214, 176, 0.85));
}

.artist-profile-hero-text {
  align-self: end;
  padding-top: 58px;
}

.artist-profile-eyebrow {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.artist-profile-title {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}

.artist-profile-sub {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--muted);
  word-break: break-word;
}

.artist-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.artist-profile-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(120, 63, 28, 0.2);
  background: rgba(255, 248, 239, 0.85);
  color: #5f2f0f;
}

.artist-profile-chip--verified {
  border-color: rgba(35, 196, 93, 0.5);
  background: rgba(35, 196, 93, 0.16);
  color: #174d28;
}

.artist-profile-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
}

.artist-profile-stats dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.artist-profile-stats dd {
  margin: 4px 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.artist-analytics-card h2 {
  margin-bottom: 0;
}

.artist-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
}

.artist-metric-card {
  margin: 0;
  padding: 16px 12px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 176, 97, 0.4);
  background: rgba(255, 138, 31, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.artist-metrics-grid dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

.artist-metrics-grid dd {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
}

@media (max-width: 900px) {
  .artist-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .artist-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.artist-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 16px;
  align-items: start;
}

.artist-profile-card .artist-profile-h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.artist-profile-lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.artist-profile-form.stack-form {
  max-width: none;
}

.artist-profile-hint {
  margin: -2px 0 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.artist-profile-uploads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.artist-profile-upload-block {
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed rgba(120, 63, 28, 0.28);
  background: rgba(255, 248, 239, 0.5);
}

.artist-profile-upload-block input[type="file"] {
  margin-top: 4px;
}

.artist-profile-remove {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6a3714;
  cursor: pointer;
}

.artist-profile-remove input {
  width: auto;
  margin: 0;
}

.artist-profile-actions {
  margin-top: 8px;
}

.artist-profile-save {
  min-width: 160px;
}

.artist-profile-aside-list {
  margin: 0 0 14px;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.55;
}

.artist-profile-aside-list a {
  font-weight: 700;
  color: var(--orange-deep);
}

.artist-profile-aside-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .artist-profile-uploads {
    grid-template-columns: 1fr;
  }
  .artist-profile-grid {
    grid-template-columns: 1fr;
  }
  .artist-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .artist-profile-hero-inner {
    grid-template-columns: 1fr;
    margin-top: -48px;
  }
  .artist-profile-avatar-wrap {
    grid-row: auto;
    justify-self: start;
  }
  .artist-profile-hero-text {
    padding-top: 12px;
  }
}

/* —— Public artists page (advanced layout) —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.artists-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card.artists-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px) clamp(18px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(155deg, rgba(255, 252, 248, 0.92) 0%, rgba(255, 241, 224, 0.78) 48%, rgba(255, 236, 214, 0.88) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 22px 56px rgba(25, 100, 55, 0.12),
    0 8px 24px rgba(120, 63, 28, 0.1);
}

.artists-hero-bg {
  position: absolute;
  inset: -40%;
  opacity: 0.55;
  background:
    conic-gradient(from 200deg at 70% 40%, rgba(35, 196, 93, 0.2), transparent 40%, rgba(255, 138, 31, 0.18) 58%, transparent 75%, rgba(214, 40, 40, 0.12) 88%, rgba(35, 196, 93, 0.15) 100%);
  animation: artistsHeroAura 22s linear infinite;
  pointer-events: none;
}

@keyframes artistsHeroAura {
  to { transform: rotate(360deg); }
}

.artists-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.artists-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  animation: artistsOrbFloat 8s ease-in-out infinite;
}

.artists-hero-orb--a {
  width: 180px;
  height: 180px;
  background: rgba(35, 196, 93, 0.45);
  top: -8%;
  right: 8%;
  animation-delay: 0s;
}

.artists-hero-orb--b {
  width: 220px;
  height: 220px;
  background: rgba(255, 138, 31, 0.35);
  bottom: -12%;
  left: -5%;
  animation-delay: -2.5s;
}

.artists-hero-orb--c {
  width: 120px;
  height: 120px;
  background: rgba(214, 40, 40, 0.22);
  top: 40%;
  left: 35%;
  animation-delay: -5s;
}

@keyframes artistsOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.06); }
}

.artists-hero-content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.artists-hero-kicker {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.artists-hero-title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #1a5c30;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .artists-hero-title {
    background: linear-gradient(115deg, #1a5c30 0%, #198f43 28%, #c45a10 72%, #b91c1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.artists-hero-lead {
  margin: 0 0 22px;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.55;
  color: #5c3820;
  max-width: 38rem;
}

.artists-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.artists-hero-stat {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(120, 63, 28, 0.14);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.artists-hero-stat--accent {
  background: linear-gradient(135deg, rgba(35, 196, 93, 0.12), rgba(255, 138, 31, 0.12));
  border-color: rgba(35, 196, 93, 0.25);
}

.artists-hero-stat-value {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.artists-hero-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.artists-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.artists-hero-btn-primary {
  box-shadow: 0 8px 24px rgba(255, 138, 31, 0.25);
}

.artists-hero-btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(120, 63, 28, 0.22);
  color: #5f2f0f;
}

.artists-toolbar {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(255, 244, 232, 0.88));
  box-shadow: 0 10px 32px rgba(120, 63, 28, 0.07);
}

.artists-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.artists-search-field {
  flex: 1 1 220px;
  position: relative;
  min-width: 0;
}

.artists-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  display: flex;
  opacity: 0.85;
}

.artists-search-input {
  width: 100%;
  margin: 0;
  padding: 12px 14px 12px 44px;
  border-radius: 12px;
  border: 1px solid rgba(120, 63, 28, 0.18);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.artists-search-input:focus {
  border-color: rgba(255, 138, 31, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 138, 31, 0.18), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.artists-toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.artists-sort-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6a3714;
}

.artists-sort-text {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  color: var(--muted);
}

.artists-sort-select {
  width: auto;
  min-width: 150px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.artists-result-pill {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(35, 196, 93, 0.35);
  background: rgba(35, 196, 93, 0.1);
  color: #174d28;
}

.artists-directory-shell {
  padding: 4px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.artists-directory-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .artists-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .artists-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .artists-hero-stats {
    grid-template-columns: 1fr;
  }
}

/* Artist cards (linked) */
a.artist-dir-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(165deg, rgba(255, 252, 248, 0.96) 0%, rgba(255, 241, 224, 0.82) 100%);
  box-shadow:
    0 0 0 1px rgba(120, 63, 28, 0.08) inset,
    0 14px 36px rgba(120, 63, 28, 0.1);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.25s ease;
  animation: artistsCardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: var(--stagger, 0s);
}

@keyframes artistsCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

a.artist-dir-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 138, 31, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 176, 97, 0.35) inset,
    0 22px 48px rgba(255, 138, 31, 0.18),
    0 12px 28px rgba(25, 100, 55, 0.12);
}

a.artist-dir-card:focus-visible {
  outline: 3px solid rgba(255, 138, 31, 0.85);
  outline-offset: 3px;
}

.artist-dir-card-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 0%, rgba(255, 138, 31, 0.12), transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(35, 196, 93, 0.1), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

a.artist-dir-card:hover .artist-dir-card-glow {
  opacity: 1;
}

.artist-dir-card-visual {
  position: relative;
  height: 128px;
  flex-shrink: 0;
}

.artist-dir-card-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: rgba(25, 100, 55, 0.35);
  transform: scale(1.02);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.artist-dir-card-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

a.artist-dir-card:hover .artist-dir-card-cover {
  transform: scale(1.08);
}

.artist-dir-card-cover--empty {
  background-image: linear-gradient(125deg, rgba(35, 196, 93, 0.55), rgba(255, 138, 31, 0.42), rgba(214, 40, 40, 0.35));
}

.artist-dir-card-cover-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(62, 34, 15, 0.25) 100%);
  pointer-events: none;
}

.artist-dir-avatar {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: -36px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 252, 248, 0.98);
  box-shadow:
    0 10px 28px rgba(120, 63, 28, 0.22),
    0 0 0 1px rgba(255, 176, 97, 0.35);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.artist-dir-card:hover .artist-dir-avatar {
  transform: scale(1.04);
  box-shadow:
    0 14px 36px rgba(255, 138, 31, 0.28),
    0 0 0 1px rgba(35, 196, 93, 0.4);
}

.artist-dir-avatar--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.6rem;
  color: #5f2f0f;
  background: linear-gradient(160deg, #fffdf9, rgba(255, 214, 176, 0.95));
}

.artist-dir-card-body {
  position: relative;
  z-index: 1;
  padding: 48px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.35) 0%, rgba(255, 246, 236, 0.92) 28%);
}

.artist-dir-card-top {
  min-height: 2.6rem;
}

.artist-dir-name {
  margin: 0 0 6px;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

.artist-dir-meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.artist-dir-meta-sep {
  margin: 0 0.25em;
  opacity: 0.55;
}

.artist-dir-count {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
}

.artist-dir-count-n {
  font-size: 1.35rem;
  background: linear-gradient(120deg, #198f43, #23c45d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.artist-dir-count-l {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.artist-dir-bio {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #5c3820;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.artist-dir-bio--muted {
  color: var(--muted);
  font-style: italic;
}

.artist-dir-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

.artist-dir-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.artist-dir-chip {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(120, 63, 28, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: #5f2f0f;
}

.artist-dir-chip--verified {
  border-color: rgba(35, 196, 93, 0.5);
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.18), rgba(255, 248, 239, 0.9));
  color: #174d28;
}

.artist-dir-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c45a10;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 138, 31, 0.14);
  border: 1px solid rgba(255, 138, 31, 0.35);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

a.artist-dir-card:hover .artist-dir-cta {
  background: rgba(255, 138, 31, 0.28);
  color: #8f4208;
  transform: translateX(2px);
}

.artist-dir-cta-arrow {
  transition: transform 0.25s ease;
}

a.artist-dir-card:hover .artist-dir-cta-arrow {
  transform: translateX(4px);
}

/* Empty state */
.artists-empty {
  text-align: center;
  padding: clamp(28px, 5vw, 48px) 20px;
  border: 1px dashed rgba(120, 63, 28, 0.28);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.9), rgba(255, 236, 214, 0.5));
}

.artists-empty-visual {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
}

.artists-empty-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 138, 31, 0.35);
  animation: artistsEmptyPulse 2.4s ease-in-out infinite;
}

@keyframes artistsEmptyPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.65; }
}

.artists-empty-note {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0.85;
}

.artists-empty-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.artists-empty-text {
  margin: 0 auto 18px;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .artists-hero-bg,
  .artists-hero-orb,
  .artists-empty-ring {
    animation: none !important;
  }

  a.artist-dir-card {
    animation: none;
  }

  a.artist-dir-card:hover {
    transform: translateY(-2px);
  }

  a.artist-dir-card:hover .artist-dir-card-cover {
    transform: scale(1.02);
  }
}

.music-catalog-artist-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.music-catalog-artist-banner .btn {
  margin-left: auto;
}

/* —— Shared public heroes (Music, News, Awards, About, Contact, Legal) —— */
.zed-page-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card.zed-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px) clamp(18px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(155deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 241, 224, 0.82) 52%, rgba(255, 236, 214, 0.9) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 22px 56px rgba(25, 100, 55, 0.1),
    0 8px 24px rgba(120, 63, 28, 0.09);
}

.zed-hero-bg {
  position: absolute;
  inset: -40%;
  opacity: 0.52;
  background: conic-gradient(
    from 200deg at 65% 38%,
    rgba(35, 196, 93, 0.18) 0deg,
    transparent 32%,
    rgba(255, 138, 31, 0.16) 52%,
    transparent 70%,
    rgba(214, 40, 40, 0.12) 88%,
    rgba(35, 196, 93, 0.14) 360deg
  );
  animation: zedHeroAura 23s linear infinite;
  pointer-events: none;
}

@keyframes zedHeroAura {
  to { transform: rotate(360deg); }
}

.zed-hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.zed-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.48;
  animation: zedHeroOrbFloat 8.5s ease-in-out infinite;
}

.zed-hero-orb--a {
  width: 190px;
  height: 190px;
  background: rgba(35, 196, 93, 0.42);
  top: -10%;
  right: 6%;
}

.zed-hero-orb--b {
  width: 230px;
  height: 230px;
  background: rgba(255, 138, 31, 0.34);
  bottom: -14%;
  left: -6%;
  animation-delay: -2.8s;
}

.zed-hero-orb--c {
  width: 130px;
  height: 130px;
  background: rgba(214, 40, 40, 0.22);
  top: 42%;
  left: 32%;
  animation-delay: -5.5s;
}

@keyframes zedHeroOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -16px) scale(1.05); }
}

.zed-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.zed-hero-kicker {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.zed-hero-title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #3a210f;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .zed-hero-title {
    background: linear-gradient(115deg, #1a5c30 0%, #198f43 26%, #c45a10 70%, #9a1e2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.zed-hero-lead {
  margin: 0 0 22px;
  font-size: clamp(0.95rem, 1.6vw, 1.06rem);
  line-height: 1.55;
  color: #5c3820;
  max-width: 38rem;
}

.zed-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.zed-hero-stat {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(120, 63, 28, 0.12);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.zed-hero-stat--accent {
  background: linear-gradient(135deg, rgba(35, 196, 93, 0.12), rgba(255, 138, 31, 0.12));
  border-color: rgba(255, 138, 31, 0.28);
}

.zed-hero-stat-value {
  display: block;
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.zed-hero-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.zed-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zed-hero-btn-primary {
  box-shadow: 0 8px 22px rgba(255, 138, 31, 0.22);
}

.zed-hero-btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(120, 63, 28, 0.22);
  color: #5f2f0f;
}

.card.zed-hero--news .zed-hero-bg {
  background: conic-gradient(from 180deg at 30% 40%, rgba(214, 40, 40, 0.14), transparent 35%, rgba(35, 196, 93, 0.16) 58%, transparent 78%, rgba(255, 138, 31, 0.14) 100%);
}

.card.zed-hero--news .zed-hero-orb--a {
  background: rgba(214, 40, 40, 0.32);
}

.card.zed-hero--news .zed-hero-orb--b {
  background: rgba(35, 196, 93, 0.36);
}

.card.zed-hero--awards .zed-hero-bg {
  opacity: 0.48;
  background: conic-gradient(from 220deg at 60% 45%, rgba(255, 184, 60, 0.2), transparent 40%, rgba(35, 196, 93, 0.14) 62%, rgba(120, 80, 200, 0.12) 85%, transparent 100%);
}

.card.zed-hero--awards .zed-hero-orb--a {
  background: rgba(255, 176, 60, 0.4);
}

.card.zed-hero--awards .zed-hero-orb--c {
  background: rgba(120, 80, 200, 0.28);
}

.card.zed-hero--about .zed-hero-orb--b {
  background: rgba(35, 196, 93, 0.4);
}

.card.zed-hero--contact .zed-hero-bg {
  background: conic-gradient(from 160deg at 70% 30%, rgba(35, 196, 93, 0.18), transparent 42%, rgba(120, 90, 200, 0.14) 68%, transparent 90%);
}

.card.zed-hero--contact .zed-hero-orb--a {
  background: rgba(120, 90, 200, 0.34);
}

.card.zed-hero--legal .zed-hero-bg {
  opacity: 0.5;
  background: conic-gradient(from 200deg at 40% 50%, rgba(60, 60, 80, 0.12), transparent 45%, rgba(35, 196, 93, 0.14) 70%, rgba(214, 40, 40, 0.1) 95%, transparent 100%);
}

.card.zed-hero--legal .zed-hero-orb--b {
  background: rgba(60, 70, 90, 0.28);
}

@media (max-width: 620px) {
  .zed-hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zed-hero-bg,
  .zed-hero-orb {
    animation: none !important;
  }
}

/* Music page filter strip */
.music-filter-row {
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(255, 244, 232, 0.88));
  box-shadow: 0 8px 26px rgba(120, 63, 28, 0.06);
}

.music-page {
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 0 0 1px rgba(120, 63, 28, 0.05) inset,
    0 18px 44px rgba(120, 63, 28, 0.08);
}

/* News toolbar + empty */
.news-toolbar--lux {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 244, 232, 0.88));
  box-shadow: 0 10px 30px rgba(120, 63, 28, 0.06);
}

.news-toolbar-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-toolbar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-toolbar-chips .news-filter-btn {
  cursor: pointer;
  border: 1px solid rgba(120, 63, 28, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: #5f2f0f;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-toolbar-chips .news-filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 138, 31, 0.45);
}

.news-toolbar-chips .news-filter-btn.active {
  border-color: rgba(214, 40, 40, 0.42);
  background: linear-gradient(120deg, rgba(214, 40, 40, 0.12), rgba(35, 196, 93, 0.12));
  box-shadow: 0 0 0 1px rgba(214, 40, 40, 0.12) inset;
}

.zed-empty {
  text-align: center;
  padding: clamp(26px, 4vw, 44px) 18px;
  border-radius: 16px;
  border: 1px dashed rgba(120, 63, 28, 0.22);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.92), rgba(255, 236, 214, 0.45));
}

.zed-empty-visual {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
}

.zed-empty-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(214, 40, 40, 0.28);
  animation: zedEmptyPulse 2.4s ease-in-out infinite;
}

@keyframes zedEmptyPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.07); opacity: 0.65; }
}

.zed-empty-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.zed-empty-title {
  margin: 0 0 8px;
  font-size: 1.28rem;
  font-weight: 800;
}

.zed-empty-text {
  margin: 0 auto 16px;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.55;
}

.zed-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Awards intro card below hero */
.awards-intro-heading {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

/* Prose / legal / about */
.zed-prose-card {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 244, 232, 0.9));
  box-shadow: 0 14px 36px rgba(120, 63, 28, 0.07);
}

.zed-prose-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4f290f;
  font-weight: 600;
}

.zed-prose-card p {
  line-height: 1.65;
  color: #5c3820;
}

.zed-prose-card h2,
.zed-prose-card h3 {
  color: var(--text);
  margin-top: 1.25em;
}

.zed-prose-card h2:first-child,
.zed-prose-card h3:first-of-type {
  margin-top: 0;
}

.zed-leadership-card {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 244, 232, 0.9));
  box-shadow: 0 14px 36px rgba(120, 63, 28, 0.07);
}

.zed-leadership-heading {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.zed-leadership-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  align-items: start;
}

.zed-leadership-profile {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin: 0;
  min-width: 0;
}

.zed-leadership-portrait {
  position: relative;
  flex-shrink: 0;
  width: 117px;
  height: 117px;
  padding: 1px;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    var(--green-bright) 0%,
    var(--orange) 28%,
    var(--orange-soft) 52%,
    var(--green) 78%,
    var(--green-bright) 100%
  );
  box-shadow:
    0 5px 12px rgba(120, 63, 28, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

.zed-leadership-portrait::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 42%,
    transparent 58%,
    rgba(255, 255, 255, 0.1) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.zed-leadership-portrait-ring {
  width: 100%;
  height: 100%;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(165deg, #fffdf9 0%, #ffe9d2 100%);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(196, 106, 42, 0.18);
}

.zed-leadership-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  aspect-ratio: 1 / 1;
}

.zed-leadership-caption {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.zed-leadership-name {
  margin: 0 0 0.2rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: #3d1f0a;
}

.zed-leadership-role {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #c46a2a;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.zed-leadership-expertise {
  margin: 0;
  max-width: none;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #5c3820;
}

.zed-leadership-contact {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.zed-leadership-phone,
.zed-leadership-email {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.zed-leadership-contact a {
  color: var(--green);
  text-decoration: none;
  word-break: break-word;
}

.zed-leadership-contact a:hover {
  color: var(--orange-deep);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .zed-leadership-list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .zed-leadership-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 176, 97, 0.28);
    background: rgba(255, 255, 255, 0.35);
  }

  .zed-leadership-caption {
    width: 100%;
  }

  .zed-leadership-contact {
    align-items: center;
  }

  .zed-prose-card {
    padding: 14px 16px;
    word-break: break-word;
  }

  .zed-prose-card p {
    line-height: 1.6;
  }
}

@media (max-width: 640px) {
  .zed-leadership-portrait {
    width: 94px;
    height: 94px;
  }

  .zed-leadership-name {
    font-size: 1rem;
  }

  .zed-leadership-role {
    font-size: 0.72rem;
  }

  .zed-leadership-expertise {
    font-size: 0.8rem;
  }

  .zed-leadership-phone,
  .zed-leadership-email {
    font-size: 0.76rem;
  }
}

.zed-legal-static .zed-legal-h2 {
  margin-top: 0;
}

.zed-legal-doc-card {
  border: 1px solid rgba(120, 63, 28, 0.12);
  background: rgba(255, 255, 255, 0.55);
}

.zed-legal-doc-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.zed-legal-doc-body {
  line-height: 1.6;
  color: #5c3820;
}

/* Contact */
.zed-contact-card {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 252, 250, 0.96), rgba(255, 244, 232, 0.9));
  box-shadow: 0 14px 36px rgba(120, 63, 28, 0.07);
}

.zed-contact-flash {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-weight: 600;
}

.zed-contact-flash--ok {
  border: 1px solid rgba(35, 196, 93, 0.45);
  background: rgba(35, 196, 93, 0.12);
  color: #174d28;
}

.zed-contact-flash--err {
  border: 1px solid rgba(214, 40, 40, 0.4);
  background: rgba(255, 91, 91, 0.1);
  color: #782919;
}

.zed-contact-form {
  max-width: 640px;
}

.news-page {
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 0 0 1px rgba(120, 63, 28, 0.05) inset,
    0 18px 44px rgba(120, 63, 28, 0.08);
}

/* Marketplace page — news-style dynamics */
.card.zed-hero--marketplace .zed-hero-bg {
  background: conic-gradient(from 140deg at 25% 35%, rgba(255, 138, 31, 0.18), transparent 38%, rgba(35, 196, 93, 0.16) 62%, transparent 82%, rgba(214, 40, 40, 0.12) 100%);
}

.card.zed-hero--marketplace .zed-hero-orb--a {
  background: rgba(255, 138, 31, 0.38);
}

.card.zed-hero--marketplace .zed-hero-orb--b {
  background: rgba(35, 196, 93, 0.34);
}

.card.zed-hero--marketplace .zed-hero-orb--c {
  background: rgba(214, 40, 40, 0.22);
}

.marketplace-hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px solid rgba(200, 94, 16, 0.15);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marketplace-hero-ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marketplaceTicker 28s linear infinite;
}

.marketplace-hero-ticker-track span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(160, 74, 18, 0.75);
  white-space: nowrap;
}

@keyframes marketplaceTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marketplace-page {
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 0 0 1px rgba(120, 63, 28, 0.05) inset,
    0 18px 44px rgba(120, 63, 28, 0.08);
}

.marketplace-toolbar--lux {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 244, 232, 0.88));
  box-shadow: 0 10px 30px rgba(120, 63, 28, 0.06);
}

.marketplace-toolbar-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.marketplace-toolbar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marketplace-filter-btn {
  cursor: pointer;
  border: 1px solid rgba(120, 63, 28, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: #5f2f0f;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.marketplace-filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 138, 31, 0.45);
}

.marketplace-filter-btn.active {
  border-color: rgba(255, 138, 31, 0.5);
  background: linear-gradient(120deg, rgba(255, 138, 31, 0.16), rgba(35, 196, 93, 0.12));
  box-shadow: 0 0 0 1px rgba(255, 138, 31, 0.12) inset;
}

.marketplace-search-wrap {
  flex: 1 1 180px;
  min-width: 160px;
  margin-left: auto;
}

.marketplace-search-input {
  width: 100%;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(200, 94, 16, 0.28);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  color: #4a260f;
}

.marketplace-search-input:focus {
  outline: none;
  border-color: rgba(255, 138, 31, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 138, 31, 0.15);
}

.marketplace-spotlight--lux {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  margin-bottom: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 176, 97, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 248, 239, 0.96), rgba(255, 228, 190, 0.55)),
    radial-gradient(480px 200px at 0% 100%, rgba(35, 196, 93, 0.12), transparent 70%);
  box-shadow: 0 16px 36px rgba(170, 93, 29, 0.14);
  overflow: hidden;
}

.marketplace-spotlight-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
}

.marketplace-spotlight-media:has(.marketplace-spotlight-banner:not([hidden])) {
  aspect-ratio: 3 / 1;
}

.marketplace-spotlight-media:has(video:not([hidden])) {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(35, 196, 93, 0.2), rgba(255, 138, 31, 0.25));
}

.marketplace-spotlight-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.marketplace-spotlight-banner {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.marketplace-spotlight-media video[hidden],
.marketplace-spotlight-banner[hidden],
.marketplace-spotlight-brand[hidden] {
  display: none !important;
}

.marketplace-spotlight-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 1;
  width: 100%;
}

.marketplace-spotlight-brand span {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #23c45d, #ff8a1f, #d62828);
  box-shadow: 0 12px 28px rgba(200, 94, 16, 0.28);
  animation: marketplacePulse 3s ease-in-out infinite;
}

@keyframes marketplacePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.marketplace-spotlight-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, #23c45d, #ff8a1f);
}

.marketplace-spotlight-meta h2 {
  margin: 8px 0 10px;
  font-size: 1.45rem;
  color: #4a260f;
}

.marketplace-spotlight-body {
  margin: 0 0 10px;
  line-height: 1.55;
  color: #6a3714;
}

.marketplace-spotlight-date {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
}

.marketplace-count-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a04a12;
  background: rgba(255, 176, 97, 0.35);
  border: 1px solid rgba(200, 94, 16, 0.25);
}

.marketplace-list {
  display: grid;
  gap: 14px;
}

.marketplace-page .marketplace-list .marketplace-item {
  animation: marketplaceSlideIn 0.55s ease both;
  animation-delay: var(--marketplace-delay, 0ms);
}

@keyframes marketplaceSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.marketplace-item {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 186, 122, 0.42);
  background:
    linear-gradient(160deg, rgba(255, 239, 218, 0.94), rgba(255, 222, 188, 0.9)),
    radial-gradient(520px 220px at 10% 100%, rgba(35, 196, 93, 0.14), transparent 72%);
  box-shadow: 0 16px 30px rgba(170, 93, 29, 0.16);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  isolation: isolate;
  position: relative;
  cursor: pointer;
}

.marketplace-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(220px 120px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 62%);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 0;
}

.marketplace-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 176, 97, 0.62);
  box-shadow: 0 20px 34px rgba(170, 93, 29, 0.22);
}

.marketplace-item:hover::after {
  opacity: 1;
}

.marketplace-item.is-hidden {
  display: none;
}

.marketplace-item.is-selected {
  border-color: rgba(35, 196, 93, 0.55);
  box-shadow: 0 0 0 2px rgba(35, 196, 93, 0.2), 0 20px 34px rgba(170, 93, 29, 0.22);
}

.marketplace-item--featured {
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  border-color: rgba(35, 196, 93, 0.5);
  overflow: hidden;
}

.marketplace-item--featured::before {
  content: "";
  position: absolute;
  top: -130%;
  left: -55%;
  width: 55%;
  height: 260%;
  transform: rotate(20deg);
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: featuredShine 4.2s ease-in-out infinite;
  z-index: 0;
}

.marketplace-item-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(35, 196, 93, 0.2), rgba(255, 138, 31, 0.25));
}

.marketplace-item-media--banner {
  aspect-ratio: 3 / 1;
  min-height: unset;
  max-height: none;
  background: rgba(255, 255, 255, 0.72);
}

.marketplace-item-media:has(video) {
  aspect-ratio: 16 / 9;
  min-height: unset;
  max-height: none;
}

.marketplace-item-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.25s ease;
}

.marketplace-item-media .marketplace-banner-image {
  transition: transform 0.25s ease;
}

.marketplace-item:hover .marketplace-item-media video {
  transform: scale(1.03);
}

.review-advert-banner {
  display: block;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  margin: 10px 0;
  border: 1px solid rgba(200, 94, 16, 0.25);
}

.marketplace-item-media--brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketplace-item-mark {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #23c45d, #ff8a1f, #d62828);
  box-shadow: 0 8px 20px rgba(200, 94, 16, 0.25);
}

.marketplace-item-play {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.marketplace-item-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.marketplace-item-content h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #5f2f0f;
}

.marketplace-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.marketplace-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #40210e;
  background: linear-gradient(120deg, rgba(35, 196, 93, 0.34), rgba(255, 176, 97, 0.58));
  border: 1px solid rgba(255, 176, 97, 0.56);
}

.marketplace-body {
  margin: 0;
  line-height: 1.55;
  color: #6c4226;
}

.marketplace-toggle-btn {
  margin-top: 10px;
  background: rgba(255, 138, 31, 0.18);
  color: #5c2f10;
  border: 1px solid rgba(255, 176, 97, 0.6);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  cursor: pointer;
}

.marketplace-item-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, #23c45d, #ff8a1f);
}

.marketplace-item-cta:hover {
  filter: brightness(1.08);
  color: #fff;
}

/* Home marketplace enhancements */
.marketplace-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.marketplace-explore-btn {
  background: linear-gradient(120deg, #178a3f 0%, #e07812 52%, #c73a20 100%);
  color: #fff;
  border: 2px solid rgba(95, 47, 15, 0.45);
  box-shadow: 0 8px 22px rgba(200, 94, 16, 0.32);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.marketplace-explore-btn:hover {
  color: #fff;
  border-color: rgba(95, 47, 15, 0.6);
  box-shadow: 0 10px 28px rgba(200, 94, 16, 0.4);
}

.marketplace-preview-ticker {
  overflow: hidden;
  margin-bottom: 14px;
  padding: 8px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marketplace-preview-ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marketplaceTicker 22s linear infinite;
}

.marketplace-preview-ticker-track span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #a04a12;
  white-space: nowrap;
}

.marketplace-section .marketplace-grid .marketplace-card {
  animation: marketplaceSlideIn 0.5s ease both;
  animation-delay: var(--marketplace-delay, 0ms);
}

/* Marketplace page — desktop-only two-column cards (wrapped in min-width so mobile can stack) */
@media (min-width: 901px) {
  .marketplace-page-wrap .marketplace-spotlight--lux {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  }

  .marketplace-page-wrap .marketplace-spotlight-brand span {
    width: 62px;
    height: 62px;
    font-size: 1.4rem;
  }

  .marketplace-page-wrap .marketplace-item {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  }

  .marketplace-page-wrap .marketplace-item--featured {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  }

  .marketplace-page-wrap .marketplace-item-mark {
    width: 50px;
    height: 50px;
    font-size: 1.05rem;
  }
}

/* Marketplace — tablet & mobile */
@media (max-width: 900px) {
  .marketplace-page-wrap {
    min-width: 0;
    overflow-x: hidden;
  }

  .marketplace-page {
    padding: 12px;
    overflow: hidden;
  }

  .card.zed-hero--marketplace {
    padding-bottom: 48px;
  }

  .marketplace-hero-ticker {
    left: 0;
    right: 0;
  }

  .marketplace-spotlight--lux,
  .marketplace-page-wrap .marketplace-spotlight--lux {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
  }

  .marketplace-spotlight-media {
    min-height: 0;
  }

  .marketplace-spotlight-media:has(.marketplace-spotlight-banner:not([hidden])) {
    aspect-ratio: 16 / 9;
  }

  .marketplace-spotlight-meta h2 {
    font-size: 1.2rem;
    word-break: break-word;
  }

  .marketplace-spotlight-body {
    word-break: break-word;
  }

  .marketplace-spotlight-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .marketplace-item,
  .marketplace-item--featured,
  .marketplace-page-wrap .marketplace-item,
  .marketplace-page-wrap .marketplace-item--featured {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
    min-width: 0;
    max-width: 100%;
  }

  .marketplace-item-media,
  .marketplace-item-media--banner,
  .marketplace-item-media:has(video) {
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .marketplace-item-content {
    width: 100%;
    min-width: 0;
  }

  .marketplace-item-content h3 {
    font-size: 1.05rem;
    word-break: break-word;
  }

  .marketplace-body {
    word-break: break-word;
  }

  .marketplace-item-cta {
    display: inline-flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }

  .marketplace-toolbar--lux {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
  }

  .marketplace-toolbar-chips {
    width: 100%;
    justify-content: flex-start;
  }

  .marketplace-filter-btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    text-align: center;
    padding: 10px 8px;
  }

  .marketplace-search-wrap {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .marketplace-head-actions {
    width: 100%;
  }

  .marketplace-head-actions .btn {
    flex: 1;
    text-align: center;
  }

  .marketplace-page-wrap [data-tilt] {
    transform: none !important;
  }

  .marketplace-item:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .marketplace-filter-btn {
    flex: 1 1 100%;
  }

  .zed-hero--marketplace .zed-hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .zed-hero--marketplace .zed-hero-cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .marketplace-spotlight-brand span {
    width: 72px;
    height: 72px;
    font-size: 1.65rem;
  }

  .zed-empty--marketplace .zed-empty-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .zed-empty--marketplace .zed-empty-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketplace-hero-ticker-track,
  .marketplace-preview-ticker-track {
    animation: none;
  }
  .marketplace-page .marketplace-list .marketplace-item,
  .marketplace-section .marketplace-grid .marketplace-card {
    animation: none;
  }
}

/* Section comments (Music, Videos, News, Artists, Awards, Marketplace) */
.section-comments {
  margin-top: 1.25rem;
}

.section-comments-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.section-comments-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.section-comments-count {
  font-size: 0.875rem;
  color: var(--muted, #6b5a4a);
}

.section-comments-flash {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(25, 143, 67, 0.12);
  color: var(--ink, #3a210f);
  font-size: 0.9rem;
}

.section-comments-login {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.section-comments-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.section-comments-form textarea {
  width: 100%;
  min-height: 4.5rem;
  resize: vertical;
  border-radius: 10px;
  border: 1px solid rgba(58, 33, 15, 0.18);
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.85);
}

.section-comments-form button[type="submit"] {
  align-self: flex-start;
}

.section-comments-empty {
  margin: 0;
  color: var(--muted, #6b5a4a);
  font-size: 0.95rem;
}

.section-comments-list,
.section-comments-replies {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-comments-list > .section-comment-item {
  padding: 1rem 0;
  border-top: 1px solid rgba(58, 33, 15, 0.1);
}

.section-comments-list > .section-comment-item:first-child {
  border-top: none;
  padding-top: 0;
}

.section-comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}

.section-comment-meta strong {
  font-size: 0.95rem;
}

.section-comment-role {
  text-transform: capitalize;
  font-size: 0.75rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 138, 31, 0.2);
}

.section-comment-meta time {
  color: var(--muted, #6b5a4a);
  margin-left: auto;
}

.section-comment-body {
  margin: 0 0 0.5rem;
  line-height: 1.55;
  word-break: break-word;
}

.section-comment-reply-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.875rem;
  color: var(--accent, #198f43);
  cursor: pointer;
  text-decoration: underline;
}

.section-comments-form--reply {
  margin: 0.5rem 0 0;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(58, 33, 15, 0.04);
}

.section-comments-replies {
  margin: 0.75rem 0 0 1rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(25, 143, 67, 0.35);
}

.section-comments-replies .section-comment-item {
  padding: 0.65rem 0;
}

.section-comments-replies .section-comment-item:first-child {
  padding-top: 0;
}

/* —— System feedback (in-app alerts & confirm, not browser dialogs) —— */
.system-flash,
.system-toast,
.msg.ok,
.msg.err,
p.msg.ok,
p.msg.err {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.system-flash--ok,
.system-toast--ok,
.msg.ok,
p.msg.ok {
  border: 1px solid rgba(35, 196, 93, 0.45);
  background: rgba(35, 196, 93, 0.14);
  color: #1a4d2a;
}

.system-flash--err,
.system-toast--err,
.msg.err,
p.msg.err {
  border: 1px solid rgba(214, 40, 40, 0.45);
  background: rgba(255, 91, 91, 0.12);
  color: #782919;
}

.system-flash--info,
.system-toast--info {
  border: 1px solid rgba(200, 94, 16, 0.4);
  background: rgba(255, 183, 77, 0.14);
  color: #6b3f12;
}

.system-toast-host {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(420px, calc(100vw - 24px));
  pointer-events: none;
}

.system-toast {
  pointer-events: auto;
  box-shadow: 0 12px 32px rgba(24, 18, 12, 0.18);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.system-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.system-modal-open {
  overflow: hidden;
}

.system-modal {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  padding: 16px;
}

.system-modal[hidden] {
  display: none !important;
}

.system-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.55);
  backdrop-filter: blur(3px);
}

.system-modal-panel {
  position: relative;
  width: min(440px, 100%);
  background: #fffaf4;
  border: 1px solid rgba(200, 94, 16, 0.25);
  border-radius: 16px;
  padding: 20px 18px 16px;
  box-shadow: 0 20px 48px rgba(24, 18, 12, 0.22);
}

.system-modal-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a2118;
}

.system-modal-body {
  margin: 0 0 16px;
  color: #4a4034;
  line-height: 1.5;
}

.system-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.system-modal-cancel {
  background: transparent;
  border: 1px solid rgba(74, 64, 52, 0.35);
  color: #4a4034;
}

.system-modal-confirm {
  background: linear-gradient(135deg, #e8871a, #c85e10);
  border: none;
  color: #fff;
}

/* —— Join Us: artist vs record label —— */
.register-choose-card {
  max-width: 720px;
  margin-inline: auto;
}

.register-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.register-choose-option {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  border-radius: 14px;
  border: 1px solid rgba(200, 94, 16, 0.22);
  background: linear-gradient(160deg, rgba(255, 250, 244, 0.95), rgba(255, 243, 230, 0.85));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.register-choose-option:hover {
  border-color: rgba(200, 94, 16, 0.5);
  box-shadow: 0 12px 28px rgba(24, 18, 12, 0.12);
  transform: translateY(-2px);
}

.register-choose-option--label {
  border-color: rgba(46, 92, 138, 0.28);
  background: linear-gradient(160deg, rgba(244, 248, 255, 0.95), rgba(232, 240, 252, 0.9));
}

.register-choose-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.register-choose-option h2 {
  margin: 0;
  font-size: 1.15rem;
}

.register-choose-option p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: #4a4034;
  line-height: 1.45;
}

.register-choose-cta {
  align-self: flex-start;
  margin-top: 4px;
}

.register-choose-footer {
  text-align: center;
}

.register-label-note {
  font-size: 0.9rem;
  color: #5a5044;
  margin: 0 0 12px;
}

/* —— Record label subscription UI —— */
.label-status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.label-status-badge--pending,
.label-status-badge--payment_submitted {
  background: rgba(200, 94, 16, 0.12);
  color: #8a4a0a;
}

.label-status-badge--active {
  background: rgba(34, 120, 68, 0.14);
  color: #1a5c34;
}

.label-status-badge--expired,
.label-status-badge--suspended {
  background: rgba(120, 40, 40, 0.12);
  color: #6b2020;
}

.label-subscription-card .row {
  margin-top: 12px;
}

.admin-users-table .role-label,
.role-label {
  color: #2e5c8a;
  font-weight: 600;
}

/* =============================================================================
   HEADER — desktop vs mobile (nav drawer ≤992px)
   ============================================================================= */

@media (min-width: 993px) {
  .nav-toggle {
    display: none !important;
  }

  .topbar-upper {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
  }

  .topbar-head {
    width: auto;
    flex: 0 1 auto;
  }

  .main-nav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    overflow-y: visible;
    max-height: none;
    width: auto;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

/* =============================================================================
   MOBILE RESPONSIVE — system-wide pass (all sections)
   Breakpoints: 992px tablet | 768px phone | 480px small phone
   ============================================================================= */

@media (max-width: 992px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .topbar-upper {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
  }

  .topbar-head {
    width: 100%;
    flex: 0 0 auto;
    min-width: 0;
  }

  .brand-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
  }

  .brand-text {
    min-width: 0;
  }

  .brand {
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav {
    display: none;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    white-space: normal;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: min(70vh, 520px);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    padding: 10px 0 4px;
    margin-top: 8px;
    border-top: 1px solid rgba(120, 63, 28, 0.15);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .topbar.is-nav-open .main-nav {
    display: flex;
  }

  body:has(.topbar.is-nav-open) {
    overflow: hidden;
  }

  .main-nav a,
  .main-nav .link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 12px 14px;
    font-size: 0.9rem;
    white-space: normal;
    border-radius: 12px;
  }

  .main-nav a.join-us-link {
    font-weight: 700;
    background: linear-gradient(120deg, rgba(35, 196, 93, 0.35), rgba(255, 138, 31, 0.4));
  }

  .main-nav .inline-form {
    display: flex;
    width: 100%;
    margin: 0;
    justify-content: stretch;
  }

  .main-nav .inline-form .link-btn {
    flex: 1;
    width: 100%;
  }

  .main-nav a:hover,
  .main-nav .link-btn:hover {
    transform: none;
  }

  .header-adverts-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-adverts-label {
    align-self: flex-start;
  }

  .header-adverts-track-wrap {
    width: 100%;
  }

  .header-adverts-empty {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-adverts-cta {
    width: 100%;
    justify-content: center;
  }

  .grid-2,
  .hero-home,
  .news-item,
  .news-item-featured,
  .video-spotlight,
  .admin-users-layout,
  .artist-profile-grid,
  .leaderboard-grid,
  .news-highlight-grid,
  .awards-charts-grid,
  .editorial-published-form .row {
    grid-template-columns: 1fr;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .dashboard-main {
    height: auto;
    overflow: visible;
    padding-right: 0;
  }

  .pulse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .music-grid {
    grid-template-columns: 1fr;
  }

  .video-grid-advanced {
    grid-template-columns: 1fr;
  }

  .topbar {
    margin: 8px 8px 0;
    max-width: none;
    padding: 12px;
  }

  .container {
    margin-top: 16px;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  input,
  select,
  textarea,
  .btn,
  button:not(.nav-toggle):not(.auth-toggle-password) {
    font-size: max(16px, 1em);
  }

  .card {
    border-radius: 14px;
    padding: 14px;
  }

  .row {
    flex-direction: column;
    align-items: stretch;
  }

  .row.spread {
    align-items: stretch;
  }

  .row > .btn,
  .row > a.btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .filter-row,
  .music-filter-row,
  .accounts-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-row > *,
  .music-filter-row > *,
  .accounts-filter-row > * {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  .filter-row button,
  .filter-row .btn,
  .music-filter-row button {
    width: 100%;
  }

  .stack-form input,
  .stack-form select,
  .stack-form textarea,
  .stack-form button,
  .admin-user-form input,
  .admin-user-form select,
  .admin-user-form button {
    width: 100%;
    max-width: 100%;
  }

  .song-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .song-row .btn {
    align-self: stretch;
    text-align: center;
  }

  .music-card-head {
    grid-template-columns: 88px 1fr;
    gap: 10px;
  }

  .music-badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .music-cover-thumb,
  .music-cover-wrap {
    width: 88px;
    height: 88px;
  }

  .music-actions,
  .music-actions-primary {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .music-actions .inline-form,
  .music-actions details.inline-form {
    width: 100%;
  }

  .music-actions .btn,
  .music-actions button,
  .music-actions details > summary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .music-grid .trackable-audio {
    max-width: 100%;
    width: 100%;
    height: 36px;
  }

  .connect-form {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .connect-form textarea {
    width: 100%;
  }

  .music-stats {
    justify-content: flex-start;
  }

  .review-card {
    padding: 12px;
  }

  .review-card-head small {
    word-break: break-word;
  }

  .review-action-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .review-action-form .inline-form {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .review-action-form .inline-form button {
    width: 100%;
  }

  .review-image-thumb {
    max-width: 100%;
    height: auto;
  }

  .admin-users-table thead {
    display: none;
  }

  .admin-users-table-wrap {
    overflow-x: visible;
    border-radius: 12px;
  }

  .admin-users-table tbody tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 176, 97, 0.3);
  }

  .admin-users-table tbody tr:last-child {
    border-bottom: none;
  }

  .admin-users-table tbody td {
    display: grid;
    grid-template-columns: minmax(72px, 34%) 1fr;
    gap: 6px 10px;
    padding: 6px 12px;
    border-bottom: none;
    word-break: break-word;
  }

  .admin-users-table tbody td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6a3714;
  }

  .admin-users-table tbody td[data-label="Actions"] {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .admin-users-table tbody td[data-label="Actions"]::before {
    margin-bottom: 2px;
  }

  .admin-users-table tbody td[data-label="Actions"] .inline-form {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .admin-users-table tbody td[data-label="Actions"] button {
    width: 100%;
  }

  .inline-form {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .comment-form {
    flex-direction: column;
  }

  .artist-profile-uploads {
    grid-template-columns: 1fr;
  }

  .artists-toolbar-row {
    flex-direction: column;
    align-items: stretch;
  }

  .artists-toolbar-controls {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .artists-sort-label {
    width: 100%;
  }

  .artists-sort-select,
  .artists-search-input {
    width: 100%;
  }

  .artists-hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .artists-hero-cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .zed-hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .zed-hero-cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .register-choose-grid {
    grid-template-columns: 1fr;
  }

  .register-choose-option {
    padding: 16px;
  }

  .auth-card,
  .auth-card.register-card,
  .register-choose-card {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .payment-banner-head,
  .payment-banner-body {
    word-break: break-word;
  }

  .payment-method-number {
    word-break: break-all;
    font-size: 1.05em;
  }

  .auth-password-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-password-wrap .auth-toggle-password {
    width: 100%;
  }

  .section-comments-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-comment-item {
    padding-left: 0;
  }

  .section-comments-replies {
    margin-left: 0;
    padding-left: 12px;
  }

  .trend-item {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .trend-item > div:nth-of-type(1) {
    flex: 1 1 100%;
    min-width: 0;
  }

  .trend-play-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .pulse-grid,
  .continue-grid,
  .adverts-video-grid,
  .review-media-grid {
    grid-template-columns: 1fr;
  }

  .news-item .news-image,
  .news-item-featured .news-image {
    height: auto;
    min-height: 0;
    max-height: 280px;
  }

  .news-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-social {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .system-modal-panel {
    width: min(440px, calc(100vw - 24px));
    margin: 12px;
  }
}

@media (max-width: 480px) {
  .brand-sub {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .topbar {
    margin: 6px 6px 0;
    padding: 10px;
    border-radius: 12px;
  }

  .hero-stats,
  .artists-hero-stats,
  .zed-hero-stats {
    grid-template-columns: 1fr;
  }

  .music-card-head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .music-title-wrap {
    width: 100%;
  }

  .music-meta-tags {
    justify-content: center;
  }

  .music-badges {
    justify-content: center;
  }

  .music-actions,
  .music-stats {
    justify-content: center;
  }

  .artist-metrics-grid {
    grid-template-columns: 1fr;
  }

  .artist-metric-card {
    min-height: 76px;
    padding: 14px 10px;
  }

  .leader-item {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 8px;
  }

  .leader-item .metrics {
    text-align: left;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: row;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .register-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .register-login-link {
    white-space: normal;
    text-align: center;
  }

  .footer-social {
    grid-template-columns: 1fr;
  }

  .admin-users-table tbody td {
    grid-template-columns: 1fr;
  }

  .admin-users-table tbody td::before {
    margin-bottom: 2px;
  }
}

/* =============================================================================
   HOME (landing) + ABOUT — responsive polish
   ============================================================================= */

@media (max-width: 992px) {
  .zed-page-wrap {
    min-width: 0;
    overflow-x: clip;
  }

  /* —— Landing hero —— */
  .hero-home {
    grid-template-columns: 1fr !important;
    gap: 14px;
    min-height: 0;
    padding: clamp(14px, 4vw, 20px);
    overflow: hidden;
    position: relative;
  }

  .hero-home .hero-content {
    min-width: 0;
    order: 1;
  }

  .hero-home .hero-visual {
    order: 2;
    min-height: 160px;
    max-width: 100%;
  }

  .hero-home [data-tilt] {
    transform: none !important;
  }

  .hero-title {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  }

  .hero-sub {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats strong {
    font-size: 1.1rem;
    word-break: break-word;
  }

  .hero-stats small {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .pulse-ring {
    width: 140px;
    height: 140px;
  }

  .ring-two {
    width: 96px;
    height: 96px;
  }

  .hero-badge {
    right: 8px;
    bottom: 8px;
    padding: 8px 10px;
  }

  /* —— Home marketplace showcase block —— */
  .marketplace-section--showcase {
    overflow: hidden;
    padding: 14px;
  }

  .marketplace-head,
  .marketplace-head--showcase {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .marketplace-head-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .marketplace-head-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .marketplace-showcase-hero {
    grid-template-columns: 1fr !important;
    min-width: 0;
    padding: 10px;
  }

  .marketplace-showcase-hero-body {
    min-width: 0;
  }

  .marketplace-showcase-hero-body h3,
  .marketplace-showcase-hero-body p {
    word-break: break-word;
  }

  .marketplace-showcase-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-showcase-stat--accent {
    grid-column: span 2;
  }

  .marketplace-showcase-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .marketplace-showcase-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* —— Pulse / momentum / discovery —— */
  .pulse-strip-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .pulse-strip-header .btn {
    width: 100%;
    text-align: center;
  }

  .pulse-card strong {
    font-size: 1rem;
    word-break: break-word;
  }

  .momentum-board .row.spread,
  .home-discovery .row.spread,
  .news-highlight-section .row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .momentum-board .row.spread .btn,
  .home-discovery .row.spread .btn,
  .news-highlight-section .row .btn {
    width: 100%;
    text-align: center;
  }

  .momentum-stats {
    grid-template-columns: 1fr;
  }

  .payment-banner {
    padding: 8px;
    overflow: hidden;
  }

  .payment-method-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .payment-method-number {
    word-break: break-all;
    font-size: 1.05em;
  }

  .service-fees-grid {
    grid-template-columns: 1fr;
  }

  .home-quick-search input {
    width: 100%;
    box-sizing: border-box;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
  }

  .spotlight-card {
    min-width: 0;
    overflow: hidden;
  }

  .ticker-wrap {
    overflow: hidden;
  }

  /* —— About hero (zed-hero shared) —— */
  .card.zed-hero--about {
    padding-bottom: 20px;
    overflow: hidden;
  }

  .zed-hero-inner {
    min-width: 0;
  }

  .zed-hero-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    word-break: break-word;
  }

  .zed-hero-lead {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    text-align: center;
  }

  .hero-visual {
    min-height: 120px;
  }

  .pulse-ring {
    width: 110px;
    height: 110px;
  }

  .ring-two {
    width: 72px;
    height: 72px;
  }

  .marketplace-showcase-stats {
    grid-template-columns: 1fr;
  }

  .marketplace-showcase-stat--accent {
    grid-column: auto;
  }

  .pulse-grid {
    grid-template-columns: 1fr !important;
  }

  .leaderboard-grid {
    grid-template-columns: 1fr !important;
  }

  .news-highlight-grid {
    grid-template-columns: 1fr !important;
  }

  .zed-hero-stats {
    grid-template-columns: 1fr !important;
  }
}
