/* =========================================================
   福蕴履约服务 · 独立网站全局样式（PC+H5 响应式）
   主题：温暖奶咖 + 墨绿 + 奶油白 + 金棕点缀
   参考：宠物殡葬 / 临终关怀 / 宠物纪念等"服务与陪伴"类站点
   关键词：沉稳 · 有温度 · 可信任 · 不营销 · 留白充足
========================================================= */
:root {
  /* 主色：奶咖棕 + 森林绿（纪念行业通用温暖稳重配色） */
  --primary: #8B6F47;        /* 主按钮/链接：温润奶咖棕 */
  --primary-light: #F3EADC;   /* 选中态/芯片底色：米奶咖 */
  --primary-dark: #5C4A2E;    /* 深色文字/按压态：深咖 */
  --accent: #4A6B53;          /* 第二主色：低饱和森林绿 · 陪伴/生命感 */
  --accent-light: #E5EFE6;    /* 绿色芯片底色 */
  --accent-dark: #345040;
  --gold: #C9A962;            /* 金色点缀：徽章/步骤完成 */

  /* 功能色（沿用通用，保证错误/警告可辨） */
  --success: #4A6B53;
  --warn: #B0893B;
  --danger: #9C3D3D;
  --text: #2E2820;            /* 正文：暖黑，不用冷 #111 */
  --text-sub: #7A7063;        /* 副文：土棕灰，不用冷灰 */
  --border: #E5D9C2;          /* 分割线：柔奶茶色（统一卡片边框基准） */
  --border-card: #DCD0B8;     /* 卡片边框：更清晰的奶咖描边（X图标去掉后更精致） */
  --border-soft: #EDE5D3;     /* 轻边框（分区/辅助模块） */
  --bg: #FBF7EF;              /* 页面：奶油白，不是冷白 */
  --bg-soft: #F5EFDF;         /* 轻分区：浅奶咖 */
  --card: #FFFFFF;
  --radius: 22px;             /* 更柔和大圆角（服务行业，X图标去掉后增大留白） */
  --radius-sm: 14px;
  --radius-lg: 28px;          /* 大卡片圆角：场景卡/保障卡 */
  /* 柔和分层阴影（去掉图标后层次感更重要，阴影更温润） */
  --shadow-sm: 0 1px 2px rgba(80,60,30,.04), 0 3px 8px rgba(80,60,30,.05);
  --shadow: 0 24px 48px -24px rgba(92,74,46,.28), 0 4px 14px rgba(80,60,30,.07);
  --shadow-card: 0 1px 2px rgba(92,74,46,.04), 0 6px 18px -6px rgba(92,74,46,.10), inset 0 1px 0 rgba(255,255,255,.7);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
/* 防止长 URL/数字撑爆容器（来自 R4 juejin"子项内容太长撑破格子"） */
p, h1, h2, h3, h4, .lead, .s, .t, .hv-card .s { overflow-wrap: break-word; word-break: break-word; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Segoe UI", "Noto Sans CJK SC", "Source Han Serif SC", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1400px 600px at 80% -20%, rgba(201,169,98,.10), transparent 60%),
    radial-gradient(1200px 600px at -10% 10%, rgba(74,107,83,.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: .1px;
}
a { color: var(--primary-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

/* ---------- 顶部导航（浅奶咖半透毛玻璃）---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 247, .82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 30px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 18px; color: var(--primary-dark);
  letter-spacing: .5px;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 14px;
  background: linear-gradient(135deg, #C9A962 0%, #8B6F47 100%);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px;
  box-shadow: 0 6px 14px -8px rgba(92,74,46,.55);
  letter-spacing: 1px;
}
.nav { display: flex; gap: 26px; flex: 1; }
.nav a {
  color: var(--text-sub); font-weight: 500; padding: 6px 2px;
  border-bottom: 2px solid transparent;
  position: relative;
}
.nav a.active, .nav a:hover { color: var(--primary-dark); border-bottom-color: var(--gold); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  color: var(--primary-dark); font-weight: 600; cursor: pointer;
  border: 1px solid var(--border);
}
.user-chip .av {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* ---------- 按钮（温润，不发亮光渐变）---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-weight: 600; cursor: pointer; transition: all .18s ease; font-size: 15px;
  background: #fff; color: var(--text); border-color: var(--border);
  letter-spacing: .2px;
}
.btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -10px rgba(92,74,46,.35);
}
.btn-primary {
  background: linear-gradient(135deg, #A28458 0%, #8B6F47 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px -12px rgba(92,74,46,.65);
}
.btn-primary:hover { filter: brightness(1.04); color: #fff; border-color: transparent; }
.btn-primary:disabled {
  filter: grayscale(.3); opacity: .58; cursor: not-allowed;
  transform: none !important; box-shadow: none !important;
}
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-sub); }
.btn-ghost:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary-dark); background: #fff; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; border-color: transparent;
  box-shadow: 0 10px 24px -14px rgba(52,80,64,.7);
}
.btn-accent:hover { color: #fff; filter: brightness(1.04); border-color: transparent; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 10px; }

/* ---------- 布局容器 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 28px 24px; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 28px 24px; }

/* ---------- 卡片（服务/殡葬行业风：大白边 + 柔阴影 + 统一奶咖边框）---------- */
.card {
  background: var(--card);
  border: 1.2px solid var(--border-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.card::before {
  /* 左侧装饰色条（墨绿/奶咖交替，X图标去掉后左侧装饰更重要）*/
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--accent) 100%);
  opacity: .9;
  border-radius: 0 4px 4px 0;
}
.card + .card { margin-top: 22px; }
.card-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 18px 0; font-size: 18px; font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: .3px;
}

/* ---------- 网格系统（12栅格）---------- */
.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.col { padding: 10px; flex: 1; min-width: 0; }
.col-3 { width: 25%; } .col-4 { width: 33.3333%; }
.col-6 { width: 50%; } .col-8 { width: 66.6666%; } .col-12 { width: 100%; }
[class*=col-] { padding: 10px; box-sizing: border-box; }

/* ---------- 表单 ---------- */
.form-label {
  display: block; font-weight: 600; margin-bottom: 8px;
  color: var(--text);
  letter-spacing: .2px;
}
.form-label .req { color: var(--danger); margin-left: 3px; }
.input, select, textarea {
  width: 100%; padding: 12px 16px; font-size: 15px;
  border: 1.5px solid var(--border-card); border-radius: var(--radius-sm);
  background: #FFFCF5;  /* 极淡暖黄，比纯白更有温度 */
  color: var(--text); transition: border-color .15s, box-shadow .15s, background .15s;
  font-family: inherit;
  line-height: 1.6;
}
.input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(139,111,71,.10);
}
textarea { resize: vertical; min-height: 110px; line-height: 1.8; }
.form-group { margin-bottom: 22px; }
.form-hint { font-size: 12px; color: var(--text-sub); margin-top: 6px; }
.hint { font-size: 12px; color: var(--text-sub); margin-top: 6px; line-height: 1.7; }

/* ---------- 徽章 / 状态（暖色徽章）---------- */
.badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .2px;
}
.badge-primary { background: var(--primary-light); color: var(--primary-dark); border: 1px solid rgba(139,111,71,.2); }
.badge-success { background: var(--accent-light); color: var(--accent-dark); border: 1px solid rgba(74,107,83,.18); }
.badge-warn { background: #FBF0D6; color: #7A5B19; border: 1px solid rgba(176,137,59,.22); }
.badge-danger { background: #FBE4E4; color: #7C2B2B; border: 1px solid rgba(156,61,61,.2); }
.badge-muted { background: var(--bg-soft); color: #6B5F50; border: 1px solid var(--border); }

/* ---------- Tab / 分段 ---------- */
.tabs {
  display: flex; gap: 10px; border-bottom: 1px solid var(--border);
  padding: 0 6px; margin-bottom: 22px; overflow-x: auto;
}
.tab {
  padding: 12px 22px; border-radius: 14px 14px 0 0; cursor: pointer;
  color: var(--text-sub); font-weight: 600; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all .15s;
}
.tab.active { color: var(--primary-dark); border-bottom-color: var(--gold); background: var(--bg-soft); }
.tab:hover { color: var(--primary-dark); }

/* ---------- 模态 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(46,40,32,.48);
  display: none; align-items: center; justify-content: center; z-index: 999;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  width: min(520px, 92vw); box-shadow: var(--shadow);
  border: 1.2px solid var(--border-card);
}

/* ---------- Toast（暖黑墨绿 代替冷黑）---------- */
#toastWrap {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%);
  z-index: 1001; pointer-events: none;
}
.toast {
  background: rgba(52,46,38,.92); color: #FFF8EC;
  padding: 12px 20px; border-radius: var(--radius-sm);
  font-size: 14px; margin-bottom: 8px;
  opacity: 0; transition: opacity .28s, transform .28s;
  transform: translateY(-6px);
  box-shadow: 0 12px 24px -10px rgba(46,40,32,.6);
  border: 1px solid rgba(255,255,255,.08);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.ok { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.toast.err { background: linear-gradient(135deg, var(--danger), #7C2B2B); }

/* ---------- 空态 ---------- */
.empty {
  padding: 64px 24px; text-align: center; color: var(--text-sub);
}
.empty .icon { margin-bottom: 14px; }
.empty .icon span {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1px dashed rgba(139,111,71,.3);
  font-size: 28px; font-weight: 800; color: var(--primary);
  opacity: .9;
}

/* ============================================================
   首页：Hero（温暖大图风 + 两大委托场景 + 四步服务）
============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 110% 0%, rgba(201,169,98,.22), transparent 60%),
    radial-gradient(1000px 600px at -10% 20%, rgba(74,107,83,.18), transparent 60%),
    linear-gradient(180deg, #F3EADC 0%, #FBF7EF 70%, #FBF7EF 100%);
  padding: 96px 24px 112px;
}
/* 顶部"暖光薄纱"：来自 R3 自由之丘"暖光如薄纱自顶幕流淌"意象 */
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 380px; max-width: 60%; height: 100%;
  background: radial-gradient(60% 40% at 50% 0%, rgba(255,241,200,.55), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  /* 底部温柔装饰弧 */
  content: '';
  position: absolute; left: -5%; right: -5%; bottom: -40px; height: 80px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: 1;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero .eyebrow {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: .5px;
}
.hero h1 {
  font-size: 44px; line-height: 1.3; margin: 0 0 20px; font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: .5px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, #8B6F47 0%, #4A6B53 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18px; color: var(--text-sub); margin: 0 0 32px; line-height: 1.9; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 48px; }
.hero-stats .item { }
.hero-stats .k { font-size: 30px; font-weight: 800; color: var(--accent-dark); letter-spacing: .5px; }
.hero-stats .l { font-size: 13px; color: var(--text-sub); margin-top: 2px; }

.hero-visual {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1.2px solid var(--border-card);
  position: relative;
}
.hero-visual::before {
  /* 纯CSS烛光（替代 🕯️ emoji，避免方框+X渲染问题）：来自 R3 宠忆园"烛光意象"+ 自由之丘"暖光" */
  content: '';
  position: absolute; top: -20px; right: -8px;
  width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, #FFF1C8 0%, #FFD98A 45%, #D19A4A 70%, transparent 78%);
  filter: drop-shadow(0 6px 14px rgba(201,169,98,.55));
  animation: candleGlow 3.2s ease-in-out infinite alternate;
}
.hero-visual::after {
  /* 烛光顶部的火苗小点 */
  content: '';
  position: absolute; top: -16px; right: 2px;
  width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: radial-gradient(ellipse at 50% 70%, #FFF, #FFC864 60%, #C6821E 95%);
  animation: candleGlow 3.2s ease-in-out infinite alternate;
}
@keyframes candleGlow {
  0%   { filter: drop-shadow(0 6px 14px rgba(201,169,98,.45)); transform: translateY(0) rotate(-2deg); }
  100% { filter: drop-shadow(0 8px 20px rgba(201,169,98,.7));  transform: translateY(-2px) rotate(2deg); }
}
.hv-card {
  display: flex; gap: 14px; padding: 16px 18px;
  border-radius: 18px; margin-bottom: 12px;
  align-items: center;
}
.hv-card:nth-child(1) { background: linear-gradient(135deg, var(--primary-light), #fff); border: 1.2px solid rgba(139,111,71,.20); }
.hv-card:nth-child(2) { background: linear-gradient(135deg, var(--accent-light), #fff); border: 1.2px solid rgba(74,107,83,.20); }
.hv-card:nth-child(3) { background: linear-gradient(135deg, #FBF0D6, #fff); border: 1.2px solid rgba(201,169,98,.26); }
/* hv-n 序号方块（替代 emoji ic，避免渲染成方框+X） */
.hv-card .hv-n {
  width: 44px; height: 44px; border-radius: 14px;
  background: #fff; display: grid; place-items: center;
  font-size: 15px; font-weight: 800; color: var(--primary-dark);
  box-shadow: var(--shadow-sm); flex: 0 0 auto;
  letter-spacing: .5px;
}
.hv-card:nth-child(2) .hv-n { color: var(--accent-dark); }
.hv-card:nth-child(3) .hv-n { color: #8B6F47; }
.hv-card .t { font-weight: 700; margin-bottom: 3px; font-size: 16px; color: var(--primary-dark); }
.hv-card .s { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* 两大委托场景卡（首页/注册页通用）*/
.scene-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.scene-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  /* 边框：统一奶咖色描边（X图标去掉后更精致） */
  border: 1.5px solid var(--border-card);
  background: linear-gradient(180deg, #FFFBF2 0%, #FFFFFF 60%);
  /* 分层阴影 + 内部高光，增加层次感 */
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  cursor: pointer;
  overflow: hidden;
}
.scene-card::before {
  /* 顶部金色渐变边条（X图标去掉后增加装饰，代替图标位） */
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--primary) 50%, var(--accent) 100%);
  opacity: .7;
}
.scene-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(92,74,46,.05),
    0 18px 36px -8px rgba(92,74,46,.22),
    inset 0 1px 0 rgba(255,255,255,.8);
  border-color: var(--gold);
}
/* 左上角小字标签：替代大图标（更简洁精致） */
.scene-card .scene-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-light), var(--bg-soft));
  color: var(--primary-dark);
  border: 1px solid rgba(139,111,71,.18);
  margin-bottom: 16px;
  text-transform: uppercase;
}
/* 底部 CTA 指引（卡片里的行动暗示） */
.scene-card .scene-cta {
  margin-top: 16px;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .3px;
}
.scene-card:hover .scene-cta { color: var(--primary-dark); }

.scene-card h3 {
  margin: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--primary-dark);
  letter-spacing: .4px;
}
.scene-card p { margin: 0 0 16px; color: var(--text-sub); font-size: 14px; line-height: 1.85; }
.scene-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.scene-card .tag {
  font-size: 12px; padding: 5px 11px;
  background: var(--bg-soft);
  color: var(--primary-dark);
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(139,111,71,.08);
}
.scene-card.pet .tag { background: var(--accent-light); color: var(--accent-dark); }
.scene-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 5px rgba(139,111,71,.08), var(--shadow);
}

/* 4 步流程条（首页顶部 & 登记表顶部共用） */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 28px 0 8px;
}
.process .p {
  position: relative;
  background: linear-gradient(180deg, #FFFCF5 0%, #FFFFFF 100%);
  border: 1.2px solid var(--border-card);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.process .p:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}
.process .p .n {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--primary));
  color: #fff; font-weight: 800; margin-bottom: 10px;
  box-shadow: 0 6px 14px -8px rgba(92,74,46,.5);
}
.process .p h4 { margin: 0 0 4px; font-size: 15px; color: var(--primary-dark); font-weight: 700; }
.process .p p { margin: 0; font-size: 12px; color: var(--text-sub); line-height: 1.7; }
.process .p + .p::before {
  content: '→';
  position: absolute; top: 50%; left: -10px; transform: translateY(-50%);
  color: var(--gold); font-weight: 800; font-size: 18px;
}

/* ---------- 品类/委托卡片（首页列表通用）---------- */
.cats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: -56px 0 10px;
  position: relative; z-index: 2;
}
.cat {
  background: #fff; border: 1.2px solid var(--border-card); border-radius: var(--radius);
  padding: 22px 14px; text-align: center; box-shadow: var(--shadow-card);
  cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s;
  color: var(--text);
}
.cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
  color: var(--primary-dark);
}
.cat .ic { font-size: 30px; margin-bottom: 8px; }
.cat .t { font-weight: 700; font-size: 15px; color: var(--primary-dark); }
.cat .s { font-size: 12px; color: var(--text-sub); margin-top: 2px; display: block; }

/* ---------- 委托卡片（列表页）---------- */
.consign-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.consign-card {
  background: #fff; border: 1.2px solid var(--border-card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card); transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex; flex-direction: column;
}
.consign-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.consign-thumb {
  height: 170px;
  background:
    radial-gradient(500px 200px at 20% 20%, rgba(201,169,98,.35), transparent 60%),
    linear-gradient(135deg, #F3EADC, #E5EFE6);
  display: grid; place-items: center; font-size: 64px;
  border-bottom: 1px solid var(--border);
}
.consign-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.consign-body .title {
  font-weight: 700; font-size: 16px; line-height: 1.55; color: var(--primary-dark);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.consign-body .meta { display: flex; justify-content: space-between; color: var(--text-sub); font-size: 13px; }
.consign-body .price { color: var(--primary-dark); font-weight: 800; font-size: 22px; letter-spacing: .3px; }
.consign-body .price span { font-weight: 500; font-size: 12px; color: var(--text-sub); margin-left: 4px; }
.consign-footer { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.consign-footer .author { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-sub); }
.consign-footer .av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  color: var(--primary-dark);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  border: 1px solid var(--border);
}

/* ---------- 优势卡片（四项服务保障）---------- */
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.feat {
  background: linear-gradient(180deg, #FFFDF5 0%, #FFFFFF 100%);
  /* 边框：与 scene-card 统一的奶咖色描边 */
  border: 1.2px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px 22px 26px;
  /* 分层柔和阴影 + 内部高光 */
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  position: relative;
  overflow: hidden;
}
.feat::before {
  /* 左上角墨绿小金点装饰（代替X图标位置，视觉锚点） */
  content: '';
  position: absolute; top: 14px; right: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--primary));
  opacity: .5;
}
.feat:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow:
    0 2px 4px rgba(92,74,46,.04),
    0 14px 28px -6px rgba(92,74,46,.18),
    inset 0 1px 0 rgba(255,255,255,.9);
}
.feat:hover::before {
  opacity: 1;
  transform: scale(1.3);
  transition: all .25s;
}
/* 序号角标：替代图标（简洁精致） */
.feat .feat-n {
  width: 36px; height: 36px; margin: 0 auto 14px;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 800;
  color: var(--primary-dark);
  background: linear-gradient(135deg, #FBF0D6, #FFFBF2);
  border-radius: 12px;
  border: 1px solid rgba(139,111,71,.16);
  letter-spacing: .5px;
}
.feat:hover .feat-n {
  background: linear-gradient(135deg, #EFD9A8, #FBF0D6);
}
.feat h3 { margin: 6px 0 10px; font-size: 17px; font-weight: 700; color: var(--primary-dark); text-align: center; letter-spacing: .2px; }
.feat p { margin: 0; font-size: 13px; color: var(--text-sub); text-align: center; line-height: 1.85; }

/* ---------- 筛选栏 ---------- */
.filter-bar {
  background: #fff; border: 1.2px solid var(--border-card); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 22px;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  box-shadow: var(--shadow-sm);
}
.filter-bar .search { flex: 1 1 280px; min-width: 220px; position: relative; }
.filter-bar .chip {
  padding: 9px 16px; border-radius: 999px; background: var(--bg-soft);
  color: var(--text-sub); font-weight: 600; cursor: pointer; font-size: 13px;
  border: 1px solid transparent;
  transition: all .15s;
}
.filter-bar .chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(92,74,46,.5);
  border-color: transparent;
}

/* ---------- 详情页左右 ---------- */
.detail-layout {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px;
}
.detail-gallery {
  background:
    radial-gradient(600px 240px at 10% 10%, rgba(201,169,98,.35), transparent 60%),
    linear-gradient(135deg, var(--primary-light), var(--accent-light));
  border-radius: var(--radius); height: 380px;
  display: grid; place-items: center; font-size: 110px;
  border: 1.2px solid var(--border-card);
  box-shadow: var(--shadow-card);
}
.detail-info .price { font-size: 32px; color: var(--primary-dark); font-weight: 800; letter-spacing: .3px; }
.info-row { display: flex; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.info-row > *:first-child { width: 120px; color: var(--text-sub); flex: 0 0 auto; }
.info-row > *:last-child { font-weight: 600; color: var(--primary-dark); }

/* ---------- 订单进度（暖色时间线）---------- */
.timeline { padding: 12px 0; }
.timeline .item { position: relative; padding: 0 0 22px 28px; }
.timeline .item::before {
  content: ''; position: absolute; left: 9px; top: 8px; bottom: -6px;
  width: 2px; background: linear-gradient(180deg, var(--gold), var(--border));
}
.timeline .item:last-child::before { display: none; }
.timeline .dot {
  position: absolute; left: 0; top: 6px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--border); border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
}
.timeline .item.done .dot {
  background: linear-gradient(135deg, var(--gold), var(--primary));
  box-shadow: 0 0 0 1px var(--primary);
}
.timeline .t { font-weight: 700; color: var(--primary-dark); }
.timeline .s { font-size: 13px; color: var(--text-sub); line-height: 1.7; }

/* ---------- 发布/登记步骤（顶部 steps）---------- */
.steps {
  display: flex; margin-bottom: 24px; gap: 10px; justify-content: space-between;
  flex-wrap: wrap;
}
.steps .step {
  flex: 1 1 160px; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: #fff; border: 1.2px solid var(--border-card);
  color: var(--text-sub); font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all .18s;
}
.steps .step:hover { border-color: rgba(139,111,71,.35); }
.steps .step.active {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  color: var(--primary-dark);
  border-color: rgba(139,111,71,.35);
  box-shadow: var(--shadow-card);
}
.steps .step.done { color: var(--accent-dark); border-color: rgba(74,107,83,.35); background: linear-gradient(135deg, var(--accent-light), #fff); }
.steps .step .n {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
  background: #fff; border: 2px solid currentColor;
}
.step-wrap { display: none; }
.step-wrap.active { display: block; }

/* ---------- 页面专属：登录/注册（奶咖渐变 + 温暖卡片）---------- */
.auth-wrap {
  min-height: calc(100vh - 60px);
  background:
    radial-gradient(1000px 500px at 100% 0%, rgba(201,169,98,.2), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(74,107,83,.16), transparent 60%),
    linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 50%, var(--accent-light) 100%);
  display: flex; align-items: center; justify-content: center; padding: 36px 18px;
}
.auth-card {
  width: 440px; max-width: 100%; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 36px 32px;
  border: 1.2px solid var(--border-card);
  position: relative;
}
.auth-card::before {
  /* 纯CSS光晕装饰（替代🕯️emoji） */
  content: '';
  position: absolute; top: -28px; right: 20px;
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, #FFF1C8 0%, #FFD98A 50%, rgba(209,154,74,.28) 75%, transparent 80%);
  filter: drop-shadow(0 4px 10px rgba(201,169,98,.45));
}
.auth-card h1 { margin: 0 0 6px; font-size: 26px; color: var(--primary-dark); letter-spacing: .5px; }
.auth-card .sub { color: var(--text-sub); margin-bottom: 26px; font-size: 14px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.auth-tabs .t {
  flex: 1; text-align: center; padding: 12px 0; cursor: pointer;
  color: var(--text-sub); font-weight: 600; border-bottom: 2px solid transparent;
  transition: all .15s;
}
.auth-tabs .t.active { color: var(--primary-dark); border-bottom-color: var(--gold); }
.demo-entry {
  background: linear-gradient(135deg, #FBF0D6, var(--primary-light));
  border: 1.5px dashed rgba(139,111,71,.40);
  border-radius: var(--radius-sm); padding: 18px 16px; margin-bottom: 22px; text-align: center;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(139,111,71,.08);
}
.demo-entry .tag {
  display: inline-block; padding: 3px 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: 8px; font-size: 12px; font-weight: 700; margin-right: 6px;
}
.switch { color: var(--text-sub); font-size: 13px; margin-top: 16px; text-align: center; }

/* 告知声明 box（注册/登记表通用：土黄柔色）*/
.notice-box {
  background: linear-gradient(180deg, #FBF4E0 0%, #FFF8E8 100%);
  border: 1.5px solid #E0CCA0;
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: 0 2px 6px rgba(176,137,59,.08);
}
.notice-box h4 { margin: 0 0 10px; font-size: 15px; color: #7A5B19; font-weight: 700; }
.notice-box ul { margin: 0 0 12px; padding-left: 22px; line-height: 2; color: #6B5315; font-size: 13.5px; }
.notice-box .agree-row { display: flex; gap: 10px; align-items: flex-start; padding-top: 10px; border-top: 1px dashed rgba(176,137,59,.3); }
.notice-box .agree-row input[type=checkbox] { margin-top: 4px; transform: scale(1.15); accent-color: var(--primary); }
.notice-box .agree-row label { font-size: 14px; color: #5C4A2E; line-height: 1.7; }

/* section 标题（登记/发布类页面 section-title：左边框墨绿+金）*/
.section-title {
  display: flex; align-items: center; gap: 14px;
  font-size: 18px; font-weight: 700; margin: 26px 0 14px;
  color: var(--primary-dark);
}
.section-title .num {
  width: 34px; height: 34px; border-radius: 12px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-weight: 800;
  box-shadow: 0 6px 14px -8px rgba(92,74,46,.55);
  flex: 0 0 auto;
}

/* 视频上传框（publish.html：温暖奶油渐变 + 金色虚线边框）*/
.video-box {
  border: 2px dashed #D8B96B;
  border-radius: var(--radius);
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(201,169,98,.20), transparent 60%),
    linear-gradient(180deg, #FFFAEE, #FFF8E8);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(201,169,98,.10), inset 0 1px 0 rgba(255,255,255,.8);
}
.video-box:hover {
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(201,169,98,.30), transparent 60%),
    linear-gradient(180deg, #FFF6DD, #FFF2CB);
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(201,169,98,.18), inset 0 1px 0 rgba(255,255,255,.9);
}
.video-box.success {
  border-style: solid;
  border-width: 1.5px;
  border-color: rgba(74,107,83,.55);
  background: linear-gradient(180deg, #F1FAF3, #E5EFE6);
}
.video-box.error {
  border-style: solid;
  border-width: 1.5px;
  border-color: rgba(156,61,61,.55);
  background: linear-gradient(180deg, #FBEFEF, #F4DADA);
  color: #7C2B2B;
}
.video-box .ico {
  /* 由 publish.html 内联样式控制实际方块 */
  margin-bottom: 10px;
}
.progress {
  height: 10px; background: var(--bg-soft);
  border-radius: 999px; overflow: hidden;
  display: none;
  border: 1px solid var(--border);
}
.progress .bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  width: 0;
  transition: width .2s;
}
.preview { display: none; margin-top: 14px; }
.preview video {
  width: 100%; max-height: 420px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #000;
}

/* 协议阅读 5 秒弹窗（publish：暖色）*/
.modal-mask .modal h2 { margin: 0 0 8px; color: var(--primary-dark); font-size: 22px; }
.modal-mask .modal .muted { color: var(--text-sub); font-size: 13px; margin-bottom: 16px; }
.modal-mask .modal .agree-content-box {
  max-height: 44vh; overflow: auto;
  background: var(--bg-soft); border-radius: var(--radius-sm);
  padding: 18px; line-height: 1.95; color: #4B3F2D; font-size: 13.5px;
  border: 1px solid var(--border);
}
.modal-mask .modal .agree-content-box h3 { color: var(--primary-dark); font-size: 16px; margin: 14px 0 6px; }
.modal-mask .modal .agree-btn-wrap { margin-top: 18px; display: flex; justify-content: flex-end; }
.modal-mask .modal .agree-btn {
  padding: 12px 24px; border-radius: 12px; cursor: not-allowed;
  background: #EEE5D0; color: #9A8862; border: none;
  font-weight: 700; transition: all .2s; letter-spacing: .3px;
}
.modal-mask .modal .agree-btn.ready {
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(52,80,64,.7);
}
.modal-mask .modal .cd-box {
  font-size: 13px; color: var(--text-sub); margin-right: 16px; align-self: center;
}

/* 声明 checkbox 列表（publish 7 项）*/
.declaration-list { }
.check-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 14px;
  transition: all .15s;
}
.check-item:hover { background: var(--bg-soft); }
.check-item.agreed {
  background: linear-gradient(135deg, var(--accent-light), #fff);
  border: 1px solid rgba(74,107,83,.15);
}
.check-item input[type=checkbox] {
  margin-top: 4px; transform: scale(1.2);
  accent-color: var(--primary);
  flex: 0 0 auto;
}
.check-item label { color: #4B3F2D; font-size: 14px; line-height: 1.75; }
.check-item label b { color: var(--primary-dark); }

/* 成功 pill */
.success-pill {
  display: inline-block;
  padding: 4px 12px; border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 12px; font-weight: 700;
  border: 1px solid rgba(74,107,83,.2);
  margin-left: 8px;
}

/* ---------- Footer（奶咖浅底）---------- */
.footer {
  background: linear-gradient(180deg, #FBF7EF 0%, #F3EADC 100%);
  border-top: 1px solid var(--border);
  margin-top: 56px; padding: 36px 24px 24px; color: var(--text-sub);
  position: relative;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
}
.footer h4 { color: var(--primary-dark); margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: .3px; }
.footer a {
  color: var(--text-sub); display: block; font-size: 13px; padding: 4px 0;
  transition: color .15s;
}
.footer a:hover { color: var(--primary-dark); }
.footer-bottom {
  text-align: center; padding-top: 28px; margin-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-sub);
}

/* ---------- Demo 模式提示条（奶油金）---------- */
.demo-bar {
  background: linear-gradient(90deg, #FBF0D6, var(--primary-light));
  color: var(--primary-dark);
  padding: 10px 18px; font-size: 13px;
  text-align: center; border-bottom: 1px solid rgba(201,169,98,.3);
  font-weight: 500;
}
.demo-bar b { color: var(--accent-dark); }

/* ---------- 返回顶部（奶咖金）---------- */
.back-top {
  position: fixed; right: 24px; bottom: 36px;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--primary));
  color: #fff; font-weight: 700;
  display: none; place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(92,74,46,.6);
  transition: transform .15s;
  z-index: 90;
  user-select: none;
}
.back-top:hover { transform: translateY(-2px); }

/* ---------- 响应式（基于 R4 调研：内容驱动断点 + 移动优先 + clamp 流式字号 + 触控≥44px） ---------- */

/* 流式字号（clamp：来自 R4 UX Pin "Fluid Typography with clamp()"） */
.hero h1 { font-size: clamp(26px, 5vw, 42px); }
.hero p.lead { font-size: clamp(15px, 2.4vw, 17px); }
.section h2, .scene-grid + div h2, [id="scenes"] h2 { font-size: clamp(20px, 3.4vw, 26px); }
.page-header h1 { font-size: clamp(24px, 4vw, 30px); }

/* 触控目标≥44px（来自 R4 UX Pin "Make Touch Targets Large Enough" + iOS HIG） */
.btn { min-height: 44px; }
.nav a { padding: 10px 2px; }
.top-actions .btn, .top-actions a { min-height: 44px; display: inline-flex; align-items: center; }
/* 复选框/链接点击区扩大：用 label 包裹或 padding 撑大可点击区 */
.check-item, .agree-row { min-height: 44px; display: flex; align-items: center; }
.check-item input[type=checkbox], .agree-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--primary); cursor: pointer; }
.check-item label, .agree-row label { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; padding: 4px 0; }
.check-item label a, .agree-row label a, .demo-entry a, .demo-entry .tag { min-height: 44px; display: inline-flex; align-items: center; padding: 4px 8px; }
.demo-entry a { font-weight: 700; }

/* 平板断点 1024 */
@media (max-width: 1024px) {
  .consign-grid { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process .p + .p::before { display: none; }
}

/* 手机断点 768（导航横滑替代隐藏，来自 R3"简短直达导航"+ R4"导航适配"） */
@media (max-width: 768px) {
  .topbar-inner { padding: 12px 14px; gap: 12px; flex-wrap: wrap; }
  .nav {
    display: flex; gap: 18px; flex: 1 1 100%; order: 3;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 4px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 8px 2px; }
  .container { padding: 18px 14px; }
  .container-sm { padding: 18px 14px; }
  .hero { padding: 48px 16px 88px; }
  .hero-visual { margin-top: 28px; }
  .hero-visual::before { font-size: 36px; top: -16px; right: -4px; }
  .hero-stats { flex-wrap: wrap; gap: 18px 22px; }
  .hero-stats .item .k { font-size: 16px; }
  .consign-grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .col-3, .col-4, .col-6, .col-8 { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .steps .step { flex: 1 1 auto; }
  .process { grid-template-columns: 1fr; }
  .card { padding: 20px 16px; border-radius: 18px; }
  .auth-card { padding: 26px 18px; border-radius: 20px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar .search { flex: 1 1 auto; min-width: 0; }
  .top-actions { gap: 8px; }
  .top-actions .btn { padding: 8px 14px; font-size: 14px; }
}

/* 小手机断点 480（来自 R4 ygrweb 窄屏断点） */
@media (max-width: 480px) {
  .hero { padding: 40px 14px 76px; }
  .hero h1 { font-size: 24px; line-height: 1.3; }
  .hero p.lead { font-size: 14.5px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 14px 18px; }
  .hero-stats .item { min-width: 40%; }
  .hero-visual { gap: 10px; }
  .hv-card { padding: 12px 12px; }
  .hv-card .ic { font-size: 22px; }
  .hv-card .t { font-size: 14px; }
  .hv-card .s { font-size: 12px; }
  .card { padding: 18px 14px; border-radius: 16px; }
  .btn { padding: 12px 16px; font-size: 14.5px; }
  .scene-card { padding: 22px 16px; }
  .process .p { padding: 16px 14px; }
  .footer-inner { gap: 18px; }
}
