/* ── Trailer — Neon Marquee ─────────────────────────────────────────────
   Cinematic dark UI: a deep near-black base washed by layered light, with each
   film's poster driving its own ambient color (--glow, set per card by glow.js).
   Display face: Bricolage Grotesque (variable, self-hosted in /vendor/fonts). */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/vendor/fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Wordmark-only face: the variable font instanced at exactly opsz 40 / wght 720
   with overlapping contours merged (fontTools removeOverlaps). The live VF keeps
   its overlaps (normal for variable fonts), and when the header composites
   (sticky + backdrop-filter) Chrome AA'd each contour separately — the T's stem
   showed through its crossbar as a seam ("the cross"). Same outlines, unioned. */
@font-face {
  font-family: "Bricolage Wordmark";
  font-style: normal;
  font-weight: 720;
  font-display: swap;
  src: url("/vendor/fonts/bricolage-wordmark.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/vendor/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #08080d;
  --panel: #14141c;              /* opaque: dropdowns, sheets, dialogs */
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f1f7;
  --text-muted: #9a98ab;
  --reel-grey: #b6b5b5;
  --accent: #ffcf40;
  --accent-dim: rgba(255, 207, 64, 0.14);
  --red: #e85555;
  --green: #4ade80;
  --glow: #6f63d8;               /* per-film override via glow.js */
  --radius: 16px;
  --poster-w: 92px;
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scrollbar-gutter: stable; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  font-size: 15px;
}
body.sheet-open { overflow: hidden; }

/* Atmosphere: two soft light pools (marquee yellow up top, cool violet low left)
   + a fixed film-grain layer. Both sit behind everything; the translucent card
   surfaces let them breathe through. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 85% -12%, rgba(255, 207, 64, 0.09), transparent 62%),
    radial-gradient(900px 700px at -15% 30%, rgba(111, 99, 216, 0.10), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 13, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: calc(12px + env(safe-area-inset-top)) 0 0;
}

.header-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
  padding-left: calc(16px + env(safe-area-inset-left));
  padding-right: calc(16px + env(safe-area-inset-right));
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 18px rgba(255, 207, 64, 0.22));
}

.wordmark {
  /* "Bricolage Wordmark" = the display face pre-instanced at opsz 40 / wght 720
     with overlaps removed (see @font-face note above) — kills the seam where the
     T's stem crossed its crossbar in the composited header. Falls back to the
     live VF with the same axis pins so the look survives a missing file. */
  font-family: "Bricolage Wordmark", var(--font-display);
  font-size: 2.4rem;
  font-weight: 720;
  font-variation-settings: "opsz" 40;
  letter-spacing: 0.015em;
  line-height: 1;
  color: var(--reel-grey);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Desktop icon order: Settings > Info > Mail (DOM order is Info > Mail > Settings). */
@media (min-width: 601px) {
  .header-icons #settings-picker { order: -1; }
}

/* Hidden date input: state holder only (the rail is the visible control). */
.date-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  border: 0;
}

