/* ==========================================================================
   鞋纺通三期 · 高级感覆盖层（Couture Layer）
   定位：国际大牌 / 奢侈品纸刊质感
   用法：在 design-system.css 之后引入，重定向令牌 + 组件质感升级
   原则：只改视觉质感，不改结构、不改尺寸
   ========================================================================== */

:root {
  /* ---- 主色：皮革深棕 → 哑光金 ---- */
  --primary: #7A4A26;
  --primary-light: #F3E7DA;
  --primary-dark: #5A3418;
  --primary-gradient: linear-gradient(135deg, #8A5A2B 0%, #C9A46B 100%);
  --primary-gradient-soft: linear-gradient(135deg, #F7F1E8 0%, #FBF8F4 100%);

  /* ---- 点缀金 ---- */
  --gold: #B08D57;
  --gold-deep: #8C6B3F;
  --gold-soft: #E8D9BE;

  /* ---- 功能色：降饱和，贴近大牌克制感 ---- */
  --orange: #C97B3C;
  --orange-light: #FAEEE1;
  --green: #4C7A5A;
  --green-light: #E8F0EA;
  --red: #A8453C;
  --red-light: #F7EAE8;
  --purple: #6B5B8A;
  --purple-light: #EFEBF5;
  --yellow: #C9A227;
  --yellow-light: #FAF3DF;
  --cyan: #4A7C8C;
  --cyan-light: #E9F1F4;

  /* ---- 中性色：暖纸感 ---- */
  --bg: #F6F2EC;
  --bg-2: #FBF9F6;
  --card: #FFFFFF;
  --text: #1A1512;
  --text-2: #3A3129;
  --text-sub: #7A6A58;
  --text-light: #A79680;
  --border: rgba(122, 90, 50, .14);
  --border-light: rgba(122, 90, 50, .08);

  /* ---- 圆角：更柔 ---- */
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* ---- 阴影：暖调多层，远近分层 ---- */
  --shadow-sm: 0 1px 2px rgba(74, 52, 24, .05);
  --shadow: 0 1px 2px rgba(74, 52, 24, .05), 0 6px 16px -8px rgba(74, 52, 24, .14);
  --shadow-md: 0 1px 2px rgba(74, 52, 24, .06), 0 12px 28px -12px rgba(74, 52, 24, .20);
  --shadow-lg: 0 2px 4px rgba(74, 52, 24, .06), 0 24px 48px -16px rgba(74, 52, 24, .26);
  --shadow-xl: 0 32px 80px -20px rgba(30, 18, 6, .45);

  /* ---- 字体族 ---- */
  --font-serif: "Playfair Display", "Didot", "Songti SC", "Times New Roman", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   全局纸感与排版
   ========================================================================== */
body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  /* 极淡纸纹 + 暖调渐层 */
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(176, 141, 87, .06) 0%, rgba(176, 141, 87, 0) 70%);
  background-attachment: fixed;
  color: var(--text);
  letter-spacing: .01em;
}

::selection { background: var(--gold-soft); color: #241a10; }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(122, 90, 50, .22); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(122, 90, 50, .38); }

/* 标题层级：大字号 + 收紧字距 + 衬线点缀 */
h1, h2, h3, h4 { letter-spacing: -.015em; font-weight: 700; color: var(--text); }
.stat-num, .cta-p, .card-title {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   容器：纸上留白
   ========================================================================== */
.page {
  background: transparent;
  box-shadow: 0 0 0 1px rgba(122, 90, 50, .06), 0 40px 120px -60px rgba(30, 18, 6, .35);
}

/* 顶栏 / 状态栏：毛玻璃 + 细金线 */
.statusbar { background: rgba(255, 255, 255, .72) !important; backdrop-filter: blur(14px) saturate(1.2); }
.topbar {
  background: rgba(255, 255, 255, .78) !important;
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(122, 90, 50, .10) !important;
  box-shadow: 0 1px 0 rgba(176, 141, 87, .10);
}
.topbar .title { font-weight: 600; letter-spacing: .02em; }

/* 底部导航：毛玻璃 + 金色激活指示 */
.tabbar {
  background: rgba(255, 255, 255, .82) !important;
  backdrop-filter: blur(18px) saturate(1.35);
  border-top: 1px solid rgba(122, 90, 50, .10) !important;
  box-shadow: 0 -8px 24px -16px rgba(74, 52, 24, .30);
}
.tabbar a { position: relative; transition: color .2s ease; }
.tabbar a.on { color: var(--primary); }
.tabbar a.on::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 2px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.tabbar a.on svg { filter: drop-shadow(0 2px 6px rgba(176, 141, 87, .45)); }

/* ==========================================================================
   卡片：描边 + 内高光 + 分层投影
   ========================================================================== */
.card, .stat-card, .mcard, .gcard, .rcard, .poster-inner, .xft-poster-banner {
  border: 1px solid rgba(122, 90, 50, .12) !important;
  box-shadow: 0 1px 2px rgba(74, 52, 24, .04), 0 10px 24px -14px rgba(74, 52, 24, .22) !important;
}
.card { border-radius: var(--radius-lg); position: relative; }
.card::before,
.stat-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 38%);
  opacity: .7;
}
.stat-card { border-radius: var(--radius-lg); position: relative; }
.stat-num { font-family: var(--font-serif); font-size: 26px; letter-spacing: -.02em; }
.stat-label { letter-spacing: .08em; text-transform: uppercase; font-size: 10px; color: var(--text-light); }

/* ==========================================================================
   区块标题：金色短竖线 + 字距
   ========================================================================== */
.section-title { margin: 22px 16px 12px; }
.section-title h3 {
  position: relative; padding-left: 12px; font-size: 16px; letter-spacing: .01em;
}
.section-title h3::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
}
.section-title a { font-size: 12px; color: var(--text-sub); letter-spacing: .02em; }
.section-title a:hover { color: var(--gold-deep); }

