/*
 * Cinematic shell (v2). The rendered room is the only light source; the chrome
 * recedes like a darkened gallery so window light and materials carry the page.
 * Scoped to body.cinema so it layers over the preserved component styles.
 */
.cinema {
  color-scheme: dark;
  --ink-0: oklch(0.155 0.008 70);
  --ink-1: oklch(0.2 0.009 70);
  --glass: oklch(0.19 0.009 70 / 0.74);
  --glass-strong: oklch(0.17 0.009 70 / 0.9);
  --hairline: oklch(1 0 0 / 0.11);
  --hairline-strong: oklch(1 0 0 / 0.2);
  --text: oklch(0.955 0.012 85);
  --text-muted: oklch(0.8 0.016 85);
  --text-faint: oklch(0.7 0.016 85);
  --gold: oklch(0.84 0.085 80);
  --gold-soft: oklch(0.84 0.085 80 / 0.16);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: 28px;
  --control: 44px;
  --row-footer: 46px;
  --row-timeline: 64px;
  --row-controls: 52px;
  --z-scrim: 1;
  --z-overlay: 3;
  --z-chrome: 20;
  --z-header: 30;
  background: var(--ink-0);
  color: var(--text);
  height: 100svh;
  overflow: hidden;
}

/* Layout: the room fills the screen, everything else floats over it. */
.cinema main,
.cinema .site-header,
.cinema footer {
  width: auto;
  max-width: none;
  margin: 0;
}
.cinema .experience {
  position: fixed;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: var(--ink-0);
}
.cinema .workspace,
.cinema .workspace:has(#explore-panel[open]) {
  display: block;
  height: 100svh;
  border: 0;
}
.cinema .room-stage {
  height: 100%;
  background: radial-gradient(
    120% 90% at 50% 40%,
    oklch(0.22 0.01 70),
    var(--ink-0)
  );
}
.cinema #room {
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
}
.cinema .room-ready #room {
  opacity: 1;
}
/* Legibility scrims, top and bottom, never over the middle of the room. */
.cinema .room-stage::before,
.cinema .room-stage::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
  z-index: var(--z-scrim);
}
.cinema .room-stage::before {
  top: 0;
  height: 28%;
  background: linear-gradient(
    to bottom,
    oklch(0.12 0.008 70 / 0.58),
    oklch(0.12 0.008 70 / 0.18) 55%,
    transparent
  );
}
.cinema .room-stage::after {
  bottom: 0;
  height: 30%;
  background: linear-gradient(
    to top,
    oklch(0.12 0.008 70 / 0.8),
    oklch(0.12 0.008 70 / 0.3) 50%,
    transparent
  );
}

/* Header */
.cinema .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  min-height: 60px;
  padding: 10px var(--gutter);
  pointer-events: none;
}
.cinema .site-header > * {
  pointer-events: auto;
}
.cinema .wordmark {
  color: var(--text);
  font-size: 18px;
}
.cinema .wordmark span {
  color: var(--text-muted);
}
.cinema .quiet-button,
.cinema .film-link {
  color: var(--text-muted);
  background: transparent;
  border-color: transparent;
  font-size: 13px;
  min-height: var(--control);
}
.cinema .film-link {
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  padding-inline: 14px;
  border-radius: 999px;
  transition:
    background 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}
.cinema .quiet-button:hover {
  color: var(--text);
}
/* How it was made is the page's primary action in the header. */
.cinema #making-open {
  gap: 8px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-0);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 26px oklch(0.84 0.085 80 / 0.28);
  transition:
    background 160ms var(--ease-out),
    transform 120ms var(--ease-out);
}
.cinema #making-open .icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.cinema #making-open:hover {
  background: oklch(0.88 0.08 80);
  color: var(--ink-0);
}
.cinema #making-open:active {
  transform: scale(0.97);
}
.cinema .header-actions {
  gap: 10px;
}
.cinema .film-link:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}
.cinema .film-link span {
  color: var(--gold);
  font-size: 10px;
}

/* Title: quiet, above the editorial year. */
.cinema .introduction {
  position: fixed;
  top: 64px;
  left: var(--gutter);
  z-index: var(--z-chrome);
  padding: 0;
  pointer-events: none;
}
.cinema .introduction h1 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.cinema .introduction p {
  display: none;
}

/* The era, set like a film title card. */
@keyframes cinema-title {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
  }
}
.cinema .date-block.arriving > * {
  animation: cinema-title 700ms var(--ease-out) both;
}
.cinema .date-block.arriving > :nth-child(2) {
  animation-delay: 60ms;
}
.cinema .date-block.arriving > :nth-child(3) {
  animation-delay: 110ms;
}
.cinema .date-block.arriving > :nth-child(4) {
  animation-delay: 160ms;
}
.cinema .date-block {
  top: 96px;
  left: var(--gutter);
  z-index: var(--z-overlay);
  padding: 0;
  gap: 6px;
  background: none;
  border-radius: 0;
  color: var(--text);
  text-shadow: 0 2px 24px oklch(0.1 0.01 70 / 0.65);
  max-width: min(420px, 42vw);
}
.cinema .date-block strong {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(64px, 7.4vw, 108px);
  line-height: 0.86;
  letter-spacing: -0.015em;
  font-variant-numeric: lining-nums tabular-nums;
}
.cinema .date-block span {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.cinema #era-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 34ch;
  text-wrap: pretty;
}

