/* ══════════════════════════════════════════════════════════════════
   zubeen-da.css — ZUBEEN DA · THE LEGACY
   Museum/archive-inspired memorial design system.
   Palette: black · deep maroon · warm gold · off-white
   ══════════════════════════════════════════════════════════════════ */

:root {
  --z-black: #0C0908;
  --z-black-2: #141010;
  --z-panel: #1A1312;
  --z-panel-2: #211816;
  --z-maroon: #6B1512;
  --z-maroon-deep: #4A0E0C;
  --z-gold: #C9A45C;
  --z-gold-soft: #E2C98F;
  --z-gold-dim: rgba(201, 164, 92, 0.32);
  --z-cream: #F5EFE4;
  --z-cream-dim: rgba(245, 239, 228, 0.72);
  --z-muted: rgba(245, 239, 228, 0.55);
  --z-line: rgba(201, 164, 92, 0.18);
  --z-line-soft: rgba(245, 239, 228, 0.10);
  --z-danger: #D9776B;
  --z-serif: 'Playfair Display', 'Noto Serif Bengali', Georgia, serif;
  --z-body: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
  --z-maxw: 1080px;
  --z-radius: 14px;
}

/* ── Base ─────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body.z-page {
  margin: 0; background: var(--z-black); color: var(--z-cream);
  font-family: var(--z-body); font-size: 16px; line-height: 1.7;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
.z-wrap { max-width: var(--z-maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--z-serif); font-weight: 700; line-height: 1.25; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--z-gold-soft); text-decoration: none; }
a:hover { color: var(--z-gold); }

:focus-visible {
  outline: 2px solid var(--z-gold); outline-offset: 3px;
  border-radius: 4px;
}

.z-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--z-gold); color: var(--z-black); padding: 10px 18px;
  font-weight: 700; border-radius: 0 0 10px 0;
}
.z-skip:focus { left: 0; }

/* ── Section scaffolding ─────────────────────────────────────── */
.z-section { padding: 84px 0 72px; position: relative; }
.z-section + .z-section { border-top: 1px solid var(--z-line-soft); }
.z-eyebrow {
  font-family: var(--z-body); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--z-gold); font-weight: 600;
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.z-eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--z-line); max-width: 120px; }
.z-h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); color: var(--z-cream); letter-spacing: 0.01em; }
.z-h2 .as { color: var(--z-gold-soft); }
.z-section-intro { color: var(--z-cream-dim); max-width: 640px; margin-top: 14px; font-size: 0.95rem; }
.z-note {
  font-size: 0.78rem; color: var(--z-muted); font-style: italic;
  border-left: 2px solid var(--z-gold-dim); padding-left: 12px; margin-top: 10px;
}

/* ── Top navigation ──────────────────────────────────────────── */
.z-topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 9, 8, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--z-line);
}
.z-topnav-inner {
  max-width: var(--z-maxw); margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 14px;
}
.z-brand {
  font-family: var(--z-serif); font-weight: 800; font-size: 1rem;
  color: var(--z-cream); white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
.z-brand .as { color: var(--z-gold-soft); }
.z-navlinks {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1;
  -ms-overflow-style: none;
}
.z-navlinks::-webkit-scrollbar { display: none; }
.z-navlinks a {
  font-size: 0.8rem; color: var(--z-cream-dim); padding: 6px 11px;
  border-radius: 999px; white-space: nowrap; transition: color 0.2s, background 0.2s;
}
.z-navlinks a:hover { color: var(--z-cream); background: rgba(245, 239, 228, 0.06); }
.z-navlinks a[aria-current="true"] { color: var(--z-gold-soft); background: rgba(201, 164, 92, 0.08); }

/* ── Hero ─────────────────────────────────────────────────────── */
.z-hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate; background: var(--z-black);
}
/* Phone + tablet (<1024px): the tribute artwork is the full-bleed background.
   Text is anchored to the BOTTOM so it never sits over Zubeen Da's face —
   the top ~55% (গামোচা + face) of the artwork stays completely unobstructed. */