/* ── Date rail ── */
.date-rail {
  order: 10;                 /* own full-width row at the bottom of the header */
  flex-basis: 100%;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.date-rail::-webkit-scrollbar { display: none; }

.date-chip {
  flex: 1 0 auto;
  min-width: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 10px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-display);
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.date-chip:hover { background: var(--surface-hover); }
.date-chip:active { transform: scale(0.95); }
.date-chip-wd {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  white-space: nowrap;
}
.date-chip-num {
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.date-chip.is-today .date-chip-wd { color: var(--accent); }
.date-chip.selected {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 24px -6px rgba(255, 207, 64, 0.55);
}
.date-chip.selected .date-chip-wd,
.date-chip.selected .date-chip-num { color: #171204; }

/* ── View toggle (Agenda ↔ Films) ── */
.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2px;
}
.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.view-btn svg { width: 17px; height: 17px; }
.view-btn:hover { color: var(--text); }
.view-btn.active {
  background: var(--accent-dim);
  color: var(--accent);
}

/* ── Picker buttons ── */
#cinema-picker-btn,
#movie-picker-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  transition: background 0.15s, border-color 0.15s;
}
#cinema-picker-btn:hover, #movie-picker-btn:hover { background: var(--surface-hover); }
#cinema-picker-btn:focus, #movie-picker-btn:focus { border-color: var(--accent); outline: none; }
#cinema-picker-label, #movie-picker-label {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chevron { font-size: 0.7rem; opacity: 0.6; flex-shrink: 0; }

.btn-refresh {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-refresh:hover { background: var(--surface-hover); border-color: var(--accent); color: var(--accent); }
.btn-refresh svg { width: 18px; height: 18px; }

/* ── Dropdown panels (desktop) / bottom sheets (mobile) ── */
.cinema-picker { position: relative; }
.movie-picker { position: relative; }
.settings-picker { position: relative; }

.cinema-dropdown {
  position: fixed;   /* geometry set by positionFixedDropdown (desktop) / sheet CSS (mobile) */
  min-width: 250px;
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  z-index: 9999;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  padding: 4px 0;
}
.cinema-dropdown.hidden { display: none; }

.movie-dropdown {
  position: fixed;
  min-width: 0;
  max-width: 340px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  z-index: 9999;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.movie-dropdown.hidden { display: none; }

.settings-dropdown {
  position: fixed;
  min-width: 210px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  z-index: 9999;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  padding: 6px 0;
}
.settings-dropdown.hidden { display: none; }

.cinema-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.88rem;
}
.cinema-row:hover { background: rgba(255, 255, 255, 0.05); }
.cinema-row.selected .cinema-row-name { color: var(--accent); }
.cinema-row-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.row-check {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 5px;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  flex-shrink: 0;
  position: relative;
  transition: background 0.1s, border-color 0.1s;
}
.cinema-row.selected .row-check,
.movie-row.selected .row-check,
.city-toggle.city-check-all .row-check {
  background: var(--accent);
  border-color: var(--accent);
}
.cinema-row.selected .row-check::after,
.movie-row.selected .row-check::after,
.city-toggle.city-check-all .row-check::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 0.5px;
  width: 4px;
  height: 8px;
  border: solid #171204;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.city-toggle.city-check-partial .row-check {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.city-toggle.city-check-partial .row-check::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--accent);
  border-radius: 1px;
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--border-strong);
  font-size: 1rem;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.15s;
}
.star-btn:hover, .star-btn.starred { color: var(--accent); }

.flying-star {
  position: fixed;
  z-index: 10000;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 0 6px rgba(255, 207, 64, 0.7);
}

.cinema-divider { height: 1px; background: var(--border); margin: 4px 12px; }

.city-header {
  display: flex;
  align-items: stretch;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  user-select: none;
}
.city-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}
.city-toggle:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.city-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.city-expand {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: inherit;
}
.city-expand:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.city-chevron { display: inline-block; transition: transform 0.15s; }
.city-header.open .city-chevron { transform: rotate(90deg); }

.cinema-row.indented { padding-left: 30px; }

#movie-search {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  width: 100%;
}
#movie-search::placeholder { color: var(--text-muted); }
.movie-divider { height: 1px; background: var(--border); }
#movie-list {
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 0;
}
.movie-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.88rem;
}
.movie-row:hover { background: rgba(255, 255, 255, 0.05); }
.movie-row.selected .movie-row-name { color: var(--accent); }
.movie-row-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.movie-row-empty { padding: 14px 12px; color: var(--text-muted); font-size: 0.85rem; text-align: center; }

.settings-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 8px 14px 4px;
}
.settings-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.88rem;
}
.settings-row:hover { background: rgba(255, 255, 255, 0.05); }
.settings-row input[type="checkbox"] { accent-color: var(--accent); cursor: pointer; }
.settings-row.disabled { opacity: 0.4; cursor: not-allowed; }
.settings-row.disabled input[type="checkbox"] { cursor: not-allowed; }
.settings-row.disabled:hover { background: transparent; }

/* ── Main ── */
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 16px;
  padding-left: calc(16px + env(safe-area-inset-left));
  padding-right: calc(16px + env(safe-area-inset-right));
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

.status {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Wide screens: agenda cards flow into two columns (daypart labels span both). */
@media (min-width: 800px) {
  #showings-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    align-items: start;
  }
  #showings-list .time-group-label,
  #showings-list .film-mosaic,
  #showings-list .empty-state,
  #showings-list .skeleton-card { grid-column: 1 / -1; }
}
.status.error { color: var(--red); }
.status.hidden { display: none; }

/* ── Skeletons ── */
.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  animation: card-in 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.skeleton-poster {
  width: var(--poster-w);
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.11) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  flex-shrink: 0;
}
.skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.skeleton-line {
  height: 13px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.11) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}
.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 65%; }
.skeleton-line.chips { width: 80%; height: 30px; border-radius: 999px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Daypart labels ── */
.time-group-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 20px 0 10px;
}
.time-group-label:first-child { padding-top: 4px; }
.time-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}

