/* Campaign songs — public list & detail */
.ec-cs-page main {
  padding: 5.5rem 1rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.ec-cs-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.ec-cs-hero h1 {
  font-family: Poppins, Outfit, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0;
}

.dark .ec-cs-hero h1 {
  color: #fff;
}

.ec-cs-hero p {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: #64748b;
  font-size: 0.95rem;
}

.dark .ec-cs-hero p {
  color: rgba(255, 255, 255, 0.65);
}

.ec-cs-status {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.ec-cs-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ec-cs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .ec-cs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ec-cs-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dark .ec-cs-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.ec-cs-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.ec-cs-card__art {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #0b5c2e, #1a1a2e);
  overflow: hidden;
}

.ec-cs-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ec-cs-card__art-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.85);
}

.ec-cs-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.ec-cs-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.dark .ec-cs-card__title {
  color: #fff;
}

.ec-cs-card__artist {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #15803d;
}

.dark .ec-cs-card__artist {
  color: #4ade80;
}

.ec-cs-card__desc {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
}

.dark .ec-cs-card__desc {
  color: rgba(255, 255, 255, 0.55);
}

.ec-cs-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #64748b;
  font-size: 0.95rem;
}

.ec-cs-empty.is-error {
  color: #b91c1c;
}

.ec-cs-empty a {
  color: #15803d;
  font-weight: 600;
}

/* Detail */
.ec-cs-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #15803d;
  text-decoration: none;
}

.dark .ec-cs-back {
  color: #4ade80;
}

.ec-cs-detail__layout {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .ec-cs-detail__layout {
    grid-template-columns: minmax(220px, 340px) 1fr;
    align-items: start;
  }
}

.ec-cs-detail__art {
  width: 100%;
  border-radius: 1rem;
  aspect-ratio: 1;
  object-fit: cover;
  background: linear-gradient(145deg, #0b5c2e, #1a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.85);
}

.ec-cs-detail__art--fallback {
  min-height: 220px;
}

.ec-cs-detail__kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #15803d;
}

.dark .ec-cs-detail__kicker {
  color: #4ade80;
}

.ec-cs-detail__info h1 {
  margin: 0.4rem 0 0;
  font-family: Poppins, Outfit, sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
}

.dark .ec-cs-detail__info h1 {
  color: #fff;
}

.ec-cs-detail__artist {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
}

.dark .ec-cs-detail__artist {
  color: rgba(255, 255, 255, 0.8);
}

.ec-cs-detail__desc {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  white-space: pre-wrap;
}

.dark .ec-cs-detail__desc {
  color: rgba(255, 255, 255, 0.65);
}

.ec-cs-detail__meta {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
}

.ec-cs-detail__player {
  width: 100%;
  margin-top: 1.25rem;
}

.ec-cs-detail__actions {
  margin-top: 1.25rem;
}

.ec-cs-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: #15803d;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.ec-cs-download:hover {
  opacity: 0.92;
}

/* Landing section */
.ec-land-songs-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ec-land-songs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .ec-land-songs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ec-land-song-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease;
}

.dark .ec-land-song-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.ec-land-song-card:hover {
  transform: translateY(-2px);
}

.ec-land-song-card__art {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #0b5c2e, #1a1a2e);
  overflow: hidden;
}

