/* ADEERA ENCORE! cinematic stage (MVP): the DOM broadcast layer (js/cine.js) and the HUD's broadcast
   variants (js/hud.js: title card, LIVE bug + timecode, REC caption), plus the results moments.
   Loads after style.css and cafe.css and only ever adds to them. Everything here is pointer-events: none
   or sits inside an existing element, and all of it is off when the CINEMATIC setting is off. */

/* ---------- The layer ---------- */

/* Between the world canvas and #app: bars, grain and vignette sit behind every HUD and menu control. */
.cine {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  overflow: hidden;
  pointer-events: none;
  --cine-a: var(--hot);
  --cine-b: var(--lav);
  /* The frame is 2.39:1 at most, and never more than 9% of the height per bar (cine.js also caps it at the
     LED screen's top edge, --cine-led). A full 2.39:1 on a 16:10 laptop would take 16.5% and bury the LED
     screen, which shows the song title and the count-in numerals. During the intro it is also capped at the key
     hints' row (--cine-keys, set by cine.js on a keyboard device). */
  --cine-bar: clamp(0px, calc((100% - 100vw / 2.39) / 2), min(9%, var(--cine-led, 9%), var(--cine-keys, 9%)));
  --cine-slim: clamp(46px, 7.5vh, 62px);                       /* the ending fairy's strip above the stage */
}

.cine.is-on { display: block; }
/* The results moments sit above the results UI (below the wipe and the toasts). */
.cine.over { z-index: 40; }

.cine-vig,
.cine-grain { display: none; position: absolute; }

.cine-vig {
  inset: 0;
  background: radial-gradient(ellipse 125% 100% at 50% 46%, transparent 50%, rgba(8, 3, 20, 0.34) 80%, rgba(8, 3, 20, 0.62) 100%);
  /* The shadow at the edge of the frame leans toward the album's second colour: the grade, cheaply (no blend mode). */
  background: radial-gradient(ellipse 125% 100% at 50% 46%, transparent 50%, color-mix(in srgb, var(--cine-b) 12%, rgba(8, 3, 20, 0.34)) 80%, color-mix(in srgb, var(--cine-b) 14%, rgba(8, 3, 20, 0.62)) 100%);
  opacity: 0.85;
  transition: opacity 0.7s;
}

.cine.fairy .cine-vig { opacity: 1; }

/* Grain: one baked tile, shifted in steps on a layer a little bigger than the screen (a transform, so the
   compositor does it and nothing repaints). */
.cine-grain {
  inset: -64px;
  background-size: 128px 128px;
  opacity: 0.055;
  animation: cine-grain 0.9s steps(1) infinite;
  will-change: transform;
}

@keyframes cine-grain {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-22px, 14px); }
  20% { transform: translate(17px, -26px); }
  30% { transform: translate(-31px, -9px); }
  40% { transform: translate(24px, 30px); }
  50% { transform: translate(-12px, 21px); }
  60% { transform: translate(29px, -17px); }
  70% { transform: translate(-27px, 27px); }
  80% { transform: translate(8px, -33px); }
  90% { transform: translate(-19px, -22px); }
}

/* Vignette and grain only where the world is the show (not the results: the win moment lifts this layer
   above the UI for a second, and a vignette would step in and out over the panels). */
body[data-screen="play"] .cine.is-on .cine-vig,
body[data-screen="pause"] .cine.is-on .cine-vig,
body[data-screen="fail"] .cine.is-on .cine-vig,
body[data-screen="play"] .cine.is-on .cine-grain,
body[data-screen="pause"] .cine.is-on .cine-grain,
body[data-screen="fail"] .cine.is-on .cine-grain { display: block; }

/* Slow phones (renderer quality 0-1) skip the grain and the vignette: both are full-screen layers blended over the
   canvas every frame, the one cost the renderer's quality governor cannot see. */
.cine.lite .cine-grain,
.cine.lite .cine-vig { display: none !important; }
.cine.rm .cine-grain { animation: none; }

/* ---------- Letterbox bars ---------- */

.cine-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--cine-bar);
  background: #05010d;
  will-change: transform;
  transition: transform 0.36s cubic-bezier(0.55, 0, 0.3, 1);
}

.cine-bar.top { top: 0; transform: translateY(-101%); }
.cine-bar.bot { bottom: 0; transform: translateY(101%); }

