/* Four destinations. Desktop is a full-height rail. Mobile is a fixed bottom bar.
   This file does not restyle the old stage/festival templates. */

html[data-shell="reel"] {
  --reel-rgb: 18, 43, 58;
  --reel-ink: var(--color-ink);
  --reel-paper: var(--color-bg);
  --reel-tint: var(--color-surface);
  --reel-gutter: var(--editorial-gutter);
  --reel-bar: 4.75rem;
  --reel-display: clamp(2rem, 1.15rem + 2.2vw, 3.25rem);
  --reel-title: clamp(1.35rem, 1.05rem + 1vw, 2rem);
  --reel-body: clamp(1rem, 0.96rem + 0.15vw, 1.125rem);
  --reel-meta: clamp(0.875rem, 0.84rem + 0.1vw, 1rem);
  --reel-label: 0.875rem;
  background: var(--reel-paper);
}

html[data-shell="reel"],
html[data-shell="reel"] body {
  height: 100%;
  height: 100dvh;
  overflow: hidden;
}
html[data-shell="reel"] body {
  background: var(--reel-paper);
  color: var(--reel-ink);
  font-family: Montserrat, "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: var(--reel-body);
  font-weight: 400;
  line-height: 1.8;
}

.reel-app {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  height: 100dvh;
  max-width: 1440px;
  margin: 0 auto;
}
.reel-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 22px;
  border-right: 1px solid rgba(var(--reel-rgb), .14);
  background: var(--reel-paper);
}
.reel-rail > nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.reel-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--reel-ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  margin-bottom: 28px;
  white-space: nowrap;
}
.reel-mark > span:last-child { white-space: nowrap; }
.reel-rail .brand-logo { height: 36px; color: var(--reel-ink); }
.reel-theme {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0 10px;
  min-height: 40px;
  border: 1px solid rgba(var(--reel-rgb), .18);
  border-radius: 6px;
  color: rgba(var(--reel-rgb), .7);
  background: transparent;
  font-size: 12px;
}
.reel-theme:hover { color: var(--reel-ink); border-color: rgba(var(--reel-rgb), .4); }
.reel-build .brand-logo { height: 44px; color: var(--reel-ink); }
.reel-page .archive-album-link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(var(--reel-rgb), .28);
  color: var(--reel-ink);
  text-decoration: none;
}
.reel-page .archive-album-link:hover { border-color: var(--reel-ink); }
.reel-archive-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(var(--reel-rgb), .14);
  color: rgba(var(--reel-rgb), .82);
  text-decoration: none;
}
.reel-archive-row:hover { color: var(--reel-ink); }
.reel-archive-row time { color: rgba(var(--reel-rgb), .5); white-space: nowrap; font-size: 12px; }
.reel-rail a,
.reel-tabbar a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  color: rgba(var(--reel-rgb), .72);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
}
.reel-rail a[aria-current="page"],
.reel-tabbar a[aria-current="page"] {
  color: var(--reel-ink);
  background: var(--reel-tint);
  font-weight: 600;
}
.reel-rail a svg,
.reel-tabbar a svg { flex: 0 0 auto; fill: none; }
.reel-rail a[aria-current="page"] svg,
.reel-tabbar a[aria-current="page"] svg { fill: currentColor; stroke: var(--reel-paper); }
.reel-build {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 48px 28px;
  color: rgba(var(--reel-rgb), .62);
  font-size: 12px;
  line-height: 1.4;
}
.reel-build .site-version { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.reel-build .site-version:hover { color: var(--reel-ink); }
.reel-tabbar { display: none; }
.reel-main { min-width: 0; height: 100dvh; overflow: auto; }
.reel-page {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 36px 48px 64px;
}
.reel-kicker {
  margin: 0 0 8px;
  color: rgba(var(--reel-rgb), .62);
  font-size: 14px;
}
.reel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.reel-head h1,
.reel-lead h1,
.reel-copy h1,
.reel-page > h1,
.reel-detail > h1,
.reel-article h1 {
  margin: 0;
  font-weight: 500;
  font-size: var(--reel-display);
  line-height: 1.2;
  letter-spacing: 0;
}
.reel-detail .ticket-panel { display: contents; }
.reel-page h2,
.reel-month h2,
.reel-read h2 {
  margin: 1.5rem 0 0.6rem;
  font-size: var(--reel-title);
  font-weight: 500;
  line-height: 1.3;
}
.reel-switch { display: flex; gap: 8px; }
.reel-head .reel-switch {
  width: 152px;
  height: 36px;
  gap: 0;
  padding: 3px;
  border: 1px solid rgba(var(--reel-rgb), .18);
  border-radius: 8px;
}
.reel-head .reel-switch button {
  flex: 1;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  font-size: 13px;
}
.reel-switch button,
.reel-years button,
.reel-set button,
.reel-go {
  min-height: 44px;
  border-radius: 8px;
  font-size: 16px;
}
.reel-switch button,
.reel-years button,
.reel-set button {
  border: 1px solid rgba(var(--reel-rgb), .28);
  background: transparent;
  color: var(--reel-ink);
  padding: 0 14px;
}
.reel-switch button[aria-selected="true"] {
  background: var(--reel-ink);
  color: var(--reel-paper);
  border-color: var(--reel-ink);
}
.reel-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
.reel-lead h1 { max-width: 16em; }
.reel-lead h1 a,
.reel-copy h1 { color: inherit; text-decoration: none; }
.reel-lead img,
.reel-still {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #1a1a1a;
  border-radius: 12px;
}
.reel-portrait {
  display: block;
  width: min(100%, 12rem);
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: var(--reel-paper);
  border-radius: 12px;
}
.reel-lead p,
.reel-copy .reel-fact { margin: 12px 0 0; font-size: 16px; }
.reel-status,
.reel-note { color: rgba(var(--reel-rgb), .72); font-size: 15px; }
.reel-go {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 0 18px;
  background: #d3381c;
  color: #fff;
  text-decoration: none;
}
.reel-go[aria-disabled="true"],
.reel-quiet {
  display: inline-block;
  margin-top: 18px;
  color: rgba(var(--reel-rgb), .72);
}
.reel-rows { display: flex; flex-direction: column; }
.reel-row {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(var(--reel-rgb), .16);
  color: inherit;
  text-decoration: none;
}
.reel-row time { font-variant-numeric: tabular-nums; color: rgba(var(--reel-rgb), .72); }
.reel-row strong { display: block; font-weight: 550; font-size: 18px; }
.reel-row small { display: block; margin-top: 2px; color: rgba(var(--reel-rgb), .66); font-size: 14px; }
.reel-month { margin-top: 28px; }
.reel-month h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
.reel-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
}
.reel-month-nav h2 { margin: 0; }
.reel-month-nav button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--reel-ink);
  font-size: 22px;
  line-height: 1;
}
.reel-month-nav button:disabled { opacity: 0.35; }
.reel-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
  gap: 4px;
}
.reel-month-grid > * {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.reel-dow, .reel-cell { min-width: 0; }
.reel-dow {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 8px;
  color: rgba(var(--reel-rgb), .55);
  font-size: 12px;
}
.reel-cell {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  color: var(--reel-ink);
  font: inherit;
  text-align: left;
  overflow: hidden;
}
.reel-cell.is-empty, .reel-cell.is-pad { background: transparent; }
.reel-cell.is-show { background: var(--reel-tint); }
.reel-cell > b {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 8px;
  height: 20px;
  min-width: 0;
  padding: 0;
  border-radius: 2px;
  background: transparent;
  color: rgba(var(--reel-rgb), .55);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 20px;
  text-align: left;
}
.reel-cell.is-show > b {
  left: 4px;
  min-width: 24px;
  padding: 0 5px 0 4px;
  background: var(--reel-paper);
  color: var(--reel-ink);
}
.reel-cell-pics { position: absolute; inset: 0; display: block; }
.reel-cell-pics img, .reel-ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #3a3a38;
}
.reel-cell.is-multi .reel-cell-pics > :not(.reel-cell-count) {
  position: absolute;
  width: 87.5%;
  height: 87.5%;
}
.reel-cell.is-multi .reel-cell-pics > :not(.reel-cell-count):nth-child(1) { top: 0; left: 0; }
.reel-cell.is-multi .reel-cell-pics > :not(.reel-cell-count):nth-child(2) { top: 12.5%; left: 12.5%; }
.reel-cell-count {
  position: absolute;
  z-index: 3;
  right: 2px;
  bottom: 2px;
  height: 16px;
  padding: 0 4px;
  border: 0;
  border-radius: 2px;
  background: var(--reel-paper);
  color: var(--reel-ink);
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 16px;
}
.reel-ph {
  position: absolute;
  inset: auto 4px 6px 4px;
  width: auto;
  height: 16px;
  padding: 0;
  background: transparent;
  color: var(--reel-ink);
  font-size: 12px;
  line-height: 16px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reel-body, .reel-body a, .reel-note, .reel-note a, .reel-read, .reel-read a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.reel-cell.is-selected { outline: 2px solid #d3381c; outline-offset: -2px; z-index: 1; }
.reel-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.reel-day-sheet { margin-top: 1rem; }
.reel-day-sheet h3 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--reel-rgb), .16);
  font-size: 16px;
  font-weight: 700;
}
.reel-day-line {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(var(--reel-rgb), .16);
  color: inherit;
  text-decoration: none;
}
.reel-day-line strong { display: block; font-weight: 500; }
.reel-day-line small { display: block; color: rgba(var(--reel-rgb), .66); font-size: var(--reel-meta); }
.reel-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.reel-cal span,
.reel-cal a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--reel-rgb), .55);
  text-decoration: none;
  font-size: 14px;
}
.reel-cal .reel-dow { min-height: 28px; font-size: 13px; }
.reel-cal a {
  color: var(--reel-paper);
  background: var(--reel-ink);
  border-radius: 8px;
  font-weight: 650;
}
.reel-film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
}
.reel-copy h1 { font-size: 48px; max-width: 12em; }
.reel-read, .reel-body { max-width: 34em; margin-top: 1.75rem; }
.reel-read p, .reel-body p { margin: 0 0 0.9rem; line-height: 1.8; }
.reel-read h2 {
  margin: 28px 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.reel-read li { margin: 6px 0; }
.reel-source {
  margin-top: 28px;
  color: rgba(var(--reel-rgb), .62);
  font-size: 14px;
}
.reel-source a { color: inherit; }
.reel-work { margin: 8px 0 28px; }
.reel-years { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.reel-years button[aria-pressed="true"] {
  background: var(--reel-ink);
  color: var(--reel-paper);
}
.reel-facets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
  margin: 12px 0 8px;
}
.reel-facet {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.reel-facet legend {
  flex: 1 0 100%;
  margin: 0 0 2px;
  font-size: var(--reel-label);
}
.reel-facet label,
.reel-facets button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  max-width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(var(--reel-rgb), .28);
  border-radius: 8px;
  background: transparent;
  color: var(--reel-ink);
  font: inherit;
}
.reel-facet label:has(input:checked) {
  background: var(--reel-ink);
  color: var(--reel-paper);
}
.reel-facet label.is-zero,
.reel-facet label:has(input:disabled) { opacity: 0.4; }
.reel-facet button[aria-pressed="true"] {
  background: var(--reel-ink);
  color: var(--reel-paper);
  border-color: var(--reel-ink);
}
.reel-facet label:focus-within,
.reel-facets button:focus-visible,
.reel-filter-sticky button:focus-visible,
.reel-filter-chips button:focus-visible,
.reel-sheet button:focus-visible,
.reel-sheet label:focus-within,
.reel-empty button:focus-visible {
  outline: 2px solid var(--reel-ink);
  outline-offset: 2px;
}
.reel-facet label:focus-within:has(input:checked),
.reel-facet button[aria-pressed="true"]:focus-visible,
.reel-sheet label:focus-within:has(input:checked) {
  outline: 3px solid #d3381c;
  outline-offset: 3px;
}
.reel-count { font-variant-numeric: tabular-nums; }
.reel-empty button { margin-top: 8px; }
.reel-filter-sticky,
.reel-filter-chips,
.reel-sheet { display: none; }
.reel-filter-sticky button,
.reel-filter-chips button,
.reel-sheet-head button,
.reel-empty button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(var(--reel-rgb), .28);
  border-radius: 8px;
  background: transparent;
  color: var(--reel-ink);
  font: inherit;
}
.reel-filter-chips { flex-wrap: wrap; gap: 8px; }
.reel-filter-chips button[data-archive-remove] { gap: 6px; }
.reel-article h1 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 18em;
}
.reel-article .reel-cover {
  width: min(100%, 880px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin: 8px 0 20px;
  background: #1a1a1a;
}
.reel-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.reel-body p { max-width: 34em; }
.reel-body h2,
.reel-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}
.reel-num, .reel-line time, .reel-cal { font-variant-numeric: tabular-nums; }
.reel-line {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(var(--reel-rgb), .16);
}
.reel-line-main { display: contents; color: inherit; text-decoration: none; }
.reel-line time { color: rgba(var(--reel-rgb), .72); font-size: var(--reel-meta); }
.reel-what { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.reel-what strong { display: block; font-weight: 500; font-size: var(--reel-body); }
.reel-what small { display: block; color: rgba(var(--reel-rgb), .66); font-size: var(--reel-meta); }
.reel-thumb {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  flex: 0 0 auto;
  margin-left: auto;
  border-radius: 0.25rem;
}
.reel-line-act {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.8rem;
  border-radius: 0.4rem;
  background: #d3381c;
  color: #fff;
  font-weight: 500;
  font-size: var(--reel-meta);
  text-decoration: none;
}
.reel-line-act.is-quiet { background: transparent; color: rgba(var(--reel-rgb), .72); padding-right: 0; }
.reel-year { border-top: 1px solid rgba(var(--reel-rgb), .16); }
.reel-year summary {
  min-height: 2.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
.reel-year summary::-webkit-details-marker { display: none; }
.reel-year summary span { font-weight: 400; color: rgba(var(--reel-rgb), .66); font-size: var(--reel-meta); }
.reel-detail .reel-still { margin: 1rem 0; }
.reel-meta-line { color: rgba(var(--reel-rgb), .72); font-size: var(--reel-meta); }
.reel-plain { padding: 0; margin: 1rem 0; list-style: none; }
.reel-plain a { color: inherit; }
.reel-hold {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(var(--reel-rgb), .16);
  max-width: 34em;
}
.reel-wallet, .reel-settings { margin-top: 1.5rem; padding-top: 0.5rem; }
.reel-settings { border-top: 1px solid rgba(var(--reel-rgb), .16); }
.reel-pass { padding: 1rem 0; border-top: 1px solid rgba(var(--reel-rgb), .16); max-width: 34em; }
.reel-pass h3 { margin: 0; font-size: var(--reel-title); font-weight: 500; }
.reel-empty-ticket { max-width: 34em; }
.reel-badge {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--reel-ink);
  color: var(--reel-paper);
  font-style: normal;
  font-size: var(--reel-label);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reel-article.is-essay .reel-cover { display: none; }
.reel-article.is-review .reel-cover { max-width: 28rem; }
.reel-go { background: #d3381c; color: #fff; font-weight: 500; }
.reel-set { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.reel-form { display: grid; gap: 10px; max-width: 420px; margin-top: 12px; }
.reel-form label { display: grid; gap: 4px; font-size: 14px; }
.reel-form input {
  min-height: 44px;
  border: 1px solid rgba(var(--reel-rgb), .28);
  background: var(--reel-tint);
  color: var(--reel-ink);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 16px;
}
.reel-form button {
  justify-self: start;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--reel-ink);
  color: var(--reel-paper);
  font-size: 16px;
}
html[data-shell="reel"] :focus-visible { outline: 2px solid var(--reel-ink); outline-offset: 2px; }

@media (max-width: 1100px) {
  .reel-lead,
  .reel-film { grid-template-columns: 1fr; }
  .reel-lead .reel-lead-copy { order: 2; }
  .reel-lead img { order: 1; }
  .reel-copy { order: 1; }
  .reel-still { order: 2; }
}
@media (min-width: 721px) {
  .reel-month-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    max-width: 804px;
  }
  .reel-dow { padding-left: 10px; font-size: 13px; }
  .reel-cell { aspect-ratio: 2 / 3; }
  .reel-cell > b { top: 8px; left: 10px; height: 24px; font-size: 14px; line-height: 24px; }
  .reel-cell.is-show > b { left: 6px; min-width: 28px; padding: 0 7px 0 4px; }
  .reel-cell-count { right: 6px; bottom: 6px; height: 22px; padding: 0 7px; font-size: 12px; line-height: 22px; }
}
@media (max-width: 720px) {
  .reel-app { display: block; max-width: none; }
  .reel-rail { display: none; }
  .reel-tabbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--reel-paper);
    border-top: 1px solid rgba(var(--reel-rgb), .16);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .reel-tabbar a {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    height: 64px;
    min-height: 64px;
    padding: 0 2px;
    font-size: 11px;
    font-weight: 400;
    border-radius: 0;
    box-shadow: none;
    white-space: nowrap;
  }
  .reel-tabbar a span { white-space: nowrap; }
  .reel-tabbar a[aria-current="page"] { box-shadow: none; color: var(--reel-ink); font-weight: 700; background: transparent; }
  .reel-line { grid-template-columns: minmax(0, 1fr); }
  .reel-line time, .reel-what, .reel-line-act { grid-column: 1; grid-row: auto; }
  .reel-line-act { justify-self: start; }
  .reel-thumb { display: none; }
  .reel-main {
    height: calc(100dvh - var(--reel-bar) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - var(--reel-bar) - env(safe-area-inset-bottom));
  }
  .reel-page { padding-block: 16px 28px; }
  .reel-build { flex-wrap: wrap; padding-block: 0 24px; }
  .reel-build .brand-logo { height: 30px; }
  .reel-head { align-items: flex-start; flex-direction: column; }
  .reel-head h1,
  .reel-lead h1,
  .reel-page > h1,
  .reel-detail > h1,
  .reel-article h1 { max-width: none; }
  .reel-lead,
  .reel-film { grid-template-columns: 1fr; gap: 16px; }
  .reel-lead .reel-lead-copy { order: 2; }
  .reel-lead img { order: 1; }
  .reel-copy { order: 1; }
  .reel-still { order: 2; }
  .reel-copy h1 { max-width: none; }
  .reel-row { grid-template-columns: 7.4em minmax(0, 1fr); }
  .reel-facets-inline { display: none; }
  html[data-shell="reel"] { --reel-bar: 64px; }
  .reel-filterbar {
    position: sticky;
    top: 0;
    z-index: 6;
    margin: 0 -15px 8px;
    padding: 8px 15px;
    background: var(--reel-paper);
  }
  .reel-filter-sticky {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
  }
  .reel-filter-sticky .reel-live-count { margin: 0 0 0 auto; font-size: 12px; }
  .reel-filter-chips { display: flex; margin-top: 8px; }
  .reel-filter-chips:empty { display: none; }
  .reel-sheet:not([hidden]) {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 60;
    align-items: flex-end;
  }
  .reel-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .55);
  }
  .reel-sheet:not([hidden]) { padding-bottom: 64px; }
  .reel-sheet-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: min(70vh, 560px);
    overflow: hidden;
    padding: 10px 15px 12px;
    border-radius: 16px 16px 0 0;
    background: var(--reel-tint);
  }
  .reel-sheet-handle {
    width: 36px;
    height: 4px;
    margin: 0 auto 12px;
    border-radius: 2px;
    background: #4a4a46;
  }
  .reel-sheet-body { overflow: auto; }
  .reel-sheet .reel-facet legend { position: absolute; width: 1px; height: 1px; overflow: hidden; }
  .reel-sheet .reel-facet label,
  .reel-sheet .reel-facet button,
  .reel-sheet-foot button { min-height: 44px; height: 44px; }
  .reel-sheet .reel-facet label:has(input:checked),
  .reel-sheet .reel-facet button[aria-pressed="true"] {
    background: transparent;
    color: var(--reel-ink);
    border-color: #d3381c;
    box-shadow: inset 0 0 0 1px #d3381c;
  }
  .reel-sheet-foot {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 8px;
    padding-top: 8px;
  }
  .reel-sheet-foot [data-sheet-reset] {
    border: 1px solid rgba(var(--reel-rgb), .28);
    background: transparent;
    color: var(--reel-ink);
  }
  .reel-sheet-foot [data-sheet-apply] {
    border: 0;
    background: var(--reel-ink);
    color: var(--reel-paper);
    font-weight: 700;
  }
  .reel-go { margin-bottom: 8px; }
  .reel-article h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-shell="reel"],
  html[data-shell="reel"] * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* The program, footer and mobile masthead share the same text edge. */
