:root {
  --bg: #101218;
  --surface: #1A1D26;
  --surface-2: #2E3342;
  --nav: #15171F;
  --border: #2A2F3C;
  --border-strong: #343A4A;
  --text: #F3F0E8;
  --soft: #D6D3CB;
  --muted: #A3A7B5;
  --accent: #F2B84B;
  --on-accent: #1A1408;
  --film: #F2B84B;
  --serie: #8FB8F2;
  --youtube: #F28B82;
  --good: #9ED9A8;
  --bad: #F28B82;
  --later: #8FB8F2;
  --tint-film: #3A3226;
  --tint-serie: #25334A;
  --tint-youtube: #3F2826;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
#app {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(var(--safe-top) + 24px) 20px calc(var(--safe-bottom) + 110px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#app.no-tabbar { padding-bottom: calc(var(--safe-bottom) + 40px); }
.screen-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.screen-head > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -.03em; }
h2 { margin: 0; }
.section-label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 8px 8px calc(var(--safe-bottom) + 8px);
  background: rgba(21, 23, 31, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 50px; color: var(--muted); font-size: 11px; font-weight: 600;
}
.tabbar a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.tabbar svg, .icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.hide-tabbar .tabbar { display: none; }

/* ---------- Controls ---------- */
.segmented {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface);
}
.segmented button {
  min-height: 40px; border: 0; border-radius: 10px; background: transparent;
  color: var(--muted); font-size: 13px; font-weight: 700;
}
.segmented button[aria-pressed="true"], .segmented button[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.segmented.accent button[aria-pressed="true"], .segmented.accent button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 16px; border: 1px solid var(--border-strong);
  background: transparent; color: var(--text); font-size: 15px; font-weight: 700;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 800; }
.btn.block { width: 100%; }
.btn.small { min-height: 40px; padding: 0 14px; border-radius: 10px; font-size: 13px; }
.round {
  width: 56px; height: 56px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center;
}
.round .icon { width: 22px; height: 22px; stroke-width: 2.3; }
.round[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.pill-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--accent);
  color: var(--accent); font-size: 13px; font-weight: 700;
}
.pill-link span:last-child { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.hint-box {
  display: flex; align-items: center; min-height: 42px; padding: 8px 14px; margin: 0;
  border-radius: 10px; border: 1px dashed var(--border-strong); font-size: 13px; color: var(--soft);
}

.search {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px;
  border-radius: 12px; background: var(--surface); color: var(--muted); min-width: 0;
}
.card form { min-width: 0; }
.card form .btn { flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font-size: 16px; outline: none; }
.search .icon { width: 18px; height: 18px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--soft); }
.field input, .field textarea {
  min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 16px;
}
.field small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.field small a { color: var(--accent); text-decoration: underline; }

