@font-face { font-family: "Griffy"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/griffy-latin.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("fonts/nunito-latin.woff2") format("woff2"); }
/* Vampire Café Crew — music video page (shared by the artifact build and the standalone site build). */
:root {
  color-scheme: dark;
  --bg: #0c0918; --bg2: #151030; --panel: #1c1538; --panel2: #2a2050; --line: #3d3170;
  --ink: #f7f2ff; --muted: #bdb2dc; --moon: #ffe7a3; --pumpkin: #ff9b3d; --mint: #6fe3c1; --cherry: #e2456a; --plum: #6a4a96;
  --display: "Griffy", "Chalkboard SE", "Comic Sans MS", "Trebuchet MS", cursive;
  --body: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sky1: #241a52; --sky2: #4a2f72; --dawn: 0;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: var(--body); line-height: 1.4; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--moon); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mv-wrap {
  min-height: 100vh; min-height: 100svh;
  padding: 14px max(16px, env(safe-area-inset-right, 0px)) 22px max(16px, env(safe-area-inset-left, 0px));
  background: radial-gradient(120% 70% at 50% 0%, #241a4a 0%, var(--bg) 60%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.mv-top { width: 100%; max-width: 1180px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mv-brand { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; }
.mv-brand h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 3.2vw, 1.9rem); color: var(--moon); letter-spacing: .01em; }
.mv-brand p { margin: 0; color: var(--muted); font-size: .9rem; font-weight: 600; }
.mv-back { color: var(--mint); font-weight: 800; text-decoration: none; font-size: .95rem; padding: 6px 10px; border-radius: 999px; background: rgba(111, 227, 193, .1); }
.mv-back:hover { background: rgba(111, 227, 193, .2); }

