/* ================================================================
   云图智修 · 网页版样式
   设计令牌与小程序版保持一致：深海军蓝 + 品牌蓝紫渐变
   ================================================================ */

:root {
  --ink: #12183a;
  --ink-2: #3d4763;
  --muted: #8b94a8;
  --line: #edf0f7;
  --line-2: #e3e8f4;
  --bg: #f5f7fc;
  --brand: #4b6bfb;
  --brand-2: #7c5cff;
  --brand-soft: #eef1ff;
  --gold: #b8892b;
  --red: #f04438;
  --green: #12b76a;
  --navy: #151c40;
  --navy-2: #2f3d8f;
  --radius: 18px;
  --shadow-sm: 0 6px 18px rgba(18, 24, 58, 0.05);
  --shadow: 0 12px 34px rgba(18, 24, 58, 0.08);
  --shadow-lg: 0 22px 60px rgba(18, 24, 58, 0.14);
  --hdr: 68px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.2px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.app { min-height: 60vh; }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #5b7cff 0%, #7c5cff 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(75, 107, 251, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(75, 107, 251, 0.36);
}

.btn-ghost { background: var(--brand-soft); color: var(--brand); }
.btn-ghost:hover { background: #e5eaff; }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink-2); }
.btn-outline:hover { border-color: #c9d2e8; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2550; }
.btn-danger { background: #fef1f0; color: var(--red); }
.btn-block { width: 100%; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 15px; border-radius: 14px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn[disabled], .btn.is-disabled { opacity: 0.5; pointer-events: none; }

/* ---------------------------------------------------------------- 头部 */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--hdr);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(18, 24, 58, 0.06);
}

.hdr-in {
  height: var(--hdr);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 34px; height: 34px; border-radius: 10px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 17px; letter-spacing: 1px; }
.brand-txt i {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-top: 3px;
}

.hdr-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr-nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background 0.16s, color 0.16s;
}
.hdr-nav a:hover { background: #f2f5fd; color: var(--ink); }
.hdr-nav a.on { color: var(--brand); font-weight: 600; background: var(--brand-soft); }

.nav-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.hdr-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.hdr-cta .btn-ghost { display: none; }



/* ---------------------------------------------------------------- 通用区块 */
.section { padding: 76px 0; }
.section.tight { padding: 56px 0; }
.section-alt { background: #fff; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.sec-title { font-size: 34px; margin-top: 10px; }
.sec-desc { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 620px; }
.sec-more { font-size: 14px; color: var(--brand); font-weight: 600; }
.sec-more:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- 首屏 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 84px;
  background: linear-gradient(158deg, #131a3d 0%, #1e2a63 52%, #2f3d8f 100%);
  color: #fff;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  right: -140px;
  top: -180px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.7), rgba(124, 92, 255, 0));
}

.hero::after {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.34), rgba(34, 211, 238, 0));
}

.hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-tag b { color: #f4d69b; font-weight: 700; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #a8b8ff 0%, #d9c6ff 55%, #ffd9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .btn-primary { background: #fff; color: #2f47c8; box-shadow: 0 14px 34px rgba(6, 10, 28, 0.36); }
.hero .btn-primary:hover { box-shadow: 0 18px 40px rgba(6, 10, 28, 0.44); }
.hero .btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.26); color: #fff; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 24px; font-weight: 700; letter-spacing: -0.4px; }
.hero-stats span { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-top: 4px; }

/* ---------------------------------------------------------------- 前后对比 */
.cmp {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 540px;
  border-radius: 22px;
  overflow: hidden;
  background: #e9edf7;
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
  user-select: none;
  cursor: ew-resize;
}

.hero-cmp { position: relative; }
.hero-cmp::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.cmp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* 显式声明两张图的定位，clip 内的图宽由 JS 设为容器宽，避免被压扁 */
.cmp-after,
.cmp-beforeimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 下单页容器（JS 里作为事件委托的挂载点） */
.order-page {
  padding-bottom: 20px;
}

.cmp-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  will-change: width;
}

.cmp-clip img { max-width: none; }

