* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: #eef1f6; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #1f2733; font-size: 14px; line-height: 1.6;
}
[v-cloak] { display: none; }
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #f6f8fc; position: relative; overflow-x: hidden; }
.boot { padding: 60px 20px; text-align: center; color: #97a1b1; font-size: 13px; }

/* ---------- 首页 ---------- */
.hero {
  background: linear-gradient(150deg, #2b6ef2 0%, #1b4dbb 55%, #123a92 100%);
  color: #fff; padding: 22px 20px 66px; border-radius: 0 0 22px 22px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255,255,255,.12);
}
.hero::before {
  content: ""; position: absolute; right: 30px; bottom: -70px; width: 150px; height: 150px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.hero-top { display: flex; align-items: center; gap: 10px; }
.hero-logo {
  width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.hero-name { font-size: 15px; font-weight: 600; }
.hero-title { font-size: 24px; font-weight: 700; margin: 18px 0 8px; line-height: 1.35; letter-spacing: .5px; }
.hero-sub { font-size: 13px; opacity: .9; }
.hero-stats { display: flex; gap: 26px; margin-top: 20px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 19px; }
.hero-stats span { font-size: 11.5px; opacity: .8; }
.hero-btn {
  position: absolute; right: 20px; bottom: 18px; background: #fff; color: #1b4dbb;
  border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 20px rgba(8,25,60,.28);
}

.notice-wrap { margin: -46px 16px 0; position: relative; z-index: 2; }
.notice-wrap .van-notice-bar { border-radius: 12px; background: #fff8e8; color: #b26a00; box-shadow: 0 6px 18px rgba(24,42,80,.08); }

.section { margin: 18px 16px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.sec-title { font-size: 17px; font-weight: 700; }
.sec-sub { font-size: 12px; color: #97a1b1; }

.flow { background: #fff; border-radius: 14px; padding: 6px 14px; }
.flow-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed #eef1f6; font-size: 13.5px; }
.flow-item:last-child { border-bottom: 0; }
.flow-item i {
  width: 20px; height: 20px; border-radius: 50%; background: #eaf1ff; color: #2b6ef2;
  font-style: normal; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 20px;
}

.pkg {
  background: #fff; border-radius: 16px; padding: 16px; margin-bottom: 12px; position: relative;
  border: 1px solid #eaeef6; box-shadow: 0 8px 22px rgba(23,44,86,.05);
}
.pkg.rec { border-color: #2b6ef2; box-shadow: 0 10px 26px rgba(43,110,242,.16); }
.pkg-head { display: flex; align-items: flex-start; justify-content: space-between; }
.pkg-name { font-size: 16.5px; font-weight: 700; }
.badge {
  display: inline-block; margin-left: 6px; background: linear-gradient(135deg,#ff7a45,#fe2c55);
  color: #fff; font-size: 10.5px; padding: 2px 7px; border-radius: 6px; vertical-align: 2px; font-weight: 600;
}
.pkg-price { color: #e4574d; font-weight: 700; font-size: 20px; white-space: nowrap; }
.pkg-price small { font-size: 11.5px; color: #a8b2c2; text-decoration: line-through; font-weight: 400; margin-left: 4px; }
.pkg-sub { color: #7f8b9e; font-size: 12.5px; margin-top: 4px; }
.pkg-plats { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; }
.pkg-plats span { color: #fff; font-size: 11.5px; padding: 3px 9px; border-radius: 7px; }
.pkg-benefits { margin-bottom: 14px; }
.pkg-benefits div { font-size: 12.5px; color: #5b6678; line-height: 1.9; }
.pkg-benefits div::before { content: "✓ "; color: #12a461; font-weight: 700; }

.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.plat-item { background: #fff; border-radius: 12px; padding: 12px 6px; text-align: center; border: 1px solid #eef1f6; }
.plat-dot { width: 30px; height: 30px; border-radius: 9px; margin: 0 auto 6px; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.plat-item span { font-size: 11.5px; color: #5b6678; }

.footer { padding: 26px 20px 90px; text-align: center; color: #a0aab9; font-size: 11.5px; line-height: 1.9; }

/* ---------- 表单 ---------- */
.page-nav { position: sticky; top: 0; z-index: 20; }
.form-block { margin: 12px 12px 0; }
.form-title { font-size: 12.5px; color: #97a1b1; margin: 0 4px 8px; }
.form-card { background: #fff; border-radius: 14px; overflow: hidden; }
.map-picker {
  height: 130px; border-radius: 12px; background: #eef4ff; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 4px; color: #2b6ef2; margin: 10px 0 4px;
  border: 1px dashed #b9d0ff; font-size: 13px;
}
.map-picker .addr { color: #5b6678; font-size: 12px; padding: 0 12px; text-align: center; }
.map-full { position: fixed; inset: 0; z-index: 999; background: #fff; display: flex; flex-direction: column; }
.map-box { flex: 1; position: relative; }
#tmap { position: absolute; inset: 0; }
.map-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 5; pointer-events: none;
  font-size: 30px; color: #e4574d; text-shadow: 0 3px 8px rgba(0,0,0,.25);
}
.map-tip { background: #fff; padding: 8px 12px; font-size: 12px; color: #7f8b9e; border-bottom: 1px solid #eef1f6; }
.map-foot { padding: 12px 16px 20px; background: #fff; border-top: 1px solid #eef1f6; }
.map-foot .addr-line { font-size: 13px; margin-bottom: 10px; min-height: 22px; }

.uploader-row { padding: 12px 12px; }
.up-tile {
  width: 84px; height: 84px; border-radius: 10px; background: #f4f6fb; border: 1px dashed #d5dced;
  display: flex; align-items: center; justify-content: center; flex-direction: column; color: #97a1b1; font-size: 11px; gap: 2px;
}

.submit-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px;
  background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #eef1f6; z-index: 30;
  display: flex; align-items: center; gap: 12px;
}
.submit-bar .sum { flex: 1; }
.submit-bar .sum b { color: #e4574d; font-size: 20px; }
.submit-bar .sum span { font-size: 11.5px; color: #97a1b1; display: block; }

/* ---------- 订单 ---------- */
.order-card { background: #fff; border-radius: 14px; margin: 12px 12px 0; padding: 14px; }
.order-top { display: flex; justify-content: space-between; align-items: center; }
.order-store { font-size: 15.5px; font-weight: 600; }
.order-no { font-size: 11px; color: #a8b2c2; margin-top: 2px; }
.order-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12.5px; color: #7f8b9e; }
.order-plats { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.order-plats .p { font-size: 11px; padding: 2px 8px; border-radius: 6px; color: #fff; }
.progress-line { height: 6px; background: #eef1f6; border-radius: 6px; margin-top: 10px; overflow: hidden; }
.progress-line i { display: block; height: 100%; background: linear-gradient(90deg,#6fa0ff,#2b6ef2); border-radius: 6px; }

.tabs-line { display: flex; gap: 8px; padding: 10px 12px 0; }
.tabs-line span { padding: 6px 14px; background: #fff; border-radius: 999px; font-size: 13px; color: #5b6678; }
.tabs-line span.on { background: #2b6ef2; color: #fff; font-weight: 600; }

.detail-hero { background: linear-gradient(150deg,#2b6ef2,#1b4dbb); color: #fff; padding: 16px 18px 20px; }
.detail-hero .s { font-size: 19px; font-weight: 700; }
.detail-hero .n { font-size: 12px; opacity: .85; margin-top: 4px; }
.detail-hero .st { display: inline-block; margin-top: 10px; background: rgba(255,255,255,.2); padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.task-line { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #eef1f6; }
.task-line:last-child { border-bottom: 0; }
.task-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.task-name { flex: 1; font-size: 13.5px; }
.task-status { font-size: 12px; }
.kvline { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13px; border-bottom: 1px dashed #eef1f6; }
.kvline:last-child { border-bottom: 0; }
.kvline .k { color: #8b96a8; }
.kvline .v { color: #1f2733; text-align: right; max-width: 65%; }

.timeline { padding-left: 6px; }
.tl-item { position: relative; padding: 0 0 14px 16px; border-left: 2px solid #eef1f6; }
.tl-item:last-child { border-left-color: transparent; }
.tl-item::before { content: ""; position: absolute; left: -5px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: #c9d4e5; }
.tl-item:first-child::before { background: #2b6ef2; }
.tl-item .t { font-size: 11.5px; color: #a8b2c2; }
.tl-item .c { font-size: 13px; }

.pay-box { background: #fff; border-radius: 14px; margin: 12px; padding: 16px; text-align: center; }
.pay-box img { width: 180px; height: 180px; object-fit: contain; margin: 8px auto; display: block; border-radius: 8px; }

.my-head {
  background: linear-gradient(150deg,#2b6ef2,#1b4dbb); color: #fff; padding: 26px 20px 54px;
  border-radius: 0 0 20px 20px;
}
.my-user { display: flex; align-items: center; gap: 12px; }
.my-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; overflow: hidden; }
.my-avatar img { width: 100%; height: 100%; object-fit: cover; }
.my-name { font-size: 17px; font-weight: 600; }
.my-sub { font-size: 12px; opacity: .85; }
.my-stats { display: flex; justify-content: space-around; margin-top: 18px; }
.my-stats div { text-align: center; }
.my-stats b { font-size: 20px; display: block; }
.my-stats span { font-size: 11.5px; opacity: .85; }
.my-cards { margin: -36px 12px 0; }

.empty-box { text-align: center; padding: 70px 20px; color: #a8b2c2; font-size: 13px; }
.empty-box .ico { font-size: 40px; opacity: .35; margin-bottom: 10px; }

.price-line { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fff; border-radius: 12px; font-size: 13.5px; }
.price-line b { color: #e4574d; font-size: 18px; }