.ec-land-song-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ec-land-song-card__art-fallback {
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.ec-land-song-card__body {
  padding: 0.85rem 1rem 1rem;
}

.ec-land-song-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.dark .ec-land-song-card__title {
  color: #fff;
}

.ec-land-song-card__artist {
  margin: 0.3rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #15803d;
}

.dark .ec-land-song-card__artist {
  color: #4ade80;
}

/* Admin list thumb (legacy helpers kept for public pages above) */
.ec-cs-row-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ec-cs-row-title .ec-ev-muted {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
}

.ec-cs-thumb {
  width: 40px;
  height: 40px;
  border-radius: 0.4rem;
  object-fit: cover;
  flex-shrink: 0;
  background: #0b5c2e;
}

.ec-cs-thumb--empty {
  display: inline-block;
}

/* =============================================================================
   Campaign Songs — Admin catalog (classic / professional)
   ============================================================================= */
.ec-csa-page {
  --csa-ink: #0f172a;
  --csa-muted: #64748b;
  --csa-line: rgba(15, 23, 42, 0.1);
  --csa-surface: #ffffff;
  --csa-surface-2: #f8fafc;
  --csa-green: #0b5c2e;
  --csa-green-soft: rgba(11, 92, 46, 0.08);
  --csa-gold: #b45309;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.25rem 0 2rem;
  color: var(--csa-ink);
}

.dark .ec-csa-page {
  --csa-ink: #f8fafc;
  --csa-muted: rgba(248, 250, 252, 0.62);
  --csa-line: rgba(255, 255, 255, 0.12);
  --csa-surface: rgba(15, 23, 42, 0.55);
  --csa-surface-2: rgba(255, 255, 255, 0.04);
  --csa-green: #4ade80;
  --csa-green-soft: rgba(74, 222, 128, 0.12);
  --csa-gold: #fbbf24;
}

.ec-csa-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--csa-green);
}

.ec-csa-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--csa-line);
  margin-bottom: 1.25rem;
}

.ec-csa-hero h1 {
  margin: 0.35rem 0 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--csa-ink);
}

.ec-csa-hero p {
  margin: 0.45rem 0 0;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--csa-muted);
}

.ec-csa-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

@media (min-width: 720px) {
  .ec-csa-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ec-csa-stat {
  padding: 0.9rem 1rem;
  border: 1px solid var(--csa-line);
  background: var(--csa-surface);
  border-radius: 0.35rem;
}

.ec-csa-stat__value {
  display: block;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--csa-ink);
}

.ec-csa-stat__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--csa-muted);
}

.ec-csa-layout {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 1024px) {
  .ec-csa-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

.ec-csa-panel {
  border: 1px solid var(--csa-line);
  background: var(--csa-surface);
  border-radius: 0.4rem;
  padding: 1.15rem 1.2rem 1.3rem;
}

.ec-csa-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--csa-line);
}

.ec-csa-panel__head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.ec-csa-panel__head p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--csa-muted);
}

.ec-csa-composer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ec-csa-composer__head h2 {
  margin: 0.3rem 0 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.2rem;
}

.ec-csa-composer__head p {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: var(--csa-muted);
  line-height: 1.45;
}

.ec-csa-form {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .ec-csa-form {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
    align-items: start;
  }
}

.ec-csa-form__main {
  display: grid;
  gap: 0.85rem;
}

.ec-csa-form__row {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 560px) {
  .ec-csa-form__row {
    grid-template-columns: minmax(0, 1fr) 7.5rem;
  }

  .ec-csa-form__row--files {
    grid-template-columns: 1fr 1fr;
  }
}

.ec-csa-field {
  display: grid;
  gap: 0.35rem;
}

.ec-csa-field > span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--csa-muted);
}

.ec-csa-field > span em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.75;
  text-transform: none;
  letter-spacing: 0;
}

.ec-csa-field input,
.ec-csa-field textarea {
  width: 100%;
  border: 1px solid var(--csa-line);
  background: var(--csa-surface-2);
  color: var(--csa-ink);
  border-radius: 0.3rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ec-csa-field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}

.ec-csa-field input:focus,
.ec-csa-field textarea:focus {
  border-color: var(--csa-green);
  box-shadow: 0 0 0 3px var(--csa-green-soft);
}

.ec-csa-filebox {
  border: 1px dashed var(--csa-line);
  border-radius: 0.35rem;
  padding: 0.75rem;
  background: var(--csa-surface-2);
}

.ec-csa-filebox input[type="file"] {
  width: 100%;
  font-size: 0.8rem;
  color: var(--csa-muted);
}

.ec-csa-filebox__current {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--csa-muted);
}

.ec-csa-hint {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--csa-muted);
  line-height: 1.4;
}

.ec-csa-hint strong {
  color: var(--csa-ink);
  font-weight: 600;
}

.ec-csa-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--csa-ink);
  cursor: pointer;
}

.ec-csa-check input {
  margin-top: 0.2rem;
}