/* The bars' inner edge carries the album's colours. */
.cine-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cine-a) 18%, var(--cine-b) 82%, transparent);
  box-shadow: 0 0 14px var(--cine-a);
  opacity: 0.9;
}

.cine-bar.top::after { bottom: 0; }
.cine-bar.bot::after { top: 0; }

.cine[data-top="full"] .cine-bar.top { transform: none; transition-duration: 0.32s; transition-delay: 0.08s; transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
.cine[data-top="slim"] .cine-bar.top { transform: translateY(calc(var(--cine-slim) - 100%)); transition-duration: 0.4s; transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
.cine[data-bot="full"] .cine-bar.bot { transform: none; transition-duration: 0.32s; transition-delay: 0.08s; transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }

/* Bottom bar caption: "FANCAM SAVED", the win moment's verdict. */
.cine-cap {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 14px/1 var(--loud);
  letter-spacing: 0.16em;
  color: #fff;
  text-shadow: 0 0 14px var(--cine-a);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.25s 0.2s;
}

.cine.ended .cine-cap,
.cine.over .cine-cap { opacity: 1; }
.cine-cap b { font-weight: 400; }
.cine-cap:has(b:empty) { display: none; }

.cine-cap-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b5c;
  box-shadow: 0 0 10px #ff3b5c;
  animation: onair 1s steps(1) infinite;
}

/* Viewfinder corners, between the bars. They lock on with the shutter and stay for the ring-out. */
.cine-vf { position: absolute; inset: 0; opacity: 0; transition: opacity 0.2s 0.12s; }
.cine.ended .cine-vf { opacity: 1; }

.cine-vf i {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 0 solid rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 0 5px rgba(8, 3, 20, 0.7));
}

.cine-vf .tl { --vx: -1; --vy: -1; left: 22px; top: calc(var(--cine-bar) + 16px); border-width: 3px 0 0 3px; border-top-left-radius: 5px; }
.cine-vf .tr { --vx: 1; --vy: -1; right: 22px; top: calc(var(--cine-bar) + 16px); border-width: 3px 3px 0 0; border-top-right-radius: 5px; }
.cine-vf .bl { --vx: -1; --vy: 1; left: 22px; bottom: calc(var(--cine-bar) + 16px); border-width: 0 0 3px 3px; border-bottom-left-radius: 5px; }
.cine-vf .br { --vx: 1; --vy: 1; right: 22px; bottom: calc(var(--cine-bar) + 16px); border-width: 0 3px 3px 0; border-bottom-right-radius: 5px; }
.cine.ended .cine-vf i { animation: vf-lock 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) both; }

@keyframes vf-lock { from { transform: translate(calc(var(--vx) * 22px), calc(var(--vy) * 22px)); } to { transform: none; } }

/* The shutter. Opacity only. */
.cine-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
}

.cine.rf .cine-flash,
.cine.rm .cine-flash { background: #ffe9d4; }

/* A screen change hides the jump: everything lands at once. */
.cine.snap *,
.cine.snap { transition: none !important; }

/* Reduced motion: the bars do not slide, they just appear. */
.cine.rm .cine-bar.top,
.cine.rm .cine-bar.bot { transition: none !important; opacity: 0; }
.cine.rm[data-top="full"] .cine-bar.top,
.cine.rm[data-top="slim"] .cine-bar.top,
.cine.rm[data-bot="full"] .cine-bar.bot { opacity: 1; }

@media (max-width: 480px) {
  .cine-vf i { width: 26px; height: 26px; }
  .cine-vf .tl, .cine-vf .bl { left: 16px; }
  .cine-vf .tr, .cine-vf .br { right: 16px; }
}

/* ---------- HUD: the LIVE bug (timecode) and the REC caption ---------- */

/* The bug replaces "NAP CHART LIVE · EP" in the HUD's own LIVE row, so it never doubles up. */
.hud-bug { display: none; align-items: center; gap: 7px; min-width: 0; }
.hud.is-cine .hud-bug { display: inline-flex; }
.hud.is-cine .hud-show,
.hud.is-cine .hud-ep { display: none; }

.hud-bug .bug-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-soft);
  letter-spacing: 0.08em;
}