.z-hero-bg { position: absolute; inset: 0; z-index: -2; }
.z-hero-bg img, .z-hero-bg picture {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%;
}
.z-hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(12, 9, 8, 0.12) 0%, rgba(12, 9, 8, 0.04) 30%,
    rgba(12, 9, 8, 0.52) 58%, rgba(12, 9, 8, 0.95) 82%, rgba(12, 9, 8, 0.98) 100%);
}
.z-hero-scrim::after { content: none; }
/* Desktop-only side panel that shows the COMPLETE artwork (hidden <1024px, see below) */
.z-hero-art { display: none; }
.z-hero-inner { padding: 0 20px 88px; max-width: 720px; }
.z-hero-kicker {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--z-gold); font-weight: 600; margin-bottom: 18px;
}
.z-hero-name {
  font-size: clamp(2.6rem, 9vw, 5.2rem); color: var(--z-cream);
  letter-spacing: 0.02em; margin-bottom: 8px;
  text-shadow: 0 2px 30px rgba(12, 9, 8, 0.6);
}
.z-hero-name .as { color: var(--z-gold-soft); }
.z-hero-epithet {
  font-size: clamp(0.95rem, 2.6vw, 1.15rem); letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--z-cream-dim); font-weight: 600; margin-bottom: 6px;
}
.z-hero-epithet-as {
  font-family: var(--z-serif); font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  color: var(--z-gold); margin-bottom: 22px;
}
.z-hero-years {
  font-family: var(--z-serif); font-size: 1.05rem; color: var(--z-cream-dim);
  letter-spacing: 0.25em; margin-bottom: 34px;
  padding-top: 18px; border-top: 1px solid var(--z-line); display: inline-block;
}
.z-hero-quote {
  font-family: var(--z-serif); font-style: italic;
  font-size: clamp(1.1rem, 3.2vw, 1.45rem); color: var(--z-cream);
  max-width: 560px; margin-bottom: 38px; line-height: 1.6;
}
.z-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.z-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--z-body); font-weight: 700; font-size: 0.92rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s;
}
.z-btn:active { transform: scale(0.97); }
.z-btn-gold {
  background: linear-gradient(160deg, var(--z-gold), #A8823F);
  color: var(--z-black);
}
.z-btn-gold:hover { background: var(--z-gold-soft); color: var(--z-black); }
.z-btn-ghost {
  background: rgba(12, 9, 8, 0.35); color: var(--z-cream);
  border-color: var(--z-line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.z-btn-ghost:hover { border-color: var(--z-gold-dim); color: var(--z-gold-soft); }

.z-scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--z-muted); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.z-scroll-hint::after {
  content: ''; width: 1px; height: 34px; background: linear-gradient(var(--z-gold-dim), transparent);
}

/* ── Remembrance band ─────────────────────────────────────────── */
.z-remember {
  background: linear-gradient(180deg, var(--z-maroon-deep), var(--z-black) 140%);
  text-align: center; padding: 90px 20px;
  border-bottom: 1px solid var(--z-line-soft);
}
.z-remember .icon { font-size: 2rem; margin-bottom: 18px; }
.z-remember-dates {
  font-family: var(--z-serif); color: var(--z-gold-soft);
  font-size: clamp(1rem, 3vw, 1.25rem); letter-spacing: 0.14em; margin-bottom: 16px;
}
.z-remember-headline {
  font-size: clamp(1.5rem, 5vw, 2.4rem); color: var(--z-cream); margin-bottom: 14px;
}

/* ── জুবিন দাৰ সুৰ (category grid) ───────────────────────────── */
.z-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 34px; }
.z-cat {
  background: linear-gradient(170deg, var(--z-panel), var(--z-black-2));
  border: 1px solid var(--z-line-soft); border-radius: var(--z-radius);
  padding: 22px 20px; cursor: pointer; text-align: left;
  transition: border-color 0.2s, transform 0.15s;
  color: inherit; font: inherit; display: block; width: 100%;
}
.z-cat:hover { border-color: var(--z-gold-dim); transform: translateY(-2px); }
.z-cat[aria-pressed="true"] { border-color: var(--z-gold); background: linear-gradient(170deg, var(--z-panel-2), var(--z-panel)); }
.z-cat .ic { font-size: 1.5rem; margin-bottom: 10px; }
.z-cat .nm { font-family: var(--z-serif); font-size: 1.05rem; color: var(--z-gold-soft); margin-bottom: 6px; }
.z-cat .ds { font-size: 0.8rem; color: var(--z-muted); }
.z-cat .ct { font-size: 0.72rem; color: var(--z-gold); margin-top: 10px; letter-spacing: 0.08em; }

/* ── Music library ───────────────────────────────────────────── */
.z-search {
  display: flex; align-items: center; gap: 12px;
  background: var(--z-panel); border: 1px solid var(--z-line-soft);
  border-radius: 999px; padding: 6px 8px 6px 20px; margin: 30px 0 16px;
  max-width: 560px;
}
.z-search svg { flex-shrink: 0; opacity: 0.7; }
.z-search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--z-cream); font-family: var(--z-body); font-size: 0.95rem; min-width: 0;
}
.z-search input::placeholder { color: var(--z-muted); }
.z-search .clear {
  background: none; border: none; color: var(--z-muted); cursor: pointer;
  font-size: 1rem; padding: 4px 8px; border-radius: 999px;
}
.z-search .clear:hover { color: var(--z-cream); }