.ec-csa-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.ec-csa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 0.3rem;
  border: 1px solid transparent;
  padding: 0.6rem 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.ec-csa-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ec-csa-btn--primary {
  background: var(--csa-green);
  color: #fff;
  border-color: var(--csa-green);
}

.dark .ec-csa-btn--primary {
  color: #052e16;
}

.ec-csa-btn--primary:hover:not(:disabled) {
  opacity: 0.92;
}

.ec-csa-btn--danger {
  background: #b91c1c;
  color: #fff;
  border-color: #b91c1c;
}

.ec-csa-btn--danger:hover:not(:disabled) {
  background: #991b1b;
  border-color: #991b1b;
}

.dark .ec-csa-btn--danger {
  background: #dc2626;
  border-color: #dc2626;
}

.ec-csa-btn--ghost {
  background: transparent;
  color: var(--csa-ink);
  border-color: var(--csa-line);
}

.ec-csa-btn--ghost:hover:not(:disabled) {
  background: var(--csa-surface-2);
}

.ec-csa-btn--text,
.ec-csa-btn--text-danger {
  background: transparent;
  border: 0;
  padding: 0.25rem 0;
  font-size: 0.8rem;
  font-weight: 700;
}

.ec-csa-btn--text {
  color: var(--csa-green);
}

.ec-csa-btn--text-danger {
  color: #b91c1c;
}

.dark .ec-csa-btn--text-danger {
  color: #fca5a5;
}

.ec-csa-side-card {
  border: 1px solid var(--csa-line);
  background: var(--csa-surface-2);
  border-radius: 0.35rem;
  padding: 1rem;
  position: sticky;
  top: 1rem;
}

.ec-csa-side-card h3 {
  margin: 0.3rem 0 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
}

.ec-csa-side-card__copy {
  margin: 0.4rem 0 0.85rem;
  font-size: 0.8rem;
  color: var(--csa-muted);
  line-height: 1.45;
}

.ec-csa-side-art {
  margin-bottom: 0.85rem;
}

.ec-csa-art {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.25rem;
  border: 1px solid var(--csa-line);
  background: linear-gradient(145deg, #0b5c2e, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.ec-csa-art--sm {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.ec-csa-art--lg {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  font-size: 2.5rem;
}

.ec-csa-listen {
  display: grid;
  gap: 0.45rem;
}

.ec-csa-listen__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--csa-muted);
}

.ec-csa-listen__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--csa-green);
}

.ec-csa-listen audio,
.ec-csa-admin-audio {
  width: 100%;
  height: 36px;
}

.ec-csa-catalog {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.ec-csa-track {
  display: grid;
  grid-template-columns: 2rem 64px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid var(--csa-line);
  border-radius: 0.35rem;
  background: var(--csa-surface-2);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ec-csa-track.is-editing {
  border-color: var(--csa-green);
  box-shadow: inset 3px 0 0 var(--csa-green);
}

.ec-csa-track__index {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--csa-muted);
  padding-top: 0.35rem;
}

.ec-csa-track__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.ec-csa-track__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--csa-ink);
}

.ec-csa-track__artist {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--csa-green);
}

.ec-csa-track__desc {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--csa-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ec-csa-track__meta {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: var(--csa-muted);
}

.ec-csa-track__player {
  margin-top: 0.65rem;
}

.ec-csa-track__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--csa-line);
}

.ec-csa-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.ec-csa-badge--live {
  color: var(--csa-green);
  background: var(--csa-green-soft);
  border-color: rgba(11, 92, 46, 0.2);
}

.ec-csa-badge--draft {
  color: var(--csa-gold);
  background: rgba(180, 83, 9, 0.1);
  border-color: rgba(180, 83, 9, 0.25);
}

.ec-csa-empty {
  text-align: center;
  padding: 2.25rem 1rem;
  border: 1px dashed var(--csa-line);
  border-radius: 0.35rem;
  color: var(--csa-muted);
  font-size: 0.9rem;
}

.ec-csa-empty strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--csa-ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
}

.ec-csa-empty p {
  margin: 0;
}

.ec-csa-empty.is-error {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.35);
}