/* ---------- Stamps & tags ---------- */
.stamp {
  display: inline-block; padding: 3px 8px; border: 2px solid currentColor; border-radius: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em;
  transform: rotate(-4deg); background: rgba(16, 18, 24, .65); color: var(--accent);
}
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.tag.film { background: var(--film); color: #1A1408; }
.tag.serie { background: var(--serie); color: #0E1A2B; }
.tag.youtube { background: var(--youtube); color: #2B0E0B; }

/* ---------- Ticket ---------- */
.ticket { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: var(--surface); overflow: hidden; }
.ticket-visual { position: relative; aspect-ratio: 16 / 10; background: var(--tint-film); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ticket-visual img { width: 100%; height: 100%; object-fit: cover; }
.ticket-visual .tag { position: absolute; top: 14px; left: 14px; }
.ticket-visual .counter {
  position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,.6); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700;
}
.ticket-visual .stamp { position: absolute; bottom: 14px; left: 14px; }
.ticket-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px 10px; }
.ticket-body h2 { font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.ticket-body p { margin: 0; font-size: 14px; color: var(--soft); }
.perforation { position: relative; height: 24px; }
.perforation::before, .perforation::after {
  content: ""; position: absolute; top: 0; width: 24px; height: 24px; border-radius: 999px; background: var(--bg);
}
.perforation::before { left: -12px; }
.perforation::after { right: -12px; }
.perforation span { position: absolute; left: 20px; right: 20px; top: 11px; border-top: 2px dashed var(--border-strong); }
.stub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px 18px 16px; }
.stub div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.stub dt, .stub-label { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.stub dd, .stub-value { margin: 0; font-family: var(--mono); font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stub .accent { color: var(--accent); }
.ticket-actions { display: flex; align-items: center; justify-content: center; gap: 20px; }

/* ---------- Guichet ---------- */
.mood-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mood-card {
  position: relative; min-height: 60px; padding: 0 12px 0 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); text-align: left; display: flex; align-items: center; gap: 10px; overflow: hidden;
}
.mood-card::after {
  content: ""; position: absolute; right: -7px; top: 50%; margin-top: -7px; width: 14px; height: 14px; border-radius: 999px; background: var(--bg);
}
.mood-card .num { font-family: var(--mono); font-size: 11px; font-weight: 700; opacity: .7; }
.mood-card strong { display: block; font-family: var(--display); font-size: 16px; font-weight: 800; }
.mood-card small { display: block; font-size: 11px; opacity: .85; }
.mood-card[aria-pressed="true"], .slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot {
  min-height: 64px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.slot strong { font-family: var(--mono); font-size: 17px; }
.slot small { font-size: 11px; font-weight: 600; opacity: .85; }
.step { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Poster grid (catalogue) ---------- */
.poster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
@media (min-width: 520px) { .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.poster { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.poster-img {
  position: relative; aspect-ratio: 2 / 3; border-radius: 10px; background: var(--tint-film); overflow: hidden;
  display: flex; align-items: flex-end; padding: 8px;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--soft);
}
.poster-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster-img.yt { aspect-ratio: 2 / 3; }
.poster.seen .poster-img img, .poster.seen .poster-img { opacity: .55; }
.poster-title { font-size: 13px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seen-btn {
  position: absolute; top: 6px; right: 6px; min-width: 44px; height: 32px; padding: 0 8px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(0,0,0,.6); color: #fff;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
}
.seen-stamp {
  position: absolute; top: 34%; left: 50%; width: 68px; height: 44px; margin-left: -34px;
  border: 3px solid var(--accent); border-radius: 8px; background: rgba(16,18,24,.7); color: var(--accent);
  font-family: var(--mono); font-size: 18px; font-weight: 700; letter-spacing: .1em; transform: rotate(-10deg);
}

/* ---------- Lists (nouveautés) ---------- */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  min-height: 200px; padding: 14px; border-radius: 18px; background: var(--tint-film); overflow: hidden;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,15,.92) 10%, rgba(10,11,15,.1) 70%); }
.hero > * { position: relative; z-index: 1; }
.hero .stamp { position: absolute; top: 12px; left: 12px; z-index: 2; }
.hero .when { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.hero .title { font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.hero .why { font-size: 13px; color: var(--soft); }
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: var(--surface); }
.row > a { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.row-thumb { width: 52px; height: 72px; flex-shrink: 0; border-radius: 8px; background: var(--tint-film); overflow: hidden; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row-text .when { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.row-text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-text small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; border: 1px solid var(--border-strong);
  background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.icon-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- Carnet ---------- */
.month { display: flex; flex-direction: column; gap: 8px; }
.stub-row { position: relative; display: flex; min-height: 84px; border-radius: 14px; background: var(--surface); overflow: hidden; }
.stub-day { width: 70px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--tint-film); }
.stub-day b { font-family: var(--mono); font-size: 22px; }
.stub-day small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--soft); }
.stub-cut { position: relative; width: 0; border-left: 2px dashed var(--bg); }
.stub-cut::before, .stub-cut::after { content: ""; position: absolute; left: -10px; width: 18px; height: 18px; border-radius: 999px; background: var(--bg); }
.stub-cut::before { top: -9px; }
.stub-cut::after { bottom: -9px; }
.stub-info { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 12px; min-width: 0; flex: 1; }
.stub-info strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stub-info small { font-size: 12px; color: var(--muted); }
.stub-row .stamp { align-self: center; margin-right: 12px; transform: rotate(-8deg); background: transparent; }

/* ---------- Fiche ---------- */
.fiche-hero { position: relative; margin: calc(-24px - var(--safe-top)) -20px 0; height: calc(220px + var(--safe-top)); background: var(--tint-film); overflow: hidden; }
.fiche-hero img { width: 100%; height: 100%; object-fit: cover; }
.fiche-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(16,18,24,0) 60%); }
.back {
  position: absolute; z-index: 2; top: calc(var(--safe-top) + 14px); left: 16px;
  width: 44px; height: 44px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; border: 0;
  display: flex; align-items: center; justify-content: center;
}
.fiche-card { position: relative; z-index: 1; margin-top: -60px; border-radius: 18px; background: var(--surface); box-shadow: 0 10px 30px rgba(0,0,0,.35); overflow: hidden; }
.fiche-card header { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 10px; }
.fiche-card .genre { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
.fiche-card h1 { font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.fiche-card .stub { padding: 0 16px 12px; }
.fiche-card .perforation { height: 20px; }
.fiche-card .perforation::before, .fiche-card .perforation::after { width: 20px; height: 20px; }
.fiche-card .perforation::before { left: -10px; }
.fiche-card .perforation::after { right: -10px; }
.fiche-card .perforation span { top: 9px; left: 18px; right: 18px; }
.stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px 12px 14px; }
.stamp-btn {
  min-height: 44px; padding: 0 2px; border-radius: 8px; border: 1px dashed #3A4050; background: transparent; color: var(--muted);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
.stamp-btn[aria-pressed="true"] { border: 2.5px solid currentColor; transform: rotate(-6deg); }
.overview { margin: 0; font-size: 14px; line-height: 1.5; color: var(--soft); }
.fiche-links { display: flex; flex-wrap: wrap; gap: 8px; }
.comments { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.comment { display: flex; gap: 10px; }
.avatar { width: 34px; height: 34px; flex-shrink: 0; border-radius: 999px; background: var(--serie); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #0E1A2B; }
.comment-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.comment-body .who { font-size: 13px; font-weight: 700; }
.comment-body .who small { font-weight: 500; color: var(--muted); }
.comment-body p { margin: 0; font-size: 14px; color: var(--soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.spoiler-btn {
  align-self: flex-start; min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px dashed #4A5164;
  background: var(--surface); color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
.composer { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: var(--surface); }
.composer .line { display: flex; gap: 8px; }
.composer input[type="text"] {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 16px;
}
.composer .send { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; border: 0; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.composer label.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.composer input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }

/* ---------- Misc ---------- */
.empty { padding: 28px 16px; border-radius: 16px; border: 1px dashed var(--border-strong); text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.empty strong { color: var(--text); font-family: var(--display); font-size: 18px; }
.banner { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid var(--accent); background: rgba(242,184,75,.08); font-size: 13px; color: var(--soft); }
.banner strong { color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.banner a { color: var(--accent); text-decoration: underline; font-weight: 700; }
.settings-link { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--muted); flex-shrink: 0; }
.settings-link .icon { width: 20px; height: 20px; }
.loading { display: flex; justify-content: center; padding: 40px 0; }
.loading span { width: 28px; height: 28px; border-radius: 999px; border: 3px solid var(--surface-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: var(--surface); border-radius: 22px; min-height: 420px; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 86px); transform: translateX(-50%); z-index: 30;
  padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600;
  max-width: calc(100vw - 40px); box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list .item { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--surface); font-size: 13px; }
.chip-list .item button { width: 28px; height: 28px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--text); }
.card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--surface); }
.card h2 { font-family: var(--display); font-size: 18px; font-weight: 800; }
.card p { margin: 0; font-size: 13px; color: var(--muted); }
.result-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.result-list button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); text-align: left; }
.result-list img, .result-list .ph { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }

.status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--soft); }
.status-list li { display: flex; align-items: center; gap: 10px; }
.status-list strong { color: var(--text); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 999px; background: var(--bad); flex-shrink: 0; }
.dot.on { background: var(--good); }
details summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent); min-height: 32px; display: flex; align-items: center; }

/* ---------- Carrousel des tickets ---------- */
.carousel {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 -20px; padding: 2px 20px 4px; scroll-padding: 0 20px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline: none; }
.carousel > .ticket { flex: 0 0 88%; scroll-snap-align: center; scroll-snap-stop: always; }
@media (min-width: 520px) { .carousel > .ticket { flex-basis: 82%; } }
.carousel .ticket-visual { color: inherit; }
.dots { display: flex; justify-content: center; gap: 2px; margin-top: -4px; }
.dots button { width: 28px; height: 28px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; }
.dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--border-strong); transition: width .2s, background .2s; }
.dots button[aria-current] span { width: 22px; background: var(--accent); }
.link-btn {
  align-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600;
}
.link-btn .icon { width: 16px; height: 16px; }
#ticket-zone { display: flex; flex-direction: column; gap: 14px; }
.carousel .ticket-visual { aspect-ratio: 16 / 9; }
