/* Seatline design system
   World: a cinema at night. Near-black surfaces recede so film posters carry the colour;
   marquee yellow is the single accent and marks actions and selection only.
   Signature move: marquee lettering (Archivo, condensed) for display type and showtimes.
   Shape rule: buttons and chips are pills; inputs 12px; cards and panels 16px; seats 6px. */

@font-face {
  font-family: "Archivo";
  src: url(/fonts/archivo-variable.woff2?v=e3a28eade2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: optional;
}

:root {
  color-scheme: dark;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #111214;
  --surface: #18191c;
  --surface-2: #202125;
  --surface-3: #2a2b30;
  --line: #303137;
  --field-line: #6f717a;
  --text: #f3f2ef;
  --muted: #a7a8ae;
  --accent: #ffd43b;
  --accent-hover: #ffe16e;
  --accent-ink: #171305;
  --accent-text: #ffd43b;
  --accent-soft: rgb(255 212 59 / 0.12);
  --focus: #ffd43b;
  --good: #57d692;
  --good-soft: rgb(87 214 146 / 0.12);
  --bad: #ff8a80;
  --bad-soft: rgb(255 138 128 / 0.12);
  --warn: #ffbd59;
  --info: #8db5ff;
  --seat-premium: #b99af6;
  --seat-regular: #8ea7d6;
  --seat-saver: #5cc790;
  --seat-budget: #f08bc4;
  --seat-other: #e9b949;
  --seat-taken: #303137;
  --seat-selected: #ffd43b;
  --seat-selected-ring: #ffd43b;
  --seat-selected-ink: #171305;
  --shadow: 0 18px 40px -18px rgb(0 0 0 / 0.7);
  --shadow-soft: 0 8px 20px -12px rgb(0 0 0 / 0.6);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 16px;
  --radius-input: 12px;
  --header-h: 64px;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f4f4f1;
    --surface: #fbfbfa;
    --surface-2: #eaeae6;
    --surface-3: #deded9;
    --line: #d3d3ce;
    --field-line: #868890;
    --text: #141518;
    --muted: #54565e;
    --accent: #f5c400;
    --accent-hover: #ffd42e;
    --accent-ink: #171305;
    --accent-text: #765900;
    --accent-soft: rgb(245 196 0 / 0.18);
    --focus: #141518;
    --good: #16733f;
    --good-soft: rgb(22 115 63 / 0.1);
    --bad: #b8332a;
    --bad-soft: rgb(184 51 42 / 0.08);
    --warn: #8f5300;
    --info: #2a58c7;
    --seat-premium: #6b45c0;
    --seat-regular: #45609a;
    --seat-saver: #1b7446;
    --seat-budget: #a8336f;
    --seat-other: #9b6a00;
    --seat-taken: #d6d6d1;
    --seat-selected: #f5c400;
    --seat-selected-ring: #141518;
    --shadow: 0 18px 40px -20px rgb(30 30 40 / 0.25);
    --shadow-soft: 0 8px 20px -14px rgb(30 30 40 / 0.25);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--surface-3) var(--bg);
}
::selection { background: var(--accent); color: var(--accent-ink); }
input, textarea { caret-color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent-text); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0 0 0.35em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); font-weight: 800; font-stretch: 80%; letter-spacing: -0.015em; }
h2 { font-size: 1.35rem; font-weight: 700; font-stretch: 90%; letter-spacing: -0.005em; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.88em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 10px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; fill: currentColor; } /* <use> copies of the sprite do not inherit its fill */
[hidden] { display: none !important; }

/* ---------- header and footer ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-stretch: 85%; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand-mark { width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); fill: currentColor; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 0.925rem; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); font-weight: 700; }
@media (max-width: 420px) {
  /* Four links beside the logo on one line: narrower lettering, and sideways scrolling rather than wrapping if a font runs wide. */
  .header-inner { flex-wrap: nowrap; }
  .nav { flex-wrap: nowrap; justify-content: flex-start; gap: 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a:first-child { margin-left: auto; } /* right-aligned when it fits, scrollable from the start when it doesn't */
  .nav a { padding: 8px 5px; font-size: 0.82rem; font-stretch: 85%; }
  /* The wordmark is hidden visually in the header only, so the logo link keeps its name. */
  .site-header .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

main { flex: 1; padding-top: 28px; padding-bottom: 72px; outline: none; min-height: calc(100dvh - var(--header-h)); }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 0.9rem; background: var(--surface); }
.footer-inner { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }
.footer-about p { max-width: 54ch; margin-top: 10px; }
.footer-about .brand { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a, .footer-links .link-btn { color: var(--text); text-decoration: none; font-size: 0.9rem; padding: 6px 0; }
.footer-links a:hover, .footer-links .link-btn:hover { text-decoration: underline; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { background: var(--surface-3); border-color: var(--muted); }
.btn:active { transform: translateY(1px) scale(0.99); }
a, button, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-big { width: 100%; min-height: 52px; font-size: 1.05rem; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 0.875rem; }
.btn-danger { color: var(--bad); }
.btn-quiet { background: transparent; border-color: transparent; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; margin-bottom: 16px; font-size: 0.925rem; padding: 6px 0; }
.back:hover { color: var(--text); }

label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field + .field { margin-top: 16px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-row .field + .field { margin-top: 0; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border-radius: var(--radius-input); border: 1px solid var(--field-line);
  background: var(--bg); color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: var(--surface); color: var(--text); }
textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--accent); width: auto; min-height: 0; }
.hint { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: 0.875rem; color: var(--bad); margin: 6px 0 0; font-weight: 600; }
.error-text { color: var(--bad); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
  background: var(--surface-2); color: var(--muted);
}
.chip.good { color: var(--good); background: var(--good-soft); }
.chip.bad { color: var(--bad); background: var(--bad-soft); }
.chip.accent { color: var(--accent-ink); background: var(--accent); }
.chip.deal { margin-left: 6px; padding: 2px 8px; vertical-align: 2px; font-size: 0.72rem; }
.chip.deal .icon { width: 13px; height: 13px; }
.cert { font-weight: 800; color: var(--text); background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); min-width: 30px; justify-content: center; }