/* ==========================================================================
   徽标 / 标签 / 开关
   ========================================================================== */
.chip {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(122, 90, 50, .16);
  color: var(--text-sub);
  transition: all .2s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.on {
  background: linear-gradient(135deg, #7A4A26, #9C6A3A);
  border-color: transparent; color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px -6px rgba(90, 52, 24, .55);
}
.tag {
  background: rgba(255, 255, 255, .9); color: var(--gold-deep);
  border: 1px solid rgba(176, 141, 87, .35);
  letter-spacing: .06em; text-transform: uppercase; font-size: 10px;
}
.badge { letter-spacing: .06em; }

/* ==========================================================================
   按钮：金色渐变 + 内高光
   ========================================================================== */
.btn {
  border-radius: var(--radius-md); font-weight: 600; letter-spacing: .01em;
  transition: transform .14s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #7A4A26 0%, #9C6A3A 55%, #B98A54 100%) !important;
  color: #fff !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -10px rgba(90, 52, 24, .70);
  border: 1px solid rgba(90, 52, 24, .30) !important;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid rgba(122, 90, 50, .20) !important;
  color: var(--text-2) !important;
}
.btn-ghost:hover { border-color: var(--gold) !important; color: var(--gold-deep) !important; }

/* ==========================================================================
   图片：暖调统一 + 细节放大
   ========================================================================== */
img { filter: saturate(1.03) contrast(1.02); }
.gimg img, .card-preview img { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.gcard:hover .gimg img { transform: scale(1.04); }

/* Hero：加深遮罩 + 内描边 + 金色细节 */
.hero-banner, .hero {
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 40px -18px rgba(30, 18, 6, .55) !important;
}
.hero-banner::before, .hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 12, 4, .04) 0%, rgba(20, 12, 4, .22) 70%, rgba(20, 12, 4, .34) 100%);
}
.hero-banner::after {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .10) !important;
}
.hero-banner h2, .hero-title, .hero h2 {
  font-family: var(--font-serif);
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

/* ==========================================================================
   Admin / PC 端：侧栏与表格的高级化
   ========================================================================== */
.sidebar {
  background: linear-gradient(180deg, #241A10 0%, #1B130A 100%) !important;
  border-right: 1px solid rgba(176, 141, 87, .18);
  box-shadow: 6px 0 30px -20px rgba(0, 0, 0, .6);
}
.sidebar .logo {
  font-family: var(--font-serif);
  letter-spacing: .04em;
  color: #F3E7DA !important;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(176, 141, 87, .18);
}
.nav-title { color: rgba(243, 231, 218, .45) !important; letter-spacing: .12em; text-transform: uppercase; font-size: 10px !important; }
.sidebar .nav-item svg, .sidebar a > svg { filter: none !important; }
.nav-item { color: rgba(243, 231, 218, .78) !important; transition: all .18s ease; border-radius: 10px; margin: 2px 8px; }
.nav-item:hover { background: rgba(176, 141, 87, .12) !important; color: #fff !important; }
.nav-item.on {
  background: linear-gradient(90deg, rgba(176, 141, 87, .28), rgba(176, 141, 87, .06)) !important;
  color: #FFF6E8 !important;
  box-shadow: inset 2px 0 0 var(--gold);
}
.main { background: transparent !important; }
.crumb b { font-family: var(--font-serif); letter-spacing: .02em; }

/* PC 端顶栏 */
.pc-topbar, .layout .topbar {
  background: rgba(255, 255, 255, .82) !important;
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(122, 90, 50, .10) !important;
}
.pc-logo { font-family: var(--font-serif); letter-spacing: .02em; }
.pc-nav a.on { color: var(--primary); border-bottom-color: var(--gold) !important; }

/* ==========================================================================
   细节：分隔线 / 输入 / 弹层
   ========================================================================== */
hr, .divider { border-color: rgba(122, 90, 50, .12); }
input, textarea, select, .xft-chat-row input {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(122, 90, 50, .16) !important;
  color: var(--text);
}
input:focus, textarea:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(176, 141, 87, .14); }

.xft-sheet, .xft-dialog {
  border: 1px solid rgba(122, 90, 50, .14);
  box-shadow: 0 30px 70px -20px rgba(30, 18, 6, .45) !important;
}
.xft-sheet-h { font-family: var(--font-serif); letter-spacing: .02em; }
.xft-toast {
  background: linear-gradient(135deg, rgba(36, 26, 16, .96), rgba(58, 42, 26, .96)) !important;
  border: 1px solid rgba(176, 141, 87, .30);
  letter-spacing: .02em;
}
.xft-btn2.main { background: linear-gradient(135deg, #7A4A26, #9C6A3A) !important; }

/* 悬浮导航胶囊与站点地图面板：金调描边 */
#xft-sitemap-btn {
  background: linear-gradient(135deg, #241A10, #3A2A1A) !important;
  border: 1px solid rgba(176, 141, 87, .45) !important;
  box-shadow: 0 10px 26px -12px rgba(30, 18, 6, .6) !important;
  color: #F3E7DA !important;
  letter-spacing: .04em;
}
#xft-sitemap-btn:hover { border-color: var(--gold) !important; }
#xft-sitemap-panel {
  border: 1px solid rgba(176, 141, 87, .30) !important;
  box-shadow: 0 40px 90px -30px rgba(30, 18, 6, .55) !important;
}
#xft-sm-head, #xft-sm-foot { background: linear-gradient(180deg, rgba(36, 26, 16, .97), rgba(46, 33, 20, .97)) !important; }
#xft-sm-title { font-family: var(--font-serif); letter-spacing: .03em; }
.xft-sm-chip.on { background: linear-gradient(135deg, #7A4A26, #B98A54) !important; color: #fff !important; }

/* 数值 / 价格：衬线 + 金调 */
[style*="color:var(--price)"], .gprice, .cta-p { font-variant-numeric: tabular-nums; }

/* PC 大屏：内容面板浮起 */
@media (min-width: 900px) {
  .pc-wrap { position: relative; }
  .layout .main { box-shadow: inset 1px 0 0 rgba(122, 90, 50, .08); }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   商户端 PC 化（body.xft-pc）：左侧金棕侧栏 + 宽幅内容区
   ========================================================================== */
.xft-pc .page {
  max-width: 1160px;
  margin: 0 0 0 224px;
  padding-left: 0 !important;
  padding-bottom: 48px !important;
  min-height: 100vh;
  box-shadow: -1px 0 0 rgba(122, 90, 50, .08);
}
.xft-pc .statusbar { display: none !important; }
.xft-pc .topbar {
  max-width: none !important;
  height: 60px !important;
  padding: 0 28px !important;
}
.xft-pc .topbar .title { text-align: left !important; font-size: 17px !important; font-family: var(--font-serif); }
.xft-pc .topbar a:first-child svg { width: 20px !important; opacity: .55; }

/* 侧栏：复用底部 tabbar 转竖排 */
.xft-pc .tabbar {
  position: fixed !important;
  left: 0; top: 0; bottom: 0; right: auto;
  width: 224px; max-width: 224px; height: auto;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 20px 0 24px !important;
  gap: 2px;
  border-top: none !important;
  border-right: 1px solid rgba(176, 141, 87, .22);
  background: linear-gradient(180deg, #241A10 0%, #1B130A 100%) !important;
  box-shadow: 8px 0 32px -24px rgba(0, 0, 0, .65) !important;
  overflow-y: auto;
}
.xft-pc .tabbar a {
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 13px 22px !important;
  margin: 1px 12px;
  border-radius: 10px;
  font-size: 14px !important;
  color: rgba(243, 231, 218, .74) !important;
  transition: all .18s ease;
}
.xft-pc .tabbar a svg { width: 20px !important; height: 20px !important; filter: none !important; }
.xft-pc .tabbar a:hover { background: rgba(176, 141, 87, .14) !important; color: #fff !important; }
.xft-pc .tabbar a.on {
  color: #FFF6E8 !important;
  background: linear-gradient(90deg, rgba(176, 141, 87, .32), rgba(176, 141, 87, .06)) !important;
  box-shadow: inset 2px 0 0 var(--gold) !important;
}
.xft-pc .tabbar a.on::before { display: none !important; }
.xft-pc-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 22px 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(176, 141, 87, .18);
}
.xft-pc-brand .bx {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, #8A5A2B, #C9A46B);
  color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(176, 141, 87, .7);
}
.xft-pc-brand .bt { font-family: var(--font-serif); font-size: 14px; color: #F3E7DA; letter-spacing: .03em; line-height: 1.3; }
.xft-pc-brand .bs { display: block; font-family: var(--font-sans); font-size: 9px; color: rgba(243, 231, 218, .45); letter-spacing: .18em; margin-top: 2px; }

/* 内容留白同步放大 */
.xft-pc .section-title { margin-left: 28px !important; margin-right: 28px !important; }
.xft-pc [style*="padding:0 16px"] { padding-left: 28px !important; padding-right: 28px !important; }
.xft-pc [style*="padding:0 16px 20px"] { padding-bottom: 28px !important; }
.xft-pc [style*="margin:0 16px"] { margin-left: 28px !important; margin-right: 28px !important; }
.xft-pc [style*="margin:12px 16px"] { margin-left: 28px !important; margin-right: 28px !important; }
.xft-pc [style*="margin:14px 16px"] { margin-left: 28px !important; margin-right: 28px !important; }
.xft-pc [style*="margin:16px 16px"] { margin-left: 28px !important; margin-right: 28px !important; }
.xft-pc [style*="padding:16px"] { padding: 24px 28px !important; }

/* 海报预览卡在 PC 上居中限宽 */
.xft-pc [style*="margin:-32px 16px 0"] { margin: 12px auto 0 !important; max-width: 480px; }
.xft-pc [style*="background:#1A1F2E"] { max-width: none !important; }

/* 数据大屏问候卡 */
.xft-pc [style*="background:linear-gradient(135deg,#6B4A2A"] { border-radius: 18px !important; }

/* 筛选导航条（C 端通用）：毛玻璃吸顶 */
.tag-row {
  position: sticky; top: 48px; z-index: 9;
  background: rgba(246, 242, 236, .9);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(122, 90, 50, .08);
}
.page > .tag-row:first-child, .tag-row:first-of-type { top: 48px; }

/* ==========================================================================
   交互效果层 fx（点击 / 滑动 / 下拉 / 图表入场）—— 2026-09-11
   ========================================================================== */

/* ---------- 点击：涟漪 + 按压 ---------- */
.xft-rip-host { position: relative; overflow: hidden; }
.xft-rip {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 70%);
  transform: scale(0); opacity: .9; animation: xft-rip .55s ease-out forwards;
}
.xft-rip.dark { background: radial-gradient(circle, rgba(122,74,38,.28) 0%, rgba(122,74,38,0) 70%); }
@keyframes xft-rip { to { transform: scale(2.6); opacity: 0; } }
.xft-press { transition: transform .16s cubic-bezier(.2,.8,.3,1), box-shadow .16s ease; }
.xft-press:active { transform: scale(.975); }
[data-fx] { transition: transform .2s cubic-bezier(.2,.8,.3,1), box-shadow .2s ease; }
[data-fx]:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(90,55,20,.5); }

/* ---------- 滑动：轮播 + 指示点 + 箭头 ---------- */
.xft-carousel {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
}
.xft-carousel::-webkit-scrollbar { display: none; }
.xft-carousel > * { scroll-snap-align: start; flex: 0 0 auto; }
.xft-carousel.xft-dragging { scroll-behavior: auto; cursor: grabbing; }
.xft-carousel.xft-grab { cursor: grab; }
.xft-dots { display: flex; gap: 6px; justify-content: center; padding: 10px 0 2px; }
.xft-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(122,90,50,.24); transition: all .25s ease; cursor: pointer; }
.xft-dot.on { width: 18px; border-radius: 3px; background: linear-gradient(90deg,#7A4A26,#B98A54); }
.xft-cn { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(255,253,248,.94); color: #7A4A26;
  box-shadow: 0 6px 18px -8px rgba(60,35,10,.55); cursor: pointer; z-index: 5; opacity: 0; transition: opacity .2s ease; }
.xft-cn.prev { left: 8px; } .xft-cn.next { right: 8px; }
.xft-cwrap:hover .xft-cn { opacity: 1; }
@media (hover: none) { .xft-cn { display: none; } }

/* 横滑提示：两侧渐隐 */
.xft-scrollx { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%); }

/* ---------- 滑动：标签页（滑块指示） ---------- */
.xft-tabs { position: relative; display: flex; gap: 4px; background: rgba(122,90,50,.07); border-radius: 12px; padding: 4px; }
.xft-tab { flex: 1; text-align: center; font-size: 12.5px; padding: 8px 6px; border-radius: 9px; color: var(--text-sub);
  cursor: pointer; transition: color .2s ease; position: relative; z-index: 2; user-select: none; white-space: nowrap; }
.xft-tab.on { color: #FFF6E8; font-weight: 600; }
.xft-tabs-ind { position: absolute; top: 4px; bottom: 4px; border-radius: 9px;
  background: linear-gradient(135deg,#7A4A26,#B98A54); box-shadow: 0 6px 16px -8px rgba(122,74,38,.85);
  transition: left .28s cubic-bezier(.22,.9,.28,1), width .28s cubic-bezier(.22,.9,.28,1); z-index: 1; }

/* ---------- 下拉：菜单 / 选择面板 ---------- */
.xft-dd-panel {
  position: absolute; min-width: 150px; background: #FFFDF8; border-radius: 14px; padding: 6px;
  box-shadow: 0 18px 42px -18px rgba(60,35,10,.5), 0 0 0 1px rgba(122,90,50,.09);
  z-index: 100050; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .18s ease, transform .18s cubic-bezier(.2,.8,.3,1); pointer-events: none;
}
.xft-dd-panel.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.xft-dd-item { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 9px; font-size: 13px;
  color: var(--text); cursor: pointer; white-space: nowrap; }
.xft-dd-item:hover { background: rgba(122,90,50,.08); }
.xft-dd-item.on { color: var(--primary); font-weight: 600; background: rgba(122,90,50,.1); }
.xft-dd-item.on::after { content: '✓'; margin-left: auto; font-size: 12px; }
.xft-dd-sep { height: 1px; background: rgba(122,90,50,.1); margin: 5px 8px; }

/* ---------- 下拉：折叠面板 ---------- */
.xft-acc-b { max-height: 0; overflow: hidden; transition: max-height .34s cubic-bezier(.22,.9,.28,1), opacity .24s ease, padding .3s ease;
  opacity: 0; padding: 0 14px; }
.xft-acc.open > .xft-acc-b { max-height: 640px; opacity: 1; padding: 0 14px 14px; }
.xft-acc-arrow { transition: transform .3s cubic-bezier(.22,.9,.28,1); }
.xft-acc.open .xft-acc-arrow { transform: rotate(180deg); }
.xft-acc-h { cursor: pointer; }

/* ---------- 下拉：开关 ---------- */
.xft-switch { width: 42px; height: 24px; border-radius: 999px; background: rgba(122,90,50,.2); position: relative;
  cursor: pointer; transition: background .24s ease; flex-shrink: 0; }
.xft-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(60,35,10,.3); transition: transform .24s cubic-bezier(.22,.9,.28,1); }
.xft-switch.on { background: linear-gradient(135deg,#7A4A26,#B98A54); }
.xft-switch.on::after { transform: translateX(18px); }

/* ---------- 下拉刷新 ---------- */
.xft-ptr { position: absolute; left: 0; right: 0; top: 0; height: 0; overflow: hidden; display: flex; align-items: center;
  justify-content: center; color: var(--primary); font-size: 12px; gap: 6px; transition: height .2s ease; z-index: 9; }
.xft-ptr .xft-spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(122,74,38,.25);
  border-top-color: var(--primary); animation: xft-spin .8s linear infinite; }
@keyframes xft-spin { to { transform: rotate(360deg); } }

/* ---------- 图表 ---------- */
.xft-bars { display: flex; align-items: flex-end; gap: 8px; }
.xft-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.xft-bar i { display: block; width: 100%; max-width: 34px; border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg,#C9A46B,#7A4A26); height: 0;
  transition: height .8s cubic-bezier(.22,.9,.28,1); }
.xft-bar span { font-size: 10.5px; color: var(--text-light); }
.xft-bar.on i { background: linear-gradient(180deg,#E0C08A,#8A5A2B); box-shadow: 0 8px 18px -10px rgba(122,74,38,.9); }
.xft-bars-h { display: flex; flex-direction: column; gap: 11px; }
.xft-bar-h { display: grid; grid-template-columns: 84px 1fr 40px; align-items: center; gap: 10px; font-size: 12px; color: var(--text); }
.xft-bar-h > div { height: 8px; border-radius: 4px; background: rgba(122,90,50,.1); overflow: hidden; }
.xft-fill { display: block; height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg,#7A4A26,#C9A46B); transition: width .9s cubic-bezier(.22,.9,.28,1); }
.xft-bar-h b { text-align: right; font-weight: 600; color: var(--text-sub); }
.xft-donut .xft-arc { transition: stroke-dasharray 1s cubic-bezier(.22,.9,.28,1); }
.xft-rank { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; border-bottom: 1px dashed rgba(122,90,50,.12); }
.xft-rank:last-child { border-bottom: none; }
.xft-rank b { width: 20px; height: 20px; border-radius: 6px; background: rgba(122,90,50,.1); color: var(--primary);
  font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.xft-rank:first-child b { background: linear-gradient(135deg,#7A4A26,#C9A46B); color: #fff; }
.xft-rank em { margin-left: auto; font-style: normal; color: var(--text-sub); font-variant-numeric: tabular-nums; }
.xft-funnel { display: flex; flex-direction: column; gap: 8px; }
.xft-fl { width: var(--w, 100%); min-width: 90px; height: 34px; border-radius: 8px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 12px; font-size: 12px; color: #FFF6E8;
  background: linear-gradient(90deg,#7A4A26,#B98A54); transition: width .9s cubic-bezier(.22,.9,.28,1); }
.xft-fl b { font-variant-numeric: tabular-nums; }

/* ---------- 通用小件 ---------- */
.xft-ava { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; font-size: 15px; overflow: hidden; }
.xft-kv { display: flex; gap: 10px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px dashed rgba(122,90,50,.12); }
.xft-kv:last-of-type { border-bottom: none; }
.xft-kv > span { color: var(--text-sub); width: 76px; flex-shrink: 0; }
.xft-kv > b { font-weight: 500; flex: 1; }
.xft-order-acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.xft-timeline { position: relative; padding-left: 18px; }
.xft-timeline::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 10px; width: 1px; background: rgba(122,90,50,.2); }
.xft-tl { position: relative; padding: 0 0 12px; font-size: 12px; }
.xft-tl::before { content: ''; position: absolute; left: -18px; top: 4px; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(122,90,50,.25); box-shadow: 0 0 0 3px rgba(122,90,50,.08); }
.xft-tl.on::before { background: linear-gradient(135deg,#7A4A26,#C9A46B); box-shadow: 0 0 0 4px rgba(176,141,87,.22); }
.xft-tl b { display: block; font-size: 12.5px; margin-bottom: 2px; }
.xft-tl.on b { color: var(--primary); }
.xft-tl span { color: var(--text-sub); line-height: 1.6; }

/* ---------- 新手引导 ---------- */
.xft-guide-mask { position: fixed; inset: 0; background: rgba(30,14,6,.6); z-index: 100060; opacity: 0; transition: opacity .3s ease; }
.xft-guide-mask.show { opacity: 1; }
.xft-guide { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-46%) scale(.96); width: min(92vw, 520px);
  background: #FFFDF8; border-radius: 20px; padding: 24px; z-index: 100061; box-shadow: 0 30px 70px -22px rgba(30,14,6,.6);
  opacity: 0; transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.3,1); }
.xft-guide.show { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.xft-guide h3 { font-family: var(--font-serif); font-size: 19px; margin-bottom: 6px; }
.xft-guide p.sub { font-size: 12px; color: var(--text-sub); margin-bottom: 18px; }
.xft-guide-steps { display: flex; gap: 10px; margin-bottom: 20px; }
.xft-gs { flex: 1; background: #F7F1E7; border-radius: 14px; padding: 14px; text-align: center; position: relative; }
.xft-gs i { display: flex; width: 30px; height: 30px; margin: 0 auto 8px; border-radius: 10px; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#7A4A26,#C9A46B); color: #fff; font-size: 13px; font-style: normal; font-weight: 700; }
.xft-gs b { display: block; font-size: 13px; margin-bottom: 4px; }
.xft-gs span { font-size: 11px; color: var(--text-sub); line-height: 1.6; }
.xft-guide-foot { display: flex; align-items: center; gap: 12px; }
.xft-guide-foot .xft-dots { padding: 0; margin-right: auto; }

/* 减少动态 */
@media (prefers-reduced-motion: reduce) {
  .xft-rip, .xft-cn { display: none !important; }
  .xft-bar i, .xft-fill, .xft-fl, .xft-acc-b, .xft-tabs-ind { transition: none !important; }
}

/* ---------- 动作弹层（商户端订单编辑/发货） ---------- */
.xft-act-mask { position: fixed; inset: 0; background: rgba(30,14,6,.45); z-index: 100070; display: flex;
  align-items: center; justify-content: center; opacity: 0; transition: opacity .24s ease; padding: 20px; }
.xft-act-mask.show { opacity: 1; }
.xft-act-box { width: min(94vw, 420px); background: #FFFDF8; border-radius: 18px; padding: 20px;
  box-shadow: 0 28px 60px -20px rgba(30,14,6,.6); transform: translateY(8px) scale(.98);
  transition: transform .26s cubic-bezier(.2,.8,.3,1); }
.xft-act-mask.show .xft-act-box { transform: none; }
.xft-act-box h4 { font-size: 16px; font-weight: 700; margin-bottom: 14px; font-family: var(--font-serif); }
.xft-act-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.xft-eo { display: flex; flex-direction: column; gap: 11px; }
.xft-eo label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--text-sub); }
.xft-eo input, .xft-eo textarea { border: 1px solid rgba(122,90,50,.2); background: #fff; border-radius: 10px;
  padding: 9px 11px; font-size: 13px; color: var(--text); outline: none; font-family: inherit; }
.xft-eo input:focus, .xft-eo textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.16); }

/* ---------- 商户端角色切换 ---------- */
.xft-role { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-sub);
  border: 1px solid rgba(122,90,50,.18); border-radius: 999px; padding: 5px 11px; cursor: pointer;
  background: rgba(255,255,255,.7); }
.xft-role:hover { border-color: var(--gold); color: var(--primary); }

/* ---------- 面料勾选 / 素材选择卡 ---------- */
.xft-pick { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid rgba(122,90,50,.14);
  border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: all .2s cubic-bezier(.2,.8,.3,1); }
.xft-pick:hover { border-color: rgba(176,141,87,.6); transform: translateY(-1px); }
.xft-pick.on { border-color: var(--primary); background: rgba(122,74,38,.05); box-shadow: 0 6px 18px -14px rgba(122,74,38,.9); }
.xft-ck { width: 19px; height: 19px; border-radius: 6px; border: 1.5px solid rgba(122,90,50,.3); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; transition: all .2s ease; }
.xft-pick.on .xft-ck { background: linear-gradient(135deg,#7A4A26,#B98A54); border-color: transparent; }
.xft-th { width: 40px; height: 40px; border-radius: 9px; background-size: cover; background-position: center; flex-shrink: 0; }
.xft-pn { flex: 1; font-size: 13px; font-weight: 500; line-height: 1.45; min-width: 0; }
.xft-pn b { display: block; font-size: 11px; font-weight: 400; color: var(--text-sub); margin-top: 2px; }
.xft-pick em { font-style: normal; font-size: 11px; color: var(--primary); background: rgba(122,74,38,.08);
  border-radius: 999px; padding: 3px 9px; flex-shrink: 0; }

/* ---------- 素材缩略卡 ---------- */
.xft-th2 { width: 128px; height: 96px; border-radius: 12px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end; padding: 9px; color: #fff; font-size: 11px;
  box-shadow: inset 0 -30px 40px -20px rgba(30,14,6,.85); text-shadow: 0 1px 3px rgba(0,0,0,.6); }

/* ---------- 海报风格卡 ---------- */
.xft-style { background: #fff; border-radius: 14px; padding: 10px; transition: all .2s ease; }
.xft-style:hover { box-shadow: 0 14px 30px -18px rgba(90,55,20,.6); transform: translateY(-3px); }
.xft-sv { height: 96px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #FFF6E8; font-family: var(--font-serif); font-size: 20px; letter-spacing: .12em; }
.xft-style b { display: block; font-size: 13px; margin: 9px 0 3px; }
.xft-style span { font-size: 11px; color: var(--text-sub); }

/* ---------- 趋势生成结果预览 ---------- */
.xft-pv { width: 62%; height: 190px; border-radius: 14px; background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; color: #fff;
  box-shadow: 0 12px 26px -18px rgba(30,14,6,.9); }
.xft-pv b { font-size: 15px; font-family: var(--font-serif); }
.xft-pv span { font-size: 11px; opacity: .82; margin-top: 3px; }

/* ---------- AI 任务队列 ---------- */
.xft-task { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 14px; }
.xft-task > div { flex: 1; min-width: 0; }
.xft-task b { display: block; font-size: 13px; margin-bottom: 3px; }
.xft-task span { font-size: 11.5px; color: var(--text-sub); line-height: 1.6; }
.xft-task em { font-style: normal; font-size: 12px; color: var(--text-sub); font-variant-numeric: tabular-nums; }
.xft-tst { flex-shrink: 0; font-size: 11px; border-radius: 999px; padding: 4px 10px; }
.xft-tst.wait { background: #F1EDE4; color: #7A6A52; }
.xft-tst.run { background: #EAF1FB; color: #2F6FA8; }
.xft-tst.ok { background: #EDF6EF; color: #3B7A4E; }
.xft-tst.fail { background: #FBEBE7; color: #B4553F; }
.xft-prog { height: 5px; border-radius: 3px; background: rgba(122,90,50,.12); margin-top: 7px; overflow: hidden; }
.xft-prog i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg,#2F6FA8,#7FB0E0);
  transition: width .9s cubic-bezier(.22,.9,.28,1); }

/* ==========================================================================
   大气版式系统（Grand Layout System）· 2026-09-11
   目标：统一栅格节奏 / 放大视觉层级 / 收束零散内联样式 / 强化品牌质感
   原则：只调间距节奏与层级质感，不改动页面结构
   ========================================================================== */

/* ---------- 0. 全局渲染质感 ---------- */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ---------- 1. 栅格收束：统一页面留白为 20px（移动端） ---------- */
[style*="padding:0 16px"] { padding-left: 20px !important; padding-right: 20px !important; }
[style*="padding:0 14px"] { padding-left: 20px !important; padding-right: 20px !important; }
[style*="padding:0 16px 20px"] { padding-bottom: 32px !important; }
[style*="margin:12px 16px"],
[style*="margin:14px 16px"],
[style*="margin:16px 16px"],
[style*="margin:0 16px"],
[style*="margin:0 16px 12px"],
[style*="margin:0 16px 10px"] { margin-left: 20px !important; margin-right: 20px !important; }

/* ---------- 2. 区块节奏：更大更从容的呼吸感 ---------- */
.section-title { margin: 26px 20px 12px !important; min-height: 24px; }
.section-title h3 { font-size: 17px !important; font-weight: 700 !important; letter-spacing: .02em !important; color: var(--text) !important; }
.section-title h3::before { width: 3.5px !important; height: 16px !important; border-radius: 2px !important; }
.section-title a {
  font-size: 12px !important; color: var(--text-sub) !important;
  padding: 4px 12px; border: 1px solid rgba(122, 90, 50, .18); border-radius: 999px;
  background: rgba(255, 255, 255, .7); transition: all .2s ease;
}
.section-title a:hover { border-color: var(--gold); color: var(--gold-deep) !important; }

/* ---------- 3. 卡片：统一圆角与层次阴影 ---------- */
.card, .stat-card, .mcard, .rcard, .gcard { border-radius: 16px !important; }
.card { padding: 18px !important; margin-bottom: 14px !important; }
.card, .stat-card, .mcard, .rcard {
  box-shadow: 0 1px 2px rgba(74, 52, 24, .04), 0 12px 28px -16px rgba(74, 52, 24, .24) !important;
}

/* ---------- 4. 数据卡：金色顶线 + 衬线大数字 ---------- */
.stat-card { padding: 16px 14px 14px !important; gap: 6px !important; position: relative; overflow: hidden; }
.stat-card::after {
  content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(201, 164, 107, 0) 72%);
  opacity: .9; pointer-events: none;
}
.stat-num { font-size: 27px !important; font-family: var(--font-serif) !important; font-weight: 700 !important; letter-spacing: -.02em !important; }
.stat-label { font-size: 10.5px !important; letter-spacing: .1em !important; text-transform: uppercase; }

/* ---------- 5. Hero：更开阔的叙事舞台 ---------- */
.hero-banner h2, .hero h2 { font-size: 30px !important; line-height: 1.18 !important; font-weight: 800 !important; }
.hero-banner p, .hero p { font-size: 12.5px !important; }
.hero-banner .tag { backdrop-filter: blur(8px); }

/* 问候 / 横幅卡（商家端）：纯色升级为皮革渐变 */
[style*="background:#8A5A2B"] {
  background: linear-gradient(118deg, #5A3A1C 0%, #8A5A2B 52%, #B08040 125%) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 40px -20px rgba(90, 52, 24, .75), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
}

/* ---------- 6. 列表行卡：更舒展的行距 ---------- */
[style*="border-radius:10px;padding:12px;display:flex"] { padding: 14px !important; border-radius: 14px !important; }
.tag { border-radius: 6px !important; }
.tag-red { background: var(--red-light) !important; color: var(--red) !important; }

/* ---------- 7. 弹窗中心与整体一致化（补充） ---------- */
.xfd-box { box-shadow: 0 -18px 64px rgba(30, 18, 6, .32) !important; }
.xfd-hd h4 { font-weight: 800 !important; letter-spacing: .01em; }
.xfd-b { letter-spacing: .02em; }

/* ---------- 8. PC 端（xft-pc）：更宽阔的版面 ---------- */
.xft-pc .page { max-width: 1280px !important; }
.xft-pc .section-title { margin: 34px 32px 14px !important; }
.xft-pc .section-title h3 { font-size: 19px !important; }
.xft-pc .hero-banner { height: 300px !important; border-radius: 0 0 22px 22px; }
.xft-pc .hero-banner h2 { font-size: 36px !important; }
.xft-pc .stat-card { padding: 20px 18px 18px !important; }
.xft-pc .stat-num { font-size: 30px !important; }
.xft-pc [style*="height:54px"] { height: 62px !important; border-radius: 14px !important; }
.xft-pc .tabbar a { padding: 14px 24px !important; font-size: 14.5px !important; }
.xft-pc .topbar { height: 64px !important; }
.xft-pc .topbar .title { font-size: 18px !important; }
@media (min-width: 900px) and (hover: hover) {
  .card, .stat-card, .gcard { transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s ease; }
  .card:hover, .stat-card:hover, .gcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(74, 52, 24, .34) !important; }
}

/* ---------- 9. 焦点可见性（专业细节） ---------- */
a:focus-visible, button:focus-visible, .chip:focus-visible {
  outline: 2px solid rgba(176, 141, 87, .65); outline-offset: 2px; border-radius: 8px;
}

/* ==========================================================================
   C 端小程序延续性样式 · 2026-09-11
   目标：与一期二期 鞋纺通小程序保持视觉一致（极简白顶 + 经典 5-tab），
   保留皮革金棕作点缀，不喧宾夺主
   ========================================================================== */

/* C 端顶栏：纯白、无模糊、细底线 */
.page > .topbar,
.topbar { background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom: 1px solid rgba(26,31,46,.06) !important; box-shadow: none !important; }
.topbar a, .topbar span { color: var(--text-2); }

/* C 端底部 tabbar：纯白、细线条、活跃项皮革金棕（克制） */
.tabbar { background: rgba(255,255,255,.96) !important; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-top: 1px solid rgba(26,31,46,.06) !important; box-shadow: 0 -4px 16px -12px rgba(26,31,46,.18) !important; }
.tabbar a { color: #6B7280 !important; transition: color .2s ease; }
.tabbar a.on { color: var(--primary) !important; }
.tabbar a.on::before { width: 18px !important; }

/* 首页 hero 视觉延续一二期：浅色渐层而非厚皮革 */
.page > .hero-banner:first-of-type,
.page > a:first-of-type .hero-banner { background-image: linear-gradient(135deg, #E8D5B7 0%, #C9A26B 60%, #8C6B3F 100%) !important; background-blend-mode: normal !important; }
