/* ============================================================
   票探 · 站点样式（主页）
   品牌规范与小程序保持一致：
   - 暖纸底 #f4f1e8 / 墨蓝文字 #111729 / 淘票票橙 #FF5700
   - 三色柱 brand-mark：#ef786f / #ffb454 / #b9b0ec，旋转 -9°
   - 品牌名宋体（Songti SC / STSong / SimSun）
   ============================================================ */

:root {
  --paper: #f4f1e8;
  --paper-2: #eeeade;
  --ink: #111729;
  --muted: #777c8d;
  --faint: #a2a7b6;
  --orange: #ff5700;
  --orange-deep: #e04a00;
  --red: #ef786f;
  --amber: #ffb454;
  --violet: #b9b0ec;
  --ok: #0f9d6c;
  --card: #ffffff;
  --line: rgba(17, 23, 41, 0.1);
  --line-soft: rgba(17, 23, 41, 0.06);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-brand: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(255, 87, 0, 0.18); }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }

img, svg { vertical-align: middle; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 品牌 mark（三色柱，与小程序 brand-nav 一致） ---------- */
.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  transform: rotate(-9deg);
  flex-shrink: 0;
}

.brand-mark i {
  display: block;
  width: 7.5px;
  margin-right: 4px;
  border-radius: 4px 4px 0 0;
}

.brand-mark i:nth-child(1) { height: 15px; background: var(--red); }
.brand-mark i:nth-child(2) { height: 27px; background: var(--amber); }
.brand-mark i:nth-child(3) { height: 20px; background: var(--violet); margin-right: 0; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 232, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

.brand .brand-en {
  margin-left: 2px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  align-self: flex-end;
  padding-bottom: 4px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
}

.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--orange-deep); text-decoration: none; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(720px 380px at 78% -8%, rgba(255, 180, 84, 0.22), transparent 62%),
    radial-gradient(560px 320px at 8% 4%, rgba(185, 176, 236, 0.20), transparent 60%),
    radial-gradient(520px 300px at 55% 110%, rgba(239, 120, 111, 0.14), transparent 62%),
    var(--paper);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 56px 0 56px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 87, 0, 0.32);
  background: rgba(255, 87, 0, 0.07);
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 26px;
}

h1.title {
  margin: 0 0 20px;
  font-family: var(--font-brand);
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1.title em {
  font-style: normal;
  color: var(--orange);
}

.lead {
  margin: 0 0 34px;
  max-width: 560px;
  font-size: 16.5px;
  color: var(--muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 8px 22px rgba(255, 87, 0, 0.28);
}
.btn-primary:hover { background: var(--orange-deep); box-shadow: 0 12px 28px rgba(255, 87, 0, 0.32); }

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover { border-color: rgba(17, 23, 41, 0.28); }

.hero-meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta .sep { opacity: 0.5; }
.hero-meta a { color: var(--muted); }
.hero-meta a:hover { color: var(--ink); }

/* ---------- Hero 票卡视觉 ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }

.ticket {
  position: relative;
  width: min(400px, 100%);
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow:
    0 26px 60px rgba(17, 23, 41, 0.14),
    0 4px 14px rgba(17, 23, 41, 0.06);
  transform: rotate(2.2deg);
  animation: floaty 7s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: rotate(2.2deg) translateY(0); }
  50% { transform: rotate(1.6deg) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .ticket { animation: none; }
}

.ticket-notch {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  top: 50%;
}
.ticket-notch.left { left: -12px; transform: translateY(-50%); border-left-color: transparent; }
.ticket-notch.right { right: -12px; transform: translateY(-50%); border-right-color: transparent; }

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.14em;
}

.ticket-head .t-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ticket-body { padding: 0 22px 6px; }

.ticket-title {
  margin: 2px 0 4px;
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ticket-sub { font-size: 13px; color: var(--muted); }

.ticket-seats {
  margin: 14px 0 2px;
  display: flex;
  gap: 8px;
}

.seat-chip {
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(15, 157, 108, 0.08);
  border: 1px solid rgba(15, 157, 108, 0.3);
  color: var(--ok);
  font-size: 12.5px;
  font-weight: 600;
}

.ticket-perf {
  margin: 14px 6px;
  border-top: 2px dashed var(--line);
}

.ticket-compare { padding: 4px 22px 16px; }

.cmp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13.5px;
}
.cmp-row:last-child { border-bottom: none; }

.cmp-row .cmp-label { color: var(--muted); }

.cmp-price { font-weight: 700; font-variant-numeric: tabular-nums; }

.cmp-row.reference .cmp-price { color: var(--muted); font-weight: 600; }

.cmp-row.best .cmp-price {
  color: var(--orange);
  font-size: 26px;
  font-weight: 800;
}

.cmp-row.best .badge-check { margin-left: 6px; vertical-align: middle; }

.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 157, 108, 0.08);
  border: 1px solid rgba(15, 157, 108, 0.32);
  color: var(--ok);
  font-size: 11.5px;
  font-weight: 600;
}

.ticket-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-top: 1px solid var(--line-soft);
  background: #faf8f2;
  border-radius: 0 0 20px 20px;
  font-size: 12px;
  color: var(--faint);
}

.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(15, 157, 108, 0.14);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.save-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 34px rgba(17, 23, 41, 0.3);
  transform: rotate(-3deg);
  animation: floaty 8s 1.2s ease-in-out infinite;
}

.save-badge b {
  font-size: 22px;
  font-weight: 800;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.save-badge span { font-size: 11px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.08em; }

@media (max-width: 900px) {
  .save-badge { left: 2px; }
}

/* ---------- 数据条 ---------- */
.stats {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.5);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 0;
}

@media (max-width: 860px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-inner { grid-template-columns: 1fr; } }

.stat { text-align: center; padding: 6px 10px; }

.stat b {
  display: block;
  font-size: 23px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 通用 section ---------- */
.section { padding: 84px 0; }

.section-head { max-width: 660px; margin-bottom: 44px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--amber), var(--violet));
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-brand);
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 700;
  line-height: 1.35;
}