.z-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.z-chip {
  border: 1px solid var(--z-line-soft); background: none; color: var(--z-cream-dim);
  font-size: 0.8rem; padding: 7px 15px; border-radius: 999px; cursor: pointer;
  transition: all 0.2s; font-family: var(--z-body);
}
.z-chip:hover { border-color: var(--z-gold-dim); color: var(--z-cream); }
.z-chip[aria-pressed="true"] {
  background: rgba(201, 164, 92, 0.12); border-color: var(--z-gold); color: var(--z-gold-soft);
}

.z-songs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 30px; }
.z-song {
  background: linear-gradient(175deg, var(--z-panel), var(--z-black-2));
  border: 1px solid var(--z-line-soft); border-radius: var(--z-radius);
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s, transform 0.15s;
}
.z-song:hover { border-color: var(--z-gold-dim); transform: translateY(-2px); }
.z-song-art {
  border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9;
  background:
    radial-gradient(85% 120% at 20% 0%, rgba(107, 21, 18, 0.75), transparent 60%),
    linear-gradient(150deg, var(--z-panel-2), var(--z-black));
  border: 1px solid var(--z-line-soft);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.z-song-art .monogram {
  font-family: var(--z-serif); font-size: 2rem; color: var(--z-gold-dim);
  user-select: none;
}
.z-song-art .yt-badge {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(12, 9, 8, 0.75); border: 1px solid var(--z-line);
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--z-gold-soft); padding: 3px 8px; border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.z-song-title { font-size: 1.02rem; color: var(--z-cream); line-height: 1.35; }
.z-song-meta { font-size: 0.78rem; color: var(--z-muted); }
.z-song-meta b { color: var(--z-cream-dim); font-weight: 600; }
.z-song-note { font-size: 0.76rem; color: var(--z-cream-dim); font-style: italic; }
.z-song-actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.z-play {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: linear-gradient(160deg, var(--z-gold), #A8823F);
  color: var(--z-black); font-weight: 700; font-size: 0.82rem;
  padding: 9px 16px; border-radius: 999px; border: none;
  transition: background 0.2s, transform 0.15s; font-family: var(--z-body);
}
.z-play:hover { background: var(--z-gold-soft); }
.z-play:active { transform: scale(0.96); }
.z-play[disabled] { opacity: 0.45; cursor: default; }
.z-official {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: none; border: 1px solid var(--z-line); color: var(--z-cream-dim);
  font-size: 0.8rem; padding: 9px 14px; border-radius: 999px;
  transition: border-color 0.2s, color 0.2s; font-family: var(--z-body); text-decoration: none;
}
.z-official:hover { border-color: var(--z-gold-dim); color: var(--z-gold-soft); }
.z-source-tag { font-size: 0.68rem; color: var(--z-muted); letter-spacing: 0.04em; }

/* ── Timeline ────────────────────────────────────────────────── */
.z-timeline { margin-top: 40px; position: relative; padding-left: 26px; }
.z-timeline::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 1px; background: linear-gradient(var(--z-gold-dim), var(--z-line), transparent);
}
.z-tl-item { position: relative; padding: 0 0 40px 24px; }
.z-tl-item::before {
  content: ''; position: absolute; left: -25px; top: 7px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--z-black); border: 2px solid var(--z-gold);
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.12);
}
.z-tl-year {
  font-family: var(--z-serif); color: var(--z-gold); font-size: 1.05rem;
  letter-spacing: 0.12em; margin-bottom: 4px;
}
.z-tl-title { font-size: 1.1rem; color: var(--z-cream); margin-bottom: 8px; font-family: var(--z-body); font-weight: 700; }
.z-tl-text { font-size: 0.88rem; color: var(--z-cream-dim); max-width: 640px; }

