
    :root {
      --primary: #ff8f6b;
      --secondary: #ffe8e0;
      --bg: #faf8f5;
      --text: #333;
      --muted: #888;
      --white: #fff;
      --border: #f0ebe6;
      --success: #52c41a;
      --r: 16px;
    }
    * { box-sizing: border-box; margin: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
      background: #e8e4e0;
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
    }

    .stage {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 32px 24px;
      margin-right: 280px;
      transition: margin-right .28s ease;
    }
    body.panel-collapsed .stage { margin-right: 44px; }

    /* 右侧固定面板：标题 + 步骤 */
    .right-panel {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 280px;
      background: var(--white);
      border-left: 1px solid var(--border);
      box-shadow: -4px 0 24px rgba(0, 0, 0, .06);
      z-index: 100;
      display: flex;
      transition: transform .28s ease;
    }
    .right-panel.collapsed { transform: translateX(236px); }

    .panel-toggle {
      position: absolute;
      left: -36px;
      top: 50%;
      transform: translateY(-50%);
      width: 36px;
      height: 72px;
      background: var(--white);
      border: 1px solid var(--border);
      border-right: none;
      border-radius: 12px 0 0 12px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 14px;
      box-shadow: -2px 0 8px rgba(0, 0, 0, .04);
      transition: background .15s;
    }
    .panel-toggle:hover { background: var(--secondary); }

    .panel-inner {
      flex: 1;
      overflow-y: auto;
      padding: 20px 14px 24px;
    }

    .header {
      padding-bottom: 16px;
      margin-bottom: 16px;
      border-bottom: 1px solid var(--border);
    }
    .header h1 { font-size: 15px; margin-bottom: 6px; line-height: 1.45; }
    .header p { font-size: 11px; color: var(--muted); line-height: 1.55; }

    .panel-inner h2 {
      font-size: 13px;
      color: var(--muted);
      font-weight: 600;
      margin-bottom: 10px;
      padding: 0 4px;
    }
    .step {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      width: 100%;
      padding: 10px 8px;
      margin-bottom: 4px;
      border: none;
      background: none;
      border-radius: 12px;
      cursor: pointer;
      text-align: left;
      transition: background .15s;
    }
    .step:hover { background: var(--bg); }
    .step.active { background: var(--secondary); }
    .step-num {
      width: 22px; height: 22px; flex-shrink: 0;
      background: var(--border); color: var(--muted);
      border-radius: 50%; font-size: 11px; font-weight: 700;
      display: flex; align-items: center; justify-content: center;
    }
    .step.active .step-num { background: var(--primary); color: var(--white); }
    .step-text { font-size: 12px; line-height: 1.4; }
    .step-text b { display: block; font-size: 13px; }
    .step-text span { color: var(--muted); font-size: 11px; }

    .flow-tip {
      margin-top: 16px;
      padding: 12px;
      background: var(--bg);
      border-radius: 12px;
      font-size: 11px;
      color: var(--muted);
      line-height: 1.7;
    }
    .flow-tip strong { color: var(--primary); }

    .screen-meta {
      text-align: center;
      margin-bottom: 14px;
    }
    .screen-meta h3 { font-size: 15px; margin-bottom: 4px; }
    .screen-meta p { font-size: 12px; color: var(--muted); }

    .phone {
      width: 320px;
      height: 640px;
      background: var(--bg);
      border-radius: 36px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,.18);
      display: flex;
      flex-direction: column;
      position: relative;
    }
    .phone-bar {
      height: 40px; padding: 10px 20px 0;
      display: flex; justify-content: space-between;
      font-size: 12px; font-weight: 600; flex-shrink: 0;
    }
    .phone-nav {
      height: 44px; display: flex; align-items: center; justify-content: center;
      position: relative; font-size: 15px; font-weight: 600; flex-shrink: 0;
    }
    .phone-nav .back {
      position: absolute; left: 6px; width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; border-radius: 10px; font-size: 18px; border: none; background: none;
    }
    .phone-nav .back:hover { background: var(--secondary); }
    .phone-nav .nav-link {
      position: absolute; right: 12px; font-size: 13px;
      color: var(--primary); cursor: pointer; border: none; background: none; font-weight: 500;
    }
    .phone-nav .wx-capsule,
    .dur-nav .wx-capsule {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      width: 87px;
      height: 32px;
      display: block;
      flex-shrink: 0;
      pointer-events: none;
    }
    .phone-body {
      flex: 1; overflow-y: auto; position: relative;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .phone-body::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
    }
    .view { display: none; min-height: 100%; }
    .view.active { display: block; }

    /* 组件 */
    .tabs { display: flex; border-bottom: 1px solid var(--border); background: var(--white); }
    .tab {
      flex: 1; padding: 12px 4px; text-align: center; color: var(--muted);
      cursor: pointer; border: none; background: none; font-size: 13px;
    }
    .tab.on { color: var(--primary); font-weight: 600; position: relative; }
    .tab.on::after {
      content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
      width: 24px; height: 3px; background: var(--primary); border-radius: 2px;
    }
    .bal-card {
      margin: 14px; padding: 24px 18px; text-align: center;
      background: linear-gradient(135deg, var(--primary), #ffb08f);
      border-radius: 24px; color: var(--white);
    }
    .bal-card .num { font-size: 44px; font-weight: 700; line-height: 1; }
    .bal-card .unit { font-size: 13px; opacity: .9; margin: 6px 0 18px; }
    .bal-btns { display: flex; gap: 10px; }
    .bal-btns button {
      flex: 1; padding: 11px; border-radius: var(--r); font-size: 13px; font-weight: 600;
      cursor: pointer; border: none;
    }
    .btn-w { background: var(--white); color: var(--primary); }
    .btn-ow { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.85) !important; }

    .list { padding: 0 14px 20px; }
    .li {
      display: flex; align-items: center; gap: 10px;
      padding: 14px 0; border-bottom: 1px solid var(--border);
    }
    .li-ico {
      width: 38px; height: 38px; border-radius: 12px; background: var(--secondary);
      display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
    }
    .li-main { flex: 1; }
    .li-title { font-size: 14px; font-weight: 500; }
    .li-time { font-size: 11px; color: var(--muted); margin-top: 2px; }
    .li-amt { font-size: 14px; font-weight: 600; }
    .li-amt.plus { color: var(--success); }

    .stabs {
      display: flex;
      gap: 0;
      padding: 0;
      background: var(--white);
      border-bottom: 1px solid #f0f0f0;
    }
    .stab {
      flex: 1;
      min-width: 0;
      padding: 12px 4px 11px;
      border: none;
      background: none;
      font-size: 11px;
      color: var(--muted);
      cursor: pointer;
      white-space: nowrap;
      text-align: center;
      position: relative;
    }
    .stab.on {
      color: var(--primary);
      font-weight: 600;
    }
    .stab.on::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 28px;
      height: 3px;
      background: var(--primary);
      border-radius: 2px;
    }

    .gcard {
      margin: 10px 14px; padding: 14px; background: var(--white);
      border-radius: var(--r); box-shadow: 0 2px 10px rgba(0,0,0,.04);
    }
    .gcard-head { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
    .gbox {
      width: 42px; height: 42px; background: var(--secondary); border-radius: 12px;
      display: flex; align-items: center; justify-content: center; font-size: 18px;
    }
    .gmsg {
      padding: 10px 12px; background: var(--bg); border-radius: var(--r);
      font-size: 13px; color: var(--muted); margin-bottom: 10px;
    }
    .gmeta { font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 10px; }
    .grow { display: flex; gap: 8px; }
    .grow button {
      flex: 1; padding: 9px; border-radius: var(--r); font-size: 12px; cursor: pointer;
    }
    .b-out { border: 1px solid var(--primary); color: var(--primary); background: var(--white); }
    .b-fill { border: none; background: var(--primary); color: var(--white); }

    .hero { text-align: center; padding: 24px 16px 16px; }
    .hero-box {
      width: 88px; height: 88px; margin: 0 auto 14px;
      background: var(--secondary); border-radius: 22px;
      display: flex; align-items: center; justify-content: center; font-size: 36px;
    }
    .hero-num { font-size: 28px; font-weight: 700; color: var(--primary); }

    .fields { margin: 0 14px 20px; background: var(--white); border-radius: var(--r); }
    .frow {
      display: flex; justify-content: space-between; align-items: center;
      padding: 14px; border-bottom: 1px solid var(--border); font-size: 13px;
    }
    .frow:last-child { border-bottom: none; }
    .fl { color: var(--muted); }
    .fcopy {
      padding: 3px 10px; background: var(--secondary); color: var(--primary);
      border-radius: 8px; font-size: 11px; border: none; cursor: pointer; margin-left: 6px;
    }

    .sec { margin: 14px; }
    .sec-t { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
    .tip { padding: 10px 14px; background: var(--secondary); border-radius: var(--r); font-size: 13px; margin-bottom: 14px; }
    .tip b { color: var(--primary); }
    .ogrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
    .oc {
      padding: 16px 6px; text-align: center; background: var(--white);
      border: 2px solid var(--border); border-radius: var(--r); cursor: pointer;
    }
    .oc.on { border-color: var(--primary); background: var(--secondary); }
    .oc .m { font-size: 20px; font-weight: 700; }
    .oc .u { font-size: 11px; color: var(--muted); }
    .inp, .ta {
      width: 100%; padding: 12px 14px; border: 2px solid var(--border);
      border-radius: var(--r); font-size: 14px; outline: none; font-family: inherit;
    }
    .inp { margin-top: 10px; }
    .ta { min-height: 72px; resize: none; margin-top: 8px; }
    .inp:focus, .ta:focus { border-color: var(--primary); }

    .pkg {
      margin: 0 14px 10px; padding: 16px; display: flex; justify-content: space-between;
      align-items: center; background: var(--white); border: 2px solid var(--border);
      border-radius: var(--r); cursor: pointer;
    }
    .pkg.on { border-color: var(--primary); background: var(--secondary); }
    .pkg .p { font-size: 18px; font-weight: 700; color: var(--primary); }
    .tog { display: flex; gap: 10px; margin: 0 14px 14px; }
    .tog button {
      flex: 1; padding: 12px; border: 2px solid var(--border); border-radius: var(--r);
      background: var(--white); font-size: 13px; cursor: pointer;
    }
    .tog button.on { border-color: var(--primary); background: var(--secondary); color: var(--primary); font-weight: 600; }

    .quote {
      margin: 14px; padding: 16px; background: var(--white);
      border-left: 4px solid var(--primary); border-radius: 0 var(--r) var(--r) 0;
      font-size: 13px; color: var(--muted); font-style: italic;
    }
    .shares { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; padding: 14px; text-align: center; }
    .shares div { font-size: 11px; color: var(--muted); }
    .shares span {
      display: flex; width: 44px; height: 44px; margin: 0 auto 6px;
      background: var(--secondary); border-radius: 50%; align-items: center; justify-content: center;
      cursor: pointer; font-size: 18px;
    }
    .alink {
      display: block; text-align: center; color: var(--primary); font-size: 13px;
      padding: 8px; cursor: pointer; border: none; background: none; width: 100%;
    }

    .foot {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 10px 14px 24px; background: var(--white); border-top: 1px solid var(--border);
      display: flex; gap: 10px; align-items: center; z-index: 5;
    }
    .foot .bp {
      flex: 1; padding: 13px; background: var(--primary); color: var(--white);
      border: none; border-radius: var(--r); font-size: 15px; font-weight: 600; cursor: pointer;
    }
    .foot .bo {
      flex: 1; padding: 13px; border: 1.5px solid var(--primary); color: var(--primary);
      background: var(--white); border-radius: var(--r); font-size: 15px; font-weight: 600; cursor: pointer;
    }
    .foot .pr .l { font-size: 11px; color: var(--muted); }
    .foot .pr .v { font-size: 20px; font-weight: 700; color: var(--primary); }

    .modal {
      display: none; position: absolute; inset: 0; background: rgba(0,0,0,.45);
      align-items: center; justify-content: center; padding: 20px; z-index: 20;
    }
    .modal.show { display: flex; }
    .mbox {
      background: var(--white); border-radius: 24px; padding: 24px 20px; text-align: center; width: 100%;
    }
    .mbox h4 { font-size: 17px; margin: 12px 0 10px; }
    .mbox p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
    .mbox .ma { display: flex; gap: 10px; }
    .mbox .ma button {
      flex: 1; padding: 12px; border-radius: var(--r); font-size: 14px; border: none; cursor: pointer;
    }
    .mc { background: var(--bg); color: var(--muted); }
    .mok { background: var(--primary); color: var(--white); font-weight: 600; }

    .pb { padding-bottom: 80px; }

    .toast {
      position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
      background: rgba(0,0,0,.78); color: var(--white); padding: 14px 28px;
      border-radius: var(--r); font-size: 14px; z-index: 999; opacity: 0;
      pointer-events: none; transition: opacity .25s;
    }
    .toast.on { opacity: 1; }

    @media (max-width: 720px) {
      .stage {
        margin-right: 0;
        padding: 20px 16px 100px;
        justify-content: flex-start;
        padding-top: 24px;
      }
      body.panel-collapsed .stage { margin-right: 0; padding-bottom: 72px; }
      .right-panel {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        max-height: 55vh;
        border-left: none;
        border-top: 1px solid var(--border);
        transform: translateY(0);
      }
      .right-panel.collapsed { transform: translateY(calc(100% - 48px)); }
      .panel-toggle {
        left: 50%;
        top: -36px;
        transform: translateX(-50%);
        width: 72px;
        height: 36px;
        border: 1px solid var(--border);
        border-bottom: none;
        border-radius: 12px 12px 0 0;
      }
      .panel-inner { padding: 12px 14px 20px; }
      .header h1 { font-size: 14px; }
      .step-text span { display: none; }
      .phone { width: min(320px, 92vw); height: 560px; }
    }
  
a.step { text-decoration: none; color: inherit; }
.steps-nav { display: flex; flex-direction: column; }
.phone-nav a.back, .phone-nav a.nav-link { text-decoration: none; color: inherit; }
.bal-btns a { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.grow a { text-decoration: none; display: flex; align-items: center; justify-content: center; }
.foot a.bp { text-decoration: none; display: flex; align-items: center; justify-content: center; }
.alink { text-decoration: none; }

.welcome {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100%; padding: 40px 24px; text-align: center;
}
.welcome-icon {
  width: 88px; height: 88px; border-radius: 24px; background: var(--secondary);
  display: flex; align-items: center; justify-content: center; font-size: 40px; margin-bottom: 20px;
}
.welcome h2 { font-size: 22px; margin-bottom: 8px; }
.welcome .sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.welcome-hint { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.welcome-btn {
  display: inline-block; padding: 13px 24px; background: var(--primary); color: var(--white);
  border-radius: var(--r); font-size: 14px; font-weight: 600; text-decoration: none;
}
.welcome-btn:hover { opacity: .92; }
.welcome-links { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 220px; }
.welcome-links a { font-size: 13px; color: var(--primary); text-decoration: none; }

/* ========== 首页3月1日 · 阿昕陪伴 ========== */
.home-phone {
  --home-orange: #ff8e58;
  --home-bg: #f8f8f8;
  --home-text: #333;
  --home-sub: #666;
  --home-meta: #999;
  position: relative;
}
.home-phone .phone-bar {
  height: 44px;
  padding: 14px 20px 0;
  background: transparent;
  color: #333;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.home-phone .phone-body {
  padding-bottom: 72px;
  background: var(--home-bg);
  margin-top: -44px;
}
.home-top {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 248, 248, 0) 72%, #f8f8f8 100%),
    linear-gradient(90deg, #fff1e8 1%, #fff9f5 100%);
  padding: 44px 16px 12px;
}
.home-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 12px;
  position: relative;
  z-index: 2;
}
.home-appbar .title {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.3px;
}
.home-appbar .wx-capsule {
  width: 87px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.home-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.home-subbar .service {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.home-subbar .service-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}
.home-subbar .time-left {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  white-space: nowrap;
}
.home-subbar .time-label {
  color: #999;
  font-size: 12px;
  line-height: 1;
}
.home-subbar .time-left b {
  color: #ff8e58;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.home-subbar .time-chevron {
  width: 10px;
  height: 10px;
  color: #ccc;
  flex-shrink: 0;
  align-self: center;
  margin-left: 1px;
}

.home-hero-block {
  position: relative;
  min-height: 104px;
  margin-bottom: 0;
  padding-bottom: 0;
}
.home-hero-pattern {
  position: absolute;
  left: -16px;
  bottom: -8px;
  width: calc(100% + 32px);
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.home-hero-mascot {
  position: absolute;
  right: -4px;
  bottom: -6px;
  width: 118px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}
.home-hero-head {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 10px;
}
.home-hero-head h1 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.48;
  color: #333;
  letter-spacing: 0.2px;
}
.home-hero-head .sub {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1;
  color: #999;
}

.home-chat-card {
  position: relative;
  z-index: 3;
  background: #fff;
  border-radius: 20px;
  padding: 14px 14px 12px;
  margin-top: -16px;
  margin-bottom: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.home-seg {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.home-seg button {
  flex: 1;
  position: relative;
  border: none;
  padding: 10px 8px 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 22px;
  cursor: pointer;
  background: #fff3eb;
  color: #ff8e58;
  line-height: 1;
}
.home-seg button.on {
  background: #ff8e58;
  color: #fff;
}
.home-seg button.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #ff8e58;
}
.home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.home-tag {
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  line-height: 1;
  border: none;
  cursor: pointer;
}
.home-tag.green { background: #e9f7ee; color: #45a862; }
.home-tag.orange { background: #fff0e6; color: #ff8e58; }
.home-input-wrap {
  position: relative;
  border: 1px solid #ededed;
  border-radius: 14px;
  background: #fafafa;
  padding: 12px 12px 50px;
  min-height: 108px;
}
.home-input {
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 13px;
  background: transparent;
  outline: none;
  resize: none;
  font-family: inherit;
  color: #666;
  display: block;
}
.home-input::placeholder { color: #ccc; }
.home-cta {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 16px 9px 12px;
  border: none;
  border-radius: 999px;
  background: #ff8e58;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}
.home-cta-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.home-banner-wrap {
  position: relative;
  margin: 0 0 12px;
}
.home-banner-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 12px;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}
.home-banner-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.home-banner-track::-webkit-scrollbar { display: none; }
.home-banner-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 96px;
  border-radius: 12px;
  position: relative;
  padding: 14px 16px;
  overflow: hidden;
  box-sizing: border-box;
}
.home-banner-slide--1 {
  background: linear-gradient(105deg, #d4ebff 0%, #b8dcff 55%, #9fd0ff 100%);
}
.home-banner-slide--2 {
  background: linear-gradient(105deg, #ffe8d6 0%, #ffd4b8 55%, #ffc9a3 100%);
}
.home-banner-slide--3 {
  background: linear-gradient(105deg, #e4f5ea 0%, #ccebd8 55%, #b8e0c8 100%);
}
.home-banner-slide .txt {
  color: #2c5a7a;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.home-banner-slide--2 .txt { color: #8a4a20; }
.home-banner-slide--2 .subtxt { color: #a66a3a; }
.home-banner-slide--3 .txt { color: #2a6b45; }
.home-banner-slide--3 .subtxt { color: #4a8560; }
.home-banner-slide .subtxt {
  color: #5a8099;
  font-size: 11px;
  line-height: 1.45;
  max-width: 62%;
  position: relative;
  z-index: 1;
}
.home-banner-slide .silhouette {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 88px;
  height: 80px;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.1));
  border-radius: 44px 44px 0 0;
}
.home-banner-slide .silhouette--warm {
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,.12));
}
.home-banner-slide .silhouette--soft {
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.1));
}
.home-banner-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}
.home-banner-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  display: block;
  pointer-events: auto;
  cursor: pointer;
  transition: width .2s, background .2s;
}
.home-banner-dots i.on {
  background: #ff8e58;
  width: 14px;
  border-radius: 3px;
}

.home-section { padding: 0 16px 14px; }

.sec-title-img {
  margin: 0;
  line-height: 0;
}
.sec-title-img img {
  display: block;
  height: 26px;
  width: auto;
}
.home-section-activity > .sec-title-img {
  margin-bottom: 12px;
}
.home-section-hd .sec-title-img {
  flex-shrink: 0;
}

/* —— 活动区块 —— */
.home-section-activity {
  padding-top: 4px;
}
.home-act-panel {
  background: #eaf4ee;
  border-radius: 20px;
  padding: 16px 14px 14px;
}
.home-act-panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px;
}
.home-act-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 600;
  color: #45c07a;
  line-height: 1;
}
.home-act-tag-bar {
  width: 3px;
  height: 14px;
  border-radius: 1.5px;
  background: #45c07a;
  flex-shrink: 0;
}
.home-act-more {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 12px;
  color: #aaa;
  text-decoration: none;
}
.home-act-more::after {
  content: "▸";
  font-size: 11px;
  color: #ccc;
  margin-left: 1px;
}
.home-act-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -2px;
  padding: 0 2px 2px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}
.home-act-scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.home-act-scroll::-webkit-scrollbar { display: none; }
.home-act-card {
  flex: 0 0 calc(100% - 34px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #fff;
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.home-act-card .act-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #1f1f1f;
}
.home-act-card .act-divider {
  height: 0;
  border: none;
  border-top: 1px dashed #e8e8e8;
  margin: 10px 0 8px;
}
.home-act-card .act-time {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1;
  color: #999;
}
.home-act-card .act-foot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.home-act-card .act-thumb {
  width: 92px;
  height: 68px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}
.home-act-card .act-loc {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  flex: 1;
  font-size: 11px;
  line-height: 1.4;
  color: #666;
}
.home-act-card .act-pin {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #777;
}

.home-section-hd {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.home-section-hd a { font-size: 12px; color: var(--home-meta); text-decoration: none; }

/* —— 公益资讯 —— */
.home-section-news .home-section-hd {
  align-items: flex-end;
  margin-bottom: 12px;
}
.home-news-more {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: #aaa;
  text-decoration: none;
  flex-shrink: 0;
  padding-bottom: 2px;
}
.home-news-more::after {
  content: "▸";
  font-size: 11px;
  color: #ccc;
  margin-left: 1px;
}
.home-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-news-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.home-news-card .thumb {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}
.home-news-card .info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 76px;
}
.home-news-card .t {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #1f1f1f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-news-card .d {
  margin: 0;
  font-size: 11px;
  line-height: 1;
  color: #999;
}

.home-scroll-x {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.home-scroll-x::-webkit-scrollbar { display: none; }

.home-post {
  background: var(--white); border-radius: 12px; padding: 14px; margin-bottom: 10px;
  box-shadow: 0 1px 8px rgba(0,0,0,.04);
}
.home-post .pt { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; color: var(--home-text); }
.home-post .user { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.home-post .avatar { width: 22px; height: 22px; border-radius: 50%; background: #eee; }
.home-post .name { font-size: 11px; color: var(--home-meta); }
.home-post .excerpt { font-size: 12px; color: var(--home-sub); line-height: 1.6; margin-bottom: 10px; }
.home-post .excerpt a { color: var(--home-orange); text-decoration: none; }
.home-post .pics { display: flex; gap: 8px; margin-bottom: 10px; }
.home-post .pics img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.home-post-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  line-height: 1;
  color: var(--home-meta);
}
.home-post-stats .stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.home-post-stats .stat img {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

/* 浮动底栏：胶囊 Tab + 右侧 FAB */
.home-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  padding: 0 10px 6px;
  pointer-events: none;
}
.home-bottom > * { pointer-events: auto; }

.home-dock {
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-tab-pill {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 24px;
  padding: 6px 10px 5px;
  min-height: 46px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.home-tab-pill .tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  min-width: 0;
  padding: 0;
}

.home-tab-pill .tab-icon {
  display: block;
  width: 20px;
  height: 17px;
  object-fit: contain;
}

.home-tab-pill .tab-label {
  font-size: 9px;
  line-height: 1;
  color: #383838;
}

.home-tab-pill .tab-item.on .tab-label {
  color: #ff8f6b;
  font-weight: 500;
}

.home-fab {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(241, 132, 48, 0.35));
}
.home-fab img {
  width: 100%;
  height: 100%;
  display: block;
}

.home-home-indicator {
  width: 110px;
  height: 4px;
  margin: 6px auto 0;
  background: #2c2c2c;
  border-radius: 2px;
}

/* ========== 我的页面 ========== */
.mine-phone .phone-bar {
  background: transparent;
  color: #333;
  position: relative;
  z-index: 2;
}
.mine-phone .phone-body {
  margin-top: -44px;
}
.mine-head {
  background: url("../assets/home/mine/page-bg@2x.png") no-repeat top center / 100% auto;
  padding: 44px 16px 14px;
}
.mine-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.mine-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.mine-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff6dc 0%, #ffd88a 38%, #f0b84a 100%);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.mine-avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ff8e58;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mine-avatar-edit svg {
  width: 10px;
  height: 10px;
  display: block;
}
.mine-user {
  flex: 1;
  min-width: 0;
}
.mine-name {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mine-user-phone {
  font-size: 11px;
  color: #999;
  line-height: 1;
}
.mine-publish {
  flex-shrink: 0;
  padding: 7px 12px;
  border: none;
  border-radius: 999px;
  background: #ff8e58;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.mine-stats {
  display: flex;
  align-items: stretch;
  position: relative;
  isolation: isolate;
  border-radius: 22px;
  padding: 16px 10px 14px;
  overflow: hidden;
  background-color: rgba(255, 252, 250, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 196, 175, 0.55),
    0 4px 14px rgba(90, 70, 55, 0.06);
}
.mine-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("../assets/home/mine/stats-card-bg@2x.png") no-repeat top center / 100% auto;
  opacity: 0.92;
  pointer-events: none;
  z-index: 0;
}
.mine-stat {
  flex: 1;
  min-width: 0;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 2px;
}
a.mine-stat {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.mine-stat:active {
  opacity: 0.72;
}
.mine-stat-num {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.1;
  margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mine-stat-label {
  display: block;
  font-size: 10px;
  color: #aaa;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mine-tabs {
  display: flex;
  gap: 2px;
  padding: 10px 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mine-tabs::-webkit-scrollbar { display: none; }
.mine-tab {
  flex-shrink: 0;
  border: none;
  background: none;
  padding: 0 6px 10px;
  font-size: 12px;
  color: #999;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.mine-tab.on {
  color: #333;
  font-weight: 600;
}
.mine-tab.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: #ff8e58;
}
.mine-feed {
  padding: 10px 16px 0;
}

/* ========== 剩余时长页（改版） ========== */
.dur-phone .phone-bar {
  background: #fff;
}
.dur-body {
  background: #faf8f5;
}
.dur-phone {
  --dur-primary-tab-h: 44px;
}
.dur-nav {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #fff;
  flex-shrink: 0;
}
.dur-nav .back {
  position: absolute;
  left: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}
.dur-nav-title {
  font-size: 16px;
  font-weight: 600;
}
.dur-nav-more {
  position: absolute;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.dur-tabs {
  display: flex;
  background: transparent;
  border-bottom: 1px solid #f0f0f0;
}
.dur-phone .dur-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #faf8f5;
}
.dur-phone .stabs {
  position: sticky;
  top: var(--dur-primary-tab-h);
  z-index: 4;
  background: #faf8f5;
}
.dur-tab {
  flex: 1;
  padding: 12px 4px 11px;
  border: none;
  background: none;
  font-size: 14px;
  color: #999;
  cursor: pointer;
  position: relative;
}
.dur-tab.on {
  color: #ff8f6b;
  font-weight: 600;
}
.dur-tab.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: #ff8f6b;
  border-radius: 2px;
}

.dur-balance-card {
  margin: 12px 14px;
  padding: 22px 18px 18px;
  background: linear-gradient(180deg, #fff8f4 0%, #fff0e8 100%);
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 2px 12px rgba(192, 80, 45, 0.06);
}
.dur-balance-hd {
  font-size: 13px;
  color: #8a8278;
  margin-bottom: 8px;
}
.dur-balance-num {
  line-height: 1;
  margin-bottom: 18px;
}
.dur-balance-num span {
  font-size: 40px;
  font-weight: 700;
  color: #c0502d;
  letter-spacing: -0.5px;
}
.dur-balance-num em {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: #c0502d;
  margin-left: 2px;
}
.dur-balance-exp {
  font-size: 11px;
  color: #bbb;
  margin-bottom: 16px;
}
.dur-balance-btns {
  display: flex;
  gap: 10px;
}
.dur-btn-fill,
.dur-btn-outline {
  flex: 1;
  padding: 10px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
}
.dur-btn-fill {
  background: #ff8f6b;
  color: #fff;
}
.dur-btn-outline {
  background: #fff;
  color: #ff8f6b;
}

.dur-filters {
  display: flex;
  gap: 10px;
  padding: 0 14px 10px;
}
.dur-filter-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.dur-filter-val {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 13px;
  color: #333;
  font-weight: 500;
}
.dur-filter-val i {
  font-style: normal;
  font-size: 10px;
  color: #ccc;
  flex-shrink: 0;
}

.dur-list-empty {
  padding: 48px 16px;
  text-align: center;
  font-size: 13px;
  color: #999;
  line-height: 1.5;
}

.dur-sheet {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 30;
}
.dur-sheet.show {
  display: block;
}
.dur-sheet-mask {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.dur-sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 8px 0 calc(12px + env(safe-area-inset-bottom, 0));
  max-height: 70%;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dur-sheet-panel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.dur-sheet-hd {
  padding: 14px 16px 10px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-align: center;
  border-bottom: 1px solid #f0ebe6;
}
.dur-sheet-body {
  padding: 0;
}
.dur-sheet-section + .dur-sheet-section {
  border-top: 8px solid #faf8f5;
}
.dur-sheet-section-title {
  padding: 12px 20px 4px;
  font-size: 12px;
  color: #999;
  line-height: 1.4;
}
.dur-sheet-year {
  padding: 12px 20px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  line-height: 1.4;
  background: #faf8f5;
}
.dur-sheet-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.dur-sheet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: none;
  font: inherit;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
}
.dur-sheet-item:active {
  background: #faf8f5;
}
.dur-sheet-item.on {
  color: #ff8f6b;
  font-weight: 600;
}
.dur-sheet-item.on::after {
  content: "✓";
  font-size: 16px;
  color: #ff8f6b;
}
.dur-sheet-list--months .dur-sheet-item {
  padding-left: 28px;
}

/* 年月滚轮选择器 */
.dur-ym-panel {
  padding: 0;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.dur-ym-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 16px 12px;
  background: #fff;
  border-bottom: 1px solid #f0ebe6;
}
.dur-ym-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.4;
}
.dur-ym-btn {
  border: none;
  background: none;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 0;
  line-height: 1.4;
}
.dur-ym-cancel {
  color: #999;
  text-align: left;
}
.dur-ym-confirm {
  color: #ff8f6b;
  font-weight: 600;
  text-align: right;
}
.dur-ym-btn:active {
  opacity: 0.75;
}
.dur-ym-body {
  position: relative;
  display: flex;
  height: 220px;
  background: #fff;
}
.dur-ym-body::before,
.dur-ym-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 88px;
  pointer-events: none;
  z-index: 1;
}
.dur-ym-body::before {
  top: 0;
  background: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, 0));
}
.dur-ym-body::after {
  bottom: 0;
  background: linear-gradient(0deg, #fff 35%, rgba(255, 255, 255, 0));
}
.dur-ym-indicator {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  border-radius: 10px;
  background: #fff5f0;
  border-top: 1px solid #ffe8e0;
  border-bottom: 1px solid #ffe8e0;
  pointer-events: none;
  z-index: 1;
}
.dur-ym-col {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dur-ym-col::-webkit-scrollbar {
  display: none;
}
.dur-ym-wheel {
  list-style: none;
  margin: 0;
  padding: 88px 0;
}
.dur-ym-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 16px;
  color: #bbb;
  line-height: 1.2;
  transition: color 0.15s, font-weight 0.15s;
  position: relative;
  z-index: 1;
}
.dur-ym-item.is-active {
  color: #ff8f6b;
  font-weight: 600;
  font-size: 17px;
}
.flow-phone .dur-ym-toolbar {
  background: #fff;
  border-bottom-color: #f0ebe6;
}
.flow-phone .dur-ym-confirm {
  color: #ff8f6b;
}
.flow-phone .dur-ym-item.is-active {
  color: #ff8f6b;
}
.flow-phone .dur-ym-indicator {
  background: #fff5f0;
  border-color: #ffe8e0;
}

.dur-list {
  background: #fff;
  padding-bottom: 20px;
}
.dur-month-bar {
  padding: 8px 16px;
  background: #faf8f5;
  font-size: 12px;
  color: #999;
}

.dur-record {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f3f3;
}
.dur-record-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dur-record-ico img {
  width: 22px;
  height: 22px;
  display: block;
}
.dur-record-ico--blue { background: #e8f2ff; }
.dur-record-ico--green { background: #e8f7ee; }
.dur-record-ico--cyan { background: #e6f4ff; }
.dur-record-ico--red { background: #ffecee; }
.dur-record-body {
  flex: 1;
  min-width: 0;
}
.dur-record-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.dur-record-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.dur-record-amt {
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}
.dur-record-amt.plus { color: #ff8f6b; }
.dur-record-amt.minus { color: #e85d4c; }
.dur-record-time {
  font-size: 12px;
  color: #999;
  line-height: 1.3;
}

/* 赠送记录 · 卡片列表 */
.grecord-list {
  padding: 12px 0 16px;
}
.grecord-empty {
  padding: 48px 16px;
  text-align: center;
  font-size: 13px;
  color: #999;
  line-height: 1.5;
}
.gcard {
  margin: 0 14px 12px;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}
.gcard-main {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.gcard-art {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}
.gcard-art img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.gcard-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #ffe8e0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gcard-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.gcard-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.gcard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.gcard-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #333;
  line-height: 1.35;
}
.gcard-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border: 1px solid #ff8f6b;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: #ff8f6b;
  line-height: 1.45;
}
.gcard-msg {
  margin: 0 0 4px;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}
.gcard-note {
  margin: 0 0 6px;
  font-size: 12px;
  color: #ff8f6b;
  line-height: 1.4;
}
.gcard-to {
  margin: 0 0 2px;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}
.gcard-to em {
  font-style: normal;
  color: #ff8f6b;
  font-weight: 500;
}
.gcard-exp,
.gcard-meta {
  margin: 0;
  font-size: 11px;
  color: #999;
  line-height: 1.4;
}
.gcard-status {
  flex-shrink: 0;
  font-size: 11px;
  color: #999;
  line-height: 1.45;
}
.gcard-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f5f0eb;
  cursor: default;
}
.gcard-btn {
  flex: 1;
  padding: 9px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
}
.gcard-btn--ghost {
  background: #fff;
  color: #888;
  border: 1px solid #e8e4df;
}
.gcard-btn--soft {
  background: #ffe8e0;
  color: #ff8f6b;
  border: none;
}
.gcard--muted {
  background: #fafafa;
  box-shadow: none;
  border: 1px solid #f0ebe6;
}
.gcard--muted .gcard-title {
  font-size: 14px;
  font-weight: 600;
}
.gcard--muted .gcard-to {
  color: #666;
}

.dur-coupon-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}
.dur-coupon-empty .dur-coupon-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.dur-coupon-empty p {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.dur-coupon-empty span {
  font-size: 12px;
  line-height: 1.5;
}

/* ========== App Tab 页 · 设计规范 ========== */
.app-phone {
  --app-bg: #faf8f5;
  --app-primary: #ff8f6b;
  --app-secondary: #ffe8e0;
  --app-text: #333;
  --app-sub: #666;
  --app-muted: #999;
  --app-radius: 20px;
  --app-radius-btn: 24px;
  position: relative;
}
.app-phone .phone-bar {
  background: var(--app-bg);
  color: #333;
  font-weight: 600;
}
.app-phone .phone-body {
  background: var(--app-bg);
  padding-bottom: 72px;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 12px;
  background: var(--app-bg);
}
.app-header .title {
  font-size: 17px;
  font-weight: 700;
  color: var(--app-text);
  letter-spacing: 0.3px;
}
.app-section {
  padding: 0 16px 24px;
}
.app-section + .app-section {
  padding-top: 0;
}
.app-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--app-text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.card {
  background: #fff;
  border-radius: var(--app-radius);
  padding: 16px;
  box-shadow: 0 4px 16px rgba(255, 143, 107, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:active {
  transform: scale(0.985);
  box-shadow: 0 2px 10px rgba(255, 143, 107, 0.12);
}
.card-hero {
  background: linear-gradient(135deg, #fff5ee 0%, #ffe8e0 100%);
  border-radius: var(--app-radius);
  padding: 20px 16px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.card-hero h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--app-text);
  line-height: 1.4;
}
.card-hero p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--app-sub);
  line-height: 1.5;
}
.card-hero .hero-ico {
  font-size: 28px;
  margin-bottom: 8px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--app-radius-btn);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-pill:hover {
  box-shadow: 0 4px 14px rgba(255, 143, 107, 0.22);
}
.btn-pill:active {
  transform: scale(0.97);
  opacity: 0.92;
}
.btn-pill:disabled,
.btn-pill.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}
.btn-pill--primary {
  background: var(--app-primary);
  color: #fff;
}
.btn-pill--outline {
  background: #fff;
  color: var(--app-primary);
  border: 1.5px solid var(--app-primary);
}
.btn-pill--soft {
  background: var(--app-secondary);
  color: var(--app-primary);
}

.app-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.app-chips::-webkit-scrollbar { display: none; }
.app-chip {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 18px;
  border: none;
  background: #fff;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.app-chip.on {
  background: var(--app-secondary);
  color: var(--app-primary);
  font-weight: 600;
}
.app-chip:active { opacity: 0.85; }

.app-act-card {
  margin-bottom: 12px;
}
.app-act-card .act-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--app-text);
}
.app-act-card .act-meta {
  font-size: 12px;
  color: var(--app-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}
.app-act-card .act-foot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.app-act-card .act-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.app-act-card .act-loc {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 12px;
  color: var(--app-sub);
  line-height: 1.5;
}
.app-act-card .act-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 8px;
  background: #eaf4ee;
  color: #45a862;
  font-size: 11px;
  font-weight: 600;
}

.app-news-card {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.app-news-card .thumb {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.app-news-card .info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 76px;
}
.app-news-card .t {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--app-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-news-card .d {
  margin: 0;
  font-size: 11px;
  color: var(--app-muted);
  line-height: 1.4;
}

.app-post-card {
  margin-bottom: 12px;
}
.app-post-card .pt {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--app-text);
}
.app-post-card .user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.app-post-card .avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd88a, #f0b84a);
}
.app-post-card .name {
  font-size: 11px;
  color: var(--app-muted);
  line-height: 1.4;
}
.app-post-card .excerpt {
  font-size: 13px;
  color: var(--app-sub);
  line-height: 1.6;
  margin-bottom: 10px;
}
.app-post-card .excerpt a {
  color: var(--app-primary);
  text-decoration: none;
}
.app-post-card .pics {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.app-post-card .pics img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.app-publish-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0 16px 12px;
  background: linear-gradient(180deg, var(--app-bg) 70%, rgba(250, 248, 245, 0));
}
.app-publish-bar .btn-pill {
  width: 100%;
}

/* ========== ①–⑦ 流程页 · 设计规范 ========== */
.flow-phone {
  --flow-bg: #faf8f5;
  --flow-primary: #ff8f6b;
  --flow-secondary: #ffe8e0;
  --flow-radius: 20px;
  --flow-radius-btn: 24px;
}
.flow-phone .phone-body,
.flow-phone .phone-body.pb,
.flow-phone .dur-body,
.flow-phone .gp-body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.flow-phone .phone-body::-webkit-scrollbar,
.flow-phone .dur-body::-webkit-scrollbar,
.flow-phone .gp-body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.flow-phone .phone-bar,
.flow-phone .phone-nav,
.flow-phone .dur-nav {
  background: var(--flow-bg);
}
.flow-phone .phone-body,
.flow-phone .dur-body {
  background: var(--flow-bg);
  line-height: 1.5;
}
.flow-phone .phone-nav .nav-link {
  color: var(--flow-primary);
}

.flow-phone .tabs,
.flow-phone .dur-tabs,
.flow-phone .stabs {
  background: transparent;
  border-bottom: 1px solid #f0ebe6;
}
.flow-phone.dur-phone .dur-tabs,
.flow-phone.dur-phone .stabs {
  background: var(--flow-bg);
}
.flow-phone .dur-tab,
.flow-phone .stab {
  flex: 1;
  min-width: 0;
  padding: 12px 4px 11px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  color: #999;
  text-align: center;
  white-space: nowrap;
}
.flow-phone .dur-tab {
  font-size: 14px;
}
.flow-phone .stab {
  font-size: 11px;
}
.flow-phone .tab.on,
.flow-phone .dur-tab.on,
.flow-phone .stab.on {
  color: var(--flow-primary);
  font-weight: 600;
  background: none;
}
.flow-phone .tab.on::after,
.flow-phone .dur-tab.on::after,
.flow-phone .stab.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--flow-primary);
}
.flow-phone .stab:active {
  opacity: 0.85;
}

.flow-phone .bal-card {
  background: linear-gradient(135deg, #fff5ee 0%, #ffe8e0 100%);
  border-radius: var(--flow-radius);
  box-shadow: 0 4px 16px rgba(255, 143, 107, 0.12);
}

.flow-phone .sec,
.flow-phone section.card,
.flow-phone .card {
  margin: 16px;
}
.flow-phone .sec-t {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}
.flow-phone .tip {
  background: var(--flow-secondary);
  border-radius: var(--flow-radius);
  line-height: 1.5;
  padding: 12px 16px;
}
.flow-phone .tip b {
  color: var(--flow-primary);
}

.flow-phone .ogrid .oc,
.flow-phone .pkg,
.flow-phone .tog button {
  border-radius: var(--flow-radius);
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.flow-phone .ogrid .oc:active,
.flow-phone .pkg:active {
  transform: scale(0.98);
}
.flow-phone .ogrid .oc.on,
.flow-phone .pkg.on,
.flow-phone .tog button.on {
  border-color: var(--flow-primary);
  background: var(--flow-secondary);
  color: var(--flow-primary);
}

.flow-phone .inp,
.flow-phone .ta {
  border-radius: var(--flow-radius);
  line-height: 1.5;
  background: #fff;
}
.flow-phone .inp:focus,
.flow-phone .ta:focus {
  border-color: var(--flow-primary);
}

.flow-phone .gcard {
  margin: 0 16px 12px;
  padding: 16px;
  border-radius: var(--flow-radius);
  box-shadow: 0 4px 16px rgba(255, 143, 107, 0.08);
}
.flow-phone .gcard--muted {
  background: #fafafa;
  box-shadow: none;
  border: 1px solid #f0ebe6;
}
.flow-phone .gcard-icon {
  background: var(--flow-secondary);
  border-radius: 12px;
}
.flow-phone .gcard-badge {
  border-color: var(--flow-primary);
  color: var(--flow-primary);
}
.flow-phone .gcard-note,
.flow-phone .gcard--active .gcard-to em {
  color: var(--flow-primary);
}
.flow-phone .gcard-btn--soft {
  background: var(--flow-secondary);
  color: var(--flow-primary);
}
.flow-phone .gcard-btn:active {
  opacity: 0.85;
}

.flow-phone .hero {
  padding: 24px 16px 16px;
}
.flow-phone .hero-box {
  background: linear-gradient(135deg, #fff5ee, #ffe8e0);
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(255, 143, 107, 0.1);
}
.flow-phone .hero-num {
  color: var(--flow-primary);
}

.flow-phone .fields {
  margin: 0 16px 16px;
  border-radius: var(--flow-radius);
  box-shadow: 0 4px 16px rgba(255, 143, 107, 0.06);
  overflow: hidden;
}
.flow-phone .frow {
  line-height: 1.5;
  padding: 14px 16px;
}
.flow-phone .fcopy {
  background: var(--flow-secondary);
  color: var(--flow-primary);
  border-radius: 10px;
}

.flow-phone .quote {
  margin: 16px;
  background: #fff;
  border-left-color: var(--flow-primary);
  border-radius: 0 var(--flow-radius) var(--flow-radius) 0;
  line-height: 1.6;
  box-shadow: 0 2px 10px rgba(255, 143, 107, 0.06);
}
.flow-phone .shares span {
  background: var(--flow-secondary);
  transition: transform 0.18s;
}
.flow-phone .shares span:active {
  transform: scale(0.92);
}
.flow-phone .alink {
  color: var(--flow-primary);
  line-height: 1.5;
}

.flow-phone .foot {
  background: #fff;
  border-top-color: #f0ebe6;
  padding: 12px 16px 24px;
}
.flow-phone .foot .bp,
.flow-phone .foot .bo,
.flow-phone .foot button.bp {
  border-radius: var(--flow-radius-btn);
  line-height: 1.4;
  transition: opacity 0.18s, transform 0.18s;
}
.flow-phone .foot .bp:hover,
.flow-phone .foot .bo:hover {
  box-shadow: 0 4px 14px rgba(255, 143, 107, 0.2);
}
.flow-phone .foot .bp:active,
.flow-phone .foot .bo:active {
  transform: scale(0.97);
  opacity: 0.92;
}
.flow-phone .foot .bp {
  background: var(--flow-primary);
}
.flow-phone .foot .bo {
  border-color: var(--flow-primary);
  color: var(--flow-primary);
}
.flow-phone a.bp {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
}

.flow-phone .dur-balance-card {
  background: linear-gradient(180deg, #fff8f4 0%, #fff0e8 100%);
  box-shadow: 0 4px 16px rgba(192, 80, 45, 0.06);
}
.flow-phone .dur-balance-hd {
  color: #8a8278;
}
.flow-phone .dur-balance-num span,
.flow-phone .dur-balance-num em {
  color: #c0502d;
}
.flow-phone .dur-btn-fill,
.flow-phone .dur-recharge-btn {
  background: var(--flow-primary);
  border-radius: 999px;
  border: none;
}
.flow-phone .dur-btn-outline {
  background: #fff;
  color: var(--flow-primary);
  border-radius: 999px;
  border: none;
}
.flow-phone .dur-filter-chip {
  border-radius: 12px;
}
.flow-phone .dur-list {
  background: #fff;
}
.flow-phone .dur-month-bar {
  background: var(--flow-bg);
  color: #999;
}
.flow-phone .dur-record-title {
  color: #333;
}
.flow-phone .dur-record-time {
  color: #999;
}
.flow-phone .dur-record-amt.plus {
  color: #ff8f6b;
}
.flow-phone .dur-record-amt.minus {
  color: #e85d4c;
}

.flow-phone .modal .mbox {
  border-radius: var(--flow-radius);
}
.flow-phone .mbox .mok {
  background: var(--flow-primary);
  border-radius: var(--flow-radius-btn);
}
.flow-phone .mbox .mc {
  border-radius: var(--flow-radius-btn);
}

.flow-phone .list .li {
  padding: 14px 0;
  line-height: 1.5;
}

/* 卡片 · 胶囊按钮 · 交互态 */
.flow-phone section.card,
.flow-phone .card {
  border-radius: var(--flow-radius);
  background: #fff;
  box-shadow: 0 4px 16px rgba(255, 143, 107, 0.08);
}
.flow-phone .btn-pill,
.flow-phone .bp,
.flow-phone .dur-btn-fill,
.flow-phone .dur-btn-outline,
.flow-phone .dur-recharge-btn {
  border-radius: var(--flow-radius-btn);
}
.flow-phone .bp:hover,
.flow-phone .dur-btn-fill:hover {
  filter: brightness(1.03);
}
.flow-phone .bp:disabled,
.flow-phone .bp.disabled,
.flow-phone button.bp[disabled],
.flow-phone .dur-btn-fill:disabled {
  background: #e8e4e0;
  color: #aaa;
  pointer-events: none;
  box-shadow: none;
  filter: none;
}
.flow-phone .dur-btn-outline:disabled,
.flow-phone .dur-btn-outline.disabled {
  border-color: #ddd;
  color: #bbb;
  pointer-events: none;
}
.flow-phone .oc.disabled,
.flow-phone .pkg.disabled,
.flow-phone .stab:disabled {
  opacity: 0.45;
  pointer-events: none;
}
.flow-phone .inp:disabled,
.flow-phone .ta:disabled {
  background: #f5f2ef;
  color: #aaa;
  border-color: #ebe6e1;
}

/* ========== ② 赠送详情 · 背景页 ========== */
.gift-detail-phone {
  --gift-detail-bg: #fdf5f1;
  --gift-detail-bg-rgb: 253, 245, 241;
  background: var(--gift-detail-bg);
}
.gift-detail-phone .phone-bar {
  background: transparent;
  color: #333;
  position: relative;
  z-index: 2;
}
.gift-detail-phone .phone-nav {
  background: transparent;
  position: relative;
  z-index: 2;
  font-size: 16px;
}
.gift-detail-phone .phone-body {
  margin-top: -44px;
  background: var(--gift-detail-bg);
  padding-bottom: 96px;
}
.gift-detail-head {
  position: relative;
  background-color: var(--gift-detail-bg);
  background-image: url("../assets/home/gift/detail-bg@2x.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  padding: 52px 16px 0;
}
.gift-detail-hero {
  text-align: center;
  padding: 82px 0 20px;
}
.gift-detail-badge {
  position: absolute;
  top: 88px;
  right: 20px;
  z-index: 2;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: #c0502d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(192, 80, 45, 0.1);
}
.gift-detail-num {
  line-height: 1.1;
  color: #c0502d;
}
.gift-detail-num span,
.gift-detail-num em {
  color: #c0502d;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
}
.gift-detail-num span {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.5px;
  -webkit-text-stroke-width: 3px;
}
.gift-detail-num em {
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  margin-left: 2px;
  -webkit-text-stroke-width: 2px;
}
.gift-detail-badge--muted {
  color: #999;
  box-shadow: none;
}
.gift-detail-msg {
  padding: 0 24px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1.45;
}
.gift-detail-phone--readonly .phone-body {
  padding-bottom: 24px;
}
.gift-detail-sub {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #b56b50;
  line-height: 1.4;
  -webkit-text-stroke: 1px #fff;
  paint-order: stroke fill;
}
.gift-detail-fields {
  margin: -6px 16px 0;
  padding: 4px 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(255, 143, 107, 0.08);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.gift-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f5f0eb;
  font-size: 13px;
  line-height: 1.5;
}
.gift-detail-row:last-child {
  border-bottom: none;
}
.gift-detail-label {
  flex-shrink: 0;
  color: #999;
  font-size: 13px;
}
.gift-detail-val {
  text-align: right;
  color: #333;
  font-weight: 500;
}
.gift-detail-person {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.gift-detail-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.gift-detail-avatar--m {
  background: linear-gradient(135deg, #dce8ff 0%, #9eb8f0 100%);
}
.gift-detail-avatar--f {
  background: linear-gradient(135deg, #ffe8f0 0%, #ffb8cc 100%);
}
.gift-detail-copyline {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.gift-detail-copy {
  padding: 3px 10px;
  background: #fff0ea;
  color: #ff8f6b;
  border: none;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.3;
}
.gift-detail-foot[hidden],
.gift-detail-foot.is-hidden,
.gift-detail-phone--readonly .gift-detail-foot {
  display: none !important;
}
.gift-detail-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 10px 16px 20px;
  background: var(--gift-detail-bg, #fdf5f1);
  border-top: 1px solid rgba(255, 143, 107, 0.06);
}
.gift-detail-foot-tip {
  margin: 0;
  text-align: center;
  font-size: 11px;
  color: #aaa;
  line-height: 1.5;
}
.gift-detail-foot-btns {
  display: flex;
  gap: 8px;
}
.gift-detail-foot-btns .bo,
.gift-detail-foot-btns .bp {
  flex: 1;
  padding: 8px 10px;
  min-height: 36px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.gift-detail-foot-btns .bo {
  border: 1px solid #ff8f6b;
  color: #ff8f6b;
  background: #fff;
}
.gift-detail-foot-btns .bp {
  border: none;
  background: #ff8f6b;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gift-detail-phone .gift-detail-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  margin-top: 0;
  padding: 10px 16px 20px;
  background: linear-gradient(
    180deg,
    rgba(var(--gift-detail-bg-rgb, 253, 245, 241), 0) 0%,
    var(--gift-detail-bg, #fdf5f1) 20%
  );
  border-top: none;
}

/* ========== ④ 购买赠送 · 方式 A ========== */
.gp-phone .phone-body.gp-body {
  padding-top: 12px;
  padding-bottom: 112px;
}
.gp-section {
  padding: 0 16px;
  margin-bottom: 16px;
}
.gp-sec-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}
.gp-sec-title--solo {
  margin-bottom: 12px;
}
.gp-pkg {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 18px 16px;
  border: 2px solid transparent;
  border-radius: var(--flow-radius, 20px);
  background: #fff;
  box-shadow: 0 4px 16px rgba(255, 143, 107, 0.08);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.gp-pkg:last-child {
  margin-bottom: 0;
}
.gp-pkg.on {
  border-color: var(--flow-primary, #ff8f6b);
  box-shadow: 0 4px 20px rgba(255, 143, 107, 0.16);
}
.gp-pkg:active {
  transform: scale(0.99);
}
.gp-pkg-hour {
  padding: 2px 8px;
  background: #fff;
  border: 1px solid var(--flow-primary, #ff8f6b);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--flow-primary, #ff8f6b);
  line-height: 1.45;
  white-space: nowrap;
}
.gp-pkg-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.gp-pkg-bg img {
  display: block;
  width: 120px;
  height: 120px;
}
.gp-pkg-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
}
.gp-pkg-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.gp-pkg-label {
  font-size: 12px;
  color: #888;
  line-height: 1.3;
}
.gp-pkg-min {
  font-size: 14px;
  color: #333;
  line-height: 1.2;
}
.gp-pkg-min b {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.gp-pkg-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  align-self: flex-start;
  gap: 6px;
  padding-top: 2px;
}
.gp-pkg-prices {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
}
.gp-pkg-cur {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  line-height: 1.1;
}
.gp-pkg-cur small {
  font-size: 13px;
  font-weight: 600;
  margin-right: 2px;
}
.gp-pkg-origin {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  line-height: 1.3;
}
.gp-radio-card {
  margin-top: 10px;
  padding: 4px 16px;
  background: #fff;
  border-radius: var(--flow-radius, 20px);
  border: 1px solid #f0ebe6;
}
.gp-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  border-bottom: 1px solid #f5f0eb;
}
.gp-radio:last-child {
  border-bottom: none;
}
.gp-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gp-radio-dot {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.gp-radio.on .gp-radio-dot {
  border-color: var(--flow-primary, #ff8f6b);
}
.gp-radio.on .gp-radio-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flow-primary, #ff8f6b);
}
.gp-gift-card {
  margin-top: 10px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--flow-radius, 20px);
  border: 1px solid #f0ebe6;
}
.gp-gift-label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}
.gp-gift-ta {
  width: 100%;
  min-height: 72px;
  margin-top: 0;
  border: 2px solid #f0ebe6;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  resize: none;
  outline: none;
  font-family: inherit;
  line-height: 1.5;
}
.gp-gift-ta:focus {
  border-color: var(--flow-primary, #ff8f6b);
}
.gp-section.is-hidden {
  display: none;
}
.gp-warn {
  padding: 12px 14px;
  background: #fff8f4;
  border-radius: 14px;
  border: 1px solid #ffe8e0;
}
.gp-warn-hd {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.gp-warn p {
  margin: 0;
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}
.gp-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 12px 16px 24px;
  background: #fff;
  border-top: 1px solid #f0ebe6;
}
.gp-pay-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}
.gp-pay-label {
  font-size: 14px;
  color: #666;
}
.gp-pay-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--flow-primary, #ff8f6b);
}
.gp-pay-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 999px;
  background: var(--flow-primary, #ff8f6b);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
}
.gp-pay-btn:active {
  opacity: 0.9;
}
