/* =========================================================
   Hrach Music — Music site template
   Mobile-first (most traffic comes from Shorts / in-app browsers)
   ========================================================= */

:root {
  --bg: #0b0b12;
  --bg-2: #13131d;
  --card: #181826;
  --line: #262638;
  --text: #ececf4;
  --muted: #a3a3b8;
  --accent: #8b5cf6;
  --accent-2: #ec4899;
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --radius: 14px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
}
img { max-width: 100%; display: block; }
a { color: #c4b5fd; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 18, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; font-size: 12px; font-weight: 900; letter-spacing: -.02em; color: #fff; line-height: 1; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 6px 10px; font-size: 1.1rem; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; border-top: 1px solid var(--line); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1px solid var(--line); color: var(--text); background: var(--card); cursor: pointer;
}
.btn:hover { text-decoration: none; border-color: #3a3a55; }
.btn-primary { background: var(--grad); border: 0; color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 24px; text-align: center; }
.hero p.lead { max-width: 640px; margin: 0 auto 22px; color: var(--muted); font-size: 1.08rem; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Sections ---------- */
.section { padding: 28px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }

/* ---------- Video cards grid ---------- */
.grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); border-color: #3a3a55; text-decoration: none; }
.card-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--grad) center / cover no-repeat; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb .play {
  position: absolute; inset: auto 10px 10px auto; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,.6); display: grid; place-items: center; font-size: 14px;
}
.card-thumb .badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.65); padding: 2px 8px; border-radius: 6px; font-size: .75rem; font-weight: 700; }
.card-body { padding: 10px 12px 14px; }
.card-body h3 { font-size: .95rem; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body .meta { font-size: .8rem; color: var(--muted); }

/* In-feed ad spans the full grid row */
.grid .ad-slot { grid-column: 1 / -1; }

/* ---------- Video page layout ---------- */
.layout { display: grid; gap: 28px; grid-template-columns: 1fr; padding: 20px 0 40px; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; } }

.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }

.player-wrap { display: flex; justify-content: center; background: #000; border-radius: var(--radius); padding: 0; overflow: hidden; }
.yt {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--grad) center / cover no-repeat; cursor: pointer;
}
/* 16:9 music videos (Shorts stay 9:16) */
.yt.yt--wide { max-width: none; aspect-ratio: 16 / 9; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 28px; cursor: pointer;
}
.yt-play:hover { background: #ff0033; }

.track-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .82rem; color: var(--muted); }
.chip b { color: var(--text); }

