/* ══ We Dey Outside Music (music subdomain) ══════════════════════════
   The site's Znak system (main.css) with one change: the music green
   #1DB954 takes the job yellow has on the main site — the page's main
   action and active states only, never decoration. Text on green is black
   (white on #1DB954 fails WCAG AA). Everything else is the Znak kit:
   black page, white type, Inter, flat, 16px media radius, pill buttons. */
:root {
  --music:       #1DB954;
  --music-hover: #1ED760;
}

.text-music { color: var(--music); }
.text-subdued { color: var(--color-subdued); }

/* Main action: green pill, black type (same shape as .btn-primary) */
.btn-music {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background-color: var(--music); color: #000;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.875rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-button); border: 0;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.125s ease-in-out;
}
.btn-music:hover { background-color: var(--music-hover); transform: scale(0.97); }
.btn-music.btn-sm, .btn-light.btn-sm, .btn-grey.btn-sm { padding: 0.5rem 1rem; font-size: 13px; }

/* Grey pill for secondary actions on black */
.btn-grey {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background-color: #1a1a1a; color: #fff;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.875rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-button); border: 0;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.125s ease-in-out;
}
.btn-grey:hover { background-color: #262626; transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) {
  .btn-music:hover, .btn-grey:hover { transform: none; }
}

/* "Music" tag next to the wordmark */
.music-tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px;
  border-radius: 999px; background: var(--music); color: #000;
  font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase;
}

/* Page + section headings */
.music-h1 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.music-h2 { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
@media (min-width: 768px) { .music-h1 { font-size: var(--text-3xl); } }
@media (max-width: 639px) { .music-h2 { font-size: 22px; } }
.music-lede { margin-top: 12px; max-width: 40rem; font-size: var(--text-base); color: var(--color-secondary); }

/* Home hero: left-aligned copy on black, like the main site */
.music-hero { padding-block: 72px 48px; }
@media (min-width: 768px) { .music-hero { padding-block: 120px 72px; } }
.music-hero-title { font-size: 44px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; max-width: 14ch; }
@media (min-width: 768px) { .music-hero-title { font-size: 80px; } }
.music-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }

.music-section { padding-block: 48px; }
@media (min-width: 768px) { .music-section { padding-block: 64px; } }

/* Mono chips (genres, filters). Active filter = white shape, black type (Znak). */
.music-chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border-radius: 999px; background: #1a1a1a; color: var(--color-subdued);
  font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}