.card { background: var(--surface); border-radius: var(--radius); padding: 20px; }
@media (min-width: 640px) { .card { padding: 24px; } }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.notice { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 0.925rem; }
.notice.accent { background: var(--accent-soft); }
.error { color: var(--bad); background: var(--bad-soft); border-radius: 12px; padding: 12px 14px; font-size: 0.925rem; font-weight: 500; }
.empty { color: var(--muted); padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .icon { width: 28px; height: 28px; display: block; margin: 0 auto 8px; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.925rem; }
th, td { text-align: left; padding: 12px 16px; vertical-align: top; }
thead th { color: var(--muted); font-weight: 600; font-size: 0.8rem; background: var(--surface-2); }
tbody tr + tr td { border-top: 1px solid var(--line); }
td.num, th.num { text-align: right; }

/* ---------- loading skeletons ---------- */
.view-loading { min-height: 60vh; }
.sk { background: var(--surface-2); border-radius: 10px; position: relative; overflow: hidden; }
.sk-line { height: 14px; margin: 10px 0; }
@media (prefers-reduced-motion: no-preference) {
  .sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--text) 7%, transparent), transparent); animation: shimmer 1.4s infinite; }
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* ---------- home ---------- */
.hero { display: grid; gap: 28px; align-items: center; padding: 8px 0 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; padding: 24px 0 56px; } }
.display {
  font-size: clamp(2.8rem, 1.6rem + 6vw, 5.4rem); font-weight: 850; font-stretch: 68%;
  line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 18px;
}
.display em { font-style: normal; color: var(--accent-text); }
.hero .lede { font-size: 1.15rem; margin-bottom: 22px; }
.search {
  position: relative; display: flex; align-items: center; max-width: 560px;
}
.search .icon { position: absolute; left: 20px; width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.search input { min-height: 60px; padding: 14px 20px 14px 54px; border-radius: 999px; font-size: 1.08rem; background: var(--surface); border-color: var(--field-line); box-shadow: var(--shadow-soft); }
.search input:focus-visible { border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-soft); }
.hero-alt { margin-top: 16px; font-size: 0.95rem; color: var(--muted); }
.hero-alt a { color: var(--text); font-weight: 600; }
.posters { position: relative; height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.posters-track { display: flex; gap: 12px; height: 100%; }
.poster-tile { flex: none; width: 150px; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.poster-tile img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .posters { height: 480px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); }
  /* Rows take the posters' own height; the masked frame crops the wall at the bottom. */
  .posters-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; height: auto; gap: 14px; transform: rotate(-4deg) translateY(-24px); }
  .poster-tile { width: auto; }
  .posters-track .poster-tile:nth-child(3n + 2) { transform: translateY(44px); }
}
@media (prefers-reduced-motion: no-preference) {
  /* Posters rise without fading: content that starts transparent is skipped for the largest paint. */
  .poster-tile { animation: tile-rise 0.9s var(--ease) both; }
  .poster-tile:nth-child(2) { animation-delay: 60ms; }
  .poster-tile:nth-child(3) { animation-delay: 120ms; }
  .poster-tile:nth-child(4) { animation-delay: 180ms; }
  .poster-tile:nth-child(5) { animation-delay: 240ms; }
  .poster-tile:nth-child(6) { animation-delay: 300ms; }
  .poster-tile:nth-child(7) { animation-delay: 360ms; }
  .poster-tile:nth-child(8) { animation-delay: 420ms; }
  .poster-tile:nth-child(9) { animation-delay: 480ms; }
}
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes tile-rise { from { translate: 0 28px; } to { translate: 0 0; } }

