/* ============================================================
   短视频IP孵化服务包 - 共享样式
   设计语言：品牌红橙渐变 + 深海军蓝主视觉 + 金色点缀
   ============================================================ */
:root {
  --brand: #FF4D3A;
  --brand-2: #FF6B4A;
  --gradient: linear-gradient(135deg, #FF4D3A 0%, #FF6B4A 100%);
  --gradient-soft: linear-gradient(135deg, #FFF0ED 0%, #FFF7F4 100%);
  --dark: #1A1A2E;
  --dark-2: #0F3460;
  --gold: #FFD166;
  --text: #1A1A2E;
  --text-2: #666677;
  --text-3: #9999AA;
  --bg: #F4F5F9;
  --card: #FFFFFF;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(26, 26, 46, 0.08);
  --shadow-brand: 0 8px 24px rgba(255, 77, 58, 0.35);
  --wx: #07C160;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(160deg, #E8E9F0 0%, #F4F5F9 40%, #EDEEF5 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
}

/* 手机壳容器：桌面居中显示，移动端全屏 */
.app-shell {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  height: 100vh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 520px) {
  body { padding: 24px 0; }
  .app-shell {
    border-radius: 36px;
    box-shadow: 0 30px 80px rgba(15, 52, 96, 0.25), 0 0 0 10px rgba(255,255,255,.6);
    height: min(900px, calc(100vh - 48px));
  }
}

/* ---------- 状态栏 ---------- */
.statusbar {
  height: 40px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 600;
  color: #1A1A2E;
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}
.statusbar .s-icons { display: flex; align-items: center; gap: 5px; }
.statusbar .s-icons span { font-size: 11px; }

/* ---------- 导航栏 ---------- */
.navbar {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 20;
  border-bottom: 1px solid rgba(26,26,46,0.04);
}
.navbar .nav-back {
  position: absolute; left: 10px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  color: #1A1A2E;
  font-size: 24px;
  transition: background .2s;
}
.navbar .nav-back:hover { background: rgba(26,26,46,0.06); }
.navbar .nav-title { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.navbar .nav-right {
  position: absolute; right: 10px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  font-size: 19px;
  transition: background .2s;
}
.navbar .nav-right:hover { background: rgba(26,26,46,0.06); }

/* 页面滚动区 */
.page { flex: 1; overflow-y: auto; position: relative; scroll-behavior: smooth; }
.page::-webkit-scrollbar { display: none; }
.page-pad { height: 90px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  margin: 14px 16px;
  padding: 18px 18px;
  box-shadow: var(--shadow);
  animation: rise .5s ease both;
}
.card:nth-child(2) { animation-delay: .05s; }
.card:nth-child(3) { animation-delay: .1s; }
.card:nth-child(4) { animation-delay: .15s; }
.card:nth-child(5) { animation-delay: .2s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.sec-title {
  display: flex; align-items: center;
  font-size: 16px; font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.sec-title .bar {
  width: 5px; height: 18px;
  background: var(--gradient);
  border-radius: 3px;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(255,77,58,.4);
}
.sec-title .sub { font-size: 12px; color: var(--text-3); font-weight: 400; margin-left: 8px; }

/* ---------- 通用按钮 ---------- */
.btn-primary {
  display: block;
  height: 50px; line-height: 50px;
  text-align: center;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 16px; font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: transform .15s, box-shadow .2s, filter .2s;
  position: relative;
  overflow: hidden;
}
.btn-primary:active { transform: scale(.97); filter: brightness(.95); }
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: translateX(-100%);
  transition: transform .6s;
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  display: block;
  height: 50px; line-height: 48px;
  text-align: center;
  background: #fff;
  color: var(--text-2);
  border: 1.5px solid #E4E5EC;
  border-radius: 25px;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn-ghost:active { transform: scale(.97); border-color: var(--brand); color: var(--brand); }

/* ============================================================
   商品详情页
   ============================================================ */
.hero {
  position: relative;
  height: 340px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(255, 209, 102, .28) 0%, transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 77, 58, .25) 0%, transparent 40%),
    linear-gradient(140deg, #12122B 0%, #1A1A2E 45%, #0F3460 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 209, 102, .15);
  top: -80px; right: -60px;
}
.hero::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .08);
  bottom: -60px; left: -40px;
}
.hero .badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255, 209, 102, .15);
  border: 1px solid rgba(255, 209, 102, .4);
  color: var(--gold);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  backdrop-filter: blur(6px);
}
.hero .slogans { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero .sl {
  color: rgba(255, 209, 102, .95);
  font-size: 14px;
  margin: 6px 0;
  letter-spacing: 3px;
  opacity: 0;
  animation: fadeSlide .6s ease forwards;
}
.hero .sl:nth-child(1) { animation-delay: .1s; }
.hero .sl:nth-child(2) { animation-delay: .22s; }
.hero .sl:nth-child(3) { animation-delay: .34s; }
.hero .sl:nth-child(4) { animation-delay: .46s; }
.hero .sl-main {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-delay: .6s;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
}

/* 商品信息卡 */
.goods-card { margin-top: -26px; position: relative; z-index: 5; }
.goods-card h2 { font-size: 18px; font-weight: 700; line-height: 1.5; }
.goods-card .sub {
  font-size: 13px; color: var(--text-2);
  margin-top: 8px;
  display: flex; align-items: center; gap: 6px;
}
.goods-card .sub::before {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand);
}
.goods-card .price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #EEEEF3;
}
.price { color: var(--brand); font-size: 30px; font-weight: 800; }
.price .yen { font-size: 20px; }
.sales { color: var(--text-3); font-size: 12px; }
.sales b { color: var(--text-2); font-weight: 600; }

