/* ============================================================
   走野旅行 ZOUYE TRAVEL · 官网样式
   设计基调：深蓝冷调 / 纸感浅色卡片 / 金色点缀 / 大圆角胶囊
   ============================================================ */

:root {
  --navy: #16222f;
  --navy-2: #1d2b3a;
  --ink: #22303f;
  --muted: #6b7686;
  --gold: #b98a2f;
  --gold-soft: #e8c88a;
  --paper: #f6f4ec;
  --card: #ffffff;
  --line: #e7e2d6;
  --shadow: 0 10px 30px rgba(22, 34, 47, 0.08);
  --radius: 18px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fbfaf6;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============ 顶部导航 ============ */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}
.site-head .bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-head.solid,
.site-head.at-top-inverse {
  background: rgba(22, 34, 47, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(10, 18, 27, 0.25);
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(10, 18, 27, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.brand .brand-txt { display: flex; align-items: baseline; gap: 12px; }
.brand .zh {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 4px;
}
.brand .en {
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0.75;
}
.nav { display: flex; gap: 6px; flex: 1; }
.nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  opacity: 0.85;
  transition: all 0.2s ease;
}
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }
.nav a.active { opacity: 1; background: rgba(255, 255, 255, 0.16); font-weight: 600; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: inherit;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.14); }