.reel-page, .reel-build, .reel-mobile-head {
  box-sizing: border-box;
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: var(--reel-gutter);
}
.reel-mobile-head { display: none; }
.reel-rail { padding: 36px 18px; }
.reel-rail .reel-mark { color: var(--reel-ink); height: 55px; margin-bottom: 36px; }
.reel-rail .reel-mark > span:last-child { display: none; }
.reel-rail .brand-logo { height: 44px; width: calc(44px * 470.68 / 181.28); }
.reel-rail nav { height: 100%; }
.reel-rail nav > a:not(.reel-mark) { border-radius: 3px; }
.reel-rail nav > a[aria-current="page"] { box-shadow: inset 3px 0 #d3381c; }
.reel-rail .reel-theme { margin-top: auto; }
.reel-marquee {
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.5fr);
  width: 100%; background: #253730; color: #f9f6e9; align-items: stretch;
}
.reel-marquee img { width: 100%; height: 100%; min-height: 0; min-width: 0; aspect-ratio: 1.5; object-fit: cover; }
.reel-marquee-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 3vw, 45px); border-right: 1px dashed #ecedd781; }
.reel-marquee-copy p { margin: 0; font-size: 13px; letter-spacing: .13em; }
.reel-marquee h1 { width: 2.1em; margin: 1rem 0 0; color: inherit; font: 500 clamp(44px, 5.4vw, 82px)/1.12 var(--serif); letter-spacing: -.045em; }
.reel-photo-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; padding-block: 6px; color: rgba(var(--reel-rgb),.77); font-size: 12px; line-height: 1.5; }
.reel-photo-caption a { text-decoration: underline; text-underline-offset: .2em; color: inherit; }
.reel-program .reel-head { flex-direction: row; align-items: center; margin: 0; padding: 14px 0; border-bottom: 1px solid rgba(var(--reel-rgb),.35); }
.program-range { font: 500 13px Montserrat, sans-serif; letter-spacing: .09em; font-variant-numeric: tabular-nums; }
.reel-head .reel-switch { min-height: 44px; border-radius: 5px; }
.reel-head .reel-switch button { border-radius: 3px; }
.reel-program h2 { font-family: var(--serif); }
.reel-block { margin-block: 28px; }
.reel-what { display: grid; gap: 2px; }
.reel-line-main { display: grid; grid-template-columns: 9.5rem minmax(0,1fr); gap: 1rem; align-items: baseline; }
.reel-line { grid-template-columns: minmax(0,1fr) auto; }
.reel-line:has(.reel-line-main:hover), .reel-row:hover, .reel-year summary:hover { background: var(--reel-tint); }
.reel-year summary { font: 500 24px/1.3 Montserrat, sans-serif; min-height: 60px; gap: 1rem; }
.reel-year summary span { margin-left: auto; }
.reel-year summary::after { content: '+'; font: 20px/1 Montserrat,sans-serif; }
.reel-year[open] summary::after { content: '−'; }
.reel-month-nav { max-width: 804px; margin-top: 18px; }
.reel-month-select { color: var(--reel-ink); background: var(--reel-paper); border: 0; padding: 6px; font: 500 20px var(--serif); min-height: 44px; }
.reel-cell.is-empty { box-shadow: inset 0 1px rgba(var(--reel-rgb),.19); }
.reel-cell.is-show > b, .reel-cell-count { color: var(--color-dark-text); background: var(--color-dark-surface); }
.reel-cell.is-multi .reel-ph { color: var(--reel-ink); }
.reel-program .festival-news-list { background: transparent; padding: 0; color: var(--reel-ink); }
.reel-program .festival-news-row { display: grid; border-color: rgba(var(--reel-rgb),.2); background: transparent; color: var(--reel-ink); }
.reel-program .festival-news-row time { color: rgba(var(--reel-rgb),.7); }