.section-head p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feature-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 6px 24px rgba(17, 23, 41, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 87, 0, 0.28);
  box-shadow: 0 18px 44px rgba(17, 23, 41, 0.1);
}

.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card:nth-child(1) .card-icon { background: rgba(239, 120, 111, 0.14); }
.card:nth-child(2) .card-icon { background: rgba(255, 180, 84, 0.18); }
.card:nth-child(3) .card-icon { background: rgba(185, 176, 236, 0.2); }
.card:nth-child(4) .card-icon { background: rgba(255, 87, 0, 0.1); }

.card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; }

.card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.6);
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(17, 23, 41, 0.06);
}

.step:nth-child(1) .step-no { color: var(--red); }
.step:nth-child(2) .step-no { color: #d98f00; }
.step:nth-child(3) .step-no { color: #7d6fd6; }
.step:nth-child(4) .step-no { color: var(--orange); }

.step h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; }

.step p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- 服务声明 ---------- */
.notice {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px 32px;
  box-shadow: 0 6px 24px rgba(17, 23, 41, 0.05);
}

.notice ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.notice li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--muted);
}

.notice li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: linear-gradient(120deg, var(--amber), var(--orange));
  transform: rotate(45deg);
}

/* ---------- 页脚（墨蓝底） ---------- */
.film-strip {
  height: 12px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.22) 0 14px,
    transparent 14px 28px
  );
  background-size: 100% 6px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.45;
}

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  padding: 42px 0 34px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.footer-brand .sub {
  margin-left: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  align-self: flex-end;
  padding-bottom: 3px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal a { color: rgba(255, 255, 255, 0.78); }
.footer-legal a:hover { color: var(--amber); }

.footer-legal .miit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}
.footer-legal .miit-link:hover { border-color: rgba(255, 180, 84, 0.55); }

/* ---------- 正在热映轮播 ---------- */
.now-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.carousel-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.counter {
  font-size: 13.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

.counter b { color: var(--ink); font-size: 16px; }

.c-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(17, 23, 41, 0.08);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.c-btn:hover { border-color: rgba(255, 87, 0, 0.45); color: var(--orange); transform: translateY(-1px); }

.c-btn:disabled { opacity: 0.35; cursor: default; transform: none; border-color: var(--line); color: var(--ink); }

.carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
}

.carousel::-webkit-scrollbar { display: none; }

.carousel.dragging { cursor: grabbing; scroll-snap-type: none; }

.mv-card {
  flex: 0 0 152px;
  min-width: 0;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-select: none;
}

@media (max-width: 540px) {
  .mv-card { flex-basis: 124px; }
}

.mv-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--violet), var(--red));
  box-shadow: 0 10px 26px rgba(17, 23, 41, 0.16);
}

.mv-poster img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* 海报兜底字符（图片加载失败或示例数据时露出） */
.mv-fb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-size: 64px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 4px 18px rgba(17, 23, 41, 0.35);
}

.mv-demo { background: linear-gradient(160deg, var(--violet), var(--red)); }
.mv-card:nth-child(2n) .mv-demo { background: linear-gradient(160deg, var(--amber), var(--red)); }
.mv-card:nth-child(3n) .mv-demo { background: linear-gradient(160deg, var(--red), var(--ink)); }

.mv-score {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 87, 0, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 12px rgba(17, 23, 41, 0.25);
}