.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.next-up {
  display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px; margin: 24px 0; color: var(--text);
}
.next-up:hover { text-decoration: none; border-color: var(--accent); }
.next-up .thumb { width: 128px; aspect-ratio: 16/9; border-radius: 8px; background: var(--grad) center / cover; flex-shrink: 0; }
.next-up small { color: var(--accent-2); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.sidebar .sticky { position: sticky; top: 80px; display: grid; gap: 20px; }
.side-list { display: grid; gap: 12px; }
.side-item { display: flex; gap: 12px; color: var(--text); }
.side-item:hover { text-decoration: none; }
.side-item .thumb { width: 120px; aspect-ratio: 16/9; border-radius: 8px; background: var(--grad) center / cover; flex-shrink: 0; }
.side-item h3 { font-size: .9rem; margin: 2px 0 4px; }

/* ---------- Ad slots ----------
   Reserve height to avoid layout shift (CLS). Keep clear spacing from the
   video player and buttons so nothing can be clicked by accident (policy). */
.ad-slot {
  margin: 28px auto; text-align: center; min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ad-slot.ad-slot--sidebar { min-height: 600px; margin: 0; }
.ad-slot.ad-slot--leaderboard { min-height: 100px; }
@media (min-width: 728px) { .ad-slot.ad-slot--leaderboard { min-height: 90px; } }
.ad-label { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #85859a; margin-bottom: 4px; }
.ad-slot ins { width: 100%; }

/* Template preview: shows where ads will go. Remove class from <body> in production. */
.show-ad-placeholders .ad-slot {
  border: 2px dashed #3a3a55; border-radius: var(--radius); background: repeating-linear-gradient(45deg, #12121b, #12121b 10px, #15151f 10px, #15151f 20px);
}
.show-ad-placeholders .ad-slot::after { content: attr(data-placeholder); color: #6b6b80; font-size: .85rem; font-weight: 600; }

/* ---------- Content blocks ---------- */
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }


.socials { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Legal / static pages ---------- */
.page { padding: 32px 0 56px; }
.page .prose { margin: 0 auto; }
.page .updated { color: var(--muted); font-size: .9rem; }
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-weight: 600; font-size: .9rem; }
.form input, .form textarea, .form select {
  width: 100%; margin-top: 6px; padding: 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: inherit;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 32px 0 24px; margin-top: 24px; font-size: .9rem; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { margin: 0 0 10px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); }
.copyright { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; color: #85859a; font-size: .82rem; }

/* ---------- Full-width video page ---------- */
.layout.layout--full { grid-template-columns: 1fr; }
.layout--full .yt.yt--wide { width: min(100%, calc((100vh - 140px) * 16 / 9)); max-width: none; }
.layout--full .player-wrap { width: 100%; }
.layout--full .prose,
.layout--full .next-up { max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) {
  /* edge-to-edge player on phones */
  .layout--full .player-wrap { margin: 0 -12px; width: calc(100% + 24px); border-radius: 0; }
}
@media (min-width: 900px) { .grid.grid--6 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Lyrics ---------- */
.lyrics { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 28px 0; scroll-margin-top: 80px; }
.lyrics h2 { margin-top: 0; }
.lyrics-tabs { display: flex; gap: 6px; margin: 16px 0 20px; flex-wrap: wrap; }
.lyrics-tabs button {
  background: var(--card); color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 16px; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer;
}
.lyrics-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.lyrics-part { margin-bottom: 22px; }
.lyrics-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.lyrics-part p { white-space: pre-line; font-size: 1.08rem; line-height: 1.9; margin: 0; }

/* Collapsed lyrics: show the first 300px, fade out, expand on tap */
.lyrics-body { position: relative; }
.lyrics-body.is-collapsed { max-height: 300px; overflow: hidden; cursor: pointer; }
.lyrics-body.is-collapsed::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(to bottom, rgba(19, 19, 29, 0), var(--bg-2));
  pointer-events: none;
}
.lyrics-toggle { display: flex; margin: 14px auto 0; }

/* ---------- Listen on (streaming links) ---------- */
.listen { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 24px auto 28px; max-width: 760px; }
.listen-title { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.listen-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .listen-grid { grid-template-columns: repeat(3, 1fr); } }
.listen-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .92rem;
  transition: border-color .15s, transform .15s;
}
.listen-item:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-1px); }
.listen-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--brand); color: #0b0b12; font-weight: 900; font-size: .9rem;
}
.listen-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listen-go { color: var(--muted); font-size: 1.2rem; }
.listen.is-collapsed .listen-item:nth-child(n+10) { display: none; }
.listen-toggle { display: flex; margin: 12px auto 0; font-size: .88rem; padding: 8px 18px; }

/* ---------- Language switcher ---------- */
.site-header .container { gap: 16px; }
.nav { margin-left: auto; }
.lang-switch { position: relative; order: 3; }
.nav-toggle { order: 4; }
.lang-switch summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 700; color: var(--text); user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: #3a3a55; }
.lang-switch[open] summary { border-color: var(--accent); }
.lang-caret { color: var(--muted); font-size: .75rem; transition: transform .15s; }
.lang-switch[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; margin: 0; padding: 6px;
  list-style: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45); z-index: 60;
}
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--text); font-size: .92rem; }
.lang-menu a:hover { background: var(--card); text-decoration: none; }
.lang-menu a[aria-current="true"] { color: #c4b5fd; }
.lang-code { font-size: .7rem; font-weight: 800; color: var(--muted); width: 22px; }
.lang-check { margin-left: auto; color: var(--accent-2); }
@media (max-width: 720px) {
  .lang-switch { margin-left: auto; }
}

/* ---------- Social buttons with icons ---------- */
.social-btn { gap: 10px; }
.social-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand); transition: color .15s; }
.social-btn:hover { border-color: var(--brand); }

.lang-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); flex-shrink: 0; }

/* ---------- Mobile side spacing: 12px ---------- */
@media (max-width: 640px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .lyrics, .listen, .panel { padding-left: 14px; padding-right: 14px; }
}

