/* ==========================================================================
   Northlightframe Flagship V4 · Cinema Hero + Framed Luxury 3D Theatre + Reels
   - Apple / Leica / Linear / Awwwards-SOTY Reduktion:
     Kein 3D-Müll hinter Textwänden, stattdessen:
     1) Vollbild-Kino-Hero (Omni 1.2 Flash / A14 Cycles) mit sauberem Negativraum
     2) Gerahmte 3D-Atelier-Bühne (echte Poly-Haven-CC0-Modelle + Studio-HDRI)
     3) Widescreen-Kino-Reel-Karten auf W01
   - 0 externe Hosts · 0 Cookies · No-JS & Reduced-Motion sicher
   ========================================================================== */

html.v4-cinema-only #sw-atmosphere,
html.v4-cinema-only #v3-world-canvas {
  display: none !important;
}

/* ---------- 1. Vollbild-Kino-Hero (W02, W03, W04) ---------- */
.v4-cinema-hero {
  position: relative;
  min-height: min(94svh, 920px);
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
  padding: clamp(110px, 13vh, 148px) 0 clamp(64px, 8vh, 96px);
  background: var(--sw-bg);
}

.v4-cinema-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.v4-cinema-media img.v4-cinema-poster,
.v4-cinema-media video.v4-cinema-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
  transform: scale(1.035) translate3d(var(--v4-px, 0px), var(--v4-py, 0px), 0);
  transition: opacity 480ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.v4-cinema-media video.v4-cinema-video {
  opacity: 0;
}

.v4-cinema-media video.v4-cinema-video.is-playing {
  opacity: 1;
}

html.is-still .v4-cinema-media video.v4-cinema-video {
  opacity: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .v4-cinema-media video.v4-cinema-video {
    opacity: 0 !important;
  }
  .v4-cinema-media img.v4-cinema-poster,
  .v4-cinema-media video.v4-cinema-video {
    transform: none !important;
  }
}

/* Gerichteter Editorial-Scrim: NUR linke Textzone ruhig abdunkeln/aufhellen, rechte 50% glasklar! */
.v4-cinema-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    96deg,
    color-mix(in srgb, var(--sw-bg) 94%, transparent) 0%,
    color-mix(in srgb, var(--sw-bg) 78%, transparent) 34%,
    color-mix(in srgb, var(--sw-bg) 28%, transparent) 54%,
    transparent 74%
  );
}

/* Sanfter oberer/unterer Naht-Übergang für Header & Folgesektion */
.v4-cinema-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sw-bg) 52%, transparent) 0%, transparent 18%),
    linear-gradient(0deg, var(--sw-bg) 0%, transparent 22%);
}

.v4-cinema-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - clamp(32px, 6vw, 96px)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}

.v4-cinema-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vh, 26px);
}

.v4-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sw-a1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.v4-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.v4-hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.55rem, 5.1vw, 4.85rem);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -0.032em;
  color: var(--sw-fg);
  text-wrap: balance;
}

.v4-hero-title .v4-dim {
  color: var(--sw-mute);
  font-weight: 500;
}

.v4-hero-lead {
  margin: 0;
  max-width: 50ch;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.62;
  color: color-mix(in srgb, var(--sw-fg) 84%, var(--sw-mute));
}

.v4-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.v4-proof-rail {
  margin-top: clamp(14px, 2vh, 24px);
  padding-top: 18px;
  border-top: 1px solid var(--sw-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--sw-mute);
}

.v4-proof-rail strong {
  color: var(--sw-fg);
  font-weight: 600;
}

/* ---------- 2. Randlose 3D-Atelier-Bühne (V6 · Frei im offenen Raum, 0 Kasten!) ---------- */
.v4-showcase-section {
  position: relative;
  padding: clamp(56px, 8vh, 108px) 0;
  background: var(--sw-bg);
  overflow: clip;
}

/* W04 Raum-Aura: gesamte Sektion atmet sanft im aktiven Lastmodus mit */
section[data-v6-aura] {
  position: relative;
  isolation: isolate;
  transition: background-color 560ms ease;
}

section[data-v6-aura]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

section[data-v6-aura="idle"]::before {
  opacity: 1;
  background: radial-gradient(
    ellipse 64% 56% at 34% 48%,
    rgba(142, 197, 232, 0.08) 0%,
    transparent 70%
  );
}

