:root {
  --red: #e2231a;
  --slate: #2c3341;
  --slate-2: #353d4c;
  --pill-grey: #4b5260;
  --ink: #1b191a;
  --ink-2: #242123;
  --line: #3b3739;
  --text: #ffffff;
  --muted: #a7a3a5;
  --blue: #1c6fc4;
  --ok: #6fd39a;
  --err: #ff8a80;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); line-height: 1.5; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 13vw, 246px); }
.muted { color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 2px solid #6db3ff; outline-offset: 3px; }

/* ---------- Red brand strip ---------- */
.brandbar { background: var(--red); }
.brandbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { width: 46px; height: 46px; flex: none; }
.brand-text { display: inline-flex; flex-direction: column; align-items: stretch; line-height: 1; }
.brand-main {
  font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: 1.85rem; letter-spacing: 0.01em; line-height: 1;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.brand-sub {
  text-transform: uppercase; font-size: 0.72rem; font-weight: 600; margin-top: 4px;
  display: flex; justify-content: space-between; /* letters spread to the width of "Odd Friday" */
}
.venue { display: flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.venue strong { font-weight: 700; }

/* ---------- Nav ---------- */
.mainnav { background: var(--slate); }
.mainnav-inner { display: flex; justify-content: center; align-items: center; gap: 22px; height: 66px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: 2px solid transparent; background: none;
}
.pill-outline { border-color: #fff; }
.pill-grey {
  background: var(--pill-grey); color: #c9ccd2; padding: 10px 18px;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem;
}
.pill-grey:hover { color: #fff; }
.navlink { font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.navlink:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Highlights carousel ---------- */
.highlights { background: linear-gradient(var(--slate), var(--slate-2)); padding: 14px 0 22px; overflow: hidden; }
.kicker { margin: 0 0 14px; font-size: 0.75rem; font-weight: 500; }

.carousel { position: relative; height: min(504px, 54vw); }
.slide {
  position: absolute; top: 0; left: 50%;
  width: min(926px, 88vw); height: 100%;
  border-radius: 10px; overflow: hidden;
  background: #11151f center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  transition: transform 0.55s cubic-bezier(.2,.7,.2,1), filter 0.55s, opacity 0.55s;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) scale(0.6);
}
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0) 70%);
}
.slide.fallback {
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(226,35,26,0.35), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(28,111,196,0.35), transparent 55%),
    linear-gradient(135deg, #1d2333, #0e1118);
}
.slide .ghost {
  position: absolute; left: 32px; right: 32px; top: 12%;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.5rem, 11vw, 10rem); line-height: 0.9; color: rgba(255,255,255,0.06);
  overflow: hidden; max-height: 2em;
}
.slide[data-pos="0"]  { transform: translateX(-50%) scale(1); opacity: 1; z-index: 3; pointer-events: auto; }
.slide[data-pos="1"]  { transform: translateX(calc(-50% + 20%)) scale(0.86); opacity: 1; z-index: 2; filter: brightness(0.55); pointer-events: auto; }
.slide[data-pos="-1"] { transform: translateX(calc(-50% - 20%)) scale(0.86); opacity: 1; z-index: 2; filter: brightness(0.55); pointer-events: auto; }
.slide[data-pos="2"]  { transform: translateX(calc(-50% + 35%)) scale(0.74); opacity: 1; z-index: 1; filter: brightness(0.4); }
.slide[data-pos="-2"] { transform: translateX(calc(-50% - 35%)) scale(0.74); opacity: 1; z-index: 1; filter: brightness(0.4); }

.slide-date {
  position: absolute; top: 34px; left: 32px; z-index: 1;
  background: #fff; color: #000; font-weight: 700; font-size: 1.05rem;
  padding: 1px 6px; line-height: 1.4;
}
.slide-body {
  position: absolute; left: 32px; right: 32px; bottom: 30px; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.slide-title {
  margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-style: italic;
  text-transform: uppercase; font-size: clamp(2rem, 5.2vw, 4rem); line-height: 0.92;
  letter-spacing: -0.01em; text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.slide-title.tba { color: rgba(255,255,255,0.7); }
.slide-tagline { margin: 0; font-size: 0.95rem; font-weight: 500; }
.slide-tagline a { text-decoration: underline; text-underline-offset: 3px; }

.ticket-btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  border: 2px solid #fff; border-radius: 999px; background: transparent;
  padding: 7px 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  font-size: 0.85rem; text-decoration: none; color: #fff;
}
.ticket-btn.lg { padding: 14px 26px; font-size: 1.05rem; }
.ticket-btn:hover { background: #fff; color: #000; }

.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; }
.round {
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: #565c68; display: grid; place-items: center;
}
.round:hover { background: #6c7380; }
.dots-pill { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 3px 10px 3px 3px; }
.pause { width: 26px; height: 26px; border-radius: 50%; border: 0; background: #000; color: #fff; display: grid; place-items: center; }
.pause .icon { width: 14px; height: 14px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 6px; height: 6px; border-radius: 50%; border: 0; padding: 0; background: #c8c8c8; }
.dots button[aria-current="true"] { background: #000; }

/* ---------- Programme ---------- */
.programme-area { background: var(--ink); padding-top: 30px; }
.segmented { display: inline-flex; border: 1px solid #5b5759; border-radius: 999px; margin-bottom: 26px; }
.segmented button {
  border: 1px solid transparent; background: none; border-radius: 999px;
  padding: 7px 24px; font-weight: 700; font-size: 0.85rem; color: #c3bfc1;
}
.segmented button[aria-selected="true"] { border-color: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px var(--blue); }

.row-wrap { position: relative; }
.poster-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 218px);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 12px; scrollbar-width: none;
}
.poster-row::-webkit-scrollbar { display: none; }
.empty { color: var(--muted); padding: 40px 0; }
.row-arrow {
  position: absolute; right: -28px; top: 150px; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: var(--blue); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
.row-arrow.left { right: auto; left: -28px; }
.row-arrow[hidden] { display: none; }

.card { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; }
.poster {
  position: relative; width: 100%; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(226,35,26,0.35), transparent 60%),
    linear-gradient(160deg, #2e3445, #131620 75%);
  display: flex; align-items: flex-end;
}
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster .placeholder {
  position: relative; padding: 16px; font-family: var(--display); font-weight: 700; font-style: italic;
  text-transform: uppercase; font-size: 1.6rem; line-height: 0.95;
}
.poster .placeholder.tba { color: rgba(255,255,255,0.55); }
.badge {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  background: #000; color: #fff; font-weight: 700; font-size: 0.72rem;
  padding: 1px 5px; letter-spacing: 0.03em;
}
.card-meta { margin: 10px 0 8px; font-size: 0.8rem; color: var(--muted); text-align: center; }
.card-meta strong { color: #fff; font-weight: 600; }
.card-meta strong.friday13 { color: #ff4d42; }
.going { margin: -2px 0 10px; font-size: 0.78rem; color: var(--muted); text-align: center; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.going strong { color: #fff; font-weight: 600; }
.card-actions { display: flex; gap: 8px; align-items: center; }
.info-btn { border: 0; background: none; padding: 0; display: grid; place-items: center; }
.info-btn .icon { width: 26px; height: 26px; }
.info-btn:hover { color: #6db3ff; }

/* ---------- RSVP ---------- */
.rsvp { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.rsvp h2 {
  margin: 0 0 24px; font-family: var(--display); font-weight: 700; font-style: italic;
  text-transform: uppercase; font-size: 2.2rem; line-height: 1.05;
}
.rsvp > p { margin: 0 0 26px; }
form { display: grid; gap: 18px; max-width: 640px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: end; }
.field { display: grid; gap: 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.check { display: flex; gap: 10px; align-items: center; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; border: 1px solid #5b5759; border-radius: 999px; padding: 7px 18px; font-weight: 600; font-size: 0.88rem; }
.chip input:checked + span { background: #fff; color: #000; border-color: #fff; }
.chip input:focus-visible + span { outline: 2px solid #6db3ff; outline-offset: 3px; }

input[type="text"], input[type="number"], select, textarea {
  width: 100%; background: var(--ink-2); color: var(--text);
  border: 1px solid #4a4648; border-radius: 8px; padding: 11px 12px; font: inherit; font-weight: 400;
}
textarea { resize: none; height: 96px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
input[type="checkbox"] { accent-color: var(--red); width: 18px; height: 18px; }
.pill-solid {
  justify-self: start; background: var(--red); border-color: var(--red); color: #fff;
  padding: 12px 24px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.88rem;
}
.pill-solid:hover { filter: brightness(1.1); }
.pill-solid:disabled { opacity: 0.6; cursor: wait; }

.honeypot { display: none; }
.status { margin: 0; min-height: 1.5em; }
.status.ok { color: var(--ok); }
.status.error { color: var(--err); }

footer { padding-top: 48px; padding-bottom: 48px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .brand-main { font-size: 1.5rem; }
  .logo { width: 38px; height: 38px; }
  .venue span { font-size: 0.82rem; }
  .mainnav-inner { justify-content: space-between; gap: 8px; }
  .pill-grey { padding: 8px 12px; letter-spacing: 0.06em; }
  .navlink { white-space: nowrap; font-size: 0.85rem; }
  .navlink .long { display: none; }
  .carousel { height: 420px; }
  .slide { width: 90vw; }
  .slide[data-pos="1"], .slide[data-pos="-1"], .slide[data-pos="2"], .slide[data-pos="-2"] { opacity: 0; }
  .slide-body { flex-direction: column; align-items: flex-start; left: 20px; right: 20px; bottom: 22px; }
  .slide-date { left: 20px; top: 20px; }
  .ticket-btn.lg { padding: 10px 20px; font-size: 0.9rem; }
  .row-arrow { display: none; }
  .poster-row { grid-auto-columns: 46%; }
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  html, .poster-row { scroll-behavior: auto; }
}

/* ---------- Movie details: slides ---------- */
.slide.poster-only { background: #0d1018; }
.slide-blur {
  position: absolute; inset: -30px; background: center / cover no-repeat;
  filter: blur(26px) brightness(0.55) saturate(1.2); transform: scale(1.1);
}
.slide-poster {
  position: absolute; z-index: 1; top: 50%; right: 40px; transform: translateY(-50%);
  height: 78%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}
.slide::after { z-index: 0; }
.slide-date, .slide-body { z-index: 2; }
.slide.poster-only .slide-body { right: calc(40px + 0.78 * min(504px, 54vw) * 2 / 3 + 32px); flex-direction: column; align-items: flex-start; }
.slide-facts { margin: -8px 0 8px; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.slide-actions { display: flex; gap: 10px; flex: none; }
.slide-body > div:first-child { min-width: 0; flex: 1 1 auto; }
.ghost-btn { background: rgba(0,0,0,0.25); }

/* ---------- Movie details: cards ---------- */
button.poster { border: 0; padding: 0; cursor: pointer; text-align: left; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
button.poster:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.5); }
.card-title { margin: 12px 0 0; font-weight: 700; font-size: 0.95rem; text-align: center; line-height: 1.3; }
.card-sub { margin: 2px 0 0; font-size: 0.78rem; color: var(--muted); text-align: center; }
.card-title + .card-sub + .card-meta { margin-top: 6px; }

/* ---------- Movie details dialog ---------- */
.modal {
  width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  padding: 0; border: 0; border-radius: 12px; background: #1f1c1e; color: var(--text);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); overflow: hidden;
}
.modal::backdrop { background: rgba(5,7,12,0.75); backdrop-filter: blur(4px); }
.modal-inner { max-height: calc(100vh - 48px); overflow-y: auto; position: relative; }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,0.6); color: #fff; font-size: 1.6rem; line-height: 1;
}
.modal-close:hover { background: #000; }
.modal-hero {
  position: relative; aspect-ratio: 16 / 9; max-height: 56vh; width: 100%;
  background: #0d1018; overflow: hidden; display: grid; place-items: center;
}
.modal-hero::before {
  content: ""; position: absolute; inset: 0; background: var(--hero, none) center / cover no-repeat;
}
.modal-hero.blurred::before { inset: -40px; filter: blur(30px) brightness(0.5); }
.modal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #1f1c1e 0%, transparent 45%); pointer-events: none; }
.play-trailer {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px;
  border: 0; background: none; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem;
}
.play-circle {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.15s;
}
.play-circle .icon { width: 34px; height: 34px; margin-left: 4px; }
.play-trailer:hover .play-circle { transform: scale(1.08); }

.modal-body { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 0 32px 32px; margin-top: -70px; position: relative; z-index: 1; }
.modal-poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 14px 34px rgba(0,0,0,0.6); }
.modal-info { padding-top: 78px; }
.modal-body:not(:has(.modal-poster)) { grid-template-columns: 1fr; }
.modal-info h2 {
  margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1;
}
.modal-info h2.tba { color: var(--muted); }
.facts { margin: 0 0 16px; color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.description { margin: 0 0 18px; line-height: 1.6; }
.credits, .screening dl { margin: 0; display: grid; gap: 6px; }
.credits div, .screening dl div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; font-size: 0.9rem; }
.credits dt, .screening dt { color: var(--muted); }
.credits dd, .screening dd { margin: 0; }
.screening { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.02); }
.screening-title { margin: 0 0 10px; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #ff6b63; }
.screening a { color: #8cc3ff; }
.modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }

.credit { padding-top: 40px; padding-bottom: 32px; margin: 0; font-size: 0.75rem; color: #77727a; }
.credit a { color: inherit; }

@media (max-width: 760px) {
  .slide-poster { display: none; }
  .slide.poster-only .slide-body { right: 20px; }
  .slide-blur { filter: blur(0) brightness(0.55); inset: 0; transform: none; background-position: center 20%; }
  .modal { width: 100vw; max-height: 100vh; border-radius: 0; }
  .modal-inner { max-height: 100vh; }
  .modal-body { grid-template-columns: 96px 1fr; gap: 0 16px; padding: 0 18px 24px; margin-top: -24px; align-items: end; }
  .modal-info { display: contents; }
  .modal-poster { grid-row: 1 / span 2; }
  .modal-info h2, .modal-info .facts { grid-column: 2; }
  .modal-info .facts { margin-bottom: 4px; align-self: start; }
  .modal-info .description, .modal-info .credits, .modal-info .screening, .modal-info .modal-actions { grid-column: 1 / -1; }
  .modal-info .description { margin-top: 18px; }
  .play-circle { width: 60px; height: 60px; }
}

/* ---------- "Which Friday?" picker ---------- */
.picker { position: relative; }
.picker-button, .picker-list li { display: flex; align-items: center; gap: 12px; text-align: left; }
.picker-button {
  width: 100%; background: var(--ink-2); color: var(--text);
  border: 1px solid #4a4648; border-radius: 8px; padding: 8px 12px; cursor: pointer;
}
.picker-button:hover { border-color: #6a6668; }
.picker-button[aria-expanded="true"] { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; }
.picker-button .chevron { margin-left: auto; transform: rotate(90deg); transition: transform 0.15s; color: var(--muted); }
.picker-button[aria-expanded="true"] .chevron { transform: rotate(-90deg); }
.picker img, .thumb-ph {
  width: 30px; height: 45px; object-fit: cover; border-radius: 3px; flex: none;
  background: linear-gradient(160deg, #2e3445, #131620);
}
.picker-text { display: grid; min-width: 0; line-height: 1.3; }
.picker-text strong { font-weight: 600; font-size: 0.92rem; }
.picker-text span { font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker-list {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0;
  max-height: 340px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: #262225; border: 1px solid #4a4648; border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55); outline: none;
}
.picker-list[hidden] { display: none; }
.picker-list li { padding: 7px 10px; border-radius: 6px; cursor: pointer; }
.picker-list li.active { background: rgba(255,255,255,0.08); }
.picker-list li[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--red); }
.picker-list li[aria-selected="true"] strong { color: #ff6b63; }

/* ---------- Scrollbars: dark, slim, matching the site ---------- */
:root { color-scheme: dark; }
html, .modal-inner, .picker-list {
  scrollbar-width: thin;
  scrollbar-color: #5a5558 transparent;
}
.modal-inner::-webkit-scrollbar, .picker-list::-webkit-scrollbar { width: 10px; }
.modal-inner::-webkit-scrollbar-track, .picker-list::-webkit-scrollbar-track { background: transparent; }
.modal-inner::-webkit-scrollbar-thumb, .picker-list::-webkit-scrollbar-thumb {
  background: #5a5558; border-radius: 999px; border: 3px solid transparent; background-clip: padding-box;
}
.modal-inner::-webkit-scrollbar-thumb:hover, .picker-list::-webkit-scrollbar-thumb:hover { background-color: #77727a; }

/* ---------- Trailer inside the details window ---------- */
.modal-hero.playing {
  aspect-ratio: auto; max-height: none; display: block;
  padding: 0 24px 24px; background: #121013;
}
.modal-hero.playing::before, .modal-hero.playing::after { display: none; }
.player-bar {
  display: flex; align-items: center; gap: 16px; height: 64px; width: 100%; padding-right: 52px; /* room for the × */
}
.player-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #ff6b63;
}
.player-label .icon { width: 14px; height: 14px; }
.player-hide {
  margin-left: auto; border: 1px solid #5b5759; background: none; border-radius: 999px;
  padding: 6px 14px; font-size: 0.8rem; font-weight: 600; color: #ddd;
}
.player-hide:hover { border-color: #fff; color: #fff; }
.player-box {
  position: relative; aspect-ratio: 16 / 9;
  width: min(100%, calc((100vh - 220px) * 16 / 9)); margin: 0 auto;
  background: #000; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}
.player-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-hero.playing + .modal-body { margin-top: 0; }
.modal-hero.playing + .modal-body .modal-info { padding-top: 28px; }
.modal-hero.playing + .modal-body .modal-poster { margin-top: 28px; }
@media (max-width: 760px) {
  .modal-hero.playing { padding: 0 12px 16px; }
  .player-bar { height: 58px; }
  .modal-hero.playing + .modal-body { margin-top: 0; }
  .modal-hero.playing + .modal-body .modal-info, .modal-hero.playing + .modal-body .modal-poster { padding-top: 0; margin-top: 0; }
  .modal-hero.playing + .modal-body .modal-poster { margin-top: 18px; }
}

/* ---------- Review scores ---------- */
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 6px; }
.score {
  display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-top: 3px solid var(--accent-c, #888);
  transition: background 0.15s, transform 0.15s;
}
a.score:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.score-site { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-c); }
.score-value { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; }
.score-value small { font-size: 0.9rem; color: var(--muted); margin-left: 1px; }
.score-sub { font-size: 0.72rem; color: var(--muted); }
.score.rt { --accent-c: #fa320a; }
.score.mc { --accent-c: #66cc33; }
.score.mc.mixed { --accent-c: #ffcc33; }
.score.mc.bad { --accent-c: #ff0000; }
.score.mc .score-value b {
  display: inline-grid; place-items: center; min-width: 40px; height: 36px; border-radius: 6px; margin: 2px 0;
  background: var(--accent-c); color: #111; font-family: "Montserrat", sans-serif; font-size: 1.2rem; font-weight: 800;
}
.score.imdb { --accent-c: #f5c518; }
.scores-note { margin: 0 0 16px; font-size: 0.72rem; color: #77727a; }

@media (max-width: 760px) { .scores { grid-template-columns: 1fr 1fr; } }

/* ---------- Equal-height poster cards ---------- */
.card-title {
  /* always reserve two lines, so cards with one- and two-line titles line up */
  min-height: calc(2 * 1.3em);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  width: 100%;
}
.card { height: 100%; }
.card-actions { margin-top: auto; padding-top: 2px; }
.card-meta, .going {
  width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; -webkit-line-clamp: unset;
}
.card-title.tba { color: var(--muted); font-style: italic; font-weight: 600; }

/* ---------- Past screenings (tab in the programme) ---------- */
.past-summary { margin: -12px 0 22px; color: var(--muted); font-size: 0.9rem; }
.season-over { margin: 0 0 22px; font-size: 1.05rem; font-weight: 600; }
.past-card .poster { filter: saturate(0.85); }
.past-card .poster:hover { filter: none; }

/* ---------- Pop-up: lock the page behind it ---------- */
html.modal-open, html.modal-open body { overflow: hidden; }
html.modal-open body { position: fixed; left: 0; right: 0; width: 100%; }
.modal-inner { overscroll-behavior: contain; }
.nowrap { white-space: nowrap; }

/* ---------- Mobile polish ---------- */
@media (max-width: 760px) {
  /* Red bar: just the pin and the place, on one line */
  .venue-label { display: none; }
  .venue { max-width: 42vw; font-size: 0.85rem; }
  .venue span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Pop-up becomes a full-screen sheet that fits the visible screen */
  .modal {
    position: fixed; inset: 0; margin: 0;
    width: 100%; max-width: none;
    height: 100vh; height: 100dvh; max-height: none;
    border-radius: 0;
  }
  .modal-inner {
    height: 100%; max-height: none;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
  }
  /* Close button always reachable */
  .modal-close {
    position: fixed; z-index: 10;
    top: calc(env(safe-area-inset-top) + 10px); right: 10px;
    width: 44px; height: 44px; background: rgba(0, 0, 0, 0.7);
  }

  /* Score tiles: three in a row, compact */
  .scores { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .score { padding: 8px 8px 9px; border-top-width: 3px; }
  .score-site { font-size: 0.56rem; letter-spacing: 0.04em; line-height: 1.25; min-height: 2.5em; }
  .score-value { font-size: 1.35rem; }
  .score.mc .score-value b { min-width: 34px; height: 30px; font-size: 1rem; }
  .score-sub { font-size: 0.64rem; line-height: 1.3; }
}
@media (max-width: 760px) {
  .modal-info .scores, .modal-info .scores-note { grid-column: 1 / -1; }
  .modal-info .scores { margin-top: 16px; }
}