/* Guided visit launcher: a quiet pill under the header. */
.cinema .tour-start {
  top: 72px;
  right: var(--gutter);
  z-index: var(--z-overlay);
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 18px 8px 12px;
  box-shadow: none;
  backdrop-filter: blur(12px);
}
.cinema .tour-start svg {
  fill: var(--gold);
  stroke: none;
}
.cinema .tour-start small {
  color: var(--text-muted);
}
.cinema .tour-start:hover {
  border-color: var(--hairline-strong);
  background: var(--glass-strong);
}

/*
 * Tool rail: every room tool in one slim vertical column on the right, icon
 * only, named by tooltip. The bottom of the screen belongs to time.
 */
.cinema .viewer-toolbar {
  position: fixed;
  right: var(--gutter);
  top: 50%;
  translate: 0 -50%;
  z-index: var(--z-chrome);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 0;
  padding: 6px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
}
.cinema .discovery-actions,
.cinema .utility-actions,
.cinema .view-controls {
  display: contents;
}
.cinema .view-controls .view-step {
  display: none;
}
/* A hairline separates the viewpoint from the other tool groups. */
.cinema .view-picker {
  padding-block: 5px;
  border-block: 1px solid var(--hairline);
}
.cinema .viewer-toolbar button,
.cinema .viewer-toolbar summary {
  position: relative;
  width: var(--control);
  min-width: 0;
  height: var(--control);
  min-height: var(--control);
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--text);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: none;
  transition:
    background 160ms var(--ease-out),
    color 160ms var(--ease-out),
    transform 120ms var(--ease-out);
}
.cinema .viewer-toolbar button:hover,
.cinema .viewer-toolbar summary:hover {
  background: oklch(1 0 0 / 0.08);
}
.cinema .viewer-toolbar button:active,
.cinema .viewer-toolbar summary:active {
  transform: scale(0.94);
}
.cinema .viewer-toolbar button[aria-expanded='true'],
.cinema .viewer-toolbar button[aria-pressed='true'],
.cinema .viewer-toolbar .menu[open] > summary {
  background: var(--gold-soft);
  color: var(--gold);
}
.cinema .viewer-toolbar .icon {
  width: 20px;
  height: 20px;
}
/* Labels stay available to assistive technology, not on screen. */
.cinema .viewer-toolbar .desktop-label,
.cinema .viewer-toolbar .mobile-only,
.cinema .view-picker .view-caption,
.cinema .view-picker #view-label,
.cinema #share > span,
.cinema #save > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.cinema .view-picker summary > .icon:not(.view-icon) {
  display: none;
}
/* Legacy grid and margins would push icons off the rail's centre line. */
.cinema .viewer-toolbar summary,
.cinema .viewer-toolbar button {
  grid-template-columns: none;
  grid-template-rows: none;
  margin: 0;
  gap: 0;
}
.cinema .view-picker summary .view-icon,
.cinema .viewer-toolbar .icon {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}
.cinema #fullscreen .icon {
  width: 20px;
  height: 20px;
}
.cinema .viewer-toolbar .count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 18px;
  background: var(--gold);
  color: var(--ink-0);
  border-radius: 999px;
}
.cinema .viewer-toolbar #compare-toggle {
  min-width: 0;
  width: var(--control);
  font-size: 0;
  border: 0;
  color: var(--text);
}
.cinema #compare-toggle[aria-pressed='true'] {
  background: var(--gold);
  color: var(--ink-0);
}

/* Tooltips name each tool, to the left of the rail. */
.cinema .viewer-toolbar [data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  translate: 4px -50%;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--glass-strong);
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 140ms var(--ease-out),
    translate 140ms var(--ease-out);
}
.cinema .viewer-toolbar [data-tip]:hover::after,
.cinema .viewer-toolbar [data-tip]:focus-visible::after {
  opacity: 1;
  translate: 0 -50%;
}
.cinema .viewer-toolbar .menu[open] > [data-tip]::after {
  opacity: 0;
}

/* Menu entries inside rail popovers are rows, not rail buttons. */
.cinema .viewer-toolbar .menu-body button {
  width: 100%;
  height: auto;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13px;
  text-align: left;
  white-space: normal;
}
.cinema .viewer-toolbar .menu-body button:active {
  transform: none;
}
.cinema .viewer-toolbar .view-options {
  width: 252px;
}

/* Rail popovers open beside it. */
.cinema .viewer-toolbar .menu-body {
  top: 50%;
  bottom: auto;
  left: auto;
  right: calc(100% + 18px);
  translate: 0 -50%;
  transform-origin: right center;
  max-height: calc(100svh - 180px);
  overflow: auto;
}
.cinema .view-reset {
  border-top: 1px solid var(--hairline) !important;
  border-radius: 0 0 9px 9px !important;
  margin-top: 4px;
}

/* The era film sits in the title card, where it has context. */
.cinema .film-inline {
  margin-top: 12px;
  align-self: flex-start;
  pointer-events: auto;
  min-height: 36px;
  padding: 0 14px 0 8px;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  text-shadow: none;
  backdrop-filter: blur(12px);
}
.cinema .film-inline:hover {
  background: var(--glass-strong);
  border-color: var(--gold);
}
.cinema .film-inline .film-play {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink-0);
  font-size: 8px;
  padding-left: 2px;
}
.cinema .date-block #room-films-label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* Menus and popovers */
.cinema .menu-body {
  background: var(--glass-strong);
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  box-shadow: 0 18px 50px oklch(0.05 0 0 / 0.5);
  backdrop-filter: blur(16px);
  transform-origin: bottom center;
  animation: cinema-pop 180ms var(--ease-out);
}
.cinema .menu-body button {
  color: var(--text);
  background: transparent;
  border-radius: 9px;
}
.cinema .menu-body button:hover {
  background: oklch(1 0 0 / 0.07);
}
.cinema .menu-title,
.cinema .view-options button small {
  color: var(--text-muted);
}
.cinema .settings-menu #restore {
  border-top-color: var(--hairline);
}
@keyframes cinema-pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(4px);
  }
}