@media (max-width: 560px) {
  .ec-csa-track {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .ec-csa-track__index {
    display: none;
  }
}

/* Remove confirmation dialog */
.ec-csa-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

@media (min-width: 640px) {
  .ec-csa-dialog-overlay {
    align-items: center;
  }
}

.ec-csa-dialog-overlay.is-open {
  opacity: 1;
}

.ec-csa-dialog {
  position: relative;
  width: 100%;
  max-width: 26rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: #0f172a;
  padding: 1.4rem 1.35rem 1.25rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}

.ec-csa-dialog-overlay.is-open .ec-csa-dialog {
  transform: translateY(0) scale(1);
}

.dark .ec-csa-dialog {
  background: #0f172a;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.ec-csa-dialog__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.dark .ec-csa-dialog__close {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.7);
}

.ec-csa-dialog__close:hover {
  background: rgba(15, 23, 42, 0.04);
}

.dark .ec-csa-dialog__close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.ec-csa-dialog__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.1);
  border: 1px solid rgba(185, 28, 28, 0.18);
}

.dark .ec-csa-dialog__icon {
  color: #fca5a5;
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(252, 165, 165, 0.25);
}

.ec-csa-dialog .ec-csa-eyebrow {
  margin-bottom: 0.35rem;
}

.ec-csa-dialog h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  padding-right: 1.75rem;
}

.ec-csa-dialog__lead {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
}

.dark .ec-csa-dialog__lead {
  color: rgba(248, 250, 252, 0.62);
}

.ec-csa-dialog__song {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
  padding: 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

.dark .ec-csa-dialog__song {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.ec-csa-dialog__art {
  width: 72px;
  height: 72px;
  border-radius: 0.35rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(145deg, #0b5c2e, #1e293b);
}

.ec-csa-dialog__art--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
}

.ec-csa-dialog__song-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.ec-csa-dialog__song-artist {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0b5c2e;
}

.dark .ec-csa-dialog__song-artist {
  color: #4ade80;
}

.ec-csa-dialog__song-file {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  color: #94a3b8;
  word-break: break-all;
}

.ec-csa-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.ec-csa-dialog__actions .ec-csa-btn {
  min-width: 7.5rem;
}

/* =============================================================================
   Landing hero music player
   ============================================================================= */
.ec-land-hp--loading .ec-land-hp__title,
.ec-land-hp--empty .ec-land-hp__title {
  white-space: normal;
}

.ec-land-hp--loading .ec-land-hp__shell {
  opacity: 0.92;
}

.ec-land-hp--empty .ec-land-hp__more {
  align-self: center;
}

.ec-land-hp__shell {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.88)),
    radial-gradient(circle at 12% 20%, rgba(11, 92, 46, 0.12), transparent 45%);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.ec-land-hp__shell::before {
  content: "";
  position: absolute;
  inset: auto -20% -55% 40%;
  height: 140%;
  background: radial-gradient(circle, rgba(11, 92, 46, 0.16), transparent 60%);
  pointer-events: none;
}

html.dark .ec-land-hp__shell {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.82)),
    radial-gradient(circle at 12% 20%, rgba(74, 222, 128, 0.14), transparent 45%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ec-land-hp.is-playing .ec-land-hp__art {
  animation: ec-land-hp-spin 12s linear infinite;
}

@keyframes ec-land-hp-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ec-land-hp.is-playing .ec-land-hp__art {
    animation: none;
  }
}

.ec-land-hp__art-wrap {
  position: relative;
  z-index: 1;
  width: 4.75rem;
  height: 4.75rem;
  flex-shrink: 0;
}

.ec-land-hp__art {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(11, 92, 46, 0.35);
  box-shadow: 0 8px 20px rgba(11, 92, 46, 0.22);
  background: linear-gradient(145deg, #0b5c2e, #1e293b);
}

.ec-land-hp__art-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
  z-index: 2;
}

.ec-land-hp__art-wrap:hover .ec-land-hp__art-play,
.ec-land-hp__art-play:focus-visible {
  opacity: 1;
  transform: scale(1);
}

.ec-land-hp.is-playing .ec-land-hp__art-play {
  opacity: 1;
  background: rgba(11, 92, 46, 0.78);
}