/* ---------- Ad visibility ----------
   Hidden by default. A slot appears automatically only when it contains real
   AdSense code (<ins class="adsbygoogle">). Backend: output the <ins> → slot shows;
   no ad code → slot stays hidden and takes no space.
   For a design preview of ad positions, add class "show-ad-placeholders" to <body>. */
.ad-slot { display: none; }
.ad-slot:has(ins.adsbygoogle) { display: flex; }
.show-ad-placeholders .ad-slot { display: flex; }

/* ---------- Gallery ---------- */
.gallery { padding: 28px 0 8px; }
.gallery-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.g-item { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--card); }
.g-item:first-child { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-item:hover img { transform: scale(1.04); }
.g-badge {
  position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.7); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px;
}
.gallery.is-collapsed .g-item:nth-child(n+10) { display: none; }
.gallery-toggle { display: flex; margin: 14px auto 0; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 5, 10, .96); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(92vw, 1100px); }
.lb-media img, .lb-media video { max-width: 92vw; max-height: 78vh; border-radius: 10px; display: block; }
.lb-caption { color: var(--muted); font-size: .92rem; text-align: center; padding: 0 12px; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 14px; right: 14px; font-size: 1rem; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 24px; left: 18px; font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); }
}

/* ---------- Song descriptions (rendered from Markdown) ---------- */
.song-intro p { font-size: 1.08rem; }
.song-content { margin-top: 8px; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.18rem; margin: 1.4em 0 .5em; color: #ddd6fe; }
.prose strong { color: #fff; font-weight: 800; }
.prose em { color: #e9d5ff; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ol { padding-left: 1.4em; }
.prose li::marker { color: var(--accent-2); }
.prose blockquote {
  margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--accent);
  background: var(--bg-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem; font-style: italic; color: #e5e5f0;
}
.site-footer .footer-email { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; color: var(--text); font-weight: 600; }
.site-footer .footer-email svg { color: var(--accent-2); flex-shrink: 0; }
.site-footer .footer-email:hover { color: #c4b5fd; }

/* ---------- Centered footer ---------- */
.footer-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-tagline { margin: 10px 0 6px; max-width: 520px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin-top: 18px; }
.footer-links a { color: var(--text); font-weight: 600; }
.footer-links a + a::before { content: "·"; color: #4b4b63; margin: 0 12px; font-weight: 400; }
.footer-links--legal { margin-top: 10px; font-size: .85rem; }
.footer-links--legal a { color: var(--muted); font-weight: 400; }
.footer-links a:hover { color: #c4b5fd; text-decoration: none; }
.site-footer .copyright { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; }

/* Feature cards (home "About the music"): icon left, text right */
.feature {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.feature h3 { margin: 2px 0 4px; font-size: 1rem; }
.feature p { margin: 0; font-size: .9rem; line-height: 1.5; }
.feature-icon {
  flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; color: #f0abfc;
  background: linear-gradient(135deg, rgba(139, 92, 246, .22), rgba(236, 72, 153, .22));
  border: 1px solid rgba(236, 72, 153, .25);
}

/* Centered section title with icon and fading side lines */
.section-title {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 0 0 24px; font-size: clamp(1.4rem, 3.2vw, 1.9rem); font-weight: 800; letter-spacing: -.01em;
}
.section-title::before, .section-title::after {
  content: ""; flex: 1; max-width: 160px; height: 1px;
}
.section-title::before { background: linear-gradient(to right, transparent, rgba(139, 92, 246, .6)); margin-right: 6px; }
.section-title::after { background: linear-gradient(to left, transparent, rgba(236, 72, 153, .6)); margin-left: 6px; }
.section-title-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(236, 72, 153, .25);
}

/* FAQ: half width, centered on desktop; full width on phones/tablets */
.faq h2 { text-align: center; }
@media (min-width: 900px) {
  .section.faq { max-width: 50%; margin-left: auto; margin-right: auto; }
}

/* FAQ cards */
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 10px; transition: border-color .15s, background .15s;
}
.faq details:hover { border-color: #3a3a55; }
.faq details[open] { border-color: rgba(139, 92, 246, .6); background: #1c1a2e; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(139, 92, 246, .18); color: #c4b5fd; font-size: 1.2rem; font-weight: 600; line-height: 1;
  transition: transform .2s, background .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); line-height: 1.6; }

/* Player cover image (real <img> so the browser loads it first = faster LCP) */
.yt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