/* ── Tabs (cinema) ────────────────────────────────────────────── */
.z-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 20px; }
.z-tab {
  border: 1px solid var(--z-line-soft); background: none; color: var(--z-cream-dim);
  padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: 0.85rem;
  font-family: var(--z-body); transition: all 0.2s;
}
.z-tab[aria-selected="true"] {
  background: rgba(201, 164, 92, 0.12); border-color: var(--z-gold); color: var(--z-gold-soft);
}
.z-tabpanel-note {
  background: var(--z-panel); border: 1px solid var(--z-line-soft);
  border-radius: var(--z-radius); padding: 18px 20px; color: var(--z-cream-dim);
  font-size: 0.85rem; margin-bottom: 22px;
}
.z-films { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.z-film {
  background: var(--z-panel); border: 1px solid var(--z-line-soft);
  border-radius: 12px; padding: 16px;
}
.z-film .yr { font-family: var(--z-serif); color: var(--z-gold); font-size: 0.95rem; margin-bottom: 4px; }
.z-film .tt { color: var(--z-cream); font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.z-film .rl { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--z-muted); }
.z-film .nt { font-size: 0.78rem; color: var(--z-cream-dim); margin-top: 8px; }

/* ── Albums ───────────────────────────────────────────────────── */
.z-album-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.z-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.z-album {
  background: linear-gradient(175deg, var(--z-panel), var(--z-black-2));
  border: 1px solid var(--z-line-soft); border-radius: var(--z-radius); padding: 20px;
}
.z-album .disc {
  width: 52px; height: 52px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--z-black) 14%, var(--z-maroon) 15%, var(--z-black-2) 68%, var(--z-gold-dim) 69%, transparent 70%),
    linear-gradient(150deg, var(--z-panel-2), var(--z-black));
  border: 1px solid var(--z-line); margin-bottom: 14px;
}
.z-album .tt { font-family: var(--z-serif); font-size: 1.05rem; color: var(--z-cream); margin-bottom: 4px; }
.z-album .mt { font-size: 0.76rem; color: var(--z-muted); margin-bottom: 8px; }
.z-album .nt { font-size: 0.78rem; color: var(--z-cream-dim); }

/* ── Cards grid (legacy / archive / articles) ─────────────────── */
.z-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 30px; }
.z-card {
  background: var(--z-panel); border: 1px solid var(--z-line-soft);
  border-radius: var(--z-radius); padding: 22px;
}
.z-card .ic { font-size: 1.4rem; margin-bottom: 10px; }
.z-card .tt { font-family: var(--z-serif); font-size: 1.05rem; color: var(--z-gold-soft); margin-bottom: 8px; }
.z-card .tx { font-size: 0.84rem; color: var(--z-cream-dim); }
.z-card .tg {
  display: inline-block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--z-gold); border: 1px solid var(--z-gold-dim); border-radius: 999px;
  padding: 3px 10px; margin-bottom: 10px;
}

/* ── State blocks (loading / empty / error) ───────────────────── */
.z-state {
  text-align: center; padding: 46px 20px; border: 1px dashed var(--z-line);
  border-radius: var(--z-radius); color: var(--z-muted); margin-top: 26px;
}
.z-state .ic { font-size: 1.6rem; margin-bottom: 12px; }
.z-state .tt { color: var(--z-cream-dim); font-size: 0.95rem; margin-bottom: 6px; }
.z-state .ac { margin-top: 16px; }
.z-spin {
  width: 26px; height: 26px; margin: 0 auto 14px;
  border: 2px solid var(--z-line); border-top-color: var(--z-gold);
  border-radius: 50%; animation: z-spin 0.9s linear infinite;
}
@keyframes z-spin { to { transform: rotate(360deg); } }
.z-retry {
  background: none; border: 1px solid var(--z-line); color: var(--z-gold-soft);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 0.82rem;
  font-family: var(--z-body);
}
.z-retry:hover { border-color: var(--z-gold); }