/* The time ribbon */
.cinema .time-travel {
  position: fixed;
  left: 50%;
  bottom: calc(var(--row-footer) + var(--ribbon-lift));
  transform: translateX(-50%);
  z-index: var(--z-chrome);
  width: min(960px, calc(100% - 2 * var(--gutter)));
  padding: 0;
}
.cinema .timeline-row {
  display: block;
}
/* Arrow keys and the years themselves travel; the arrow buttons retire. */
.cinema #era-previous,
.cinema #era-next {
  display: none;
}
.cinema .timeline-row > button {
  width: var(--control);
  margin: 0;
  color: var(--text-muted);
  background: transparent;
  border-color: transparent;
  border-radius: 999px;
}
.cinema .timeline-row > button:hover {
  color: var(--text);
  background: oklch(1 0 0 / 0.06);
}
.cinema .timeline-track {
  position: relative;
  --era-index: 0;
}
.cinema .timeline-track::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--hairline-strong) 8%,
    var(--hairline-strong) 92%,
    transparent
  );
}
.cinema #timeline-playhead {
  position: absolute;
  top: -1px;
  left: 0;
  width: calc(100% / 6);
  height: 3px;
  transform: translateX(calc(var(--era-index) * 100%));
  transition: transform 700ms var(--ease-out);
  pointer-events: none;
}
.cinema #timeline-playhead::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 44px;
  height: 3px;
  translate: -50% 0;
  border-radius: 3px;
  background: var(--gold);
  box-shadow: 0 0 16px oklch(0.84 0.085 80 / 0.7);
}
.cinema .timeline-track {
  touch-action: pan-y;
  cursor: ew-resize;
}
.cinema .timeline-track.scrubbing #timeline-playhead {
  transition-duration: 120ms;
}
.cinema .timeline-track.scrubbing #timeline-playhead::after {
  width: 64px;
  box-shadow: 0 0 26px oklch(0.84 0.085 80 / 0.95);
}
.cinema #timeline {
  gap: 0;
}
.cinema #timeline button {
  cursor: pointer;
}
.cinema #timeline button {
  min-height: var(--row-timeline);
  gap: 3px;
  padding: 12px 4px 8px;
  color: var(--text-muted);
  background: transparent;
  border-radius: 0;
  transition: color 180ms var(--ease-out);
}
.cinema #timeline button::before {
  top: 0;
  left: 50%;
  right: auto;
  width: 1px;
  height: 7px;
  background: var(--hairline-strong);
  transition: height 180ms var(--ease-out);
}
.cinema #timeline button:hover {
  color: var(--text);
}
.cinema #timeline button:hover::before {
  height: 11px;
  background: var(--text-muted);
}
.cinema #timeline button[aria-pressed='true'] {
  color: var(--text);
  background: transparent;
}
.cinema #timeline button[aria-pressed='true']::before {
  height: 0;
}
.cinema #timeline .timeline-year {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
}
.cinema #timeline button small {
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.01em;
}
.cinema #timeline button[aria-pressed='true'] small {
  color: var(--gold);
}

/* The era caption lives in the title card in this shell. */
.cinema #active-era-caption {
  display: none;
}

/* Footer: one quiet line along the bottom edge. */
.cinema footer {
  position: fixed;
  inset: auto 0 0;
  z-index: var(--z-chrome);
  min-height: var(--row-footer);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  font-size: 12px;
  color: var(--text-faint);
  background: transparent;
  border: 0;
}
.cinema footer a {
  color: var(--text-muted);
}
.cinema footer a:hover {
  color: var(--text);
}
.cinema footer .footer-note {
  display: flex;
  gap: 10px;
  align-items: center;
}
/* The shared runtime footer adopts the gallery palette through its tokens. */
.cinema {
  --exploration-footer-bg: transparent;
  --exploration-footer-border: transparent;
  --exploration-footer-ink: var(--text-muted);
}
.cinema footer [data-exploration-controls] {
  margin-left: auto;
  padding: 0;
  gap: 0 16px;
  flex-wrap: nowrap;
}
.cinema footer [data-exploration-controls] .scenario-exploration-controls {
  gap: 16px;
  padding: 0;
}
.cinema footer [data-exploration-controls] a,
.cinema footer [data-exploration-controls] button {
  min-height: 32px;
  color: var(--text-muted);
  white-space: nowrap;
}
.cinema footer [data-exploration-tools] {
  display: flex;
  gap: 14px;
}
.cinema footer a,
.cinema footer button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Gesture hint: one quiet line above the ribbon, retired after the first drag. */
.cinema .orbit-hint {
  left: 50%;
  right: auto;
  bottom: calc(
    var(--row-footer) + var(--ribbon-lift) + var(--row-timeline) + 14px
  );
  transform: translateX(-50%);
  z-index: var(--z-overlay);
  padding: 0;
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 1px 12px oklch(0.1 0.01 70 / 0.8);
  pointer-events: none;
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}
.cinema .orbit-hint span {
  margin-inline: 4px;
}
.cinema .explored .orbit-hint {
  opacity: 0;
  transform: translate(-50%, 6px);
}
@media (hover: none) {
  .cinema .hint-keys {
    display: none;
  }
}