/* 购物车按钮：白色简约 */
.icon-btn.cart-btn {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.icon-btn.cart-btn:hover { background: #f2efe6; }
.icon-btn .badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.head-cta {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: filter 0.2s ease;
}
.head-cta:hover { filter: brightness(1.08); }
.menu-toggle { display: none; }

/* 移动端抽屉 */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 78vw; max-width: 340px;
  z-index: 130;
  background: var(--navy);
  color: #fff;
  padding: 24px;
  transform: translateX(105%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column; gap: 6px;
}
.drawer.open { transform: translateX(0); }
.drawer a { padding: 14px 12px; border-radius: 12px; font-size: 17px; }
.drawer a.active { background: rgba(255, 255, 255, 0.12); }
.drawer .close { align-self: flex-end; font-size: 26px; padding: 6px 10px; }
.drawer-mask {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(10, 18, 27, 0.5);
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.drawer-mask.open { opacity: 1; visibility: visible; }

/* ============ Hero（首页） ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero .bg {
  position: absolute; inset: 0;
  background: url("../img/splash-1.jpg") center 30% / cover no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero .mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 34, 0.55) 0%, rgba(16, 24, 34, 0.35) 45%, rgba(16, 24, 34, 0.82) 100%);
}
.hero .inner { position: relative; z-index: 2; padding: 140px 0 90px; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.hero .eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold-soft); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 700;
  letter-spacing: 8px;
  line-height: 1.25;
}
.hero .sub {
  margin-top: 18px;
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
}
.hero .actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.2s ease;
}
.btn.primary { background: var(--gold); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.dark { background: var(--navy-2); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.65); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn.paper { background: var(--paper); color: var(--navy); }
.btn.small { height: 42px; padding: 0 22px; font-size: 14px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ============ 区块 ============ */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head .kicker {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: 3px;
  color: var(--navy);
}
.section-head .more { color: var(--gold); font-size: 14px; white-space: nowrap; padding-bottom: 6px; }
.section.dark { background: var(--navy); color: #fff; }
.section.dark .section-head h2 { color: #fff; }
.section.dark .section-head .kicker { color: var(--gold-soft); }

.grid { display: grid; gap: 24px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .head-cta { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 560px) {
  .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* ============ 卡片 ============ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 34, 47, 0.14); }

/* 封面（无图时用品牌渐变 + 大字） */
.cover {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cover .glyph {
  font-family: var(--serif);
  font-size: 84px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 6px 24px rgba(10, 18, 27, 0.35);
  letter-spacing: 6px;
}
.cover.tone-0 { background: linear-gradient(135deg, #22384f 0%, #40607e 55%, #7d97ad 100%); }
.cover.tone-1 { background: linear-gradient(135deg, #2c3a4d 0%, #5d6f80 55%, #a8b4b8 100%); }
.cover.tone-2 { background: linear-gradient(135deg, #1f3140 0%, #3d5a63 55%, #86a69c 100%); }
.cover.tone-3 { background: linear-gradient(135deg, #33404f 0%, #6a7688 55%, #b9a98f 100%); }
.cover.tone-4 { background: linear-gradient(135deg, #26313e 0%, #4a5d70 55%, #90a3ad 100%); }
.cover .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .tags { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
/* 产品类型标识：与标题同行左侧，淡金胶囊（比促销红标浅、比普通标签深） */
.gtype-tag {
  display: inline-block;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  background: rgba(240, 222, 178, 0.95);
  color: #7a5c1a;
}
.card .title.gtype-title { display: flex; align-items: center; gap: 9px; }
.gtype-title .tt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(22, 34, 47, 0.55);
  color: #fff;
  font-size: 12px;
  backdrop-filter: blur(6px);
}
.card .body { padding: 20px 22px 22px; }
.card .title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 1px;
}
.card .sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.card .meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; }
.card .price { color: var(--gold); font-size: 22px; font-weight: 700; }
.card .price small { font-size: 12px; font-weight: 500; color: var(--muted); margin-right: 2px; }
.card .days { color: var(--muted); font-size: 13px; }

/* ============ 通用页头（内页） ============ */
.page-hero {
  position: relative;
  padding: 150px 0 60px;
  color: #fff;
  background: linear-gradient(160deg, #1a2938 0%, #22384f 60%, #33506b 100%);
}
.page-hero .crumbs { font-size: 13px; opacity: 0.7; margin-bottom: 14px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); letter-spacing: 4px; }
.page-hero p { margin-top: 12px; opacity: 0.85; letter-spacing: 2px; }

/* ============ 筛选 ============ */
.filter-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 28px 0 8px; }
.search-box {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  height: 48px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0 20px;
  gap: 10px;
}
.search-box input { flex: 1; border: none; outline: none; background: none; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--gold); color: var(--navy); }
.chip.active { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }

/* ============ 详情页 ============ */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 20px; }
.panel h3 {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}
.itin { width: 100%; border-collapse: collapse; font-size: 14px; }
.itin th, .itin td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.itin th { color: var(--muted); font-weight: 500; white-space: nowrap; }
.itin td.day { color: var(--gold); font-weight: 700; white-space: nowrap; }
/* 散拼团班期：日期 + 周几出发 + 状态 + 余机位 */
.sched-list { display: flex; flex-direction: column; gap: 10px; }
.sched-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .15s ease, background .15s ease;
}
.sched-row:hover { border-color: #d9c79a; }
.sched-row.sel { border-color: var(--gold); background: #fdf8ee; }
.sched-row.dis { opacity: 0.5; }
.sched-row .radio { flex: none; margin: 0; }
.sc-date { font-size: 16px; font-weight: 700; color: #16222f; white-space: nowrap; }
.sc-week { font-size: 13px; color: var(--muted); white-space: nowrap; }
.sc-tag { flex: none; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sc-tag.open { background: #e8f1e9; color: #2f7d4f; }
.sc-tag.guaranteed { background: #f7f0e2; color: #8a6a1f; }
.sc-tag.full { background: #eef1f5; color: #8a97a5; }
.sc-seat { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.sc-price { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--gold); white-space: nowrap; }
.sc-price i { font-style: normal; font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.radio { accent-color: var(--navy-2); }

/* 表单 */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 16px;
  outline: none;
  transition: border 0.2s ease;
}
.field textarea { height: auto; min-height: 90px; padding: 12px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-2); }
.agree-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); margin: 18px 0; }
.agree-row input { margin-top: 3px; }
.agree-row a { color: var(--navy); text-decoration: underline; }

/* ============ AI 页 ============ */
.ai-wrap { max-width: 860px; margin: 0 auto; }
.ai-card {
  background: linear-gradient(160deg, #1a2938, #24384e);
  border-radius: 22px;
  color: #fff;
  padding: 32px;
  box-shadow: var(--shadow);
}
.ai-q { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .ai-q { grid-template-columns: 1fr; } }
.ai-q .field label, .ai-pax .field label { color: rgba(255, 255, 255, 0.7); }
.ai-q input, .ai-q select, .ai-pax input, .ai-pax select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}
.ai-q select option, .ai-pax select option { color: var(--ink); }
.ai-output {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: 18px;
  padding: 26px;
  min-height: 60px;
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 15px;
}
.ai-output .plan-title { display: block; font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
.cursor { display: inline-block; width: 2px; height: 16px; background: var(--gold); animation: blink 0.9s steps(1) infinite; vertical-align: -2px; }
@keyframes blink { 50% { opacity: 0; } }
.match-box {
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.match-box .cap { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 6px; }

/* AI 页：需求回执 / 分录式行程 / 追问条 */
.ai-req { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.ai-req span {
  padding: 4px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 12px;
  letter-spacing: 1px;
}
.ai-steps { margin-top: 6px; }
.ai-steps .step {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.ai-steps .step:last-child { border-bottom: none; }
.ai-steps .d {
  font-family: var(--serif);
  font-weight: 800;
  color: var(--gold);
  min-width: 40px;
}
.ai-intro { margin-bottom: 4px; }
.ai-follow { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ai-follow .chip { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.ai-follow .chip:hover { background: rgba(255, 255, 255, 0.22); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.ai-input {
  flex: 1;
  min-width: 190px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0 18px;
  outline: none;
}
.ai-input::placeholder { color: rgba(255, 255, 255, 0.55); }
.ai-input:focus { border-color: rgba(255, 255, 255, 0.6); }
.ai-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.ai-actions .btn { height: 46px; font-size: 15px; }
.ai-pax { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px) { .ai-pax { gap: 10px; } }

/* ============ 手机端适配（≤600px） ============ */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .site-head .bar { height: 60px; gap: 16px; }
  .brand-logo { width: 32px; height: 32px; }
  .brand .zh { font-size: 21px; letter-spacing: 3px; }
  .brand .en { display: none; }
  .icon-btn { width: 38px; height: 38px; font-size: 16px; }
  .hero { min-height: 76vh; }
  .hero .inner { padding: 120px 0 64px; }
  .hero h1 { letter-spacing: 4px; }
  .hero .sub { letter-spacing: 1px; }
  .page-hero { padding: 108px 0 44px; }
  .page-hero h1 { letter-spacing: 3px; }
  .section { padding: 44px 0; }
  .section.tight { padding: 36px 0; }
  .section-head { margin-bottom: 26px; }
  .panel { padding: 20px 16px; }
  .panel h3 { font-size: 18px; }
  .ai-card { padding: 22px 16px; border-radius: 18px; }
  .ai-output { padding: 16px 14px; font-size: 14px; }
  .ai-output .plan-title { font-size: 17px; }
  .ai-steps .step { font-size: 14px; padding: 9px 0; }
  .profile-head { padding: 20px; gap: 14px; flex-wrap: wrap; }
  .avatar { width: 58px; height: 58px; font-size: 26px; }
  .grid.c3.compact { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .grid.c3.compact .card .body { padding: 14px 8px; }
  .grid.c3.compact .card .body > div:first-child { font-size: 20px; }
  .cart-row { padding: 14px; gap: 10px; flex-wrap: wrap; }
  .cart-row .thumb { width: 52px; height: 52px; font-size: 22px; border-radius: 12px; }
  .cart-row .info { flex: 1 1 calc(100% - 62px - 92px); min-width: 0; }
  .cart-row .name { font-size: 14px; }
  .lead-item { flex-wrap: wrap; gap: 8px; padding: 16px 16px; }
  .lead-item > div:last-child { text-align: left; width: 100%; display: flex; align-items: center; gap: 10px; }
  .detail-grid { gap: 20px; }
  .btn { height: 50px; padding: 0 26px; font-size: 15px; }
  .btn.small { height: 40px; padding: 0 18px; font-size: 13px; }
  .float-contact { right: 14px; bottom: 14px; height: 42px; padding: 0 14px; font-size: 13px; }
  .modal { padding: 22px 18px; }
  .sched-row { padding: 12px 12px; gap: 8px; flex-wrap: wrap; }
  .sc-date { font-size: 15px; }
  .sc-week, .sc-seat, .sc-tag { font-size: 12px; }
  .sc-price { margin-left: auto; }
  .itin { font-size: 13px; }
  .itin th, .itin td { padding: 10px 6px; }
  .search-box { height: 44px; }
  .filter-bar { gap: 10px; }
  .chip { padding: 8px 14px; font-size: 13px; }
  .site-foot .inner { padding: 44px 16px 24px; }
}

/* ============ 购物车 / 结算 ============ */
.cart-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.cart-row .thumb {
  width: 76px; height: 76px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.92);
  font-family: var(--serif);
  font-size: 30px;
}
.cart-row .info { flex: 1; min-width: 0; }
.cart-row .name { font-weight: 600; color: var(--navy); }
.cart-row .price { color: var(--gold); font-weight: 700; margin-top: 4px; }
.qty { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 34px; border: none; background: none; font-size: 17px; color: var(--navy); }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.link-danger { color: #b5432f; font-size: 13px; background: none; border: none; }
.empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty .big { font-size: 44px; margin-bottom: 10px; }
.summary { font-size: 15px; }
.summary .row { display: flex; justify-content: space-between; padding: 10px 0; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 20px; font-weight: 700; color: var(--navy); }
.summary .row.total .v { color: var(--gold); }

/* ============ 我的页 ============ */
.profile-head {
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(150deg, #22384f, #16222f);
  border-radius: 22px;
  color: #fff;
  padding: 30px;
}
.avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #a8935a;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 32px;
  flex-shrink: 0;
}
.lead-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.lead-item .t { font-weight: 600; color: var(--navy); }
.lead-item .m { color: var(--muted); font-size: 13px; margin-top: 4px; }
.status-pill {
  padding: 5px 14px;
  border-radius: 999px;
  background: #fdf3e0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ============ 服务保障 ============ */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .promise { grid-template-columns: repeat(2, 1fr); } }
.promise .p { text-align: center; padding: 10px; }
.promise .ic { font-size: 30px; margin-bottom: 10px; }
.promise .t { font-weight: 600; letter-spacing: 2px; }
.promise .d { font-size: 13px; opacity: 0.72; margin-top: 6px; }

/* 浮层联系管家 */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--navy-2);
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 12px 28px rgba(16, 24, 34, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.float-contact:hover { transform: translateY(-2px); filter: brightness(1.1); }
@media (max-width: 560px) { .float-contact { right: 14px; bottom: 16px; height: 44px; padding: 0 16px; font-size: 13px; } }

/* ============ 账号登录（手机验证码） ============ */
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
}
.auth-card h3 { font-family: var(--serif); color: var(--navy); letter-spacing: 1px; margin: 0 0 6px; }
.auth-card .sub { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.auth-row { display: flex; gap: 10px; }
.auth-row input { flex: 1; }
.auth-code-btn {
  flex-shrink: 0;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 14px;
  cursor: pointer;
}
.auth-code-btn:disabled { opacity: 0.5; cursor: default; }
.auth-msg { color: #b0552f; font-size: 13px; min-height: 18px; margin-top: 8px; }
.auth-ok { color: #3f7a54 !important; }
.auth-tip { color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 12px; }

.order-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.order-item:last-child { border-bottom: none; }
.order-item .t { color: var(--navy); font-weight: 600; font-size: 15px; }
.order-item .m { color: var(--muted); font-size: 12.5px; margin-top: 4px; line-height: 1.7; }
.order-item .right { text-align: right; flex-shrink: 0; }
.status-pill.pending_pay { background: #fdf3e2; color: #a97f24; }
.status-pill.confirmed { background: #e8f3ec; color: #3f7a54; }
.status-pill.completed { background: #eceef1; color: #5b6675; }
.status-pill.cancelled { background: #f7e9e6; color: #b0552f; }

/* ============ Footer ============ */
.site-foot { background: var(--navy); color: rgba(255, 255, 255, 0.82); margin-top: 40px; }
.site-foot .inner {
  max-width: 1180px; margin: 0 auto;
  padding: 60px 24px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) { .site-foot .inner { grid-template-columns: 1fr; gap: 28px; } }
.site-foot .brand .zh { font-size: 30px; }
.site-foot h4 { color: #fff; font-size: 15px; letter-spacing: 3px; margin-bottom: 16px; }
.site-foot a { display: block; padding: 5px 0; font-size: 14px; opacity: 0.85; }
.site-foot a:hover { opacity: 1; color: var(--gold-soft); }
.site-foot .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 12px;
  opacity: 0.55;
  text-align: center;
  letter-spacing: 1px;
}

/* 备案信息条（ICP 合规：页面最底部必须出现备案号，并链接到 beian.miit.gov.cn） */
.legal-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12.5px;
  line-height: 1.9;
  letter-spacing: 0.3px;
  text-align: center;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.legal-bar a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 1px;
}
.legal-bar a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.5); }
.legal-bar .dot { opacity: 0.35; margin: 0 10px; font-style: normal; }
@media (max-width: 760px) {
  .legal-bar { font-size: 11.5px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .legal-bar .dot { display: none; }
  .legal-bar span { display: block; }
}

/* ============ 弹窗 / 提示 ============ */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 18, 27, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow: auto;
  padding: 30px;
  animation: pop 0.25s ease;
}
@keyframes pop { from { transform: translateY(16px); opacity: 0; } }
.modal h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); letter-spacing: 2px; margin-bottom: 20px; }
.modal .close-x {
  float: right;
  border: none; background: none;
  font-size: 22px; color: var(--muted);
  line-height: 1;
}
#toast {
  position: fixed;
  left: 50%; bottom: 48px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(22, 34, 47, 0.94);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 300;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 骨架 */
.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: sk 1.2s ease infinite;
  border-radius: 12px;
  min-height: 200px;
}
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.err-box {
  background: #fdf1ef;
  border: 1px solid #f2cfc9;
  color: #a03c2c;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 14px;
}

/* ---- 封面照片：列表卡 4:3，详情页 3:4 ---- */
.cover.cover-photo { aspect-ratio: 4 / 3; }
.cover.cover-photo.portrait { aspect-ratio: 3 / 4; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- 路线亮点 · 图文 ---- */
.hl-wrap { display: flex; flex-direction: column; gap: 20px; margin-top: 14px; }
/* 产品经理说：独立板块正文（与小程序端 .pm-body 对齐） */
.pm-body { margin-top: 12px; line-height: 2; color: var(--muted); white-space: pre-line; }
.hl-item .hl-t { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.hl-item .hl-p { margin: 0; line-height: 1.9; color: var(--muted); white-space: pre-line; }
.imgstrip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.imgstrip .strip-img { flex: 0 0 auto; width: 190px; height: 250px; object-fit: cover; border-radius: 14px; scroll-snap-align: start; background: #e8e3d6; }

/* ---- 行程住宿 / 行程用车（横向滑动卡片） ---- */
.hstrip { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.hv-card { flex: 0 0 auto; width: 340px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; scroll-snap-align: start; }
.hv-body { padding: 14px 16px 16px; }
.hv-day { display: inline-block; background: #f0e6cf; color: #8a6a1f; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 8px; }
.hv-city { display: block; color: var(--navy); font-size: 16px; }
.hv-note { margin: 6px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.hv-top { display: flex; align-items: center; justify-content: space-between; }
.hv-pax { color: var(--gold); font-weight: 700; font-size: 14px; }

/* 卡片内多图轮播（左右箭头） */
.crs { position: relative; }
.crs-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e8e3d6; }
.crs-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--navy); font-size: 18px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.crs-btn.l { left: 10px; }
.crs-btn.r { right: 10px; }
.crs-n { position: absolute; right: 12px; bottom: 10px; background: rgba(10,18,27,.55); color: #fff; font-size: 11px; padding: 2px 9px; border-radius: 999px; }

@media (max-width: 600px) {
  .hv-card { width: 78vw; }
  .imgstrip .strip-img { width: 44vw; height: 58vw; }
  .crs-img { aspect-ratio: 3 / 2; }
}

/* 图文横滑条不撑破栅格：子项允许收缩 */
.detail-grid > * { min-width: 0; }
.panel > .imgstrip, .panel > .hstrip { max-width: 100%; }

/* 图文横滑条不撑破栅格：子项允许收缩 */
.detail-grid > * { min-width: 0; }
.panel > .imgstrip, .panel > .hstrip { max-width: 100%; }

/* ---- 详情页封面图集轮播 ---- */
.cover.cg .cg-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--navy); font-size: 19px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); z-index: 2; }
.cover.cg .cg-btn.l { left: 12px; }
.cover.cg .cg-btn.r { right: 12px; }
.cg-count { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(10,18,27,.5); color: #fff; font-size: 12px; letter-spacing: 1px; padding: 3px 14px; border-radius: 999px; z-index: 2; }

/* ---- 每日行程 · 行程详情 ---- */
.dd-hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0 4px; }
.dd-item { margin-top: 22px; }
/* 相邻两天之间的分隔线：第一天之前、最后一天之后都不出现（与小程序端规则一致） */
.dd-item + .dd-item { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.dd-item .dd-title { font-weight: 700; color: var(--navy); font-size: 17px; line-height: 1.6; }
.dd-item .dd-intro { margin: 8px 0 0; color: var(--muted); line-height: 1.9; white-space: pre-line; }
.dd-sche { margin-top: 16px; }
.dd-sche-head { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); cursor: pointer; }
.dd-sche-head b { color: var(--navy); font-size: 15px; }
.dd-toggle { color: var(--gold); font-size: 20px; font-weight: 700; line-height: 1; padding: 0 6px; }
.dd-sche-body { margin-top: 10px; color: var(--muted); line-height: 1.9; white-space: pre-line; }

/* 行程契约与退改条款 */
.pol-hr { border: none; border-top: 1px solid rgba(22,34,47,.14); margin: 6px 0 2px; }
.pol-item { border-bottom: 1px solid rgba(22,34,47,.1); }
.pol-item:last-child { border-bottom: none; }
.pol-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; cursor: pointer; }
.pol-head b { font-size: 15px; color: var(--navy, #16222f); letter-spacing: 1px; }
.pol-toggle { font-size: 22px; color: #b98a2f; line-height: 1; user-select: none; }
.pol-body { padding: 0 2px 16px; font-size: 14px; color: var(--muted, #5b6a7a); line-height: 1.9; white-space: pre-wrap; word-break: break-word; }

/* ---- 商品详情：主图轮播 / 规格 / 富文本 ---- */
.pd-carousel { position: relative; width: 100%; aspect-ratio: 1/1; background: #eef0f2; }
.pd-carousel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chip { padding: 7px 18px; border: 1px solid var(--line, #e6e3d8); border-radius: 999px; background: #fff; font-size: 14px; color: var(--navy, #16222f); cursor: pointer; }
.spec-chip:hover { border-color: #b98a2f; }
.spec-chip.on { border-color: #b98a2f; background: rgba(185,138,47,.1); color: #b98a2f; font-weight: 600; }
/* 组合联动下不可选的选项：置灰禁用 */
.spec-chip.off { opacity: .35; background: #f1efe8; border-style: dashed; cursor: not-allowed; }
.spec-chip.off:hover { border-color: var(--line, #e6e3d8); }
.rich-detail { font-size: 15px; color: #3d4a5a; line-height: 1.95; word-break: break-word; }
.rich-detail img { max-width: 100%; border-radius: 10px; margin: 8px 0; }
.rich-detail h3 { color: var(--navy, #16222f); margin: 14px 0 6px; }
.rich-detail ul { padding-left: 22px; }

.spec-line { font-size: 12px; color: #8a97a5; margin-top: 2px; }

/* 商品参数表 */
.param-table .param-row { display: flex; align-items: baseline; gap: 24px; padding: 10px 2px; border-bottom: 1px solid rgba(22,34,47,.08); }
.param-table .param-row:last-child { border-bottom: none; }
.param-table .pk { flex: 0 0 160px; font-size: 14px; color: var(--muted, #8a94a6); }
.param-table .pv { flex: 1; font-size: 14px; color: var(--navy, #16222f); font-weight: 500; word-break: break-word; }

.notice-list .notice-item { font-size: 14px; color: #3d4a5a; line-height: 2; padding: 4px 0; }

/* 商品卡主图：铺满封面区，保持渐变底色兜底 */
.cover .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* 购物车缩略主图 */
.cart-row .thumb { overflow: hidden; }
.cart-row .thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- 简约线性图标（替代 emoji）---- */
svg.zy-ic { vertical-align: -3px; }
.empty .big { color: #b98a2f; }
.empty .big svg { display: block; margin: 0 auto 6px; }
.promise .ic { color: #b98a2f; }
.promise .ic svg { display: block; margin: 0 auto; }
.cust-ic { color: #b98a2f; }
.cust-ic svg { display: block; }
.meta-line svg.zy-ic { vertical-align: -4px; margin-right: 3px; color: #b98a2f; }

/* 线路详情主图：横幅 16:9，不再撑满竖版 */
.cover.cg { aspect-ratio: 16 / 9; }

/* 订单页 */
.otabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.otab { padding: 9px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: 14px; cursor: pointer; letter-spacing: 1px; }
.otab:hover { border-color: #b98a2f; }
.otab.on { background: var(--navy); color: #f6f4ec; border-color: var(--navy); }
.otab .n { opacity: .65; font-size: 12px; margin-left: 4px; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-bottom: 16px; }
.order-card.flash { outline: 2px solid var(--gold); outline-offset: 2px; }
.oc-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.oc-head .no { font-size: 13px; color: var(--muted); letter-spacing: .5px; }
.oc-head .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.status-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; background: rgba(185,138,47,.12); color: #b98a2f; }
.status-pill.completed { background: rgba(46,110,76,.12); color: #2e6e4c; }
.status-pill.cancelled { background: rgba(120,130,140,.14); color: #78828c; }
.status-pill.pending_pay { background: rgba(185,138,47,.12); color: #b98a2f; }
.status-pill.confirmed { background: rgba(29,84,140,.12); color: #1d548c; }
.oc-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.oc-item + .oc-item { border-top: 1px dashed var(--line); }
.oc-thumb { flex-shrink: 0; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #f0ede3; display: flex; align-items: center; justify-content: center; color: #b98a2f; text-decoration: none; }
.oc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oc-item .t { color: var(--navy); font-weight: 600; font-size: 15px; }
.oc-item .m { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.oc-item .p { margin-left: auto; color: var(--navy); font-weight: 600; white-space: nowrap; }
.oc-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed var(--line); margin-top: 4px; }
.oc-foot .sum { color: var(--muted); font-size: 13.5px; }
.oc-foot .sum b { color: var(--gold); font-size: 18px; }
.oc-foot .ops { margin-left: auto; display: flex; gap: 10px; }

/* hidden 属性优先级修复：防止 .grid{display:grid} 等覆盖导致面板无法隐藏 */
[hidden] { display: none !important; }

/* 「我的」常用入口：统一纸感浅底，悬停/按下变深蓝 */
.chip-entry { background: var(--paper); color: var(--navy); border: 1px solid var(--line); transition: background .18s ease, color .18s ease, border-color .18s ease; }
.chip-entry:hover, .chip-entry:active { background: var(--navy); color: #f6f4ec; border-color: var(--navy); }

/* ===== 旅行案例筛选（原 cases.html 迁入 ai.html，样式上收公共层） ===== */
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cat-chip {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line, #e5e0d2);
  background: #fff; cursor: pointer; font-size: 14px; color: var(--ink, #1d2b3a);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.cat-chip:hover { border-color: var(--navy, #1d2b3a); }
.cat-chip.on { background: var(--navy, #1d2b3a); border-color: var(--navy, #1d2b3a); color: #fff; font-weight: 600; }
.count-row { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 4px; font-size: 13px; color: var(--muted, #6b7a86); }
.count-clear { color: var(--gold, #b98a2f); font-weight: 600; cursor: pointer; }
.end-note { text-align: center; color: var(--muted, #6b7a86); font-size: 13px; margin-top: 34px; }
/* 案例区与上方 AI 规划区之间的分隔：细描边 + 留白，明确「先规划、后参考」的层级 */
.cases-block { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line, #e5e0d2); }
@media (max-width: 760px) {
  .cat-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .cat-chip { flex: none; }
  .cases-block { margin-top: 40px; padding-top: 32px; }
}
/* 场景标签渲染成 <a> 时去掉下划线，保持胶囊观感 */
a.cat-chip { text-decoration: none; }
a.cat-chip:hover, a.cat-chip:active { background: var(--navy, #1d2b3a); color: #f6f4ec; border-color: var(--navy, #1d2b3a); }

/* 案例引导区底部按钮（「查看全部案例」→ cases.html）：与小程序同款深蓝胶囊 */
.cases-cta {
  display: block; width: fit-content; margin: 34px auto 0; padding: 13px 44px;
  border-radius: 999px; background: var(--navy, #1d2b3a); color: #f6f4ec;
  font-size: 15px; font-weight: 600; letter-spacing: 2px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(29, 43, 58, 0.18);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cases-cta:hover { background: #16222e; box-shadow: 0 10px 26px rgba(29, 43, 58, 0.24); }
.cases-cta:active { transform: translateY(1px); box-shadow: 0 4px 12px rgba(29, 43, 58, 0.16); }
@media (max-width: 760px) {
  .cases-cta { width: 100%; max-width: 340px; padding: 13px 0; text-align: center; }
}

/* 案例分区锚点：避开固定顶栏 */
#cases { scroll-margin-top: 86px; }

/* ===== 近期可出发：首页横滑条 + 全部团期页（数据来自 tour_schedules） ===== */
/* 标题下的说明行：与 section-head 贴紧一点，别把卡片推太远 */
.depart-sub { margin-top: -10px; }
.depart-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.depart-card {
  display: block;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line, #e5e0d2);
  text-decoration: none;
  color: var(--ink, #1d2b3a);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.depart-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 43, 58, 0.24);
  box-shadow: 0 14px 28px rgba(29, 43, 58, 0.10);
}
.depart-card:active { transform: translateY(0); box-shadow: 0 6px 14px rgba(29, 43, 58, 0.08); }
.dc-top { display: flex; align-items: center; gap: 10px; }
.dc-date { display: inline-flex; align-items: baseline; gap: 5px; color: var(--navy, #1d2b3a); }
.dc-date b { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -1px; }
.dc-date i { font-style: normal; font-size: 13px; color: var(--muted, #6b7a86); }
.dc-week { font-size: 12.5px; color: var(--muted, #6b7a86); }
.dc-tag {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(29, 43, 58, 0.07);
  color: var(--navy, #1d2b3a);
  font-size: 11.5px;
  white-space: nowrap;
}
.dc-tag.guaranteed { background: rgba(185, 138, 47, 0.16); color: #8d6613; }
.dc-tag.full { background: rgba(168, 50, 50, 0.10); color: #a83232; }
.dc-tag.closed { background: #f0f0ed; color: #8a94a6; }
.dc-title {
  margin-top: 14px;
  min-height: 46px;
  color: var(--navy, #1d2b3a);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dc-meta { margin-top: 6px; font-size: 12.5px; color: var(--muted, #6b7a86); }
.dc-foot { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.dc-seat { font-size: 12.5px; color: var(--muted, #6b7a86); }
.dc-price { margin-left: auto; color: var(--gold, #b98a2f); font-size: 19px; font-weight: 600; white-space: nowrap; }
.dc-price i { font-style: normal; font-size: 11.5px; font-weight: 400; color: var(--muted, #6b7a86); }
/* 全部团期页：月份标签切换后，一个月一块纵向列表（手机上不横滑，方便逐条看） */
.depart-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
/* 月份标签：只写月份（当月几个团期由下方小结行给出，标签里不再挂数字） */
@media (max-width: 960px) {
  .depart-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depart-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  /* 手机上回到横滑条：与小程序首页同一手感，卡片不被压扁 */
  .depart-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .depart-card { flex: 0 0 78%; scroll-snap-align: start; }
  .depart-list { grid-template-columns: 1fr; }
  .depart-list .depart-card { flex: none; }
}

/* ---- 会员身份标签（v0.27.3）----
   后台「会员列表 → 编辑身份」写入，官网个人中心昵称后展示；
   配色与小程序 .id-tag 对齐：认证领队 深墨+金边 / 种草官 米金 / 其他 浅灰蓝 */
.m-idtag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 5px;
  font-family: var(--sans, -apple-system, "PingFang SC", sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: 18px;
  vertical-align: 3px;
  white-space: nowrap;
}
.m-idtag.leader {
  background: linear-gradient(135deg, #24384c 0%, #16232f 100%);
  color: #f2dcae;
  border: 1px solid rgba(185, 138, 47, 0.55);
}
.m-idtag.creator {
  background: linear-gradient(135deg, #fdf3e2 0%, #f6e3c3 100%);
  color: #8a5e1b;
  border: 1px solid rgba(185, 138, 47, 0.34);
}
.m-idtag.other {
  background: #eef2f7;
  color: #46586a;
  border: 1px solid #dce4ee;
}

/* 会员等级徽章（官网「我的」昵称后，v0.30.1）
   与小程序 .lv-tag 同一套色：银 / 金 / 黑金；普通会员不渲染。
   排在身份标签后面，字号更小一点，避免抢昵称。 */
.m-lvtag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  font-family: var(--sans, -apple-system, "PingFang SC", sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 18px;
  vertical-align: 3px;
  white-space: nowrap;
}
.m-lvtag.silver {
  background: linear-gradient(135deg, #f4f7fa 0%, #e4ebf3 100%);
  color: #4b5c70;
  border: 1px solid #cfd9e5;
}
.m-lvtag.gold {
  background: linear-gradient(135deg, #fdf5e4 0%, #f5e3bd 100%);
  color: #8a6a1f;
  border: 1px solid rgba(185, 138, 47, 0.42);
}
.m-lvtag.black {
  background: linear-gradient(135deg, #24384c 0%, #16232f 100%);
  color: #f2dcae;
  border: 1px solid rgba(185, 138, 47, 0.66);
}