/* ── Memory form ──────────────────────────────────────────────── */
.z-form {
  background: linear-gradient(175deg, var(--z-panel), var(--z-black-2));
  border: 1px solid var(--z-line-soft); border-radius: var(--z-radius);
  padding: 28px; margin-top: 30px; max-width: 640px;
}
.z-field { margin-bottom: 18px; }
.z-field label {
  display: block; font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--z-cream-dim); margin-bottom: 8px; font-weight: 600;
}
.z-field input, .z-field textarea {
  width: 100%; background: rgba(12, 9, 8, 0.55); border: 1px solid var(--z-line-soft);
  border-radius: 10px; padding: 12px 14px; color: var(--z-cream);
  font-family: var(--z-body); font-size: 0.92rem; outline: none;
  transition: border-color 0.2s;
}
.z-field input:focus, .z-field textarea:focus { border-color: var(--z-gold-dim); }
.z-field textarea { min-height: 110px; resize: vertical; }
.z-consent {
  display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem;
  color: var(--z-cream-dim); margin-bottom: 20px;
}
.z-consent input { width: 16px; height: 16px; accent-color: var(--z-gold); margin-top: 3px; flex-shrink: 0; }
.z-form-msg { font-size: 0.84rem; margin-top: 14px; min-height: 1.2em; }
.z-form-msg.ok { color: var(--z-gold-soft); }
.z-form-msg.err { color: var(--z-danger); }
.z-form-note { font-size: 0.72rem; color: var(--z-muted); margin-top: 16px; font-style: italic; }

/* ── Tribute wall ─────────────────────────────────────────────── */
.z-tributes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 30px; }
.z-tribute {
  background: var(--z-panel); border: 1px solid var(--z-line-soft);
  border-radius: var(--z-radius); padding: 22px;
  border-top: 2px solid var(--z-gold-dim);
}
.z-tribute .who { font-family: var(--z-serif); color: var(--z-gold-soft); margin-bottom: 2px; font-size: 0.98rem; }
.z-tribute .song { font-size: 0.74rem; color: var(--z-muted); margin-bottom: 12px; }
.z-tribute .mem { font-size: 0.88rem; color: var(--z-cream-dim); white-space: pre-wrap; word-break: break-word; }
.z-tribute .feat { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--z-gold); margin-bottom: 8px; }

/* ── Final tribute ───────────────────────────────────────────── */
.z-final {
  text-align: center; padding: 110px 20px 90px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(107, 21, 18, 0.35), transparent 70%),
    var(--z-black);
  border-top: 1px solid var(--z-line-soft);
}
.z-final .icon { font-size: 2.2rem; margin-bottom: 22px; filter: grayscale(0.15); }
.z-final .nm { font-size: clamp(2rem, 7vw, 3.4rem); color: var(--z-cream); margin-bottom: 10px; }
.z-final .ep { font-size: clamp(1.1rem, 3.2vw, 1.5rem); color: var(--z-gold); font-family: var(--z-serif); margin-bottom: 30px; }
.z-final .q {
  font-family: var(--z-serif); font-style: italic;
  font-size: clamp(1.05rem, 3vw, 1.3rem); color: var(--z-cream-dim);
  max-width: 520px; margin: 0 auto 30px; line-height: 1.7;
}
.z-final .yr { font-family: var(--z-serif); letter-spacing: 0.3em; color: var(--z-muted); }

/* ── Footer ───────────────────────────────────────────────────── */
.z-footer {
  border-top: 1px solid var(--z-line-soft); padding: 40px 20px 46px;
  text-align: center; font-size: 0.78rem; color: var(--z-muted);
  background: var(--z-black-2);
}
.z-footer .src { max-width: 640px; margin: 10px auto 0; font-size: 0.7rem; line-height: 1.6; }
.z-footer a { color: var(--z-cream-dim); text-decoration: underline; text-underline-offset: 3px; }
.z-footer a:hover { color: var(--z-gold-soft); }

