/* Films (build.py, games.json film): the film button under the seal, the silent loop in each section's middle phone, the player. */
.film-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px; background: rgba(8, 10, 14, .55); color: #fff; font: 600 15px/1 var(--sans, system-ui, sans-serif); letter-spacing: .04em;
  cursor: pointer; backdrop-filter: blur(6px); transition: background .3s, transform .3s; white-space: nowrap; }
.film-btn:hover { background: rgba(8, 10, 14, .78); transform: translateY(-1px); }
.film-btn:focus-visible { outline: 3px solid var(--gold, #f2c45a); outline-offset: 3px; }
.film-btn .tri { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.film-btn .tri::before { content: ""; border-left: 9px solid #0c1220; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.film-btn small { opacity: .7; font-weight: 500; }
.seal .film-btn { position: relative; z-index: 3; margin-top: 12px; pointer-events: auto; }
.phones .film-play { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); z-index: 5; }
.phones .film-play:hover { transform: translateX(-50%) translateY(-1px); }
.loopvid { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.loop-toggle { position: absolute; right: 8px; bottom: 8px; z-index: 6; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(8, 10, 14, .55); color: #fff; font: 600 12px/1 system-ui; cursor: pointer; }
.loop-toggle:focus-visible { outline: 3px solid var(--gold, #f2c45a); outline-offset: 2px; }
dialog.film { width: min(1280px, 94vw); max-width: none; padding: 0; border: 0; border-radius: 18px; background: #000; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
dialog.film::backdrop { background: rgba(4, 6, 10, .82); backdrop-filter: blur(4px); }
dialog.film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
dialog.film .close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .6); color: #fff; font: 600 22px/1 system-ui; cursor: pointer; }
