:root { --calendar-event-border-width: 1px; --favorite-ink: #6c3ba4; --favorite-bg: #f0e8fa; --dismissed-opacity: .22; --catalog-round-shadow: 0 4px 16px color-mix(in srgb, var(--ink) 16%, transparent); --catalog-round-layer: 2; --ticket-brand: #e9171b; --ticket-border: color-mix(in srgb, var(--ticket-brand) 80%, var(--ink)); --ticket-brand-hover: color-mix(in srgb, var(--ticket-brand) 88%, var(--ink)); }
html { overscroll-behavior-x: none; }
.planner-shell { --promotion-size: 32px; display: grid; grid-template-columns: var(--promotion-size) minmax(0, 1fr) var(--promotion-size); grid-template-areas: 'promotion planner promotion-reversed'; height: 100%; }
.planner-shell > main { grid-area: planner; height: 100%; min-width: 0; min-height: 0; }
.promotion { grid-area: promotion; min-width: 0; }
.promotion-reversed { grid-area: promotion-reversed; }
.promotion-reversed .promotion-link { border-right: 0; border-left: 1px solid var(--line); }
.promotion-reversed .promotion-brand-line { transform: rotate(180deg); }
.promotion-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 12px 4px; border-right: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: var(--small); white-space: nowrap; text-decoration: none; }
.promotion-brand-line { display: block; width: 100%; height: 100%; overflow: hidden; }
.promotion-brand-line text { fill: currentColor; font: 300 32px system-ui, sans-serif; }
.promotion-link:hover { border-color: var(--muted); }
.promotion-link:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
.calendar-viewport { overscroll-behavior-x: contain; }
@media (max-width: 640px) {
  .planner-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: 'planner' 'promotion'; }
  .promotion-reversed { display: none; }
  .promotion-link { height: var(--promotion-size); padding: 4px 12px; border: 0; border-top: 1px solid var(--line); }
  .promotion-brand-line text { font-size: 22px; dominant-baseline: central; }
  .calendar-viewport { --calendar-itinerary-chevron-size: 22px; }
  .calendar-viewport.is-itinerary-collapsed .calendar-board { --calendar-itinerary-width: 0px; }
  .calendar-viewport.is-itinerary-collapsed .calendar-itinerary-layer { display: none; }
  .calendar-viewport.is-itinerary-collapsed .calendar-itinerary-head { border-inline: 0; }
  .calendar-viewport.is-itinerary-collapsed .calendar-itinerary-toggle { position: absolute; top: 50%; left: 0; grid-template-columns: 1fr; width: var(--calendar-itinerary-chevron-size); height: var(--calendar-itinerary-chevron-size); padding: 0; transform: translate(-50%, -50%); }
  .calendar-viewport.is-itinerary-collapsed .calendar-itinerary-chevron { grid-column: 1; justify-self: center; }
  .calendar-itinerary-head:has(.calendar-itinerary-toggle) { position: relative; padding: 0; overflow: visible; }
  .calendar-itinerary-toggle { display: grid; grid-template-columns: 1fr auto 1fr; align-content: center; align-items: center; width: 100%; height: 100%; padding: 0 1px; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; white-space: nowrap; }
  .calendar-itinerary-label { grid-column: 2; grid-row: 1; line-height: 1; }
  .calendar-itinerary-chevron { position: relative; grid-column: 3; grid-row: 1; justify-self: start; width: var(--calendar-itinerary-chevron-size); height: var(--calendar-itinerary-chevron-size); border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-size: 0; }
  .calendar-itinerary-chevron::before { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20d%3D%22M4%202l4%204-4%204%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; transform: translate(-50%, -50%) rotate(180deg); content: ''; }
  .calendar-itinerary-toggle[aria-expanded="false"] .calendar-itinerary-chevron::before { transform: translate(-50%, -50%); }
  .calendar-axis { pointer-events: auto; }
  .calendar-axis.has-itinerary::after { right: 0; cursor: pointer; }
}
.snackbar { position: fixed; z-index: 9; left: 50%; bottom: 24px; width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 12px 16px; border-radius: 8px; transform: translateX(-50%); background: var(--ink); color: var(--surface); font-size: var(--small); white-space: pre-line; pointer-events: none; animation: snackbar-lifetime 4s both; }
.snackbar-extended { animation-duration: 8s; }
@keyframes snackbar-lifetime { 0%, 100% { opacity: 0; } 5%, 90% { opacity: 1; } }
#list-view { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
#refresh-app { display: block; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; }
.event-brand { display: flex; align-items: center; flex: none; gap: 5px; }
.event-separator { color: var(--muted); }
.event-switcher { position: relative; }
.event-switcher-button { display: flex; align-items: center; justify-content: center; gap: 2px; min-width: 30px; height: 36px; padding: 0 2px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 650; white-space: nowrap; border-radius: 6px; cursor: pointer; }
.event-switcher-button:hover, .event-switcher-button[aria-expanded="true"] { background: #f3ecee; }
.event-switcher-button:focus-visible { outline: 2px solid #b22641; outline-offset: 2px; }
.event-switcher svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }
#event-menu { position: fixed; inset: auto; margin: 0; min-width: 220px; padding: 6px; border: 1px solid #dfd9dc; border-radius: 10px; background: white; box-shadow: 0 8px 28px #29101a20; }
.event-option { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 6px; color: inherit; text-decoration: none; font-weight: 650; }
.event-option span { font-size: 12px; font-weight: 400; color: #777; }
.event-option:hover { background: #f6f3f4; }
.event-option[aria-current] { color: #b22641; background: #faf0f2; }
.app-header.is-compact .event-brand { font-size: 14px; }
.header-search { position: relative; flex: 1; min-width: 236px; max-width: 600px; margin-left: auto; }
.header-search input { min-width: 180px; margin: 0; padding: 5px 9px; font-size: var(--small); }
.header-search .search-row { gap: 4px; }
.header-search button, .header-actions > :is(button, .ticket-link) { padding: 5px 9px; font-size: var(--small); }
.header-actions { flex: none; flex-wrap: nowrap; gap: 6px; overflow: visible; }
.header-actions > .schedule-selection-count { padding: 5px 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.header-command svg { display: none; width: 18px; height: 18px; fill: none; stroke: currentColor; }
.app-header.is-compact { gap: 3px; overflow-x: auto; overscroll-behavior-x: contain; }
.app-header.is-compact .header-actions { gap: 3px; margin-left: auto; }
.app-header.is-compact .header-actions :is(.icon-button, .header-command, .ticket-link) { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; }
.app-header.is-compact .header-command svg { display: block; }
.app-header.is-compact .header-command span { display: none; }
.app-header.is-compact .schedule-selection-count { padding: 5px 4px; }
.header-search[popover] { position: fixed; inset: 48px 8px auto; width: min(600px, calc(100vw - 16px)); min-width: 0; max-width: none; margin: 0 auto; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: var(--catalog-round-shadow); }
.header-search[popover] .search-results-panel { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
.schedule-footer { display: flex; flex: none; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 4px; }
.availability-refresh { display: flex; flex: none; align-items: center; gap: 6px; white-space: nowrap; }
.icon-button { display: grid; flex: none; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--muted); line-height: 1; }
.icon-button:hover { color: var(--ink); }
.icon-button svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; }
.ticket-link { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid var(--ticket-brand); border-radius: 6px; background: var(--ticket-brand); color: var(--surface); font-size: var(--small); white-space: nowrap; text-decoration: none; }
.ticket-link span { font-weight: bold; }
.ticket-link svg { display: block; flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; }
.header-actions :is(.ticket-link, .icon-button) { display: inline-flex; flex: none; align-items: center; justify-content: center; width: calc(1lh + 12px); height: calc(1lh + 12px); padding: 0; line-height: inherit; }
.header-actions .ticket-link svg { width: 18px; height: 18px; }
.header-actions .icon-button { color: var(--ink); }
.notification-button[aria-pressed="true"] { color: var(--accent); }
.notification-button[aria-pressed="true"] svg { fill: currentColor; }
#notifications-dialog, #season-thanks-dialog { width: min(440px, calc(100% - 32px)); }
.header-actions .icon-button { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.header-actions .icon-button:hover { border-color: var(--muted); }
.ticket-link:hover { border-color: var(--ticket-brand-hover); background: var(--ticket-brand-hover); }
.ticket-link[hidden] { display: none; }
.refresh-icon[aria-busy="true"] svg { animation: availability-refresh-spin .8s linear infinite; }
@keyframes availability-refresh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .refresh-icon[aria-busy="true"] svg { animation: none; } }
.availability-note { color: var(--muted); font-size: .75rem; }
.calendar-legend { flex: 0 1 auto; min-width: 0; justify-content: flex-start; margin: 0; }
.schedule-tabs-row { display: flex; flex: none; align-items: center; gap: 8px; margin-bottom: 6px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.schedule-tabs-inline { display: flex; flex: 1; min-width: 0; }
.schedule-tabs-inline .schedule-tab-rename { display: none; }
.schedule-selector-button { display: none; flex: 1; min-width: 0; align-items: center; gap: 6px; padding: 4px 8px; text-align: left; font-size: var(--small); }
.schedule-selector-button span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.schedule-selector-button svg { flex: none; width: 18px; height: 18px; margin-left: auto; fill: none; stroke: currentColor; }
.schedule-tabs { display: flex; flex: 1; min-width: 0; align-items: stretch; gap: 4px; overflow-x: auto; }
.schedule-controls { display: flex; flex: none; align-items: center; justify-content: flex-end; gap: 8px; width: auto; max-width: none; padding: 4px 0 4px 12px; white-space: nowrap; }
.schedule-selection-count { flex: none; color: var(--ink); font-size: var(--body); font-weight: bold; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.schedule-controls .view-toggle { margin: 0; }
.schedule-update-times p { margin: 4px 0; }
.schedule-tab-item { display: flex; flex: none; align-items: center; border-radius: 5px 5px 0 0; }
.schedule-tab { flex: none; padding: 6px 12px; border: 0; border-radius: 5px 5px 0 0; background: transparent; font-size: var(--small); white-space: nowrap; }
.schedule-tab:not([aria-current="true"]):hover { background: var(--surface); }
.schedule-tab-item[aria-current="true"] { background: var(--surface); box-shadow: inset 0 -3px var(--ink); }
.schedule-tab[aria-current="true"] { font-weight: bold; }
.schedule-tab-remove { display: none; flex: none; place-items: center; width: 24px; height: 24px; margin-right: 6px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: var(--body); line-height: 1; }
.schedule-tab-item[aria-current="true"] .schedule-tab-remove { display: grid; }
.schedule-tab-remove:hover { color: var(--ink); }
.schedule-add-button { margin-left: auto; padding: 5px 9px; font-size: var(--small); white-space: nowrap; }
.schedule-tabs > .schedule-add-button { flex: none; margin-left: 0; padding: 6px 12px; border: 0; border-radius: 5px 5px 0 0; background: transparent; font-size: var(--heading); line-height: 1; }
.schedule-selector-actions { display: flex; flex: none; margin-left: auto; }
#add-schedule-dialog, #rename-schedule-dialog { width: min(420px, calc(100% - 32px)); }
#schedule-selector-dialog .schedule-tabs { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; overflow-x: hidden; overflow-y: auto; }
#schedule-selector-dialog .schedule-tab-item { border-radius: 6px; }
#schedule-selector-dialog .schedule-tab { flex: 1; min-width: 0; border-radius: 6px; overflow: hidden; text-align: left; text-overflow: ellipsis; }
#schedule-selector-dialog .schedule-tab-item[aria-current="true"] { background: var(--page); box-shadow: inset 3px 0 var(--ink); }
#schedule-selector-dialog .schedule-tab-remove { display: grid; }
.schedule-tab-rename { flex: none; padding: 4px 6px; border: 0; background: transparent; color: var(--muted); font-size: .75rem; white-space: nowrap; }
#schedule-update-dialog { width: min(620px, calc(100% - 32px)); }
.schedule-changes h3 { margin: 20px 0 8px; font-size: var(--body); }
.schedule-changes ul { padding-left: 20px; }
.schedule-changes li + li { margin-top: 12px; }
.schedule-changes .row-meta { margin: 4px 0 0; }
.schedule-copy-option { display: flex; align-items: center; gap: 6px; margin: 16px 0; font-size: var(--small); }
.schedule-copy-option input { margin: 0; }
.schedule-add-modes { display: flex; flex: none; gap: 4px; padding: 8px 20px 0; border-bottom: 1px solid var(--line); }
.schedule-add-modes button[aria-pressed="true"] { box-shadow: inset 0 -3px var(--ink); font-weight: bold; }
.calendar-legend .legend-favorite::before { background: var(--favorite-bg); border-color: var(--favorite-ink); }
.calendar-legend .legend-dismissed::before { opacity: var(--dismissed-opacity); }
.view-toggle { display: flex; flex: none; align-items: center; gap: 6px; margin: 0 0 0 4px; cursor: pointer; font-size: .75rem; }
.view-toggle input { appearance: none; position: relative; width: 34px; height: 20px; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--ink); cursor: pointer; }
.view-toggle input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); }
.view-toggle input:checked::before { transform: translateX(14px); }
.view-toggle .view-label { width: 2em; color: var(--ink); font-weight: bold; }
.list-date-separator { position: sticky; z-index: 1; top: 0; margin: var(--space) 0 8px; padding: 8px 0; background: var(--surface); font-size: var(--small); }
.schedule-list > :is(.screening, .list-itinerary-gap) + :is(.screening, .list-itinerary-gap) { border-top: 1px solid var(--line); }
.search-results-panel { position: absolute; z-index: 10; top: calc(100% + 6px); left: 0; width: 100%; max-height: min(65dvh, 560px); overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 4px 16px rgb(31 41 51 / .16); }
.search-results-heading { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: var(--small); }
.header-search .text-link { margin-left: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--accent); font-size: var(--small); text-decoration: underline; }
.header-search .search-result { display: flex; flex-direction: column; width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 12px; text-align: left; white-space: normal; }
.search-result:hover { background: var(--page); }
.search-result .row-meta { margin: 3px 0; }
.screening-title-line { display: block; min-width: 0; max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.screening-title-main, .screening-title-event { white-space: normal; overflow-wrap: anywhere; }
.screening-title-event { font-size: .75rem; font-weight: normal; }
.search-result-title { width: 100%; }
.calendar-event:focus { z-index: 5; outline: 3px solid var(--ink); outline-offset: 2px; }
.calendar-event { gap: 0; padding: 0; border: var(--calendar-bar-border-width) solid var(--muted); }
.calendar-event-select { border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; line-height: inherit; text-align: left; }
.calendar-event-select:disabled { opacity: 1; }
.calendar-event-actions { justify-content: flex-end; gap: var(--calendar-bar-button-gap); }
.calendar-itinerary-actions { justify-content: flex-end; gap: var(--calendar-bar-button-gap); }
.calendar-itinerary-actions .calendar-itinerary-info { margin-left: 0; }
.screening-ticket { --calendar-bar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M3%205h18v4a3%203%200%200%200%200%206v4H3v-4a3%203%200%200%200%200-6V5Z%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M15%205v14%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-dasharray%3D%222%202%22%2F%3E%3C%2Fsvg%3E"); --ticket-fill-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M3%205h18v4a3%203%200%200%200%200%206v4H3v-4a3%203%200%200%200%200-6V5Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E"); position: relative; display: flex; flex: none; align-items: center; justify-content: center; width: var(--calendar-bar-button-size, 18px); height: var(--calendar-bar-button-size, 18px); padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font-size: 0; line-height: 1; }
.screening-ticket::before { content: ""; display: block; width: var(--calendar-bar-button-size, 18px); height: var(--calendar-bar-button-size, 18px); background: currentColor; mask: var(--calendar-bar-icon) center / contain no-repeat; }
.screening-ticket[aria-pressed="true"]::before { background: var(--ticket-brand); mask-image: var(--ticket-fill-mask); }
.screening-ticket[aria-pressed="true"]::after { position: absolute; inset: 0; background: var(--surface); mask: var(--calendar-bar-icon) center / contain no-repeat; content: ""; pointer-events: none; }
.calendar-event-round-nav { display: flex; flex: none; gap: var(--calendar-bar-button-gap); }
.calendar-event-round { display: flex; align-items: center; justify-content: center; width: var(--calendar-bar-button-size); height: var(--calendar-bar-button-size); padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font-size: 0; line-height: 1; }
.calendar-event-round:disabled { cursor: default; }
.calendar-event > .calendar-duplicate-notice { position: absolute; bottom: 100%; left: -1px; display: none; width: max-content; max-width: 240px; overflow: visible; padding-bottom: 6px; white-space: normal; }
.calendar-duplicate-content { padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); box-shadow: var(--catalog-round-shadow); }
.calendar-duplicate-content p { margin: 0 0 6px; }
.calendar-duplicate-link { padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--accent); font: inherit; text-decoration: underline; }
.calendar-event.has-booked-film:not(.is-booked):is(:hover, :focus-within) { overflow: visible; opacity: 1; }
.calendar-event.has-booked-film:is(:hover, :focus-within) > .calendar-duplicate-notice { display: block; }
.calendar-event .calendar-event-info, .screening-info { display: flex; flex: none; align-items: center; justify-content: center; width: 18px; height: 18px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: var(--surface); color: inherit; font-family: Georgia, serif; font-size: .75rem; line-height: 1; }
.calendar-event .calendar-event-info { width: var(--calendar-bar-button-size); height: var(--calendar-bar-button-size); border: 0; background: transparent; font-size: 0; }
.calendar-event .calendar-event-favorite { display: flex; flex: none; align-items: center; justify-content: center; width: var(--calendar-bar-button-size); height: var(--calendar-bar-button-size); padding: 0; border: 0; background: transparent; color: inherit; font-size: 0; line-height: 1; }
@media (min-width: 641px) {
  .calendar-event .calendar-event-info, .calendar-itinerary .calendar-itinerary-info { display: none; }
}
.calendar-event-favorite[aria-pressed="true"] { color: var(--favorite-ink); }
.calendar-event.is-favorite:not(.is-booked) { background: var(--favorite-bg); }
.calendar-event.is-favorite.is-conflict { background: var(--conflict-bg); }
.calendar-event.has-booked-film:not(.is-booked) { background: var(--booked-bg); color: var(--booked-ink); opacity: var(--dismissed-opacity); }
:is(.calendar-event, .calendar-itinerary, .screening, .catalog-films .film-browse-row).is-dismissed { opacity: var(--dismissed-opacity); }
.calendar-event:focus-within { z-index: 5; }
.calendar-event :focus-visible { outline-color: var(--ink); }
.calendar-event-select:focus-visible { outline-offset: -3px; }
.screening.is-booked { color: var(--booked-ink); }
.screening { position: relative; display: flex; align-items: center; gap: var(--space); }
.screening-row-actions { --screening-row-icon-size: 18px; --screening-remove-size: calc(var(--space) * 1.5); display: flex; flex: none; align-items: center; gap: 8px; }
.screening.is-conflict, .screening.is-conflict :is(.film-link, .row-meta) { color: var(--conflict-ink); }
#film-conflicts { color: var(--conflict-ink); }
.screening-details { display: flex; flex: 1; min-width: 0; align-items: center; flex-wrap: wrap; gap: 4px var(--space); margin: 0; }
.screening-details > * { white-space: nowrap; }
.screening-details .film-link { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.screening-details .screening-heading .film-link { display: inline; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.screening-heading { display: block; flex: 0 1 auto; min-width: 0; white-space: normal; }
.screening-heading .film-link { text-align: left; }
.screening-subtitle, .film-event-subtitle { font-size: .75rem; overflow-wrap: anywhere; }
.screening-heading .screening-subtitle { margin: 0; }
.film-dialog-title-line { display: block; flex: 1; min-width: 0; white-space: normal; }
.film-dialog-title-line h2 { display: inline; margin: 0; overflow-wrap: anywhere; white-space: normal; }
.film-event-subtitle { display: inline; margin: 0; white-space: normal; }
.screening-next { --screening-next-height: 36px; position: relative; isolation: isolate; display: grid; flex: none; place-items: center; width: 52px; height: var(--screening-next-height); color: var(--surface); font-size: var(--small); font-weight: bold; line-height: inherit; white-space: nowrap; }
.screening-next-label { font-size: .75rem; line-height: 1; }
.screening-next::before { position: absolute; z-index: -1; inset: 0; background: var(--ink); mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2052%2036%22%3E%3Cellipse%20cx%3D%2226%22%20cy%3D%2218%22%20rx%3D%2217%22%20ry%3D%229%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20d%3D%22M45.00%2018.00L51.00%2018.00M43.55%2022.21L49.10%2024.51M39.44%2025.78L43.68%2030.02M33.27%2028.16L35.57%2033.71M26.00%2029.00L26.00%2035.00M18.73%2028.16L16.43%2033.71M12.56%2025.78L8.32%2030.02M8.45%2022.21L2.90%2024.51M7.00%2018.00L1.00%2018.00M8.45%2013.79L2.90%2011.49M12.56%2010.22L8.32%205.98M18.73%207.84L16.43%202.29M26.00%207.00L26.00%201.00M33.27%207.84L35.57%202.29M39.44%2010.22L43.68%205.98M43.55%2013.79L49.10%2011.49%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; content: ""; }
.screening-location { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.screening-remove { position: relative; display: grid; flex: none; place-items: center; width: var(--screening-remove-size); height: var(--screening-remove-size); padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 0; line-height: 1; }
.screening-remove::before, .screening-remove::after { position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; border-radius: 1px; background: currentColor; content: ""; }
.screening-remove::before { transform: translate(-50%, -50%) rotate(45deg); }
.screening-remove::after { transform: translate(-50%, -50%) rotate(-45deg); }
.screening-remove:hover { color: var(--ink); }
.calendar-event.is-unscheduled { border-style: dashed; background: var(--page); color: var(--muted); }
:is(.calendar-event, .calendar-itinerary, .screening, .calendar-candidate, .catalog-films .film-browse-row, .catalog-films .film-browse-round-option, .catalog-films .film-browse-round-picker > summary)[data-sold-out="true"]::before { position: absolute; inset: 0; border-radius: inherit; background: color-mix(in srgb, currentColor 44%, transparent); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0L100 100M100 0L0 100' fill='none' stroke='white' stroke-width='1.5' stroke-opacity='.7' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; content: ""; pointer-events: none; }
button:disabled { cursor: not-allowed; }
.film-images img { aspect-ratio: 16 / 10; object-fit: cover; }
.film-dialog-content .film-detail:first-child { margin-top: 16px; }
.film-detail summary { font-size: var(--small); }
#catalog-dialog { width: min(1280px, calc(100% - 32px)); height: calc(100dvh - 48px); }
#catalog-dialog .dialog-header h2 { flex: none; white-space: nowrap; }
#catalog-search { flex: 1; min-width: 0; max-width: 420px; margin: 0; padding: 5px 9px; font-size: var(--small); }
.catalog-toolbar { position: relative; display: flex; flex: none; align-items: center; justify-content: space-between; gap: 8px var(--space); padding: 12px var(--space); border-bottom: 1px solid var(--line); white-space: nowrap; }
.catalog-toolbar p { flex: none; margin: 0; }
.catalog-toolbar label { display: flex; flex: none; align-items: center; gap: 8px; margin: 0; font-size: var(--small); white-space: nowrap; }
.catalog-toolbar select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--surface); font: inherit; }
.catalog-view-settings { flex: none; }
.catalog-view-settings summary { cursor: pointer; font-size: var(--small); }
.catalog-view-settings[open] > summary { margin-bottom: 0; }
.catalog-view-options { position: absolute; top: 100%; right: var(--space); z-index: var(--catalog-round-layer); display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: calc(100% - var(--space) * 2); padding: 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); box-shadow: var(--catalog-round-shadow); }
.catalog-films { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.film-browse-row { position: relative; display: grid; grid-template-columns: 144px minmax(204px, 244px) minmax(0, 1fr) 112px; align-items: start; gap: var(--space); padding: var(--space); border-bottom: 1px solid var(--line); content-visibility: auto; contain-intrinsic-size: auto 224px; }
.film-browse-row:focus { outline: 3px solid var(--ink); outline-offset: -3px; }
.catalog-films .film-browse-row.is-favorite { background: var(--favorite-bg); }
.film-browse-thumbnail { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 5px; background: var(--page); color: var(--muted); font-size: var(--small); }
.film-browse-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-browse-image-toggle { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: zoom-in; }
.film-browse-row.is-showing-stills > :is(.film-browse-thumbnail, .film-browse-main, .film-browse-copy) { visibility: hidden; }
.film-browse-gallery { position: absolute; grid-column: 1 / 4; grid-row: 1 / 2; inset: 0; display: flex; align-items: stretch; gap: 12px; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 5px; background: transparent; overflow-x: auto; overflow-y: hidden; cursor: zoom-out; }
.film-browse-gallery img { display: block; flex: none; width: auto; height: 100%; max-width: none; border-radius: 5px; object-fit: contain; }
.film-browse-image-toggle:focus-visible, .film-browse-gallery:focus-visible { outline-color: var(--ink); outline-offset: -3px; }
.film-browse-main { min-width: 0; }
.film-browse-main h3 { margin: 0 0 4px; font-size: var(--body); }
.film-browse-heading { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.film-browse-heading h3 { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.film-browse-heading .film-browse-title-line { flex: 1; }
.film-browse-trailer { display: grid; flex: none; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: inherit; }
.film-browse-trailer::before { content: "▶"; font-size: var(--small); }
.film-browse-trailer:not(:disabled):hover { background: var(--page); }
.film-browse-trailer:disabled { background: transparent; color: inherit; opacity: .3; cursor: default; }
#trailer-dialog { width: min(960px, calc(100% - 32px)); }
.trailer-player { position: relative; flex: 0 1 auto; min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.trailer-player iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.film-browse-main > p.muted { margin: 0 0 10px; font-size: var(--small); overflow-wrap: anywhere; }
.film-browse-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; margin: 0; font-size: var(--small); }
.film-browse-facts dt { color: var(--muted); }
.film-browse-facts dd { margin: 0; overflow-wrap: anywhere; }
.film-country-flags { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.film-country-flag { position: relative; font-size: var(--heading); line-height: 1; }
.film-country-flag::after { content: attr(aria-label); position: absolute; z-index: 2; top: calc(100% + 4px); left: 0; display: none; padding: 4px 8px; border-radius: 4px; color: var(--surface); background: var(--ink); font-size: var(--small); line-height: 1.4; white-space: nowrap; pointer-events: none; }
.film-country-flag:hover::after { display: block; }
.film-browse-screening { margin: 10px 0 0; font-size: .75rem; font-weight: bold; }
.film-browse-location { margin: 3px 0 0; color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; }
.film-browse-subtitle { margin: 0; font-size: var(--small); overflow-wrap: anywhere; }
.film-browse-heading .film-browse-subtitle, .film-browse-round-title-line .film-browse-subtitle { font-size: .75rem; }
.catalog-group-toggle { margin: 0; white-space: nowrap; }
.film-browse-round-picker { position: relative; margin-top: 10px; }
.film-browse-round-picker summary { position: relative; padding-right: 18px; list-style: none; cursor: pointer; font-weight: normal; }
.film-browse-round-picker[open] > summary { margin-bottom: 0; }
.film-browse-round-picker summary::-webkit-details-marker { display: none; }
.film-browse-round-picker summary::after { position: absolute; top: 5px; right: 3px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); content: ""; }
.film-browse-round-picker[open] summary::after { transform: rotate(225deg); }
.film-browse-round-picker .film-browse-location { display: block; }
.film-browse-round-picker .film-browse-screening { margin-top: 0; }
.film-browse-round-options { position: absolute; z-index: var(--catalog-round-layer); top: calc(100% + 5px); left: -8px; right: -8px; max-height: 20rem; overflow-y: auto; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); box-shadow: var(--catalog-round-shadow); }
.film-browse-row:has(.film-browse-round-picker[open]) { z-index: var(--catalog-round-layer); content-visibility: visible; }
.film-browse-round-option { display: block; width: 100%; padding: 8px; border: 0; border-radius: 0; background: transparent; text-align: left; }
.film-browse-round-option:hover, .film-browse-round-option[aria-pressed="true"] { background: var(--page); }
.film-browse-copy { align-self: stretch; min-height: 0; overflow: hidden; }
.film-browse-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden; margin: 0; font-size: var(--small); line-height: 1.65; overflow-wrap: anywhere; }
@supports (-webkit-line-clamp: max(1, round(down, calc(100cqh / 1lh), 1))) {
  .film-browse-copy { container-type: size; }
  .film-browse-description { -webkit-line-clamp: max(1, round(down, calc(100cqh / 1lh), 1)); }
}
.film-browse-actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: var(--space); align-self: stretch; }
.film-browse-favorite { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; color: var(--muted); background: transparent; box-shadow: none; font-size: 0; line-height: 1; }
.film-browse-favorite::before { content: ""; width: var(--heading); height: var(--heading); background: currentColor; }
.film-browse-favorite[aria-pressed="true"] { color: var(--favorite-ink); }
.film-detail-link { color: var(--accent); font-size: var(--small); white-space: nowrap; }
.film-browse-links { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-end; gap: var(--space); }
.film-browse-links > * { flex: none; }
.film-browse-links button { padding: 0; border: 0; border-radius: 0; color: var(--accent); background: transparent; font-size: var(--small); text-decoration: underline; white-space: nowrap; }
@media (max-width: 760px) { .film-browse-row { grid-template-columns: 112px minmax(0, 1fr); gap: 12px var(--space); } .film-browse-copy { grid-column: 1 / -1; container-type: normal; } .film-browse-description { -webkit-line-clamp: 4; } .film-browse-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; } .film-browse-gallery { grid-column: 1 / -1; grid-row: 1 / 3; } }
.dialog-actions { display: flex; flex: none; justify-content: flex-end; gap: 8px; padding: 16px 20px; border-top: 1px solid var(--line); }
.schedule-add-actions { justify-content: space-between; align-items: center; }
.dialog-close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; font-size: var(--heading); line-height: 1; }
.info-notices a { color: var(--accent); }
.info-notices { margin: 0; padding-left: 20px; }
.info-notices li + li { margin-top: var(--space); }
#reset-travel { margin-left: 8px; }
.settings-section + .settings-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.settings-section h3 { margin: 0 0 12px; font-size: var(--body); }
.overlap-setting { display: flex; align-items: center; gap: 8px; }
.overlap-setting input { width: 5em; margin: 0; }
#place-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px 20px; }
.place-filter { display: flex; align-items: center; gap: 8px; margin: 0; }
.place-filter input { margin: 0; accent-color: var(--accent); }
.selection-mode { margin: 0; }
.selection-mode .block-label, .selection-mode:has(input:checked) .replace-label { color: var(--ink); font-weight: bold; }
.selection-mode .replace-label, .selection-mode:has(input:checked) .block-label { color: var(--muted); font-weight: normal; }
@media (max-width: 640px) {
  .schedule-tabs-inline { display: none; }
  .schedule-selector-button { display: flex; }
  .calendar-event-actions { display: grid; grid-template-columns: repeat(3, var(--calendar-bar-button-size)); }
  .calendar-event-round-nav { display: contents; }
  .calendar-event-round:first-child { grid-column: 1; grid-row: 1; }
  .calendar-event-round:last-child { grid-column: 3; grid-row: 1; }
  .calendar-event-actions .screening-ticket { grid-column: 2; grid-row: 2; }
  .calendar-event-favorite { grid-column: 3; grid-row: 2; }
  .calendar-event-info { grid-column: 1; grid-row: 2; }
  .calendar-itinerary-info { order: -1; }
}
.film-drawer { position: fixed; z-index: 8; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(360px, calc(100vw - 24px)); height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--catalog-round-shadow); }
.film-drawer[hidden] { display: none; }
.film-drawer.is-left { inset: 0 auto 0 0; border-left: 0; border-right: 1px solid var(--line); }
.film-drawer-header { display: flex; flex: none; align-items: center; justify-content: space-between; gap: var(--space); padding: 12px var(--space); border-bottom: 1px solid var(--line); }
.film-drawer-header h2 { margin: 0; font-size: var(--body); }
.film-drawer-content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; container-type: size; }
.film-drawer .film-browse-row { display: flex; flex-direction: column; gap: 16px; min-height: 100cqh; border: 0; background: var(--surface); content-visibility: visible; contain-intrinsic-size: none; }
.film-drawer .film-browse-main { width: 100%; }
.film-drawer .film-browse-thumbnail:not(:has(img)), .film-drawer .film-browse-main > .muted:empty, .film-drawer .is-screening-only .film-browse-copy { display: none; }
.film-drawer .film-browse-copy { container-type: normal; }
.film-drawer .film-browse-description { display: block; overflow: visible; -webkit-line-clamp: unset; }
.film-drawer .film-browse-actions { position: sticky; z-index: var(--catalog-round-layer); bottom: 0; flex: none; flex-direction: row; align-items: center; margin: auto calc(-1 * var(--space)) calc(-1 * var(--space)); padding: 8px var(--space); border-top: 1px solid var(--line); background: inherit; }
.film-drawer .film-browse-favorite { display: none; }
.film-drawer .film-browse-links { flex-direction: row; align-items: center; justify-content: flex-end; min-width: 0; max-width: 100%; margin-left: auto; overflow-x: auto; }
.film-drawer .film-browse-gallery { position: static; order: -1; flex-direction: column; width: 100%; height: auto; overflow: visible; }
.film-drawer .film-browse-gallery img { width: 100%; height: auto; object-fit: contain; }
.film-drawer .film-browse-row.is-showing-stills > .film-browse-thumbnail { display: none; }
.film-drawer .film-browse-row.is-showing-stills > :is(.film-browse-main, .film-browse-copy) { visibility: visible; }
@media (max-width: 640px) {
  #catalog-dialog, #settings-dialog, #film-dialog { width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .film-drawer, .film-drawer.is-left { inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
}
#clear-schedule-dialog, #schedule-selector-dialog { position: fixed; inset: 0; width: min(420px, calc(100% - 32px)); height: fit-content; max-width: calc(100% - 32px); max-height: calc(100dvh - 48px); margin: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.catalog-films .film-browse-row.is-favorite { background: var(--favorite-bg); color: var(--favorite-ink); }
.catalog-films :where(.film-browse-row).is-favorite .film-browse-round-option { background: var(--favorite-bg); color: var(--favorite-ink); }
.catalog-films :is(.film-browse-row, .film-browse-round-option, .film-browse-round-picker > summary)[data-screening-status="is-conflict"] { background: var(--conflict-bg); color: var(--conflict-ink); }
.catalog-films :is(.film-browse-row, .film-browse-round-option)[data-screening-status="is-booked"] { background: var(--booked-bg); color: var(--booked-ink); }
.catalog-films :is(.film-browse-row, .film-browse-round-option, .film-browse-round-picker > summary)[data-booked-film="true"] { background: var(--booked-bg); color: var(--booked-ink); }
.catalog-films .film-browse-row[data-booked-film="true"], .catalog-films .film-browse-row:not(.is-dismissed):not([data-booked-film="true"]) .film-browse-round-option[data-booked-film="true"] { opacity: var(--dismissed-opacity); }
.film-browse-round-option { position: relative; }
.catalog-films :is(.film-browse-row, .film-browse-round-option, .film-browse-round-picker > summary):is([data-screening-status="is-unknown"], [data-screening-status="is-unscheduled"])::before { position: absolute; inset: 0; border: var(--calendar-event-border-width) dashed var(--muted); border-radius: inherit; content: ""; pointer-events: none; }
#view-switcher { display: flex; flex: none; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
#view-switcher button { padding: 3px 9px; border: 0; border-radius: 4px; background: transparent; font-size: var(--small); white-space: nowrap; }
#view-switcher button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
#table-view, #schedule-table-content { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; }
#table-view { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
#table-view .schedule-table-empty { margin: 0; padding: var(--space); color: var(--muted); font-size: var(--small); }
#table-view .schedule-table-viewport { flex: 1; min-width: 0; min-height: 0; overflow: auto; container-type: size; overscroll-behavior: contain; scrollbar-gutter: stable; }
#table-view .schedule-table-viewport::-webkit-scrollbar { width: 8px; height: 8px; }
#table-view .schedule-table-viewport::-webkit-scrollbar-thumb { border-radius: 4px; background: var(--muted); }
#table-view .schedule-table-viewport::-webkit-scrollbar-track { background: var(--surface); }
#table-view .schedule-table-board { --schedule-table-header-height: 34px; --schedule-table-today-bg: color-mix(in srgb, var(--ink) 20%, var(--surface)); position: relative; width: 100%; min-width: calc(var(--calendar-time-width) + var(--schedule-table-days) * var(--calendar-column-width)); height: calc(var(--schedule-table-header-height) + var(--schedule-table-minutes) * var(--calendar-pixels-per-minute) * 1px); }
#table-view :is(.schedule-table-dates, .schedule-table-body) { display: grid; grid-template-columns: var(--calendar-time-width) repeat(var(--schedule-table-days), minmax(0, 1fr)); }
#table-view .schedule-table-dates { position: sticky; z-index: 6; top: 0; height: var(--schedule-table-header-height); background: var(--page); }
#table-view :is(.schedule-table-corner, .schedule-table-date) { display: grid; place-content: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: var(--small); font-weight: bold; white-space: nowrap; }
#table-view .schedule-table-date { display: block; padding: 6px 2px; text-align: center; }
#table-view .schedule-table-date.is-today { background: var(--schedule-table-today-bg); }
#table-view .schedule-table-corner { position: sticky; z-index: 7; left: 0; background: var(--page); font-size: .75rem; }
#table-view .schedule-table-body { position: relative; height: calc(100% - var(--schedule-table-header-height)); }
#table-view .schedule-table-body > .calendar-current-time:not(.calendar-cursor-time) { z-index: 4; left: var(--calendar-time-width); }
#table-view .schedule-table-axis { position: sticky; z-index: 5; left: 0; height: 100%; border-right: 1px solid var(--line); background: var(--page); }
#table-view .schedule-table-tick { white-space: pre-line; }
#table-view .schedule-table-tick.is-first { transform: none; }
#table-view .schedule-table-tick.is-last { transform: translateY(-100%); }
#table-view .schedule-table-gridline { position: absolute; z-index: 0; left: 0; right: 0; border-top: 1px solid color-mix(in srgb, var(--schedule-table-grid-ink, var(--line)) 50%, transparent); pointer-events: none; }
#table-view .schedule-table-gridline.is-hour { border-color: var(--schedule-table-grid-ink, var(--line)); }
#table-view .schedule-table-day { position: relative; height: 100%; min-width: 0; overflow: hidden; border-right: 1px solid var(--line); }
#table-view .schedule-table-day.is-today { --schedule-table-grid-ink: var(--ink); background: var(--schedule-table-today-bg); }
.calendar-cursor-time, .calendar-cursor-time-axis { --current-time-ink: var(--ink); border-top-style: solid; }
.calendar-cursor-guide { position: fixed; z-index: 9; width: max-content; max-width: calc(100vw - 8px); transform: translateX(-50%); color: var(--ink); font-size: .6875rem; line-height: 1.3; text-align: center; pointer-events: none; }
.calendar-cursor-count { display: block; padding: 1px 4px; transform: translateY(calc(-100% - 3px)); background: var(--surface); }
.calendar-cursor-action { position: absolute; top: 3px; left: 50%; display: flex; align-items: center; justify-content: center; gap: 3px; padding: 1px 4px; transform: translateX(-50%); background: var(--surface); color: var(--muted); font-size: .625rem; white-space: nowrap; }
.calendar-cursor-action svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.calendar-cursor-guide[hidden], .calendar-cursor-action[hidden] { display: none; }
.calendar-candidates { font-size: var(--small); }
.calendar-candidates-heading { margin: 0; font-size: var(--small); }
.calendar-candidates-range { flex: none; margin: 0; padding: 8px var(--space); border-bottom: 1px solid var(--line); color: var(--muted); font-size: var(--small); }
.calendar-candidates-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.calendar-candidate { position: relative; width: 100%; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.calendar-candidate-select { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; text-align: left; overflow-wrap: anywhere; }
.calendar-candidates .calendar-candidate-actions { flex-wrap: wrap; margin-top: 8px; overflow: visible; }
.calendar-candidate:last-child { border-bottom: 0; }
.calendar-candidate:hover, .calendar-candidate:focus-within { outline: 2px solid currentColor; outline-offset: -2px; }
.calendar-candidate-meta { display: flex; align-items: center; flex-wrap: wrap; column-gap: 8px; row-gap: 2px; font-variant-numeric: tabular-nums; }
.calendar-candidate-venue { font-size: .6875rem; }
.calendar-candidate[data-interest="interested"] { background: var(--favorite-bg); color: var(--favorite-ink); }
.calendar-candidate[data-screening-status="is-conflict"] { background: var(--conflict-bg); color: var(--conflict-ink); }
.calendar-candidate[data-screening-status="is-booked"], .calendar-candidate[data-booked-film="true"] { background: var(--booked-bg); color: var(--booked-ink); }
.calendar-candidate[data-booked-film="true"] { opacity: var(--dismissed-opacity); }
.calendar-candidate[data-interest="dismissed"] { opacity: var(--dismissed-opacity); }
.calendar-candidate[data-screening-status="is-unknown"]::before { position: absolute; inset: 0; border: var(--calendar-event-border-width) dashed var(--muted); content: ""; pointer-events: none; }
.calendar-candidates-empty { margin: 0; padding: 12px; color: var(--muted); }
#table-view .calendar-candidate-preview { z-index: 4; border: 1px dashed var(--booked-ink); background: var(--booked-bg); opacity: .55; pointer-events: none; }
#table-view .calendar-candidate-preview[data-conflict="true"] { border-color: var(--conflict-ink); background: var(--conflict-bg); color: var(--conflict-ink); }
.calendar-candidate-end { display: block; margin-top: auto; color: var(--booked-ink); font-size: .625rem; }
.calendar-candidate-preview[data-conflict="true"] .calendar-candidate-end { color: var(--conflict-ink); }
#table-view .calendar-itinerary { z-index: 1; }
#table-view .calendar-itinerary-gap { z-index: 2; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
#table-view .calendar-itinerary:focus-within { z-index: 3; }
#table-view .calendar-itinerary-unknown { display: block; flex: 1; min-width: 0; margin-right: auto; overflow: hidden; color: var(--muted); font-size: .53125rem; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
#table-view .calendar-itinerary.is-unscheduled { border-style: dashed; }
#table-view .calendar-itinerary:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
:is(.calendar-event, .calendar-itinerary, .screening, .calendar-candidate, .catalog-films .film-browse-row, .catalog-films .film-browse-round-option)[data-ticket-held="true"], #table-view .calendar-itinerary[data-ticket-held="true"], .catalog-films :is(.film-browse-row, .film-browse-round-option)[data-ticket-held="true"][data-screening-status] { border-color: var(--ticket-border); background-color: var(--ticket-brand); color: var(--surface); }
:is(.calendar-event, .calendar-itinerary, .calendar-candidate, .catalog-films .film-browse-row, .catalog-films .film-browse-round-option)[data-ticket-held="true"]::before, .catalog-films :is(.film-browse-row, .film-browse-round-option)[data-ticket-held="true"][data-screening-status]::before { border-color: var(--ticket-border); }
:is(.calendar-event, .calendar-itinerary, .screening, .calendar-candidate)[data-ticket-held="true"] :is(.muted, .row-meta, .film-link, .screening-subtitle, .screening-title-event, .screening-remove, .screening-info, .calendar-event-favorite, .calendar-itinerary-unknown, .calendar-candidate-end, .calendar-bar-subtitle), #table-view .calendar-itinerary[data-ticket-held="true"] .calendar-itinerary-unknown { color: var(--surface); }
.screening[data-ticket-held="true"] .screening-info { background: transparent; }
.catalog-films .film-browse-row[data-ticket-held="true"] :is(.film-browse-main > .muted, .film-browse-facts dt, .film-browse-main > .film-browse-location, .film-browse-heading .film-browse-subtitle, .film-browse-favorite, .film-detail-link, .film-browse-links button), .catalog-films .film-browse-round-option[data-ticket-held="true"] :is(.film-browse-location, .film-browse-subtitle) { color: var(--surface); }
.catalog-films .film-browse-row[data-ticket-held="true"] .film-browse-round-picker > summary { background: transparent; color: var(--surface); }
.catalog-films .film-browse-row[data-ticket-held="true"] .film-browse-round-picker > summary .film-browse-location { color: inherit; }
.catalog-films .film-browse-row[data-ticket-held="true"] .film-browse-trailer:not(:disabled):hover { background: transparent; }

@media (max-width: 640px) {
  #table-view .schedule-table-board { --schedule-table-header-height: 48px; }
  #table-view .schedule-table-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; line-height: 1.3; }
  #list-view { padding: 12px; }
  .screening { gap: 8px; }
  .screening-details { align-self: flex-start; }
  .screening-next { align-self: flex-start; margin-top: calc((1lh - var(--screening-next-height)) / 2); }
  .screening-row-actions { --screening-remove-size: var(--screening-row-icon-size); display: grid; grid-template-columns: repeat(2, var(--screening-row-icon-size)); grid-template-rows: repeat(2, 1lh); align-self: flex-start; gap: 4px 8px; font-size: var(--small); }
  .screening-row-actions .screening-ticket { grid-column: 2; grid-row: 2; }
  .screening-row-actions .screening-info { grid-column: 1; grid-row: 2; }
  .screening-row-actions .screening-remove { grid-column: 2; grid-row: 1; justify-self: end; width: var(--screening-row-icon-size); }
}
.list-itinerary-gap { display: flex; align-items: center; justify-content: center; gap: 8px; height: 32px; color: var(--ink); font-size: var(--small); line-height: 1.3; }
.list-itinerary-gap-time { padding: 1px 4px; border-radius: var(--radius); background: var(--surface); }
.list-itinerary-gap-arrow { position: relative; flex: none; width: 12px; height: 20px; font-size: 0; }
.list-itinerary-gap-arrow::before { content: ''; position: absolute; inset: 0; background: var(--itinerary-arrow-color); mask: var(--itinerary-arrow-mask) center / 100% 100% no-repeat; }
.list-itinerary-gap.has-gv { height: 64px; padding: 0; }
.list-itinerary-gap.has-gv .list-itinerary-gap-arrow { align-self: stretch; height: auto; margin: 8px 0; }
.list-itinerary-gap-labels { display: grid; grid-template-rows: 1fr 1fr; justify-items: start; align-items: center; align-self: stretch; }
.list-itinerary-gap.is-travel-warning .list-gv-time { background: var(--surface); color: var(--ink); }
.list-itinerary-gap.is-travel-warning .list-itinerary-gap-time { background: var(--warning-ink); color: var(--surface); }


.list-itinerary-gap.has-gv { position: relative; }
.list-itinerary-gap.has-gv::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; border-top: 1px solid var(--line); pointer-events: none; }
.list-itinerary-gap.has-gv .list-itinerary-gap-arrow, .list-itinerary-gap-labels { position: relative; }