/* ── Mini player ──────────────────────────────────────────────── */
.z-player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: rgba(16, 11, 10, 0.96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--z-line);
  transform: translateY(110%); transition: transform 0.3s ease;
  padding-bottom: env(safe-area-inset-bottom);
}
.z-player.open { transform: translateY(0); }
.z-player-inner {
  max-width: var(--z-maxw); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 14px;
}
.z-player-vid { display: none; }
.z-player-info { flex: 1 1 auto; min-width: 44px; }
.z-player-title { font-size: 0.88rem; color: var(--z-cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.z-player-artist { font-size: 0.72rem; color: var(--z-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.z-player-times { font-size: 0.68rem; color: var(--z-muted); font-variant-numeric: tabular-nums; margin-top: 4px; }
.z-progress {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  background: var(--z-line-soft); border-radius: 99px; cursor: pointer;
  margin-top: 6px; outline: none;
}
.z-progress::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 12px; height: 12px;
  border-radius: 50%; background: var(--z-gold); border: none;
}
.z-progress::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%; background: var(--z-gold); border: none;
}
.z-progress:disabled { opacity: 0.35; cursor: default; }
.z-pbtn {
  background: none; border: 1px solid var(--z-line); color: var(--z-cream);
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 0.9rem;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}
.z-pbtn:hover { border-color: var(--z-gold-dim); color: var(--z-gold-soft); }
.z-pbtn.main {
  background: linear-gradient(160deg, var(--z-gold), #A8823F); color: var(--z-black);
  border: none; width: 44px; height: 44px; font-size: 1rem;
}
.z-vol { display: flex; align-items: center; gap: 8px; }
.z-vol input {
  -webkit-appearance: none; appearance: none; width: 74px; height: 3px;
  background: var(--z-line); border-radius: 99px; cursor: pointer;
}
.z-vol input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 11px; height: 11px;
  border-radius: 50%; background: var(--z-gold);
}
.z-vol input::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; background: var(--z-gold); border: none; }
.z-player-fallback {
  font-size: 0.74rem; color: var(--z-danger); padding: 6px 12px 0;
}
.z-player-fallback a { color: var(--z-gold-soft); text-decoration: underline; }
@media (max-width: 560px) {
  .z-vol { display: none; }
  .z-player-artist { display: none; }
}

/* ── Admin (moderation) panel ─────────────────────────────────── */
.z-admin { margin-top: 40px; display: none; }
.z-admin.show { display: block; }
.z-admin-panel {
  border: 1px solid var(--z-gold-dim); border-radius: var(--z-radius);
  background: var(--z-panel); padding: 22px; margin-top: 16px;
}
.z-admin-item {
  border: 1px solid var(--z-line-soft); border-radius: 10px; padding: 14px;
  margin-bottom: 12px; font-size: 0.85rem;
}
.z-admin-item .hd { color: var(--z-cream); font-weight: 600; margin-bottom: 4px; }
.z-admin-item .st { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--z-muted); }
.z-admin-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.z-admin-btn {
  background: none; border: 1px solid var(--z-line); color: var(--z-cream-dim);
  font-size: 0.76rem; padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.z-admin-btn:hover { border-color: var(--z-gold); color: var(--z-gold-soft); }
.z-admin-btn.deny:hover { border-color: var(--z-danger); color: var(--z-danger); }

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

/* ── Desktop (≥1024px): full artwork visible side-by-side with text — zero overlap
   by construction (grid columns), not by fragile object-position guesswork ────── */
@media (min-width: 1024px) {
  .z-hero-bg { display: none; }
  .z-hero-scrim { background: linear-gradient(180deg, rgba(12,9,8,0.25) 0%, transparent 22%, transparent 78%, rgba(12,9,8,0.5) 100%); }
  .z-hero { align-items: center; min-height: 92vh; }
  .z-hero .z-wrap.z-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 42%); align-items: center; gap: 56px; }
  .z-hero-inner { padding: 60px 0; max-width: none; }
  .z-hero-art {
    display: flex; align-items: center; justify-content: center;
    height: min(80vh, 820px);
  }
  .z-hero-art img {
    width: 100%; height: 100%; object-fit: contain; object-position: center;
    border-radius: 14px; filter: drop-shadow(0 24px 60px rgba(0,0,0,0.55));
  }
}

