/* Prelinger story: the hero's reel card, small multiples, the film card, the transcript finder. */
.reel { justify-self: center; width: min(420px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 16px; box-shadow: var(--elevation-3); transform: rotate(1deg); display: grid; gap: 14px; }
.reel .plate.still { box-shadow: none; border: 0; padding: 0; background: transparent; }
.plate.still img { width: 100%; max-width: 360px; image-rendering: auto; border-radius: 8px; }
.reel-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.reel-figs div { background: var(--cream); border-radius: var(--radius-row); padding: 8px 10px; }
.reel-figs dt { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sage-text); }
.reel-figs dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--navy); line-height: 1.1; }
.multiples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.small-multiple { display: grid; gap: 4px; min-width: 0; }
.small-multiple h4 { margin: 0; font-size: .95rem; color: var(--navy); }
.small-multiple .sub { font-size: .8rem; color: var(--muted); }
.film-card { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: var(--space-5); align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 18px; }
.film-card .plate.still { box-shadow: none; }
.film-card .facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 18px; }
.film-card .facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sage-text); }
.film-card .facts dd { margin: 2px 0 0; color: var(--ink); }
.film-card .watch { grid-column: 2; font-weight: 600; }
.find { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.find label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.find input { font: inherit; font-size: .92rem; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--panel); color: var(--ink); min-height: 40px; min-width: min(260px, 100%); }
.find .count { font-size: .84rem; color: var(--muted); flex: 1 1 14rem; min-width: 0; line-height: 1.5; min-height: 1.5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* a fixed basis: on its line or the next, whatever it says */
.film-cues { max-height: 34rem; overflow-y: auto; padding-right: 12px; }
.film-cues .cue.miss { opacity: .35; }
.film-cues .cue mark { background: var(--orange-light); color: var(--orange-text); text-decoration: none; }
@media (max-width: 900px) {
  .multiples { grid-template-columns: 1fr; }
  .film-card { grid-template-columns: 1fr; }
  .film-card .watch { grid-column: auto; }
}
@media (max-width: 560px) { .chart-wrap > svg.hbars[viewBox^="0 0 700"] { min-width: 600px; } }