/* How it works on the home page: four steps as tabs, the full guide's tab and picture look, smaller. */
.mini-guide { display: grid; gap: 12px; margin: 0 0 44px; }
.mini-guide-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.mini-guide-head h2 { margin: 0; }
.mini-guide-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.mini-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-tabs .tour-tab { position: relative; }
/* Phones: the chosen step shows its name, the others just their number (the name stays for screen readers). */
@media (max-width: 639px) {
  .mini-tabs { flex-wrap: nowrap; gap: 4px; }
  .mini-tabs .tour-tab[aria-selected="true"] { flex: 0 1 auto; min-width: 0; }
  .mini-tabs .tour-tab span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mini-tabs .tour-tab[aria-selected="false"] { gap: 0; padding: 8px; }
  .mini-tabs .tour-tab[aria-selected="false"] span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
}
@media (max-width: 359px) { .mini-tabs .tour-tab[aria-selected="true"] { padding-right: 12px; font-size: 0.85rem; } }
.mini-tour { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; border-radius: var(--radius); background: var(--surface); }
/* Every step sits in the same cell, so moving between them never changes the height. */
.mini-panels { display: grid; }
.mini-panel { grid-area: 1 / 1; display: grid; align-content: start; gap: 6px; max-width: 52ch; }
.mini-panel:focus-visible { outline-offset: 8px; border-radius: 10px; }
.mini-panel:not(.is-on), .mini-pic:not(.is-on) { visibility: hidden; }
.mini-panel h3 { margin: 0; font-size: 1.2rem; font-weight: 800; font-stretch: 85%; }
.mini-panel p { margin: 0; }
.mini-nav { display: flex; gap: 8px; }
.mini-nav .btn { flex: 1 1 0; }
@media (min-width: 720px) {
  .mini-tour { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: minmax(0, 1fr) auto; gap: 16px 32px; padding: 20px 20px 20px 28px; }
  .mini-tour > .demo { grid-column: 2; grid-row: 1 / span 2; }
  .mini-panels { grid-column: 1; grid-row: 1; align-self: center; }
  .mini-nav { grid-column: 1; grid-row: 2; }
  .mini-nav .btn { flex: none; }
}
/* Compact pictures: the .demo look from /how-it-works at a smaller size. */
.demo.demo-mini { padding: 16px; }
.mini-pic { grid-area: 1 / 1; display: grid; align-content: center; justify-items: center; gap: 10px; min-width: 0; }
.demo-mini .demo-screen { width: 100%; max-width: 220px; height: 22px; margin: 0; padding-top: 4px; font-size: 0.62rem; }
.demo-mini .demo-room { max-width: 270px; grid-template-columns: 14px repeat(8, minmax(0, 1fr)); gap: 4px; }
.demo-mini .demo-row { font-size: 0.62rem; }
.demo-mini .dseat { font-size: 0.6rem; border-radius: 5px 5px 3px 3px; }
.demo-mini .ticket { --notch: var(--bg); width: 100%; max-width: 400px; margin: 0; }
.demo-mini .ticket-main { padding: 12px 14px; }
.demo-mini .pay-card { width: 100%; max-width: 380px; padding: 14px; background: var(--surface); }
.demo-mini .demo-methods { margin: 0 0 12px; }
.demo-mini .msg.system { padding: 0; }
/* Phones: a tighter frame, and the torn-off stub keeps to one line. */
@media (max-width: 480px) {
  .demo.demo-mini { padding: 12px; }
  .demo-mini .ticket-stub { padding: 12px 14px; }
  .demo-mini .ticket-admit { display: none; }
}
/* The Booked stamp lands each time its step opens, not while it is out of sight. */
.mini-pic:not(.is-on) .stamp { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .mini-guide.moved .mini-pic.is-on { animation: demo-in 0.45s var(--ease) both; }
  .mini-guide.moved .mini-pic.is-on .dseat.picked { animation: seat-tap 0.6s var(--ease) 0.25s both; }
  .mini-guide.moved .mini-pic.is-on .dseat.picked + .dseat.picked { animation-delay: 0.55s; }
}
@keyframes seat-tap { from, 40% { background: var(--seat-regular); color: rgb(0 0 0 / 0.68); box-shadow: none; } 70% { transform: scale(1.18); } }