/* Keyboard shortcuts card */
.cinema .shortcuts {
  position: absolute;
  left: 50%;
  bottom: calc(
    var(--row-footer) + var(--ribbon-lift) + var(--row-timeline) + 48px
  );
  translate: -50% 0;
  z-index: var(--z-chrome);
  width: min(380px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--glass-strong);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(16px);
  animation: cinema-pop 200ms var(--ease-out);
}
.cinema .shortcuts-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.cinema .shortcuts dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0;
  font-size: 13px;
}
.cinema .shortcuts dt {
  color: var(--text);
  white-space: nowrap;
}
.cinema .shortcuts dd {
  margin: 0;
  color: var(--text-muted);
}
.cinema kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 6px;
  border: 1px solid var(--hairline-strong);
  background: oklch(1 0 0 / 0.06);
  font:
    12px/1 'Instrument Sans',
    sans-serif;
}

/* Loading veil: the title holds the screen until the first era is ready. */
.cinema .room-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: var(--ink-0);
  transition:
    opacity 900ms var(--ease-out),
    visibility 0s linear 900ms;
  pointer-events: none;
}
.cinema .room-ready .room-veil {
  opacity: 0;
  visibility: hidden;
}
.cinema .veil-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(34px, 5vw, 56px);
  color: var(--text);
}
.cinema .veil-bar {
  width: 160px;
  height: 1px;
  background: var(--hairline);
  overflow: hidden;
}
.cinema .veil-bar i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold);
  animation: cinema-veil 1.4s var(--ease-out) infinite;
}
@keyframes cinema-veil {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}

/* Status and recovery, dark and centred at the top. */
.cinema #status {
  top: 72px;
  right: auto;
  left: 50%;
  translate: -50% 0;
  z-index: var(--z-chrome);
  background: var(--glass-strong);
  color: var(--text);
  border-color: var(--hairline-strong);
  border-radius: 999px;
  font-size: 13px;
}
.cinema #status:empty {
  display: none;
}
.cinema #recover {
  top: 120px;
  right: auto;
  left: 50%;
  translate: -50% 0;
  z-index: var(--z-chrome);
  background: var(--gold);
  color: var(--ink-0);
  border-color: var(--gold);
  border-radius: 999px;
}

/* Hover label */
.cinema #object-hover {
  background: var(--glass-strong);
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  box-shadow: 0 10px 30px oklch(0.05 0 0 / 0.4);
  backdrop-filter: blur(12px);
}
.cinema #object-hover span {
  color: var(--gold);
}

/* Comparison */
.cinema .comparison-labels {
  inset: 80px var(--gutter) auto;
  z-index: var(--z-overlay);
}
.cinema .comparison-labels span,
.cinema .compare-field {
  background: var(--glass-strong);
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  box-shadow: none;
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  font-weight: 400;
  padding: 6px 16px;
}
.cinema .compare-field {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
}
.cinema .compare-field select {
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: 999px;
}
.cinema .split-divider {
  background: oklch(0.96 0.01 85 / 0.9);
  box-shadow: 0 0 18px oklch(0.84 0.085 80 / 0.45);
}
.cinema .split-divider > span {
  background: var(--glass-strong);
  color: var(--gold);
  border: 1px solid var(--gold);
  backdrop-filter: blur(10px);
}

/* Objects: a drawer over the room rather than a column that squeezes it. */
.cinema #explore-panel:not(:modal) {
  position: fixed;
  inset: 72px calc(var(--gutter) + var(--control) + 30px)
    calc(var(--row-footer) + var(--ribbon-lift) + var(--row-timeline) + 20px)
    auto;
  width: 372px;
  height: auto;
  max-height: none;
  overflow: auto;
  margin: 0;
  z-index: var(--z-chrome);
  border-radius: 18px;
  box-shadow: 0 24px 60px oklch(0.05 0 0 / 0.55);
  animation: cinema-drawer 260ms var(--ease-out);
}
.cinema #explore-panel {
  background: var(--glass-strong);
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(18px);
}
@keyframes cinema-drawer {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
}
.cinema #explore-panel .panel-heading {
  border-bottom-color: var(--hairline);
}
.cinema #explore-panel h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 28px;
}
.cinema #panel-context,
.cinema .panel-intro,
.cinema .field-label,
.cinema #object-count {
  color: var(--text-muted);
}
.cinema #explore-panel select,
.cinema #explore-panel input,
.cinema #explore-panel .search-field {
  background: oklch(1 0 0 / 0.05);
  color: var(--text);
  border-color: var(--hairline-strong);
}
.cinema #explore-panel input::placeholder {
  color: var(--text-faint);
}
.cinema #explore-panel option {
  background: var(--ink-1);
  color: var(--text);
}
.cinema #object-list button {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  border-radius: 12px;
}
.cinema #object-list button:hover {
  background: oklch(1 0 0 / 0.06);
}
.cinema #object-list small {
  color: var(--text-faint);
}
.cinema #object-list img,
.cinema .object-thumbnail-placeholder {
  border-radius: 10px;
  background: oklch(0.96 0.01 85);
}
.cinema #panel-close {
  background: transparent;
  color: var(--text);
  border-color: var(--hairline);
  border-radius: 999px;
}