/* ── Responsive refinements ───────────────────────────────────── */
@media (max-width: 640px) {
  .z-section { padding: 64px 0 56px; }
  .z-songs { grid-template-columns: 1fr; }
  .z-cats { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .z-form { padding: 20px; }
  .z-hero-cta .z-btn { width: 100%; justify-content: center; }
  .z-wrap { padding: 0 16px; }
}
@media (max-width: 360px) {
  body.z-page { font-size: 15px; }
  .z-films, .z-albums, .z-grid, .z-tributes { grid-template-columns: 1fr; }
  .z-brand { font-size: 0.9rem; }
}

/* ══════════════════════════════════════════════════════════════════
   MUSIC ARCHIVE v2 — featured strip, playlists, covers, favourites
   ══════════════════════════════════════════════════════════════════ */

.z-lib-stats {
  margin: 14px 0 6px;
  font-size: 0.86rem;
  color: var(--z-gold-soft);
  letter-spacing: 0.02em;
}
.z-h3 {
  font-family: var(--z-serif);
  font-size: 1.15rem;
  color: var(--z-cream);
  margin: 26px 0 14px;
}
.z-h3 .as { color: var(--z-gold-soft); }

/* ── Featured strip ─────────────────────────────────────────── */
.z-featured-wrap { margin-top: 6px; }
.z-featured {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--z-gold-dim) transparent;
}
.z-feat-card {
  flex: 0 0 150px;
  scroll-snap-align: start;
  background: var(--z-panel-2);
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
  text-align: left;
  padding: 0;
  color: var(--z-cream);
}
.z-feat-card:hover { transform: translateY(-3px); border-color: var(--z-gold); }
.z-feat-card:focus-visible { outline: 2px solid var(--z-gold); outline-offset: 2px; }
.z-feat-art { position: relative; width: 100%; aspect-ratio: 1; background: var(--z-panel); }
.z-feat-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.z-feat-art .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--z-serif); font-size: 2.2rem; color: var(--z-gold);
}
.z-feat-play {
  position: absolute; inset: auto 8px 8px auto;
  background: rgba(12, 9, 8, 0.82); color: var(--z-gold-soft);
  border: 1px solid var(--z-line); border-radius: 999px;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; opacity: 0; transition: opacity 0.15s ease;
}
.z-feat-card:hover .z-feat-play, .z-feat-card:focus-visible .z-feat-play { opacity: 1; }
.z-feat-meta { padding: 9px 11px 11px; }
.z-feat-title {
  font-size: 0.86rem; font-weight: 600; line-height: 1.25;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.z-feat-sub { font-size: 0.72rem; color: var(--z-muted); margin-top: 4px; }

/* ── Playlist cards ──────────────────────────────────────────── */
.z-playlists-wrap { margin-top: 4px; }
.z-playlists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.z-pl-card {
  background: linear-gradient(160deg, var(--z-panel-2), var(--z-panel));
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  padding: 16px 16px 14px;
  cursor: pointer;
  text-align: left;
  color: var(--z-cream);
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.z-pl-card:hover { border-color: var(--z-gold); transform: translateY(-2px); }
.z-pl-card:focus-visible { outline: 2px solid var(--z-gold); outline-offset: 2px; }
.z-pl-icon { font-size: 1.5rem; }
.z-pl-name { font-family: var(--z-serif); font-size: 1.02rem; margin-top: 8px; color: var(--z-gold-soft); }
.z-pl-desc { font-size: 0.78rem; color: var(--z-muted); margin-top: 6px; line-height: 1.45; }
.z-pl-count {
  margin-top: 10px; font-size: 0.72rem; color: var(--z-cream-dim);
  border-top: 1px solid var(--z-line-soft); padding-top: 8px;
}

/* ── Library bar (filters + queue actions) ────────────────────── */
.z-lib-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  justify-content: space-between; margin-top: 18px;
}
.z-lib-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.z-lib-btn {
  background: var(--z-maroon); color: var(--z-cream);
  border: 1px solid rgba(201, 164, 92, 0.35);
  border-radius: 999px; padding: 8px 16px;
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.z-lib-btn:hover { background: var(--z-maroon-deep); transform: translateY(-1px); }
.z-lib-btn:disabled { opacity: 0.45; cursor: default; transform: none; }

/* ── Active playlist banner ───────────────────────────────────── */
.z-playlist-banner {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding: 12px 16px;
  background: var(--z-panel-2);
  border: 1px solid var(--z-gold-dim); border-radius: var(--z-radius);
  font-size: 0.85rem; color: var(--z-cream);
}
.z-playlist-banner b { color: var(--z-gold-soft); font-family: var(--z-serif); }
.z-pl-exit {
  margin-left: auto; background: none; border: 1px solid var(--z-line);
  color: var(--z-cream-dim); border-radius: 999px; padding: 5px 13px;
  font-size: 0.75rem; cursor: pointer;
}
.z-pl-exit:hover { border-color: var(--z-gold); color: var(--z-gold-soft); }

/* ── Song card v2 (cover, duration, favourite) ────────────────── */
.z-song { position: relative; }
.z-song-cover {
  width: 74px; height: 74px; border-radius: 10px; overflow: hidden;
  flex: 0 0 auto; position: relative; background: var(--z-panel-2);
  border: 1px solid var(--z-line-soft);
}
.z-song-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.z-song-cover .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--z-serif); font-size: 1.6rem; color: var(--z-gold);
}
.z-song-cover .src-badge {
  position: absolute; left: 0; bottom: 0; right: 0;
  font-size: 0.6rem; text-align: center; padding: 2px 0;
  background: rgba(12, 9, 8, 0.78); color: var(--z-gold-soft);
  letter-spacing: 0.03em;
}
.z-song .src-badge.yt { color: #8DB600; }
.z-song .src-badge.apple { color: var(--z-gold); }
.z-dur {
  display: inline-block; font-size: 0.7rem; color: var(--z-cream-dim);
  border: 1px solid var(--z-line-soft); border-radius: 999px; padding: 1px 8px;
  margin-left: 6px;
}
.z-fav {
  position: absolute; top: 10px; right: 10px;
  background: rgba(12, 9, 8, 0.6); border: 1px solid var(--z-line-soft);
  border-radius: 999px; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; cursor: pointer; color: var(--z-muted);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.z-fav:hover { color: var(--z-gold-soft); border-color: var(--z-gold-dim); transform: scale(1.08); }
.z-fav.on { color: var(--z-gold); border-color: var(--z-gold); }
.z-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.66rem; color: var(--z-gold-soft);
  border: 1px solid var(--z-gold-dim); border-radius: 999px; padding: 1px 8px;
  margin-left: 6px;
}

/* loading sentinel / count line */
#z-load-sentinel { height: 10px; }
.z-load-more {
  display: block; margin: 18px auto 4px;
  background: none; border: 1px solid var(--z-line); color: var(--z-cream-dim);
  border-radius: 999px; padding: 9px 22px; font-size: 0.8rem; cursor: pointer;
}
.z-load-more:hover { border-color: var(--z-gold); color: var(--z-gold-soft); }

/* ── Apple Music preview mode in the player bar ───────────────── */
.z-player.apple-mode .z-progress,
.z-player.apple-mode .z-player-times { display: none; }
.z-player.apple-mode .z-pbtn.main { opacity: 0.4; cursor: default; }
.z-player-srcmode {
  font-size: 0.68rem; color: var(--z-gold-soft); margin-top: 3px;
  letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%; display: block;
}
.z-player-times { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
#z-player-vid iframe { border: 0; }

@media (max-width: 640px) {
  .z-featured { padding-bottom: 10px; }
  .z-feat-card { flex-basis: 132px; }
  .z-lib-bar { flex-direction: column; align-items: stretch; }
  .z-lib-actions { justify-content: space-between; }
  .z-lib-btn { flex: 1; text-align: center; padding: 9px 10px; }
}

/* ── Full-song YouTube: AUDIO-ONLY (user request, Sep 13 2026) ──
   The YT embed iframe stays hidden (.z-player-vid display:none, base rule)
   — video is NOT shown in the bar: lighter layout and much friendlier to
   low-data mobile users. The iframe still plays the licensed audio while
   the page is open; when the page hides, the Apple 30s preview chain takes
   over background automatically (see zubeen-da.js _vis). The ⛶ PiP button
   stays hidden (PiP needs a visible video, which we no longer render). */
#z-player-pip { display: none; }
/* Native Apple preview audio: the vid container still holds the YT iframe —
   keep it hidden (the .apple-mode rule below is only for the embed card) */
.z-player.apple-mode.native .z-player-vid { display: none; }

/* Apple Music preview needs a VISIBLE embed — unlike the YT iframe,
   which plays hidden audio-only, the Apple card must be tapped. */
.z-player.apple-mode .z-player-vid {
  display: block;
  max-width: var(--z-maxw);
  margin: 0 auto;
  padding: 10px 16px 0;
}
.z-player.apple-mode .z-player-vid iframe {
  display: block;
  margin: 0 auto;
}
