/* LAND OF DESTINY: "The Projector". A 1960s print in a dark house: CinemaScope frame, cinema subtitles, title cards,
   a frame that freezes for a choice, THE END and the rewind, film cans, and the Purser's Office.
   Period faces only, bundled (licences in fonts/):
     League Gothic (the Alternate Gothic of 1950s-60s film posters): titles, title cards, THE END, room names
     Libre Baskerville (a classic book serif): subtitles, the narrator, thoughts, cards and every line of prose
     Special Elite (a worn Smith-Corona typewriter): radiograms, captions, the teleprinter, tickets, prices, labels
     Homemade Apple (a real hand): letters, film-can labels, the purser's signature
   Courier Prime stays only as the typewriter's glyph fallback. No generic modern sans, nowhere a system font:
   every stack ends in a period face (Baskerville, Impact, Courier), never Tahoma, Segoe, Arial or system-ui.
   No rounded corners anywhere. */
@font-face { font-family: 'LOD Gothic'; font-style: normal; font-weight: 400; font-display: block; src: url(../fonts/league-gothic.woff2) format('woff2'); }
@font-face { font-family: 'LOD Book'; font-style: normal; font-weight: 400 700; font-display: block; src: url(../fonts/libre-baskerville-roman.woff2) format('woff2'); }
@font-face { font-family: 'LOD Book'; font-style: italic; font-weight: 400; font-display: block; src: url(../fonts/libre-baskerville-italic.woff2) format('woff2'); }
@font-face { font-family: 'LOD Typed'; font-style: normal; font-weight: 400; font-display: block; src: url(../fonts/special-elite.woff2) format('woff2'); }
@font-face { font-family: 'LOD Courier'; font-style: normal; font-weight: 400; font-display: block; src: url(../fonts/courierprime-regular.woff2) format('woff2'); }
@font-face { font-family: 'LOD Hand'; font-style: normal; font-weight: 400; font-display: block; src: url(../fonts/homemadeapple-regular.woff2) format('woff2'); }

:root {
  --house: #0a0806;
  --film: #0f0d0b;
  --soot: #1a1612;
  --umber: #2b221a;
  --cream: #efe3c8;
  --ink: #ece4d4;
  --subink: #f3ead6;
  --dim: #9a907f;
  --faint: #5e574c;
  --tangerine: #d2602a;
  --mustard: #c59a2e;
  --olive: #5f6b34;
  --oxblood: #6e2a25;
  --stub: #efe3c4;
  --stubink: #7c2216;
  --brass: #a8843a;
  --brassdark: #4e3b1b;
  --paper: #e6d8b6;
  --paperink: #2d241b;
  --form: #d9c98f;
  --display: 'LOD Gothic', sans-serif;
  --book: 'LOD Book', serif;
  --type: 'LOD Typed', 'LOD Courier', monospace;
  --hand: 'LOD Hand', cursive;
  --gutter: 16px;
  --stripH: 40px;
  --subscale: 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--house); color: var(--ink); }
body {
  font-family: var(--book); font-weight: 400; overflow: hidden; -webkit-tap-highlight-color: transparent;
  background: radial-gradient(ellipse 72% 58% at 50% 40%, #1d1711 0%, #0c0a07 60%, #060504 100%);
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- the house and the screen */
#house { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--gutter); }
#cinema { display: flex; flex-direction: column; align-items: center; }
#screen {
  position: relative; overflow: hidden; background: var(--film); container-type: inline-size;
  width: min(calc(100vw - 2 * var(--gutter)), calc((100vh - 2 * var(--gutter) - var(--stripH)) * 1.7778));
  aspect-ratio: 16 / 9;                      /* the pictures are 16:9: the whole original frame, nothing cropped (the user, 2026-11-13) */
  box-shadow: 0 0 110px 18px rgba(255, 228, 182, .055), 0 34px 90px rgba(6, 5, 4, .85);
  user-select: none; -webkit-user-select: none; cursor: pointer;
}
#gate { position: absolute; inset: 0; animation: lod-weave 0.5s steps(6) infinite, lod-lamp 2.7s ease-in-out infinite; }
#pic { position: absolute; inset: -0.12%; }     /* just over the weave: the frame is shown whole */
.plate { position: absolute; inset: 0; opacity: 0; overflow: hidden; }
.plate.on { opacity: 1; }
.pl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 50% 50%; }
canvas.pl.depth { object-fit: fill; }
#wx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
#wear { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: overlay; opacity: .9; image-rendering: pixelated; }
#vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 78% 74% at 50% 50%, transparent 58%, rgba(10, 8, 6, .5) 100%); }
#leak { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen; }
#shade { position: absolute; inset: 0; background: var(--film); opacity: 0; pointer-events: none; }
#flash { position: absolute; inset: 0; background: #fbf1dc; opacity: 0; pointer-events: none; }
#strip {
  height: var(--stripH); width: min(calc(100vw - 2 * var(--gutter)), calc((100vh - 2 * var(--gutter) - var(--stripH)) * 1.7778));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--type); font-size: max(12px, .95vw); letter-spacing: .12em; text-transform: uppercase; color: rgba(239, 227, 200, .62);
}
#controls { display: flex; gap: 2px; }
#controls button { padding: 8px 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(239, 227, 200, .74); transition: color .32s steps(3); }
#controls button:hover, #controls button:focus-visible { color: var(--cream); outline: none; }
#controls button.lit { color: var(--tangerine); }
body[data-mode="idle"] #controls, body[data-mode="boot"] #controls, body[data-mode="titles"] #controls { visibility: hidden; }

