/* ===== 移动端主样式 v3 · 简约风（浅灰底 + 白卡片 + 品牌蓝点缀） ===== */
:root {
  /* 品牌与强调 */
  --brand: #2f9bff;
  --brand-deep: #0b6fd6;
  --brand-soft: rgba(47, 155, 255, .08);
  --brand-soft-2: rgba(47, 155, 255, .14);

  /* 文字（深灰蓝系） */
  --text: #1f2a3d;
  --text-body: #3d4a5f;
  --text-sub: #6b7a91;
  --text-dim: #9aa7bb;

  /* 底色与卡片 */
  --bg: #f5f6f8;
  --card: #ffffff;
  --border: #e8ebf0;
  --shadow: 0 2px 10px rgba(20, 40, 80, .06);
  --shadow-strong: 0 4px 18px rgba(20, 40, 80, .08);
  --radius: 14px;

  /* 数字/英文等宽字体 */
  --font-num: "Bahnschrift", "DIN Alternate", "SF Mono", ui-monospace, Consolas, monospace;

  /* ---- Vant 主题同步转浅色 ---- */
  --van-popup-background: #ffffff;
  --van-popup-close-icon-color: var(--text-sub);
  --van-cell-background: transparent;
  --van-cell-border-color: var(--border);
  --van-field-label-color: var(--text-sub);
  --van-field-input-text-color: var(--text);
  --van-field-placeholder-text-color: var(--text-dim);
  --van-field-clear-icon-color: var(--text-dim);
  --van-toast-background: rgba(31, 42, 61, .92);
  --van-toast-text-color: #ffffff;
  --van-button-primary-background: var(--brand);
  --van-button-primary-border-color: var(--brand);
  --van-button-primary-color: #ffffff;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}
[v-cloak] { display: none; }

/* ---- 主视觉 Banner（图片自带文字，不叠加可编辑文字） ---- */
.banner { position: relative; display: block; width: 100%; overflow: hidden; background: var(--card); }
.banner__img { display: block; width: 100%; height: auto; }

/* ---- 双卡（大会简介 / 报名）：简约白卡片，位于 banner 下方不遮挡 ---- */
.quick-cards {
  display: flex; gap: 12px; padding: 0 14px; margin-top: 14px; position: relative; z-index: 2;
}
.qcard {
  position: relative; overflow: hidden;
  flex: 1; height: 72px; border-radius: var(--radius); padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.qcard:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(20, 40, 80, .10);
}
.qcard__title {
  font-size: 18px; font-weight: 600; letter-spacing: .5px; position: relative;
  color: var(--text);
}
.qcard__icon {
  position: relative; flex: none; width: 34px; height: 34px;
  font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  border-radius: 9px;
  background: var(--brand-soft);
}

/* ---- 四宫格导航 ---- */
.grid-nav {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin: 14px; padding: 16px 8px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.grid-item { text-align: center; cursor: pointer; }
.grid-item__icon {
  width: 48px; height: 48px; margin: 0 auto 6px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-size: 23px;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .15s;
}
.grid-item:active .grid-item__icon { background: var(--brand-soft-2); }
.grid-item__label { font-size: 13px; color: var(--text-sub); }

/* ---- 通用内容块（白卡片） ---- */
.block {
  position: relative; overflow: hidden;
  background: var(--card);
  margin: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.block__head {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 14px 16px 10px; font-size: 17px; font-weight: 700; letter-spacing: .3px; color: var(--text);
  border-bottom: 1px solid var(--border);
}
/* 英文副标题：由 data-en 渲染 */
.block__head::after {
  content: attr(data-en); margin-left: auto;
  font-family: var(--font-num); font-size: 10px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--text-dim);
}
.block__bar {
  width: 4px; height: 16px; border-radius: 2px; flex: none;
  background: var(--brand);
}
.block__body { padding: 8px 16px 16px; color: var(--text-body); }
.block__body p { margin: 8px 0; }
.soon {
  position: relative; text-align: center; color: var(--text-sub);
  padding: 26px 0 24px; font-size: 14px; letter-spacing: 1px;
}
.soon::before {
  content: ''; display: block; width: 52px; height: 1px; margin: 0 auto 12px;
  background: var(--border);
}

/* ---- 邀请函 ---- */
.invite p { margin: 8px 0; text-align: justify; color: var(--text-body); }
.invite__title {
  position: relative; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: 6px;
  padding-bottom: 10px; color: var(--text);
}
.invite__sign { text-align: right; color: var(--text-sub); margin-top: 14px; }
/* 弹框内邀请函：限高可滚动，避免超长文本顶出屏幕 */
.invite--sheet { max-height: 60vh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-right: 4px; }

/* ---- 议程：时间轴 ---- */
.agenda { position: relative; padding-left: 18px; }
.agenda::before {
  content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px;
  background: var(--border);
}
.agenda-item {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
/* 时间轴节点 */
.agenda-item::before {
  content: ''; position: absolute; left: -18px; top: 50%; margin-top: -4.5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand);
}
.agenda-item:last-child { border-bottom: none; }
.agenda-item__time {
  flex: none; min-width: 96px; text-align: center; font-size: 13px; font-weight: 700;
  font-family: var(--font-num); letter-spacing: .4px;
  color: var(--brand-deep); background: var(--brand-soft);
  border-radius: 20px; padding: 5px 8px;
}
.agenda-item__title { font-size: 15px; color: var(--text-body); }

/* ---- 嘉宾 swiper ---- */
.guest-carousel { position: relative; }
.guest-swipe { padding: 6px 0; }
.guest-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; padding: 0; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .92);
  color: var(--brand); font-size: 16px; line-height: 1; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12); z-index: 2;
}
.guest-carousel.is-scrollable .guest-arrow { display: flex; }
.guest-arrow--prev { left: 0; }
.guest-arrow--next { right: 0; }
.guest-arrow:active { opacity: .6; }
.guest { text-align: center; padding: 6px; }
.guest__avatar {
  width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  font-size: 28px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.guest__name { font-size: 15px; font-weight: 700; color: var(--text); }
.guest__title { font-size: 11px; color: var(--text-sub); line-height: 1.4; margin-top: 4px; }
.guest__avatar--img { object-fit: cover; padding: 0; background: var(--bg); }

/* 展览平面图 */
.map-img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }

/* 票据重发提示 */
.reissue-tip { color: var(--text-sub); font-size: 13px; margin: 0 0 10px; }

/* ---- 用餐 ---- */
.meal-list { list-style: none; padding-left: 0; margin: 8px 0; color: var(--text-body); }
.meal-list li { position: relative; padding-left: 18px; margin: 10px 0; font-size: 13px; }
/* 圆点标记 */
.meal-list li::before {
  content: ''; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}
.meal-list b {
  display: inline-block; min-width: 42px; text-align: center; margin-right: 6px;
  padding: 1px 8px; font-size: 12px; font-weight: 700; color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 6px;
}

/* ---- 联系 ---- */
.contact__rows { margin-top: 12px; }
.contact__row {
  display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 10px 12px;
  font-size: 13px; color: var(--text-body); border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
}
.contact__row .van-icon {
  flex: none; width: 26px; height: 26px; border-radius: 8px; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); background: var(--brand-soft);
}

/* ---- 底部留白 + 传统选项卡菜单 ---- */
.page-bottom-space { height: 58px; }
/* ---- 底部传统选项卡（与页面 640px 居中对齐） ---- */
.app-tabbar.van-tabbar {
  left: 0; right: 0; margin: 0 auto; max-width: 640px;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(20, 40, 80, .06);
}
.app-tabbar .van-tabbar-item__text { font-size: 12px; }

/* ---- 弹框内容 ---- */
.sheet { padding: 22px 16px 16px; }
.sheet__title {
  position: relative; font-size: 18px; font-weight: 700; text-align: center;
  letter-spacing: 1px; margin-bottom: 14px; color: var(--text);
}
.sheet__title::after {
  content: ''; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  width: 64px; height: 1px; background: var(--border);
}
.sheet__actions { padding: 16px 4px 4px; }

/* PC 端：底部弹框限宽并与正文同宽居中（Vant 只有 left:0 无 right:0，margin auto 无效，改用定宽 + 半偏移居中） */
@media (min-width: 641px) {
  .van-popup--bottom { left: 50%; right: auto; width: 640px; margin-left: -320px; }
}

/* ---- 电子票：二维码保留白底以保障扫码识别 ---- */
.ticket { width: 260px; text-align: center; }
.ticket__title {
  font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--text);
}
.ticket__no {
  font-family: var(--font-num); font-size: 12px; letter-spacing: 1px;
  color: var(--brand-deep); margin: 6px 0 12px;
}
.ticket__qr {
  display: flex; justify-content: center; margin: 0 auto 14px; padding: 10px;
  background: #fff; border-radius: 12px; border: 1px solid var(--border);
}
.ticket__qr img, .ticket__qr canvas { display: block; margin: 0 auto; }
.ticket__name { font-size: 15px; font-weight: 700; color: var(--text); }
.ticket__hint { font-size: 12px; color: var(--text-sub); margin: 6px 0 16px; }
.ticket__status {
  margin: 14px 0; padding: 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; line-height: 1.5;
  background: rgba(11, 47, 107, .08); color: var(--brand-deep, #0b2f6b);
}
.ticket__status.is-warn { background: rgba(214, 64, 58, .1); color: #d6403a; }

/* ---- 降级与无障碍 ---- */
@media (prefers-reduced-motion: reduce) {
  .qcard, .grid-item__icon { transition: none; }
}