a.music-chip:hover { color: #fff; background: #262626; }
.music-chip.is-active { background: #fff; color: #000; }

/* Pill tabs (artist profile, dashboard): active = white shape, black type */
.music-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 4px; }
.music-tabs::-webkit-scrollbar { display: none; }
.music-tab {
  flex-shrink: 0; padding: 8px 16px; border-radius: 999px;
  font-size: var(--text-sm); font-weight: 600; color: var(--color-secondary);
  background: transparent; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.music-tab:hover { color: #fff; }
.music-tab.is-active { background: #fff; color: #000; }

/* Square cover / photo with nothing printed on it (uses .wdo-card for lift) */
.music-cover { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-card); overflow: hidden; background: var(--color-muted); }
.music-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.music-cover-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.25); font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.music-cover-empty svg { width: 36px; height: 36px; }

/* Verified mark — a status, so it may be green */
.music-verified { display: inline-flex; width: 18px; height: 18px; color: var(--music); flex-shrink: 0; }
.music-verified svg { width: 100%; height: 100%; }

/* Chart rows: flat #111 card, hairline dividers */
.music-chart { background: var(--color-surface); border-radius: var(--radius-card); overflow: hidden; }
.music-chart-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: inherit; text-decoration: none; transition: background-color 0.15s ease; }
.music-chart-row + .music-chart-row { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.music-chart-row:hover { background: #1a1a1a; }
.music-chart-pos { width: 32px; text-align: center; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; flex-shrink: 0; }
.music-chart-thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--color-muted); flex-shrink: 0; }
.music-chart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.music-move { width: 36px; text-align: right; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.music-move.is-up   { color: var(--color-success); }
.music-move.is-down { color: var(--color-error); }
.music-move.is-same { color: var(--color-secondary); }
.music-move.is-new  { color: #fff; letter-spacing: var(--tracking-label); }

/* Empty / coming-soon panel */
.music-empty { background: var(--color-surface); border-radius: var(--radius-card); padding: 40px 24px; text-align: center; }
.music-empty-title { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.02em; }
.music-empty p { margin-top: 8px; color: var(--color-secondary); font-size: var(--text-sm); }
.music-empty .music-empty-title { margin-top: 0; color: #fff; font-size: var(--text-lg); }
.music-empty .eyebrow + .music-empty-title { margin-top: 8px; }

/* White panel block (Znak "shape"): the artists call-to-action */
.music-panel { background: #fff; color: #000; border-radius: var(--radius-card); padding: 32px 24px; }
@media (min-width: 768px) { .music-panel { padding: 56px; } }
.music-panel h2 { color: #000; }
.music-panel p { color: rgba(0, 0, 0, 0.65); }
.music-panel input[type="email"] {
  width: 100%; min-width: 0; height: 48px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2); background: #fff; color: #000; outline: none; font-size: 15px;
}
.music-panel input[type="email"]:focus { border-color: #000; }
@media (min-width: 640px) { .music-panel input[type="email"] { flex: 1; width: auto; } }

/* Artist profile header */
.artist-cover { position: relative; height: 200px; background: #111; }
@media (min-width: 768px) { .artist-cover { height: 320px; } }
.artist-cover img { width: 100%; height: 100%; object-fit: cover; }
.artist-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, #000 100%); }
.artist-photo { width: 120px; height: 120px; border-radius: var(--radius-card); overflow: hidden; background: #1a1a1a; flex-shrink: 0; position: relative; }
@media (min-width: 768px) { .artist-photo { width: 160px; height: 160px; } }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Social / streaming links on the profile: grey pills */
.music-link-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: #1a1a1a; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background-color 0.15s ease, transform 0.25s ease;
}
.music-link-pill:hover { background: #262626; transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { .music-link-pill:hover { transform: none; } }

/* Row list (events on a profile, dashboard lists): flat #111, rows #1a1a1a on hover */
.music-row { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-card);
  background: var(--color-surface); color: inherit; text-decoration: none; transition: background-color 0.15s ease; }
a.music-row:hover { background: #1a1a1a; }
.music-row-thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--color-muted); flex-shrink: 0; }
.music-row-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 16:9 video frame */
.music-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; background: #111; }
.music-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Artist dashboard ("Studio"): the dashboard kit maps .bg-black to yellow;
   on music it's the green action instead. */
.is-music .dashboard-frame .bg-black { background: var(--music) !important; color: #000 !important; }
.is-music .dashboard-frame input[type="checkbox"] { accent-color: var(--music); }
.studio-stat { background: var(--color-surface); border-radius: var(--radius-card); padding: 20px; color: inherit; text-decoration: none; display: block; transition: background-color 0.15s ease; }
.studio-stat:hover { background: #1a1a1a; }
.studio-stat-num { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.studio-stat-label { margin-top: 8px; font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-secondary); }
.studio-notice { border-radius: var(--radius-card); padding: 14px 16px; font-size: var(--text-sm);
  background: rgba(251, 191, 36, 0.1); color: var(--color-pending); }
.studio-notice a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.studio-field label.studio-label { display: block; margin-bottom: 6px; font-size: var(--text-sm); font-weight: 600; color: #fff; }
.studio-help { margin-top: 4px; font-size: var(--text-xs); color: var(--color-secondary); }
.studio-error { margin-top: 4px; font-size: var(--text-xs); color: var(--color-error); }
.studio-input {
  display: block; width: 100%; padding: 10px 12px; border-radius: var(--radius-input);
  border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; color: #fff; font-size: 15px; outline: none;
}
.studio-input:focus { border-color: #fff; }
.studio-input::placeholder { color: rgba(255, 255, 255, 0.4); }
select.studio-input option { background: #111; color: #fff; }
.studio-file { display: block; width: 100%; font-size: var(--text-sm); color: var(--color-secondary); }
.studio-file::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: #1a1a1a; color: #fff; font-weight: 600; cursor: pointer; }
.studio-link { font-size: var(--text-sm); font-weight: 600; color: var(--color-subdued); background: none; border: 0; cursor: pointer; text-decoration: none; }
.studio-link:hover { color: #fff; }
.studio-link.is-danger { color: var(--color-error); }