.directory-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.az { display: flex; gap: 4px; overflow-x: auto; padding: 8px 0 12px; scrollbar-width: none; }
.az a { flex: none; min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.85rem; color: var(--muted); background: var(--surface); }
.az a:hover { color: var(--accent-ink); background: var(--accent); }
.letter { color: var(--accent-text); font-weight: 800; font-stretch: 75%; font-size: 1.4rem; margin: 26px 0 10px; }
.cinema-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cinema-link {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; min-width: 0;
  padding: 14px 16px; border-radius: 14px; background: var(--surface); text-decoration: none;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.cinema-link:hover { background: var(--surface-2); transform: translateY(-1px); }
.cinema-link span { min-width: 0; }
.cinema-link strong { display: block; font-weight: 700; }
.cinema-link small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cinema-link .icon { color: var(--muted); }

/* ---------- cinema page ---------- */
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin-bottom: 6px; }
.tabs { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 4px; gap: 4px; }
.tabs a { text-decoration: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.925rem; color: var(--muted); }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { background: var(--surface-3); color: var(--text); }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 8px; scrollbar-width: thin; }
.date-pill { flex: none; min-width: 78px; padding: 9px 14px; border-radius: 16px; text-align: center; text-decoration: none; background: var(--surface); transition: background-color 0.2s var(--ease); }
.date-pill:hover { background: var(--surface-2); }
.date-pill b { display: block; font-stretch: 85%; }
.date-pill small { color: var(--muted); font-size: 0.78rem; }
.date-pill[aria-current="date"] { background: var(--accent); color: var(--accent-ink); }
.date-pill[aria-current="date"] small { color: var(--accent-ink); }
.films { display: grid; gap: 12px; }
.film { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; background: var(--surface); border-radius: var(--radius); padding: 14px; }
@media (min-width: 640px) { .film { grid-template-columns: 104px minmax(0, 1fr); padding: 16px; gap: 20px; } }
.poster { width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.film h2 { margin-bottom: 6px; font-size: 1.3rem; }
.film-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--muted); font-size: 0.9rem; }
.times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.time {
  display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 88px; padding: 8px 14px 9px;
  border-radius: 12px; background: var(--surface-2); text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.time b { font-size: 1.3rem; font-weight: 800; font-stretch: 72%; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.time small { color: var(--muted); font-size: 0.76rem; }
a.time:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
a.time:hover small { color: var(--accent-ink); }
.time.off { opacity: 0.5; }
.time.off b { text-decoration: line-through; }

/* ---------- showing page ---------- */
.showing-head { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 24px; }
@media (min-width: 640px) { .showing-head { grid-template-columns: 92px minmax(0, 1fr); gap: 20px; } }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 0.95rem; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta b { color: var(--text); }
.book-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .book-grid { grid-template-columns: minmax(0, 1.55fr) minmax(330px, 1fr); } .order-panel { position: sticky; top: calc(var(--header-h) + 16px); } }
.order-panel h2 { margin-bottom: 4px; }
fieldset.bare { border: 0; margin: 0; padding: 0; min-width: 0; }
.label-like { font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; padding: 0; }
.price-options { display: grid; gap: 8px; }
.price-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); margin: 0; font-weight: 400; cursor: pointer; }
.price-option:has(input:checked) { border-color: var(--accent-text); background: var(--accent-soft); }
.price-option.static { cursor: default; grid-template-columns: 12px minmax(0, 1fr) auto; }
.price-option .swatch { width: 12px; height: 12px; border-radius: 4px; background: var(--c, var(--muted)); }
.price-option .label b { display: block; font-size: 0.95rem; }
.price-option .label small { color: var(--muted); font-size: 0.8rem; }
.price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price s { display: block; color: var(--muted); font-size: 0.8rem; }
.price b { font-size: 1.15rem; color: var(--good); }
.summary { border-top: 1px dashed var(--line); padding-top: 14px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.summary-line + .summary-line { margin-top: 6px; }
.summary-total { font-size: 1.5rem; font-weight: 800; font-stretch: 85%; }
.save { color: var(--good); font-weight: 700; }
.seat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.mobile-bar b { display: block; font-size: 1.15rem; font-stretch: 85%; }
.mobile-bar small { color: var(--muted); }
@media (min-width: 960px) { .mobile-bar { display: none !important; } }

/* seat map */
.seatmap { --seat: 24px; --gap: 4px; --label: 22px; }
.seatmap-scroll { overflow-x: auto; padding: 4px 0 10px; overscroll-behavior-x: contain; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.seatmap-inner { width: max-content; margin: 0 auto; }
.screen { height: 30px; margin: 0 calc(var(--label) + 10px) 18px; border-top: 4px solid var(--accent); border-radius: 50% 50% 0 0 / 100% 100% 0 0; box-shadow: 0 -12px 26px -14px var(--accent); text-align: center; padding-top: 8px; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.seat-grid { display: grid; grid-template-columns: var(--label) repeat(var(--cols), var(--seat)) var(--label); gap: var(--gap); align-items: center; }
.row-label { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-align: center; }
.gap { height: var(--seat); }
.gap.aisle, .row-label.aisle { height: calc(var(--seat) * 0.5); }
.seat {
  --c: var(--seat-other);
  width: var(--seat); height: var(--seat); padding: 0; border: 0; border-radius: 7px 7px 5px 5px;
  background: var(--c); color: rgb(0 0 0 / 0.68); font: 700 calc(var(--seat) * 0.4) / 1 var(--font); font-stretch: 80%;
  cursor: pointer; display: grid; place-items: center;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.seat .icon { width: 70%; height: 70%; }
.seat:hover:not(:disabled) { transform: translateY(-2px); }
.seat.unknown { background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: inset 0 0 0 2px var(--c); color: var(--text); }
.seat:disabled { background: var(--seat-taken); color: transparent; cursor: not-allowed; box-shadow: none; }
.seat.selected { background: var(--seat-selected); color: var(--seat-selected-ink); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--seat-selected-ring); }
.seat:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; border-radius: 8px; }
@media (prefers-reduced-motion: no-preference) { .seat.selected { animation: pop 0.28s var(--ease); } }
@keyframes pop { 50% { transform: scale(1.18); } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 0.82rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; background: var(--c); }
.swatch.unknown { background: transparent; box-shadow: inset 0 0 0 2px var(--c); }
.swatch.taken { background: var(--seat-taken); }
.swatch.selected { background: var(--seat-selected); box-shadow: 0 0 0 1.5px var(--seat-selected-ring); }
/* the live plan is for looking at: seats are not buttons */
.view-only .seat { cursor: default; transition: none; }
.view-only .seat:hover { transform: none; }
.seat.taken { background: var(--seat-taken); color: transparent; box-shadow: none; }
.seat.taken.selected { background: var(--seat-taken); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--bad); animation: none; }
.seat-spread { grid-column: 2 / -2; display: flex; justify-content: space-around; align-items: center; gap: var(--gap); }
.seat-spread .seat { width: calc(var(--seat) * 1.25); }
.seatmap-scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.live-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 0.82rem; color: var(--muted); }
.live-status[hidden] { display: none; }
.live-status .link-btn { min-height: 24px; padding: 4px 0; font-size: inherit; }