/* the print's looks */
#screen.frozen .plate.on .pl { filter: brightness(.66) saturate(.82); }
#screen.frozen #gate { animation-play-state: paused; }
#screen.drained #pic { filter: sepia(.92) saturate(.55) brightness(.62) contrast(1.06); transition: filter 1.6s cubic-bezier(.4, .05, .2, 1); }
#screen.fx-bw #pic { filter: grayscale(1) contrast(1.42) brightness(.9); }
#screen.fx-bw #vig { background: radial-gradient(ellipse 70% 66% at 50% 50%, transparent 48%, rgba(10, 8, 6, .78) 100%); }
#screen.fx-8mm #pic { filter: saturate(1.45) sepia(.22) contrast(1.08) brightness(1.04); }
#screen.fx-8mm #gate { animation: lod-weave 0.32s steps(4) infinite, lod-homemovie 0.5s steps(5) infinite; }
#screen.fx-8mm #leak { opacity: 1; animation: lod-leak 7.3s ease-in-out infinite; background: radial-gradient(ellipse 30% 60% at 0% 50%, rgba(232, 128, 52, .42), transparent 70%), radial-gradient(ellipse 22% 40% at 100% 20%, rgba(244, 188, 92, .3), transparent 70%); }
#screen.fx-8mm #vig { background: radial-gradient(ellipse 66% 62% at 50% 50%, transparent 50%, rgba(43, 22, 12, .62) 100%); }
body.rewinding #pic { animation: lod-rewind .12s steps(2) infinite; }
@keyframes lod-weave { 0% { transform: translate(0, 0); } 30% { transform: translate(.06%, -.08%); } 60% { transform: translate(-.05%, .07%); } 100% { transform: translate(.03%, .02%); } }
@keyframes lod-lamp { 0%, 100% { opacity: 1; } 47% { opacity: .975; } 52% { opacity: .992; } }
@keyframes lod-homemovie { 0% { opacity: 1; } 40% { opacity: .9; } 70% { opacity: .97; } 100% { opacity: .93; } }
@keyframes lod-leak { 0%, 100% { opacity: .35; } 40% { opacity: .9; } 70% { opacity: .5; } }
@keyframes lod-rewind { 0% { transform: translateY(-2.2%); } 100% { transform: translateY(2.2%); } }

