
:root {
  --ink: #171715;
  --paper: #f3efe7;
  --paper-strong: #fbf8f2;
  --paper-muted: #e9e3d9;
  --line: rgba(23, 23, 21, 0.16);
  --line-strong: rgba(23, 23, 21, 0.34);
  --accent: #c54332;
  --accent-dark: #8f2a20;
  --accent-soft: #f0d6ce;
  --green: #2f6f59;
  --yellow: #d6a83a;
  --blue: #376f89;
  --shadow: 0 14px 42px rgba(25, 22, 18, 0.13);
  --shadow-small: 0 7px 22px rgba(25, 22, 18, 0.11);
  --radius-xs: 7px;
  --radius-sm: 11px;
  --radius-md: 17px;
  --radius-lg: 26px;
  --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Newsreader", Georgia, serif;
  --header-height: 62px;
  --mobile-nav-height: 66px;
  --content-max: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 0 0, rgba(197, 67, 50, 0.065), transparent 34rem),
    linear-gradient(180deg, var(--paper-strong), var(--paper));
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Shell */

.site-shell {
  min-height: 100vh;
  padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 244, 237, 0.92);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  height: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.brand-mark {
  width: 28px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 38%, var(--ink) 38% 45%, transparent 45% 55%, var(--ink) 55% 62%, transparent 62%),
    var(--paper-strong);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 9px);
}

.brand-mark::before { top: 4px; }
.brand-mark::after { bottom: 4px; }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-size: 14px;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-subtitle {
  margin-top: 4px;
  color: rgba(23, 23, 21, 0.58);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 19px;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--line);
  background: var(--paper-strong);
}

.header-nav {
  display: none;
}

.main-content {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 16px 14px 42px;
}

.page-enter {
  animation: page-enter 180ms ease-out;
}

@keyframes page-enter {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Controls */

.context-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.location-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  padding: 3px 1px;
  font-weight: 650;
  cursor: pointer;
}

.location-button .location-detail {
  color: rgba(23, 23, 21, 0.58);
  font-weight: 500;
}

.count-note {
  color: rgba(23, 23, 21, 0.58);
  font-size: 12px;
  text-align: right;
}

.segmented-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -14px;
  padding: 0 14px;
}

.segmented-scroll::-webkit-scrollbar {
  display: none;
}

.segmented {
  display: inline-flex;
  min-width: max-content;
  padding: 3px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.segmented button {
  border: 0;
  background: transparent;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.segmented button.active {
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-small);
}

.primary-controls {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mode-segmented {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.mode-segmented button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 12px 4px 11px;
  text-transform: uppercase;
  letter-spacing: 0.085em;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.mode-segmented button::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
}

.mode-segmented button.active::after {
  background: var(--accent);
}

.view-switcher {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255,255,255,0.45);
}

.view-switcher button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
}

.view-switcher button.active {
  background: var(--paper-strong);
  box-shadow: 0 2px 9px rgba(0,0,0,0.1);
}

.quick-filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 1px 5px;
  scrollbar-width: none;
}

.quick-filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.44);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.filter-chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.filter-chip.accent {
  border-color: rgba(197, 67, 50, 0.34);
  color: var(--accent-dark);
  background: rgba(240, 214, 206, 0.6);
}

.filter-chip.accent.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0 12px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
  font-weight: 650;
}

.section-meta {
  margin: 0;
  font-size: 12px;
  color: rgba(23,23,21,0.58);
}

/* Poster grid */

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.poster-tile {
  position: relative;
  aspect-ratio: 2 / 3;
  border: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #d8d2c9;
  box-shadow: 0 2px 7px rgba(22, 21, 19, 0.18);
  transform: translateZ(0);
}

.poster-tile:hover,
.poster-tile:focus-visible {
  z-index: 4;
  outline: none;
}

.poster-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(22, 21, 19, 0.25);
}

.poster-image,
.poster-placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.poster-image {
  object-fit: cover;
  background: #ddd;
}

.poster-placeholder {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 12px 9px;
  color: white;
  isolation: isolate;
  text-align: left;
}

.poster-placeholder::before,
.poster-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.poster-placeholder::before {
  inset: -18%;
  background:
    repeating-linear-gradient(120deg, transparent 0 13px, rgba(255,255,255,0.13) 13px 14px),
    radial-gradient(circle at 72% 26%, rgba(255,255,255,.23) 0 8%, transparent 8.5%),
    radial-gradient(circle at 26% 74%, rgba(0,0,0,.24) 0 22%, transparent 22.5%);
  transform: rotate(-4deg);
}

.poster-placeholder::after {
  inset: auto 0 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}

.poster-placeholder-title {
  font-family: var(--font-display);
  font-size: clamp(14px, 4vw, 21px);
  line-height: 0.96;
  font-weight: 650;
  text-wrap: balance;
  position: relative;
  z-index: 1;
}

.poster-placeholder-year {
  display: block;
  margin-top: 7px;
  font-family: var(--font-sans);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .78;
}

