/* A quiet, content-first system for an independent film atlas. */
:root {
  --paper: #f5f5f7;
  --surface: #fff;
  --ink: #1d1d1f;
  --muted: #65656a;
  --accent: #1d1d1f;
  --accent-deep: #000;
  --mist: #eeeef0;
  --line: #e4e4e7;
  --green: #26715a;
  --link: #0066cc;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; text-decoration: none; }
::selection { color: var(--ink); background: #dce8f6; }
input { caret-color: var(--ink); }
a, button { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #0071e3;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.sr-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 { width: 100%; max-width: 1280px; padding: 0 40px; margin: 0 auto; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 13px 20px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* Navigation stays deliberately small; the films carry the personality. */
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand svg { flex-shrink: 0; width: 31px; height: 31px; }
.brand strong { font-size: 23px; font-weight: 650; letter-spacing: -.02em; }
.brand > span { color: var(--muted); font-size: 13px; letter-spacing: -.01em; padding-left: 2px; }
.nav-inner nav { align-self: stretch; display: flex; align-items: stretch; gap: 28px; }
.nav-link { position: relative; min-height: 76px; padding: 0 1px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active { font-weight: 600; }
.nav-link.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--ink); }
.nav-link span { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: 3px; padding: 0 4px; border-radius: 5px; font-size: 12px; background: var(--mist); }
.nav-actions { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.about-link { color: var(--muted); font-size: 13px; min-height: 44px; white-space: nowrap; }
.about-link:hover { color: var(--ink); }
.about-link span { margin-left: 5px; }
.account-actions { display: flex; align-items: center; gap: 5px; }
.account-entry { padding: 10px 14px; min-height: 40px; font-size: 13px; border-radius: 999px; white-space: nowrap; }
.account-entry:hover { background: var(--paper); }
.account-register { background: var(--ink); color: #fff; padding-left: 19px; padding-right: 19px; }
.account-register:hover { background: #000; color: #fff; }

/* Homepage: generous typography, with real posters at their native proportions. */
.hero { background: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; min-height: 650px; align-items: center; }
.hero-copy { padding: 88px 0 82px; }
.intro, .section-kicker { display: none; }
.hero h1 { font-size: clamp(54px, 5.4vw, 76px); font-weight: 650; line-height: 1.12; letter-spacing: -.04em; margin: 0 0 27px; color: var(--ink); text-wrap: balance; }
.hero-copy > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; letter-spacing: -.015em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 46px; padding: 13px 22px; font-size: 14px; font-weight: 500; line-height: 1.4; border-radius: 999px; }
.primary { background: var(--ink); color: #fff; }
.primary:hover { background: #000; }
.quiet { background: #fff; color: var(--ink); border: 1px solid #c7c7cc; }
.quiet:hover { background: var(--paper); border-color: #a8a8ae; }
.hero-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 25px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.small-check { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #edf4f0; color: var(--green); font-size: 11px; }
.note-divider { width: 1px; height: 11px; margin: 0 5px; background: #d5d5da; }
.hero-art { position: relative; min-width: 0; height: 450px; align-self: center; }
.hero-gallery-link { display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; border-radius: 14px; }
.hero-gallery-link:focus-visible { outline-offset: 10px; }
.hero-poster-stage { display: grid; grid-template-columns: .92fr 1.12fr .92fr; gap: 13px; align-items: center; width: 100%; padding: 14px 0 36px; }
.hero-poster { min-width: 0; position: relative; }
.hero-poster img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 20px 38px rgba(0,0,0,.13); }
.hero-poster-one { transform: translateY(20px); }
.hero-poster-two { transform: translateY(-13px); z-index: 2; }
.hero-poster-three { transform: translateY(29px); }
.art-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.art-caption > span:last-child { color: var(--link); }
.hero-gallery-link:hover .art-caption > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.globe, .globe-label, .location-dot, .label-paris, .label-hongkong, .label-newyork { display: none; }

/* Discovery: reading first, with controls grouped by their actual task. */
.catalog-section { padding-top: 68px; padding-bottom: 80px; scroll-margin-top: 98px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
h2 { font-size: 32px; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.heading-dot { display: none; }
.data-stamp { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.signal { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.data-stamp .signal { width: 5px; height: 5px; }
.data-stamp time { font-variant-numeric: tabular-nums; }
.opportunity-scopes { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px; background: #e9e9ed; border-radius: 12px; margin-bottom: 12px; max-width: 100%; }
.opportunity-scopes button { min-height: 42px; padding: 10px 17px; border-radius: 8px; color: #55555a; font-size: 14px; white-space: nowrap; }
.opportunity-scopes button:hover { color: var(--ink); }
.opportunity-scopes button.active { color: var(--ink); font-weight: 600; background: #fff; }
.opportunity-scopes span { font-size: 12px; margin-left: 6px; }
.scope-note { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 0 0 27px; }
.platform-research { margin: 0 0 32px; background: #fff; border-radius: 12px; color: var(--muted); font-size: 14px; }
.platform-research summary { padding: 16px 20px; color: var(--ink); line-height: 1.6; cursor: pointer; }
.platform-research > div { padding: 0 20px 20px; }
.platform-research p { max-width: 78ch; line-height: 1.8; margin: 10px 0; }
.platform-research a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.platform-research small { display: block; margin-top: 14px; font-size: 12px; line-height: 1.7; }
.catalog-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 36px; }
.filters { padding-right: 8px; }
.filter-heading { display: flex; justify-content: space-between; align-items: center; margin: 1px 0 24px; }
.filter-heading strong { font-size: 16px; font-weight: 600; }
.text-button { min-height: 32px; color: var(--link); font-size: 13px; line-height: 1.6; padding: 4px 0; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.field-title { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 500; color: #55555a; }
.filters select { width: 100%; min-height: 43px; padding: 10px 10px; margin-bottom: 22px; border: 1px solid #d4d4d9; border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; }
.filter-caption { margin: -9px 0 24px; font-size: 12px; line-height: 1.75; color: var(--muted); }
.check-field { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.65; color: #55555a; }
.check-field input { accent-color: var(--ink); width: 16px; height: 16px; margin: 3px 0 0; flex-shrink: 0; }
.check-field small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.filter-foot { display: flex; align-items: flex-start; gap: 9px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 23px; color: var(--muted); }
.filter-foot p { margin: 0; font-size: 12px; line-height: 1.8; }
.filter-foot svg { flex-shrink: 0; margin-top: 2px; }
.search-row { display: flex; gap: 12px; }
.search-box { display: flex; flex: 1; align-items: center; gap: 11px; min-width: 0; min-height: 49px; padding: 0 16px; border: 1px solid #d4d4d9; border-radius: 10px; background: #fff; color: var(--muted); }
.search-box input { min-width: 0; width: 100%; height: 47px; background: transparent; border: 0; outline: none; color: var(--ink); font-size: 14px; }
.search-box:focus-within { outline: 3px solid #0071e3; outline-offset: 2px; }
.search-box input:focus-visible { outline: none; }
.search-box input::placeholder { color: var(--muted); }
.search-box kbd { font: inherit; font-size: 12px; line-height: 1.4; border: 1px solid #d5d5db; border-radius: 4px; padding: 1px 6px; color: var(--muted); }
.filter-toggle { display: none; }
.results-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 15px; margin-top: 15px; border-bottom: 1px solid #dcdce1; }
.tabs { display: flex; align-items: center; gap: 24px; max-width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; padding: 15px 0 16px; color: var(--muted); font-size: 14px; min-height: 50px; white-space: nowrap; }
.tabs button.active { color: var(--ink); font-weight: 600; }
.tabs button.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--ink); }
.tabs span { margin-left: 4px; font-size: 12px; }
.sort-label { margin-left: auto; }
.sort-label select { max-width: 110px; border: 0; background: transparent; color: var(--muted); font-size: 13px; padding: 10px 1px; }
.result-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 58px; }
.result-meta p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.result-meta .text-button { font-size: 12px; }
.opportunities { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.opportunity { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; background: #fff; overflow: hidden; }
.card-visual { position: relative; display: flex; align-items: center; height: 126px; padding: 24px; background: var(--card-bg); color: var(--card-ink); overflow: hidden; }
.card-visual::before, .card-visual::after { display: none; }
.event-mark { position: relative; z-index: 1; max-width: 75%; font-size: 28px; font-weight: 600; line-height: 1.12; letter-spacing: -.025em; overflow-wrap: anywhere; }
.card-visual .edition { position: absolute; right: 18px; bottom: 16px; max-width: 39%; font-size: 12px; line-height: 1.4; text-align: right; }
.save { position: absolute; right: 15px; top: 14px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #65656a; }
.save:hover, .save.is-saved { color: var(--ink); background: #fff; }
.save.is-saved { box-shadow: inset 0 0 0 1px #b1b1b8; }
.save svg { width: 18px; height: 18px; }
.card-body { flex: 1; padding: 23px 24px 19px; }
.card-meta { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.place { color: var(--muted); font-size: 12px; line-height: 1.6; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; background: #edf5f1; color: var(--green); font-size: 12px; line-height: 1.5; white-space: nowrap; }
.badge::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.badge.closed { color: var(--muted); background: var(--paper); }
.badge.unknown { color: #805a22; background: #fbf3e6; }
.event-name { display: block; max-width: 100%; margin: 0; padding: 0; text-align: left; color: var(--ink); font-size: 20px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.event-name:hover { color: #4b4b50; }
.original-name { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 7px 0 14px; overflow-wrap: anywhere; }
.description { margin: 0 0 17px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.status-context { margin: 0 0 17px; padding: 12px 13px; border-radius: 8px; color: #805a22; background: #fbf3e6; font-size: 13px; line-height: 1.75; }
.status-context strong { font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 7px; border-radius: 5px; background: var(--paper); color: #626267; font-size: 12px; line-height: 1.5; }
.tag.category { background: var(--paper); color: #55555a; }
.tag.platform { background: #edf5f1; color: var(--green); }
.tag.warning { background: #fbf3e6; color: #805a22; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 0 24px; padding: 17px 0 20px; border-top: 1px solid var(--line); }
.deadline-text { min-width: 0; max-width: 75%; font-size: 12px; color: var(--muted); line-height: 1.65; overflow-wrap: anywhere; }
.deadline-text strong { color: var(--ink); font-size: 14px; font-weight: 500; }
.deadline-text .urgent { color: #8c4b20; }
.card-bottom .text-button { flex-shrink: 0; white-space: nowrap; }
.catalog-note { margin-top: 36px; padding: 24px 26px; border-radius: 12px; background: #eaeaee; }
.catalog-note strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.catalog-note p { max-width: 75ch; margin: 10px 0 12px; color: #5b5b60; font-size: 13px; line-height: 1.8; }
.empty { padding: 66px 24px; border-radius: 16px; background: #fff; text-align: center; }
.empty-icon { color: #9a9aa0; font-size: 48px; line-height: 1.2; }
.empty h3 { margin: 15px 0 10px; font-size: 22px; line-height: 1.4; font-weight: 600; }
.empty p { max-width: 60ch; margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 1.8; }
.empty .button { margin-top: 25px; }

/* Calendar keeps its labels legible; small screens scroll the week horizontally. */
#calendar-toolbar { display: flex; align-items: center; gap: 12px; margin: 4px 0 22px; }
#calendar-month { margin: 0; min-width: 135px; font-size: 21px; line-height: 1.4; font-weight: 600; text-align: center; }
#current-month { margin-left: auto; }
#calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(100px,1fr)); width: 100%; overflow-x: auto; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 28px; scrollbar-width: thin; scrollbar-color: #b1b1b8 #f5f5f7; }
.weekday { padding: 13px 10px; text-align: center; font-size: 13px; color: var(--muted); background: #eeeef0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-cell { min-width: 0; min-height: 124px; padding: 8px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-cell.outside { background: #eeeef0; }
.day-number { display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: 7px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.today .day-number { background: var(--ink); color: #fff; border-radius: 50%; }
.calendar-event, .calendar-legend-item { --calendar-status-ink: #805a22; --calendar-status-bg: #fbf3e6; --calendar-status-hover: #f5e7ce; --calendar-status-line: #e6cfaa; }
.calendar-event.open, .calendar-legend-item.open { --calendar-status-ink: #216a4f; --calendar-status-bg: #edf7f1; --calendar-status-hover: #e0f0e7; --calendar-status-line: #bedfcd; }
.calendar-event.closed, .calendar-legend-item.closed { --calendar-status-ink: #9e2942; --calendar-status-bg: #fff0f2; --calendar-status-hover: #fbe0e5; --calendar-status-line: #edc6cf; }
.calendar-event { display: block; width: 100%; margin-bottom: 6px; padding: 8px; border: 1px solid var(--calendar-status-line); border-radius: 6px; text-align: left; color: var(--calendar-status-ink); background: var(--calendar-status-bg); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.calendar-event:hover { background: var(--calendar-status-hover); }
.calendar-event-status { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; font-size: 11px; line-height: 1.5; font-weight: 600; }
.calendar-event-name { display: block; }
.calendar-status-dot { display: inline-block; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.calendar-legend { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 12px; background: var(--paper); }
.calendar-legend-item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 5px; color: var(--calendar-status-ink); background: var(--calendar-status-bg); font-size: 12px; line-height: 1.5; }
.calendar-tip { grid-column: 1/-1; margin: 0; padding: 0 0 17px; max-width: 80ch; color: var(--muted); font-size: 12px; line-height: 1.8; background: var(--paper); }

/* Detail and account windows use the same calm type and surface system. */
dialog { color: var(--ink); background: #fff; border: 0; padding: 0; box-shadow: 0 28px 90px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(0,0,0,.35); }
.detail-dialog { width: min(760px,calc(100% - 32px)); max-height: 90dvh; border-radius: 20px; overscroll-behavior: contain; }
.detail-top { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 28px; background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 25px; line-height: 1; }
.icon-button:hover { background: var(--mist); color: #000; }
.detail-header { padding: 32px; background: #f5f5f7; }
.detail-header .badge { margin-bottom: 16px; }
.detail-header h2 { max-width: 660px; font-size: 30px; line-height: 1.4; }
.detail-header .original-name { font-size: 14px; margin-top: 9px; }
.detail-subtitle { color: var(--muted); font-size: 14px; line-height: 1.8; }
.detail-body { padding: 30px 32px 32px; }
.detail-description { margin: 0; color: #55555a; font-size: 16px; line-height: 1.8; }
.detail-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 27px 0; }
.fact { min-width: 0; padding: 17px 18px; border-radius: 10px; background: var(--paper); }
.fact dt { font-size: 12px; color: var(--muted); margin: 0 0 7px; }
.fact dd { margin: 0; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.detail-body h3 { margin: 30px 0 10px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.detail-body p, .detail-body li { color: #55555a; font-size: 15px; line-height: 1.85; }
.detail-body ul { padding-left: 21px; }
.evidence { padding: 16px 18px; border-radius: 10px; background: var(--paper); color: #55555a; font-size: 14px; line-height: 1.8; }
.sources { display: flex; flex-direction: column; gap: 8px; }
.source-link { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 14px 16px; border-radius: 8px; background: var(--paper); color: var(--link); font-size: 14px; line-height: 1.7; }
.source-link:hover { background: #eeeef0; }
.source-link small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 15px; }
.detail-actions .button { padding: 11px 17px; font-size: 13px; }
.detail-body .verified { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.detail-jumps { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 17px 0 24px; }
.detail-jumps button { min-height: 44px; padding: 8px 0; color: var(--ink); font-size: 13px; text-decoration: underline; text-decoration-color: #b9b9bf; text-underline-offset: 5px; }
.detail-jumps button:hover { text-decoration-color: currentColor; }
.detail-body h3[id] { scroll-margin-top: 85px; }
.fee-details { margin: 32px 0 36px; padding-top: 1px; border-top: 1px solid var(--line); }
.fee-details h3 { margin-top: 24px; }
.detail-body .fee-status { display: flex; flex-wrap: wrap; gap: 5px 16px; margin: 10px 0; color: var(--ink); font-size: 12px; font-weight: 600; }
.fee-status span { color: var(--muted); font-weight: 400; }
.detail-body .fee-conflict { color: #8b450c; }
.detail-body .fee-summary { font-size: 16px; color: var(--ink); }
.fee-table { width: 100%; margin: 22px 0 17px; border-collapse: collapse; text-align: left; table-layout: fixed; font-size: 13px; line-height: 1.75; font-variant-numeric: tabular-nums; }
.fee-table caption { margin-bottom: 12px; text-align: left; color: var(--muted); font-size: 12px; line-height: 1.8; }
.fee-table th, .fee-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.fee-table thead th { background: var(--paper); font-size: 12px; font-weight: 500; color: var(--muted); }
.fee-table th:first-child { padding-left: 0; width: 34%; }
.fee-table thead th:first-child { padding-left: 10px; }
.fee-table th:nth-child(2) { width: 23%; }
.fee-table tbody th { font-weight: 400; }
.fee-table strong { font-weight: 600; }
.fee-table span { display: block; margin-top: 3px; color: #55555a; font-size: 12px; }
.fee-details h4 { margin: 23px 0 8px; font-size: 14px; font-weight: 600; }
.fee-details .fee-notes, .fee-details ul { margin: 16px 0; }
.detail-body .fee-details li, .detail-body .fee-refund { font-size: 13px; line-height: 1.9; }
.fee-sources { display: flex; flex-direction: column; margin: 16px 0; }
.fee-sources a { padding: 10px 0; min-height: 44px; color: var(--link); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.fee-sources a span { display: block; color: var(--muted); font-size: 12px; }
.detail-body .fee-footnote { margin: 15px 0 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.rule-audit { margin: 32px 0; padding: 1px 0 18px; border-block: 1px solid var(--line); }
.rule-audit li { margin-bottom: 8px; }
@media(max-width:600px) {
  .detail-facts { grid-template-columns: 1fr; }
  .detail-jumps { gap: 0 16px; }
  .fee-table { font-size: 12px; }
  .fee-table th, .fee-table td { padding: 12px 6px; }
  .fee-table th:first-child { width: 33%; }
  .fee-table th:nth-child(2) { width: 24%; }
}
.about-dialog { position: relative; width: min(700px,calc(100% - 32px)); max-height: 88dvh; border-radius: 20px; padding: 45px 40px 35px; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.about-dialog h2 { max-width: 540px; font-size: 29px; line-height: 1.4; }
.about-dialog h3 { margin: 28px 0 10px; font-size: 17px; font-weight: 600; }
.about-dialog p { color: #55555a; font-size: 15px; line-height: 1.9; }
.about-notice { margin-top: 28px; padding: 18px; border-radius: 10px; color: #55555a; background: var(--paper); font-size: 14px; line-height: 1.8; }
.account-dialog { position: relative; width: min(500px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 32px 32px 24px; overflow-y: auto; overscroll-behavior: contain; border-radius: 20px; }
.account-tabs { display: flex; gap: 26px; margin: 0 40px 25px 0; border-bottom: 1px solid var(--line); }
.account-tabs button { position: relative; min-height: 44px; padding: 0 1px 13px; color: var(--muted); font-size: 15px; }
.account-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.account-tabs button[aria-selected="true"]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--ink); }
.account-dialog h2 { font-size: 29px; line-height: 1.3; }
.account-status { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.account-description { margin: 16px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.account-context { margin: 0 0 24px; padding: 14px 16px; border-radius: 10px; background: var(--paper); color: #55555a; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.account-public { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.account-dialog h3 { margin: 0 0 9px; font-size: 15px; font-weight: 600; }
.account-public p { margin: 0; color: #55555a; font-size: 13px; line-height: 1.85; }
.account-planned { padding-top: 22px; }
.account-planned h3 span { margin-left: 8px; color: var(--muted); font-size: 12px; font-weight: 400; }
.account-planned ul { list-style: none; margin: 16px 0 12px; padding: 0; }
.account-planned li { margin: 0 0 16px; }
.account-planned strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.6; }
.account-planned li>span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.account-plan-link { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: var(--link); font-size: 13px; }
.account-plan-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.account-preview-note { margin: 7px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.account-browse { display: block; width: 100%; min-height: 44px; padding: 17px 0 0; border-top: 1px solid var(--line); color: var(--link); font-size: 14px; }
.account-browse:hover { text-decoration: underline; text-underline-offset: 3px; }
body:has(#account-dialog[open]) { overflow: hidden; }
.toast { position: fixed; bottom: 25px; left: 50%; z-index: 100; max-width: min(90%,600px); padding: 14px 22px; border-radius: 12px; color: #fff; background: #303033; font-size: 14px; line-height: 1.6; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%,12px); transition: opacity .18s ease, transform .18s ease; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }

footer { border-top: 1px solid var(--line); background: #f5f5f7; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; padding-top: 37px; padding-bottom: 28px; }
.footer-top .brand strong { font-size: 21px; }
.footer-top .brand span { font-size: 12px; }
.footer-top p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; font-size: 12px; line-height: 1.8; color: var(--muted); }

@media (min-width:1450px) {
  .shell { max-width: 1360px; padding-left: 48px; padding-right: 48px; }
  .hero-grid { min-height: 700px; gap: 64px; }
  .hero h1 { font-size: 80px; }
  .hero-art { height: 490px; }
  .catalog-layout { grid-template-columns: 230px minmax(0,1fr); gap: 44px; }
}
@media (max-width:1150px) {
  .shell { padding-left: 32px; padding-right: 32px; }
  .nav-inner { gap: 18px; }
  .nav-inner nav { gap: 23px; }
  .nav-actions { gap: 12px; }
  .nav-actions .about-link { display: none; }
  .brand > span { display: none; }
  .hero-grid { gap: 32px; min-height: 590px; }
  .hero-art { height: 410px; }
  .hero-copy { padding-top: 72px; padding-bottom: 72px; }
  .catalog-layout { grid-template-columns: 195px minmax(0,1fr); gap: 27px; }
  .opportunities { gap: 18px; }
  .card-body { padding: 21px 20px 18px; }
  .card-bottom { margin-left: 20px; margin-right: 20px; }
  .card-visual { padding: 22px 20px; }
}
@media (max-width:900px) {
  .nav-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 112px; gap: 0 15px; padding-top: 12px; }
  .nav-inner > .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav-actions { grid-column: 2; grid-row: 1; }
  .nav-inner nav { grid-column: 1/-1; grid-row: 2; width: 100%; min-height: 48px; gap: 24px; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  .nav-inner nav::-webkit-scrollbar { display: none; }
  .nav-link { min-height: 48px; font-size: 13px; flex-shrink: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { text-align: center; padding: 64px 0 30px; }
  .hero h1 { font-size: 64px; }
  .hero-copy > p { font-size: 18px; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-art { height: auto; min-height: 340px; width: min(570px,100%); margin: 0 auto; padding: 5px 0 45px; }
  .hero-poster-stage { padding: 10px 12px 40px; gap: 18px; }
  .art-caption { margin-top: 6px; }
  .catalog-section { padding-top: 48px; scroll-margin-top: 132px; }
  .catalog-layout { grid-template-columns: 180px minmax(0,1fr); gap: 22px; }
  .opportunities { grid-template-columns: 1fr; }
  .card-visual { height: 135px; }
  .description { max-width: 70ch; }
  .data-stamp { font-size: 12px; }
}
@media (max-width:700px) {
  .shell { padding-left: 22px; padding-right: 22px; }
  .brand strong { font-size: 21px; }
  .brand svg { width: 29px; height: 29px; }
  .account-entry { min-height: 40px; padding: 10px 13px; }
  .hero-copy { padding-top: 52px; padding-bottom: 27px; }
  .hero h1 { font-size: 54px; margin-bottom: 23px; }
  .hero-copy > p { font-size: 16px; line-height: 1.8; }
  .hero-actions { gap: 10px; margin-top: 27px; }
  .hero-actions .button { min-height: 44px; font-size: 13px; padding: 12px 17px; gap: 12px; }
  .hero-note { margin-top: 22px; font-size: 12px; gap: 7px; }
  .hero-art { width: min(470px,100%); min-height: 280px; padding-bottom: 35px; }
  .hero-poster-stage { gap: 12px; padding-left: 0; padding-right: 0; padding-bottom: 35px; }
  .hero-poster img { border-radius: 7px; box-shadow: 0 14px 28px rgba(0,0,0,.13); }
  .hero-poster-one { transform: translateY(14px); }
  .hero-poster-two { transform: translateY(-8px); }
  .hero-poster-three { transform: translateY(20px); }
  .art-caption { font-size: 12px; justify-content: center; gap: 5px 15px; }
  .catalog-section { padding-top: 39px; padding-bottom: 55px; }
  .section-heading { align-items: flex-start; gap: 15px; margin-bottom: 25px; }
  h2 { font-size: 27px; }
  .data-stamp { flex-direction: column; align-items: flex-end; gap: 3px; padding-top: 3px; font-size: 11px; }
  .data-stamp .signal { display: none; }
  .opportunity-scopes { gap: 2px; padding: 3px; }
  .opportunity-scopes button { padding: 10px 10px; min-height: 40px; font-size: 12px; }
  .opportunity-scopes span { font-size: 11px; margin-left: 4px; }
  .scope-note { font-size: 12px; margin-bottom: 23px; }
  .platform-research { margin-bottom: 25px; font-size: 13px; }
  .platform-research summary { padding: 14px 15px; }
  .platform-research > div { padding: 0 15px 17px; }
  .catalog-layout { display: block; }
  .filters { display: none; margin-bottom: 22px; padding: 20px; border-radius: 12px; background: #fff; }
  .filters.visible { display: block; }
  .filter-heading { margin-bottom: 20px; }
  .filters select { font-size: 14px; }
  .filter-toggle { display: inline-flex; align-items: center; min-height: 49px; padding: 10px 17px; border: 1px solid #d4d4d9; border-radius: 10px; background: #fff; font-size: 14px; }
  .search-box { min-height: 49px; padding: 0 13px; }
  .search-box input { font-size: 13px; height: 47px; }
  .search-box kbd { display: none; }
  .results-controls { gap: 0 8px; margin-top: 12px; }
  .tabs { gap: 21px; }
  .tabs button { font-size: 13px; padding-top: 14px; padding-bottom: 15px; }
  .tabs span { font-size: 11px; margin-left: 3px; }
  .sort-label select { font-size: 12px; padding: 9px 0; }
  .result-meta { min-height: 56px; gap: 10px; }
  .result-meta p { font-size: 12px; }
  .result-meta .text-button { font-size: 12px; }
  .opportunities { gap: 19px; }
  .card-visual { height: 128px; padding: 24px; }
  .event-mark { font-size: 29px; }
  .card-body { padding: 23px 23px 19px; }
  .card-bottom { margin-left: 23px; margin-right: 23px; }
  .card-meta { margin-bottom: 13px; }
  .event-name { font-size: 21px; }
  .description { font-size: 14px; }
  .catalog-note { margin-top: 29px; padding: 22px; }
  .footer-top { align-items: center; gap: 17px; padding-top: 29px; padding-bottom: 24px; }
  .footer-top p { order: 3; width: 100%; font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-top: 18px; font-size: 12px; }
  #calendar-toolbar { gap: 9px; }
  #calendar-month { min-width: 119px; font-size: 18px; }
  #calendar-toolbar .icon-button { width: 31px; height: 36px; }
  #calendar-grid { grid-template-columns: repeat(7,minmax(105px,1fr)); }
  .detail-top { padding: 12px 20px; }
  .detail-header { padding: 27px 24px; }
  .detail-header h2 { font-size: 25px; }
  .detail-body { padding: 24px; }
  .detail-facts { gap: 11px; }
  .fact { padding: 14px; }
  .fact dd { font-size: 13px; }
  .detail-actions { gap: 8px; }
  .detail-actions .button { padding: 11px 15px; }
  .about-dialog { padding: 45px 25px 28px; }
  .about-dialog h2 { font-size: 25px; }
  .about-dialog p { font-size: 14px; }
  .account-dialog { padding: 30px 25px 23px; }
}
@media (max-width:380px) {
  .shell { padding-left: 17px; padding-right: 17px; }
  .nav-inner nav { gap: 16px; }
  .nav-link { font-size: 12px; }
  .account-entry { padding-left: 11px; padding-right: 11px; }
  .hero h1 { font-size: 48px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions .button { padding-left: 14px; padding-right: 14px; gap: 8px; }
  .hero-note { font-size: 11px; gap: 5px; }
  .note-divider { margin-left: 2px; margin-right: 2px; }
  .hero-art { min-height: 250px; }
  .hero-poster-stage { gap: 9px; }
  .opportunity-scopes { display: flex; }
  .opportunity-scopes button { padding-left: 9px; padding-right: 9px; }
  .section-heading :is(h1,h2) { font-size: 25px; }
  .tabs { gap: 15px; }
  .tabs button { font-size: 12px; }
  .card-body { padding-left: 21px; padding-right: 21px; }
  .card-bottom { margin-left: 21px; margin-right: 21px; }
  .data-stamp { font-size: 10px; }
  .account-dialog { padding-left: 22px; padding-right: 22px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}

/* Connections between verified films and edition-specific event archives. */
.archive-film-link{display:inline-block;margin:0 0 16px;padding:0;border:0;background:none;color:var(--ink);font:inherit;font-size:13px;font-weight:600;text-align:left;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.archive-film-link:hover{color:var(--muted)}
.related-films-section{margin:32px 0}
.related-films-section h3{margin-bottom:8px}
.related-films-note{font-size:13px;color:var(--muted)}
.related-film-list{list-style:none;padding:0!important;margin:16px 0 22px!important}
.related-film-list li{display:flex;flex-direction:column;gap:4px;padding:13px 0;border-bottom:1px solid var(--line);line-height:1.5}
.related-film-title{font-weight:600;overflow-wrap:anywhere}
.related-film-relation{font-size:12px;color:var(--muted);overflow-wrap:anywhere}

/* One collection contains opportunities and films, stored locally. */
#view-title,.saved-heading h1{margin:0;font-size:36px;line-height:1.2;font-weight:650;letter-spacing:-.03em;text-wrap:balance}
.saved-heading{padding-top:64px;padding-bottom:12px}
.saved-heading>p{margin:18px 0 28px;color:var(--muted);font-size:15px;line-height:1.8}
.saved-heading .saved-sync{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:-12px 0 16px}
.saved-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line)}
.saved-tabs button{position:relative;display:inline-flex;align-items:center;gap:9px;min-height:48px;padding:8px 2px 16px;color:var(--muted)}
.saved-tabs button[aria-selected="true"]{color:var(--ink);font-weight:600}
.saved-tabs button[aria-selected="true"]::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--ink)}
.saved-tabs span{font-size:12px;min-width:22px;text-align:center;font-variant-numeric:tabular-nums}
body[data-view="saved"] #catalog{padding-top:25px}
body[data-view="saved/films"] .film-library{padding-top:28px}
.hero-poster img:not([src]){visibility:hidden}
@media(max-width:760px){#view-title,.saved-heading h1{font-size:28px}.saved-heading{padding-top:36px}.saved-heading>p{font-size:13px;margin-top:14px;margin-bottom:20px}.saved-tabs{gap:24px}}

/* Editorial entry points and transparent submission checks. */
.nav-link[href] { display: inline-flex; align-items: center; }
.footer-editorial-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.footer-editorial-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 12px; }
.footer-editorial-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.catalog-guide-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: 18px; }
.submission-assessment { margin: 24px 0 28px; padding: 22px; background: var(--paper); border-radius: 14px; }
.submission-assessment h3 { margin: 0 0 12px; font-size: 17px; }
.submission-assessment .submission-verdict { color: var(--ink); font-weight: 600; }
.submission-assessment ul { padding-left: 20px; margin: 14px 0; }
.submission-assessment li { margin-bottom: 9px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.submission-assessment .submission-assessment-note { margin: 15px 0 0; font-size: 12px; color: var(--muted); }
@media(max-width:600px){.nav-inner nav{gap:0}.nav-link{font-size:12px}.nav-link span{min-width:16px;height:17px;font-size:10px;margin-left:2px}.footer-editorial-links{gap:3px 18px}.catalog-guide-link{margin-left:0;display:flex}.submission-assessment{padding:18px}.hero-actions{gap:8px}.hero-actions .button{padding:12px 17px;font-size:13px}}

.card-bottom-actions{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}.card-bottom-actions .text-button{min-height:44px}.card-bottom .deadline-text{min-width:0;overflow-wrap:anywhere}

.detail-tool-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 24px}.detail-tool-actions .button{font-size:13px;min-height:44px;padding:10px 16px}
.detail-reminder-note{margin:-10px 0 24px;color:var(--muted);font-size:13px;line-height:1.8}