section[data-v6-aura="infer"]::before {
  opacity: 1;
  background: radial-gradient(
    ellipse 70% 60% at 34% 48%,
    rgba(229, 169, 78, 0.14) 0%,
    rgba(229, 169, 78, 0.04) 40%,
    transparent 72%
  );
}

section[data-v6-aura="guard"]::before {
  opacity: 1;
  background: radial-gradient(
    ellipse 70% 60% at 34% 48%,
    rgba(52, 211, 153, 0.14) 0%,
    rgba(52, 211, 153, 0.04) 40%,
    transparent 72%
  );
}

section[data-v6-aura] > * {
  position: relative;
  z-index: 1;
}

.v4-showcase-grid {
  width: min(1320px, calc(100% - clamp(32px, 6vw, 96px)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.v4-showcase-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.v4-showcase-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.024em;
  color: var(--sw-fg);
}

.v4-showcase-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sw-mute);
}

/* Randloser 3D-Raum: kein Kasten, kein Rahmen, kein Schatten, kein Radius */
main .v4-theatre-frame.v4-theatre-frame,
.v4-theatre-frame {
  position: relative;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
}

/* Extrem subtiler, vollständig randloser Lichtschein (läuft weich in transparent aus) */
.v4-theatre-frame::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 54% 48% at 50% 48%,
    color-mix(in srgb, var(--sw-a1, #d59b42) 10%, transparent) 0%,
    color-mix(in srgb, var(--sw-a2, #9bc4d8) 4%, transparent) 36%,
    transparent 68%
  );
  transition: opacity 420ms ease, background 480ms ease;
}

/* Helles Atelier-Licht (W02) — weich im offenen Papier atmend */
html[data-theme="light"] .v4-theatre-frame::before,
[data-world="W02"] .v4-theatre-frame::before {
  background: radial-gradient(
    ellipse 56% 50% at 50% 48%,
    rgba(213, 155, 66, 0.11) 0%,
    rgba(255, 252, 245, 0.22) 34%,
    transparent 68%
  );
}

/* W04 Lastmodus-Lichtschein ohne jede rechteckige Kante */
.v4-theatre-frame[data-v5-mode-state="idle"]::before {
  background: radial-gradient(
    ellipse 52% 46% at 50% 48%,
    rgba(142, 197, 232, 0.09) 0%,
    transparent 66%
  );
}

.v4-theatre-frame[data-v5-mode-state="inference"]::before {
  background: radial-gradient(
    ellipse 58% 52% at 50% 48%,
    rgba(229, 169, 78, 0.17) 0%,
    rgba(229, 169, 78, 0.05) 38%,
    transparent 68%
  );
}

.v4-theatre-frame[data-v5-mode-state="boundary"]::before {
  background: radial-gradient(
    ellipse 58% 52% at 50% 48%,
    rgba(52, 211, 153, 0.16) 0%,
    rgba(52, 211, 153, 0.05) 38%,
    transparent 68%
  );
}

main .v4-theatre-stage.v4-theatre-stage,
.v4-theatre-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(440px, 56vh, 620px);
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: grab;
  overflow: visible;
  isolation: isolate;
  touch-action: pan-y;
}

.v4-theatre-stage:active {
  cursor: grabbing;
}

.v4-theatre-stage.v5-ray-hover {
  cursor: pointer !important;
}

.v4-theatre-stage canvas.is-embedded {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Schwebender Raycast-Hover-Tooltip (.v5-ray-hint) */
.v5-ray-hint {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(290px, calc(100% - 28px));
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 12, 18, 0.86);
  color: #f4f7fb;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow:
    0 14px 32px -10px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.94);
  transition: opacity 150ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

html[data-theme="light"] .v5-ray-hint,
[data-world="W02"] .v5-ray-hint {
  background: rgba(24, 21, 17, 0.88);
  border-color: rgba(255, 244, 224, 0.22);
  color: #faf6ef;
}

.v5-ray-hint.is-visible {
  opacity: 1;
}

.v5-ray-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sw-a1, #d59b42);
  box-shadow: 0 0 10px var(--sw-a1, #d59b42);
  flex-shrink: 0;
}

.v5-ray-label {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v5-ray-sub {
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(232, 238, 246, 0.72);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v4-theatre-stage .v3-poster-fallback {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.v4-theatre-stage .v3-poster-fallback img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.94;
  mask-image: radial-gradient(ellipse 74% 72% at 50% 50%, #000 50%, transparent 96%);
  -webkit-mask-image: radial-gradient(ellipse 74% 72% at 50% 50%, #000 50%, transparent 96%);
}

html.v3-webgl-active:not(.is-still) .v4-theatre-stage .v3-poster-fallback {
  opacity: 0;
  pointer-events: none;
}

/* Federleichte, rahmenlose Steuerleiste unterhalb der offenen 3D-Szene */
main .v4-theatre-bar.v4-theatre-bar,
.v4-theatre-bar {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 14px 4px 2px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.055em;
  color: var(--sw-mute);
}

main .v4-theatre-frame .v5-rig-deck.v5-rig-deck {
  position: relative;
  z-index: 3;
  padding: 14px 4px 2px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

main .v4-theatre-frame .v5-rig-sliders-row {
  border-top: none;
  padding-top: 6px;
}

.v4-theatre-controls,
.v5-hud-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.v4-ctrl-pill,
.v5-ctrl-pill,
.v4-theatre-bar [data-v5-action],
.v4-theatre-bar [data-v5-door],
.v4-theatre-bar [data-v5-mode] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sw-fg) 18%, transparent);
  background: color-mix(in srgb, var(--sw-bg) 38%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--sw-fg);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 160ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 200ms ease;
}

.v4-ctrl-pill:hover,
.v4-ctrl-pill:focus-visible,
.v5-ctrl-pill:hover,
.v5-ctrl-pill:focus-visible,
.v4-theatre-bar [data-v5-action]:hover,
.v4-theatre-bar [data-v5-action]:focus-visible,
.v4-theatre-bar [data-v5-door]:hover,
.v4-theatre-bar [data-v5-door]:focus-visible,
.v4-theatre-bar [data-v5-mode]:hover,
.v4-theatre-bar [data-v5-mode]:focus-visible {
  border-color: var(--sw-a1);
  background: color-mix(in srgb, var(--sw-a1) 14%, transparent);
  outline: none;
}

.v4-ctrl-pill:active,
.v5-ctrl-pill:active,
.v4-theatre-bar [data-v5-action]:active,
.v4-theatre-bar [data-v5-door]:active,
.v4-theatre-bar [data-v5-mode]:active {
  transform: translateY(1px) scale(0.98);
}

.v4-ctrl-pill.is-active,
.v4-ctrl-pill[aria-pressed="true"],
.v5-ctrl-pill.is-active,
.v5-ctrl-pill[aria-pressed="true"],
.v4-theatre-bar [data-v5-action].is-active,
.v4-theatre-bar [data-v5-action][aria-pressed="true"],
.v4-theatre-bar [data-v5-door].is-active,
.v4-theatre-bar [data-v5-door][aria-pressed="true"],
.v4-theatre-bar [data-v5-mode].is-active,
.v4-theatre-bar [data-v5-mode][aria-pressed="true"] {
  border-color: var(--sw-a1);
  background: color-mix(in srgb, var(--sw-a1) 20%, transparent);
  color: var(--sw-fg);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sw-a1) 28%, transparent);
}

.v4-light-slider,
.v5-lid-slider {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sw-fg) 14%, transparent);
  background: color-mix(in srgb, var(--sw-bg) 30%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.v4-light-slider input[type="range"],
.v5-lid-slider input[type="range"],
.v4-theatre-bar input[type="range"][data-v5-lid] {
  width: 82px;
  accent-color: var(--sw-a1);
  cursor: pointer;
}

.v5-stage-telemetry,
.v4-theatre-bar [data-v3-telemetry],
.v4-theatre-bar [data-v5-telemetry] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: color-mix(in srgb, var(--sw-fg) 74%, var(--sw-mute));
}