/* ---------- chat ---------- */
.chat-layout { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .chat-layout { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); } .chat-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.chat-box { display: flex; flex-direction: column; }
.chat-title { font-size: 1.25rem; margin: 0; }
.messages { display: flex; flex-direction: column; gap: 10px; min-height: 160px; padding: 16px 2px 6px; margin-top: 12px; border-top: 1px solid var(--line); overscroll-behavior: contain; }
@media (min-width: 768px) { .messages { min-height: 260px; max-height: 60vh; overflow-y: auto; } }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; overflow-wrap: anywhere; font-size: 0.95rem; }
.msg .text { white-space: pre-wrap; }
.msg .who { display: block; font-size: 0.75rem; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.msg time { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.msg.mine { align-self: flex-end; background: var(--accent-soft); border-bottom-right-radius: 6px; }
.msg.theirs { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg.system { align-self: center; max-width: 94%; color: var(--muted); font-size: 0.85rem; text-align: center; padding: 4px 8px; }
@media (prefers-reduced-motion: no-preference) { .msg.fresh { animation: rise 0.35s var(--ease) both; } }
.chat-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 12px; }
.chat-form textarea { min-height: 48px; resize: none; }
.chat-form .btn { flex: none; }
.pay-card { margin-top: 14px; border-radius: 16px; padding: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.pay-card .pay-title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-stretch: 100%; margin-bottom: 10px; }
.method-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.method-pills label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; border-radius: 999px; background: var(--surface-2); cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.method-pills label:has(input:checked) { background: var(--accent); color: var(--accent-ink); }
.method-pills input { position: absolute; opacity: 0; pointer-events: none; }
.method-pills label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.address { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); margin: 8px 0; }
.address code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 0.85rem; }
.pay-card .row { margin-top: 12px; }
.pay-card form { display: grid; gap: 14px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.status-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 18px 0 0; }
.status-steps li { text-align: center; font-size: 0.82rem; color: var(--muted); border-top: 3px solid var(--line); padding-top: 8px; }
.status-steps li.done { color: var(--text); border-color: var(--good); }
.status-steps li.now { color: var(--text); border-color: var(--accent); font-weight: 700; }

/* ---------- order status, track, details ---------- */
.narrow { max-width: 660px; margin: 0 auto; }
.status-hero { text-align: center; padding: 32px 20px; }
.status-icon { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 850; font-size: 1.5rem; font-stretch: 75%; }
.status-icon .icon { width: 32px; height: 32px; }
.status-icon.good { background: var(--good-soft); color: var(--good); }
.status-icon.bad { background: var(--bad-soft); color: var(--bad); }
.ref { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 700; letter-spacing: 0.03em; white-space: nowrap; }
.ref.long { white-space: normal; overflow-wrap: anywhere; }
dl.details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 18px; margin: 0; font-size: 0.95rem; }
dl.details dt { color: var(--muted); }
dl.details dd { margin: 0; }