.mv-title {
  margin: 10px 0 2px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mv-meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mv-actors {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-hint {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--faint);
  text-align: center;
  letter-spacing: 0.08em;
}

/* 骨架屏 */
.mv-poster.skel, .skel-line {
  background: linear-gradient(100deg, #eae5d6 40%, #f6f2e8 50%, #eae5d6 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.skel-line { height: 14px; border-radius: 6px; margin-top: 10px; }
.skel-short { width: 62%; }

@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -80% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mv-poster.skel, .skel-line { animation: none; }
}

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 首屏热映电影票：沿用票卡视觉，切换真实影片。 */
.hero-visual { flex-direction: column; align-items: center; min-width: 0; scroll-margin-top: 100px; }
.ticket-stage { position: relative; width: min(400px, 100%); }
#movie-ticket { touch-action: pan-y; user-select: none; cursor: grab; }
#movie-ticket:active { cursor: grabbing; }
#movie-ticket:focus-visible { outline: 2px solid var(--orange); outline-offset: 8px; }
.ticket-title { min-height: 2.8em; line-height: 1.4; overflow-wrap: anywhere; }
.ticket-movie-meta { min-height: 1.5em; margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.ticket-navigation { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.ticket-now-label { font-size: 12px; color: var(--orange); letter-spacing: .12em; }
.ticket-navigation .c-btn { font-size: 24px; }
.ticket-navigation .counter { min-width: 50px; text-align: center; margin: 0; }
.ticket-hint { margin: 12px 0 0; font-size: 11px; color: var(--muted); text-align: center; }
.ticket-hint a { color: var(--orange); margin-left: 8px; }

/* 海报与影片信息组成票面，保留完整竖版构图。 */
.ticket-film { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; margin: 0 0 12px; }
.ticket-poster { position: relative; width: 64px; height: 96px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 7px; background: linear-gradient(145deg, #27354d, #111729); box-shadow: 0 6px 16px rgba(17, 23, 41, .18); }
.ticket-poster::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.16); border-radius: inherit; pointer-events: none; }
.ticket-poster-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-brand); font-size: 30px; color: #f4f1e8; }
.ticket-poster img { position: absolute; width: 100%; height: 100%; object-fit: contain; background: #111729; opacity: 0; transition: opacity .2s ease; }
.ticket-poster img.loaded { opacity: 1; }
.ticket-film-info { min-width: 0; }
.ticket-film-label { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; color: var(--orange); }
.ticket-film .ticket-title { min-height: 0; margin-bottom: 6px; font-size: 20px; line-height: 1.45; }
.ticket-film .ticket-movie-meta { margin: 0; line-height: 1.8; font-size: 11px; }
@media (max-width: 480px) {
  .ticket-film { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .ticket-poster { width: 56px; height: 84px; }
  .ticket-film .ticket-title { font-size: 18px; }
  .ticket-film-label { font-size: 8px; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) { .ticket-poster img { transition: none; } }

/* 整张票卡随手势换页；后方露出票边。 */
.hero { overflow: hidden; }
.ticket-stage { isolation: isolate; }
.ticket-stage::before { content: ''; position: absolute; inset: 8px -8px -8px 8px; z-index: -1; background: #faf8f2; border: 1px solid var(--line); border-radius: 20px; transform: rotate(4deg); box-shadow: 0 10px 28px rgba(17,23,41,.06); }
.ticket-outgoing { position: absolute; top: 0; pointer-events: none; z-index: 2; }
#movie-ticket { animation: none; }
.ticket-retry { border: 0; padding: 0; background: none; color: var(--orange); cursor: pointer; font: inherit; }

.ticket-swipe-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 0; font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.ticket-swipe-hint span { display: inline-block; color: var(--orange); font-size: 18px; animation: swipe-nudge 2.4s ease-in-out infinite; }
@keyframes swipe-nudge { 0%, 65%, 100% { transform: translateX(0); opacity: .5; } 35% { transform: translateX(7px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ticket-swipe-hint span { animation: none; } }

/* 固定票面与文字槽位，避免长片名、影院名称导致换票时页面跳动。 */
.ticket-stage .ticket { height: 490px; display: flex; flex-direction: column; }
.ticket-stage .ticket > * { flex-shrink: 0; }
.ticket-stage .ticket-film { height: 116px; }
.ticket-film .ticket-title { height: 2.9em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ticket-film .ticket-movie-meta { height: 1.8em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-stage .ticket-sub { height: 3em; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ticket-stage .ticket-foot { margin-top: auto; }
@media (max-width: 480px) {
  .ticket-stage .ticket { height: 480px; }
  .ticket-stage .ticket-film { height: 108px; }
}