/* ── Film card (agenda view) ── */
.film-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-color: color-mix(in srgb, var(--glow) 22%, var(--border));
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.3s, transform 0.15s;
  animation: card-in 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  animation-delay: calc(var(--i, 0) * 45ms);
  -webkit-tap-highlight-color: transparent;
}
.film-card:hover {
  background: var(--surface-hover);
  border-color: color-mix(in srgb, var(--glow) 45%, var(--border));
}
.film-card:active { transform: scale(0.99); }
@keyframes card-in {
  from { opacity: 0; transform: translateY(12px); }
}

.poster-wrap {
  width: var(--poster-w);
  flex-shrink: 0;
  position: relative;
  border-radius: 12px;
  /* The film's own light: a colored ambient shadow under every poster. */
  box-shadow: 0 10px 34px -12px color-mix(in srgb, var(--glow) 75%, transparent);
  transition: box-shadow 0.4s;
}
.poster-wrap img {
  width: 100%;
  border-radius: 12px;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.poster-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(8, 8, 13, 0.62);
  backdrop-filter: blur(3px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.9;
  transition: background 0.15s, color 0.15s, transform 0.12s, opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.poster-play svg { width: 16px; height: 16px; margin-left: 2px; }
.poster-play:hover { background: var(--accent); color: #171204; opacity: 1; }
.poster-play:active { transform: translate(-50%, -50%) scale(0.9); }

.film-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.film-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 720;
  font-variation-settings: "opsz" 40;
  line-height: 1.18;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.film-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.tag {
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--tag-bg);
  color: var(--tag-fg);
}
/* Tag colors as custom props so .tag pills and .chip-format mini-badges share them. */
.tag-ov      { --tag-bg: rgba(99, 179, 237, 0.16); --tag-fg: #63b3ed; }
.tag-nl      { --tag-bg: rgba(72, 187, 120, 0.16); --tag-fg: #48bb78; }
.tag-3d      { --tag-bg: rgba(159, 122, 234, 0.16); --tag-fg: #9f7aea; }
.tag-imax    { --tag-bg: rgba(237, 137, 54, 0.16); --tag-fg: #ed8936; }
.tag-4dx     { --tag-bg: rgba(237, 137, 54, 0.16); --tag-fg: #ed8936; }
.tag-atmos   { --tag-bg: rgba(6, 182, 212, 0.16); --tag-fg: #06b6d4; }
.tag-dolby   { --tag-bg: rgba(6, 182, 212, 0.16); --tag-fg: #06b6d4; }
.tag-screenx { --tag-bg: rgba(239, 68, 68, 0.16); --tag-fg: #ef4444; }
.tag-generic { --tag-bg: rgba(255, 255, 255, 0.10); --tag-fg: var(--text); }
.tag-age     { --tag-bg: rgba(255, 255, 255, 0.08); --tag-fg: var(--text-muted); }

/* ── Score badges (compact inline pills, brand-colored) ── */
.film-scores { display: flex; flex-wrap: wrap; gap: 6px; }

.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--badge-bg, var(--surface));
  border: 1px solid var(--badge-border, var(--border));
  border-radius: 8px;
  padding: 3px 8px;
  text-decoration: none;
  line-height: 1;
}
.score-badge:hover { filter: brightness(1.12); }
.score-badge .score-label,
.score-badge .score-value { color: var(--badge-fg, var(--text)); }
.score-logo { display: flex; align-items: center; }
.score-logo .logo-svg { display: block; height: 14px; width: auto; }
.score-logo .logo-lb { height: 8px; width: 21px; }
.score-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.score-label-logo { display: flex; align-items: center; }
.score-label-logo .logo-svg { display: block; height: 15px; width: 30px; }
.score-value {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.score-badge.no-score { opacity: 0.45; }
.score-value.score-search { display: inline-flex; align-items: center; }
.score-value.score-search svg { display: block; width: 0.85rem; height: 0.85rem; }

.score-badge.score-imdb { --badge-bg: #f5c518; --badge-border: #d4a814; --badge-fg: #000; }
.score-badge.score-rt   { --badge-bg: #7a1505; --badge-border: #93321c; --badge-fg: #fff; }
.score-badge.score-mc   { --badge-bg: #000;    --badge-border: #FFBD3F; --badge-fg: #FFBD3F; }
.score-badge.score-lb   { --badge-bg: #14181c; --badge-border: #2c3440; --badge-fg: #fff; }
.score-badge.score-lb .label-short { text-transform: none; letter-spacing: 0; }

.label-full { display: none; }
.label-short { display: inline; }

/* ── Time chips ── */
.time-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }

.time-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: rgba(255, 207, 64, 0.06);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: background 0.13s, color 0.13s, border-color 0.13s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.time-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #171204;
}
.time-chip:hover .chip-cinema { color: rgba(23, 18, 4, 0.7); }
.time-chip:active { transform: scale(0.94); }
/* Special-format mini-badge (IMAX / Dolby / 4DX / EPIC…) riding inside the chip. */
.chip-format {
  align-self: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  background: var(--tag-bg);
  color: var(--tag-fg);
}
/* On the accent-yellow hover fill, switch to a solid dark plate so the
   brand-colored label stays legible. */
.time-chip:hover .chip-format { background: rgba(23, 18, 4, 0.85); }
.time-chip.sold-out .chip-format { opacity: 0.5; }
.chip-cinema {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.time-chip.sold-out {
  border-color: var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: default;
}
.time-chip.sold-out .chip-time { text-decoration: line-through; }

/* ── Film mosaic (Films view) ── */
.film-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px 14px;
  padding-top: 4px;
}
.film-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* min-width:0 lets the tile shrink below its content's min-content width —
     without it a long nowrap times line blows the 1fr grid track out past the
     viewport (observed on mobile: the right column overflowing the screen). */
  min-width: 0;
  max-width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  animation: card-in 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  animation-delay: calc(var(--i, 0) * 35ms);
  -webkit-tap-highlight-color: transparent;
}
.tile-poster {
  position: relative;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 40px -14px color-mix(in srgb, var(--glow) 80%, transparent);
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.3s;
}
.film-tile:hover .tile-poster {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 20px 52px -14px color-mix(in srgb, var(--glow) 95%, transparent);
}
.film-tile:active .tile-poster { transform: scale(0.98); }
.tile-poster img,
.tile-poster .poster-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 2rem;
}
.tile-score {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(8, 8, 13, 0.72);
  backdrop-filter: blur(3px);
  color: var(--text);
}
.tile-score.score-imdb { background: #f5c518; color: #000; }
.tile-score.score-mc   { background: #000; color: #FFBD3F; border: 1px solid #FFBD3F; }
.tile-score.score-rt   { background: #7a1505; color: #fff; }
.tile-score.score-lb   { background: #14181c; color: #fff; border: 1px solid #2c3440; }
.tile-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile-times {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 56px 16px;
  color: var(--text-muted);
}
.empty-state p { margin-top: 12px; font-size: 0.95rem; }
.empty-logo {
  height: 110px;
  width: auto;
  filter: drop-shadow(0 10px 36px rgba(255, 207, 64, 0.25));
}

/* ── Film sheet ── */
.film-sheet {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.film-sheet.hidden { display: none; }
.film-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(5px);
}
.film-sheet-dialog {
  position: relative;
  width: 100%;
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.6);
  animation: sheet-up 0.32s cubic-bezier(0.2, 0.8, 0.3, 1);
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
@keyframes sheet-up {
  from { transform: translateY(48px); opacity: 0.4; }
}
.sheet-grabber {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 10px auto 0;
}
.sheet-hero {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  padding: 26px 20px 18px;
  /* The film's light fills the top of the sheet. */
  background: radial-gradient(130% 150% at 18% -20%, color-mix(in srgb, var(--glow) 34%, transparent), transparent 68%);
  border-radius: 24px 24px 0 0;
}
.sheet-poster {
  width: 108px;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 14px 44px -12px color-mix(in srgb, var(--glow) 85%, transparent);
}
.sheet-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--bg);
}
.sheet-head-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 2px;
  padding-right: 26px; /* clear of the share button */
}
.sheet-title {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 780;
  font-variation-settings: "opsz" 60;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.sheet-meta { font-size: 0.82rem; color: var(--text-muted); }

.sheet-share {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}
.sheet-share svg { width: 16px; height: 16px; }
.sheet-share:hover { background: var(--accent); color: #171204; border-color: var(--accent); }
.sheet-share:active { transform: scale(0.9); }

/* Provider synopsis: clamped intro; tapping toggles the full text. */
.sheet-synopsis {
  margin: 14px 20px 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.sheet-synopsis.expanded { -webkit-line-clamp: unset; }

/* One row of up to four equal-width pills at every viewport: brand logo + value
   only (text labels hidden — the logos are the labels), so all enabled ratings
   platforms always fit side by side. */
.sheet-scores {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 14px 20px 0;
}
.sheet-scores .score-badge {
  flex: 1;
  min-width: 0;
  justify-content: center;
  padding: 6px 6px;
  border-radius: 10px;
}
.sheet-scores .score-value { font-size: 1rem; }
.sheet-scores .score-logo .logo-svg { height: 18px; }
.sheet-scores .score-logo .logo-lb { height: 9px; width: 24px; }
.sheet-scores .score-label-logo .logo-svg { height: 19px; width: 38px; }
.sheet-scores .score-label:not(.score-label-logo) { display: none; }

.sheet-trailer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: calc(100% - 40px);
  margin: 16px 20px 4px;
  padding: 13px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: #171204;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 780;
  cursor: pointer;
  box-shadow: 0 10px 34px -10px rgba(255, 207, 64, 0.55);
  transition: filter 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.sheet-trailer-btn svg { width: 17px; height: 17px; }
.sheet-trailer-btn:hover { filter: brightness(1.08); }
.sheet-trailer-btn:active { transform: scale(0.985); }

.sheet-times { padding: 14px 20px 14px; }
.sheet-times-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.sheet-cinema-group { margin-bottom: 14px; }
.sheet-cinema-group:last-child { margin-bottom: 0; }
.sheet-cinema-name {
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 7px;
}

/* Desktop: the sheet becomes a centered dialog. */
@media (min-width: 601px) {
  .film-sheet { align-items: center; padding: 32px; }
  .film-sheet-dialog {
    max-width: 540px;
    border-radius: 20px;
    border-bottom: 1px solid var(--border-strong);
    max-height: calc(100vh - 64px);
    animation: welcome-pop 0.28s ease-out;
    padding-bottom: 8px;
  }
  .sheet-grabber { display: none; }
  .sheet-hero { border-radius: 20px 20px 0 0; }
}

/* ── Mobile layout ── */
@media (max-width: 600px) {
  header { padding-top: calc(10px + env(safe-area-inset-top)); }
  .header-inner { gap: 10px; }
  .header-left { gap: 8px; }
  /* Mobile: no logo — the wordmark alone, centered across the full row. */
  .header-logo { display: none; }
  /* Brand row = a fixed 28px-tall box, exactly the icon-button height, so the
     flex row-gap measures from the icons' visible bottom edge. The wordmark
     bottom-aligns in it (its line box overflows: Bricolage's em box is bigger
     than the line-height:1 box → negative half-leading), then a measured
     relative nudge drops the letter bottoms (baseline) onto the row bottom,
     flush with the icon boxes. 2.34rem (37.44px) is sized so the letters are
     exactly 28px tall (glyph height = 0.749 × font-size for this face), i.e.
     letter TOPS also align with the icon-box tops; the nudge is 0.157 ×
     font-size. Re-derive both if the icon size or font size ever changes. */
  .wordmark {
    font-size: 2.34rem;
    position: relative;
    top: 5.9px;
  }
  .header-left {
    order: 0;
    flex-basis: 100%;
    justify-content: center;
    align-items: flex-end;
    height: 28px;
  }
  .header-icons {
    position: absolute;
    top: 0; /* icon box spans the 28px brand row exactly */
    right: 16px;
    right: calc(16px + env(safe-area-inset-right));
  }
  .header-icons .btn-refresh { padding: 5px; }
  .header-icons .btn-refresh svg { width: 16px; height: 16px; }

  .header-controls {
    flex-basis: 100%;
    margin-left: 0;
    gap: 6px;
  }

  .sheet-scores { gap: 6px; }
  .sheet-scores .score-badge { padding: 6px 4px; gap: 5px; }
  .cinema-picker { flex: 1; min-width: 0; }
  #cinema-picker-btn { max-width: 100%; width: 100%; }
  .movie-picker { flex: 0 1 auto; min-width: 0; }
  #movie-picker-btn { max-width: 130px; }
  .view-toggle { flex-shrink: 0; }

  /* -2px cancels the rail's 2px top padding (kept for glow-clip protection)
     so the chips sit exactly one 10px row-gap below the controls buttons. */
  .date-rail { padding-bottom: 10px; margin-top: -2px; }

  .date-chip { min-width: 46px; padding: 6px 8px 5px; }

  :root { --poster-w: 86px; }
  .film-card { padding: 12px; gap: 12px; }
  .film-title { font-size: 1.02rem; }
  .film-mosaic { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }

  /* Picker panels become bottom sheets. The giant box-shadow spread doubles as
     a dim backdrop with zero extra DOM; outside-click closing still applies. */
  .cinema-dropdown,
  .movie-dropdown,
  .settings-dropdown {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    max-height: 72vh;
    max-height: 72dvh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.55), 0 -16px 48px rgba(0, 0, 0, 0.5);
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    animation: sheet-up 0.28s cubic-bezier(0.2, 0.8, 0.3, 1);
  }
  #movie-list { max-height: 52vh; }

  /* 16px min prevents iOS/WebKit from auto-zooming the page on focus. */
  #movie-search { font-size: 16px; }
}

@media (max-width: 380px) {
  :root { --poster-w: 76px; }
  #movie-picker-btn { max-width: 104px; }
  .time-chip { padding: 6px 10px; font-size: 0.88rem; }
}

/* Very narrow screens (iPhone SE etc.): the centered wordmark would clip into
   the absolute utility icons below ~349px viewport width. Smaller face, with
   its own baseline nudge (the drop scales with font size — see the 600px
   block's brand-row comment). */
@media (max-width: 348px) {
  .wordmark {
    font-size: 1.5rem;
    top: 3.8px;
  }
}

/* ── Toast ── */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px);
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 10002;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Trailer popup ── */
.trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;            /* above the film sheet (10000) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.trailer-modal.hidden { display: none; }
.trailer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}
.trailer-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  background: #000;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}
.trailer-video,
#trailer-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
@media (max-width: 600px) {
  .trailer-modal { padding: 12px; }
}

/* ── Welcome splash ── */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.welcome-modal.hidden { display: none; }
.welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}
.welcome-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  padding: 28px 28px 24px;
  animation: welcome-pop 0.28s ease-out;
}
@keyframes welcome-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.welcome-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.welcome-close:hover { background: rgba(255, 255, 255, 0.15); color: var(--text); }
.welcome-head { text-align: center; margin-bottom: 22px; }
.welcome-logo { display: inline-block; height: 96px; width: auto; filter: drop-shadow(0 10px 36px rgba(255, 207, 64, 0.25)); }
.welcome-title {
  margin: 14px 0 6px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 780;
  color: var(--text);
}
.welcome-intro { margin: 0; font-size: 0.95rem; color: var(--text-muted); }
.welcome-steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.welcome-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text);
}
.welcome-step-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
}
.welcome-step-icon svg { width: 22px; height: 22px; }
.welcome-cta {
  display: block;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: #171204;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 780;
  cursor: pointer;
  box-shadow: 0 10px 34px -10px rgba(255, 207, 64, 0.45);
  transition: filter 0.15s;
}
.welcome-cta:hover { filter: brightness(1.07); }
@media (max-width: 600px) {
  .welcome-modal { padding: 14px; }
  .welcome-dialog { padding: 24px 20px 20px; }
  .welcome-title { font-size: 1.3rem; }
  .welcome-steps li { font-size: 0.9rem; }
}

/* ── Feedback modal ── */
.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.feedback-modal.hidden { display: none; }
.feedback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}
.feedback-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  padding: 28px 28px 24px;
  animation: welcome-pop 0.28s ease-out;
}
.feedback-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.feedback-close:hover { background: rgba(255, 255, 255, 0.15); color: var(--text); }
.feedback-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 780;
  color: var(--text);
}
.feedback-form { display: flex; flex-direction: column; gap: 6px; }
.feedback-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 10px;
}
.feedback-label:first-child { margin-top: 0; }
.feedback-input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
  font-family: inherit;
}
.feedback-input:focus { outline: none; border-color: var(--accent); }
.feedback-textarea { resize: vertical; min-height: 90px; }
.feedback-status { min-height: 1.1em; font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }
.feedback-submit {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: #171204;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 780;
  cursor: pointer;
  transition: filter 0.15s;
}
.feedback-submit:hover { filter: brightness(1.07); }
.feedback-submit:disabled { opacity: 0.6; cursor: not-allowed; }
@media (max-width: 600px) {
  .feedback-modal { padding: 14px; }
  .feedback-dialog { padding: 24px 20px 20px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .film-card, .film-tile, .skeleton-card,
  .film-sheet-dialog, .cinema-dropdown, .movie-dropdown, .settings-dropdown,
  .welcome-dialog, .feedback-dialog {
    animation: none;
  }
  .tile-poster, .film-tile:hover .tile-poster { transition: none; transform: none; }
}