.v4-theatre-frame[data-v5-mode-state="inference"] [data-v3-telemetry],
.v4-theatre-frame[data-v5-mode-state="inference"] [data-v5-telemetry] {
  color: #f3c16c;
}

.v4-theatre-frame[data-v5-mode-state="boundary"] [data-v3-telemetry],
.v4-theatre-frame[data-v5-mode-state="boundary"] [data-v5-telemetry] {
  color: #5eead4;
}

/* ---------- 2b. V7 Quiet Rail · Flüsterleise, komplett rahmenlose 3D-Typo-Zeile ---------- */
.v7-quiet-rail {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.75rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  color: inherit;
}

.v7-quiet-rail button {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.25rem 0;
  color: inherit;
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.08em;
  opacity: 0.48;
  cursor: pointer;
  transition: opacity 200ms ease, border-color 200ms ease;
}

.v7-quiet-rail button:hover {
  opacity: 0.85;
}

.v7-quiet-rail button:focus-visible {
  opacity: 1;
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.v7-quiet-rail button[aria-pressed="true"],
.v7-quiet-rail button.is-active {
  opacity: 1;
  border-bottom-color: currentColor;
}

.v7-quiet-rail .v7-quiet-meta,
.v7-quiet-rail [data-v3-telemetry] {
  margin-left: 0;
  padding: 0.25rem 0;
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: inherit;
  opacity: 0.36;
}

.v7-quiet-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  opacity: 0.64;
}