.hud-bug .bug-tc {
  flex: none;
  font: 12px/1 var(--loud);
  letter-spacing: 0.06em;
  color: var(--lav);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Ending fairy: REC instead of LIVE, the caption big and wiped in. */
.hud.rec .hud-live { color: #ff6f8c; }
.hud.rec .hud-live .dot { background: #ff3b5c; box-shadow: 0 0 10px #ff3b5c; animation: onair 0.8s steps(1) infinite; }
.hud.rec .bug-name { color: #fff; font: 13px/1 var(--loud); letter-spacing: 0.12em; text-shadow: 0 0 12px var(--hot); animation: bug-rec 0.5s steps(14, end) both; }
.hud.rec .bug-tc { color: #ffd0da; }

@keyframes bug-rec { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }

@media (min-width: 900px) and (min-height: 600px) {
  .hud.rec .bug-name { font-size: 15px; }
  .hud-bug .bug-tc { font-size: 13px; }
}

/* The difficulty chip rides in the mods row only on phones in CINEMATIC (see below). */
.hud-diff-mods { display: none; }
.hud-mods .hud-diff-mods { font-size: 11px; padding: 3px 7px 4px; }

@media (max-width: 480px) {
  /* Phones: LIVE + MM:SS:FF; the caption takes the whole row while it is up. */
  .hud.is-cine .bug-name { display: none; }
  .hud.is-cine .hud-diff-live { display: none; }
  .hud.is-cine .hud-diff-mods { display: inline-block; align-self: center; }
  .hud-bug .bug-tc .hh { display: none; }
  .hud.rec .bug-name { display: inline; font-size: 12px; }
  .hud.rec .bug-kr,
  .hud.rec .bug-tc { display: none; }
}

/* ---------- HUD: the stage intro title card (the lower third + the TAKE slate, folded) ---------- */

.ht-card { display: none; }

.hud.is-cine .hud-third-main,
.hud.is-cine .hud-third-sub,
.hud.is-cine .hud-slate { display: none; }

.hud.is-cine .ht-card { display: block; }

.hud.is-cine .hud-third {
  gap: 0;
  width: min(94vw, 400px);
  transform: none;
  transition: none;
  filter: drop-shadow(0 8px 18px rgba(8, 3, 20, 0.55));
}

.ht-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 30px 12px calc(var(--sl) + 4px);
  color: #fff;
  /* Night violet, with the album's first colour glowing out of the stripe side (the second declaration needs
     color-mix; older browsers keep the plain night violet). */
  background: linear-gradient(98deg, rgba(13, 5, 32, 0.96), rgba(36, 14, 70, 0.92));
  background:
    radial-gradient(120% 150% at 0% 50%, color-mix(in srgb, var(--ht-a, #ff4fa3) 24%, transparent), transparent 62%),
    linear-gradient(98deg, rgba(13, 5, 32, 0.96), rgba(36, 14, 70, 0.92));
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}

/* One soft streak of light across the card once it has landed. */
.ht-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}

.hud-third.on .ht-card::after { animation: ht-shine 0.7s ease-out 0.42s both; }
@keyframes ht-shine { to { transform: translateX(130%); } }

/* The album's two colours as a stripe down the screen edge. */
.ht-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: linear-gradient(180deg, var(--ht-a, var(--hot)), var(--ht-b, var(--lav)));
}

/* The album-colour wipe: a block sweeps across, the card appears behind it at the midpoint. */
.ht-wipe {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(95deg, var(--ht-a, var(--hot)), var(--ht-b, var(--lav)));
  transform: translateX(-104%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%); /* a slanted leading edge, like the card */
}

.ht-body { position: relative; opacity: 0; }

.hud-third.on .ht-wipe { animation: ht-wipe 0.4s cubic-bezier(0.65, 0, 0.25, 1) both; }
.hud-third.on .ht-body { animation: ht-show 0.4s steps(1, end) both; }
.hud-third.out .ht-wipe { animation: ht-wipe 0.32s cubic-bezier(0.65, 0, 0.25, 1) both; }
.hud-third.out .ht-body { animation: ht-hide 0.32s steps(1, end) both; }

@keyframes ht-wipe { 0% { transform: translateX(-104%); } 50% { transform: translateX(0); } 100% { transform: translateX(104%); } }
@keyframes ht-show { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes ht-hide { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.ht-brand {
  margin: 0 0 4px;
  font: 11px/1.25 var(--loud);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ht-a, var(--hot));
}

.ht-brand b { font-weight: 400; color: #fff; }
.ht-kr { margin-left: 6px; font: 13px/1 var(--cute); letter-spacing: 0; color: #fff; opacity: 0.92; text-transform: none; }

.ht-title {
  margin: 0;
  font: clamp(20px, 5.4vw, 26px)/1.08 var(--loud);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 0 rgba(22, 11, 46, 0.65);
  text-shadow: 0 0 20px color-mix(in srgb, var(--ht-a, #ff4fa3) 50%, transparent), 0 2px 0 rgba(22, 11, 46, 0.65);
  text-wrap: balance;
}

.ht-row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 6px; margin-top: 8px; }
.ht-row .diff-tag { font-size: 11px; padding: 3px 7px 4px; }
.ht-row .chip { height: 19px; font-size: 10px; padding: 0 8px; }
.ht-sub { font-size: 12px; color: var(--text-soft); white-space: nowrap; }

/* The clapperboard, now a chip on the card instead of a second sign. */
.ht-take {
  margin-left: auto;
  padding: 7px 8px 3px;
  font: 10px/1 var(--loud);
  letter-spacing: 0.08em;
  white-space: nowrap;
  background: repeating-linear-gradient(-45deg, #222 0 5px, #f6efff 5px 10px) top / 100% 4px no-repeat, rgba(22, 11, 46, 0.9);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}

/* Portrait phones: the card sits low on the runway, where the first note only arrives after the card's exit
   wipe has finished (the count-in "1" starts it; the note reaches this height about 0.3 s later). */
@media (max-width: 899px) and (orientation: portrait) {
  .hud.is-cine .hud-third { top: 59%; }
}

/* Short portrait phones (SE, 320 x 640 and the like): the card is taller there (long names wrap), so it sits
   higher to keep clear of the receptors and under the count-in numeral. */
@media (max-width: 899px) and (orientation: portrait) and (max-height: 720px) {
  .hud.is-cine .hud-third { top: 53%; }
}

/* Landscape: keep the card off the runway, which is narrow and centred. */
@media (orientation: landscape) {
  .hud.is-cine .hud-third { width: min(40vw, 400px); }
}

/* Phones: a lower third, not a billboard. One title line, the chips, the clapperboard; no album subtitle. */
@media (max-width: 480px) {
  .ht-card { padding: 8px 26px 10px calc(var(--sl) + 2px); }
  /* One line for most titles; a long one ("throwback lightstick (2010 ver.)") gets a second rather than an ellipsis. */
  .ht-title { font-size: clamp(18px, 5vw, 21px); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .ht-row { margin-top: 6px; }
  .ht-sub { display: none; }
}

/* ---------- Results: the FANCAM polaroid ---------- */

.fancam {
  --fc-w: 70px;
  position: absolute;
  z-index: 3;
  width: var(--fc-w);
  margin: 0;
  padding: calc(var(--fc-w) * 0.055) calc(var(--fc-w) * 0.055) calc(var(--fc-w) * 0.215);
  background: linear-gradient(168deg, #fffdf8, #f1eadb);
  border-radius: 2px;
  rotate: 5deg;
  box-shadow: 0 8px 18px rgba(6, 2, 16, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

/* Where the print is pinned (every size keeps it clear of the score, the stamp and the chips):
   - phones, portrait: it hangs off the hero card's top-right corner, in a band that ui.js reserves above the
     card (.has-fancam) from the first frame, so nothing jumps when it lands;
   - tablets, portrait: inside the card's top-right, the stamp row making room for it;
   - desktop: it hangs off the same corner into the free space under the header (cine.js fits its width to
     the room there is, so it never runs off the top);
   - landscape phones: like the portrait phones, with the band above both columns. */
.fancam.is-docked { --fc-w: 54px; right: 10px; top: calc(6px - var(--fc-w) * 1.27); }
.fancam.is-flier { z-index: 7; rotate: none; }
@media (max-width: 599px) and (orientation: portrait) { .has-fancam .res-hero { margin-top: 56px; } }

.fc-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #150a2a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28), inset 0 2px 7px rgba(0, 0, 0, 0.45);
}

.fc-photo canvas { display: block; width: 100%; height: 100%; }

/* The photo develops on the way down: milky and teal at first, true colour at the end. */
.fc-dev {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #d6efe8, #f7e4ee 60%, #fff3da);
  animation: fc-develop 1.5s ease-in 0.2s both;
}

@keyframes fc-develop { from { opacity: 0.94; } to { opacity: 0; } }

.fc-tape {
  position: absolute;
  top: calc(var(--fc-w) * -0.075);
  left: 50%;
  width: 40%;
  height: calc(var(--fc-w) * 0.13);
  margin-left: -20%;
  background: rgba(255, 224, 102, 0.78);
  transform: rotate(-3deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
}

.fancam figcaption {
  position: absolute;
  left: 6.5%;
  right: 6.5%;
  bottom: calc(var(--fc-w) * 0.03);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: calc(var(--fc-w) * 0.03);
  line-height: 1.1;
  color: #3a2658;
}

.fancam figcaption b { grid-area: 1 / 1; font: calc(var(--fc-w) * 0.07)/1.1 var(--loud); letter-spacing: 0.12em; color: #2a0f3d; }
.fancam figcaption time { grid-area: 1 / 2; justify-self: end; font: calc(var(--fc-w) * 0.056)/1.1 var(--loud); letter-spacing: 0.06em; color: #e8751f; white-space: nowrap; }
.fancam figcaption .fc-song { grid-area: 2 / 1 / 3 / -1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: calc(var(--fc-w) * 0.06)/1.25 var(--cute); color: #5b4a78; }

/* The little pinned one is just a sticker: the song and date are on the big drop. */
.fancam.is-docked .fc-song,
.fancam.is-docked time { display: none; }

/* Once it has landed, the sticker is a button: tap it for the big view. */
.fancam.is-live { pointer-events: auto; cursor: zoom-in; }
.fancam.is-live:focus-visible { outline: 3px solid var(--butter); outline-offset: 4px; }

/* The big view: a dim over the whole results screen with the print in the middle. It lives on the body, above
   the toasts (z-index 60) that the unlocks raise on this screen. */
.fc-view {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(8, 3, 20, 0.82);
  cursor: zoom-out;
}

.fc-view .fancam { position: relative; rotate: -2.5deg; pointer-events: none; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.fc-view .fancam:focus { outline: none; }
.fc-view .fc-dev { animation: none; opacity: 0; }


/* The grade lands: the win moment's ring runs on top of the slam, which keeps its own animation. */
.res-grade.land::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 23px;
  box-shadow: 0 0 0 3px #fff, 0 0 30px var(--gglow, #fff);
  animation: land-ring 0.55s ease-out 0.22s both;
  pointer-events: none;
}

@keyframes land-ring { from { opacity: 0.95; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }

/* Tablets (portrait): a wide hero card with room to spare; the stamp slides left of the print. */
@media (min-width: 600px) and (max-width: 899px) and (orientation: portrait) {
  .fancam.is-docked { --fc-w: 96px; right: 14px; top: 10px; }
  .res-hero:has(> .fancam) .res-score-top { padding-right: 112px; }
}

/* Desktop: the print hangs from the hero card's top edge into the space under the header (its width follows
   the window's height, so it fits on a short window too). */
@media (min-width: 900px) and (min-height: 600px) {
  /* The width is fitted by cine.js to the room above the hero card (see fitSticker); this is the starting
     guess: the hero card's top edge sits at about half the window's height minus 230px. */
  .fancam.is-docked { --fc-w: clamp(56px, calc(36vh - 175px), 118px); right: 14px; top: calc(14px - var(--fc-w) * 1.27); }
  .fancam.is-docked .fc-song,
  .fancam.is-docked time { display: block; }
  .res-grade.land::after { border-radius: 33px; }
}

/* Landscape phones: a band above both columns holds the print; it hangs off the hero's top-right corner. */
@media (max-height: 500px) and (orientation: landscape) {
  .has-fancam .res-grid { padding-top: 54px; }
  .fancam.is-docked { --fc-w: 46px; right: 8px; top: calc(6px - var(--fc-w) * 1.27); }
}

/* ---------- MVP preview tag (dev Worker and localhost only; body.mvp is set by main.js) ---------- */

body.mvp .ticker::after {
  content: "MVP PREVIEW";
  position: absolute;
  z-index: 2;
  right: 0;
  top: 0;
  height: 34px;
  padding: 0 var(--sr) 0 20px;
  display: flex;
  align-items: center;
  font: 12px/1 var(--loud);
  letter-spacing: 0.12em;
  color: var(--butter);
  background: var(--night);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}

body.mvp .credits::after { content: " · MVP PREVIEW"; letter-spacing: 0.1em; color: var(--butter); }

/* Reduce flashing: the REC and caption dots hold still, like the LIVE dot does. */
html.reduce-flash .hud.rec .hud-live .dot,
html.reduce-flash .cine-cap-dot { animation: none; }

/* Print the layer away: it is stage dressing, not content. */
@media print { .cine { display: none !important; } }