/*
 * Guided visit: no control strip. The ribbon fills with the visit's progress,
 * the title card carries the era, and one round button pauses or resumes.
 */
.cinema .tour-controls {
  position: fixed;
  left: 50%;
  bottom: calc(
    var(--row-footer) + var(--ribbon-lift) + var(--row-timeline) + 14px
  );
  transform: translateX(-50%);
  z-index: var(--z-chrome);
  width: auto;
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  animation: cinema-pop 240ms var(--ease-out);
}
.cinema .tour-copy,
.cinema #tour-count,
.cinema #tour-previous,
.cinema #tour-next,
.cinema #tour-progress {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.cinema .tour-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cinema #tour-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink-0);
  font-size: 0;
  box-shadow: 0 10px 30px oklch(0.05 0 0 / 0.45);
  transition: transform 140ms var(--ease-out);
}
.cinema #tour-toggle:active {
  transform: scale(0.94);
}
/* Pause: two bars. Resume and replay: a play triangle. */
.cinema #tour-toggle::before {
  content: '';
  width: 14px;
  height: 16px;
  background: linear-gradient(
    to right,
    currentColor 0 34%,
    transparent 34% 66%,
    currentColor 66% 100%
  );
}
.cinema #tour-toggle[aria-label^='Resume']::before,
.cinema #tour-toggle[aria-label^='Replay']::before {
  width: 16px;
  margin-left: 3px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.cinema #tour-exit {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text);
  font-size: 13px;
  backdrop-filter: blur(12px);
}
.cinema #tour-exit:hover {
  background: var(--glass-strong);
}
/* The ribbon becomes the progress bar. */
.cinema.touring .timeline-track::after {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: calc(var(--tour-progress, 0) * 100%);
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  box-shadow: 0 0 18px oklch(0.84 0.085 80 / 0.8);
  pointer-events: none;
}
.cinema.touring #timeline-playhead {
  opacity: 0;
}
/* Tools step back while the visit plays. */
.cinema.touring .viewer-toolbar {
  opacity: 0.3;
  transition: opacity 300ms var(--ease-out);
}
.cinema.touring .viewer-toolbar:hover,
.cinema.touring .viewer-toolbar:focus-within,
.cinema.tour-paused .viewer-toolbar {
  opacity: 1;
}
.cinema .guiding .orbit-hint {
  opacity: 0;
}
@media (max-width: 800px), (max-height: 520px) and (min-width: 560px) {
  /* The rail shares the tour's row on phones; it yields while playing. */
  .cinema.touring:not(.tour-paused) .viewer-toolbar {
    opacity: 0;
    pointer-events: none;
  }
}

.cinema :focus-visible {
  outline-color: var(--gold);
}

/* Travel feedback: controls hold still while the ripple crosses the room. */
.cinema .time-travelling #timeline-playhead::after {
  box-shadow: 0 0 26px oklch(0.84 0.085 80 / 0.95);
}

/* Fullscreen keeps the same overlay system, without the footer row. */
.cinema .experience:fullscreen .time-travel,
.cinema .experience.is-fullscreen .time-travel {
  bottom: calc(var(--ribbon-lift) + 12px);
}

@media (max-width: 800px) {
  .cinema {
    --gutter: 14px;
    --row-timeline: 58px;
    --row-controls: 46px;
    --row-footer: 46px;
  }
  .cinema .site-header {
    min-height: 52px;
    padding-block: 4px;
  }
  .cinema .wordmark {
    font-size: 16px;
  }
  .cinema .wordmark span {
    margin-left: 6px;
  }
  .cinema .header-actions {
    gap: 2px;
  }
  .cinema .quiet-button {
    padding-inline: 8px;
  }
  .cinema .film-link {
    padding-inline: 12px;
    font-size: 12px;
  }
  .cinema .introduction {
    top: 54px;
  }
  .cinema .date-block {
    top: 78px;
    max-width: calc(100% - 2 * var(--gutter));
  }
  .cinema .date-block strong {
    font-size: 58px;
  }
  .cinema .date-block span {
    font-size: 15px;
    margin-top: 4px;
  }
  .cinema #era-caption {
    font-size: 13px;
    max-width: 30ch;
  }
  .cinema .tour-start {
    top: auto;
    bottom: calc(
      var(--row-footer) + var(--ribbon-lift) + var(--row-timeline) +
        var(--control) + 30px
    );
    right: var(--gutter);
  }
  /* The rail lies down above the ribbon on phones. */
  .cinema .viewer-toolbar {
    top: auto;
    right: auto;
    left: 50%;
    bottom: calc(
      var(--row-footer) + var(--ribbon-lift) + var(--row-timeline) + 8px
    );
    translate: -50% 0;
    flex-direction: row;
    gap: 2px;
    padding: 4px;
  }
  .cinema .view-picker {
    padding: 0 4px;
    border-block: 0;
    border-inline: 1px solid var(--hairline);
  }
  .cinema .viewer-toolbar [data-tip]::after {
    display: none;
  }
  .cinema .viewer-toolbar .menu-body {
    top: auto;
    right: auto;
    left: 50%;
    bottom: calc(100% + 12px);
    translate: -50% 0;
    transform-origin: bottom center;
    max-height: calc(100svh - 220px);
  }
  .cinema .settings-menu .menu-body {
    left: auto;
    right: -60px;
    translate: 0 0;
  }
  .cinema .orbit-hint {
    display: none;
  }
  .cinema #timeline .timeline-year {
    font-size: 19px;
  }
  .cinema #timeline button small {
    display: none;
  }
  .cinema footer {
    gap: 10px;
    font-size: 11px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .cinema footer .footer-note span,
  .cinema footer [data-exploration-tools] > span {
    display: none;
  }
  .cinema #explore-panel:modal {
    background: var(--glass-strong);
  }
}

