/* ============ 屿屿传信 移动端样式 ============ */
* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: #4F4F4F;
  background: #fff;
  font-size: 14px;
}
a { text-decoration: none; color: inherit; }
svg { display: block; }
button { font-family: inherit; }
input, textarea { font-family: inherit; }

/* ============ 顶部标题栏 ============ */
.header-tool {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 45px;
  line-height: 45px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  background: #fff;
  box-shadow: 0 3px 15px 0 rgba(189, 191, 191, 0.3);
  z-index: 99;
}
.header-tool .back-btn {
  position: absolute;
  left: 0; top: 0;
  width: 45px; height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

/* ============ 底部导航 ============ */
.footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  display: flex;
  background: #fff;
  box-shadow: -6px 3px 15px 0 rgba(189, 191, 191, 0.3);
  height: 60px;
}
.footer a {
  flex: 1;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #4F4F4F;
}
.footer a svg { width: 24px; height: 24px; }
.footer a p { margin: 2px 0 0; font-size: 10px; }
.footer a.show { color: #EC81A7; }

/* 有顶栏的页面内容容器 */
.form-page, .list-page, .member-page, .pay-page { padding-top: 45px; }
.form-page, .list-page, .member-page { padding-bottom: 70px; }
.form-page, .list-page, .member-page, .pay-page, .home-banner, .home-section {
  max-width: 700px; margin-left: auto; margin-right: auto;
}

/* ============ 首页 ============ */
.home-hero {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  aspect-ratio: 3.2 / 1;
  min-height: 108px;
  padding: 8px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #FBE4EE;
  background-image: url('/static/home/cn/image/home-hero.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.home-hero-logo {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(203,146,170,.28);
}
.home-hero-logo svg { width: 19px; height: 19px; }
.home-hero-title { margin-top: 6px; font-size: 16px; font-weight: 800; color: #3B7BBB; letter-spacing: 1.5px; line-height: 1.25; }
.home-hero-sub { margin-top: 3px; font-size: 10px; color: #C0748F; letter-spacing: 0; line-height: 1.35; }

.home-banner {
  position: relative;
  margin: -22px auto 0;
  width: calc(100% - 30px);
  max-width: 670px;
  padding: 24px 26px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px -8px rgba(199,178,190,.5), 0 1px 0 rgba(255,255,255,.9) inset;
  text-align: center;
  overflow: hidden;
}
.home-banner-title {
  font-size: 17px;
  font-weight: 800;
  color: #3B7BBB;
  letter-spacing: 2px;
  padding-left: 2px;
}
.home-banner-text {
  margin: 14px 0 22px;
  line-height: 26px;
  color: #3A3A3A;
  font-size: 14px;
  letter-spacing: .2px;
}
.home-start-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 30px;
  border: 2px solid #2C2C2C;
  border-radius: 24px;
  background: #FDF8EF;
  color: #2C2C2C;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  box-shadow: 0 3px 0 rgba(44,44,44,.10);
  transition: transform .15s ease, box-shadow .15s ease;
}
.home-start-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(44,44,44,.12);
}
@media (hover: hover) {
  .home-start-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgba(44,44,44,.12); }
}
.hb-doodle { position: absolute; pointer-events: none; }
.hb-doodle-l { left: 4px; top: 50%; width: 84px; transform: translateY(-40%); }
.hb-doodle-r { right: 6px; top: 30%; width: 50px; }

.home-section { padding: 24px 15px 76px; }
.home-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
}
.home-cards { display: flex; flex-direction: column; gap: 12px; }
.home-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 136px;
  padding: 16px 18px;
  border-radius: 18px;
  overflow: hidden;
}
.home-card-phone { background: #E6F6FB; }
.home-card-sms { background: #FCEBF2; }
.home-card-main { position: relative; z-index: 2; max-width: 56%; }
.home-card-tag {
  position: absolute; top: 0; right: 0;
  background: #F2789F; color: #fff;
  font-size: 10px;
  line-height: 20px;
  padding: 0 12px;
  border-bottom-left-radius: 12px;
  z-index: 3;
}
.home-card-title { font-size: 17px; font-weight: 800; color: #232323; }
.home-card-desc { margin-top: 6px; font-size: 12px; color: #5C5C5C; }
.home-card-btn {
  display: inline-block;
  margin-top: 12px;
  background: #fff;
  border: 2px solid #2C2C2C;
  color: #2C2C2C;
  font-size: 12px;
  line-height: 28px;
  padding: 0 18px;
  border-radius: 16px;
}
.home-card-art {
  position: absolute;
  right: 2px;
  bottom: -8%;
  height: 94%;
  width: auto;
  z-index: 1;
}

/* ============ 登录/注册/找回 ============ */
.auth-wrap {
  min-height: 100vh;
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f6e3ec 0%, #fff 38%);
}
.auth-header { padding: 60px 0 16px; text-align: center; }
.auth-logo {
  width: 74px; height: 74px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #EC81A7, #f3a8c2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(236,129,167,.35);
}
.auth-title { margin-top: 16px; font-weight: bold; font-size: 18px; color: #333; position: relative; padding-bottom: 10px; }
.auth-title::after {
  content: " ";
  position: absolute; bottom: 0; left: 50%;
  width: 26px; height: 4px;
  margin-left: -13px;
  background: #EC81A7; border-radius: 2px;
}
.auth-form { padding: 24px 30px 40px; }
.auth-input {
  position: relative;
  display: flex; align-items: center;
  background: #F5F5F5;
  height: 46px;
  border-radius: 23px;
  margin-top: 16px;
  padding-left: 46px;
  overflow: hidden;
}
.auth-input > svg { position: absolute; left: 16px; top: 14px; }
.auth-input input {
  flex: 1; height: 46px; border: none; background: transparent;
  outline: none; font-size: 14px; padding: 0 14px 0 0; min-width: 0;
}
.auth-input input::placeholder { color: #b9b9b9; }
.auth-eye { position: absolute; right: 0; top: 0; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.auth-input-code { padding-right: 118px; }
.auth-input-code::after { content: " "; position: absolute; top: 12px; bottom: 12px; right: 118px; width: 1px; background: #EC81A7; }
.auth-input-code button {
  position: absolute; right: 0; top: 0; height: 46px; width: 118px;
  border: none; background: transparent; color: #EC81A7; font-size: 14px; cursor: pointer;
}
.auth-btn { margin-top: 30px; }
.auth-btn button {
  width: 100%; height: 46px;
  border: none; border-radius: 23px;
  background: #EC81A7; color: #fff; font-size: 16px; cursor: pointer;
}
.auth-btn button:disabled { background: rgba(236,129,167,.25); color: #aaa; }
.auth-links { margin-top: 20px; display: flex; justify-content: space-between; padding: 0 6px; }
.auth-links a { color: #4286C8; font-size: 13px; }

/* ============ 表单页（写信/电话/绑定/改密） ============ */
.form-page { background: #F7FCFD; min-height: 100vh; }
.notice {
  display: flex; align-items: center; gap: 6px;
  background: rgba(203,205,206,.3);
  line-height: 40px; padding: 0 15px;
  font-size: 12px; color: #333;
}
.notice svg { width: 18px; height: 18px; }
.form-title { padding: 26px 15px 8px; font-weight: bold; font-size: 15px; color: #333; }
.form-input {
  margin: 0 15px;
  height: 46px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px 0 rgba(189,191,191,.3);
  display: flex; align-items: center; overflow: hidden;
}
.form-input input {
  flex: 1; height: 46px; border: none; background: transparent;
  outline: none; font-size: 14px; padding: 0 15px; min-width: 0;
}
.form-input input::placeholder { color: #b9b9b9; }
.form-input-code { padding-right: 110px; position: relative; }
.form-input-code::after { content: " "; position: absolute; top: 11px; bottom: 11px; right: 110px; width: 1px; background: #EC81A7; }
.form-input-code button {
  position: absolute; right: 0; top: 0; height: 46px; width: 110px;
  border: none; background: transparent; color: #EC81A7; font-size: 13px; cursor: pointer;
}
.form-textarea {
  position: relative;
  margin: 0 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px 0 rgba(189,191,191,.3);
  padding: 15px;
}
.form-textarea textarea {
  width: 100%; height: 120px;
  resize: none; border: none; background: transparent;
  outline: none; font-size: 14px; line-height: 22px; padding: 0;
}
.form-textarea textarea::placeholder { color: #b9b9b9; }
.textarea-tool { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 11px; color: #AFAFAF; }
.price-line { margin: 18px 20px 0; font-size: 14px; color: #333; }
.price-line b { color: #EC81A7; font-size: 17px; }
.agreement { display: flex; align-items: center; gap: 6px; margin: 14px 20px 0; font-size: 12px; color: #666; }
.agreement input { accent-color: #EC81A7; }
.form-btn { padding: 26px 15px 10px; }
.form-btn button {
  width: 100%; height: 46px;
  border: none; border-radius: 23px;
  background: #EC81A7; color: #fff; font-size: 15px; cursor: pointer;
}
.form-btn button:disabled { background: rgba(236,129,167,.25); color: #aaa; }

/* 和解电话 hero */
.phone-hero {
  margin: 15px;
  background: linear-gradient(135deg, #EC81A7, #f3a8c2);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  color: #fff;
}
.phone-hero svg { margin: 0 auto 10px; }
.phone-hero-title { font-size: 17px; font-weight: bold; }
.phone-hero-sub { margin-top: 6px; font-size: 12px; opacity: .92; }

/* ============ 列表页（信箱/我的计划） ============ */
.list-page { background: #F7FCFD; min-height: 100vh; }
.list { padding: 10px 15px; }
.list-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px 0 rgba(189,191,191,.3);
  padding: 14px 15px;
  margin-bottom: 12px;
}
.list-item-head { display: flex; justify-content: space-between; align-items: center; }
.list-item-phone { font-weight: bold; color: #333; font-size: 15px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; }
.state-success { background: rgba(5,185,18,.15); color: #10AF03; }
.state-await { background: rgba(236,129,167,.18); color: #EC81A7; }
.state-fail { background: rgba(228,38,7,.15); color: #E00A0A; }
.list-item-content { margin-top: 10px; color: #4F4F4F; font-size: 13px; line-height: 20px; word-break: break-all; }
.list-item-content.result-ok { color: #10AF03; }
.list-item-content.result-fail { color: #E00A0A; }
.list-item-time { margin-top: 8px; color: #AFAFAF; font-size: 12px; }
.list-item-foot { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; }
.list-item-pay {
  background: #EC81A7; color: #fff; font-size: 12px;
  line-height: 28px; padding: 0 16px; border-radius: 14px;
}
.empty { text-align: center; padding: 80px 30px; color: #AFAFAF; }
.empty svg { margin: 0 auto 14px; }
.empty p { margin: 0; font-size: 14px; }

/* ============ 我的 ============ */
.member-page { background: #F4F5F7; min-height: 100vh; }
.member-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 12px 0;
}
.member-stat {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px 14px;
  min-height: 88px;
  box-shadow: 0 1px 4px rgba(0,0,0,.045);
}
.member-stat-label { font-size: 13px; font-weight: 600; color: #333; }
.member-stat-value { margin-top: 13px; font-size: 12px; color: #8A8A90; }
.member-stat-value strong { font-size: 20px; font-weight: 700; color: #1F1F1F; margin: 0 4px; }
.member-stat-value.is-text { font-size: 12px; color: #7C7C82; }
.member-stat-icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  height: 44px;
  width: auto;
  max-width: 58px;
  object-fit: contain;
  pointer-events: none;
}
.member-menu {
  margin: 12px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.045);
}
.member-menu-item {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid #F3F3F5;
}
.member-menu-item:last-child { border-bottom: none; }
.member-menu-item span { flex: 1; font-size: 14px; color: #333; }
.member-menu-item::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #C7C7CC;
  border-right: 1.5px solid #C7C7CC;
  transform: rotate(45deg);
  margin-left: 8px;
}
.member-menu-item:active { background: #FAFAFB; }

/* ---------- 订单记录 ---------- */
.order-sum {
  display: flex;
  align-items: center;
  margin: 12px 12px 0;
  padding: 14px 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.045);
}
.order-sum-item { flex: 1; text-align: center; }
.order-sum-label { font-size: 12px; color: #8A8A90; }
.order-sum-num { margin-top: 6px; font-size: 20px; font-weight: 700; }
.order-sum-num.in { color: #EC81A7; }
.order-sum-num.out { color: #1F1F1F; }
.order-sum-line { width: 1px; height: 32px; background: #F0F0F2; }
.order-tabs { display: flex; gap: 8px; padding: 12px 12px 2px; }
.order-tab {
  padding: 6px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #E7E7EA;
  color: #7A7A80;
  font-size: 12px;
}
.order-tab.on { background: #FFF0F6; border-color: #F6C9DA; color: #D9537F; font-weight: 600; }
.order-list { padding: 10px 12px 0; }
.order-item {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.045);
}
.order-item-top { display: flex; justify-content: space-between; align-items: center; }
.order-title { font-size: 14px; font-weight: 600; color: #1F1F1F; }
.order-desc { margin-top: 6px; font-size: 12px; color: #8A8A90; }
.order-sms { margin-top: 6px; font-size: 12px; color: #4F4F4F; line-height: 1.6; word-break: break-all; }
.order-item-foot { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; }
.order-time { font-size: 11px; color: #AFAFAF; }
.order-amt { font-size: 15px; font-weight: 700; }
.order-amt.plus { color: #10AF03; }
.order-amt.minus { color: #1F1F1F; }
.order-amt.pkg { font-size: 12px; color: #EC81A7; }
.order-item-act { margin-top: 8px; text-align: right; }
.order-pay {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  padding: 0 16px;
  border-radius: 15px;
  background: #EC81A7;
  color: #fff;
  font-size: 12px;
}

/* ---------- 套餐选择弹窗 ---------- */
.pkg-mask {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,.42);
}
.pkg-mask.show { display: flex; }
.pkg-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  max-height: 88vh;
  overflow-y: auto;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 18px 18px 0 0;
}
.pkg-bar { width: 36px; height: 4px; margin: 0 auto 10px; border-radius: 2px; background: #E9E9EE; }
.pkg-head { margin-bottom: 14px; text-align: center; font-size: 15px; font-weight: 600; color: #1F1F1F; }
.pkg-close { position: absolute; top: 8px; right: 14px; font-size: 22px; line-height: 1; color: #B9B9C0; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.pkg-item {
  padding: 10px 4px 11px;
  border: 1.5px solid #D8D8DE;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.pkg-item b { display: block; font-size: 12px; font-weight: 500; color: #7A7A80; }
.pkg-item span { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: #1F1F1F; }
.pkg-item.on { border-color: #EC81A7; background: #FFF5F9; box-shadow: 0 3px 10px rgba(236,129,167,.16); }
.pkg-item.on b, .pkg-item.on span { color: #D9537F; }
.pkg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.pkg-total { font-size: 12px; color: #8A8A90; }
.pkg-total em { margin-left: 4px; font-style: normal; font-size: 18px; font-weight: 700; color: #EC81A7; }
.pkg-pay {
  height: 42px;
  padding: 0 24px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(135deg, #F7A1BF, #EC81A7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(236,129,167,.3);
}
.pkg-pay:disabled { background: #EDE7EA; color: #B8AFB4; box-shadow: none; }
.pkg-tip { margin-top: 10px; text-align: center; font-size: 11px; color: #A8A8AE; }
.pkg-empty { padding: 26px 0; text-align: center; font-size: 14px; color: #8A8A90; }
.pkg-empty span { font-size: 12px; color: #AFAFAF; }

/* ============ 弹窗 ============ */
.modal-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
}
.modal {
  position: relative;
  width: 82%; max-width: 360px;
  background: #fff; border-radius: 16px;
  padding: 24px 22px;
  box-sizing: border-box;
}
.modal-close { position: absolute; top: 8px; right: 14px; font-size: 24px; color: #999; cursor: pointer; line-height: 1; }
.modal-title { font-size: 17px; font-weight: bold; color: #333; text-align: center; margin-bottom: 16px; }
.modal-body p { color: #666; font-size: 14px; margin: 0 0 12px; text-align: center; }
.modal-wechat { display: flex; align-items: center; justify-content: center; gap: 10px; }
.modal-wechat span { font-size: 18px; font-weight: bold; color: #333; word-break: break-all; }
.copy-btn {
  border: none; background: #EC81A7; color: #fff;
  border-radius: 16px; padding: 7px 18px; font-size: 13px; cursor: pointer;
}

/* ============ 支付页 ============ */
.pay-page { background: #F7FCFD; min-height: 100vh; padding-bottom: 40px; }
.pay-amount { text-align: center; padding: 34px 20px 20px; }
.pay-amount-label { color: #999; font-size: 13px; }
.pay-amount-num { margin-top: 6px; font-size: 40px; font-weight: bold; color: #EC81A7; }
.pay-amount-sub { margin-top: 8px; color: #AFAFAF; font-size: 12px; }
.pay-qr { text-align: center; padding: 10px 20px 30px; }
.pay-qr img { border-radius: 10px; box-shadow: 0 3px 15px rgba(0,0,0,.08); }
.pay-qr-tip { margin-top: 14px; font-size: 14px; color: #333; }
.pay-qr-url {
  margin: 14px auto 0; max-width: 300px;
  font-size: 11px; color: #4286C8; word-break: break-all;
  background: #eef4fb; border-radius: 8px; padding: 10px; cursor: pointer;
}
.pay-qr-copy-tip { margin-top: 6px; font-size: 11px; color: #AFAFAF; }
.pay-poll-tip { margin-top: 18px; font-size: 12px; color: #AFAFAF; }
.pay-error { color: #E00A0A; font-size: 14px; line-height: 1.8; padding: 20px 10px; }
.pay-error small { color: #999; }
.pay-jsapi-tip { margin-top: 10px; font-size: 14px; color: #333; }
.pay-jsapi-btn {
  margin-top: 22px; width: 80%; max-width: 280px; height: 46px;
  border: none; border-radius: 23px; background: #07C160; color: #fff; font-size: 16px; cursor: pointer;
}

.pay-result { text-align: center; padding: 30px 24px 20px; }
.res-icon {
  width: 64px; height: 64px; margin: 0 auto;
  border-radius: 50%; font-size: 30px; line-height: 64px; font-weight: bold;
}
.res-icon.ok { background: rgba(5,185,18,.15); color: #10AF03; }
.res-icon.err { background: rgba(228,38,7,.15); color: #E00A0A; }
.res-icon.wait { background: rgba(236,129,167,.18); color: #EC81A7; }
.res-title { margin-top: 16px; font-size: 18px; font-weight: bold; color: #333; }
.res-phone-label { margin-top: 20px; font-size: 12px; color: #AFAFAF; }
.res-phone { margin-top: 6px; font-size: 32px; font-weight: bold; color: #EC81A7; letter-spacing: 2px; }
.res-desc { margin-top: 14px; font-size: 13px; color: #666; line-height: 20px; }
.res-countdown { margin-top: 10px; font-size: 13px; color: #4286C8; }
.res-mid { margin-top: 10px; font-size: 12px; color: #AFAFAF; }
.res-retry { margin-top: 22px; border: none; background: #EC81A7; color: #fff; border-radius: 23px; padding: 11px 40px; font-size: 15px; cursor: pointer; }
.res-back { display: inline-block; margin-top: 18px; color: #4286C8; font-size: 14px; }

/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%; bottom: 90px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,.78);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  max-width: 80%;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (min-width: 720px) {
  body { background: #e8ebf0; }
  .header-tool, .footer {
    left: 50%;
    right: auto;
    margin-left: -350px;
    width: 700px;
  }
}

/* ============ 和解电话页（复刻原站） ============ */
.phone-banner {
  margin: 15px 15px 0;
  background: linear-gradient(135deg, #7082e4, #9aa8f0);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px 0 rgba(189, 191, 191, 0.3);
}
.phone-banner img {
  width: 100%;
  display: block;
  height: auto;
  aspect-ratio: 2.4 / 1;
  max-height: 260px;
  object-fit: cover;
}
.phone-banner.nobg { height: 120px; }
.phone-marquee {
  margin: 15px 15px 0;
  background: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  box-shadow: 0 3px 15px 0 rgba(189, 191, 191, 0.3);
  color: #4162ff;
  font-size: 12px;
  overflow: hidden;
}
.phone-marquee marquee { display: block; }
.phone-card {
  margin: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 16px 15px;
  box-shadow: 0 3px 15px 0 rgba(189, 191, 191, 0.3);
}
.phone-card-title { font-size: 16px; font-weight: bold; color: #333; }
.phone-label { margin: 16px 0 8px; font-size: 14px; font-weight: 500; color: #333; }
.phone-card select {
  flex: 1;
  height: 46px;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  padding: 0 15px;
  color: #333;
}
.phone-btns { display: flex; justify-content: space-between; gap: 2%; margin-top: 22px; }
.phone-btns button {
  height: 42px;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.phone-btns #btnSubmit { width: 68%; background: #7082e4; }
.phone-btns #btnContact { width: 30%; background: #7a8699; }
.phone-note { margin-top: 12px; font-size: 12px; color: #a80707; line-height: 1.6; }
.phone-record-link { margin: 4px 15px 0; text-align: center; }
.phone-record-link a { color: #4286C8; font-size: 13px; }
.terms-body { text-align: left; }
.terms-body p { text-align: left; font-size: 13px; line-height: 1.75; margin: 0 0 12px; }
.terms-btns { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.terms-btns button, .terms-btns a {
  border: 1px solid #8d8d8d;
  background: #fff;
  color: #333;
  border-radius: 10px;
  padding: 7px 18px;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.4;
}
.terms-btns button { background: #EC81A7; border-color: #EC81A7; color: #fff; }

/* ============ 写信页（复刻原站） ============ */
.sms-notice marquee { flex: 1; }
.sms-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 15px 8px;
  font-weight: bold;
  font-size: 15px;
  color: #333;
}
.sms-head a { color: #4286C8; font-size: 12px; font-weight: normal; }
.sms-pkg-tip {
  margin: 0 15px 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #FFF4F8;
  border: 1px solid #F8DCE7;
  color: #C0607F;
  font-size: 12px;
  line-height: 1.6;
}
.sms-pkg-tip b { color: #EC81A7; }
.sms-pkg-tip.none { background: #F7F7F8; border-color: #ECECEF; color: #8A8A90; }
.sms-edit-block .textarea-tool a { color: #EC81A7; background: rgba(236,129,167,.16); padding: 0 14px; line-height: 28px; border-radius: 14px; font-size: 12px; }
.explain-body { max-height: 60vh; overflow-y: auto; }
.explain-body p { margin: 0 0 12px; font-size: 13px; line-height: 1.7; color: #4F4F4F; }
.agreement span { line-height: 1.6; }

/* ============ 滑块验证 ============ */
.captcha-modal { width: 324px; max-width: 94vw; padding: 20px 12px; }
.cap-bg {
  position: relative;
  width: 300px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  background-size: 300px 150px;
  background-repeat: no-repeat;
  background-position: center;
}
.cap-piece {
  position: absolute;
  left: 0;
  width: 50px; height: 50px;
  background-size: 50px 50px;
  background-repeat: no-repeat;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}
.cap-refresh {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; line-height: 30px;
  text-align: center; color: #fff;
  background: rgba(0, 0, 0, .28);
  border-radius: 50%;
  cursor: pointer; font-size: 18px; user-select: none;
}
.cap-track {
  position: relative; margin-top: 14px;
  height: 46px; background: #eef0f3; border-radius: 23px;
}
.cap-btn {
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px;
  background: #fff; color: #EC81A7;
  border: 1px solid #e2e2e2; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; cursor: pointer; user-select: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  transition: background .2s;
}
.cap-btn.ok { background: #10af03; border-color: #10af03; color: #fff; }
.cap-tip {
  position: absolute; left: 62px; top: 0;
  height: 46px; line-height: 46px;
  color: #999; font-size: 12px;
}

/* 信箱对方回复 */
.list-item-reply {
  margin-top: 8px;
  padding: 9px 11px;
  background: #eef9fb;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  line-height: 1.6;
  word-break: break-all;
}
.list-item-reply span { color: #4286C8; font-weight: bold; }
.list-item-reply .reply-actions { margin-top: 8px; text-align: right; }
.reply-btn {
  border: none; background: #4286C8; color: #fff;
  border-radius: 14px; padding: 6px 16px; font-size: 12px; cursor: pointer;
}
.modal .form-textarea { margin: 0; }