.list-itinerary-gap.has-gv .list-itinerary-gap-arrow { display: grid; grid-template-rows: 1fr 1fr; width: 12px; margin: 0; }
.list-itinerary-gap.has-gv .list-itinerary-gap-arrow::before { position: static; display: block; grid-row: 1; width: 12px; height: 20px; align-self: center; background: var(--itinerary-arrow-color); mask: var(--itinerary-shaft-mask) center / 100% 100% no-repeat; }
.list-itinerary-gap.has-gv .list-itinerary-gap-arrow::after { content: ''; display: block; grid-row: 2; width: 12px; height: 20px; align-self: center; background: var(--itinerary-arrow-color); mask: var(--itinerary-arrow-mask) center / 100% 100% no-repeat; }

.list-itinerary-gap.single-gv .list-itinerary-gap-labels { display: flex; align-items: center; }
.list-itinerary-gap.single-gv.is-travel-warning .list-gv-time { background: var(--warning-ink); color: var(--surface); }

:root { --past-screening-filter: saturate(.2) contrast(.55) brightness(1.25); }
:is(.calendar-event, .calendar-itinerary, .screening, .calendar-candidate)[data-started="true"] { filter: var(--past-screening-filter); }

.film-browse-time-block { display: flex; align-items: center; gap: var(--space); }
.film-browse-time-block > :first-child { min-width: 0; flex: 1; }
.film-screening-ended { margin-top: 0; align-self: center; }
.film-screening-ended[hidden] { display: none; }

.film-browse-time-details > .film-browse-location { display: block; }

div.film-browse-time-block { margin-top: 10px; }
.film-browse-time-details > .film-browse-screening { margin-top: 0; }

.calendar-panel { position: relative; }
.current-time-button { position: absolute; z-index: 7; right: calc(var(--space) / 2); bottom: calc(var(--space) / 2); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: 0 2px 6px color-mix(in srgb, var(--ink) 16%, transparent); }
.current-time-button:hover { background: var(--page); border-color: var(--muted); }

@media (hover: hover) {
  :is(.calendar-event, .calendar-itinerary, .screening, .calendar-candidate)[data-started="true"]:hover { filter: none; }
}