.cmp-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.cmp-handle {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(10, 14, 32, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
}

.cmp-chip {
  position: absolute;
  bottom: 16px;
  z-index: 5;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(10, 14, 32, 0.55);
  color: #fff;
  font-size: 11px;
  line-height: 28px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
}

.cmp-chip.l { left: 16px; }
.cmp-chip.r { right: 16px; background: rgba(75, 107, 251, 0.9); }

.cmp-tip {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  z-index: 5;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 14, 32, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  letter-spacing: 0.4px;
  animation: float-y 2.4s ease-in-out infinite;
}

@keyframes float-y {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.95; }
  50% { transform: translate(-50%, -4px); opacity: 0.7; }
}

/* ---------------------------------------------------------------- 服务卡 */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.svc {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.svc:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #dfe5f6;
}

.svc-top { display: flex; align-items: flex-start; gap: 14px; }

.svc-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.svc-name { font-size: 17px; font-weight: 700; }
.svc-desc { font-size: 13px; color: var(--muted); margin-top: 6px; }

.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}

.svc-price { color: var(--red); font-weight: 700; font-size: 15px; }
.svc-price b { font-size: 24px; letter-spacing: -0.5px; }
.svc-price span { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 2px; }
.svc-go { font-size: 13px; color: var(--brand); font-weight: 600; }

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.badge.brand { background: var(--brand-soft); color: var(--brand); }
.badge.gold { background: #fdf5e3; color: var(--gold); }
.badge.orange { background: #fef3e2; color: #d97706; }
.badge.green { background: #e8f8f0; color: #0e9f5f; }
.badge.gray { background: #f2f4f9; color: var(--muted); }
.badge.dark { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ---------------------------------------------------------------- 价格表 */
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.price-scroll { overflow-x: auto; }

table.price { width: 100%; border-collapse: collapse; min-width: 680px; }
table.price th,
table.price td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.price thead th {
  background: #f8faff;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.4px;
  white-space: nowrap;
}
table.price tbody tr:last-child td { border-bottom: none; }
table.price tbody tr:hover { background: #fbfcff; }
table.price .p-name { font-weight: 600; }
table.price .p-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
table.price .p-price { color: var(--red); font-weight: 700; font-size: 17px; white-space: nowrap; }
table.price .p-eta { font-size: 12px; color: var(--muted); margin-top: 3px; }
table.price td.tier-cell { min-width: 150px; }

/* ---------------------------------------------------------------- 案例 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.case {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dde3f4;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

.case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.case:hover img { transform: scale(1.05); }

.case::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 13, 30, 0.86) 0%, rgba(9, 13, 30, 0.1) 46%, transparent 68%);
}

.case-info { position: absolute; inset: auto 18px 18px; z-index: 2; color: #fff; }
.case-tag {
  display: inline-flex;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  line-height: 22px;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
}
.case-title { font-size: 16px; font-weight: 600; }
.case-meta { font-size: 12px; color: rgba(255, 255, 255, 0.7); margin-top: 4px; }
.case-cta {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-6px);
  transition: 0.2s;
}
.case:hover .case-cta { opacity: 1; transform: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: 0.16s;
}
.chip-btn:hover { border-color: #c9d2e8; }
.chip-btn.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------- 流程 */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.flow-item {
  position: relative;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.flow-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 16px;
  height: 1px;
  background: var(--line-2);
}

.flow-item:last-child::after { display: none; }
.flow-no { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: 2px; }
.flow-title { font-size: 16px; font-weight: 600; margin-top: 8px; }
.flow-desc { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------------------------------------------------------------- 合规条 */
.compliance-band {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(150deg, #151c40, #26326f);
  color: #fff;
}

.compliance-band h3 { font-size: 26px; line-height: 1.3; }
.compliance-band p { color: rgba(255, 255, 255, 0.66); font-size: 14px; margin-top: 12px; }
.compliance-list { display: grid; gap: 12px; }
.compliance-list li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}
.compliance-list li b {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #cfe0ff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------------------------------------------------------------- CTA 带 */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px;
  border-radius: 24px;
  background: linear-gradient(120deg, #eef1ff 0%, #f6f0ff 55%, #fff6e9 100%);
  border: 1px solid #e6e9fb;
}
.cta-band h3 { font-size: 26px; }
.cta-band p { color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.cta-band .actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------------------------------------------------------------- 页脚 */
.ftr { background: #0e1430; color: rgba(255, 255, 255, 0.7); padding: 56px 0 28px; margin-top: 40px; }
.ftr-in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.ftr-brand { display: flex; gap: 14px; align-items: flex-start; }
.ftr-logo { width: 40px; height: 40px; border-radius: 12px; }
.ftr-name { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.ftr-slogan { font-size: 13px; color: rgba(255, 255, 255, 0.45); margin-top: 6px; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ftr-col h4 { color: #fff; font-size: 13px; margin-bottom: 14px; letter-spacing: 0.5px; }
.ftr-col a { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.6); padding: 5px 0; }
.ftr-col a:hover { color: #fff; }
.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

/* ---------------------------------------------------------------- 手机底栏 */
.tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}

.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 0 8px;
  font-size: 10px;
  color: var(--muted);
}

.tabbar svg { width: 22px; height: 22px; }
.tabbar a.on { color: var(--brand); }

/* ---------------------------------------------------------------- 下单页 */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: 30px; }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 8px; }

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 376px;
  gap: 22px;
  align-items: start;
  padding: 24px 0 60px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.panel + .panel { margin-top: 16px; }

.panel-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.step-no {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.panel-title { font-size: 16px; font-weight: 700; }
.panel-desc { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcff;
  cursor: pointer;
  transition: 0.16s;
}

.pick:hover { border-color: #cfd8f0; }
.pick.on { border-color: var(--brand); background: #f5f7ff; box-shadow: 0 0 0 3px rgba(75, 107, 251, 0.08); }
.pick-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pick-name { font-size: 13.5px; font-weight: 600; }
.pick-price { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.tier {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
  cursor: pointer;
  transition: 0.16s;
}
.tier + .tier { margin-top: 10px; }
.tier:hover { border-color: #cfd8f0; }
.tier.on { border-color: var(--brand); background: #f5f7ff; box-shadow: 0 0 0 3px rgba(75, 107, 251, 0.08); }
.tier-name { font-size: 14.5px; font-weight: 600; }
.tier-eta { font-size: 11px; color: var(--muted); background: var(--line); padding: 1px 7px; border-radius: 5px; margin-left: 8px; }
.tier-desc { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.tier-price { margin-left: auto; color: var(--red); font-weight: 700; font-size: 18px; white-space: nowrap; }
.tier-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d5dbe9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
}
.tier.on .tier-radio { background: var(--brand); border-color: var(--brand); }

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px;
  border: 2px dashed #d8dfef;
  border-radius: 14px;
  background: #fbfcff;
  text-align: center;
  cursor: pointer;
  transition: 0.16s;
}
.dropzone:hover, .dropzone.hot { border-color: var(--brand); background: #f5f7ff; }
.dropzone svg { width: 30px; height: 30px; color: #a9b6d8; }
.dz-main { font-size: 14px; font-weight: 600; }
.dz-sub { font-size: 12px; color: var(--muted); }

.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.thumb { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: #eef1f9; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 14, 32, 0.62);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-tag {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(10, 14, 32, 0.55);
  color: #fff;
  font-size: 9px;
}

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: 0.16s;
}
.chip:hover { border-color: #c9d2e8; }
.chip.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 600; }

.rush-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rush {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcff;
  text-align: center;
  cursor: pointer;
  transition: 0.16s;
}
.rush:hover { border-color: #cfd8f0; }
.rush.on { border-color: var(--brand); background: #f5f7ff; }
.rush-name { font-size: 14px; font-weight: 600; }
.rush-desc { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.rush-fee { font-size: 12px; color: var(--brand); font-weight: 600; margin-top: 6px; }
.rush.on .rush-fee { color: var(--red); }

textarea.note {
  width: 100%;
  min-height: 92px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fbfcff;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}
textarea.note:focus { border-color: var(--brand); background: #fff; }
.note-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 6px; }

.coupon-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcff;
  cursor: pointer;
  text-align: left;
  transition: 0.16s;
}
.coupon-pick:hover { border-color: #cfd8f0; }
.coupon-amt {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fdf1ef;
  color: var(--red);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.coupon-amt.used { background: var(--brand-soft); color: var(--brand); font-size: 15px; }

.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; cursor: pointer; }
.agree input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); flex-shrink: 0; }
.agree a { color: var(--brand); }

/* 结算侧栏 */
.summary { position: sticky; top: calc(var(--hdr) + 18px); }
.sum-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); padding: 7px 0; }
.sum-row .neg { color: var(--red); }
.sum-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
}
.sum-total b { font-size: 30px; color: var(--red); letter-spacing: -0.5px; }
.sum-total span { font-size: 13px; color: var(--muted); }
.summary .btn { margin-top: 16px; }
.sum-hint { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.sum-list { margin-top: 14px; font-size: 12.5px; color: var(--ink-2); }
.sum-list div { display: flex; justify-content: space-between; padding: 3px 0; }
.sum-list span { color: var(--muted); }

/* ---------------------------------------------------------------- 订单列表 */
.orders-layout { padding: 24px 0 60px; }
.order-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: 0.16s;
}
.order-card + .order-card { margin-top: 12px; }
.order-card:hover { box-shadow: var(--shadow); border-color: #dfe5f6; }
.oc-thumb { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--line); }
.oc-main { min-width: 0; }
.oc-title { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; }
.oc-meta { font-size: 12.5px; color: var(--muted); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.oc-no { font-variant-numeric: tabular-nums; }
.oc-right { text-align: right; }
.oc-amount { font-size: 17px; font-weight: 700; color: var(--red); }
.oc-actions { display: flex; gap: 8px; margin-top: 8px; justify-content: flex-end; }

.progress { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 10px; }
.progress > i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #5b7cff, #7c5cff);
  transition: width 0.4s ease;
}
.progress-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--brand); margin-top: 6px; }

/* ---------------------------------------------------------------- 详情 */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
  padding: 24px 0 60px;
}

.status-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(150deg, #1b2450, #2a3676 56%, #3b3f95);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.status-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.8), rgba(124, 92, 255, 0));
  filter: blur(40px);
}
.status-row { position: relative; display: flex; justify-content: space-between; gap: 20px; z-index: 2; }
.status-title { font-size: 24px; font-weight: 700; }
.status-desc { font-size: 13px; color: rgba(255, 255, 255, 0.66); margin-top: 8px; }
.status-no { text-align: right; font-size: 11px; color: rgba(255, 255, 255, 0.5); }
.status-no b { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.82); font-weight: 500; margin-top: 5px; letter-spacing: 0.3px; }
.status-bar { position: relative; z-index: 2; margin-top: 22px; height: 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.status-bar > i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #6f8bff, #a98bff); box-shadow: 0 0 16px rgba(150, 170, 255, 0.8); transition: width 0.4s; }
.status-bar-meta { position: relative; z-index: 2; display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255, 255, 255, 0.82); margin-top: 9px; }
.status-facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.status-facts div { text-align: center; }
.status-facts b { display: block; font-size: 20px; }
.status-facts span { font-size: 11px; color: rgba(255, 255, 255, 0.5); }

.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.result {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--line);
}
.result img { width: 100%; height: 100%; object-fit: cover; }
.result .ai-mark {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(10, 14, 32, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  letter-spacing: 0.3px;
}
.result .dl {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #2f47c8;
  font-size: 11px;
  font-weight: 600;
}

.timeline { position: relative; padding-left: 4px; }
.tl-item { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 20px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  width: 14px;
  height: 14px;
  margin: 3px 0 0 4px;
  border-radius: 50%;
  border: 2px solid #dde3f0;
  background: #fff;
  z-index: 2;
}
.tl-item::before { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-item.done .tl-dot { background: var(--brand); border-color: var(--brand); }
.tl-item.done::before { background: #c9d5fb; }
.tl-item.active .tl-dot { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 4px rgba(75, 107, 251, 0.12); }
.tl-title { font-size: 14px; font-weight: 600; color: #b6bece; }
.tl-item.done .tl-title, .tl-item.active .tl-title { color: var(--ink); }
.tl-desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.tl-item.active .tl-desc { color: var(--brand); }

.kv { display: grid; gap: 2px; }
.kv-row { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; font-size: 13.5px; border-bottom: 1px dashed transparent; }
.kv-row + .kv-row { border-top: 1px solid #f6f8fd; }
.kv-row span { color: var(--muted); flex-shrink: 0; }
.kv-row b { font-weight: 500; text-align: right; word-break: break-word; }
.kv-row.total { padding-top: 14px; font-size: 15px; }
.kv-row.total b { color: var(--red); font-size: 20px; font-weight: 700; }

.stars { display: flex; gap: 6px; }
.star {
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #e3e8f4;
  cursor: pointer;
  transition: transform 0.12s;
}
.star:hover { transform: scale(1.12); }
.star.on { color: #f7b500; }

/* ---------------------------------------------------------------- 工作台 */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 26px; letter-spacing: -0.5px; }
.stat span { font-size: 12.5px; color: var(--muted); }

.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow-sm); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
.admin-table th, .admin-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table thead th { background: #f8faff; font-size: 12px; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.admin-table tbody tr:hover { background: #fbfcff; }
.admin-table tr.is-reviewing { background: #fffdf6; }
.admin-table tr.is-reviewing:hover { background: #fffbf0; }
.admin-table td.ops { white-space: nowrap; }
.admin-table td .btn + .btn { margin-left: 6px; }
.mono { font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--muted); }

/* 待复核队列：按钮一定要显眼，不藏在表格横向滚动里 */
.review-queue {
  background: #fffdf6;
  border: 1px solid #f5e6bf;
  border-radius: var(--radius);
  padding: 18px;
}

.rq-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px dashed #f0dfb5;
}

.rq-head b { font-size: 15px; color: #7a5a12; }
.rq-head span { color: #a98b4b; font-size: 12px; }

.rq-list { display: grid; gap: 10px; margin-top: 12px; }

.rq-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid #f0dfb5;
  border-radius: 14px;
}

.rq-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f2f4f9;
}

.rq-main { min-width: 0; flex: 1; }
.rq-title { font-size: 14.5px; font-weight: 600; }
.rq-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.rq-note {
  font-size: 12px;
  color: #8a6412;
  background: #fdf6e6;
  border-radius: 6px;
  padding: 2px 7px;
  margin-top: 6px;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rq-btn { flex-shrink: 0; height: 40px; padding: 0 18px; }
.rq-empty { color: #8a6412; font-size: 13px; padding: 6px 0; }

.build-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 5px;
  background: #eef1ff;
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
}

/* ---------------------------------------------------------------- 我的 */
.mine-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(150deg, #1b2450, #2a3676 58%, #3b3f95);
  color: #fff;
}
.mine-av { width: 62px; height: 62px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.2); }
.mine-name { font-size: 19px; font-weight: 700; }
.mine-sub { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin-top: 5px; }
.mine-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.mine-stat { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.mine-stat b { display: block; font-size: 22px; }
.mine-stat span { font-size: 12px; color: var(--muted); }

.list-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.list-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #f6f8fd; }
.list-row:last-child { border-bottom: 0; }
.list-row .t { font-size: 14px; }
.list-row .d { font-size: 12px; color: var(--muted); margin-top: 3px; }
.list-row .r { margin-left: auto; color: var(--muted); font-size: 18px; }

/* ---------------------------------------------------------------- 关于 */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background: none;
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.faq-q i { font-style: normal; color: var(--muted); font-size: 18px; }
.faq-a { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; padding: 0 0 16px; }

/* ---------------------------------------------------------------- 弹层 */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 14, 32, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade-in 0.16s ease;
}

.modal {
  width: 100%;
  max-width: 400px;
  padding: 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  animation: pop-in 0.2s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.modal h3 { font-size: 18px; }
.modal .m-body { font-size: 14px; color: var(--ink-2); margin-top: 12px; line-height: 1.7; white-space: pre-line; }
.modal .m-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal .m-actions .btn { flex: 1; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

.pay-amount { text-align: center; padding: 18px 0 6px; }
.pay-amount b { font-size: 40px; letter-spacing: -1px; color: var(--ink); }
.pay-amount span { font-size: 14px; color: var(--muted); }
.pay-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

.toasts { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(18, 24, 58, 0.92);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 26px rgba(10, 14, 32, 0.24);
  animation: toast-in 0.22s ease;
  max-width: 88vw;
}
.toast.ok { background: rgba(14, 159, 95, 0.95); }
.toast.err { background: rgba(214, 48, 38, 0.95); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- 杂项 */
.loading-page { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 140px 0; color: var(--muted); font-size: 14px; }
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #dfe5f6;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty { text-align: center; padding: 70px 20px; }
.empty-ico {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef1ff, #f6f0ff);
  color: #b3c0f5;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty h3 { font-size: 17px; }
.empty p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.empty .btn { margin-top: 22px; }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.split { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tag-line { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-cmp { max-width: 460px; }
  .hero { padding: 48px 0 64px; }
  .order-grid, .detail-grid, .about-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .compliance-band { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
  .ftr-in { grid-template-columns: 1fr; gap: 28px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-item::after { display: none; }
}

@media (max-width: 860px) {
  .hdr-nav { display: none; }
  .hdr-cta .btn-ghost { display: inline-flex; }
  .hero-stats { gap: 22px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px; }
  .pick-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .sec-title { font-size: 26px; }
  .section { padding: 52px 0; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .tabbar { display: flex; }
  body { padding-bottom: 62px; }
  .hero h1 { font-size: 32px; letter-spacing: -0.6px; }
  .hero-sub { font-size: 14.5px; }
  .hero-cta .btn { flex: 1; }
  .hero-stats { justify-content: space-between; gap: 12px; }
  .hero-stats b { font-size: 20px; }
  .hdr-cta .btn-ghost { display: none; }
  .order-card { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .oc-thumb { width: 60px; height: 60px; }
  .oc-right { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .rush-grid { grid-template-columns: 1fr; }
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .status-facts { gap: 8px; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .modal .m-actions { flex-direction: column-reverse; }
  .admin-table { min-width: 680px; }
}

/* ================================================================
   补充：首屏保障条、选中态与零散工具类
   ================================================================ */

.assure {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -34px;
}

.assure > div {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.assure b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.assure span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.coupon-pick.on {
  border-color: var(--brand);
  background: #f5f7ff;
  box-shadow: 0 0 0 3px rgba(75, 107, 251, 0.08);
}

.flex1 { flex: 1; min-width: 0; }

.list-row .t { display: block; font-size: 14px; }
.list-row .d { display: block; }

.filters .chip-btn span { font-size: 12px; }

.detail-page .page-head,
.orders-page .page-head,
.cases-page .page-head,
.about-page .page-head,
.admin-page .page-head,
.mine-page .page-head {
  padding: 36px 0 4px;
  border-bottom: 1px solid transparent;
}

.detail-page .page-head h1,
.orders-page .page-head h1,
.cases-page .page-head h1,
.about-page .page-head h1,
.admin-page .page-head h1,
.mine-page .page-head h1 {
  font-size: 28px;
}

.detail-page .page-head p,
.orders-page .page-head p,
.cases-page .page-head p,
.about-page .page-head p,
.admin-page .page-head p,
.mine-page .page-head p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 6px;
}

@media (max-width: 860px) {
  .assure { grid-template-columns: 1fr 1fr; margin-top: -24px; }
}

/* ================================================================
   人工复核
   ================================================================ */

.badge.red { background: #fdecea; color: #d6302a; }

.review-hint {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 9px;
  background: #fdf5e3;
  color: #8a6412;
  font-size: 12px;
  line-height: 1.5;
}

.review-hint.err { background: #fdecea; color: #c0392b; }

.review-box {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.review-box b { display: block; font-size: 14px; margin-bottom: 4px; }
.review-box span { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.6; }

.review-box .review-ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-box.err { background: rgba(214, 48, 38, 0.28); }

.check-page .page-head { padding: 36px 0 4px; }
.check-page .page-head h1 { font-size: 28px; }
.check-page .page-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

.ck-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
  padding: 24px 0 60px;
}

.ck-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f6f8fd;
  cursor: pointer;
}

.ck-row:last-child { border-bottom: 0; }
.ck-row input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; }
.ck-label { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.ck-label i { color: var(--red); font-style: normal; margin-left: 2px; }
.ck-label i.opt { color: var(--muted); font-size: 11px; margin-left: 6px; }
.ck-hint { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

@media (max-width: 1080px) {
  .ck-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .check-page .page-head h1 { font-size: 23px; }
}

/* ================================================================
   修图台（后台手动调图）
   ================================================================ */

.editor-page .page-head h1 { font-size: 28px; }
.editor-page .page-head { padding: 36px 0 4px; }
.editor-page .page-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

.ed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
  padding: 24px 0 60px;
}

.ed-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 16px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, #1b2450, #0d1230 70%);
}

.ed-stage canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.ed-loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  background: rgba(13, 18, 48, 0.78);
  color: #c8d2ee;
  font-size: 13px;
}

.ed-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.ed-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }

.ed-thumb {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f9;
  cursor: pointer;
}

.ed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ed-thumb.on { border-color: var(--brand); }

.ed-ctl + .ed-ctl { margin-top: 14px; }

.ed-ctl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.ed-ctl-head b {
  color: var(--brand);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

input.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #e3e8f4;
  outline: none;
}

input.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  box-shadow: 0 2px 6px rgba(18, 24, 58, 0.22);
  cursor: pointer;
}

input.slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  cursor: pointer;
}

.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-upload { display: block; cursor: pointer; }

@media (max-width: 1080px) {
  .ed-grid { grid-template-columns: 1fr; }
  .ed-stage { min-height: 240px; padding: 10px; }
}

@media (max-width: 720px) {
  .editor-page .page-head h1 { font-size: 23px; }
  .ed-thumb { width: 48px; height: 48px; }

  /* 手机端：保障条与各页标题压缩（原先挂在这里的规则） */
  .assure > div { padding: 13px 14px; }
  .assure b { font-size: 13px; }
  .detail-page .page-head h1,
  .orders-page .page-head h1,
  .cases-page .page-head h1,
  .about-page .page-head h1,
  .admin-page .page-head h1,
  .mine-page .page-head h1 { font-size: 23px; }
}

/* ================================================================
   审核后台 · 页内抽屉（复核 + 调图不再单独开页面）
   ================================================================ */

.drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(10, 14, 32, 0.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.drawer-mask.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 111;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  background: var(--bg);
  box-shadow: -20px 0 60px rgba(10, 14, 32, 0.2);
  transform: translateX(102%);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.drawer.open { transform: none; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.drawer-title b { display: block; font-size: 15px; }
.drawer-title span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

.drawer-x {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f2f4f9;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.drawer-x:hover { background: #e6eaf4; }

.drawer-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.drawer-tabs button {
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}

.drawer-tabs button.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 600;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 44px;
  -webkit-overflow-scrolling: touch;
}

.drawer-body .ed-stage { min-height: 200px; }
.drawer-body .ed-stage canvas { max-height: 52vh; }

/* 抽屉里的面板不再左右分栏，改成上下堆叠 */
.drawer-body .panel { margin: 0; }
.drawer-body .panel + .panel { margin-top: 14px; }

@media (max-width: 720px) {
  .drawer { width: 100%; }
  .drawer-head { padding: 12px 14px; }
  .drawer-tabs { padding: 8px 14px; }
  .drawer-body { padding: 12px 14px 36px; }
  .drawer-body .ed-stage canvas { max-height: 42vh; }
}