.ec-land-hp__art-play svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.ec-land-hp__art-play .ec-land-hp__icon-play,
.ec-land-hp__play .ec-land-hp__icon-play {
  margin-left: 0.12rem;
}

.ec-land-hp__art img,
.ec-land-hp__art-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
}

.ec-land-hp__main {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.ec-land-hp__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.2rem;
}

.ec-land-hp__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b5c2e;
}

html.dark .ec-land-hp__badge {
  color: #4ade80;
}

.ec-land-hp__playlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(11, 92, 46, 0.28);
  background: rgba(11, 92, 46, 0.08);
  color: #0b5c2e;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ec-land-hp__playlist-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

.ec-land-hp__playlist-btn:hover,
.ec-land-hp.is-playlist-open .ec-land-hp__playlist-btn {
  background: rgba(11, 92, 46, 0.14);
  border-color: rgba(11, 92, 46, 0.45);
}

html.dark .ec-land-hp__playlist-btn {
  color: #bbf7d0;
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.1);
}

.ec-land-hp__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.dark .ec-land-hp__title {
  color: #f8fafc;
}

.ec-land-hp__artist {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.dark .ec-land-hp__artist {
  color: rgba(248, 250, 252, 0.62);
}

.ec-land-hp__transport {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.ec-land-hp__controls {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.55rem;
}

.ec-land-hp__skip {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.75);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

html.dark .ec-land-hp__skip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
}

.ec-land-hp__skip:hover {
  border-color: rgba(11, 92, 46, 0.45);
  background: rgba(11, 92, 46, 0.1);
}

.ec-land-hp__skip svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.ec-land-hp__play {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 0;
  background: #0b5c2e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(11, 92, 46, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ec-land-hp__play:hover {
  transform: scale(1.06);
  background: #15803d;
}

.ec-land-hp__play:active {
  transform: scale(0.98);
}

.ec-land-hp__play.is-playing {
  background: #166534;
}

.ec-land-hp__play svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.ec-land-hp__progress {
  min-width: 0;
  margin-top: 0.55rem;
}

.ec-land-hp__bar {
  position: relative;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

html.dark .ec-land-hp__bar {
  background: rgba(255, 255, 255, 0.16);
}

.ec-land-hp__filled {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b5c2e, #22c55e);
}

.ec-land-hp__knob {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: -0.35rem;
  margin-top: -0.35rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #0b5c2e;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  pointer-events: none;
}

.ec-land-hp__times {
  display: flex;
  justify-content: space-between;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.ec-land-hp__more {
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b5c2e;
  text-decoration: none;
  white-space: nowrap;
}

html.dark .ec-land-hp__more {
  color: #86efac;
}

.ec-land-hp__more:hover {
  text-decoration: underline;
}

.ec-land-hp__drawer {
  margin-top: 0.55rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

html.dark .ec-land-hp__drawer {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.92);
}

.ec-land-hp__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html.dark .ec-land-hp__drawer-head {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ec-land-hp__drawer-head p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.ec-land-hp__drawer-head a {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0b5c2e;
  text-decoration: none;
}

html.dark .ec-land-hp__drawer-head a {
  color: #86efac;
}

.ec-land-hp__playlist {
  max-height: 14rem;
  overflow: auto;
  padding: 0.35rem;
}

.ec-land-hp__pl-item {
  width: 100%;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 0.65rem;
  padding: 0.5rem 0.55rem;
  cursor: pointer;
  color: inherit;
  transition: background 0.15s ease;
}

.ec-land-hp__pl-item:hover,
.ec-land-hp__pl-item.is-active {
  background: rgba(11, 92, 46, 0.08);
}

html.dark .ec-land-hp__pl-item:hover,
html.dark .ec-land-hp__pl-item.is-active {
  background: rgba(74, 222, 128, 0.1);
}

.ec-land-hp__pl-art {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.4rem;
  overflow: hidden;
  background: linear-gradient(145deg, #0b5c2e, #1e293b);
}

.ec-land-hp__pl-art img,
.ec-land-hp__pl-art-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.ec-land-hp__pl-copy {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.ec-land-hp__pl-title {
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #0f172a;
}

html.dark .ec-land-hp__pl-title {
  color: #f8fafc;
}

.ec-land-hp__pl-artist {
  font-size: 0.72rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.dark .ec-land-hp__pl-artist {
  color: rgba(248, 250, 252, 0.55);
}

.ec-land-hp__pl-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b5c2e;
  background: rgba(11, 92, 46, 0.1);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

html.dark .ec-land-hp__pl-tag {
  color: #86efac;
  background: rgba(74, 222, 128, 0.12);
}

.ec-land-hp audio {
  display: none;
}

/* Compact mobile / small tablet player */
@media (max-width: 768px) {
  .ec-land-hero-player {
    margin-bottom: 0.45rem;
  }

  .ec-land-hp {
    max-width: 100%;
  }

  /* [art=play] [title + timeline] */
  .ec-land-hp__shell {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    padding: 0.4rem 0.5rem;
    border-radius: 0.85rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
  }

  .ec-land-hp__shell::before {
    display: none;
  }

  .ec-land-hp__art-wrap {
    width: 3rem;
    height: 3rem;
  }

  .ec-land-hp__art {
    border-width: 1.5px;
    box-shadow: none;
  }

  .ec-land-hp.is-playing .ec-land-hp__art {
    animation: none;
  }

  /* Album art is the play button on mobile */
  .ec-land-hp__art-play {
    display: inline-flex;
    opacity: 1;
    transform: none;
    width: 100%;
    height: 100%;
    margin: 0;
    inset: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.42);
  }

  .ec-land-hp.is-playing .ec-land-hp__art-play {
    background: rgba(11, 92, 46, 0.55);
  }

  .ec-land-hp__art-play svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  .ec-land-hp__topline {
    margin-bottom: 0;
    gap: 0.35rem;
  }

  .ec-land-hp__badge {
    display: none;
  }

  .ec-land-hp__playlist-btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.65rem;
    gap: 0.2rem;
  }

  .ec-land-hp__playlist-btn span {
    display: none;
  }

  .ec-land-hp__playlist-btn svg {
    width: 0.85rem;
    height: 0.85rem;
  }

  .ec-land-hp__title {
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 0;
  }

  .ec-land-hp__artist {
    display: none;
  }

  /* Hide separate transport — art handles play */
  .ec-land-hp__transport {
    display: none;
  }

  .ec-land-hp__progress {
    margin-top: 0.28rem;
  }

  .ec-land-hp__bar {
    height: 0.28rem;
  }

  .ec-land-hp__knob {
    width: 0.55rem;
    height: 0.55rem;
    margin-left: -0.275rem;
    margin-top: -0.275rem;
  }

  .ec-land-hp__times {
    margin-top: 0.12rem;
    font-size: 0.58rem;
  }

  .ec-land-hp__more {
    display: none !important;
  }

  .ec-land-hp__drawer {
    margin-top: 0.4rem;
    border-radius: 0.75rem;
  }

  .ec-land-hp__drawer-head {
    padding: 0.5rem 0.65rem;
  }

  .ec-land-hp__playlist {
    max-height: 9.5rem;
    padding: 0.25rem;
  }

  .ec-land-hp__pl-item {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.45rem;
    padding: 0.4rem 0.45rem;
  }

  .ec-land-hp__pl-art {
    width: 2rem;
    height: 2rem;
  }

  .ec-land-hp__pl-title {
    font-size: 0.78rem;
  }

  .ec-land-hp__pl-artist {
    font-size: 0.65rem;
  }

  .ec-land-hp--loading .ec-land-hp__shell,
  .ec-land-hp--empty .ec-land-hp__shell {
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }

  .ec-land-hp--empty .ec-land-hp__more {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .ec-land-hp__shell {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    padding: 0.35rem 0.45rem;
    gap: 0.45rem;
  }

  .ec-land-hp__art-wrap {
    width: 2.75rem;
    height: 2.75rem;
  }

  .ec-land-hp__title {
    font-size: 0.76rem;
  }

  .ec-land-hp__art-play svg {
    width: 0.95rem;
    height: 0.95rem;
  }
}