/* ---------- legal pages and 404 ---------- */
.prose { max-width: 72ch; margin: 0 auto; }
.prose h1 { margin-top: 4px; }
.prose h2 { margin-top: 2em; font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.5em; }
.prose table { margin: 8px 0 16px; }
mark.todo { background: var(--accent-soft); color: var(--accent-text); padding: 1px 6px; border-radius: 6px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--accent-text); }
.draft-note { background: var(--accent-soft); }
.not-found { max-width: 640px; margin: 6vh auto 0; }
.not-found-code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 900; font-stretch: 62%; line-height: 0.85; color: var(--accent-text); margin: 0 0 10px; letter-spacing: -0.02em; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- consent ---------- */
.consent {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 560px; margin-left: auto; padding: 18px; border-radius: var(--radius);
  background: var(--surface-2); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.consent h2 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.consent p { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions .btn { flex: 1 1 auto; }
dialog.consent-dialog { overscroll-behavior: contain; max-width: 520px; width: calc(100% - 32px); border: 0; border-radius: var(--radius); padding: 24px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
dialog.consent-dialog::backdrop { background: rgb(0 0 0 / 0.55); }
.pref { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.pref p { grid-column: 1; margin: 0; font-size: 0.875rem; color: var(--muted); }
.pref label { margin: 0; }
.switch { position: relative; width: 48px; height: 28px; grid-row: span 2; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-3); transition: background-color 0.2s var(--ease); pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); transition: transform 0.2s var(--ease); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--accent-ink); }
.switch input:disabled + span { opacity: 0.6; }
.switch input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- view entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .view-enter { animation: rise 0.42s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- operator dashboard ---------- */
.stats { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--surface); border-radius: 14px; padding: 14px 16px; }
.stat b { display: block; font-size: 1.6rem; font-weight: 850; font-stretch: 78%; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.82rem; }
.stat.accent { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-text); }
.stat.neg b { color: var(--bad); }
.toolbar { margin-bottom: 14px; }
.toolbar input { max-width: 280px; }
.toolbar .tabs { flex-wrap: wrap; border-radius: 22px; }
.order-list { display: grid; gap: 12px; margin-bottom: 28px; }
.order-card { background: var(--surface); border-radius: var(--radius); padding: 16px; }
.order-card h3 { font-size: 1.15rem; margin: 10px 0 4px; }
.order-card .meta { margin-bottom: 10px; font-size: 0.9rem; }
.order-card.urgent { box-shadow: inset 0 0 0 1.5px var(--bad); }
.order-card.new { box-shadow: inset 0 0 0 1.5px var(--accent-text); }
.oc-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.oc-amount { text-align: right; font-variant-numeric: tabular-nums; }
.oc-amount b { font-size: 1.3rem; color: var(--good); font-stretch: 85%; }
.oc-amount small { display: block; color: var(--muted); }
.oc-customer { margin: 10px 0 0; }
.oc-payment { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 0.9rem; }
.oc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.oc-actions input { flex: 1 1 220px; width: auto; min-height: 36px; padding: 7px 12px; }
.history { margin: 8px 0 0; padding-left: 18px; font-size: 0.85rem; color: var(--muted); }
details summary { cursor: pointer; color: var(--muted); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; overscroll-behavior: contain; width: min(470px, 100%); padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--shadow); }
.drawer-top { align-items: flex-start; flex-wrap: nowrap; }
.drawer-top h3 { margin: 6px 0 2px; }
.drawer-top p { margin: 2px 0; }
.drawer .messages { flex: 1; min-height: 120px; max-height: none; }
.quote-form { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.quote-form .field + .field { margin-top: 0; }
@media (max-width: 520px) { .quote-form { grid-template-columns: 1fr; } }
.bars { display: grid; gap: 6px; }
.bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 48px; gap: 10px; align-items: center; font-size: 0.85rem; }
.bar i { display: block; height: 10px; border-radius: 999px; background: var(--accent); min-width: 2px; }
.bar span:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- home search: matches appear right under the box ---------- */
.search-hits { max-width: 560px; margin-top: 8px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft), inset 0 0 0 1px var(--line); overflow: hidden; }
.search-hits a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 16px; text-decoration: none; }
.search-hits a + a { border-top: 1px solid var(--line); }
.search-hits a:hover { background: var(--surface-2); }
.search-hits a:focus-visible { outline-offset: -3px; background: var(--surface-2); }
.search-hits small { color: var(--muted); }
.search-hits p { margin: 0; padding: 12px 16px; font-size: 0.925rem; color: var(--muted); }

/* ---------- the deal, once, in marquee lettering ---------- */
.price-option.deal-all { grid-template-columns: minmax(0, 1fr) auto; background: var(--accent-soft); border-color: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-text) 45%, transparent); }
.price-option.deal-all .label b { font-size: 1.2rem; font-weight: 850; font-stretch: 72%; text-transform: uppercase; letter-spacing: 0.01em; }

/* ---------- seat plan wider than the screen: fade the edges, say it scrolls ---------- */
@media (max-width: 600px) { .card .seatmap-scroll { margin-inline: -20px; padding-inline: 20px; } }
.seatmap-scroll.overflows { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.seatmap-scroll.overflows.at-start { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.seatmap-scroll.overflows.at-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px); mask-image: linear-gradient(90deg, transparent, #000 28px); }
.seatmap-hint { display: none; margin: 4px 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }
.seatmap-scroll.overflows + .seatmap-hint { display: block; }
/* Keep the last rows of the page clear of the sticky price bar on phones. */
@media (max-width: 959px) { body:has(.mobile-bar:not([hidden])) .site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); } }

