/* The video pages on music.gonglogic.com and the Library: one video's own page (Includes/VideoWatchPage)
   and /videos (Includes/VideoHub). Both sites name their tokens alike (--ink, --surface, --rule…), so
   every colour here is theirs and each site's dark scheme follows; the link colour is the music site's
   --brand where there is one and the Library's --accent-ink otherwise. */
.vp { max-width: 56rem; }
.vp-head { margin: 0 0 1rem; }
.vp-eyebrow { margin: 0 0 0.35rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.vp-eyebrow a { color: var(--brand, var(--accent-ink)); text-decoration: none; }
.vp-title { margin: 0; font-family: var(--display, var(--serif)); font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; color: var(--ink); }
.vp-meta { margin: 0.4rem 0 0; color: var(--ink-3); font-size: 0.92rem; }

/* The player first, at the full width of the column, 16:9. */
.vp-player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r, 0.6rem); overflow: hidden; }
.vp-player__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.vp-use { margin: 1rem 0 0; }
.vp-use__link {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.vp-use__link:hover { opacity: 0.9; }

.vp-section { margin-top: 2rem; }
.vp-h2 { margin: 0 0 0.75rem; font-family: var(--display, var(--serif)); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.vp-count { margin-left: 0.35rem; color: var(--ink-3); font-family: var(--sans); font-size: 0.85rem; font-weight: 400; }
.vp-prose { max-width: 44rem; color: var(--ink-2); line-height: 1.6; }

.vp-chapters { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.25rem; }
.vp-chapters a { display: flex; gap: 0.75rem; padding: 0.35rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.vp-chapters a:hover { color: var(--brand, var(--accent-ink)); }
.vp-chapters__time { min-width: 3.5rem; color: var(--brand, var(--accent-ink)); font-variant-numeric: tabular-nums; font-weight: 600; }

.vp-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 1.25rem 0 0; font-size: 0.95rem; }
.vp-links a { color: var(--brand, var(--accent-ink)); }

.vp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.vp-card__link { display: flex; flex-direction: column; gap: 0.35rem; color: var(--ink); text-decoration: none; }
.vp-card__poster { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r, 0.6rem); background: var(--surface-2); }
.vp-card__name { font-weight: 600; line-height: 1.3; }
.vp-card__len { color: var(--ink-3); font-size: 0.85rem; }
.vp-card__link:hover .vp-card__name { color: var(--brand, var(--accent-ink)); }