/* 痛点 */
.pain { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #F5F5F8; }
.pain:last-child { border: none; }
.pain .n {
  width: 24px; height: 24px; line-height: 24px;
  text-align: center;
  background: var(--gradient-soft);
  color: var(--brand);
  border-radius: 8px;
  font-size: 12px; font-weight: 700;
  margin-right: 12px; flex-shrink: 0;
}
.pain .t { font-size: 14px; color: #3A3A4E; }
.pain .t.hl { font-weight: 600; color: var(--text); }

/* 服务流程时间线 */
.flow { display: flex; }
.flow .fl { width: 22px; display: flex; flex-direction: column; align-items: center; }
.flow .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(255,77,58,.12);
  margin-top: 6px;
}
.flow .line { width: 2px; flex: 1; background: linear-gradient(180deg, #FFD9D2, #FFEBE6); margin: 4px 0; }
.flow .fr { flex: 1; padding: 0 0 18px 14px; }
.flow .fn { font-size: 14.5px; font-weight: 700; color: var(--text); display: flex; align-items: center; }
.flow .fn .step {
  font-size: 10px; font-weight: 600;
  color: var(--brand);
  background: var(--gradient-soft);
  border-radius: 10px;
  padding: 1px 8px;
  margin-left: 8px;
  letter-spacing: 1px;
}
.flow .fd { font-size: 12.5px; color: var(--text-3); margin-top: 5px; line-height: 1.6; }

/* 服务内容网格 */
.svc { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.svc .cell {
  width: 33.33%;
  padding: 8px 6px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.svc .ic {
  width: 46px; height: 46px; line-height: 46px;
  text-align: center;
  background: var(--gradient-soft);
  border-radius: 14px;
  font-size: 22px;
  margin-bottom: 8px;
  transition: transform .25s;
}
.svc .cell:hover .ic { transform: translateY(-4px) scale(1.05); }
.svc .sn { font-size: 13px; font-weight: 600; color: var(--text); }
.svc .sd { font-size: 11px; color: var(--text-3); margin-top: 3px; line-height: 1.4; }

/* 为什么选择我们 */
.why { display: flex; align-items: center; }
.why .it { flex: 1; text-align: center; padding: 12px 0; }
.why .num {
  font-size: 32px; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.why .lab { display: block; font-size: 12.5px; color: var(--text-2); margin-top: 5px; }
.why .dv { width: 1px; height: 52px; background: linear-gradient(180deg, transparent, #E8E8F0, transparent); }

/* 服务展示 */
.show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.show-grid .si {
  height: 118px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #FFE3D8, #FFF1EC 55%, #FFE9E0);
  display: flex; align-items: center; justify-content: center;
  color: #C96A52; font-size: 13px; font-weight: 600;
  position: relative; overflow: hidden;
  transition: transform .25s;
  cursor: pointer;
}
.show-grid .si:hover { transform: translateY(-3px); }
.show-grid .si::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.5), transparent 50%);
}

/* 底部操作栏 */
.bottom-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 74px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(26,26,46,.05);
  display: flex; align-items: center;
  padding: 0 14px;
  z-index: 50;
  box-shadow: 0 -6px 24px rgba(26,26,46,.06);
}
.bottom-bar .item {
  width: 62px;
  display: flex; flex-direction: column; align-items: center;
  font-size: 10px; color: var(--text-2);
  cursor: pointer;
  transition: color .2s;
}
.bottom-bar .item:hover { color: var(--brand); }
.bottom-bar .item .i { font-size: 19px; margin-bottom: 3px; }
.bottom-bar .buy {
  flex: 1;
  height: 48px; line-height: 48px;
  text-align: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 24px;
  font-size: 16px; font-weight: 700;
  letter-spacing: 3px;
  cursor: pointer;
  margin-left: 10px;
  box-shadow: var(--shadow-brand);
  transition: transform .15s, filter .2s;
}
.bottom-bar .buy:active { transform: scale(.97); filter: brightness(.95); }

/* ============================================================
   确认订单页
   ============================================================ */
.addr-card { cursor: pointer; position: relative; overflow: hidden; }
.addr-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gradient);
}
.addr-card .addr-info { padding-left: 10px; }
.addr-card .l1 { display: flex; align-items: center; }
.addr-card .nm { font-size: 16px; font-weight: 700; margin-right: 12px; }
.addr-card .mb { font-size: 14px; color: var(--text-2); }
.addr-card .l2 { display: flex; align-items: center; margin-top: 7px; font-size: 13px; color: var(--text-2); }
.addr-card .tag {
  font-size: 10px; color: var(--brand);
  border: 1px solid rgba(255,77,58,.4);
  background: var(--gradient-soft);
  border-radius: 4px; padding: 1px 6px;
  margin-right: 8px; flex-shrink: 0; font-weight: 600;
}
.addr-card .empty { display: flex; align-items: center; font-size: 15px; color: var(--text-2); font-weight: 500; }
.addr-card .empty .loc { font-size: 20px; margin-right: 10px; }
.addr-card .ar { color: #C6C7D4; font-size: 22px; margin-left: 8px; transition: transform .2s; }
.addr-card:hover .ar { transform: translateX(3px); }

/* 商品行 */
.gitem { display: flex; }
.gthumb {
  width: 84px; height: 84px;
  border-radius: 14px;
  background: linear-gradient(140deg, #1A1A2E, #0F3460);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  flex-shrink: 0;
  position: relative; overflow: hidden;
}
.gthumb::after {
  content: '';
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,209,102,.25), transparent 70%);
  top: -10px; right: -10px;
}
.ginfo { flex: 1; margin-left: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.gname { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.5; }
.gsub { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.gbottom { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.gprice { color: var(--brand); font-size: 17px; font-weight: 800; }
.gnum { color: var(--text-3); font-size: 13px; }

/* 金额明细 */
.arow { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14px; color: var(--text-2); }
.arow:not(:last-child) { border-bottom: 1px dashed #F0F0F5; }
.arow .v { color: var(--text); font-weight: 600; }
.arow .v.coupon { color: var(--text-3); font-weight: 400; }
.arow .coin-box { display: flex; flex-direction: column; align-items: flex-end; }
.arow .ct { font-size: 11px; color: #E8A013; margin-top: 3px; background: #FFF8E8; padding: 2px 8px; border-radius: 10px; }

/* 开关 */
.switch { position: relative; width: 46px; height: 26px; border-radius: 13px; background: #E2E3EC; cursor: pointer; transition: background .25s; flex-shrink: 0; }
.switch::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  transition: transform .25s;
}
.switch.on { background: var(--gradient); }
.switch.on::after { transform: translateX(20px); }

/* 支付方式 */
.payrow { display: flex; align-items: center; padding: 12px 0; cursor: pointer; }
.payrow .pi {
  width: 32px; height: 32px; line-height: 32px;
  text-align: center;
  border-radius: 9px;
  background: var(--wx);
  color: #fff;
  font-size: 16px; font-weight: 800;
  margin-right: 12px;
  box-shadow: 0 4px 10px rgba(7,193,96,.3);
}
.payrow .pn { font-size: 15px; font-weight: 600; color: var(--text); }
.payrow .ps { font-size: 12px; color: var(--text-3); margin-left: 8px; }
.radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #D8D9E2;
  margin-left: auto;
  position: relative;
  transition: all .2s;
}
.radio.on { border-color: var(--brand); }
.radio.on::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: var(--gradient);
}

/* 底部结算 */
.pay-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 74px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(26,26,46,.05);
  display: flex; align-items: center;
  padding: 0 16px;
  z-index: 50;
}
.pay-bar .tl { flex: 1; font-size: 13px; color: var(--text-2); }
.pay-bar .tp { font-size: 22px; font-weight: 800; color: var(--brand); margin-left: 4px; }
.pay-bar .go {
  width: 150px; height: 48px; line-height: 48px;
  text-align: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 24px;
  font-size: 16px; font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: transform .15s;
}
.pay-bar .go:active { transform: scale(.97); }

/* ============================================================
   编辑地址页
   ============================================================ */
.form-card { padding: 0 18px; }
.frow { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid #F2F2F7; }
.frow:last-child { border: none; }
.frow .lab { width: 92px; font-size: 14px; color: var(--text); font-weight: 500; flex-shrink: 0; }
.frow input {
  flex: 1; border: none; outline: none;
  font-size: 14px; height: 54px;
  background: transparent;
  color: var(--text);
}
.frow input::placeholder { color: #C0C1CE; }
.frow .val { flex: 1; font-size: 14px; color: var(--text); cursor: pointer; }
.frow .val.ph { color: #C0C1CE; }
.frow .ar { color: #C6C7D4; font-size: 20px; }
.frow .switch { margin-left: auto; }

/* ============================================================
   收银台
   ============================================================ */
.cashier-hero {
  background: linear-gradient(150deg, #FF4D3A 0%, #FF7A55 60%, #FF9A6B 100%);
  padding: 38px 0 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 12px 30px rgba(255,77,58,.25);
}
.cashier-hero::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  top: -70px; right: -50px;
}
.cashier-hero::after {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  bottom: -40px; left: -30px;
}
.cashier-hero .al { color: rgba(255,255,255,.9); font-size: 13px; letter-spacing: 2px; }
.cashier-hero .am {
  color: #fff;
  font-size: 46px; font-weight: 800;
  margin-top: 10px;
  text-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.cashier-hero .am .yen { font-size: 26px; }
.cashier-hero .on {
  color: rgba(255,255,255,.85);
  font-size: 11px; margin-top: 10px;
  background: rgba(255,255,255,.15);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

/* 二维码 */
.qr-box { display: flex; flex-direction: column; align-items: center; padding: 24px; }
.qr-box .qt { font-size: 14.5px; font-weight: 600; color: var(--text); }
.qr-box .q {
  width: 232px; height: 232px;
  background: #fff;
  border-radius: 16px;
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: inset 0 0 0 1px #F0F0F5, 0 8px 24px rgba(26,26,46,.06);
  animation: pulse 2.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: inset 0 0 0 1px #F0F0F5, 0 8px 24px rgba(26,26,46,.06); }
  50% { box-shadow: inset 0 0 0 2px rgba(255,77,58,.25), 0 8px 28px rgba(255,77,58,.12); }
}
.qr-box .q svg, .qr-box .q img { width: 210px; height: 210px; border-radius: 6px; }
.qr-box .qt2 { font-size: 13px; color: var(--text-3); margin-top: 16px; }
.qr-box .qt2 b { color: var(--brand); font-weight: 700; }

.countdown { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 4px; }
.countdown b { color: var(--brand); font-weight: 700; }

/* ============================================================
   支付结果
   ============================================================ */
.result-page { display: flex; flex-direction: column; align-items: center; padding-top: 80px; }
.result-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 46px; color: #fff;
  box-shadow: 0 14px 30px rgba(7,193,96,.35);
  animation: pop .5s cubic-bezier(.2,1.4,.4,1) both;
}
.result-icon.ok { background: linear-gradient(140deg, #07C160, #0AD276); }
.result-icon.fail { background: linear-gradient(140deg, #FF4D3A, #FF6B4A); box-shadow: 0 14px 30px rgba(255,77,58,.35); }
@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.result-title { font-size: 21px; font-weight: 800; margin-top: 22px; }
.result-amount { font-size: 34px; font-weight: 800; color: var(--text); margin-top: 10px; }
.result-order { font-size: 12px; color: var(--text-3); margin-top: 8px; background: #F2F3F8; padding: 6px 14px; border-radius: 16px; }
.result-tip {
  width: 300px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.8;
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--gradient-soft);
  border-radius: 16px;
  border: 1px solid rgba(255,77,58,.08);
}
.result-btns {
  position: absolute; left: 16px; right: 16px; bottom: 40px;
  display: flex; gap: 12px;
}
.result-btns .btn-ghost, .result-btns .btn-primary { flex: 1; }

/* ============================================================
   弹窗 / 遮罩
   ============================================================ */
.mask {
  position: absolute; inset: 0;
  background: rgba(10, 10, 30, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.popup {
  width: 86%;
  max-width: 340px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  animation: popIn .35s cubic-bezier(.2,1.3,.4,1);
  box-shadow: 0 30px 60px rgba(10,10,30,.35);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.popup .ph {
  height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  position: relative;
  background: linear-gradient(180deg, #FFF8F6, #fff);
  border-bottom: 1px solid #F5F0EE;
}
.popup .x {
  position: absolute; right: 16px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s;
}
.popup .x:hover { background: #F2F3F8; }
.popup .pb { padding: 22px 24px 26px; }

/* 绑定表单 */
.bind-row { display: flex; align-items: center; height: 52px; border-bottom: 1.5px solid #F0F0F5; margin-bottom: 6px; }
.bind-row .lab { width: 66px; font-size: 14px; color: var(--text); font-weight: 500; flex-shrink: 0; }
.bind-row input {
  flex: 1; border: none; outline: none;
  font-size: 14px; height: 100%;
  background: transparent;
  color: var(--text);
}
.bind-row input::placeholder { color: #C0C1CE; }
.code-btn {
  font-size: 13px; color: var(--brand); font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding-left: 12px;
  border-left: 1px solid #F0F0F5;
  transition: opacity .2s;
}
.code-btn.disabled { color: #BDBFCE; cursor: default; }
.bind-tip { color: var(--brand); font-size: 12px; margin: 10px 0 2px; min-height: 16px; }
.bind-tip.ok { color: #07C160; }
.popup .confirm-btn {
  height: 48px; line-height: 48px;
  text-align: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 24px;
  font-size: 15px; font-weight: 700;
  letter-spacing: 3px;
  cursor: pointer;
  margin-top: 18px;
  box-shadow: var(--shadow-brand);
  transition: transform .15s;
}
.popup .confirm-btn:active { transform: scale(.97); }
.popup .skip { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 14px; cursor: pointer; }

/* 客服弹窗 */
.service-qr {
  width: 190px; height: 190px;
  margin: 4px auto 0;
  background: #F6F7FA;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #B0B2C0;
  font-size: 13px;
  border: 1px dashed #E2E3EC;
}
.wechat-no {
  text-align: center;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  margin-top: 16px;
}
.wechat-no span { color: var(--brand); letter-spacing: 1px; }
.copy-tip { text-align: center; font-size: 11px; color: var(--text-3); margin-top: 6px; }

/* 省市区选择弹窗 */
.region-list { max-height: 320px; overflow-y: auto; }
.region-list::-webkit-scrollbar { display: none; }
.region-item {
  padding: 14px 4px;
  border-bottom: 1px solid #F5F5F8;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: color .15s;
}
.region-item:hover { color: var(--brand); }
.region-item .ck { color: var(--brand); font-weight: 700; }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: absolute;
  left: 50%; top: 45%;
  transform: translate(-50%, -50%);
  background: rgba(20, 20, 40, .88);
  color: #fff;
  font-size: 13.5px;
  padding: 14px 24px;
  border-radius: 12px;
  z-index: 200;
  animation: toastIn .3s ease;
  backdrop-filter: blur(10px);
  max-width: 80%;
  text-align: center;
  line-height: 1.5;
}
.toast.ok { background: rgba(7, 193, 96, .92); }
.toast.err { background: rgba(255, 77, 58, .92); }
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, -40%) scale(.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* 加载占位 */
.loading {
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  padding: 40px 0;
}
.spinner {
  width: 28px; height: 28px;
  margin: 0 auto 12px;
  border: 3px solid #EDEEF4;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