/* ---------- the ticket stub: quote, then stamped paid and booked ---------- */
.ticket { --notch: var(--surface-2); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 10px; max-width: 440px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ticket-main { display: grid; align-content: center; gap: 4px; min-width: 0; padding: 14px 16px; }
.ticket-film { font-size: 1.15rem; font-weight: 850; font-stretch: 74%; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.ticket-meta { font-size: 0.82rem; color: var(--muted); }
.ticket-stub { position: relative; display: grid; align-content: center; justify-items: center; gap: 8px; min-width: 120px; padding: 14px 16px; background-image: radial-gradient(circle, var(--field-line) 1.2px, transparent 1.7px); background-size: 3px 8px; background-repeat: repeat-y; background-position: left top; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; left: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--notch); }
.ticket-stub::before { top: -9px; }
.ticket-stub::after { bottom: -9px; }
.ticket-amount { font-size: 1.9rem; font-weight: 850; font-stretch: 72%; line-height: 1; font-variant-numeric: tabular-nums; }
.ticket-admit { font-size: 0.78rem; color: var(--muted); }
.ticket.replaced .ticket-amount { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.stamp { display: inline-block; padding: 3px 10px; border: 2px solid currentColor; border-radius: 6px; color: var(--good); font-weight: 850; font-stretch: 75%; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; transform: rotate(-8deg); }
.stamp.booked { color: var(--accent-text); }
@media (prefers-reduced-motion: no-preference) { .stamp { animation: stamp-in 0.45s var(--ease) both; } }
@keyframes stamp-in { from { transform: rotate(-8deg) scale(1.5); } }
/* Narrow screens: the stub tears off below the details instead of beside them. */
@media (max-width: 480px) {
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket-stub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; min-width: 0; background-image: radial-gradient(circle, var(--field-line) 1.2px, transparent 1.7px); background-size: 8px 3px; background-repeat: repeat-x; background-position: left top; }
  .ticket-stub::before { top: -9px; left: -9px; }
  .ticket-stub::after { top: -9px; bottom: auto; left: auto; right: -9px; }
  .ticket-amount { font-size: 1.6rem; }
}

/* ---------- paying: reassurance, bank details, warnings ---------- */
/* the assistant's answers, and the questions you can tap while you wait */
.msg.system.auto { max-width: 94%; text-align: left; background: var(--surface-2); color: var(--text); border-radius: 16px; padding: 10px 14px; }
.msg.system.auto .who { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.msg.system.auto .who .icon { width: 13px; height: 13px; color: var(--accent-text); }
.msg.system.auto .text { display: block; font-size: 0.95rem; }
.asks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.asks[hidden] { display: none; }
.asks-label { width: 100%; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.ask {
  min-height: 34px; padding: 6px 13px; border: 0; border-radius: 999px;
  background: var(--surface-2); color: var(--text); font: 600 0.85rem/1.2 var(--font); cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.ask:hover { background: var(--accent); color: var(--accent-ink); }
.ask:active { transform: translateY(1px); }
.ask:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* whether anyone is at the dashboard, shown at the top of the chat */
.team-status { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 0.875rem; color: var(--muted); }
.team-status[hidden] { display: none; }
.team-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.55; flex: none; }
.team-status.on { color: var(--good); }
.team-status.on::before { opacity: 1; }

.assure { list-style: none; display: grid; gap: 6px; margin: 0 0 14px; padding: 0; font-size: 0.875rem; }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure .icon { color: var(--good); }
.bank { display: grid; gap: 6px; margin: 8px 0; }
.bank > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--surface-2); }
.bank dt { grid-column: 1; font-size: 0.78rem; color: var(--muted); }
.bank dd { grid-column: 1; margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.bank .btn { grid-column: 2; grid-row: 1 / span 2; }
.notice.warn { display: flex; gap: 8px; align-items: flex-start; background: color-mix(in srgb, var(--warn) 14%, var(--surface)); }
.notice.warn .icon { color: var(--warn); margin-top: 0.15em; }

/* ---------- keep the private chat link ---------- */
.save-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-text) 40%, transparent); }
.save-link p { margin: 0; max-width: 62ch; font-size: 0.925rem; }
.save-link b { display: block; font-size: 1rem; }