@media (max-width: 720px) {
  html[data-shell="reel"] { --reel-gutter: clamp(14px, 4vw, 25px); --reel-bar: 82px; }
  .reel-mobile-head { display: flex; align-items: center; justify-content: space-between; padding-block: 8px 0; }
  .reel-mobile-head a { display: flex; align-items: center; text-decoration: none; color: inherit; }
  .reel-mobile-head .brand-logo { width: calc(28px * 470.68 / 181.28); height: 28px; color: inherit; }

  .reel-mobile-head button { display: grid; place-items: center; width: 44px; height: 44px; color: inherit; background: transparent; border: 0; }
  .reel-app .mobile-tabbar { display: grid; position: fixed; left: var(--reel-gutter); right: var(--reel-gutter); bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 40; height: 62px; padding: 4px; border: 1px solid rgba(var(--reel-rgb),.20); border-radius: 14px; background: color-mix(in srgb, var(--reel-paper) 88%, transparent); box-shadow: 0 5px 16px #201d181a; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .mobile-tabbar { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .reel-app .mobile-tabbar::before, .reel-app .mobile-tabbar::after, .reel-app .tab-glass::before, .reel-app .tab-glass::after { display: none; }
  .reel-app .tab-glass { top: 4px; bottom: 4px; background: var(--reel-tint); border: 0; border-radius: 10px; box-shadow: none; backdrop-filter: none; }
  .reel-app .tab-item { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; height: 52px; color: rgba(var(--reel-rgb),.75); font: 500 11px/1.15 Montserrat, sans-serif; }
  .reel-app .tab-item.active { color: var(--reel-ink); }
  .reel-app .tab-item[href="#/community"] svg { transform: translateX(1px); }
  .reel-app .tab-item[href="#/me"] svg { transform: translateY(-1px); }
  .reel-tabbar { display: none; }
  .reel-program .reel-head { padding-block: 9px; }
  .reel-marquee { grid-template-columns: minmax(0,1fr); }
  .reel-marquee-copy { flex-direction: row-reverse; align-items: baseline; padding: 12px 14px; border: 0; }
  .reel-marquee-copy p { font-size: 11px; }
  .reel-marquee h1 { width: auto; margin: 0; font-size: clamp(32px,8vw,45px); }
  .reel-marquee img { height: auto; }
  .reel-program .reel-block { margin-block: 20px; }
  .reel-line { gap: .5rem; }
  .reel-line-main { display: grid; grid-template-columns: minmax(0,1fr); gap: .15rem; }
  .reel-line-act { grid-column: 2; }
  .reel-what { display: grid; }
  .reel-line time, .reel-line-act, .reel-what small { font-size: 12px; }
  .reel-line-act { align-self: start; min-height: 24px; }
  .reel-filterbar { margin-inline: calc(0px - var(--reel-gutter)); padding-inline: var(--reel-gutter); }
}

@media (max-width: 720px) {
  body.no-scroll .reel-app .mobile-tabbar { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .reel-app .mobile-tabbar { background: var(--reel-paper); backdrop-filter: none; }
}

.reel-build .brand-logo { width: auto; aspect-ratio: 470.68 / 181.28; }
.reel-cell[aria-current="date"] > b {
  min-width: 2em; padding-inline: .3em; border-radius: 2px;
  background: #b12e16; color: white; text-align: center;
}

.stamp-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }
.screening-stamp { color: var(--reel-ink); background: var(--reel-tint); padding: 1rem; border: 1px dashed currentColor; display: grid; gap: .25rem; text-decoration: none; }
.screening-stamp strong { font: 600 1.35rem/1.35 var(--serif); }
.screening-stamp time, .screening-stamp span { font-size: .875rem; }
.stamp-toggle { background: var(--reel-ink); color: var(--reel-paper); padding: .6rem 1rem; min-height: 44px; border: 1px solid var(--reel-ink); }
.stamp-toggle[aria-pressed=true] { background: transparent; color: var(--reel-ink); }
.stamp-hint { display: block; margin-top: .35rem; }

.reel-line-act.is-source {
  min-height: 44px;
  padding-inline: .65rem;
  background: transparent;
  border: 1px solid rgba(var(--reel-rgb), .32);
  color: var(--reel-ink);
  white-space: nowrap;
}
.reel-line-act.is-source:hover { background: var(--reel-tint); }