@media (max-width: 380px) {
  .cinema .date-block strong {
    font-size: 48px;
  }
  .cinema #era-caption {
    display: none;
  }
  .cinema #making-open {
    padding: 0 12px;
    font-size: 12px;
  }
  /* The rail is icon-only: keep the icons style.css hides for labelled buttons. */
  .cinema .viewer-toolbar .discovery-actions .icon {
    display: block;
  }
}

/* Short landscape screens: one controls row, no caption. */
@media (max-height: 520px) and (min-width: 560px) {
  /* One header row: “Scenario” alone still links to the gallery. */
  .cinema .wordmark {
    white-space: nowrap;
  }
  .cinema .wordmark span {
    display: none;
  }
  .cinema {
    --row-timeline: 50px;
    --row-controls: 44px;
    --row-footer: 40px;
  }
  .cinema .introduction,
  .cinema #era-caption {
    display: none;
  }
  .cinema .date-block {
    top: 58px;
  }
  .cinema .date-block strong {
    font-size: 44px;
  }
  .cinema .date-block span {
    font-size: 13px;
    margin-top: 2px;
  }
  .cinema .tour-start {
    top: 58px;
    bottom: auto;
  }
  /* The rail lies down at the bottom right, just above the ribbon. */
  .cinema .viewer-toolbar {
    top: auto;
    bottom: calc(
      var(--row-footer) + var(--ribbon-lift) + var(--row-timeline) + 6px
    );
    left: auto;
    right: var(--gutter);
    translate: 0 0;
    flex-direction: row;
    gap: 2px;
    padding: 3px;
  }
  .cinema .viewer-toolbar button,
  .cinema .viewer-toolbar summary {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }
  .cinema .view-picker {
    padding: 0 4px;
    border-block: 0;
    border-inline: 1px solid var(--hairline);
  }
  .cinema .viewer-toolbar [data-tip]::after {
    display: none;
  }
  .cinema .viewer-toolbar .menu-body {
    top: auto;
    bottom: calc(100% + 10px);
    right: 0;
    left: auto;
    translate: 0 0;
    transform-origin: bottom right;
    max-height: calc(100svh - 150px);
  }
  .cinema .orbit-hint,
  .cinema #timeline button small {
    display: none;
  }
  .cinema #timeline button {
    padding-block: 8px 4px;
  }
  .cinema #explore-panel:not(:modal) {
    inset: 56px var(--gutter)
      calc(var(--row-footer) + var(--ribbon-lift) + var(--row-timeline) + 8px)
      auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinema #room,
  .cinema .room-veil,
  .cinema #timeline-playhead,
  .cinema .orbit-hint {
    transition-duration: 1ms;
  }
  .cinema .veil-bar i,
  .cinema .date-block.arriving > *,
  .cinema .menu-body,
  .cinema .shortcuts,
  .cinema #explore-panel {
    animation: none;
  }
}

/*
 * Dialogs (object, making-of, films) share the gallery palette by remapping the
 * legacy component tokens, so their existing layouts stay intact.
 */
.cinema dialog {
  --page: oklch(0.17 0.009 70);
  --surface: oklch(0.205 0.009 70);
  --ink: var(--text);
  --muted: var(--text-muted);
  --line: var(--hairline-strong);
  --input-line: oklch(1 0 0 / 0.28);
  --accent: var(--gold);
  --accent-soft: var(--gold-soft);
  --focus: var(--gold);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 30px 80px oklch(0.05 0 0 / 0.6);
}
.cinema dialog::backdrop {
  background: oklch(0.08 0.005 70 / 0.62);
  backdrop-filter: blur(6px);
}
.cinema dialog h2,
.cinema dialog h3 {
  color: var(--text);
}
.cinema dialog button,
.cinema dialog select,
.cinema dialog summary {
  background: oklch(1 0 0 / 0.04);
  color: var(--text);
  border-color: var(--hairline-strong);
}
.cinema dialog button:hover {
  background: oklch(1 0 0 / 0.08);
}
.cinema dialog button[aria-pressed='true'],
.cinema dialog button[aria-selected='true'],
.cinema dialog .primary-button,
.cinema dialog a.primary-button {
  background: var(--gold);
  color: var(--ink-0);
  border-color: var(--gold);
}
.cinema dialog a {
  color: var(--text);
}
.cinema dialog .eyebrow {
  color: var(--gold);
}
/* The object stage becomes a dark vitrine; its controls stay legible on it. */
.cinema .object-stage,
.cinema #object-viewer {
  background: #1d1c19;
}
.cinema .object-display-modes,
.cinema .object-step,
.cinema .object-stage button {
  background: var(--glass-strong);
  color: var(--text);
  border-color: var(--hairline-strong);
}
.cinema .making-primary-download,
.cinema .making-primary-download span {
  background: var(--gold);
  color: var(--ink-0);
  border-color: var(--gold);
}

/* Footer rows follow the shared runtime: one line where it fits, two on phones.
   The runtime marks its rows 44 px through an ID selector; 32 px keeps them
   tappable without a third row. app.mjs keeps --row-footer at the real height. */