.cover-1 { background: linear-gradient(145deg, #1c1f28, #77513f 55%, #c79a59); }
.cover-2 { background: linear-gradient(145deg, #5a1524, #d94d52 53%, #f0b591); }
.cover-3 { background: linear-gradient(160deg, #163039, #4b766c 55%, #c6b48c); }
.cover-4 { background: linear-gradient(145deg, #3b302f, #865e4d 55%, #d9bd92); }
.cover-5 { background: linear-gradient(145deg, #176e87, #29a8ad 52%, #f4ca68); }
.cover-6 { background: linear-gradient(145deg, #28336b, #4169a8 55%, #f0b944); }
.cover-7 { background: linear-gradient(145deg, #421b1e, #b7382c 55%, #ef9f42); }
.cover-8 { background: linear-gradient(145deg, #1d2520, #57695c 58%, #b3a27b); }
.cover-9 { background: linear-gradient(145deg, #111, #363636 64%, #922f2f); }
.cover-10 { background: linear-gradient(145deg, #0f403a, #2c7d65 58%, #c5d098); }
.cover-11 { background: linear-gradient(145deg, #663419, #ce7a37 54%, #f1d6a0); }
.cover-12 { background: linear-gradient(145deg, #19375a, #4d7294 54%, #dda757); }
.cover-13 { background: linear-gradient(145deg, #2a273d, #695875 58%, #c7a7a4); }
.cover-14 { background: linear-gradient(145deg, #253e69, #4477a5 55%, #efb74c); }
.cover-15 { background: linear-gradient(145deg, #5e1c22, #b73d45 58%, #e7b573); }
.cover-16 { background: linear-gradient(145deg, #1f5752, #4c9180 58%, #d7c077); }
.cover-17 { background: linear-gradient(145deg, #42311b, #a76e2c 58%, #e3c168); }
.cover-18 { background: linear-gradient(145deg, #154054, #257d8d 58%, #aac9bd); }
.cover-19 { background: linear-gradient(145deg, #2a3120, #6d783d 58%, #cfbc6f); }
.cover-20 { background: linear-gradient(145deg, #332559, #6d5790 58%, #d8a8ae); }
.cover-21 { background: linear-gradient(145deg, #4a1e1e, #a84433 58%, #dfb466); }
.cover-22 { background: linear-gradient(145deg, #19374d, #3e7a8e 55%, #e3b655); }
.cover-23 { background: linear-gradient(145deg, #210d12, #671d2b 55%, #c74c3f); }
.cover-24 { background: linear-gradient(145deg, #3f243d, #8d5a7b 55%, #e0b991); }
.cover-25 { background: linear-gradient(145deg, #292714, #6f6b31 55%, #d4b75e); }
.cover-26 { background: linear-gradient(145deg, #111, #3d2422 55%, #a52a23); }
.cover-27 { background: linear-gradient(145deg, #2f4c3d, #679069 55%, #e2c46f); }
.cover-28 { background: linear-gradient(145deg, #3d331c, #8d6c31 55%, #d5a94c); }
.cover-29 { background: linear-gradient(145deg, #35241a, #9b4e2e 55%, #e9b142); }
.cover-30 { background: linear-gradient(145deg, #52231f, #a8553d 55%, #e6c08e); }
.cover-31 { background: linear-gradient(145deg, #18222c, #52657a 55%, #a87652); }
.cover-32 { background: linear-gradient(145deg, #16252b, #2f6670 55%, #c03a32); }
.cover-33 { background: linear-gradient(145deg, #26202f, #66526f 55%, #a54a4a); }

.poster-badges {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.poster-badge {
  border-radius: 4px;
  padding: 4px 5px;
  color: #fff;
  background: rgba(16,16,15,.87);
  backdrop-filter: blur(6px);
  font-size: 8px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.poster-badge.red {
  background: rgba(197, 67, 50, .94);
}

.poster-badge.gold {
  background: rgba(163, 116, 24, .94);
}

.poster-overlay {
  position: absolute;
  inset: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  background: linear-gradient(transparent 25%, rgba(0,0,0,.94));
  opacity: 0;
  transition: opacity 130ms ease;
  text-align: left;
}

.poster-tile:hover .poster-overlay,
.poster-tile:focus-visible .poster-overlay {
  opacity: 1;
}

.poster-overlay-title {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: .98;
  margin-bottom: 5px;
}

.poster-overlay-meta,
.poster-overlay-next {
  font-size: 10px;
  line-height: 1.35;
}

.poster-overlay-next {
  margin-top: 6px;
  color: rgba(255,255,255,.82);
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 34px 20px;
  text-align: center;
  background: rgba(255,255,255,.34);
}

.empty-state h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 25px;
}

.empty-state p {
  max-width: 440px;
  margin: 0 auto 16px;
  color: rgba(23,23,21,.65);
  font-size: 13px;
}

/* List */

.film-list {
  display: grid;
  gap: 8px;
}

.film-list-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.46);
  cursor: pointer;
}

.film-list-item:hover {
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-small);
}

.mini-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 6px;
  color: white;
  box-shadow: 0 2px 7px rgba(0,0,0,.2);
}

.mini-poster .poster-placeholder {
  padding: 7px 6px;
}

.mini-poster .poster-placeholder-title {
  font-size: 11px;
}

.mini-poster .poster-placeholder-year {
  display: none;
}

.list-film-title {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
}

.list-film-meta,
.list-film-next {
  font-size: 11px;
  color: rgba(23,23,21,.65);
}

.list-film-next {
  margin-top: 6px;
  color: var(--ink);
}

.list-action {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

/* Collections */

.collection-grid {
  display: grid;
  gap: 14px;
}

.collection-card {
  position: relative;
  min-height: 230px;
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  box-shadow: var(--shadow-small);
  cursor: pointer;
  border: 0;
  text-align: left;
}

.collection-card.sun {
  background:
    radial-gradient(circle at 85% 15%, #f2d36f 0 12%, transparent 12.5%),
    linear-gradient(145deg, #1a5f66, #d3643f);
}

.collection-card.spectrum {
  background:
    linear-gradient(105deg, rgba(255,255,255,.14), transparent 40%),
    linear-gradient(135deg, #8d2332, #bd5b2f 42%, #d7ad3a 68%, #2f6f72);
}

.collection-card.blue {
  background: linear-gradient(145deg, #183c58, #3c7792 58%, #bf9d5e);
}

.collection-card.red {
  background: linear-gradient(145deg, #311719, #9a342d 58%, #d99045);
}

.collection-eyebrow {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .8;
}

.collection-title {
  margin: 8px 0 2px;
  max-width: 85%;
  font-family: var(--font-display);
  font-size: 33px;
  line-height: .94;
}

.collection-subtitle {
  margin: 0;
  font-size: 12px;
  opacity: .8;
}

.collection-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.collection-description {
  margin: 0;
  max-width: 78%;
  font-size: 12px;
  line-height: 1.35;
  opacity: .9;
}

.collection-count {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 10px;
  white-space: nowrap;
}

/* Picks */

.picks-intro {
  max-width: 650px;
  margin-bottom: 22px;
}

.display-heading {
  margin: 8px 0 7px;
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 72px);
  line-height: .9;
  font-weight: 650;
  letter-spacing: -.025em;
}

.lede {
  margin: 0;
  max-width: 620px;
  color: rgba(23,23,21,.66);
  font-size: 14px;
  line-height: 1.5;
}

.pick-stack {
  display: grid;
  gap: 18px;
}

.pick-card {
  display: grid;
  grid-template-columns: minmax(100px, 36%) minmax(0,1fr);
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pick-poster {
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  cursor: pointer;
}

.pick-number {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 700;
}

.pick-title {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(27px, 8vw, 42px);
  line-height: .92;
}

.pick-note {
  margin: 0 0 15px;
  color: rgba(23,23,21,.7);
  font-size: 13px;
  line-height: 1.48;
}

/* Saved */

.saved-tabs {
  display: inline-flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.saved-tabs button {
  border: 0;
  background: transparent;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
}

.saved-tabs button.active {
  border-color: var(--accent);
}

/* Map */

.map-layout {
  display: grid;
  gap: 14px;
}

.map-panel {
  position: relative;
  min-height: 510px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 79%, #dce9eb 79% 100%),
    repeating-linear-gradient(0deg, rgba(23,23,21,.04) 0 1px, transparent 1px 27px),
    repeating-linear-gradient(90deg, rgba(23,23,21,.04) 0 1px, transparent 1px 27px),
    #ebe5da;
}

.map-panel::after {
  content: "LAKE MICHIGAN";
  position: absolute;
  right: 2.3%;
  top: 48%;
  transform: rotate(90deg);
  color: rgba(55,111,137,.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}

.map-road {
  position: absolute;
  height: 1px;
  background: rgba(23,23,21,.13);
  transform-origin: left;
}

.map-road.r1 { left: 4%; top: 23%; width: 75%; transform: rotate(7deg); }
.map-road.r2 { left: 7%; top: 56%; width: 72%; transform: rotate(-5deg); }
.map-road.r3 { left: 31%; top: 5%; width: 1px; height: 88%; }
.map-road.r4 { left: 59%; top: 8%; width: 1px; height: 84%; }
.map-road.r5 { left: 12%; top: 78%; width: 66%; transform: rotate(2deg); }

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid var(--paper-strong);
  border-radius: 50% 50% 50% 0;
  background: var(--ink);
  color: white;
  rotate: -45deg;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0,0,0,.24);
}

.map-marker span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  rotate: 45deg;
  font-size: 9px;
  font-weight: 700;
}

.map-marker.active {
  background: var(--accent);
  scale: 1.18;
  z-index: 4;
}

.map-results {
  min-width: 0;
}

.map-venue-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.5);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 10px;
}

.map-venue-card h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 24px;
}

.map-venue-card p {
  margin: 0;
  color: rgba(23,23,21,.62);
  font-size: 12px;
}

.map-film-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 12px 0 2px;
}

.map-film-strip button {
  width: 74px;
  flex: 0 0 74px;
  border: 0;
  padding: 0;
  aspect-ratio: 2 / 3;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(0,0,0,.2);
}

/* Admin */

.admin-shell {
  display: grid;
  gap: 18px;
}

.admin-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  color: white;
  background: linear-gradient(145deg, #181817, #3d3a35);
}

.admin-hero h1 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: .95;
}

.admin-hero p {
  margin: 0;
  max-width: 580px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.45;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button {
  border: 1px solid var(--line-strong);
  background: var(--paper-strong);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 650;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.button:hover {
  box-shadow: var(--shadow-small);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.button.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.button.ghost-light {
  color: white;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.24);
}

.button.danger {
  color: #fff;
  border-color: #9a2e27;
  background: #9a2e27;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  background: rgba(255,255,255,.48);
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 4px;
  color: rgba(23,23,21,.58);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.admin-tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.admin-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 11px 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-tabs button.active {
  border-color: var(--accent);
}

.admin-panel {
  min-width: 0;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-section-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 29px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.43);
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 11px;
}

.data-table th {
  color: rgba(23,23,21,.57);
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td {
  background: rgba(255,255,255,.55);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--paper-muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #777;
}

.status-pill.healthy::before { background: var(--green); }
.status-pill.needs-review::before { background: var(--yellow); }
.status-pill.manual-due::before { background: var(--accent); }
.status-pill.active::before { background: var(--green); }

.row-actions {
  display: flex;
  gap: 4px;
}

.small-button {
  border: 1px solid var(--line);
  background: var(--paper-strong);
  border-radius: 7px;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
}

.flag-list {
  display: grid;
  gap: 8px;
}

.flag-card {
  display: grid;
  grid-template-columns: 8px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px;
  background: rgba(255,255,255,.46);
}

.flag-severity {
  height: 100%;
  min-height: 46px;
  border-radius: 999px;
  background: #aaa;
}

.flag-severity.high { background: var(--accent); }
.flag-severity.medium { background: var(--yellow); }
.flag-severity.low { background: var(--blue); }

.flag-card h3 {
  margin: 0 0 3px;
  font-size: 13px;
}

.flag-card p {
  margin: 0;
  color: rgba(23,23,21,.62);
  font-size: 11px;
  line-height: 1.35;
}

.settings-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: rgba(255,255,255,.48);
  margin-bottom: 12px;
}

.settings-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 25px;
}

.settings-card p {
  margin: 0 0 14px;
  color: rgba(23,23,21,.62);
  font-size: 12px;
  line-height: 1.45;
}

.inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.inline-form input {
  min-width: 0;
  flex: 1;
}

/* Forms and modals */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 12, 11, .63);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  animation: fade-in 140ms ease;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  width: 100%;
  max-height: min(90vh, 880px);
  overflow-y: auto;
  background: var(--paper-strong);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow);
  animation: modal-up 180ms ease-out;
}

@keyframes modal-up {
  from { transform: translateY(20px); opacity: .8; }
  to { transform: none; opacity: 1; }
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 17px 12px;
  background: rgba(251,248,242,.94);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.modal-header p {
  margin: 4px 0 0;
  color: rgba(23,23,21,.58);
  font-size: 11px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
}

.modal-body {
  padding: 16px 17px 24px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-small);
}

.detail-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 45px);
  line-height: .9;
}

.detail-meta {
  margin: 7px 0 0;
  color: rgba(23,23,21,.64);
  font-size: 12px;
  line-height: 1.4;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.detail-section {
  margin-top: 22px;
}

.detail-section > .lede {
  color: var(--text-muted);
}

.detail-section h3 {
  margin: 0 0 9px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.showtime-group {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.showtime-group:first-of-type {
  border-top: 0;
}

.showtime-venue {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.showtime-venue h4 {
  margin: 0;
  font-size: 13px;
}

.showtime-venue span {
  color: rgba(23,23,21,.56);
  font-size: 10px;
}

.showtime-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.showtime-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.6);
  padding: 7px 9px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}

.showtime-button small {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 500;
  color: rgba(23,23,21,.58);
}

.showtime-booking-action {
  display: block;
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 800;
}

.showtime-button.multi-booking {
  min-width: 190px;
}

.booking-choice-links {
  display: grid;
  gap: 4px;
  margin-top: 7px;
}

.booking-choice-links a {
  border-top: 1px solid var(--line);
  padding-top: 5px;
  color: var(--accent);
  font-size: 9px;
  text-decoration: none;
}

.form-grid {
  display: grid;
  gap: 13px;
}

.form-grid.two {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 5px;
}

.field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  padding: 10px 11px;
  outline: none;
}

.field textarea {
  min-height: 86px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 67, 50, .12);
}

.field-help {
  color: rgba(23,23,21,.58);
  font-size: 10px;
  line-height: 1.35;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-chip label {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
}

.checkbox-chip input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.tmdb-results {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.tmdb-result {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.tmdb-thumb {
  width: 42px;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
  background: var(--paper-muted);
}

.tmdb-result h4 {
  margin: 0 0 2px;
  font-size: 12px;
}

.tmdb-result p {
  margin: 0;
  color: rgba(23,23,21,.58);
  font-size: 10px;
}

/* Search */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(248,244,237,.98);
  padding: max(14px, env(safe-area-inset-top)) 14px 80px;
  overflow-y: auto;
}

.search-top {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 850px;
  margin: 0 auto 18px;
}

.search-input {
  flex: 1;
  border: 1px solid var(--line-strong);
  background: white;
  border-radius: 999px;
  padding: 13px 16px;
  outline: none;
  font-size: 16px;
}

.search-results {
  max-width: 850px;
  margin: 0 auto;
}

/* Toast */

.toast-region {
  position: fixed;
  left: 50%;
  bottom: calc(var(--mobile-nav-height) + 14px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 200;
  display: grid;
  gap: 7px;
  width: min(90vw, 420px);
  pointer-events: none;
}

.toast {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(23,23,21,.94);
  color: white;
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 12px;
  animation: toast-in 180ms ease-out;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Mobile navigation */

.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  min-height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: rgba(248,244,237,.94);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.mobile-nav button {
  border: 0;
  background: transparent;
  padding: 8px 2px 6px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  color: rgba(23,23,21,.54);
  cursor: pointer;
}

.mobile-nav button.active {
  color: var(--ink);
}

.mobile-nav-icon {
  font-size: 18px;
  line-height: 1;
}

.mobile-nav-label {
  font-size: 9px;
  font-weight: 650;
}

/* Responsive */

@media (min-width: 520px) {
  .poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .admin-metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .form-grid.two {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .modal-backdrop {
    align-items: center;
    padding: 22px;
  }

  .modal {
    max-width: 720px;
    border-radius: 24px;
  }
}

@media (min-width: 760px) {
  .main-content {
    padding: 22px 22px 60px;
  }

  .site-header-inner {
    padding: 0 22px;
  }

  .brand-title {
    font-size: 15px;
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .header-nav button {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
  }

  .header-nav button.active {
    background: var(--ink);
    color: white;
  }

  .mobile-nav {
    display: none;
  }

  .site-shell {
    padding-bottom: 0;
  }

  .toast-region {
    bottom: 22px;
  }

  .primary-controls {
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .primary-controls .segmented-scroll {
    margin: 0;
    padding: 0;
  }

  .mode-row {
    min-width: 0;
  }

  .mode-segmented {
    border-bottom: 0;
    max-width: 460px;
  }

  .quick-filter-row {
    margin-top: 8px;
  }

  .poster-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }

  .poster-tile {
    border-radius: 10px;
  }

  .poster-placeholder {
    padding: 17px 12px;
  }

  .poster-placeholder-title {
    font-size: clamp(18px, 1.7vw, 27px);
  }

  .film-list-item {
    grid-template-columns: 78px minmax(0, 1fr) auto;
    padding: 10px;
  }

  .collection-card {
    min-height: 300px;
    padding: 24px;
  }

  .collection-title {
    font-size: 46px;
  }

  .pick-stack {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
  }

  .pick-card {
    display: block;
    border-bottom: 0;
  }

  .pick-poster {
    margin-bottom: 16px;
  }

  .pick-title {
    font-size: 35px;
  }

  .map-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(310px, .8fr);
  }

  .admin-hero {
    padding: 27px;
  }

  .admin-shell {
    gap: 22px;
  }

  .detail-hero {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .modal-body {
    padding: 22px 24px 28px;
  }

  .modal-header {
    padding: 19px 24px 14px;
  }
}

@media (min-width: 1120px) {
  .poster-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 11px;
  }

  .poster-grid.comfortable {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .collection-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }

  .admin-shell {
    grid-template-columns: 220px minmax(0,1fr);
  }

  .admin-hero,
  .admin-metrics {
    grid-column: 1 / -1;
  }

  .admin-tabs {
    display: grid;
    align-content: start;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 7px;
    background: rgba(255,255,255,.4);
  }

  .admin-tabs button {
    text-align: left;
    border: 0;
    border-radius: 8px;
  }

  .admin-tabs button.active {
    background: var(--ink);
    color: white;
  }
}

@media (hover: none) {
  .poster-overlay {
    display: none;
  }
}

/* Prototype v0.2 refinements */
.context-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}.hidden-manage-button{border:0;padding:4px 0;background:transparent;color:var(--accent);font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}.date-range-heading{align-items:flex-end}.date-range-text{margin:4px 0 0;color:rgba(23,23,21,.58);font-size:12px;font-weight:650}.poster-collection-mark{position:absolute;right:7px;bottom:7px;z-index:3;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:white;background:rgba(23,23,21,.84);backdrop-filter:blur(6px);font-size:12px;line-height:1;pointer-events:none}.saved-tabs-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.saved-tabs-row .saved-tabs{margin-bottom:0}.hidden-poster-tile{position:relative;display:grid;gap:7px;align-content:start}.hidden-poster-tile .poster-tile{width:100%}.restore-hidden-button{width:100%;border:1px solid var(--line);border-radius:7px;padding:7px 5px;background:var(--paper-strong);font-size:10px;font-weight:750;cursor:pointer}.hidden-notice{margin-bottom:15px;border:1px solid rgba(197,67,50,.28);border-radius:9px;padding:10px 12px;background:rgba(197,67,50,.08);color:#7c291f;font-size:12px;line-height:1.4;font-weight:650}.source-schedule-link{display:inline-block;margin-top:4px;color:var(--accent);font-size:10px;font-weight:650}.showtime-button.unavailable{cursor:default;opacity:.72;background:rgba(23,23,21,.035);border-style:dashed}.admin-help{max-width:760px;margin:5px 0 0;color:rgba(23,23,21,.62);font-size:11px;line-height:1.45}.flag-header{align-items:flex-start}.flag-status-tabs{margin-bottom:14px}.flag-card.resolved{opacity:.82;background:rgba(236,241,233,.62)}.flag-copy{min-width:0}.flag-context{margin-top:5px!important}.flag-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;max-width:210px}.primary-small{background:var(--ink);color:white;border-color:var(--ink)}.resolution-note{margin-top:8px;border-left:3px solid var(--blue);padding:7px 9px;background:rgba(73,112,126,.08);color:rgba(23,23,21,.74);font-size:11px;line-height:1.42}.resolution-note span{color:rgba(23,23,21,.48)}.toast{display:flex;align-items:center;justify-content:center;gap:12px;pointer-events:auto}.toast-action{border:0;border-left:1px solid rgba(255,255,255,.3);padding:1px 0 1px 12px;background:transparent;color:#fff;font-size:12px;font-weight:800;cursor:pointer}@media(max-width:560px){.context-row{align-items:flex-start}.context-actions{display:grid;justify-items:end;gap:2px}.section-heading-row.date-range-heading{align-items:flex-end}.flag-card{grid-template-columns:7px minmax(0,1fr);align-items:stretch}.flag-actions{grid-column:2;justify-content:flex-start;max-width:none}}


/* v0.3 interaction and admin refinements */
.poster-tile.poster-rolling-away {
  pointer-events: none;
  animation: posterRollBody 620ms cubic-bezier(.55,.02,.2,1) forwards;
  transform-origin: top center;
}
.poster-tile.poster-rolling-away::after {
  content: "";
  position: absolute;
  z-index: 8;
  left: -3%;
  right: -3%;
  bottom: -2px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(#eee8de, #a69c8f 48%, #f8f4ec 55%, #777067);
  box-shadow: 0 -5px 12px rgba(0,0,0,.24);
  animation: posterRollTube 620ms cubic-bezier(.55,.02,.2,1) forwards;
}
@keyframes posterRollBody {
  0% { clip-path: inset(0 0 0 0); transform: translateY(0); opacity: 1; }
  72% { clip-path: inset(0 0 82% 0); transform: translateY(-2%); opacity: 1; }
  100% { clip-path: inset(0 0 100% 0); transform: translateY(-12%); opacity: 0; }
}
@keyframes posterRollTube {
  0% { bottom: -2px; transform: scaleX(1); }
  72% { bottom: 82%; transform: scaleX(.98); }
  100% { bottom: 105%; transform: scaleX(.75); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .poster-tile.poster-rolling-away,
  .poster-tile.poster-rolling-away::after { animation-duration: 1ms; }
}
.editorial-disclaimer {
  display: inline-block;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255,255,255,.5);
  color: rgba(23,23,21,.65);
  font-size: 10px;
  font-weight: 650;
}
.pick-expired .pick-poster { position: relative; }
.pick-expired .poster-image,
.pick-expired .poster-placeholder { filter: grayscale(1); opacity: .43; }
.pick-expired-banner {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: 45%;
  padding: 9px 7px;
  background: rgba(23,23,21,.9);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pick-coming-soon {
  margin-top: 12px;
  border-left: 3px solid var(--accent);
  padding: 9px 11px;
  background: rgba(197,67,50,.07);
  color: rgba(23,23,21,.68);
  font-size: 11px;
  line-height: 1.45;
}
.admin-guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:0 0 14px; }
.admin-guide-card { display:grid; gap:5px; border:1px solid var(--line); border-radius:var(--radius-md); padding:12px; background:rgba(255,255,255,.5); }
.admin-guide-card strong { font-family:var(--font-display); font-size:17px; }
.admin-guide-card span { color:rgba(23,23,21,.6); font-size:10px; line-height:1.45; }
.table-subtle { color:rgba(23,23,21,.48); font-size:9px; line-height:1.25; }
.source-role-note, .method-guide { border:1px solid var(--line); border-radius:var(--radius-md); padding:12px; background:rgba(73,112,126,.07); font-size:11px; line-height:1.5; }
.method-guide { display:grid; gap:3px; }
.method-guide > strong { margin-bottom:3px; }
.source-test-summary { display:flex; justify-content:space-between; gap:12px; border-radius:var(--radius-md); padding:12px 14px; }
.source-test-summary.healthy { background:rgba(82,131,91,.1); color:#315a39; }
.source-test-summary.failed { background:rgba(197,67,50,.1); color:#7c291f; }
.source-signal-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
.source-signal-grid > div { display:grid; gap:3px; border:1px solid var(--line); border-radius:var(--radius-md); padding:12px; text-align:center; background:rgba(255,255,255,.48); }
.source-signal-grid strong { font-family:var(--font-display); font-size:27px; }
.source-signal-grid span { color:rgba(23,23,21,.52); font-size:9px; text-transform:uppercase; letter-spacing:.08em; }
.compact-card { padding:13px; }
.compact-card h3 { margin-bottom:5px; }
.candidate-links { display:grid; gap:6px; margin-top:9px; }
.candidate-links a, .candidate-links button { display:grid; gap:2px; width:100%; border:1px solid var(--line); border-radius:8px; padding:9px 10px; background:var(--paper-strong); color:var(--ink); text-align:left; text-decoration:none; cursor:pointer; overflow:hidden; }
.candidate-links span { overflow:hidden; color:rgba(23,23,21,.48); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:760px){
  .admin-guide-grid,.source-signal-grid{grid-template-columns:1fr 1fr}
}

/* ========================================================================== */
/* The Filmgoer public experience — editorial 2026 refresh                    */
/* ========================================================================== */

:root {
  --film-black: #111311;
  --warm-paper: #faf7ef;
  --ink: #141614;
  --paper: #f1ede2;
  --paper-strong: #faf7ef;
  --paper-muted: #e5dfd2;
  --line: rgba(20, 22, 20, 0.18);
  --line-strong: rgba(20, 22, 20, 0.52);
  --accent: #087f75;
  --accent-dark: #04564f;
  --accent-soft: #cde4df;
  --yellow: #efc641;
  --font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", system-ui, sans-serif;
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --shadow: 0 18px 48px rgba(20, 22, 20, 0.16);
  --shadow-small: 0 5px 16px rgba(20, 22, 20, 0.1);
  --text-muted: rgba(20, 22, 20, .62);
  --text-quiet: rgba(20, 22, 20, .48);
  --surface-hover: rgba(20, 22, 20, .04);
  --surface-soft: rgba(255, 255, 255, .28);
  --header-surface: rgba(250, 247, 239, .97);
  --modal-header-surface: rgba(250, 247, 239, .96);
  --control-active-bg: var(--film-black);
  --control-active-fg: var(--warm-paper);
  --choice-active-bg: var(--film-black);
  --choice-active-fg: var(--warm-paper);
  --choice-active-border: var(--film-black);
  --poster-border: rgba(20, 22, 20, .28);
  --content-max: 1560px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3efe7;
  --paper: #111311;
  --paper-strong: #191c19;
  --paper-muted: #252925;
  --line: rgba(243, 239, 231, .17);
  --line-strong: rgba(243, 239, 231, .38);
  --accent: #2e8f87;
  --accent-dark: #8bd5c9;
  --accent-soft: #173d39;
  --yellow: #d7c93a;
  --shadow: 0 18px 44px rgba(0, 0, 0, .28);
  --shadow-small: 0 5px 16px rgba(0, 0, 0, .24);
  --text-muted: rgba(243, 239, 231, .66);
  --text-quiet: rgba(243, 239, 231, .48);
  --surface-hover: rgba(243, 239, 231, .055);
  --surface-soft: rgba(243, 239, 231, .045);
  --header-surface: rgba(17, 19, 17, .97);
  --modal-header-surface: rgba(25, 28, 25, .96);
  --control-active-bg: var(--accent);
  --control-active-fg: var(--warm-paper);
  --choice-active-bg: var(--warm-paper);
  --choice-active-fg: var(--film-black);
  --choice-active-border: rgba(250, 247, 239, .88);
  --poster-border: rgba(243, 239, 231, .24);
}

html { background: var(--paper); color: var(--ink); }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

:focus-visible {
  outline: 3px solid var(--yellow) !important;
  outline-offset: 3px;
}

.site-header {
  height: 88px;
  background: var(--header-surface);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.site-header-inner { padding-inline: 22px; }

.masthead-identity {
  display: flex;
  min-width: 0;
  align-items: center;
}

.brand-button { color: var(--ink); gap: 15px; }

.brand-asset-slot {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 64px;
}

/* Reference-only CSS approximation. Replace the complete contents of this
   stable slot with the finalized Filmgoer SVG lockup when approved. */
.brand-mark {
  position: relative;
  width: 43px;
  height: 61px;
  overflow: hidden;
  border: 1px solid rgba(250,247,239,.18);
  border-radius: 2px;
  background: var(--film-black);
  clip-path: none;
}

.brand-mark::before,
.brand-mark::after { content: none; }

.brand-projection {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 20px;
  height: 34px;
  overflow: hidden;
  border-radius: 1px;
  background: #1f6f6a;
}
.brand-projection::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 16%, 100% 0, 100% 56%, 0 76%);
  background: linear-gradient(90deg, #d7c93a 0 32%, #79ad46 32% 65%, #41935c 65%);
}
.brand-f {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 8px;
  height: 43px;
  border-radius: 1px;
  background: var(--warm-paper);
}
.brand-f::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 7px;
  border-radius: 1px;
  background: var(--warm-paper);
}

.brand-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
}

.brand-copy {
  align-items: center;
  text-align: center;
}

.brand-subtitle {
  margin-top: 5px;
  padding-left: .32em;
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  white-space: nowrap;
}

.masthead-descriptor {
  display: none;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--text-quiet);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .035em;
  white-space: nowrap;
}

.header-nav { align-self: stretch; align-items: stretch; gap: 0; }

.header-nav > button,
.more-nav > summary {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0 13px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
}

.header-nav > button::after,
.more-nav > summary::after {
  content: "";
  position: absolute;
  inset: auto 16px 0;
  height: 3px;
  background: transparent;
}

.header-nav > button:hover,
.header-nav > button.active,
.more-nav > summary:hover,
.more-nav > summary.active { color: var(--ink); background: var(--surface-hover); }
.header-nav > button.active::after { background: var(--accent); }
.more-nav > summary.active::after { background: var(--accent); }

.more-nav { position: relative; height: 100%; }
.more-nav > summary::-webkit-details-marker { display: none; }
.more-nav-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  width: 190px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.more-nav-menu button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--paper-strong);
  text-align: left;
  cursor: pointer;
}
.more-nav-menu button:hover { background: rgba(255,255,255,.08); }

.icon-button,
.text-icon-button {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
}
.search-icon-button {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--text-muted);
  line-height: 1;
}
.search-icon-button svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.theme-toggle-button {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--text-muted);
  line-height: 1;
}
.theme-toggle-button svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.search-icon-button:hover,
.search-icon-button:focus-visible,
.theme-toggle-button:hover,
.theme-toggle-button:focus-visible {
  border-color: var(--accent);
  background: rgba(8,127,117,.09);
  color: var(--accent-dark);
}
.text-icon-button {
  min-height: 38px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.main-content { padding: 18px 20px 72px; }
.browse-page { max-width: 1480px; margin: 0 auto; }
.collections-page { max-width: 1160px; margin: 0 auto; }

.context-row {
  align-items: end;
  margin: 10px 0 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
}

.browse-kicker,
.collection-source {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.browse-heading {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: .98;
  letter-spacing: -.045em;
}

.location-button {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: transparent;
  font-size: 12px;
}

.browse-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}

.browse-primary-controls {
  display: flex;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}
.browse-filter-controls { display: flex; flex: 0 0 auto; align-items: stretch; gap: 8px; }

.browse-mode-control {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.browse-mode-control > span {
  color: rgba(20,22,20,.54);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.browse-mode-control .mode-segmented {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, auto);
  width: auto;
  max-width: none;
  border: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-radius: 2px;
}
.browse-mode-control .mode-segmented button {
  min-height: 42px;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  letter-spacing: .04em;
  text-transform: none;
}
.browse-mode-control .mode-segmented button:last-child { border-right: 0; }
.browse-mode-control .mode-segmented button::after { display: none; }
.browse-mode-control .mode-segmented button:hover { background: rgba(8,127,117,.07); color: var(--accent-dark); }
.browse-mode-control .mode-segmented button.active {
  border-color: var(--choice-active-border);
  background: var(--choice-active-bg);
  color: var(--choice-active-fg);
}

.date-control-group,
.toolbar-actions,
.date-presets { display: flex; align-items: stretch; gap: 8px; }

.date-presets {
  padding-right: 8px;
  border-right: 1px solid var(--line);
}

.date-presets button,
.date-sheet-presets button,
.filter-button,
.date-range-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.date-presets button { padding: 0 14px; }
.date-presets button:hover,
.date-sheet-presets button:hover {
  border-color: var(--accent);
  background: rgba(8,127,117,.07);
  color: var(--accent-dark);
}
.date-presets button.active,
.date-sheet-presets button.active {
  border-color: var(--choice-active-border);
  background: var(--choice-active-bg);
  color: var(--choice-active-fg);
}

.date-range-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 150px;
  padding: 5px 12px;
  text-align: left;
}
.date-range-button:hover,
.date-range-button.active { border-color: var(--accent); background: rgba(8,127,117,.07); color: var(--accent-dark); }
.date-range-button:hover .date-range-icon,
.date-range-button:hover .date-range-button-label,
.date-range-button.active .date-range-icon,
.date-range-button.active .date-range-button-label { color: var(--accent-dark); }
.date-range-kicker { display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1; }
.date-range-icon { display: grid; flex: 0 0 15px; place-items: center; width: 15px; height: 15px; color: var(--accent-dark); }
.date-range-icon svg { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.date-range-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.date-range-copy strong { overflow: hidden; max-width: 120px; text-overflow: ellipsis; white-space: nowrap; }
.date-range-button-label { color: rgba(20,22,20,.56); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.filter-button {
  min-width: 96px;
  padding: 0 13px;
  border-color: var(--line-strong);
}
.filter-button span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
}
.filter-button:hover,
.filter-button.active { border-color: var(--accent); background: rgba(8,127,117,.07); color: var(--accent-dark); }

.view-switcher { border: 1px solid var(--line); border-radius: 2px; background: transparent; padding: 0; }
.view-switcher button { width: 42px; height: 42px; border-radius: 0; font-size: 16px; }
.view-switcher button.active { background: var(--paper-muted); color: var(--ink); }

.active-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 0 4px;
}
.active-filter-bar button {
  padding: 6px 9px;
  border: 1px solid rgba(8,127,117,.45);
  border-radius: 2px;
  background: rgba(8,127,117,.08);
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.active-filter-bar .clear-filter-link { border-color: transparent; background: transparent; text-decoration: underline; }
.active-filter-bar .hidden-manage-button { margin-left: auto; border-color: var(--line); color: var(--ink); background: transparent; }

.section-meta { color: rgba(20,22,20,.55); font-size: 11px; }
.hide-mode-button { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: rgba(20,22,20,.66); font-size: 9px; font-weight: 800; cursor: pointer; }
.hide-mode-button:hover,
.hide-mode-button:focus-visible,
.hide-mode-button.active { border-color: var(--accent); background: rgba(8,127,117,.08); color: var(--accent-dark); }

.browse-film-list { border-top: 1px solid var(--line-strong); }

.browse-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 12px;
  align-items: start;
  overflow: visible;
}

.poster-grid-item {
  position: relative;
  min-width: 0;
  transition: opacity 260ms ease, transform 360ms cubic-bezier(.2,.7,.2,1);
}

.poster-grid-item:hover,
.poster-grid-item:focus-within { z-index: 10; }

.poster-grid-frame {
  position: relative;
  z-index: 1;
  overflow: visible;
  aspect-ratio: 2 / 3;
}

[data-poster-grid-button] {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--poster-border);
  border-radius: 2px;
  background: var(--film-black);
  box-shadow: none;
  transform: translateZ(0);
  transform-origin: center;
  transition: transform 190ms cubic-bezier(.2,.75,.25,1), box-shadow 190ms ease, border-color 190ms ease;
  cursor: pointer;
}

[data-poster-grid-button] > .poster-image,
[data-poster-grid-button] > .poster-placeholder {
  width: 100%;
  height: 100%;
}

[data-poster-grid-button] .poster-overlay,
[data-poster-grid-button] .poster-badges,
[data-poster-grid-button] .poster-collection-mark { display: none; }

.poster-grid-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  max-width: calc(100% - 36px);
  padding: 3px 5px;
  overflow: hidden;
  border-radius: 1px;
  background: rgba(20,22,20,.9);
  color: var(--warm-paper);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.poster-grid-badge.gold { background: var(--yellow); color: var(--ink); }
.poster-grid-badge.red { background: var(--accent-dark); color: white; }

.poster-grid-edge {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 38px 8px 8px;
  background: linear-gradient(transparent, rgba(20,22,20,.9));
  color: white;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: 0;
  text-align: left;
  text-transform: uppercase;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 190ms ease;
}
.poster-grid-edge strong { display: -webkit-box; overflow: hidden; font-size: 11px; line-height: 1.15; text-transform: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.poster-grid-edge > span { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.74); text-transform: none; }
.poster-grid-edge b { padding: 1px 3px; border: 1px solid rgba(255,255,255,.55); color: white; font-size: 7px; }
.poster-grid-edge em { margin-top: 2px; color: var(--yellow); font-size: 7px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

.poster-grid-hide {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 2px;
  background: rgba(20,22,20,.76);
  color: white;
  opacity: .76;
  cursor: pointer;
  transition: opacity 150ms ease, background-color 150ms ease;
}
.poster-grid-hide svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.poster-grid-hide::after { content: ""; position: absolute; inset: -4px; }
.poster-grid-hide:hover,
.poster-grid-hide:focus-visible { background: var(--accent-dark); opacity: 1; }
.poster-grid-item.poster-is-rolling .poster-grid-hide { pointer-events: none; opacity: 0; }
.hide-mode-active [data-poster-grid-button] { border-color: rgba(8,127,117,.5); }

.poster-grid-title {
  display: -webkit-box;
  width: 100%;
  min-height: 2.5em;
  margin-top: 7px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.25;
  text-align: left;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  cursor: pointer;
}
.poster-grid-title:hover,
.poster-grid-title:focus-visible { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

.poster-grid-meta {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 5px;
  margin-top: 3px;
  color: rgba(20,22,20,.55);
  font-size: 8px;
  font-weight: 650;
  line-height: 1.2;
}
.poster-grid-meta > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.poster-grid-rating { flex: 0 0 auto; padding: 1px 3px; border: 1px solid var(--line-strong); color: var(--ink); font-size: 7px; }

@media (hover: hover) and (pointer: fine) {
  [data-poster-grid-button]:hover,
  [data-poster-grid-button]:focus-visible {
    z-index: 8;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
    transform: scale(1.045);
  }
  [data-poster-grid-button]:hover .poster-grid-edge,
  [data-poster-grid-button]:focus-visible .poster-grid-edge { opacity: 1; transform: none; }
}

.browse-film-card {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--line-strong);
  transition: background-color 180ms ease, padding 180ms ease;
}
.browse-film-card:hover { background: var(--surface-soft); }

.browse-film-poster .poster-tile {
  width: 142px;
  aspect-ratio: 2 / 3;
  border-radius: 2px;
  box-shadow: none;
}
.browse-film-poster .poster-tile:hover,
.browse-film-poster .poster-tile:focus-visible { transform: translateX(3px); box-shadow: -4px 0 0 var(--accent); }
.browse-film-poster .poster-overlay { display: none; }
.browse-film-poster .poster-badges { inset: 7px auto auto 7px; }
.browse-film-poster .poster-collection-mark { display: none; }

.browse-film-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.film-title-button,
.collection-title-button {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.film-title-button h2 {
  position: relative;
  display: inline;
  margin: 0;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -.045em;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat;
  transition: background-size 220ms ease;
}
.film-title-button:hover h2,
.film-title-button:focus-visible h2 { background-size: 100% 2px; }

.film-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 9px; }
.film-facts-text { color: rgba(20,22,20,.62); font-size: 11px; }
.meta-tag {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: rgba(20,22,20,.68);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.rating-tag { border-color: var(--line-strong); color: var(--ink); }

.hide-film-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: rgba(20,22,20,.58);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.hide-film-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.hide-film-button:hover { border-color: var(--line); color: var(--ink); }

.venue-schedules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.venue-schedule { padding: 16px 0 10px; border-bottom: 1px solid var(--line); }
.venue-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.venue-heading h3 { margin: 0; font-size: 13px; line-height: 1.25; }
.venue-heading span { flex: 0 0 auto; color: rgba(20,22,20,.58); font-size: 10px; }
.venue-date-line { display: grid; grid-template-columns: 58px 1fr; gap: 8px; align-items: center; margin-top: 10px; }
.venue-date { color: rgba(20,22,20,.62); font-size: 10px; font-weight: 700; }
.compact-showtimes { display: flex; flex-wrap: wrap; gap: 5px; }
.compact-showtime {
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 32px;
  text-decoration: none;
  cursor: pointer;
}
.compact-showtime:hover,
.compact-showtime:focus-visible { border-color: var(--accent); background: var(--accent); color: white; }
.venue-formats { margin: 8px 0 0 66px; color: rgba(20,22,20,.54); font-size: 9px; }
.program-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 12px; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.program-links button { padding: 0; border: 0; border-bottom: 1px solid var(--accent); background: transparent; color: var(--accent-dark); font-size: 10px; font-weight: 700; cursor: pointer; }

.film-list { border-top: 1px solid var(--line-strong); }
.film-list-item { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; box-shadow: none; }
.film-list-item:hover { transform: none; background: var(--surface-soft); }

.empty-state { border-radius: 2px; border: 1px solid var(--line); background: var(--surface-soft); box-shadow: none; }

/* Filters and date range */
.filter-modal { display: flex; width: min(760px, calc(100vw - 28px)); max-height: min(90dvh, 880px); flex-direction: column; overflow: hidden; }
.filter-modal .modal-header { position: static; flex: 0 0 auto; }
.filter-sheet-shell { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; overflow: hidden; }
.filter-sheet { display: grid; min-height: 0; grid-template-columns: repeat(2, minmax(0,1fr)); overflow-y: auto; padding-bottom: 24px; scrollbar-gutter: stable; }
.filter-fieldset { min-width: 0; margin: 0; padding: 18px 0; border: 0; border-top: 1px solid var(--line); }
.filter-fieldset:nth-of-type(odd) { padding-right: 18px; }
.filter-fieldset:nth-of-type(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.filter-fieldset legend { padding: 0; margin-bottom: 11px; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.filter-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.compact-options { grid-template-columns: repeat(2, minmax(0,1fr)); }
.filter-sheet .checkbox-chip { display: block; }
.filter-sheet .checkbox-chip label { display: flex; align-items: center; min-height: 40px; border-radius: 2px; background: transparent; font-size: 11px; }
.filter-sheet .checkbox-chip input:checked + label { border-color: var(--accent); background: rgba(8,127,117,.09); color: var(--accent-dark); }
.filter-help { margin: 9px 0 0; color: rgba(20,22,20,.57); font-size: 9px; line-height: 1.5; }
.filter-sheet-actions { position: sticky; bottom: -18px; grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; padding: 14px 0 0; border-top: 1px solid var(--line-strong); background: var(--paper-strong); }
.filter-modal-actions { display: flex; flex: 0 0 auto; justify-content: flex-end; gap: 8px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-strong); background: var(--paper-strong); box-shadow: 0 -10px 24px rgba(20,22,20,.06); }

.date-modal { width: min(680px, calc(100vw - 28px)); }
.date-range-sheet { padding-top: 8px; padding-bottom: 14px; }
.date-sheet-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.date-sheet-presets button { min-height: 40px; }
.range-summary { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; margin: 0 0 10px; padding: 10px 0; border-block: 1px solid var(--line); }
.range-summary div { display: flex; flex-direction: column; gap: 4px; }
.range-summary div:last-child { text-align: right; }
.range-summary span { color: rgba(20,22,20,.56); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.range-summary strong { font-size: 16px; }
.range-arrow { color: var(--accent) !important; font-size: 20px !important; }
.date-calendar-toolbar { display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; align-items: center; gap: 8px; margin-bottom: 8px; }
.date-calendar-toolbar h3 { margin: 0; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; text-align: center; }
.date-month-control { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line-strong); border-radius: 2px; background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
.date-month-control:hover:not(:disabled) { border-color: var(--accent); background: rgba(8,127,117,.07); color: var(--accent-dark); }
.date-month-control:disabled { border-color: var(--line); color: var(--text-quiet); cursor: not-allowed; opacity: .42; }
.date-month-control:focus-visible,
.date-matrix .calendar-date:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.date-calendar-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 3px; margin-bottom: 4px; }
.date-calendar-weekdays span { color: var(--text-quiet); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.date-matrix { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 3px; }
.date-calendar-blank { min-width: 0; min-height: 48px; }
.date-matrix .calendar-date { position: relative; display: flex; min-width: 0; min-height: 48px; padding: 4px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--ink); cursor: pointer; }
.date-cell-day { font-size: 14px; line-height: 1; }
.date-matrix .calendar-date.has-screenings { border-color: rgba(8,127,117,.32); }
.date-matrix .calendar-date.in-range:not(.is-selected) { background: rgba(8,127,117,.08); }
.date-matrix .calendar-date.has-screenings:hover:not(.is-selected) { border-color: var(--accent); background: rgba(8,127,117,.12); color: var(--accent-dark); }
.date-matrix .calendar-date.is-selected,
.date-matrix .calendar-date.is-selected:hover { border-color: var(--choice-active-border); background: var(--choice-active-bg); color: var(--choice-active-fg); }
.date-matrix .calendar-date.is-today { box-shadow: inset 0 0 0 2px var(--yellow); }
.date-matrix .calendar-date.is-unavailable { border-color: color-mix(in srgb, var(--line) 65%, transparent); background: var(--surface-soft); color: var(--text-quiet); cursor: not-allowed; opacity: .48; }
.date-calendar-help { display: flex; margin: 8px 0 0; color: var(--text-muted); font-size: 9px; font-weight: 700; }
.date-calendar-help span { display: inline-flex; align-items: center; gap: 6px; }
.date-calendar-help i { display: inline-block; width: 8px; height: 8px; }
.today-date-key { border: 2px solid var(--yellow); }

/* Series and program identity */
.series-intro { max-width: 760px; margin: 12px 0 38px; }
.display-heading { margin: 0; font-size: clamp(36px, 6vw, 68px); line-height: .96; letter-spacing: -.055em; }
.editorial-disclaimer { border: 0; border-left: 3px solid var(--accent); border-radius: 0; background: rgba(8,127,117,.06); }
.pick-card { border-radius: 0; border-bottom: 1px solid var(--line-strong); }
.series-intro .lede { max-width: 650px; margin-top: 18px; font-size: 14px; }
.source-filter { display: flex; gap: 0; margin-bottom: 22px; overflow-x: auto; border-block: 1px solid var(--line-strong); scrollbar-width: none; }
.source-filter button { flex: 0 0 auto; padding: 13px 16px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; color: rgba(20,22,20,.62); font-size: 10px; font-weight: 800; cursor: pointer; }
.source-filter button.active { background: var(--control-active-bg); color: var(--control-active-fg); }
.collection-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.collection-entry { display: flex; min-width: 0; flex-direction: column; align-items: stretch; padding: 18px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.collection-entry-visual { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: var(--film-black); cursor: pointer; }
.program-composite { display: grid; width: 100%; height: 100%; overflow: hidden; background: var(--film-black); }
.program-composite span { min-width: 0; overflow: hidden; }
.program-composite img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.04); }
.program-composite-1 { grid-template-columns: 1fr; }
.program-composite-2 { grid-template-columns: repeat(2,1fr); }
.program-composite-3 { grid-template-columns: repeat(3,1fr); }
.program-composite-4 { grid-template-columns: repeat(4,1fr); }
.program-composite-2 span:nth-child(even),
.program-composite-3 span:nth-child(even),
.program-composite-4 span:nth-child(even) { transform: skewX(-4deg) scale(1.08); transform-origin: center; }
.program-composite-fallback { grid-template-columns: 1fr 1.2fr 1fr 1.35fr; gap: 2px; padding: 12px; }
.program-composite-fallback span:nth-child(1) { background: #fde725; }
.program-composite-fallback span:nth-child(2) { background: #5ec962; }
.program-composite-fallback span:nth-child(3) { background: #21918c; }
.program-composite-fallback span:nth-child(4) { background: #3b528b; }
.collection-entry-copy { display: grid; grid-template-columns: minmax(0,1fr); align-content: start; flex: 1; min-width: 0; align-self: stretch; padding: 16px 0; }
.collection-title-button { display: block; width: 100%; min-width: 0; max-width: 100%; }
.collection-source { margin: 7px 0 0; }
.collection-source span { color: var(--yellow); }
.collection-title { max-width: 100%; margin: 0; overflow-wrap: normal; word-break: normal; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.02; letter-spacing: -.04em; }
.collection-title-button:hover .collection-title { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.collection-subtitle { margin: 6px 0 0; color: rgba(20,22,20,.62); font-size: 11px; }
.collection-description { display: -webkit-box; max-width: 640px; margin: 12px 0 0; overflow: hidden; color: rgba(20,22,20,.69); font-size: 11px; line-height: 1.55; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.collection-entry-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: rgba(20,22,20,.54); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.collection-open { align-self: stretch; min-height: 42px; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; font-size: 10px; font-weight: 800; cursor: pointer; }
.collection-open span { display: inline-block; margin-left: 7px; color: var(--accent); font-size: 16px; transition: transform 160ms ease; }
.collection-open:hover span { transform: translateX(4px); }

.editorial-feature-heading { margin-top: 30px; }
.editorial-feature-heading .browse-kicker { margin-bottom: 7px; }
.editorial-feature-title { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 4vw, 42px); font-weight: 600; line-height: 1; letter-spacing: -.035em; }

.program-modal { width: min(1080px, calc(100vw - 32px)); }
.program-modal-body { padding-top: 0; }
.program-hero { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr); min-height: 280px; margin: 0 -20px; background: var(--film-black); color: var(--warm-paper); }
.program-hero-composite { min-height: 280px; }
.program-hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 34px; }
.program-hero-copy .collection-source { color: #8bd5c9; font-size: 11px; }
.program-hero-copy h2 { margin: 0; font-size: clamp(31px, 5vw, 54px); line-height: .98; letter-spacing: -.05em; }
.program-subtitle { margin: 9px 0 0; color: rgba(250,247,239,.62); font-size: 12px; }
.program-hero-copy .collection-description { color: rgba(250,247,239,.72); }
.program-hero-copy .source-schedule-link { margin-top: 18px; color: var(--yellow); }
.program-hero-copy .program-source-note { margin: 7px 0 0; color: rgba(250,247,239,.66); font-size: 9px; line-height: 1.45; }
.program-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 30px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); }
.program-section-heading h3 { margin: 0; font-size: 17px; }
.program-section-heading span { color: rgba(20,22,20,.55); font-size: 9px; }
.program-membership-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 12px; border: 1px solid var(--line-strong); border-radius: 2px; }
.program-membership-tabs button { min-height: 40px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text-muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; cursor: pointer; }
.program-membership-tabs button:last-child { border-right: 0; }
.program-membership-tabs button.active { background: var(--control-active-bg); color: var(--control-active-fg); }
.program-membership-tabs button span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding-inline: 5px; border: 1px solid currentColor; border-radius: 50%; font-size: 8px; letter-spacing: 0; }
.program-membership-empty { margin: 0; padding: 22px 0; color: var(--text-muted); font-size: 11px; }
.program-film-browser { border-bottom: 1px solid var(--line-strong); }
.program-film-row { display: grid; grid-template-columns: 64px minmax(220px, .75fr) minmax(280px, 1.25fr); align-items: start; gap: 18px; width: 100%; min-height: 105px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
.program-film-row:last-child { border-bottom: 0; }
.program-film-row:hover,
.program-film-row:focus-visible { background: rgba(8,127,117,.06); }
.program-film-row--historical { color: var(--text-muted); }
.program-film-row--historical .program-film-thumb { filter: grayscale(1); opacity: .58; }
.program-film-thumb { width: 64px; aspect-ratio: 2/3; overflow: hidden; }
.program-film-thumb > * { width: 100%; height: 100%; font-size: 8px; }
.program-film-summary { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; min-width: 0; }
.program-film-summary > strong { font-size: 16px; line-height: 1.15; }
.program-membership-status { display: inline-flex; align-items: center; gap: 6px; margin: 7px 0 2px; padding: 5px 8px 4px; border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--line)); border-left: 3px solid var(--accent); border-radius: 2px; background: color-mix(in srgb, var(--accent) 11%, var(--paper-strong)); color: var(--accent-dark); font-size: 8px; font-weight: 850; letter-spacing: .09em; line-height: 1.2; text-transform: uppercase; }
.program-membership-status > span { width: 6px; height: 6px; flex: 0 0 auto; background: var(--accent); transform: rotate(45deg); }
.program-film-next { margin-top: 9px; color: var(--accent-dark); font-size: 9px; font-weight: 700; }
.program-film-preview { display: flex; flex-direction: column; align-self: start; gap: 5px; padding: 0 18px 14px; border-left: 2px solid transparent; color: rgba(20,22,20,.5); opacity: .35; transition: opacity 160ms ease, border-color 160ms ease, background-color 160ms ease; }
.program-film-preview strong { display: none; }
.program-film-preview span { display: -webkit-box; overflow: hidden; font-size: 11px; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.program-film-preview em { color: var(--accent-dark); font-size: 9px; font-style: normal; font-weight: 800; }
.program-film-row:hover .program-film-preview,
.program-film-row:focus-visible .program-film-preview { border-left-color: var(--accent); background: var(--surface-soft); color: var(--ink); opacity: 1; }
.collection-program-schedule > section { padding: 18px 0; border-bottom: 1px solid var(--line); }

.showtime-group { display: grid; grid-template-columns: minmax(150px, .3fr) minmax(0,1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.showtime-venue { display: block; }
.showtime-venue-heading { display: grid; align-content: start; justify-items: start; gap: 2px; }
.showtime-venue-heading h4 { margin: 0; font-size: 13px; }
.showtime-venue-heading span { color: rgba(20,22,20,.46); font-size: 8px; font-weight: 650; }
.showtime-venue .source-schedule-link { margin-top: 3px; color: rgba(20,22,20,.46); font-size: 8px; font-weight: 650; text-decoration-color: rgba(20,22,20,.28); text-underline-offset: 2px; }
.showtime-venue .source-schedule-link:hover,
.showtime-venue .source-schedule-link:focus-visible { color: var(--accent-dark); }
.showtime-button { border-radius: 2px; background: transparent; box-shadow: none; }
.film-detail-showtimes { transition: opacity 150ms ease; overflow-anchor: none; }
.film-detail-showtimes.is-updating { opacity: .46; }
.showtime-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.showtime-section-heading h3 { margin-bottom: 0; }
.showtime-section-heading > span { color: rgba(20,22,20,.54); font-size: 9px; font-weight: 700; }
.showtime-scope-control { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 12px; border: 1px solid var(--line-strong); border-radius: 2px; }
.showtime-scope-control button { min-height: 40px; padding: 7px 10px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; color: rgba(20,22,20,.66); font-size: 10px; font-weight: 800; cursor: pointer; }
.showtime-scope-control button:last-child { border-right: 0; }
.showtime-scope-control button.active { background: var(--control-active-bg); color: var(--control-active-fg); }
.showtime-scope-control button span { display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-left: 5px; padding-inline: 4px; border: 1px solid currentColor; border-radius: 50%; font-size: 8px; }
.film-date-nav { display: flex; gap: 5px; margin-top: 12px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: thin; }
.film-date-nav button { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--ink); cursor: pointer; }
.film-date-nav button span { font-size: 9px; font-weight: 800; white-space: nowrap; }
.film-date-nav button strong { display: grid; place-items: center; min-width: 19px; height: 19px; border-radius: 50%; background: var(--paper-muted); color: rgba(20,22,20,.62); font-size: 8px; }
.film-date-nav button.active { border-color: var(--accent); background: rgba(8,127,117,.10); color: var(--accent-dark); }
.film-date-nav button.active strong { background: var(--accent); color: white; }
.selected-showtime-date { margin: 8px 0 2px; color: rgba(20,22,20,.56); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.modal { border-radius: 3px; background: var(--paper-strong); }
.modal-header { border-radius: 0; border-bottom: 1px solid var(--line-strong); background: var(--modal-header-surface); color: var(--ink); }
.modal-close { border-radius: 2px; }
.button { border-radius: 2px; box-shadow: none; }
.compact-modal { width: min(480px, calc(100vw - 28px)); }
.more-destinations { padding: 0; }
.more-destination { display: flex; flex-direction: column; gap: 5px; width: 100%; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
.more-destination:hover { background: var(--paper-muted); }
.more-destination span { color: rgba(20,22,20,.58); font-size: 10px; }

.mobile-nav {
  height: 66px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid rgba(255,255,255,.14);
  background: var(--film-black);
  color: var(--warm-paper);
}
.mobile-nav button { min-width: 0; border-radius: 0; color: rgba(250,247,239,.62); }
.mobile-nav button.active { background: transparent; color: var(--yellow); }
.mobile-nav-icon { font-size: 16px; }
.mobile-nav-label { font-size: 8px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }

/* Shared semantic colors keep public surfaces legible in both themes without
   duplicating component styles. Poster artwork and cinematic black panels use
   fixed brand colors rather than inverting with the page tokens. */
.modal-header p,
.detail-meta,
.showtime-button small,
.browse-mode-control > span,
.date-range-button-label,
.section-meta,
.hide-mode-button,
.film-facts-text,
.meta-tag,
.hide-film-button,
.venue-heading span,
.venue-date,
.venue-formats,
.filter-help,
.range-summary span,
.date-matrix button span,
.source-filter button,
.collection-subtitle,
.collection-description,
.collection-entry-meta,
.program-section-heading span,
.program-film-preview,
.showtime-section-heading > span,
.showtime-scope-control button,
.film-date-nav button strong,
.selected-showtime-date,
.more-destination span { color: var(--text-muted); }

.showtime-venue-heading span,
.showtime-venue .source-schedule-link { color: var(--text-quiet); }
.showtime-venue .source-schedule-link { text-decoration-color: var(--line); }

.search-overlay { background: color-mix(in srgb, var(--paper) 98%, transparent); color: var(--ink); }
.search-input,
.field input,
.field select,
.field textarea { background: var(--paper-strong); color: var(--ink); }
.button.dark { border-color: var(--control-active-bg); background: var(--control-active-bg); color: var(--control-active-fg); }
.toast { background: color-mix(in srgb, var(--film-black) 94%, transparent); color: var(--warm-paper); }

html[data-theme="dark"] .filter-modal-actions { box-shadow: 0 -10px 22px rgba(0,0,0,.22); }
html[data-theme="dark"] .browse-mode-control .mode-segmented button:hover,
html[data-theme="dark"] .date-presets button:hover,
html[data-theme="dark"] .date-sheet-presets button:hover,
html[data-theme="dark"] .date-range-button:hover,
html[data-theme="dark"] .date-range-button.active,
html[data-theme="dark"] .filter-button:hover,
html[data-theme="dark"] .filter-button.active,
html[data-theme="dark"] .date-matrix .calendar-date.has-screenings:hover:not(.is-selected),
html[data-theme="dark"] .filter-sheet .checkbox-chip input:checked + label,
html[data-theme="dark"] .hide-mode-button:hover,
html[data-theme="dark"] .hide-mode-button:focus-visible,
html[data-theme="dark"] .hide-mode-button.active,
html[data-theme="dark"] .film-date-nav button.active { background: rgba(46,143,135,.18); }
html[data-theme="dark"] .date-matrix .calendar-date.is-selected,
html[data-theme="dark"] .date-matrix .calendar-date.is-selected:hover { background: var(--choice-active-bg); color: var(--choice-active-fg); }
html[data-theme="dark"] .program-film-row:hover,
html[data-theme="dark"] .program-film-row:focus-visible { background: rgba(46,143,135,.12); }
html[data-theme="dark"] .more-nav-menu { border-color: var(--line); }
html[data-theme="dark"] .modal-backdrop { background: rgba(5, 7, 5, .76); }

@media (min-width: 760px) {
  .header-nav { display: flex; }
  .mobile-nav { display: none; }
  .site-shell { padding-bottom: 0; }
  .text-icon-button { display: none; }
  .brand-title { font-size: 21px; letter-spacing: .13em; }
  .brand-subtitle { font-size: 10px; letter-spacing: .32em; }
}

@media (min-width: 1200px) {
  .masthead-descriptor { display: block; }
}

@media (max-width: 1100px) {
  .browse-toolbar { align-items: flex-end; }
  .browse-primary-controls { flex-direction: column; }
  .browse-mode-control { align-self: flex-start; padding-right: 0; border-right: 0; }
  .browse-primary-controls > .filter-button { align-self: flex-start; }
}

@media (max-width: 900px) {
  .browse-toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-actions { flex-wrap: wrap; justify-content: flex-end; }
  .venue-schedules { grid-template-columns: 1fr; }
  .collection-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .program-film-row { grid-template-columns: 58px minmax(180px,.7fr) minmax(220px,1.3fr); }
}

@media (min-width: 760px) and (max-width: 900px) {
  .header-nav > button,
  .more-nav > summary { padding-inline: 8px; font-size: 10px; }
}

@media (max-width: 759px) {
  :root { --header-height: 68px; }
  .site-header { height: var(--header-height); }
  .site-header-inner { padding-inline: 11px; }
  .brand-asset-slot { flex-basis: 31px; width: 31px; height: 44px; }
  .brand-mark { width: 29px; height: 41px; }
  .brand-projection { top: 11px; left: 11px; width: 14px; height: 23px; }
  .brand-f { top: 6px; left: 6px; width: 5px; height: 29px; }
  .brand-f::after { width: 18px; height: 5px; }
  .brand-title { font-size: 10px; font-weight: 400; letter-spacing: .14em; }
  .brand-subtitle { margin-top: 5px; padding-left: .28em; font-size: 8.5px; font-weight: 600; letter-spacing: .28em; }
  .header-actions { gap: 5px; }
  .icon-button { width: 36px; height: 36px; }
  .text-icon-button { min-height: 36px; }
  .main-content { padding: 12px 14px 38px; }
  .context-row { align-items: flex-end; margin-top: 4px; margin-bottom: 20px; padding-bottom: 18px; }
  .browse-heading { font-size: 34px; }
  .browse-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .browse-primary-controls { flex-direction: column; }
  .browse-mode-control { width: 100%; }
  .browse-mode-control .mode-segmented { flex: 1; }
  .date-control-group { display: grid; grid-template-columns: minmax(0,1fr) 126px; }
  .date-presets { display: grid; grid-template-columns: repeat(4, 1fr); min-width: 0; gap: 4px; padding-right: 6px; }
  .date-presets button { min-width: 0; padding: 0 5px; font-size: 9px; }
  .date-range-button { min-width: 0; }
  .toolbar-actions { display: flex; align-items: stretch; justify-content: flex-end; }
  .browse-filter-controls { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .view-switcher { justify-self: end; }
  .browse-poster-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 9px; }
  .browse-film-card { grid-template-columns: 92px minmax(0,1fr); gap: 13px; padding: 18px 0 22px; }
  .browse-film-poster .poster-tile { width: 92px; }
  .film-title-button h2 { font-size: 22px; }
  .browse-film-header { gap: 7px; }
  .hide-film-button { min-width: 44px; min-height: 44px; padding-inline: 7px; }
  .hide-film-button span { display: none; }
  .film-facts { gap: 4px; margin-top: 7px; }
  .film-facts-text { flex-basis: 100%; font-size: 9px; }
  .meta-tag { font-size: 7px; padding: 2px 4px; }
  .venue-schedule { padding-top: 12px; }
  .venue-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .venue-heading h3 { font-size: 12px; }
  .venue-date-line { grid-template-columns: 46px 1fr; gap: 5px; }
  .venue-date { font-size: 8px; }
  .compact-showtime { min-height: 32px; padding-inline: 7px; font-size: 9px; line-height: 30px; }
  .venue-formats { margin-left: 51px; font-size: 8px; }
  .program-links { padding-top: 9px; }
  .filter-sheet { grid-template-columns: 1fr; }
  .filter-fieldset:nth-of-type(odd),
  .filter-fieldset:nth-of-type(even) { padding-inline: 0; border-left: 0; }
  .filter-option-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .date-sheet-presets { grid-template-columns: repeat(2,1fr); }
  .date-matrix { gap: 3px; }
  .date-matrix .calendar-date { min-height: 52px; padding-inline: 2px; }
  .date-calendar-blank { min-height: 52px; }
  .series-intro { margin-bottom: 28px; }
  .display-heading { font-size: 43px; }
  .source-filter { margin-inline: 0; padding-left: 0; }
  .collection-entry { padding: 14px; }
  .collection-entry-visual { width: 100%; height: auto; }
  .program-composite { grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(2,1fr); }
  .program-composite-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .program-composite-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .collection-title { font-size: 23px; }
  .collection-description { -webkit-line-clamp: 3; font-size: 10px; }
  .collection-entry-meta { gap: 6px 9px; }
  .collection-open { min-height: 36px; padding-top: 9px; }
  .collection-open span { margin-left: 6px; font-size: 13px; }
  .program-modal { width: calc(100vw - 14px); max-height: calc(100dvh - 14px); }
  .program-hero { grid-template-columns: 1fr; margin-inline: -14px; }
  .program-hero-composite { min-height: 190px; }
  .program-hero-copy { padding: 24px 18px; }
  .program-film-row { grid-template-columns: 54px minmax(0,1fr); gap: 12px; }
  .program-film-thumb { width: 54px; }
  .program-film-preview { grid-column: 2; padding: 0 0 5px; border-left: 0; color: var(--text-muted); opacity: 1; }
  .program-film-preview strong,
  .program-film-preview em { display: none; }
  .program-film-preview span { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 9px; }
  .showtime-group { grid-template-columns: 1fr; gap: 9px; }
  .showtime-buttons { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 599px) {
  .browse-poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .poster-grid-hide { width: 30px; height: 30px; }
  .poster-grid-edge { display: none; }
}

@media (max-width: 519px) {
  .collection-list { grid-template-columns: 1fr; }
}

@media (max-width: 379px) {
  .browse-poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
}

@media (max-width: 390px) {
  .main-content { padding-inline: 11px; }
  .context-row { gap: 8px; }
  .browse-heading { font-size: 29px; }
  .date-control-group { grid-template-columns: 1fr; }
  .date-presets { padding-right: 0; border-right: 0; }
  .date-range-button { min-height: 42px; }
  .date-range-copy strong { max-width: 210px; }
  .browse-film-card { grid-template-columns: 76px minmax(0,1fr); gap: 10px; }
  .browse-film-poster .poster-tile { width: 76px; }
  .film-title-button h2 { font-size: 19px; }
  .venue-date-line { grid-template-columns: 1fr; }
  .venue-formats { margin-left: 0; }
  .collection-title { font-size: 20px; }
  .date-modal { width: 100%; }
  .date-range-sheet { padding-inline: 10px; }
  .date-month-control { width: 44px; height: 44px; }
  .date-calendar-toolbar { grid-template-columns: 44px minmax(0,1fr) 44px; }
  .date-calendar-weekdays,
  .date-matrix { gap: 2px; }
  .date-matrix .calendar-date,
  .date-calendar-blank { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .film-title-button h2,
  .collection-open span,
  .program-film-preview,
  .browse-film-card,
  .browse-film-poster .poster-tile,
  .poster-grid-item,
  [data-poster-grid-button],
  .poster-grid-edge { transition: none !important; }
  .film-detail-showtimes { transition: none !important; }
  [data-poster-grid-button]:hover,
  [data-poster-grid-button]:focus-visible,
  .poster-tile.poster-rolling-away { transform: none !important; animation: none !important; opacity: 0; }
  .poster-tile.poster-rolling-away::after { display: none; animation: none !important; }
}