/* placeholders: a storyboard frame until the picture is made */
.ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--umber); }
.ph::after { content: ''; position: absolute; inset: 7% 9%; border: 1px solid rgba(239, 227, 200, .1); pointer-events: none; }
.ph-in { max-width: 62%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .9cqw; }
.ph-who { font-family: var(--book); font-style: italic; font-weight: 400; font-size: 4cqw; color: rgba(239, 227, 200, .34); text-transform: capitalize; letter-spacing: .02em; }
.ph-what { font-family: var(--type); font-size: max(11px, 1.18cqw); line-height: 1.5; color: rgba(239, 227, 200, .5); }
.ph-id { font-family: var(--type); font-size: max(10px, .74cqw); letter-spacing: .12em; color: rgba(239, 227, 200, .26); text-transform: uppercase; }
#screen.frozen .ph-in { opacity: .45; }
#screen.carded .ph-in { opacity: 0; }
.ph.t-night { background: radial-gradient(ellipse 80% 70% at 50% 60%, #2a2a33 0%, #121218 70%); }
.ph.t-nightrain { background: radial-gradient(ellipse 60% 50% at 62% 40%, #3b3426 0%, #15161c 62%); }
.ph.t-evening { background: radial-gradient(ellipse 70% 60% at 50% 45%, #4a3524 0%, #1b140e 72%); }
.ph.t-day { background: radial-gradient(ellipse 75% 70% at 50% 40%, #6b5d48 0%, #2f281f 75%); }
.ph.t-dayrain { background: radial-gradient(ellipse 75% 70% at 50% 40%, #4f5250 0%, #23241f 75%); }
.ph.t-morning { background: radial-gradient(ellipse 70% 70% at 60% 35%, #7a6a4f 0%, #322a20 75%); }
.ph.t-dawn { background: radial-gradient(ellipse 70% 60% at 50% 70%, #5b5560 0%, #1e1d22 75%); }
.ph.t-fog { background: radial-gradient(ellipse 85% 75% at 50% 50%, #6c6c68 0%, #2c2d2b 80%); }
.ph.t-bw { background: radial-gradient(ellipse 50% 60% at 40% 40%, #5d5d5d 0%, #111111 72%); }
.ph.t-home { background: radial-gradient(ellipse 75% 70% at 45% 45%, #9a6332 0%, #3a1f12 75%); }

/* ---------------------------------------------------------------- words on the frame */
#cap { position: absolute; left: 4%; top: 7%; font-family: var(--type); letter-spacing: .16em; font-size: max(11px, 1.12cqw); line-height: 1.7;
  color: var(--cream); text-shadow: 0 0 4px rgba(10, 8, 6, .95), 0 1px 1px rgba(10, 8, 6, .9); pointer-events: none; display: none; }
#cap.on { display: block; }
#cap.fade { opacity: 0; transition: opacity .85s linear; }
#cap span { display: block; white-space: pre; }
#cap .c2 { color: rgba(239, 227, 200, .8); }
#tele { position: absolute; left: 0; right: 0; top: 0; padding: 2.4% 4% 2.1%; display: none; pointer-events: none;
  background: linear-gradient(rgba(233, 220, 188, .93), rgba(222, 208, 172, .9)); color: var(--paperink);
  font-family: var(--type); font-weight: 400; letter-spacing: .14em; font-size: max(11px, 1.36cqw); box-shadow: 0 6px 18px rgba(10, 8, 6, .5); }
#tele.on { display: block; }
#sub { position: absolute; left: 6%; right: 6%; bottom: 6.6%; text-align: center; font-family: var(--book); font-weight: 500;
  font-size: calc(max(13px, 1.92cqw) * var(--subscale)); line-height: 1.3; color: var(--subink);
  text-shadow: 0 0 3px #0a0806, 0 0 7px #0a0806, 0 2px 2px #0a0806; opacity: 0; pointer-events: none; transition: opacity 90ms linear; }
#sub.on { opacity: 1; }
#sub.it { font-style: italic; font-weight: 400; }
#narr { position: absolute; left: 0; right: 0; bottom: 0; padding: 5.2% 10% 5.4%; text-align: center; font-family: var(--book); font-weight: 400; font-style: italic;
  font-size: calc(max(12px, 1.66cqw) * var(--subscale)); line-height: 1.45; color: var(--cream);
  background: linear-gradient(to top, rgba(10, 8, 6, .76), rgba(10, 8, 6, 0)); opacity: 0; pointer-events: none; transition: opacity .42s ease-out; }
#narr.on { opacity: 1; }
.clickhint { position: absolute; right: 3%; top: 4.4%; max-width: 38%; padding: .55em .9em; font-family: var(--type); font-size: max(11px, 1.02cqw); line-height: 1.45;
  letter-spacing: .06em; color: var(--cream); background: rgba(10, 8, 6, .66); border: 1px solid rgba(239, 227, 200, .3); pointer-events: none; z-index: 4;
  animation: lod-hint-in .6s ease-out both; }
@keyframes lod-hint-in { from { opacity: 0; } to { opacity: 1; } }
#crank { position: absolute; right: 2.2%; bottom: 4.6%; width: max(20px, 1.9cqw); height: max(20px, 1.9cqw); opacity: 0; pointer-events: none;
  border: 1px solid rgba(239, 227, 200, .7); transform: rotate(45deg); }
body.waiting #crank { opacity: 1; animation: lod-crank 1.9s steps(8) infinite; }
@keyframes lod-crank { 0% { transform: rotate(45deg); opacity: .25; } 50% { opacity: .9; } 100% { transform: rotate(225deg); opacity: .25; } }

/* ---------------------------------------------------------------- the choice: the frame freezes, the lines rise */
#opts { position: absolute; left: 0; right: 0; bottom: 0; padding: 3.4% 8% 4.6%; display: none;
  background: linear-gradient(to top, rgba(10, 8, 6, .86) 10%, rgba(10, 8, 6, 0)); }
#opts.on { display: block; animation: lod-rise .55s cubic-bezier(.2, .7, .25, 1) both; }
@keyframes lod-rise { from { opacity: 0; transform: translateY(10%); } to { opacity: 1; transform: none; } }
ol.choices { list-style: none; display: flex; flex-direction: column; align-items: center; gap: .55cqw; }
.opt-b { display: inline-flex; align-items: baseline; gap: 1.1cqw; padding: .35cqw .6cqw; color: var(--subink); text-align: left;
  font-family: var(--book); font-size: calc(max(13px, 1.86cqw) * var(--subscale)); font-weight: 500; line-height: 1.3; }
.opt-n, .opt-t { text-shadow: 0 0 3px #0a0806, 0 0 7px #0a0806; }
.opt-n { font-family: var(--type); font-weight: 400; font-size: .72em; color: var(--dim); min-width: 1.2em; text-align: right; }
.opt-t { background: linear-gradient(var(--tangerine), var(--tangerine)) left 100% / 0 2px no-repeat; transition: background-size .38s cubic-bezier(.3, 0, .2, 1); padding-bottom: .12em; }
.opt-b:hover .opt-t, .opt-b:focus-visible .opt-t { background-size: 100% 2px; }
.opt-b:hover .opt-n, .opt-b:focus-visible .opt-n { color: var(--tangerine); }
.opt-b:focus-visible { outline: none; }
.opt.struck .opt-t { text-decoration: line-through; text-decoration-color: var(--tangerine); text-decoration-thickness: 2px; color: rgba(243, 234, 214, .45); }
.opt.struck .opt-b { cursor: default; }
.stub { align-self: center; font-family: var(--type); font-size: max(10px, .62em); letter-spacing: .04em; color: var(--stubink); background: var(--stub);
  padding: .25em .7em; white-space: nowrap;
  -webkit-mask: radial-gradient(circle .32em at 0 50%, transparent 96%, #0a0806) left / 51% 100% no-repeat, radial-gradient(circle .32em at 100% 50%, transparent 96%, #0a0806) right / 51% 100% no-repeat;
  mask: radial-gradient(circle .32em at 0 50%, transparent 96%, #0a0806) left / 51% 100% no-repeat, radial-gradient(circle .32em at 100% 50%, transparent 96%, #0a0806) right / 51% 100% no-repeat; }

/* ---------------------------------------------------------------- cards on the frame */
#card { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; text-align: center; }
#card.on { display: flex; }
#card.full { background: var(--film); }
#card.over { background: rgba(10, 8, 6, .55); }
#card.end { background: rgba(10, 8, 6, .2); }
#card > * { animation: lod-fadein .7s ease-out both; }
@keyframes lod-fadein { from { opacity: 0; } to { opacity: 1; } }

.reelcard { display: flex; flex-direction: column; align-items: center; gap: 1cqw; }
.rc-film { font-family: var(--book); font-weight: 400; letter-spacing: .4em; font-size: max(10px, 1.02cqw); color: var(--dim); margin-left: .4em; text-transform: uppercase; }
.rc-reel { font-family: var(--book); font-style: italic; font-weight: 400; font-size: max(14px, 2cqw); color: var(--mustard); }
.rc-title { font-family: var(--display); font-weight: 400; font-size: max(40px, 8.4cqw); line-height: .95; color: var(--cream); letter-spacing: .035em; text-transform: uppercase; }
.rc-part, .rc-when { font-family: var(--type); letter-spacing: .14em; text-transform: uppercase; font-size: max(10px, 1cqw); color: var(--dim); }
.rc-part { margin-top: .8cqw; border-top: 2px solid var(--tangerine); padding-top: 1cqw; }

.tcard { display: flex; flex-direction: column; align-items: center; gap: 1.2cqw; max-width: 70%; }
.tc-a { font-family: var(--book); font-style: italic; font-weight: 400; font-size: max(20px, 3.3cqw); color: var(--cream); }
.tc-b { font-family: var(--type); font-size: max(11px, 1.18cqw); letter-spacing: .1em; color: var(--dim); line-height: 1.8; text-transform: uppercase; }

#card.calmcard { background: var(--soot); }
.tcard.calm { max-width: 60%; gap: 1.6cqw; }
.tcard.calm .tc-a { font-family: var(--book); font-style: normal; font-weight: 400; font-size: max(15px, 1.95cqw); line-height: 1.7; color: var(--ink); }
body.ffwd #counter { color: var(--tangerine); }

.daily { background: var(--paper); color: var(--paperink); padding: 2.4cqw 4cqw 2.6cqw; max-width: 46%; transform: rotate(-1.3deg);
  box-shadow: 0 2cqw 4cqw rgba(10, 8, 6, .6); border-top: .5cqw solid var(--stubink); display: flex; flex-direction: column; gap: .7cqw; }
.dp-ship { font-family: var(--type); letter-spacing: .12em; font-size: max(10px, .9cqw); text-transform: uppercase; color: var(--stubink); }
.dp-day { font-family: var(--display); font-weight: 400; font-size: max(26px, 3.8cqw); text-transform: uppercase; letter-spacing: .03em; }
.dp-line { font-family: var(--type); font-size: max(11px, 1.15cqw); line-height: 1.6; }

.letter .paper { background: var(--paper) repeating-linear-gradient(transparent 0 2.25cqw, rgba(110, 42, 37, .14) 2.25cqw calc(2.25cqw + 1px));
  color: var(--paperink); max-width: 56cqw; padding: 2.2cqw 3.6cqw; transform: rotate(.8deg); box-shadow: 0 1.6cqw 3.6cqw rgba(10, 8, 6, .65);
  font-family: var(--hand); font-size: max(11px, 1.45cqw); line-height: 2.25cqw; text-align: left; }
.letter .paper p { animation: lod-write 2.6s steps(26) both; }
.letter .paper hr { border: 0; border-top: 1px dashed rgba(45, 36, 27, .35); margin: 1.1cqw 0; }
@keyframes lod-write { from { clip-path: inset(-30% 100% -30% -6%); } to { clip-path: inset(-30% -6% -30% -6%); } }
.radiogram { background: var(--form); padding: 2cqw 2.6cqw 2.4cqw; max-width: 64cqw; transform: rotate(-.6deg); box-shadow: 0 1.6cqw 3.6cqw rgba(10, 8, 6, .6);
  display: flex; flex-direction: column; align-items: flex-start; gap: .6cqw; }
.rg-head { font-family: var(--type); font-weight: 400; letter-spacing: .2em; text-transform: uppercase; font-size: max(10px, .98cqw); color: var(--stubink); margin-bottom: .6cqw; }
.rg-strip { background: var(--stub); color: var(--paperink); font-family: var(--type); font-weight: 400; font-size: max(11px, 1.12cqw); letter-spacing: .05em; padding: .3cqw .8cqw; text-align: left; }

.notice { max-width: 64%; display: flex; flex-direction: column; align-items: center; gap: 1.1cqw; }
.nt-rate { font-family: var(--display); font-weight: 400; letter-spacing: .06em; font-size: max(30px, 4.6cqw); color: var(--cream); border-top: 2px solid var(--tangerine); border-bottom: 2px solid var(--tangerine); padding: .3cqw 2cqw; }
.notice p { font-family: var(--book); font-size: max(12px, 1.3cqw); line-height: 1.6; color: var(--ink); }

.theend { display: flex; flex-direction: column; align-items: center; gap: 1.2cqw; }
.te-frame { border: 1px solid rgba(239, 227, 200, .62); outline: 1px solid rgba(239, 227, 200, .62); outline-offset: .55cqw; padding: 1.3cqw 4.2cqw; }
.te-word { font-family: var(--display); font-weight: 400; letter-spacing: .26em; margin-left: .26em; font-size: max(40px, 7.6cqw); line-height: 1; color: var(--cream); text-transform: uppercase; }
.te-name { font-family: var(--type); letter-spacing: .16em; text-transform: uppercase; font-size: max(11px, 1.2cqw); color: var(--ink); }
.theend.runout .te-frame { animation: lod-runout 1.05s steps(7) both; }
.theend.settled .te-frame { animation: none; }
@keyframes lod-runout { 0% { transform: none; } 60% { transform: translateY(-3%); opacity: .8; } 100% { transform: none; opacity: 1; } }
.te-gift { font-family: var(--book); font-style: italic; font-size: max(11px, 1.1cqw); color: var(--mustard); }
.te-lines { display: flex; flex-direction: column; align-items: center; gap: .4cqw; margin-top: .6cqw; }
.te-free { font-family: var(--type); font-size: max(10px, .95cqw); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

.lod-line { display: inline-flex; align-items: center; gap: .9em; padding: .55em 1.3em; font-family: var(--type); text-transform: uppercase; letter-spacing: .12em;
  font-size: max(11px, 1.12cqw); color: var(--ink); border: 1px solid rgba(239, 227, 200, .34); background: rgba(10, 8, 6, .35); transition: background .26s steps(4), color .26s steps(4); }
.lod-line em { font-style: normal; letter-spacing: .1em; color: var(--mustard); font-size: .92em; }
.lod-line:hover, .lod-line:focus-visible { background: var(--cream); color: var(--film); outline: none; }
.lod-line:hover em, .lod-line:focus-visible em { color: var(--stubink); }
.lod-line.strong { border-color: var(--tangerine); }
.lod-line.quiet { border-color: transparent; background: transparent; color: var(--dim); }
.lod-line.quiet:hover, .lod-line.quiet:focus-visible { background: transparent; color: var(--cream); }
.lod-line:disabled { opacity: .45; }
.lod-line:disabled:hover { background: transparent; color: var(--dim); }
.lod-line .rw { width: 1.6em; height: .9em; fill: currentColor; }

.reelend, .finalend { display: flex; flex-direction: column; align-items: center; gap: 1.4cqw; max-width: 72%; }
.re-end { font-family: var(--display); font-weight: 400; font-size: max(32px, 4.6cqw); letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.re-cliff { font-family: var(--book); font-style: italic; font-weight: 400; font-size: max(12px, 1.42cqw); line-height: 1.55; color: var(--ink); }
.re-lines { display: flex; flex-direction: column; align-items: center; gap: .5cqw; }
.fe-word { font-family: var(--display); font-weight: 400; font-size: max(48px, 9.4cqw); line-height: 1; letter-spacing: .24em; margin-left: .24em; text-transform: uppercase; color: var(--cream); }
.fe-name { font-family: var(--book); font-style: italic; font-size: max(15px, 2.2cqw); color: var(--mustard); }
.fe-film { font-family: var(--book); letter-spacing: .4em; font-size: max(10px, 1cqw); color: var(--dim); margin-left: .4em; text-transform: uppercase; }
.quietcard p { font-family: var(--book); font-style: italic; font-weight: 400; font-size: max(15px, 2.1cqw); color: var(--ink); max-width: 60cqw; line-height: 1.55; }
.cuedots { position: absolute; right: 4.5%; top: 6%; width: 3.2cqw; opacity: 0; pointer-events: none; }
.cuedots.on { opacity: .85; }
.cuedots svg { width: 100%; fill: var(--cream); }

/* ---------------------------------------------------------------- the foyer (title) */
#foyer { position: absolute; inset: 0; display: none; }
body[data-mode="idle"] #foyer { display: block; }
.fy-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 6, .78) 0%, rgba(10, 8, 6, .35) 52%, rgba(10, 8, 6, .05) 100%); }
.fy-in { position: absolute; left: 5.5%; top: 9%; bottom: 8%; display: flex; flex-direction: column; justify-content: space-between; max-width: 54%; }
.fy-presents { font-family: var(--book); font-weight: 400; letter-spacing: .38em; text-transform: uppercase; font-size: max(10px, .95cqw); color: var(--dim); }
.fy-title { font-family: var(--display); font-weight: 400; font-size: max(46px, 8.8cqw); line-height: .9; color: var(--cream); letter-spacing: .03em; text-transform: uppercase; margin-top: .6cqw; }
.fy-title span { display: block; font-family: var(--book); font-style: italic; font-weight: 400; color: var(--mustard); font-size: .24em; letter-spacing: .02em; text-transform: none; margin-top: .35em; }
.fy-tag { font-family: var(--book); font-style: italic; font-weight: 400; font-size: max(11px, 1.15cqw); color: var(--ink); margin-top: 1cqw; max-width: 42cqw; line-height: 1.55; }
.fy-menu { display: flex; flex-direction: column; align-items: flex-start; gap: .2cqw; }
.fy-menu .mi { font-family: var(--type); letter-spacing: .14em; text-transform: uppercase; font-size: max(11px, 1.16cqw); color: var(--ink); padding: .34cqw 0;
  background: linear-gradient(var(--tangerine), var(--tangerine)) left 100% / 0 1px no-repeat; transition: background-size .38s cubic-bezier(.3, 0, .2, 1), color .2s linear; }
.fy-menu .mi:hover, .fy-menu .mi:focus-visible { background-size: 100% 1px; color: var(--cream); outline: none; }
.fy-menu .mi:disabled { color: var(--faint); background: none; }
.ticket { position: relative; display: inline-flex; align-items: stretch; background: var(--stub); color: var(--stubink); transform: rotate(-1.6deg); margin-bottom: 1cqw;
  filter: drop-shadow(0 6px 14px rgba(10, 8, 6, .6)); transition: transform .3s cubic-bezier(.3, 0, .2, 1);
  -webkit-mask: radial-gradient(circle 6px at 0 50%, transparent 97%, #0a0806) left / 51% 100% no-repeat, radial-gradient(circle 6px at 100% 50%, transparent 97%, #0a0806) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 6px at 0 50%, transparent 97%, #0a0806) left / 51% 100% no-repeat, radial-gradient(circle 6px at 100% 50%, transparent 97%, #0a0806) right / 51% 100% no-repeat; }
.ticket:hover, .ticket:focus-visible { transform: rotate(0) scale(1.03); outline: none; }
.ticket span { display: block; padding: max(6px, .8cqw) max(12px, 1.5cqw); font-family: var(--type); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: max(11px, 1.16cqw); }
.ticket span + span { border-left: 2px dashed rgba(124, 34, 22, .45); }
.fy-foot { font-family: var(--type); font-size: max(10px, .82cqw); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

/* ---------------------------------------------------------------- rooms (full house) */
#room { position: fixed; inset: 0; z-index: 20; background: var(--house); overflow: auto; display: flex; flex-direction: column; animation: lod-fadein .45s ease-out both; }
.rm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 26px 34px 16px; border-bottom: 1px solid rgba(239, 227, 200, .12); flex-wrap: wrap; }
.rm-title { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: .95; color: var(--cream); letter-spacing: .03em; text-transform: uppercase; }
.rm-title small { display: block; font-family: var(--type); font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-top: 8px; }
.rm-exit { font-family: var(--type); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 8px 0;
  background: linear-gradient(var(--tangerine), var(--tangerine)) left 100% / 0 1px no-repeat; transition: background-size .38s cubic-bezier(.3, 0, .2, 1); }
.rm-exit:hover, .rm-exit:focus-visible { color: var(--cream); background-size: 100% 1px; outline: none; }
.rm-body { padding: 22px 34px 40px; flex: 1; }
.rm-note { font-family: var(--book); font-style: italic; font-size: 13px; color: var(--dim); line-height: 1.7; }
.rm-sec { font-family: var(--type); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin: 26px 0 12px; }

/* the reels */
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.reel { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 14px 16px; text-align: left; border: 1px solid rgba(239, 227, 200, .1); background: rgba(26, 22, 18, .6); }
.reel svg { width: 52px; height: 52px; fill: none; stroke: var(--dim); stroke-width: 1.4; }
.reel b { display: block; font-family: var(--type); font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.reel i { display: block; font-family: var(--display); font-style: normal; font-weight: 400; font-size: 27px; letter-spacing: .03em; text-transform: uppercase; color: var(--cream); margin: 3px 0; }
.reel small { font-family: var(--book); font-style: italic; font-size: 13px; color: var(--dim); }
.reel.open:hover, .reel.open:focus-visible { border-color: var(--tangerine); outline: none; }
.reel.open:hover svg { stroke: var(--tangerine); }
.reel.shut { opacity: .5; cursor: default; }

/* the lobby: lobby cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.lcard { background: var(--cream); color: var(--paperink); padding: 8px 8px 10px; display: flex; flex-direction: column; gap: 7px; min-height: 196px; }
.lcard .lc-pic { aspect-ratio: 16 / 10; background: var(--umber) center / cover no-repeat; position: relative; }
.lcard .lc-pic span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8px; text-align: center; font-family: var(--type); font-size: 11px; color: rgba(239, 227, 200, .55); line-height: 1.4; }
.lcard .lc-name { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.lcard .lc-reel { font-family: var(--type); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--stubink); }
.lcard.unseen { background: var(--soot); color: var(--faint); }
.lcard.unseen .lc-name { color: var(--faint); }
.lcard.final { outline: 2px solid var(--mustard); outline-offset: -5px; }
.lcard .lc-miss { font-family: var(--book); font-style: italic; font-size: 12px; color: var(--oxblood); }
.lcard .lc-act { align-self: flex-start; font-family: var(--type); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--stubink); padding: 3px 0;
  background: linear-gradient(var(--tangerine), var(--tangerine)) left 100% / 0 1px no-repeat; transition: background-size .38s cubic-bezier(.3, 0, .2, 1); }
.lcard .lc-act:hover, .lcard .lc-act:focus-visible { background-size: 100% 1px; outline: none; }
.lcard .lc-act:disabled { opacity: .5; }
.lc-extra { margin: 14px 0 6px; }
.stills { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.still { display: flex; flex-direction: column; gap: 6px; font-family: var(--book); font-size: 13px; color: var(--dim); line-height: 1.45; }
.still .lc-pic { aspect-ratio: 16 / 9; background: var(--umber) center / cover no-repeat; }

/* film cans */
.cans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.can { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px; border: 1px solid transparent; text-align: center; }
.can svg { width: 132px; height: 132px; }
.can .can-metal { fill: #3d3833; stroke: #77706a; stroke-width: 2; }
.can .can-rim { fill: none; stroke: #8e877e; stroke-width: 1.2; }
.can .can-label { fill: var(--paper); }
.can .can-hand { font-family: var(--hand); font-size: 15px; color: var(--cream); line-height: 1.5; }
.can small { font-family: var(--type); font-size: 12px; letter-spacing: .08em; color: var(--dim); }
.can:hover, .can:focus-visible { border-color: rgba(210, 96, 42, .6); outline: none; }
.can.empty .can-metal { fill: #221f1c; stroke: #4a4540; }
.can.empty .can-label { fill: #4a4540; }
.can-tabs { display: flex; gap: 22px; margin-bottom: 18px; }
.can-tabs button { font-family: var(--type); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 6px 0; border-bottom: 2px solid transparent; }
.can-tabs button.lit { color: var(--cream); border-bottom-color: var(--tangerine); }
.can-tabs button:disabled { opacity: .35; }

/* the projection booth */
.booth { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px 40px; max-width: 1100px; }
.knob { display: flex; flex-direction: column; gap: 9px; }
.knob > b { font-family: var(--type); font-weight: 400; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mustard); }
.knob input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; }
.knob input[type=range]::-webkit-slider-runnable-track { height: 2px; background: rgba(239, 227, 200, .3); }
.knob input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 22px; margin-top: -10px; background: var(--cream); border: 0; }
.knob input[type=range]::-moz-range-track { height: 2px; background: rgba(239, 227, 200, .3); }
.knob input[type=range]::-moz-range-thumb { width: 12px; height: 22px; background: var(--cream); border: 0; }
.knob input[type=range]:focus-visible { outline: 1px dashed var(--tangerine); }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button { font-family: var(--book); font-size: 14px; padding: 7px 12px; color: var(--dim); border: 1px solid rgba(239, 227, 200, .16); }
.pick button.lit { color: var(--film); background: var(--cream); border-color: var(--cream); }
.pick button:hover, .pick button:focus-visible { border-color: var(--tangerine); outline: none; }
.knob p { font-family: var(--book); font-style: italic; font-size: 13px; color: var(--dim); line-height: 1.55; }

/* the shooting script */
.pages { max-width: 760px; margin: 0 auto; background: var(--paper); color: var(--paperink); padding: 40px 56px; font-family: var(--type); font-size: 14px; line-height: 1.55; box-shadow: 0 20px 50px rgba(10, 8, 6, .6); }
.pages .ss-cue { text-align: center; text-transform: uppercase; margin-top: 16px; letter-spacing: .04em; }
.pages .ss-par { text-align: center; font-style: italic; }
.pages .ss-dia { margin: 0 auto; max-width: 30em; }
.pages .ss-act { margin-top: 14px; }

/* end titles */
.titles { position: relative; overflow: hidden; flex: 1; }
.roll { position: absolute; left: 0; right: 0; top: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 60px; }
.roll h2 { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--cream); margin: 26px 0 6px; }
.roll h3 { font-family: var(--type); font-weight: 400; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-top: 26px; }
.roll p { font-family: var(--book); font-size: 17px; color: var(--ink); max-width: 640px; line-height: 1.6; }
.roll .studio { font-family: var(--book); font-style: italic; font-size: 24px; color: var(--mustard); }

/* ---------------------------------------------------------------- the Purser's Office */
.purser { display: grid; grid-template-columns: 210px 1fr 300px; gap: 0; flex: 1; min-height: 0; }
.grille { height: 26px; background: repeating-linear-gradient(90deg, var(--brassdark) 0 3px, var(--brass) 3px 5px, var(--brassdark) 5px 8px, transparent 8px 22px), linear-gradient(var(--soot), var(--soot));
  border-bottom: 2px solid var(--brass); }
.holes { display: flex; flex-direction: column; gap: 0; border-right: 1px solid rgba(168, 132, 58, .35); background: var(--soot); }
.hole { text-align: left; padding: 14px 16px; font-family: var(--type); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim);
  border-bottom: 1px solid rgba(168, 132, 58, .22); box-shadow: inset 0 -6px 10px rgba(10, 8, 6, .35); }
.hole small { display: block; font-family: var(--book); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--faint); margin-top: 3px; }
.hole.lit { color: var(--cream); background: var(--umber); box-shadow: inset 3px 0 0 var(--tangerine); }
.hole:hover, .hole:focus-visible { color: var(--cream); outline: none; }
.counter { padding: 22px 26px 40px; overflow: auto; }
.wallet { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--type); font-size: 14px; letter-spacing: .08em; color: var(--ink); text-transform: uppercase; }
.wallet b { color: var(--mustard); font-weight: 400; }
.wares { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 16px; }
.ware { background: var(--paper); color: var(--paperink); padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 6px; border-left: 5px solid var(--tangerine); position: relative; }
.ware.owned { border-left-color: var(--olive); }
.ware .w-tier { font-family: var(--type); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--stubink); }
.ware .w-name { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.ware .w-blurb { font-family: var(--book); font-size: 13px; line-height: 1.5; color: #4a3f33; }
.ware .w-price { font-family: var(--type); font-size: 14px; letter-spacing: .02em; margin-top: 2px; }
.ware .w-price s { color: #8a7b66; }
.ware .w-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ware .w-acts button { font-family: var(--type); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 6px 9px; border: 1px solid rgba(45, 36, 27, .4); color: var(--paperink); transition: background .26s steps(4), color .26s steps(4); }
.ware .w-acts button:hover, .ware .w-acts button:focus-visible { background: var(--paperink); color: var(--paper); outline: none; }
.ware .w-acts button:disabled { opacity: .4; }
.ware .w-acts button:disabled:hover { background: transparent; color: var(--paperink); }
.ware .w-own { font-family: var(--book); font-style: italic; font-size: 13px; color: var(--olive); }
.ware.big { grid-column: 1 / -1; border-left-width: 8px; border-left-color: var(--mustard); }
.ware.big .w-name { font-size: 36px; }
.ware .sumrow { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; font-family: var(--type); font-size: 14px; max-width: 560px; }
.ware .sumrow .k { color: var(--stubink); }
.amount { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.amount input { width: 140px; padding: 7px 9px; font-family: var(--type); font-size: 15px; background: var(--cream); color: var(--paperink); border: 1px solid rgba(45, 36, 27, .5); }
.amount input:focus-visible { outline: 2px solid var(--tangerine); }
.chit { background: var(--soot); border-left: 1px solid rgba(168, 132, 58, .35); padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.chit-paper { background: var(--stub); color: var(--paperink); padding: 16px 16px 18px; font-family: var(--type); font-size: 14px; display: flex; flex-direction: column; gap: 6px; transform: rotate(.6deg);
  -webkit-mask: linear-gradient(#0a0806, #0a0806) top / 100% calc(100% - 6px) no-repeat, radial-gradient(circle 4px at 6px 100%, transparent 96%, #0a0806) bottom / 12px 6px repeat-x;
  mask: linear-gradient(#0a0806, #0a0806) top / 100% calc(100% - 6px) no-repeat, radial-gradient(circle 4px at 6px 100%, transparent 96%, #0a0806) bottom / 12px 6px repeat-x; }
.chit-paper h4 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px dashed rgba(45, 36, 27, .45); padding-bottom: 6px; }
.chit-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: baseline; }
.chit-row button { font-size: 12px; color: var(--stubink); padding: 0 2px; }
.chit-row.minus { color: var(--olive); }
.chit-sum { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid rgba(45, 36, 27, .5); padding-top: 6px; color: var(--stubink); }
.chit-empty { font-family: var(--book); font-style: italic; color: #5d5246; }
.chit .rm-note { font-size: 11px; }
.sign { font-family: var(--hand); font-size: 17px; padding: 10px 14px; color: var(--paperink); background: var(--cream); border: 1px solid var(--brass); transition: background .26s steps(4); }
.sign:hover, .sign:focus-visible { background: var(--mustard); outline: none; }
.sign:disabled { opacity: .45; }

/* ---------------------------------------------------------------- slips (questions and receipts) */
#slip { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 8, 6, .62); }
.slip { background: var(--paper); color: var(--paperink); max-width: 520px; width: 100%; padding: 22px 26px 22px; display: flex; flex-direction: column; gap: 10px;
  transform: rotate(-.7deg); box-shadow: 0 26px 60px rgba(10, 8, 6, .7); border-top: 6px solid var(--tangerine); animation: lod-slipin .4s cubic-bezier(.2, .8, .2, 1) both; max-height: calc(100vh - 32px); overflow: auto; }
@keyframes lod-slipin { from { transform: translateY(14px) rotate(-.7deg); opacity: 0; } to { transform: rotate(-.7deg); opacity: 1; } }
.slip h3 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.slip .sl-kind { font-family: var(--type); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--stubink); }
.slip p { font-family: var(--book); font-size: 15px; line-height: 1.55; color: #3b3128; }
.slip .sl-fig { font-family: var(--type); font-size: 14px; color: var(--paperink); }
.slip .sl-acts { display: flex; flex-direction: column; align-items: stretch; gap: 7px; margin-top: 6px; }
.slip .sl-acts button { font-family: var(--type); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 12px; text-align: left; border: 1px solid rgba(45, 36, 27, .45); transition: background .26s steps(4), color .26s steps(4); }
.slip .sl-acts button.main { background: var(--paperink); color: var(--paper); }
.slip .sl-acts button:hover, .slip .sl-acts button:focus-visible { background: var(--stubink); color: var(--stub); outline: none; }
.slip .sl-acts button:disabled { opacity: .4; }
.slip table { font-family: var(--type); font-size: 14px; border-collapse: collapse; width: 100%; }
.slip td { padding: 3px 0; vertical-align: top; }
.slip td + td { text-align: right; padding-left: 12px; white-space: nowrap; }
.slip tr.sum td { border-top: 1px solid rgba(45, 36, 27, .5); color: var(--stubink); padding-top: 6px; }
.slip .stamp { align-self: flex-end; font-family: var(--display); font-weight: 400; letter-spacing: .14em; font-size: 22px; color: var(--oxblood); border: 2px solid var(--oxblood); padding: 3px 10px; transform: rotate(-6deg); }

/* ---------------------------------------------------------------- portrait screens, phones in landscape */
#turn { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 30px; background: var(--house); text-align: center; }
#turn p { font-family: var(--book); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--ink); max-width: 340px; }
@media (orientation: portrait) and (max-width: 700px) { #turn { display: flex; } }
@media (max-height: 520px) {
  :root { --gutter: 6px; --stripH: 30px; }
  #strip { font-size: 11px; letter-spacing: .06em; }
  #controls button { padding: 6px 6px; font-size: 11px; letter-spacing: .04em; }
  .fy-in { top: 6%; bottom: 5%; }
  .fy-title { font-size: max(40px, 7.4cqw); }
  .fy-tag { margin-top: .4cqw; }
  .fy-menu .mi { padding: .2cqw 0; }
  .rm-head { padding: 12px 16px 10px; }
  .rm-title { font-size: 30px; }
  .rm-body { padding: 12px 16px 24px; }
  .purser { grid-template-columns: 124px 1fr 196px; }
  .chit { padding: 10px 10px 16px; gap: 8px; }
  .chit-paper { font-size: 12px; padding: 10px 10px 12px; }
  .chit-paper h4 { font-size: 20px; }
  .sign { font-size: 14px; padding: 7px 10px; }
  .wares { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .ware { padding: 10px 12px; }
  .ware .w-name { font-size: 21px; }
  .wallet { font-size: 12px; gap: 12px; }
  .hole { padding: 9px 10px; font-size: 11px; letter-spacing: .02em; }
  .hole small { display: none; }
  .counter { padding: 12px 14px 20px; }
  .pages { padding: 20px 24px; font-size: 13px; }
  .slip { padding: 14px 18px; gap: 7px; }
  .slip h3 { font-size: 24px; }
  .slip p { font-size: 13px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  :root { --stripH: 0px; --stripW: 92px; }
  #cinema { flex-direction: row; align-items: center; gap: 6px; }
  #screen { width: min(calc(100vw - 2 * var(--gutter) - var(--stripW) - 6px), calc((100vh - 2 * var(--gutter)) * 1.7778)); }
  #strip { width: var(--stripW); height: auto; flex-direction: column-reverse; align-items: stretch; justify-content: center; gap: 8px; font-size: 11px; }
  #controls { flex-direction: column; gap: 4px; }
  #controls button { min-height: 40px; padding: 8px 6px; font-size: 12px; letter-spacing: .06em; text-align: left; border: 1px solid rgba(239, 227, 200, .16); }
  #counter { text-align: center; font-size: 10px; letter-spacing: .04em; }
  .fy-in { max-width: 72%; }
  .fy-menu { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 18px; row-gap: 6px; }
  .fy-menu .ticket { grid-column: 1 / -1; justify-self: start; }
  .fy-menu .mi { min-height: 40px; padding: 8px 0; font-size: 14px; letter-spacing: .06em; text-align: left; }
  .opt-b { min-height: 40px; padding: 8px 10px; font-size: calc(15px * var(--subscale)); }
  ol.choices { gap: 6px; }
  .lod-line { min-height: 40px; padding: 8px 14px; font-size: 13px; }
  #sub { font-size: calc(15px * var(--subscale)); }
  #narr { font-size: calc(15px * var(--subscale)); padding: 4% 7% 4.4%; }
  #cap { font-size: 12px; }
  .letter .paper { font-size: 13px; line-height: 21px; background-image: repeating-linear-gradient(transparent 0 20px, rgba(110, 42, 37, .14) 20px 21px); }
  .clickhint { font-size: 12px; max-width: 46%; }
}
@media (max-width: 900px) and (min-height: 521px) {
  .purser { grid-template-columns: 1fr; }
  .holes { flex-direction: row; overflow-x: auto; }
  .chit { border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #gate, #screen.fx-8mm #gate, body.waiting #crank, body.rewinding #pic { animation: none; }
  .letter .paper p { animation: none; }
}

/* ---------------------------------------------------------------- the intermission: a reel not in this copy yet */
#card.on .intermission { text-align: center; max-width: 34em; padding: 0 var(--gutter); }
.intermission .im-frame { display: inline-block; padding: .2em 1.1em .1em; border-top: 2px solid var(--mustard); border-bottom: 2px solid var(--mustard); }
.intermission .im-word { font-family: var(--display); font-size: clamp(34px, 9cqw, 120px); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); line-height: 1; }
.intermission .im-reel { margin-top: 1.1em; font-family: var(--type); font-size: clamp(11px, 1.45cqw, 19px); letter-spacing: .16em; text-transform: uppercase; color: var(--mustard); }
.intermission .im-text { margin-top: 1.2em; font-family: var(--book); font-style: italic; font-size: clamp(14px, 2.2cqw, 30px); line-height: 1.45; color: var(--subink); }
.intermission .im-note { margin-top: .9em; font-family: var(--book); font-size: clamp(11px, 1.35cqw, 18px); line-height: 1.5; color: var(--dim); }
.intermission .im-lines { margin-top: 1.6em; display: flex; justify-content: center; }