.cinema footer {
  min-height: 38px;
}
.cinema #scenario-exploration-analytics .scenario-exploration-controls > * {
  min-height: 32px;
}
.cinema #scenario-exploration-analytics .scenario-exploration-controls {
  gap: 14px;
}
@media (max-width: 700px) {
  .cinema footer {
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 0 14px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .cinema footer [data-exploration-controls] {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media (max-height: 520px) and (min-width: 560px) {
  .cinema footer .footer-note > span,
  .cinema footer [data-exploration-tools] > span {
    display: none;
  }
  .cinema footer {
    gap: 12px;
  }
}

.cinema #era-caption {
  color: oklch(0.88 0.014 85);
}

/* Narrow phones: one header row, the montage becomes a round play button. */
@media (max-width: 480px) {
  .cinema .wordmark span {
    display: none;
  }
  .cinema .film-link {
    width: var(--control);
    padding: 0;
    justify-content: center;
  }
  .cinema .film-link .film-link-label {
    display: none;
  }
  .cinema .site-header {
    flex-wrap: nowrap;
  }
}
.cinema .header-actions {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  margin-left: auto;
}

/*
 * Guided visit lives in the header row: the launcher sits beside the other
 * header actions, and while the visit plays the same slot holds one round
 * pause button and Exit visit. Nothing floats above the time ribbon.
 */
.cinema {
  --visit-slot: 164px;
}
.cinema .header-actions {
  margin-right: calc(var(--visit-slot) + 10px);
}
.cinema .tour-start,
.cinema .tour-controls {
  position: fixed;
  top: var(--header-row-top, 10px);
  right: var(--gutter);
  bottom: auto;
  left: auto;
  transform: none;
  z-index: var(--z-header);
  width: var(--visit-slot);
  height: var(--control);
  min-height: var(--control);
}
.cinema .tour-start {
  justify-content: center;
  gap: 8px;
  padding: 0 16px 0 12px;
  font-size: 13px;
  white-space: nowrap;
}
.cinema .tour-start > span {
  display: block;
}
.cinema .tour-start small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.cinema .tour-start .icon {
  width: 14px;
  height: 14px;
}
.cinema .tour-controls {
  justify-content: flex-end;
  animation: none;
}
.cinema .tour-actions {
  gap: 8px;
}
.cinema #tour-toggle {
  width: var(--control);
  min-width: var(--control);
  height: var(--control);
  min-height: var(--control);
  flex: none;
  box-shadow: 0 6px 20px oklch(0.05 0 0 / 0.4);
}
/* The hidden text label still takes a grid row; centre the glyph absolutely. */
.cinema #tour-toggle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 14px;
  margin: 0;
  translate: -50% -50%;
}
.cinema #tour-toggle[aria-label^='Resume']::before,
.cinema #tour-toggle[aria-label^='Replay']::before {
  width: 13px;
  margin: 0;
  translate: calc(-50% + 2px) -50%;
}
.cinema #tour-exit {
  height: var(--control);
  min-height: var(--control);
  padding: 0 18px;
}
.room-stage:has(#tour-start:not([hidden]):not(:disabled)) #status {
  top: auto;
}

/* The object count badge on the rail is noise; the panel states the count. */
.cinema .viewer-toolbar .count {
  display: none;
}

/* The ribbon and everything stacked on it sit clear of the bottom edge. */
.cinema {
  --ribbon-lift: 18px;
}

@media (max-width: 800px) {
  .cinema {
    --visit-slot: 136px;
  }
  /* Phones: the header is full, so the visit slot drops to a second row. */
  .cinema .header-actions {
    margin-right: 0;
  }
  .cinema .tour-start,
  .cinema .tour-controls {
    top: 58px;
  }
  .cinema .date-block {
    max-width: calc(100% - var(--visit-slot) - 3 * var(--gutter));
  }
}
@media (max-width: 800px) {
  .cinema {
    --ribbon-lift: 8px;
  }
}

/* Viewpoint arrows: one on each side of the room, always visible. */
.cinema .view-arrow {
  position: fixed;
  top: 50%;
  z-index: var(--z-chrome);
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  min-height: 56px;
  padding: 0 6px;
  translate: 0 -50%;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 12px oklch(0.1 0.01 70 / 0.8);
}
.cinema #view-arrow-previous {
  left: calc(var(--gutter) - 6px);
}
.cinema #view-arrow-next {
  right: calc(var(--gutter) + var(--control) + 30px);
}
.cinema .view-arrow .icon {
  flex: none;
  width: 56px;
  height: 56px;
  padding: 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(12px);
  stroke-width: 2.25;
  transition:
    background 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    transform 120ms var(--ease-out);
}
.cinema .view-arrow:hover .icon {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold);
}
.cinema .view-arrow:active .icon {
  transform: scale(0.94);
}
.cinema .view-arrow-label {
  opacity: 0;
  translate: var(--label-shift, 0) 0;
  transition:
    opacity 160ms var(--ease-out),
    translate 160ms var(--ease-out);
  white-space: nowrap;
}
.cinema #view-arrow-previous {
  --label-shift: -6px;
}
.cinema #view-arrow-next {
  --label-shift: 6px;
}
.cinema .view-arrow:hover .view-arrow-label,
.cinema .view-arrow:focus-visible .view-arrow-label {
  opacity: 1;
  translate: 0 0;
}
.cinema.touring .view-arrow-label {
  display: none;
}
.cinema .comparing .view-arrow,
.cinema .experience:has(#explore-panel[open]) .view-arrow {
  display: none;
}