/* ---------- Player ---------- */
.mv-player { width: 100%; max-width: 1180px; display: flex; flex-direction: column; gap: 0; background: #07050f; border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); }
.mv-stage-box { width: 100%; display: flex; justify-content: center; background: #000; }
.mv-stage { position: relative; width: min(100%, calc((100svh - 178px) * 16 / 9)); min-width: min(100%, 280px); aspect-ratio: 16 / 9; overflow: hidden;
  container-type: inline-size; background: linear-gradient(180deg, var(--sky1), var(--sky2)); user-select: none; -webkit-user-select: none; cursor: pointer; }
.mv-player:fullscreen { max-width: none; border-radius: 0; height: 100%; justify-content: center; background: #000; }
.mv-player:fullscreen .mv-stage-box { flex: 1 1 auto; align-items: center; min-height: 0; }
.mv-player:fullscreen .mv-stage { width: min(100vw, calc((100vh - 64px) * 16 / 9)); }

/* sky + 2D fallback layers */
.mv-sky { position: absolute; inset: 0; pointer-events: none; }
.mv-sky::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 84% 18%, rgba(255, 231, 163, .3) 0 6%, transparent 24%),
    radial-gradient(1.5px 1.5px at 12% 20%, #fff7d6 99%, transparent), radial-gradient(1.5px 1.5px at 33% 9%, #fff7d6 99%, transparent),
    radial-gradient(2px 2px at 58% 16%, #fff7d6 99%, transparent), radial-gradient(1.5px 1.5px at 72% 31%, #fff7d6 99%, transparent),
    radial-gradient(1.5px 1.5px at 22% 41%, #fff7d6 99%, transparent), radial-gradient(2px 2px at 92% 44%, #fff7d6 99%, transparent); }
.mv-sky::after { content: ""; position: absolute; inset: 0; opacity: var(--dawn);
  background: linear-gradient(180deg, rgba(255, 170, 120, 0) 20%, rgba(255, 160, 110, .55) 75%, rgba(255, 214, 140, .8)); }
.mv-moon { position: absolute; right: 12%; top: 9%; width: 9cqw; height: 9cqw; border-radius: 50%; background: #ffe7a3;
  box-shadow: 0 0 4cqw rgba(255, 231, 163, .45), inset -1.2cqw -.8cqw 0 #f2d389; }
.mv-stage.is-blood .mv-moon { background: #ffb3c6; box-shadow: 0 0 4cqw rgba(255, 120, 160, .5), inset -1.2cqw -.8cqw 0 #f08aa6; }
.mv-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mv-2d { position: absolute; inset: 0; display: none; pointer-events: none; }
.mv-nogl .mv-2d { display: block; }
.mv-nogl .mv-canvas { display: none; }
.mv-stage.is-blood .mv-moon { background: #ffb3c6; box-shadow: 0 0 4cqw rgba(255, 120, 160, .5), inset -1.2cqw -.8cqw 0 #f08aa6; }
.mv-2d svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Overlays ---------- */
.mv-layer { position: absolute; inset: 0; pointer-events: none; }
.mv-hud { position: absolute; left: 3cqw; right: 3cqw; top: 2.6cqw; display: flex; justify-content: space-between; align-items: flex-start; gap: 2cqw;
  font-weight: 800; font-size: clamp(9px, 1.5cqw, 16px); opacity: 0; transform: translateY(-1cqw); transition: opacity .4s, transform .4s; }
.mv-hud.is-on { opacity: 1; transform: none; }
.mv-sun { flex: 0 1 34cqw; display: grid; gap: .35em; padding: .55em .8em .7em; border-radius: 1em; background: rgba(18, 13, 34, .78); }
.mv-sun-row { display: flex; justify-content: space-between; gap: 1em; }
.mv-sun-row span { color: var(--muted); }
.mv-sun-track { position: relative; height: .75em; border-radius: 999px; background: #120d22; }
.mv-sun-fill { position: absolute; inset: 0; border-radius: inherit; transform-origin: left center; transform: scaleX(.3);
  background: linear-gradient(90deg, #6a4a96, #ff9b3d 70%, #ffd36b); }
.mv-sun-dot { position: absolute; top: 50%; left: 0; width: 1.3em; height: 1.3em; margin: -.65em 0 0 -.65em; border-radius: 50%;
  background: #ffd36b; box-shadow: 0 0 0 .2em rgba(255, 211, 107, .3); }
.mv-score { display: grid; justify-items: end; gap: .15em; padding: .55em .9em; border-radius: 1em; background: rgba(18, 13, 34, .78); }
.mv-score b { font-family: var(--display); font-weight: 400; font-size: 1.9em; line-height: 1; color: var(--moon); }
.mv-stars { color: var(--moon); letter-spacing: .1em; }
.mv-stars i { font-style: normal; color: rgba(255, 231, 163, .28); }

.mv-chip { position: absolute; left: 3cqw; top: 3cqw; max-width: 46cqw; padding: .5em .95em; border-radius: 999px; font-weight: 800;
  font-size: clamp(9px, 1.6cqw, 18px); color: #2a1a0a; background: var(--mint); box-shadow: 0 .25em 0 rgba(20, 10, 40, .45);
  opacity: 0; transform: translateX(-2cqw); transition: opacity .35s, transform .35s; }
.mv-chip.is-on { opacity: 1; transform: none; }
.mv-chip.is-pumpkin { background: var(--pumpkin); }
.mv-chip.is-moon { background: var(--moon); }
.mv-chip.is-cherry { background: #ff8fab; }

.mv-banner { position: absolute; left: 50%; top: 16%; translate: -50% 0; display: grid; justify-items: center; gap: .1em; text-align: center;
  font-family: var(--display); color: var(--moon); font-size: clamp(16px, 5.2cqw, 64px); line-height: 1; white-space: nowrap;
  text-shadow: 0 .06em 0 #2a1340, 0 0 .4em rgba(42, 19, 64, .8); opacity: 0; scale: .6; transition: opacity .25s, scale .35s cubic-bezier(.3, 1.6, .5, 1); }
.mv-banner small { font-family: var(--body); font-weight: 800; font-size: .32em; color: #fff; letter-spacing: .04em; text-shadow: 0 .1em .3em rgba(0, 0, 0, .6); }
.mv-banner.is-on { opacity: 1; scale: 1; }

.mv-intro-title { position: absolute; left: 50%; top: 13%; translate: -50% 0; text-align: center; opacity: 0; transition: opacity .5s; }
.mv-intro-title.is-on { opacity: 1; }
.mv-intro-title b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(20px, 6.4cqw, 78px); color: var(--moon); line-height: 1;
  text-shadow: 0 .07em 0 #2a1340, 0 0 .5em rgba(20, 10, 40, .8); }
.mv-intro-title span { font-weight: 800; font-size: clamp(9px, 1.7cqw, 20px); color: #fff; text-shadow: 0 .1em .4em rgba(0, 0, 0, .7); }

/* ---------- Captions ---------- */
.mv-caps { position: absolute; left: 4cqw; right: 4cqw; bottom: 3.2cqw; display: grid; justify-items: center; gap: .3em; text-align: center; pointer-events: none; }
.mv-caps[hidden] { display: none; }
.mv-line { max-width: 100%; padding: .22em .7em .28em; border-radius: .6em; background: rgba(12, 8, 26, .72);
  font-weight: 800; font-size: clamp(13px, 3.4cqw, 42px); line-height: 1.2; color: rgba(255, 255, 255, .6); text-wrap: balance;
  box-shadow: 0 .12em .5em rgba(0, 0, 0, .35); }
.mv-line:empty { display: none; }
.mv-line .w { transition: color .12s; }
.mv-line .w.is-sung { color: #fff; }
.mv-line .w.is-now { color: var(--moon); }
.mv-echo { justify-self: end; margin-right: 6%; padding: .18em .7em .24em; border-radius: .8em .8em .2em .8em; background: rgba(16, 60, 52, .86);
  font-weight: 800; font-style: italic; font-size: clamp(11px, 2.7cqw, 34px); line-height: 1.15; color: rgba(182, 255, 232, .55);
  rotate: -2deg; opacity: 0; translate: 0 .3em; transition: opacity .2s, translate .2s; box-shadow: 0 .12em .5em rgba(0, 0, 0, .35); }
.mv-echo:empty { display: none; }
.mv-echo.is-on { opacity: 1; translate: 0 0; }
.mv-echo .w.is-sung { color: #b6ffe8; }
.mv-echo .w.is-now { color: #fff; }
.mv-next { font-weight: 700; font-size: clamp(10px, 1.9cqw, 22px); color: rgba(255, 255, 255, .7); text-shadow: 0 .1em .3em rgba(0, 0, 0, .8); }
.mv-next:empty { display: none; }
.mv-tag { font-weight: 800; font-size: clamp(9px, 1.5cqw, 17px); color: var(--moon); text-transform: uppercase; letter-spacing: .14em;
  text-shadow: 0 .1em .3em rgba(0, 0, 0, .8); }
.mv-tag:empty { display: none; }

/* ---------- Title + end cards ---------- */
.mv-card { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.6cqw; text-align: center; padding: 4cqw;
  background: radial-gradient(80% 90% at 50% 40%, rgba(20, 12, 44, .35), rgba(8, 5, 18, .82)); pointer-events: auto; cursor: default; }
.mv-card[hidden] { display: none; }
.mv-card-kicker { font-weight: 800; font-size: clamp(10px, 1.8cqw, 20px); color: var(--mint); letter-spacing: .2em; text-transform: uppercase; }
.mv-card-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 8.4cqw, 104px); line-height: .95; color: var(--moon);
  text-shadow: 0 .06em 0 #3a1a52, 0 0 .45em rgba(255, 155, 61, .35); }
.mv-card-sub { margin: 0; font-weight: 700; font-size: clamp(11px, 2cqw, 22px); color: #efe7ff; max-width: 60cqw; }
.mv-play-big { display: inline-flex; align-items: center; gap: .55em; border: 0; cursor: pointer; border-radius: 999px; padding: .55em 1.4em .55em 1em;
  font-weight: 800; font-size: clamp(14px, 2.6cqw, 30px); color: #2a1a0a; background: var(--pumpkin); box-shadow: 0 .2em 0 #a2521a, 0 .5em 1.4em rgba(0, 0, 0, .45);
  transition: transform .15s; }
.mv-play-big:hover { transform: translateY(-2px); }
.mv-play-big:active { transform: translateY(2px); box-shadow: 0 .05em 0 #a2521a; }
.mv-play-big svg { width: 1.2em; height: 1.2em; }
.mv-card-note { font-size: clamp(9px, 1.4cqw, 15px); color: var(--muted); font-weight: 700; }
.mv-end .mv-card-title { font-size: clamp(22px, 6.6cqw, 84px); }
.mv-end-url { font-family: var(--display); font-size: clamp(16px, 4.4cqw, 54px); color: var(--mint); text-decoration: none;
  text-shadow: 0 .06em 0 #10302a; }
.mv-end-url:hover { text-decoration: underline; }
.mv-end-row { display: flex; gap: 1.4cqw; flex-wrap: wrap; justify-content: center; }
.mv-ghost-btn { border: 2px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 999px; cursor: pointer;
  padding: .45em 1.1em; font-weight: 800; font-size: clamp(11px, 1.8cqw, 20px); text-decoration: none; }
.mv-ghost-btn:hover { background: rgba(255, 255, 255, .14); }
.mv-end.is-fading { opacity: 0; }
.mv-end { transition: opacity .6s; }

/* ---------- Controls ---------- */
.mv-controls { display: grid; grid-template-columns: auto auto 1fr auto auto auto; align-items: center; gap: 6px 10px; padding: 8px 12px 10px;
  background: linear-gradient(180deg, #171030, #120c26); border-top: 1px solid var(--line); }
.mv-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.mv-btn:hover { background: rgba(255, 255, 255, .08); }
.mv-btn svg { width: 22px; height: 22px; fill: currentColor; }
.mv-btn[aria-pressed="false"] { color: var(--muted); }
.mv-btn[aria-pressed="false"] .cc-on { display: none; }
.mv-btn .pause-i, .is-playing .mv-btn .play-i { display: none; }
.is-playing .mv-btn .pause-i { display: block; }
.mv-time { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.mv-time b { color: var(--ink); font-weight: 800; }
.mv-track { position: relative; min-width: 0; height: 40px; display: flex; align-items: center; }
.mv-range { --p: 0%; width: 100%; height: 40px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; position: relative; z-index: 1; }
.mv-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--pumpkin) var(--p), #3a2f62 var(--p)); }
.mv-range::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--pumpkin) var(--p), #3a2f62 var(--p)); }
.mv-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -5px; border-radius: 50%; background: var(--moon); border: 3px solid #2a1a0a; }
.mv-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--moon); border: 3px solid #2a1a0a; }
.mv-marks { position: absolute; left: 9px; right: 9px; top: 0; bottom: 0; pointer-events: none; z-index: 2; }
.mv-mark { position: absolute; top: 13px; width: 3px; height: 14px; margin-left: -1.5px; border-radius: 2px; background: var(--moon); opacity: .85; }
.mv-mark.is-chorus { background: var(--mint); }
.mv-sections { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; padding: 2px 0 0; }
.mv-sec { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); border-radius: 999px; padding: 3px 10px;
  font-size: .78rem; font-weight: 800; cursor: pointer; }
.mv-sec:hover { color: var(--ink); border-color: var(--muted); }
.mv-sec.is-current { color: #2a1a0a; background: var(--moon); border-color: var(--moon); }
.mv-sec.is-chorus:not(.is-current) { color: var(--mint); }

.mv-notes { width: 100%; max-width: 1180px; color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mv-notes kbd { font: inherit; font-weight: 800; color: var(--ink); background: var(--panel2); border-radius: 6px; padding: 0 .4em; }
.mv-notes a { color: var(--mint); font-weight: 800; }

@media (max-width: 560px) {
  .mv-controls { grid-template-columns: auto auto 1fr auto auto; padding: 6px 6px 8px; gap: 4px 4px; }
  .mv-restart { display: none; }
  .mv-btn { width: 36px; height: 36px; }
  .mv-time { font-size: .74rem; }
  .mv-sec { font-size: .7rem; padding: 2px 8px; }
  .mv-player { border-radius: 12px; }
}
.is-render *, .is-render *::before, .is-render *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .mv-banner, .mv-chip, .mv-hud, .mv-intro-title, .mv-play-big, .mv-end { transition: opacity .3s; }
  .mv-banner { scale: 1; }
}