/* ---------- light theme keeps the marquee: the headline's yellow is a lit panel ---------- */
@media (prefers-color-scheme: light) {
  .display em { color: var(--text); padding: 0 0.06em; background: linear-gradient(transparent 10%, var(--accent) 10%, var(--accent) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}

/* ---------- How it works (/how-it-works): the customer guide ---------- */
.guide { display: grid; gap: 52px; max-width: 1040px; margin: 0 auto; padding-bottom: 24px; }
.guide-head { display: grid; gap: 14px; justify-items: start; padding-top: 8px; }
.guide-head h1, .guide-head .lede { margin: 0; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tour { display: grid; gap: 16px; }
.tour > h2 { margin: 0; }
.tour-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.tour-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px 8px 8px; border: 0; border-radius: 999px; background: var(--surface); color: var(--muted); font: 600 0.9rem/1.2 var(--font); cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.tour-tab b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.tour-tab:hover, .tour-tab.done { color: var(--text); }
.tour-tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.tour-tab[aria-selected="true"] b { background: var(--accent-ink); color: var(--accent); }
.tour-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.tour-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tour-step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--surface); }
.tour-step:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (min-width: 860px) { .tour-step { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; padding: 32px; } }
.tour-copy { display: grid; gap: 10px; max-width: 52ch; }
.tour-copy h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.45rem; font-weight: 800; font-stretch: 85%; }
.tour-copy p { margin: 0; }
.tour-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.tour.is-tour .tour-num { display: none; }
.tour-demo { min-width: 0; }
.tour-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-where { margin: 0; color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .tour.moved .tour-step:not([hidden]) .demo { animation: demo-in 0.45s var(--ease) both; }
}
@keyframes demo-in { from { opacity: 0.4; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

/* the pictures of each step: real component classes with example content, nothing to press */
.demo { display: grid; gap: 12px; padding: 18px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; user-select: none; }
.demo.demo-bare { padding: 0; background: none; box-shadow: none; }
.demo .btn { cursor: default; }
.demo .pay-card { margin: 0; }
.demo .pay-title { font-weight: 700; }
.demo-search { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--field-line); font-size: 1rem; }
.demo-search .icon { color: var(--muted); }
.demo-card { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--surface); }
.demo-card .times { margin-top: 10px; }
.demo-screen { height: 26px; margin: 0 26px 2px; border-top: 4px solid var(--accent); border-radius: 50% 50% 0 0 / 100% 100% 0 0; box-shadow: 0 -12px 26px -14px var(--accent); padding-top: 6px; text-align: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.demo-room { display: grid; grid-template-columns: 18px repeat(8, minmax(0, 1fr)); gap: 5px; align-items: center; width: 100%; max-width: 340px; justify-self: center; }
.demo-row { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-align: center; }
.dseat { aspect-ratio: 1; display: grid; place-items: center; border-radius: 6px 6px 4px 4px; background: var(--seat-other); color: rgb(0 0 0 / 0.68); font: 700 0.68rem/1 var(--font); font-stretch: 80%; }
.dseat.t-front { background: var(--seat-budget); }
.dseat.t-std { background: var(--seat-regular); }
.dseat.t-ultra { background: var(--seat-premium); }
.dseat.taken { background: var(--seat-taken); }
.dseat.picked { background: var(--seat-selected); color: var(--seat-selected-ink); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--seat-selected-ring); }
.demo-input { display: grid; gap: 6px; }
.demo-label { font-size: 0.85rem; font-weight: 600; }
.demo-typed { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: var(--radius-input); background: var(--surface); box-shadow: inset 0 0 0 1px var(--field-line); }
.demo-lines { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); color: var(--muted); }
.demo-lines b { color: var(--text); font-size: 1.4rem; font-weight: 800; font-stretch: 80%; font-variant-numeric: tabular-nums; }
.demo-save { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--accent); }
.demo-save > .icon { width: 22px; height: 22px; color: var(--accent-text); }
.demo-save div { display: grid; gap: 2px; min-width: 0; }
.demo-save div span { font-size: 0.8rem; color: var(--muted); overflow-wrap: anywhere; }
.demo-chat { display: flex; flex-direction: column; gap: 10px; }
.demo-chat .msg { max-width: 100%; }
.demo-chat > .ticket { --notch: var(--bg); margin-top: 0; }
.demo-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.demo-methods span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface-2); font-weight: 600; font-size: 0.9rem; }
.demo-methods span.on { background: var(--accent); color: var(--accent-ink); }

.guide-faq { max-width: 760px; }
.guide-faq h2 { margin-bottom: 10px; }
.guide-faq details { border-top: 1px solid var(--line); }
.guide-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.guide-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; }
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary .icon { flex: none; color: var(--muted); transition: transform 0.2s var(--ease); }
.guide-faq details[open] summary .icon { transform: rotate(180deg); }
.guide-faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.guide-faq details p { margin: 0 0 18px; max-width: 62ch; color: var(--muted); }
.guide-end { display: grid; gap: 10px; justify-items: start; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.guide-end h2, .guide-end p { margin: 0; }


/* ---- reviews ------------------------------------------------------------------- */
.reviews { margin: 44px 0; display: grid; gap: 20px; }
.reviews-head { display: grid; gap: 6px; justify-items: start; }
.reviews-head h2 { margin: 0; }
.reviews-head p { margin: 0; }
.reviews-score { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1.05rem; }
.reviews-score b { font-size: 1.5rem; line-height: 1; }
.stars { display: inline-flex; gap: 2px; }
.star { display: inline-flex; color: var(--line); }
.star .icon { width: 16px; height: 16px; }
.star.on { color: var(--accent); }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.review { display: grid; gap: 8px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.review-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-who { font-weight: 700; letter-spacing: 0.02em; }
.review-score { font-size: 0.8rem; }
.review-text { margin: 0; color: var(--text); }
@media (max-width: 520px) { .review-list { grid-template-columns: 1fr; } }