@media (prefers-reduced-motion: reduce) {
  .v7-quiet-rail button,
  .v5-ray-hint,
  .v4-ctrl-pill,
  .v5-ctrl-pill,
  .v4-theatre-frame,
  .v4-theatre-frame::before,
  section[data-v6-aura],
  section[data-v6-aura]::before {
    transition: none !important;
  }
}

/* ---------- 3. Widescreen Cinema Capability Reel auf W01 (/) ---------- */
.v4-reel-section {
  position: relative;
  padding: clamp(64px, 9vh, 120px) 0;
  background: var(--k1-bg, #0C0F13);
  border-top: 1px solid var(--k1-line, rgba(234, 239, 246, 0.14));
}

.v4-reel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vh, 44px);
}

.v4-reel-head h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--k1-ink, #EAEFF6);
}

.v4-reel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.v4-reel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(234, 239, 246, 0.14);
  background: #10141C;
  color: #EAEFF6;
  text-decoration: none;
  transition: transform 340ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, box-shadow 340ms ease;
}

.v4-reel-card:hover,
.v4-reel-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--reel-accent, #D59B42);
  box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.65);
}

.v4-reel-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #07090D;
}

.v4-reel-media img,
.v4-reel-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transition: transform 680ms cubic-bezier(0.16, 1, 0.3, 1), opacity 360ms ease;
}

.v4-reel-card:hover .v4-reel-media img,
.v4-reel-card:hover .v4-reel-media video {
  transform: scale(1.045);
}

.v4-reel-media video {
  opacity: 0;
}

.v4-reel-media video.is-playing {
  opacity: 1;
}

html.is-still .v4-reel-media video {
  opacity: 0 !important;
}

.v4-reel-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.v4-reel-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--reel-accent, #D59B42);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.v4-reel-body h3 {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: clamp(1.22rem, 1.5vw, 1.48rem);
  font-weight: 600;
  line-height: 1.18;
  color: #F4F7FB;
}

.v4-reel-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #A9B2BF;
}

.v4-reel-cta {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--reel-accent, #D59B42);
}

/* ---------- 4. Responsive Mobil (390×844 · 0 Überlauf) ---------- */
@media (max-width: 960px) {
  .v4-cinema-hero {
    min-height: auto;
    padding: 108px 0 48px;
    align-items: flex-end;
  }
  .v4-cinema-media img.v4-cinema-poster,
  .v4-cinema-media video.v4-cinema-video {
    object-position: 74% 38%;
  }
  .v4-cinema-scrim {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--sw-bg) 32%, transparent) 0%,
      color-mix(in srgb, var(--sw-bg) 72%, transparent) 44%,
      color-mix(in srgb, var(--sw-bg) 96%, transparent) 84%
    );
  }
  .v4-cinema-inner {
    grid-template-columns: 1fr;
    padding-top: 140px;
  }
  .v4-showcase-grid {
    grid-template-columns: 1fr;
  }
  main .v4-theatre-stage.v4-theatre-stage,
  .v4-theatre-stage {
    min-height: clamp(340px, 46vh, 440px);
  }
  main .v4-theatre-bar.v4-theatre-bar,
  .v4-theatre-bar,
  main .v4-theatre-frame .v5-rig-deck.v5-rig-deck {
    padding: 10px 2px 0;
    gap: 8px 10px;
  }
  .v7-quiet-rail {
    gap: 0.45rem 1.05rem;
    margin-top: 0.65rem;
  }
  .v5-stage-telemetry,
  .v4-theatre-bar [data-v3-telemetry],
  .v4-theatre-bar [data-v5-telemetry] {
    margin-left: 0;
    width: 100%;
    font-size: 10.5px;
  }
  .v5-ray-hint {
    font-size: 10.5px;
    padding: 6px 10px;
  }
  .v5-ray-sub {
    display: none;
  }
  .v4-reel-grid {
    grid-template-columns: 1fr;
  }
}
