/* Vant 视觉基因：#ee0a24 主红、#f7f8fa 底、8px 圆角卡片 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f7f8fa; color: #323233; font-size: 14px;
  max-width: 540px; margin: 0 auto;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

/* 吸顶锚点导航 */
.navbar {
  position: sticky; top: 0; z-index: 20; display: flex;
  background: #fff; border-bottom: 1px solid #f2f3f5;
}
.navbar a {
  flex: 1; text-align: center; padding: 12px 0; color: #646566;
  text-decoration: none; font-size: 15px; position: relative;
}
.navbar a.active { color: #323233; font-weight: 600; }
.navbar a.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 4px; width: 24px; height: 3px; border-radius: 2px; background: #ee0a24;
}

/* 轮播 */
.carousel { position: relative; background: #fff; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: center;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffe8cc, #ffd6d6); color: #b25;
  font-size: 15px; letter-spacing: 1px;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel .badge {
  position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.55);
  color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 10px;
}

/* 价格与标题卡 */
.card { background: #fff; margin: 10px 12px 0; border-radius: 8px; padding: 14px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; }
.price { color: #ee0a24; font-weight: 700; }
.price .yen { font-size: 18px; }
.price .num { font-size: 32px; }
.seats { color: #969799; font-size: 13px; }
h1.title { font-size: 17px; line-height: 1.5; margin-top: 8px; font-weight: 600; }
.presale {
  display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 4px;
  background: #fff1f0; color: #ee0a24; font-size: 12px; border: 1px solid #ffccc7;
}

/* 保障条 */
.assurance { display: flex; gap: 14px; color: #646566; font-size: 13px; }
.assurance span::before { content: "✓ "; color: #07c160; }

/* 详情 */
.section-title {
  display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; margin-bottom: 10px;
}
.section-title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: #ee0a24; }
.detail p { line-height: 1.8; margin-bottom: 8px; color: #4a4a4a; }
.detail ul { padding-left: 18px; }
.detail li { line-height: 1.8; color: #4a4a4a; }
.notice { background: #fffbe8; border-radius: 8px; padding: 12px; }
.notice p { font-size: 13px; color: #8a6d3b; }

/* 底部购买栏 */
.buybar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 540px; display: flex; align-items: center;
  background: #fff; border-top: 1px solid #f2f3f5;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  gap: 10px; z-index: 30;
}
.buybar .contact { text-align: center; color: #646566; font-size: 11px; width: 48px; }
.buybar .contact .icon { font-size: 20px; display: block; }
.btn-buy {
  flex: 1; border: 0; border-radius: 22px; height: 44px; font-size: 16px; font-weight: 600;
  color: #fff; background: linear-gradient(90deg, #ff6034, #ee0a24); cursor: pointer;
}
.btn-buy:active { opacity: .85; }

/* 表单（success 页） */
.form-item { margin-bottom: 12px; }
.form-item .field-label { display: block; font-size: 13px; color: #646566; margin-bottom: 6px; }
.form-item .field-label b { color: #ee0a24; }
.form-item input:not([type=radio]):not([type=checkbox]), .form-item select, .form-item textarea {
  width: 100%; border: 1px solid #dcdee0; border-radius: 6px;
  padding: 0 10px; font-size: 15px; background: #fff; color: #323233; box-sizing: border-box;
}
.form-item input:not([type=radio]):not([type=checkbox]), .form-item select { height: 42px; }
.form-item textarea { min-height: 100px; padding-top: 10px; resize: vertical; font-family: inherit; }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 8px 0; }
.choice-row .choice { display: flex; align-items: center; gap: 5px; margin: 0; color: #323233; }
.region-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field-help { margin: 2px 0 0; color: #969799; font-size: 12px; }
.form-error { min-height: 20px; color: #ee0a24; font-size: 13px; }
.hint { font-size: 12px; color: #969799; margin-top: 6px; line-height: 1.6; }
.result-ok { text-align: center; padding: 40px 20px; }
.result-ok .big { font-size: 44px; }
.result-ok h2 { margin: 10px 0; }