/* Making-of PDF sits with the header actions. */
.cinema .header-pdf {
  gap: 8px;
  padding-inline: 14px 16px;
}
.cinema .header-pdf .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}
.cinema .header-pdf .film-link-label {
  color: var(--text);
  font-size: 13px;
}

@media (max-width: 800px) {
  .cinema .view-arrow {
    top: 46%;
  }
  .cinema #view-arrow-next {
    right: calc(var(--gutter) - 6px);
  }
  .cinema .view-arrow .icon {
    width: 46px;
    height: 46px;
    padding: 12px;
  }
  .cinema .view-arrow-label {
    display: none;
  }
  .cinema .header-pdf {
    width: var(--control);
    padding: 0;
    justify-content: center;
  }
  .cinema .header-pdf .film-link-label {
    display: none;
  }
}
/* The destination name floats beside the arrow and never takes clicks. */
.cinema .view-arrow {
  padding: 0;
}
.cinema .view-arrow-label {
  position: absolute;
  top: 50%;
  translate: var(--label-shift, 0) -50%;
  pointer-events: none;
}
.cinema #view-arrow-previous .view-arrow-label {
  left: calc(100% + 12px);
}
.cinema #view-arrow-next .view-arrow-label {
  right: calc(100% + 12px);
}
.cinema .view-arrow:hover .view-arrow-label,
.cinema .view-arrow:focus-visible .view-arrow-label {
  translate: 0 -50%;
}

/*
 * Header button system: one height, one type size, icon first, same padding.
 * How it was made is the single primary (gold); the others share one
 * secondary style. These rules close earlier per-button variations.
 */
.cinema .site-header .header-actions > a,
.cinema .site-header .header-actions > button,
.cinema .tour-start,
.cinema #tour-exit {
  box-sizing: border-box;
  height: var(--control);
  min-height: var(--control);
  padding: 0 16px 0 14px;
  gap: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text);
  font:
    500 14px/1 'Instrument Sans',
    sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: none;
  outline-offset: 3px;
  backdrop-filter: blur(12px);
  transition:
    background 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    transform 120ms var(--ease-out);
}
.cinema .site-header .header-actions > a:hover,
.cinema .site-header .header-actions > button:hover,
.cinema .tour-start:hover,
.cinema #tour-exit:hover {
  background: var(--glass-strong);
  border-color: oklch(1 0 0 / 0.32);
}
.cinema .site-header .header-actions > a:active,
.cinema .site-header .header-actions > button:active,
.cinema .tour-start:active {
  transform: scale(0.97);
}
/* Icon first everywhere, 16 px, in the accent colour. */
.cinema #making-open,
.cinema #watch-films {
  flex-direction: row-reverse;
}
.cinema .site-header .header-actions .icon,
.cinema .tour-start .icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--gold);
  fill: none;
}
.cinema .tour-start svg {
  fill: var(--gold);
  stroke: none;
}
.cinema #watch-films > span[aria-hidden='true'] {
  display: inline-grid;
  place-items: center;
  width: 16px;
  font-size: 11px;
  color: var(--gold);
}
.cinema .site-header .film-link-label,
.cinema .tour-start > span {
  font: inherit;
  color: inherit;
}
/* Primary action. */
.cinema .site-header #making-open {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-0);
  box-shadow: 0 8px 24px oklch(0.84 0.085 80 / 0.26);
}
.cinema .site-header #making-open .icon {
  color: var(--ink-0);
}
.cinema .site-header #making-open:hover {
  background: oklch(0.88 0.08 80);
  border-color: oklch(0.88 0.08 80);
}
.cinema .site-header :is(a, button):focus-visible,
.cinema .tour-start:focus-visible {
  outline: 2px solid var(--gold);
}
@media (max-width: 480px) {
  .cinema .site-header .header-actions > a,
  .cinema .site-header .header-actions > button {
    padding: 0 12px 0 10px;
    font-size: 13px;
  }
  .cinema .site-header #watch-films,
  .cinema .site-header #header-pdf {
    width: var(--control);
    padding: 0;
  }
  .cinema .site-header #header-pdf .film-link-label {
    display: none;
  }
}

/* The era film button in the title card follows the same button system. */
.cinema .date-block .film-inline {
  box-sizing: border-box;
  height: var(--control);
  min-height: var(--control);
  padding: 0 16px 0 12px;
  gap: 8px;
  font:
    500 14px/1 'Instrument Sans',
    sans-serif;
  border: 1px solid var(--hairline-strong);
  background: var(--glass);
}
.cinema .date-block .film-inline #room-films-label {
  font: inherit;
  margin: 0;
}
/* Same metrics as its neighbours; only the fill marks the primary action. */
.cinema .site-header #making-open,
.cinema .date-block .film-inline {
  padding: 0 16px 0 14px;
  font-weight: 500;
  font-size: 14px;
}
@media (max-width: 480px) {
  .cinema .site-header #making-open {
    padding: 0 12px 0 10px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .cinema .tour-start,
  .cinema #tour-exit,
  .cinema .date-block .film-inline {
    padding: 0 12px 0 10px;
    font-size: 13px;
  }
}
/* The visit launcher's play glyph is a filled path, not a stroke icon. */
.cinema .tour-start svg.icon {
  fill: var(--gold);
  stroke: none;
}
