/* ===========================================================
   游戏交易网 · 全站共用样式
   =========================================================== */

:root {
  --orange: #ff8f24;
  --orange-dark: #ff7a1f;
  --orange-light: #ffb03a;
  --red: #ff4d2e;
  --text: #222;
  --text-2: #666;
  --text-3: #999;
  --line: #f0f0f0;
  --bg: #ffffff;
  --radius: 14px;
  --maxw: 480px;
  --tabbar-h: 62px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* 标题粗黑字体（锐字真言体 · 仅含标题字符子集，5.4KB；2026-10-16 按用户参考图换入） */
@font-face {
  font-family: 'TitleKuaiLe';
  src: url('../fonts/title-zhenyan.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html, body { background: #fff; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100vh;
  color: var(--text);
  padding-bottom: calc(var(--tabbar-h) + 10px);
  position: relative;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { display: block; }

/* ===========================================================
   顶部区域（首页 · 白底版式）
   =========================================================== */
.header-wrap {
  /* 渐变只出现在最顶部一条（状态栏位置），到标题行之前就全白 */
  background: linear-gradient(180deg, #ffedce 0%, #fffaf2 26px, #ffffff 52px);
  padding: 14px 14px 0 14px;
}

.top-bar {
  display: flex; align-items: flex-end; justify-content: space-between;
  min-height: 52px;
}
.top-title {
  display: flex; align-items: center; gap: 8px;
  color: #222; font-size: 20px;
  font-family: 'TitleKuaiLe', -apple-system, "PingFang SC", sans-serif;
  letter-spacing: 0;                 /* 参考图 12 字单行 241pt ≈ 20px/字，无字距 */
  -webkit-text-stroke: 0.3px #222;   /* 真言体本身厚重，只补极细描边贴近参考图墨量 */
  padding-bottom: 6px;
}
/* 吉祥物：轻踩搜索框边线（同参考图） */
.mascot {
  width: 54px; height: auto;
  margin-bottom: -4px;         /* 只轻轻压住搜索框边线 */
  position: relative; z-index: 3;
  flex: none;
}
.kefu {
  display: flex; align-items: center; gap: 3px;
  color: #222; font-size: 16px;
  font-family: 'TitleKuaiLe', -apple-system, "PingFang SC", sans-serif;
  font-weight: 600;
  padding-bottom: 6px;
}
.kefu .kefu-ico {
  width: 22px; height: 21px;
  object-fit: contain;
  flex: none;
}

/* 搜索栏（橙色描边 + 双行热词） */
.search-bar {
  margin-top: 6px;
  height: 46px;
  background: #fff;
  border: 2px solid #ff9420;
  border-radius: 23px;
  display: flex; align-items: center;
  padding: 0 5px 0 14px;
  box-shadow: 0 2px 8px rgba(255, 150, 40, .10);
  cursor: pointer;
}
.search-bar .search-icon { font-size: 16px; color: #c9c9c9; margin-right: 8px; flex: none; }
.search-bar input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  color: #333; font-size: 13.5px; font-weight: 600;
  font-family: inherit;
}
.search-bar input::placeholder { color: #c0c4cc; font-weight: 600; }
.search-btn {
  background: linear-gradient(90deg, #ffab45, #ff8d1f);
  color: #fff; font-size: 14px; font-weight: 700;
  height: 36px; padding: 0 20px; border: none;
  border-radius: 18px;
  display: flex; align-items: center;
  flex: none;
  box-shadow: 0 2px 6px rgba(255, 141, 31, .28);
}

/* 双行滚动热词已于 2026-10-16 移除（参考图改为单行静态热词） */

/* ===========================================================
   功能分类（彩色立体图标 · 黑色文字）
   =========================================================== */
/* padding-top 11px：参考图搜索框底 → 分类图标顶间距 11pt（原 14）；
   padding-bottom 1px：让下面的热门游戏第一行整体上移，见 .game-page 注释 */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); padding: 11px 6px 1px 6px; }
.cat-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding-bottom: 10px;
}
.cat-ico {
  position: relative;
  height: 42px;
  display: flex; align-items: center; justify-content: center;
}
.cat-ico img {
  width: 42px; height: 42px; display: block;
  object-fit: contain;
  border-radius: 9px;
}
.cat-ico svg {
  width: 56px; height: 56px; display: block;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .13));
}
.cat-ico .emoji { font-size: 42px; line-height: 1; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .14)); }
.badge-hot {
  position: absolute; top: -4px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #ff4d2e; color: #fff;
  font-size: 10px; font-weight: 700; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 4px rgba(255, 77, 46, .4);
}
.recycle-box {
  width: 48px; height: 42px; border-radius: 10px 10px 14px 14px;
  background: linear-gradient(180deg, #52d67e, #2bb45f);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 8px rgba(43, 180, 95, .35);
}
.recycle-box i { font-style: normal; color: #fff; font-size: 24px; font-weight: 700; }
.shield {
  width: 48px; height: 52px;
  background: linear-gradient(180deg, #ffb03a, #ff8d1f);
  clip-path: polygon(50% 0, 100% 11%, 100% 62%, 50% 100%, 0 62%, 0 11%);
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 4px 6px rgba(255, 141, 31, .4));
}
.shield i { font-style: normal; font-size: 20px; }
.cat-item .cat-name { font-size: 13px; color: #222; font-weight: 600; }

/* ===========================================================
   游戏列表
   =========================================================== */
/* 可滑动游戏列表 */
.game-swiper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;              /* Firefox 隐藏滚动条 */
}
.game-swiper::-webkit-scrollbar { display: none; }  /* Chrome 隐藏滚动条 */
.game-track { display: flex; }
.game-page {
  flex: 0 0 100%;                     /* 每页正好占满一屏宽，两行作为一个整体一起滑动 */
  max-width: 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* 热门游戏第一行上移：padding-top 6→0（配合 .cat-grid padding-bottom 4→1，共上移 9px），
     省下的高度转成 row-gap 9px，使第一行在「分类行」与「第二行」之间视觉居中；
     第二行位置、宫格总高、翻页点与下方秒杀卡位置均保持不变。 */
  padding: 0 6px 4px 6px;
  row-gap: 9px;
}
.game-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 10px; }
.game-icon {
  width: 45px; height: 45px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; font-weight: 800;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .10);
  overflow: hidden; text-align: center; line-height: 1.1;
}
.game-item .game-name {
  font-size: 12.5px; color: #222; font-weight: 500;
  max-width: 70px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 游戏图标（真实图片素材 · 统一尺寸） */
.game-img {
  width: 45px; height: 45px; display: block;
  object-fit: cover;              /* 强制填满格子，保证每张一样大 */
  border-radius: 10px;
  background: #fff;
  flex: none;
}
.list-game-img {
  width: 42px; height: 42px; display: block; flex: none;
  object-fit: cover; border-radius: 9px; background: #fff;
}
/* “2000+ 全部游戏”：纯黑大字，与图标垂直居中对齐 */
.all-games {
  width: 45px; height: 45px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #222; font-weight: 800; font-style: italic;
  letter-spacing: 0; white-space: nowrap;
}
/* “2000+ 全部游戏”白色图标块 */
.g-all {
  background: #ffffff;
  color: #222;
  border: 1.5px solid #ececf0;
  font-size: 15px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0;
  white-space: nowrap;
  padding: 0 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}
.all-games .plus { font-size: 14px; display: block; text-align: right; line-height: 1; margin-bottom: 2px; }

.g-valorant  { background: linear-gradient(135deg, #ff6b6b, #e8413c); }
.g-gamepeace { background: linear-gradient(135deg, #4a4a52, #2b2b31); font-size: 15px; }
.g-delta     { background: linear-gradient(135deg, #2e3340, #171a22); }
.g-solo      { background: linear-gradient(135deg, #4d3a8e, #2c2060); font-size: 12px; padding: 4px; }
.g-hok       { background: linear-gradient(135deg, #d8a24a, #a06a1e); }
.g-tomorrow  { background: linear-gradient(135deg, #e0483e, #9c1f1f); font-size: 13px; }
.g-roco      { background: linear-gradient(135deg, #6db9ff, #2f7fe8); }
.g-crossfire { background: linear-gradient(135deg, #7a6a55, #4d4030); }
.g-naruto    { background: linear-gradient(135deg, #ff9436, #e85d04); }

.dots { display: flex; justify-content: center; gap: 5px; padding: 6px 0 16px 0; }
.dots span { width: 16px; height: 5px; border-radius: 3px; background: #ffd9b3; cursor: pointer; transition: background .2s; }
.dots span.active { background: #ff8d1f; }

/* ===========================================================
   内容区 / 卡片
   =========================================================== */
.content-bg {
  background: var(--bg);
  border-radius: 16px 16px 0 0;
  padding: 14px 12px 20px 12px;
  margin-top: -2px;
}
.page-body { padding: 12px 12px 20px 12px; }

.section-card, .card {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}

.sec-head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.sec-title { font-size: 17px; font-weight: 800; color: var(--text); }
.sec-sub { font-size: 12px; color: var(--red); font-weight: 600; }
.sec-more { margin-left: auto; font-size: 12px; color: var(--text-3); font-weight: 400; }

.flash-row { display: flex; gap: 12px; }
.flash-card { flex: 1.4; }
.side-col { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.side-card { flex: 1; }

.live-line { display: flex; align-items: center; gap: 5px; margin: 8px 0 4px 0; font-size: 11.5px; color: var(--text-2); }
.avatars { display: flex; }
.avatars i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #fff; margin-left: -5px; }
.avatars i:first-child { margin-left: 0; }
.avatars i:nth-child(1) { background: #ffb45e; }
.avatars i:nth-child(2) { background: #6f8fff; }
.avatars i:nth-child(3) { background: #ff8f8f; }

.side-title { font-size: 15.5px; font-weight: 800; color: var(--text); }
.side-desc { font-size: 11.5px; color: #888; margin-top: 5px; line-height: 1.5; }

/* 商品占位区（暂无商品） */
.goods-placeholder {
  border: 1.5px dashed #e3e5ea;
  border-radius: 10px;
  background: #fafbfc;
  min-height: 110px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  color: #b8bdc7; font-size: 12.5px;
  margin-top: 8px;
  text-align: center;
}
.goods-placeholder .ph-icon { font-size: 26px; opacity: .7; }

/* ===========================================================
   放心用心省心
   =========================================================== */
.assure-card { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.assure-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.assure-title {
  font-size: 17px; font-weight: normal;
  font-family: 'TitleKuaiLe', -apple-system, "PingFang SC", sans-serif;
  letter-spacing: 0;
  background: none; -webkit-background-clip: initial; background-clip: initial;
  color: #5e4426;
}
.insured { font-size: 12px; color: #333; }
.insured b { color: #ff5f1f; font-size: 15px; }
.assure-grid { display: flex; gap: 12px; }
.assure-item { flex: 1; background: #fff; border-radius: 10px; padding: 12px; }
.assure-item h4 {
  font-size: 13.5px; color: #222; font-weight: 800;
  display: flex; align-items: center; justify-content: space-between;
  white-space: nowrap;
}
.arrow { color: #c9c9c9; font-size: 13px; font-weight: 400; }
.assure-item .desc { font-size: 11px; color: #444; margin-top: 6px; line-height: 1.65; }
.hl { color: #ff5f1f; font-weight: 800; font-style: normal; }
.tag-contract {
  display: inline-block; font-size: 9px; color: #fff;
  background: #ff7a2e; border-radius: 3px; font-weight: 600;
  padding: 1px 3px; margin-left: 4px; vertical-align: 1px;
}
.assure-media {
  margin-top: 10px; border-radius: 8px;
  background: linear-gradient(135deg, #2a2a2e, #111114);
  height: 84px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .85); font-size: 13px; gap: 8px;
}
.play-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}

/* ===========================================================
   内页标题栏
   =========================================================== */
.nav-bar {
  background: linear-gradient(180deg, #ff9d3c, var(--orange));
  height: 50px;
  display: flex; align-items: center;
  padding: 0 14px;
  color: #fff;
  position: sticky; top: 0; z-index: 50;
}
.nav-bar .back { font-size: 20px; width: 28px; font-weight: 400; }
.nav-bar .nav-title { flex: 1; text-align: center; font-size: 17px; font-weight: 700; }
.nav-bar .nav-right { width: 28px; text-align: right; font-size: 16px; }

/* ===========================================================
   我要买：筛选
   =========================================================== */
.filter-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 12px 12px 8px 12px;
  background: #fff;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 15px;
  background: #f4f5f7;
  color: var(--text-2);
  border: 1px solid transparent;
  font-weight: 500;
}
.chip.active { background: #fff3e6; color: var(--orange-dark); border-color: #ffd7ab; font-weight: 700; }

.filter-row {
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px 12px 12px;
  background: #fff;
  font-size: 13px; color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.filter-row select {
  font-family: inherit; font-size: 13px; color: var(--text-2);
  border: none; background: #f4f5f7; border-radius: 8px;
  padding: 5px 8px; outline: none;
}

/* 商品网格占位 */
/* ===========================================================
   我要买（复刻版：顶栏/分类/筛选/排序/商品卡）
   =========================================================== */
body.buy-page { background: #fff; }   /* 照参考图：整页白底 */

.buy-top { display: flex; align-items: center; gap: 9px; padding: 10px 12px 8px; background: #fff; }
.b-avatar {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  background: #ffedd2; flex: none;
}
.b-avatar img { width: 100%; height: 100%; object-fit: cover; }
.b-search {
  flex: 1; min-width: 0; height: 34px;
  background: #fff; border: 1px solid #ececec; border-radius: 17px;
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px; font-size: 13.5px; color: #c0c4cc;
  white-space: nowrap; overflow: hidden;
}
.bs-icon { font-size: 14px; }
.b-tool { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; color: #333; flex: none; }
.bt-ico {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
}
.bt-ico svg { width: 26px; height: 26px; display: block; }

.cat-tabs { display: flex; background: #fff; padding: 4px 6px 0; }
.ct {
  position: relative; flex: 1; text-align: center;
  font-size: 16px; font-weight: 600; color: #a6a6a6;   /* 参考图：未选中灰字 */
  padding: 9px 0 12px;
}
.ct.active { color: #111; font-weight: 800; }          /* 参考图：选中黑字（不是橙字） */
.ct.active::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 5px; width: 24px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #ffb03a, #ff7a1f);
}
.hot-tag {
  position: absolute; top: -1px; right: 4px;
  font-style: normal; font-size: 8.5px; font-weight: 700;
  color: #fff; background: #ff3b30;
  border-radius: 6px 6px 6px 2px; padding: 1px 4px;
}

.quick-chips { display: flex; gap: 11px; background: #fff; padding: 9px 12px 13px; overflow-x: auto; }
.quick-chips::-webkit-scrollbar { display: none; }
.qc {
  flex: none; display: flex; align-items: center; gap: 2px;
  font-size: 14.5px; font-weight: 700; color: #1a1a1a;   /* 参考图：浅灰胶囊 + 黑粗字 */
  background: #f2f3f5; border-radius: 999px; padding: 7px 14px;
  white-space: nowrap; cursor: pointer;
}
.qc.active { background: #ffefe1; color: #e0620d; }
.qc-zap { flex: none; }

.sort-row {
  display: flex; align-items: center; gap: 27px;
  padding: 11px 14px; font-size: 16px; font-weight: 700; color: #26282c;  /* 参考图：大号黑粗 */
  background: #fff;
}
.sr { white-space: nowrap; }
.sr.active { color: #111; font-weight: 800; }
.sr-arrow { font-style: normal; font-size: 12px; margin-left: 2px; }
.srf { vertical-align: -2px; margin-left: 2px; }
.sr-icon { margin-left: auto; display: flex; align-items: center; }

.buy-body { padding-top: 2px; }

/* 商品卡（图集 + 标签 + 标题 + 价格）
   ⚠️ 这里绝对不能写 background：.pcard 是 <a>（行内元素），它的子元素又全是块级，
   于是浏览器的「行内盒」只剩 padding 撑出的一小块（≈24×23px），白底就只画在这一小块上，
   看起来就是一块白斑压在价格上（2026-10-15 用户反馈「白色的东西挡住了价格」）。
   若以后要让商品卡变成白底圆角卡，必须同时加 display: block，只加 background 会复发。 */
.pcard {
  background: transparent; border-radius: 12px;
  padding: 12px; margin-bottom: 10px;
}
.pc-img { width: 100%; display: block; border-radius: 10px; background: #0e1626; }
.pc-dots { display: flex; justify-content: center; gap: 4px; padding: 8px 0 0; }
.pc-dots i { width: 5px; height: 5px; border-radius: 3px; background: #dcdfe4; }
.pc-dots i.on { width: 12px; background: #ff7a1f; }
.pc-tags { display: flex; gap: 6px; padding-top: 8px; flex-wrap: wrap; }
.pc-tags span {
  font-size: 11px; color: #ff7a1f;
  border: 1px solid #ffc998; background: #fff7ef;
  border-radius: 4px; padding: 2px 6px; white-space: nowrap;
}
.pc-title {
  font-size: 15px; font-weight: 700; color: #1a1a1a; line-height: 1.5;
  margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-feat {
  font-size: 12px; color: #ff6a2b; margin-top: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pc-foot { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.pc-price { color: #ff5c1f; font-size: 20px; font-weight: 800; }
.pc-price i { font-style: normal; font-size: 13px; font-weight: 700; }
.pc-skin { font-size: 11px; color: #b0b4bb; }
.pc-meta { margin-left: auto; font-size: 11px; color: #b0b4bb; flex: none; }

/* 参考图版式（2026-10-16）：翻页点叠图上 + 服务标签行 + 价格行右灰字 + 收藏行 */
.pc-imgwrap { position: relative; }
.pc-imgwrap .pc-dots { position: absolute; left: 0; right: 0; bottom: 9px; padding: 0; }
.pc-imgwrap .pc-dots i { background: rgba(255, 255, 255, .78); }
.pc-imgwrap .pc-dots i.on { background: #ff7a1f; }
.pc-badges { display: flex; gap: 6px; padding-top: 10px; flex-wrap: wrap; }
.pc-badges span {
  font-size: 11px; color: #ff7a1f; background: #fff7ef;
  border: 1px solid #ffc998; border-radius: 4px;
  padding: 2.5px 7px; white-space: nowrap;
}
/* 真螃蟹属性行（2026-10-17 图2）：灰字 + 竖线分隔，超出一行截断 */
.pc-meta2 {
  display: flex; align-items: center; gap: 5px;
  margin-top: 7px; font-size: 11px; color: #8a8a8a;
  white-space: nowrap; overflow: hidden;
}
.pc-meta2 em { font-style: normal; flex: none; }
.pc-meta2 i { font-style: normal; color: #e3e3e3; flex: none; }
.pc-meta2 em:last-child { overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.buy-body .pc-title { font-size: 15.5px; font-weight: 800; line-height: 20px; margin-top: 9px; color: #111; }
.buy-body .pc-feat { color: #dd8f37; font-size: 13px; margin-top: 10px; }
.pc2-foot { align-items: baseline; margin-top: 9px; }
.pc2-cut { font-size: 12.5px; color: #ff5f45; font-weight: 700; flex: none; }
.pc2-pub { margin-left: auto; font-size: 12px; color: #8f8f8f; flex: none; }
.pc2-fav { font-size: 12px; color: #8f8f8f; margin-top: 7px; }
.buy-count.is-hidden { display: none; }

/* 底部导航游戏图标 */
.tabbar .t-img { width: 23px; height: 23px; border-radius: 6px; object-fit: cover; display: block; }

.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.goods-grid .goods-placeholder { min-height: 150px; margin-top: 0; }

/* ===========================================================
   商品列表（王者荣耀 · 10件）
   =========================================================== */
.list-head { display: flex; align-items: baseline; gap: 8px; padding: 2px 2px 10px; }
.lh-game { font-size: 17px; font-weight: 800; color: #222; }
.lh-count { font-size: 12px; color: #b0b4bb; }

.goods-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  display: flex; gap: 10px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
}
.goods-thumb {
  width: 104px; height: 104px;
  border-radius: 10px; object-fit: cover;
  flex: none; background: #f2f3f5;
}
.goods-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.goods-title {
  font-size: 13.5px; color: #222; line-height: 1.45; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.goods-tags { display: flex; gap: 5px; margin-top: 7px; flex-wrap: wrap; }
.goods-tags span {
  font-size: 10.5px; color: #ff8d1f; background: #fff4e8;
  border-radius: 4px; padding: 2px 6px; white-space: nowrap;
}
.goods-foot { margin-top: auto; display: flex; align-items: center; gap: 6px; }
.goods-price { color: #ff4d2e; font-weight: 800; font-size: 18px; }
.goods-price i { font-style: normal; font-size: 12px; font-weight: 700; }
.goods-orig { color: #c0c4cc; font-size: 11.5px; text-decoration: line-through; }
.goods-btn {
  margin-left: auto;
  background: linear-gradient(90deg, #ffab45, #ff8d1f);
  color: #fff; font-size: 12.5px; font-weight: 700;
  border-radius: 14px; padding: 6px 14px;
}

/* ===========================================================
   卖道具：表单
   =========================================================== */
.form-item {
  display: flex; align-items: center;
  min-height: 52px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.form-item:last-child { border-bottom: none; }
.form-item > label { width: 86px; color: #333; font-weight: 600; flex: none; }
.form-item input, .form-item textarea, .form-item select {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 14.5px; color: var(--text);
  resize: none;
}
.form-item input::placeholder, .form-item textarea::placeholder { color: #c2c6cd; }
.form-item .unit { color: var(--text-2); font-size: 14px; margin-left: 4px; }
.upload-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.upload-box {
  width: 84px; height: 84px; border-radius: 10px;
  border: 1.5px dashed #e0e3e8; background: #fafbfc;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: #b8bdc7; font-size: 11px;
  position: relative; box-sizing: border-box; overflow: hidden;
  cursor: pointer;                 /* 整格可点：点击即唤起系统选图 */
  -webkit-tap-highlight-color: transparent;
}
.upload-box:active { border-color: #ffb765; background: #fff8ef; }
.upload-box .plus { font-size: 22px; line-height: 1; }
.upload-box input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
/* 已选中的截图：实线边 + 铺满预览图 + 右上角删除 */
.upload-box.is-img { border-style: solid; border-color: #eceef2; background: #fff; padding: 0; }
.upload-box.is-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-box .ub-del {
  position: absolute; top: 3px; right: 3px; z-index: 2;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 13px; font-style: normal; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.submit-btn {
  width: 100%; height: 46px; border: none; border-radius: 23px;
  background: linear-gradient(90deg, var(--orange-light), var(--orange));
  color: #fff; font-size: 16px; font-weight: 700;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(255, 140, 30, .3);
}
.tip-text { font-size: 11.5px; color: var(--text-3); line-height: 1.7; margin-top: 10px; }

/* ===========================================================
   消息 / 我的 列表
   =========================================================== */
.list-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child { border-bottom: none; }
.list-icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; font-weight: 700;
}
.list-main { flex: 1; min-width: 0; }
.list-title { font-size: 15px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; }
.list-desc {
  font-size: 12.5px; color: var(--text-3); margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-meta { text-align: right; flex: none; }
.list-time { font-size: 11.5px; color: #b8bdc7; }
.dot-red {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff;
  font-size: 10px; min-width: 16px; height: 16px;
  border-radius: 8px; padding: 0 4px; margin-top: 6px;
}

.bg-sys   { background: linear-gradient(135deg, #ffb03a, #ff8f24); }
.bg-order { background: linear-gradient(135deg, #6db9ff, #2f7fe8); }
.bg-kefu  { background: linear-gradient(135deg, #6fe3a0, #2fc76f); }
.bg-trade { background: linear-gradient(135deg, #ff8f8f, #ff5f5f); }

/* 我的 */
.profile-head {
  background: linear-gradient(180deg, #ff9d3c, var(--orange));
  padding: 20px 16px 58px 16px;
  display: flex; align-items: center; gap: 14px;
}
.avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe3a8, #ffc35e);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; flex: none;
  border: 2px solid rgba(255, 255, 255, .8);
}
.profile-info { color: #fff; flex: 1; }
.profile-name { font-size: 18px; font-weight: 700; }
.profile-sub { font-size: 12.5px; opacity: .92; margin-top: 5px; }
.profile-edit {
  font-size: 12px; color: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 12px; padding: 4px 10px;
}
.pull-up { margin-top: -44px; position: relative; z-index: 2; }

.order-status { display: flex; }
.order-status .os-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-2);
  position: relative;
}
.order-status .os-icon { font-size: 22px; }
.order-status .os-badge {
  position: absolute; top: -4px; left: 58%;
  background: var(--red); color: #fff;
  font-size: 9px; min-width: 15px; height: 15px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

/* ===========================================================
   底部导航
   =========================================================== */
.tabbar {
  position: fixed;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--maxw);
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex; align-items: flex-end;
  height: var(--tabbar-h);
  padding-bottom: 6px;
  z-index: 100;
}
.tab {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px; color: var(--text-3);
  position: relative;
}
.tab .t-icon { font-size: 23px; line-height: 1; }
/* 底部导航 PNG 图标（用户指定素材）：未选中灰化，选中保留原色 */
.tab .t-icon .t-png { width: 25px; height: 25px; display: block; object-fit: contain; }
.tab:not(.active) .t-icon .t-png { filter: grayscale(1); opacity: .62; }
.tab.active { color: var(--orange); font-weight: 700; }
.tab .red-dot {
  position: absolute; top: -3px; right: 22%;
  background: var(--red); color: #fff;
  font-size: 9px; min-width: 15px; height: 15px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.sell-btn-wrap {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.sell-btn {
  width: 54px; height: 54px; border-radius: 50%;
  background: none; border: 0;
  box-shadow: 0 4px 12px rgba(255, 130, 0, .35);
  margin-top: -24px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.sell-btn .t-sell { width: 54px; height: 54px; display: block; border-radius: 50%; }

/* 空态 */
.empty {
  padding: 50px 20px; text-align: center; color: #b8bdc7; font-size: 13px;
}
.empty .e-icon { font-size: 40px; display: block; margin-bottom: 12px; opacity: .6; }

/* ===========================================================
   开屏页（进入网站时显示）
   =========================================================== */
.splash {
  position: fixed; inset: 0;
  z-index: 999;
  /* 照参考图 2026-10-19：近白底 + 左上/右中两团很淡的暖色光晕 */
  background:
    radial-gradient(52% 38% at 12% 10%, rgba(255,193,146,.20), rgba(255,193,146,0) 72%),
    radial-gradient(46% 32% at 90% 56%, rgba(255,203,148,.16), rgba(255,203,148,0) 72%),
    linear-gradient(180deg, #fefdf9 0%, #fefefc 55%, #fefefc 100%);
  display: flex; flex-direction: column; align-items: center;
  transition: opacity .5s ease;
  max-width: var(--maxw);
  margin: 0 auto;
}
.splash.hide { opacity: 0; pointer-events: none; }
.splash-title {
  margin-top: 18.4vh;
  text-align: center;
  font-family: 'TitleKuaiLe', -apple-system, "PingFang SC", sans-serif;
  font-size: 31px; line-height: 1.55;
  color: #2e2a26;
  letter-spacing: 1.5px;
  -webkit-text-stroke: 0.4px #2e2a26;
}
.splash-mascot {
  width: 167px; height: auto;
  margin-top: 23px;
  animation: splashFloat 2.2s ease-in-out infinite;
}
@keyframes splashFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.splash-logo {
  margin-top: auto;
  margin-bottom: 9.4vh;
  display: flex; align-items: center; gap: 5px;
}
.splash-logo-ico {
  width: 46px; height: auto;
  object-fit: contain;
  flex: none;
}
.splash-logo-text { display: flex; flex-direction: column; gap: 2px; }
.splash-logo-text .sl-name {
  font-family: 'TitleKuaiLe', -apple-system, "PingFang SC", sans-serif;
  font-size: 17.5px; color: #2e2a26; letter-spacing: 1px;
  -webkit-text-stroke: 0.3px #2e2a26;
}
.splash-logo-text .sl-domain {
  font-family: 'TitleKuaiLe', -apple-system, "PingFang SC", sans-serif;
  font-size: 16px; color: #f06a26; letter-spacing: 5px; font-weight: 700;
}

/* ===========================================================
   搜索页
   =========================================================== */
.search-header {
  background: linear-gradient(180deg, #ff9d3c, var(--orange));
  padding: 10px 14px 14px 14px;
  position: sticky; top: 0; z-index: 50;
}
.search-header .search-bar { margin-top: 0; }
.search-header .row {
  display: flex; align-items: center; gap: 10px;
}
.search-header .back {
  color: #fff; font-size: 20px; flex: none; width: 22px; text-align: center;
}
.search-header .search-bar { flex: 1; }

.hot-words { display: flex; flex-wrap: wrap; gap: 9px; }
.hot-words .chip { background: #f4f5f7; }

.search-count {
  font-size: 12.5px; color: var(--text-3);
  padding: 4px 4px 10px 4px;
}
.search-count b { color: var(--orange-dark); font-weight: 800; }

.mini-list { margin-top: -2px; }

/* ===========================================================
   我的页面（复刻版）
   =========================================================== */
body.mine {
  background: #fff;
}
.gear-row { display: flex; justify-content: flex-end; padding: 12px 16px 0; }
.gear-row .gear { font-size: 22px; opacity: .7; }

/* 我的页头部白卡：头像行 + 四大包赔同属一张卡（照真实螃蟹；登录与否都一样，
   登录后只把昵称换成真实昵称，不再多出 Lv/手机号/退出登录那一行） */
.mine-head {
  background: #fff; border-radius: 16px;
  margin: 0 12px 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
/* 原来 .profile-card 是浮在页面上的独立块（自带 0 12px 外边距），
   现在它被包进白卡 .mine-head，外边距必须清掉，否则头像/权益图会内缩一圈。 */
.mine-head .profile-card { margin: 0; padding: 16px 16px 12px; background: transparent; }
.mine-head .benefits-card {
  background: transparent; border-radius: 0;
  margin: 0; padding: 2px 4px 14px;
}
.profile-card { display: flex; align-items: center; gap: 12px; padding: 6px 16px 16px; }
.avatar-svg {
  width: 62px; height: 62px; border-radius: 50%;
  background: #ffedd2; flex: none; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.avatar-svg svg { width: 100%; height: 100%; display: block; }
.profile-info2 { flex: 1; min-width: 0; }
.profile-name2 { font-size: 20px; font-weight: 800; color: #222; }
.view-id {
  display: inline-flex; align-items: center; gap: 3px;
  margin-top: 8px; font-size: 11px; color: #ff8d1f;
  border: 1px solid #ffc998; border-radius: 10px;
  padding: 1px 8px; background: #fff;
}
.rights-card {
  width: 148px; flex: none; border-radius: 12px;
  background: linear-gradient(135deg, #4a3f33, #161311);
  color: #ffd9a0; padding: 9px 10px;
  position: relative; overflow: hidden;
}
.rights-card .rc-title { font-size: 13.5px; font-weight: 800; color: #ffdf9e; }
.rights-card .rc-sub { font-size: 10.5px; margin-top: 4px; opacity: .85; }
.rights-card .rc-mascot { position: absolute; right: -2px; bottom: -6px; font-size: 32px; }

.benefits-card { background: #fff; border-radius: 16px; margin: 0 12px 12px; padding: 14px 4px; display: flex; }
.benefit { flex: 1; text-align: center; padding: 2px 2px; }
.benefit .b-icon { font-size: 20px; line-height: 1; }
.benefit h5 { font-size: 14px; font-weight: 800; color: #222; margin-top: 6px; white-space: nowrap; }
.benefit p { font-size: 10.5px; color: #b0b4bb; margin-top: 4px; white-space: nowrap; }

.tools-card { background: #fff; border-radius: 16px; margin: 0 12px 12px; padding: 16px 4px; display: flex; }
.tool {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 12.5px; color: #333;
}
.tool svg { width: 26px; height: 26px; display: block; }

.trade-card { background: #fff; border-radius: 16px; margin: 0 12px 12px; padding: 16px 10px 12px; }
.trade-grid { display: flex; }
/* 交易行图标：改用用户提供的素材图（图片自带橙色主体 + 深灰把手）。
   旧的「.tile 橙块 + 白色字符」写法已废弃删除 —— 字符图标在部分手机上会渲染成
   emoji 变体（✔ 变深色字形、✎ 几乎看不见），这是本次换成素材图的根因。
   尺寸比「收藏/历史/钱包/券包/合同」那一行（盒 28px、墨迹 26px）略大一点点：
   盒 34x34、墨迹约 26~31px、间距 8px。
   素材在 tools/make_trade_icons.py 里按「图形面积」归一化（不是按宽度，否则钱袋扁、
   盾牌窄会看起来一大一小），5 个图标视觉分量相同，并自动留边防止把手/投影被裁。 */
.trade-grid .tool img {
  width: 34px; height: 34px; display: block; object-fit: contain;
}
.trade-grid .tool { gap: 8px; font-size: 12.5px; color: #333; }

.menu-card { background: #fff; border-radius: 16px; margin: 0 12px 16px; padding: 18px 4px 6px; }
.menu-grid { display: flex; margin-bottom: 20px; }

/* ===========================================================
   商品详情页（复刻螃蟹商详版式）
   =========================================================== */
body.detail-page { background: #f4f5f7; padding-bottom: 74px; }

/* 图集轮播 */
.d-gallery { position: relative; background: #0e1626; }
.d-swiper {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.d-swiper::-webkit-scrollbar { display: none; }
.d-swiper img {
  flex: 0 0 100%; width: 100%; scroll-snap-align: center;
  display: block; background: #0e1626;
}
.d-count {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(0, 0, 0, .45); color: #fff;
  font-size: 11.5px; border-radius: 11px; padding: 3px 10px;
}
.d-nav {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.dn-right { display: flex; gap: 8px; }
.dn-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0, 0, 0, .38); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; text-decoration: none; cursor: pointer;
}
.dn-btn i { font-size: 18px; font-style: normal; line-height: 1; }
.dn-btn.on { background: rgba(255, 60, 80, .9); }

/* 通用卡片 */
.d-card { background: #fff; border-radius: 12px; margin: 10px 10px 0; padding: 14px; }
.ds-head { display: flex; align-items: center; margin-bottom: 12px; }
.ds-title { font-size: 16px; font-weight: 800; color: #1a1a1a; }
.ds-more { margin-left: auto; font-size: 12px; color: #b0b4bb; }

/* 价格卡 */
.d-price-card { padding-bottom: 12px; }
.d-price-line { display: flex; align-items: baseline; gap: 8px; }
.d-price { color: #ff2e4d; font-size: 30px; font-weight: 800; }
.d-price i { font-style: normal; font-size: 16px; font-weight: 700; }
.d-orig { color: #b0b4bb; font-size: 13px; }
.d-badge {
  font-size: 10.5px; font-weight: 700; color: #fff;
  border-radius: 4px 4px 4px 0; padding: 2px 6px; white-space: nowrap;
}
.d-badge.miaosha { background: linear-gradient(90deg, #ff4d2e, #ff7a1f); }
.d-views { margin-left: auto; font-size: 11px; color: #b0b4bb; flex: none; }
.d-tags { display: flex; gap: 6px; padding-top: 10px; flex-wrap: wrap; }
.d-tags span {
  font-size: 11px; color: #ff7a1f; border: 1px solid #ffc998;
  background: #fff7ef; border-radius: 4px; padding: 2px 6px; white-space: nowrap;
}
.d-title { font-size: 16.5px; font-weight: 700; color: #1a1a1a; line-height: 1.55; margin-top: 9px; }
.d-feat { font-size: 12.5px; color: #ff6a2b; margin-top: 7px; line-height: 1.6; }
.d-skin { font-size: 11.5px; color: #b0b4bb; margin-top: 7px; }

/* 保障服务 */
.ds-grid { display: flex; gap: 8px; }
.ds-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: #fff8f0; border-radius: 10px; padding: 11px 4px;
  font-size: 12px; color: #8a5a2a; font-weight: 600;
}
.ds-item i { font-style: normal; font-size: 20px; }

/* 卖家 */
.d-seller { display: flex; align-items: center; gap: 10px; }
.dseller-ava {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #ffb03a, #ff7a1f);
  color: #fff; font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.dseller-main { flex: 1; min-width: 0; }
.dseller-name {
  font-size: 15px; font-weight: 700; color: #1a1a1a;
  display: flex; align-items: center; gap: 6px;
}
.dseller-badge {
  font-size: 9.5px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #ffb03a, #ff7a1f);
  border-radius: 8px; padding: 1px 6px; flex: none;
}
.dseller-meta { font-size: 11.5px; color: #b0b4bb; margin-top: 4px; }
.dseller-btn {
  flex: none; font-size: 12.5px; font-weight: 700; color: #ff7a1f;
  border: 1px solid #ffc998; border-radius: 15px; padding: 6px 12px;
}

/* 账号参数 */
.dp-row {
  display: flex; padding: 10px 0; font-size: 13.5px;
  border-bottom: 1px solid #f4f5f7;
}
.dp-row:last-child { border-bottom: none; padding-bottom: 2px; }
.dp-k { width: 96px; flex: none; color: #999; }
.dp-v { flex: 1; color: #222; font-weight: 600; }

/* 账号展示图集 */
.d-gallery-card .dg-img { width: 100%; display: block; border-radius: 10px; margin-bottom: 10px; }
.d-gallery-card .dg-img:last-child { margin-bottom: 0; }

/* 商品描述 */
.d-desc p { font-size: 13.5px; color: #444; line-height: 1.8; margin: 0 0 6px; }
.d-desc p:last-child { margin-bottom: 0; }

/* 风险报告 */
.dr-line {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #333; padding: 6px 0;
}
.dr-line i {
  font-style: normal; width: 17px; height: 17px; border-radius: 50%;
  background: #2fc76f; color: #fff; font-size: 11px;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.dr-tip {
  margin-top: 8px; font-size: 11.5px; color: #b0b4bb;
  background: #f7f8fa; border-radius: 8px; padding: 9px 10px; line-height: 1.7;
}

/* 底部操作栏 */
.d-bottom {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--maxw);
  background: #fff; border-top: 1px solid var(--line);
  display: flex; align-items: center;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  z-index: 20;
}
.db-left { display: flex; align-items: center; gap: 2px; }
.db-left em { font-style: normal; font-size: 10.5px; color: #666; margin-right: 8px; }
.db-ico {
  width: 34px; height: 30px; display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 19px; text-decoration: none; cursor: pointer;
}
.db-ico.on i { color: #ff3c50; }
.db-btns { margin-left: auto; display: flex; gap: 9px; }
.db-btn {
  font-size: 14.5px; font-weight: 800; border-radius: 21px;
  padding: 11px 20px; cursor: pointer; white-space: nowrap;
}
.db-btn.ghost {
  color: #ff7a1f; background: #fff3e6; border: 1px solid #ffd7ab;
}
.db-btn.main {
  color: #fff; background: linear-gradient(90deg, #ff9d3c, #ff6a1f);
}

/* ===========================================================
   商品详情页 v2（按螃蟹商详截图逐块复刻）
   =========================================================== */
body.detail-page { background: #f4f5f7; padding-bottom: 82px; }

/* 顶部导航 */
.pd-top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; background: #fff;
}
.pdt-btn {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: #f4f5f7; color: #333; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; text-decoration: none; cursor: pointer; line-height: 1;
}
.pd-top .pdt-right { display: flex; gap: 8px; }
.pdt-btn.on { background: #ff3c50; color: #fff; }

/* 价格区 */
.pd-price-sec { background: #fff; padding: 2px 14px 12px; }
.pd-price-line { display: flex; align-items: baseline; gap: 10px; }
.pd-price { color: #ff2e4d; font-size: 30px; font-weight: 800; }
.pd-price i { font-style: normal; font-size: 16px; font-weight: 700; }
.pd-meta { margin-left: auto; font-size: 11.5px; color: #b0b4bb; }
.pd-title {
  font-size: 16px; font-weight: 700; color: #1a1a1a; line-height: 1.55; margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pd-title i { font-style: normal; color: #b0b4bb; font-weight: 400; }
.pd-shiming { display: flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 12.5px; color: #888; }
.pd-shiming i { font-style: normal; color: #b0b4bb; font-size: 13px; }

/* 找回包赔深色横幅 */
.pd-banner {
  margin: 0 14px; border-radius: 10px; padding: 10px 12px;
  background: linear-gradient(90deg, #2b2620, #4a4034);
  display: flex; align-items: center; gap: 9px;
}
.pd-banner .pdb-ico { font-size: 20px; }
.pd-banner .pdb-t { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.pd-banner b { color: #ffd9a0; font-size: 13.5px; }
.pd-banner em { font-style: normal; color: #cbb896; font-size: 11px; }
.pd-banner i { font-style: normal; color: #ffd9a0; }

/* 标签chips */
.pd-chips { display: flex; gap: 7px; padding: 11px 14px; background: #fff; margin-top: 8px; overflow-x: auto; }
.pd-chips span {
  flex: none; font-size: 12px; font-weight: 600; color: #8a5a2a;
  background: #fdf3e7; border-radius: 5px; padding: 6px 10px;
}
.pd-renlian {
  background: #fff; padding: 11px 14px; display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid #f4f5f7; font-size: 12.5px;
}
.pd-renlian i { font-style: normal; font-size: 14px; }
.pd-renlian b { color: #333; font-weight: 600; }
.pd-renlian em { font-style: normal; color: #999; }
.pd-arr { margin-left: auto; color: #c8c8cc; font-size: 16px !important; }

/* 通用卡片 */
.pd-card { background: #fff; border-radius: 12px; margin: 10px 10px 0; padding: 14px; }
.pd-card-head { display: flex; align-items: center; margin-bottom: 11px; }
.pd-card-title { font-size: 16px; font-weight: 800; color: #1a1a1a; }
.pd-card-more { margin-left: auto; font-size: 11.5px; color: #b0b4bb; }

/* 优势分析 */
.pd-adv { display: flex; align-items: center; gap: 7px; flex-wrap: nowrap; overflow: hidden; }
.pd-adv-t { font-size: 14.5px; font-weight: 800; color: #1a1a1a; flex: none; }
.pd-adv-s {
  flex: none; width: 18px; height: 18px; border-radius: 4px;
  background: linear-gradient(135deg, #ffb03a, #ff7a1f); color: #fff;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.pd-adv-d { font-size: 12px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-liang { display: flex; align-items: center; gap: 6px; margin-top: 10px; overflow: hidden; }
.pd-liang-tag {
  flex: none; font-size: 10.5px; font-weight: 700; color: #ff7a1f;
  border: 1px solid #ffc998; background: #fff7ef; border-radius: 4px; padding: 1px 5px;
}
.pd-liang-n { flex: none; font-size: 11px; color: #ff7a1f; font-weight: 700; }
.pd-liang span:not(.pd-liang-tag):not(.pd-liang-n) {
  flex: none; font-size: 11.5px; color: #555; background: #f5f6f8;
  border-radius: 4px; padding: 3px 7px; white-space: nowrap;
}

/* 官方验号 */
.pd-yh-card { background: linear-gradient(180deg, #fffaf3, #fff); }
.pd-yh-head { display: flex; align-items: flex-start; gap: 10px; }
.pd-yh-title { font-size: 20px; font-weight: 800; color: #1a1a1a; }
.pd-yh-sub { font-size: 11.5px; color: #b0b4bb; margin-top: 4px; }
.pd-yh-pass { font-size: 12.5px; color: #666; margin-top: 6px; }
.pd-yh-stamp {
  flex: none; margin-left: auto; width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid #ff5a3c; color: #ff5a3c; font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; text-align: center;
  line-height: 1.25; transform: rotate(-14deg); opacity: .85;
}
.pd-yh-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px 8px; margin-top: 14px; }
.pd-yh-grid span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pd-yh-grid em { font-style: normal; font-size: 11px; color: #b0b4bb; white-space: nowrap; }
.pd-yh-grid b { font-size: 13.5px; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 吸顶子导航 */
.pd-subnav {
  display: flex; gap: 22px; background: #fff; margin: 10px 10px 0;
  border-radius: 12px; padding: 13px 16px 0; overflow-x: auto;
}
.pd-subnav span {
  flex: none; font-size: 15px; color: #666; padding-bottom: 10px; position: relative; cursor: pointer;
}
.pd-subnav span.on { color: #111; font-weight: 800; font-size: 16.5px; }
.pd-subnav span.on::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 4px; width: 18px; height: 4px; border-radius: 2px; background: #ff7a1f;
}
.pd-subnav.stuck {
  position: sticky; top: 52px; z-index: 25; margin: 0; border-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

/* 皮肤/英雄 tab */
.pd-tabs { display: flex; align-items: center; gap: 18px; margin-bottom: 4px; }
.pd-tabs span { font-size: 16px; color: #666; padding: 2px 0 8px; position: relative; cursor: pointer; }
.pd-tabs span.on { color: #111; font-weight: 800; }
.pd-tabs span.on::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 2px; width: 16px; height: 3.5px; border-radius: 2px; background: #ff7a1f;
}
.pd-own { margin-left: auto; font-size: 12.5px; color: #666; }

/* 稀有度/职业 + chips */
.pd-filter { display: flex; gap: 9px; margin: 8px 0 10px; }
.pf {
  font-size: 13px; color: #555; border: 1px solid #e5e6ea;
  border-radius: 15px; padding: 5px 14px; cursor: pointer;
}
.pf.on { color: #ff7a1f; border-color: #ffc998; background: #fff7ef; font-weight: 700; }
.pd-skchips { display: flex; gap: 14px; padding: 2px 0 12px; overflow-x: auto; }
.sk-chip { flex: none; font-size: 13px; color: #888; cursor: pointer; position: relative; padding-bottom: 6px; }
.sk-chip.on { color: #ff7a1f; font-weight: 800; }
.sk-chip.on::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 16px; height: 3px; border-radius: 2px; background: #ff7a1f;
}

/* 皮肤分组 */
.skin-group { margin-bottom: 16px; }
.sg-head { font-size: 15px; font-weight: 800; color: #1a1a1a; margin-bottom: 10px; }
.sg-head b { font-size: 17px; }
.sg-head i { font-style: normal; font-size: 12px; color: #b0b4bb; font-weight: 400; }
.sg-right { margin-left: auto; font-size: 11px; color: #b0b4bb; font-weight: 400; float: right; }
.skin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.skin-card { min-width: 0; }
.skin-imgwrap {
  position: relative; border-radius: 8px; overflow: hidden;
  background: #1b2c4e; aspect-ratio: 3 / 3.6;
}
.skin-imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.skin-tag {
  position: absolute; top: 0; left: 0; font-size: 9.5px; font-weight: 700;
  color: #fff; padding: 2px 6px; border-radius: 8px 0 8px 0; white-space: nowrap;
}
.tg-zb { background: linear-gradient(90deg, #d8a018, #f3c74e); }
.tg-dc { background: linear-gradient(90deg, #a01f2e, #d4455a); }
.tg-cs { background: linear-gradient(90deg, #c96a12, #eda03c); }
.tg-xd { background: linear-gradient(90deg, #8f2436, #c9455f); }
.tg-sp { background: linear-gradient(90deg, #5b3aa8, #8a5cd6); }
.tg-yz { background: linear-gradient(90deg, #1f7a4a, #34a86c); }
.tg-xi { background: linear-gradient(90deg, #b06a10, #e09a2e); }
.skin-power {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  color: #fff; font-size: 9.5px; text-align: center; padding: 12px 0 3px;
}
.skin-names { padding: 4px 1px 0; text-align: center; }
.skin-names b {
  display: block; font-size: 11px; color: #333; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.skin-names em {
  display: block; font-style: normal; font-size: 10px; color: #999; margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 截图 */
.pd-shots { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow: hidden; }
.pd-shots.open { max-height: none; }
.pd-shots img { width: 100%; display: block; border-radius: 10px; background: #0e1626; }
.pd-expand {
  margin-top: 10px; text-align: center; font-size: 13px; color: #666;
  background: #f5f6f8; border-radius: 18px; padding: 9px 0; cursor: pointer;
}

/* 描述 */
.pd-verify-tip {
  font-size: 11.5px; color: #b0b4bb; background: #f7f8fa;
  border-radius: 8px; padding: 9px 10px; line-height: 1.7; margin-bottom: 10px;
}
.pd-card p { font-size: 13.5px; color: #444; line-height: 1.8; margin: 0 0 6px; }

.pd-safe { text-align: center; font-size: 11px; color: #b0b4bb; padding: 14px 0 6px; }

/* 还价浮动条 */
.pd-bargain {
  position: fixed; bottom: 74px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 20px); max-width: 460px;
  background: #fff; border-radius: 22px; padding: 7px 12px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12); z-index: 21;
  font-size: 12.5px; color: #555;
}
.pdbg-ava {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: #ffedd2; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.pdbg-x { margin-left: auto; font-style: normal; color: #c0c4cc; font-size: 16px; cursor: pointer; }

/* 底部操作栏 */
.pd-bottom {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--maxw);
  background: #fff; border-top: 1px solid var(--line);
  display: flex; align-items: center;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  z-index: 22;
}
.pdb-left { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-right: 6px; }
.pdb-left em { font-style: normal; font-size: 10px; color: #666; }
.pdb-ico { width: 30px; height: 26px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 18px; cursor: pointer; }
.pdb-ico.on i { color: #ff3c50; }
.pdb-btns { margin-left: auto; display: flex; gap: 8px; }
.pdb-btn {
  font-size: 14px; font-weight: 800; border-radius: 20px;
  padding: 10px 18px; cursor: pointer; white-space: nowrap;
}
.pdb-btn.ghost { color: #333; background: #fff; border: 1px solid #e0e0e4; }
.pdb-btn.main { color: #fff; background: linear-gradient(90deg, #ffa22e, #ff7a1f); padding: 10px 26px; }

/* ===========================================================
   扩展功能：筛选面板 / 排序菜单 / 提示条
   =========================================================== */
.gt-toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: rgba(20, 20, 22, .86); color: #fff; font-size: 13px;
  padding: 9px 18px; border-radius: 20px; z-index: 99;
  animation: gtIn .18s ease; white-space: nowrap; max-width: 84vw;
}
.gt-toast.out { opacity: 0; transition: opacity .4s; }
@keyframes gtIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

.buy-count {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-3); padding: 8px 2px 4px;
}
.buy-count b { color: var(--orange-dark); font-size: 13px; }
.buy-reset { font-style: normal; color: var(--orange-dark); margin-left: 4px; text-decoration: underline; cursor: pointer; }

.sr-arrow { font-size: 10px; margin-left: 3px; color: var(--text-3); font-style: normal; }
.sr.active .sr-arrow { color: var(--orange-dark); }

.gt-sheet { position: fixed; inset: 0; z-index: 90; }
.gs-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.gs-panel {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 100%; max-width: var(--maxw); background: #fff;
  border-radius: 16px 16px 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  max-height: 78vh; overflow-y: auto;
}
.gs-head { font-size: 16px; font-weight: 800; color: #1a1a1a; display: flex; align-items: center; margin-bottom: 6px; }
.gs-close { margin-left: auto; font-style: normal; color: var(--text-3); font-size: 20px; cursor: pointer; }
.gs-group { padding: 11px 0 4px; }
.gs-title { font-size: 13px; color: var(--text-2); font-weight: 700; margin-bottom: 9px; }
.gs-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-opt {
  font-size: 13px; color: #555; background: #f5f6f8;
  border-radius: 14px; padding: 6px 14px; cursor: pointer;
}
.gs-opt.on { color: var(--orange-dark); background: #fff3e6; font-weight: 700; }
.gs-foot { display: flex; gap: 10px; margin-top: 16px; }
.gs-btn { flex: 1; text-align: center; font-size: 15px; font-weight: 800; border-radius: 22px; padding: 11px 0; cursor: pointer; }
.gs-btn.ghost { color: #555; background: #f3f4f6; }
.gs-btn.main { color: #fff; background: linear-gradient(90deg, var(--orange-light), var(--orange-dark)); }

.gt-sortmenu {
  position: fixed; z-index: 92; background: #fff; border-radius: 10px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .16); padding: 6px; min-width: 138px;
}
.gsm-opt { display: block; font-size: 13.5px; color: #444; padding: 9px 12px; border-radius: 7px; cursor: pointer; }
.gsm-opt.on { color: var(--orange-dark); background: #fff7ef; font-weight: 700; }

/* 通用列表行（道具/充值/代练） */
.list-row2 { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-bottom: 10px; }
.lr-img { width: 58px; height: 70px; border-radius: 9px; object-fit: cover; flex: none; }
.lr-ico {
  width: 58px; height: 58px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, #fff2e2, #ffe2c4); color: #c6711f;
  font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.lr-ico.big { width: 74px; height: 74px; font-size: 22px; }
.lr-tag {
  font-style: normal; font-size: 10px; font-weight: 700; color: #ff7a1f;
  background: #fff3e6; border-radius: 4px; padding: 1px 5px; margin-left: 4px;
}
.lr-buy { flex: none; text-align: right; }
.lr-buy b { display: block; color: var(--red); font-size: 15px; font-weight: 800; }
.lr-buy span { display: inline-block; margin-top: 4px; font-size: 11px; color: #fff; background: linear-gradient(90deg, var(--orange-light), var(--orange-dark)); border-radius: 10px; padding: 3px 9px; }

/* 详情页卖家卡已在上面定义，这里补充列表视图 */
#goodsList.list-view .pcard { display: flex; gap: 11px; padding: 10px; }
#goodsList.list-view .pc-img { width: 104px; height: 78px; border-radius: 9px; flex: none; object-fit: cover; }
#goodsList.list-view .pc-dots { display: none; }
#goodsList.list-view .pc-foot { position: static; padding: 6px 0 0; }

/* ===========================================================
   卖家主页
   =========================================================== */
.sp-top {
  position: sticky; top: 0; z-index: 20; background: #fff;
  display: flex; align-items: center; padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.sp-top .back { font-size: 24px; color: #333; text-decoration: none; line-height: 1; padding: 0 6px 4px 0; }
.sp-title { font-size: 16px; font-weight: 800; color: #1a1a1a; }
.sp-share { margin-left: auto; font-size: 17px; color: #666; }

.seller-page { background: #f4f5f7; padding-bottom: 74px; }
.sl-card { padding: 15px; }
.sl-head { display: flex; align-items: center; gap: 11px; }
.sl-main { flex: 1; min-width: 0; }
.sl-name { font-size: 16px; font-weight: 800; color: #1a1a1a; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sl-badge2 { font-size: 10px; font-weight: 700; color: #c6711f; background: #fff3e6; border-radius: 8px; padding: 2px 7px; }
.sl-meta { font-size: 11.5px; color: var(--text-3); margin-top: 5px; }
.sl-stats { display: flex; margin-top: 14px; padding-top: 13px; border-top: 1px solid #f4f5f7; }
.sl-stats > div { flex: 1; text-align: center; }
.sl-stats b { display: block; font-size: 15px; color: #1a1a1a; font-weight: 800; }
.sl-stats span { font-size: 11px; color: var(--text-3); }
.sl-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.sl-tags span { font-size: 11px; color: #8a5a2a; background: #fdf3e7; border-radius: 5px; padding: 4px 9px; }

.sl-goods { display: flex; flex-direction: column; gap: 10px; }
.sl-g {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  border: 1px solid #f2f3f5; border-radius: 11px; padding: 9px;
}
.sl-g img { width: 74px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; }
.sl-g-main { flex: 1; min-width: 0; }
.sl-g-title {
  font-size: 12.5px; color: #333; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sl-g-feat { font-size: 11px; color: var(--text-3); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-g-price { flex: none; text-align: right; }
.sl-g-price b { display: block; color: var(--red); font-size: 15px; font-weight: 800; }
.sl-g-price span { font-size: 10.5px; color: var(--text-3); }

.sl-rv { padding: 11px 0; border-bottom: 1px solid #f4f5f7; }
.sl-rv:last-child { border-bottom: none; padding-bottom: 2px; }
.sl-rv-head { display: flex; align-items: center; gap: 8px; }
.sl-rv-head b { font-size: 13px; color: #333; }
.sl-stars { color: #ffa72e; font-size: 11.5px; letter-spacing: 1px; }
.sl-rv p { font-size: 12.5px; color: var(--text-2); line-height: 1.7; margin-top: 5px; }

/* ===========================================================
   确认订单
   =========================================================== */
.order-page { background: #f4f5f7; padding-bottom: 84px; }
.pd-b { padding-bottom: 16px; }
.od-goods { display: flex; gap: 11px; align-items: center; }
.od-img { width: 92px; height: 70px; border-radius: 10px; object-fit: cover; flex: none; }
.od-main { flex: 1; min-width: 0; }
.od-title {
  font-size: 13px; color: #222; font-weight: 600; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.od-desc { font-size: 11.5px; color: var(--text-3); margin-top: 5px; }
.od-price { display: flex; align-items: baseline; gap: 8px; margin-top: 7px; }
.od-price b { color: var(--red); font-size: 17px; font-weight: 800; }
.od-price span { font-size: 11.5px; color: var(--text-3); }

.od-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f4f5f7; font-size: 13px; }
.od-row:last-child { border-bottom: none; }
.od-row > span { color: var(--text-3); width: 82px; flex: none; }
.od-row > b { color: #222; font-weight: 600; }
.od-safe { color: #2f9e5f !important; font-size: 12.5px; }
.od-ok { color: var(--orange-dark) !important; }

.od-pays { display: flex; flex-direction: column; gap: 9px; }
.od-pay {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid #eceef1; border-radius: 11px; padding: 11px 13px; cursor: pointer;
}
.od-pay.on { border-color: #ffcf9a; background: #fffaf4; }
.od-pay-ico { font-size: 18px; }
.od-pay b { font-size: 14px; color: #222; }
.od-pay em { font-style: normal; font-size: 10.5px; color: #fff; background: var(--red); border-radius: 8px; padding: 1px 6px; }
.od-radio {
  margin-left: auto; width: 17px; height: 17px; border-radius: 50%;
  border: 1.5px solid #d6d8dd; flex: none;
}
.od-pay.on .od-radio { border-color: var(--orange-dark); background: radial-gradient(circle, var(--orange-dark) 0 5px, #fff 5px 100%); }

.od-agree { display: flex; gap: 9px; align-items: flex-start; font-size: 11.5px; color: var(--text-2); line-height: 1.7; }
.od-agree input { margin-top: 2px; accent-color: var(--orange-dark); flex: none; }

.od-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--maxw); background: #fff;
  border-top: 1px solid var(--line); display: flex; align-items: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); z-index: 20;
}
.od-total { font-size: 13px; color: var(--text-2); }
.od-total b { color: var(--red); font-size: 19px; font-weight: 800; margin-left: 3px; }
.od-total em { display: block; font-style: normal; font-size: 11px; color: var(--orange-dark); margin-top: 2px; }
.od-submit {
  margin-left: auto; font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
  border-radius: 22px; padding: 12px 30px; cursor: pointer;
}
.od-submit.loading { opacity: .7; }

.od-done { text-align: center; padding: 40px 20px 30px; }
.od-done-ico {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, #39c46f, #2aa85c); color: #fff;
  font-size: 30px; display: flex; align-items: center; justify-content: center;
}
.od-done-t { font-size: 19px; font-weight: 800; color: #1a1a1a; }
.od-done-s { font-size: 12px; color: var(--text-3); margin-top: 8px; }
.od-done-tip {
  font-size: 12px; color: var(--text-2); line-height: 1.7; background: #fff;
  border-radius: 11px; padding: 12px 14px; margin-top: 18px; text-align: left;
}
.od-done-btns { display: flex; gap: 10px; margin-top: 18px; }
.od-btn { flex: 1; text-align: center; font-size: 14.5px; font-weight: 800; border-radius: 22px; padding: 12px 0; text-decoration: none; }
.od-btn.ghost { color: #444; background: #fff; border: 1px solid #e2e4e8; }
.od-btn.main { color: #fff; background: linear-gradient(90deg, var(--orange-light), var(--orange-dark)); }

.empty-btn {
  display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
  border-radius: 18px; padding: 8px 22px; text-decoration: none;
}

/* ===========================================================
   云端Demo：后台 / 发布页 / 客服弹窗 / 表单组件
   =========================================================== */
body.admin-page { background: #f4f5f7; min-height: 100vh; }

/* 口令门 */
.gate-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; }
.gate-card { background: #fff; border-radius: 18px; padding: 30px 26px; width: 100%; max-width: 340px; text-align: center; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.gate-logo { font-size: 44px; }
.gate-title { font-size: 19px; font-weight: 800; color: #1a1a1a; margin-top: 8px; }
.gate-sub { font-size: 12.5px; color: var(--text-3); margin: 8px 0 18px; }
.gate-input {
  width: 100%; border: 1.5px solid #e6e7eb; border-radius: 12px;
  padding: 12px 14px; font-size: 16px; text-align: center; letter-spacing: 4px; outline: none;
}
.gate-input:focus { border-color: var(--orange); }
.gate-btn {
  width: 100%; margin-top: 14px; border: none; color: #fff; font-size: 15.5px; font-weight: 800;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
  border-radius: 22px; padding: 12px 0; cursor: pointer;
}
.gate-back { display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--text-3); text-decoration: none; }

/* 后台主体 */
.ad-tabs { display: flex; gap: 26px; background: #fff; padding: 13px 18px 0; border-bottom: 1px solid var(--line); }
.ad-tabs span { font-size: 15px; color: var(--text-2); padding-bottom: 11px; position: relative; cursor: pointer; }
.ad-tabs span.on { color: #111; font-weight: 800; }
.ad-tabs span.on::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 4px; width: 18px; height: 4px; border-radius: 2px; background: var(--orange-dark);
}
.ad-bar { display: flex; align-items: center; padding: 13px 14px 3px; }
.ad-count { font-size: 12.5px; color: var(--text-3); }
.ad-new {
  margin-left: auto; border: none; color: #fff; font-size: 13.5px; font-weight: 700;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
  border-radius: 17px; padding: 9px 16px; cursor: pointer;
}
.ad-list { padding: 9px 14px 30px; }
.ad-card {
  display: flex; align-items: center; gap: 11px; background: #fff;
  border-radius: 12px; padding: 11px; margin-bottom: 10px;
}
.ad-img { width: 66px; height: 52px; border-radius: 9px; object-fit: cover; flex: none; background: #f2f3f5; }
.ad-noimg { display: flex; align-items: center; justify-content: center; font-size: 12px; color: #c0c4cc; }
.ad-main { flex: 1; min-width: 0; }
.ad-t {
  font-size: 13px; color: #222; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ad-m { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.ad-p { margin-top: 5px; font-size: 15px; color: var(--red); font-weight: 800; display: flex; align-items: center; gap: 7px; }
.ad-st { font-style: normal; font-size: 10px; color: #2f9e5f; background: #e9f9f0; border-radius: 8px; padding: 1px 7px; }
.ad-st:not(.on) { color: #b0b4bb; background: #f4f5f7; }
.ad-ops { display: flex; flex-direction: column; gap: 6px; flex: none; }
.ad-btn {
  border: 1px solid #e6e7eb; background: #fff; color: #444; font-size: 12px;
  border-radius: 14px; padding: 5px 12px; cursor: pointer; white-space: nowrap;
}
.ad-btn.danger { color: var(--red); border-color: #ffd2c9; }
.ad-sel { appearance: auto; padding: 4px 6px; }
.ad-ava {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #ffb03a, #ff7a1f); color: #fff;
  font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.ad-tip { text-align: center; font-size: 13px; color: var(--text-3); padding: 40px 0; }

/* 表单组件（发布页/后台共用） */
.pf-item { display: block; margin-bottom: 12px; }
.pf-item label { display: block; font-size: 12.5px; color: var(--text-2); font-weight: 600; margin-bottom: 6px; }
.pf-item input, .pf-item select, .pf-item textarea {
  width: 100%; border: 1.5px solid #e9eaee; border-radius: 10px;
  padding: 10px 12px; font-size: 14px; outline: none; background: #fff; font-family: inherit;
}
.pf-item input:focus, .pf-item textarea:focus, .pf-item select:focus { border-color: var(--orange); }
.pf-item textarea { resize: vertical; }
.pf-row2 { display: flex; gap: 10px; }
.pf-row2 .pf-item { flex: 1; }
.pf-note { font-size: 11.5px; color: var(--text-3); background: #f7f8fa; border-radius: 8px; padding: 9px 10px; line-height: 1.7; }
.pf-imgrow { display: flex; gap: 10px; align-items: flex-start; }
.pf-preview { width: 84px; height: 64px; border-radius: 9px; object-fit: cover; flex: none; background: #f2f3f5; }
.pf-imgops { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pf-imgops input {
  border: 1.5px solid #e9eaee; border-radius: 10px; padding: 9px 11px; font-size: 13px; outline: none;
}
.pf-upload {
  display: block; text-align: center; font-size: 13px; font-weight: 700; color: var(--orange-dark);
  border: 1.5px dashed #ffc998; background: #fff7ef; border-radius: 10px; padding: 9px 0; cursor: pointer;
}

/* 发布页 */
body.publish-page { background: #f4f5f7; padding-bottom: 90px; }
.pub-steps { display: flex; align-items: center; gap: 8px; background: #fff; padding: 13px 18px; }
.pub-steps span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }
.pub-steps span i {
  font-style: normal; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: #eef0f3; color: #999; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pub-steps span.on { color: var(--orange-dark); font-weight: 800; }
.pub-steps span.on i { background: var(--orange-dark); color: #fff; }
.ps-line { flex: 1; height: 1.5px; background: #eceef1; }
.pub-body { padding-top: 10px; }
.pub-games { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 4px; }
.pub-games .pg {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 10.5px; color: var(--text-2); cursor: pointer; border-radius: 10px; padding: 6px 2px;
}
.pub-games .pg img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.pub-games .pg.on { background: #fff3e6; color: var(--orange-dark); font-weight: 700; }
.pub-segs { display: flex; gap: 8px; }
.pub-segs span {
  flex: 1; text-align: center; font-size: 13px; color: #555; background: #f5f6f8;
  border-radius: 9px; padding: 8px 0; cursor: pointer;
}
.pub-segs span.on { color: var(--orange-dark); background: #fff3e6; font-weight: 700; }
.pub-imgs { display: flex; gap: 9px; flex-wrap: wrap; }
.pub-shot { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; }
.pub-shot img { width: 100%; height: 100%; object-fit: cover; }
.pub-shot em {
  position: absolute; left: 0; top: 0; font-style: normal; font-size: 9.5px; font-weight: 700;
  color: #fff; background: rgba(255,122,31,.92); border-radius: 10px 0 8px 0; padding: 1px 6px;
}
.pub-shot i {
  position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-style: normal;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.pub-add {
  width: 76px; height: 76px; border: 1.5px dashed #d5d8de; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; color: #c0c4cc; cursor: pointer;
  position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.pub-add:active { border-color: #ffb765; background: #fff8ef; }
/* 让 file input 铺满整格（而不是靠 label 转发点击）：手机上点哪都能唤起系统选图 */
.pub-add input[type="file"] {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.pub-notice { font-size: 12px; color: var(--text-3); line-height: 1.7; }
.pub-submit { width: calc(100% - 28px); margin: 4px 14px 0; border: none; color: #fff; font-size: 16px; font-weight: 800;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark)); border-radius: 24px; padding: 14px 0; cursor: pointer; }

/* 卖页横幅 */
.sell2-banner {
  display: flex; align-items: center; gap: 11px; text-decoration: none;
  background: linear-gradient(90deg, #fff7ef, #fff); border: 1px solid #ffe3c2;
}
.s2-ico { font-size: 26px; }
.s2-main { flex: 1; min-width: 0; }
.s2-main b { display: block; font-size: 14.5px; color: #1a1a1a; }
.s2-main em { display: block; font-style: normal; font-size: 11.5px; color: var(--text-3); margin-top: 3px; }
.s2-arr { font-style: normal; color: #d0a274; font-size: 20px; }

/* 客服弹窗 */
.svc-panel {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 100%; max-width: var(--maxw); height: 78vh;
  background: #f4f5f7; border-radius: 16px 16px 0 0; display: flex; flex-direction: column; overflow: hidden;
}
.svc-head { display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.svc-avas { display: flex; }
.svc-avas i {
  width: 30px; height: 30px; border-radius: 50%; font-style: normal; font-size: 15px; margin-left: -8px;
  background: linear-gradient(135deg, #ffb03a, #ff7a1f); border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
}
.svc-avas i:nth-child(2) { background: linear-gradient(135deg, #4aa3ff, #1677ff); }
.svc-avas i:nth-child(3) { background: linear-gradient(135deg, #39c46f, #2aa85c); }
.svc-t { flex: 1; min-width: 0; }
.svc-t b { display: block; font-size: 15px; color: #1a1a1a; }
.svc-t span { display: block; font-size: 10.5px; color: #2f9e5f; margin-top: 2px; }
.svc-msgs { flex: 1; overflow-y: auto; padding: 14px 12px; }
.cm { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 12px; }
.cm-name { font-size: 10.5px; color: var(--text-3); margin: 0 0 4px 4px; }
.cm-b {
  max-width: 78%; background: #fff; border-radius: 3px 12px 12px 12px;
  padding: 9px 12px; font-size: 13.5px; color: #333; line-height: 1.6; word-break: break-word;
}
.cm.me { align-items: flex-end; }
.cm.me .cm-b { background: linear-gradient(135deg, #ffb03a, #ff8a24); color: #fff; border-radius: 12px 3px 12px 12px; }
.svc-chips { display: flex; gap: 7px; padding: 8px 12px; overflow-x: auto; background: #f4f5f7; }
.svc-chips span {
  flex: none; font-size: 12px; color: var(--orange-dark); background: #fff;
  border: 1px solid #ffd7ab; border-radius: 14px; padding: 6px 11px; cursor: pointer;
}
.svc-input { display: flex; gap: 9px; align-items: center; background: #fff; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
.svc-input input { flex: 1; border: 1.5px solid #e9eaee; border-radius: 19px; padding: 9px 14px; font-size: 14px; outline: none; }
.svc-input span { font-size: 14px; font-weight: 800; color: #fff; background: linear-gradient(90deg, var(--orange-light), var(--orange-dark)); border-radius: 18px; padding: 9px 16px; cursor: pointer; }

/* ===========================================================
   首页 v2：秒杀商品卡 / 保障视频 / 精选好号商品流
   =========================================================== */

/* 秒杀 / 立赔 / 充值 商品卡 */
.fl-goods { display: flex; gap: 10px; margin-top: 8px; }
.fl-goods.single { justify-content: center; }
.fl-item {
  flex: 1; max-width: 96px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; color: inherit;
}
.fl-img {
  width: 76px; height: 76px; border-radius: 10px; object-fit: cover;
  background: #f4f5f7; display: block;
}
.fl-price { color: #ff2e4d; font-size: 16px; font-weight: 800; margin-top: 2px; }
.fl-price i { font-style: normal; font-size: 11px; font-weight: 700; }
.fl-name { font-size: 11.5px; color: var(--text-2); }

/* 保障区：视频 + 右列 + 荣誉徽章 */
.assure-col { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.assure-col .assure-item { flex: 1; }
.assure-video {
  margin-top: 10px; border-radius: 10px; overflow: hidden;
  height: 104px; background: #111; cursor: pointer;
  position: relative;
}
.assure-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.assure-video .play-btn {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  padding-left: 3px; pointer-events: none;
  transition: opacity .2s;
}
.assure-video.playing .play-btn { opacity: 0; }
.assure-badges {
  display: flex; gap: 2px; margin-top: 8px; flex-wrap: nowrap;
}
.assure-badges span {
  font-size: 7.5px; color: #555;
  background: #f6f5f2; border-radius: 999px;
  padding: 2.5px 3px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 2px;
}
.assure-badges span img { width: 11px; height: 11px; flex: none; }

/* 精选好号：Tab + 筛选 + 商品流 */
.home-market {
  background: #fff; border-radius: var(--radius);
  padding: 12px; margin-bottom: 16px;
}
.home-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.home-tabs::-webkit-scrollbar { display: none; }
.ht-chip {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: #444;
  background: #fff; border-radius: 999px;
  padding: 6px 12px; cursor: pointer;
  border: 1px solid #ececec; white-space: nowrap;
}
.ht-chip img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.ht-chip.on {
  color: #b26a2b; background: #fff4e6;
  border-color: #ffcf9e; font-weight: 700;
}
/* 三横线「更多」按钮（真螃蟹图2 右端样式） */
.ht-chip.ht-more { gap: 3px; padding: 10px 11px; }
.ht-chip.ht-more i { width: 14px; height: 2px; background: #3a3a3a; border-radius: 1px; }
.home-filter {
  display: flex; gap: 14px; padding: 10px 2px 8px;
  font-size: 13px; color: var(--text-2);
}
.home-filter span { cursor: pointer; white-space: nowrap; }
.home-filter span.on { color: #ff5f1f; font-weight: 700; }
.home-filter i { font-style: normal; font-size: 10px; color: #bbb; }
.home-goods {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.home-goods .pcard { min-width: 0; }
.home-goods .pc2-pub { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.home-more {
  display: block; text-align: center; margin-top: 12px;
  font-size: 13px; color: var(--text-2); text-decoration: none;
}

/* ===========================================================
   底部导航矢量图标 + 首页占位卡 + 客服聊天页
   =========================================================== */

/* 底部导航 SVG 图标 */
.tab .t-icon svg { width: 23px; height: 23px; display: block; }
.tab .t-icon { display: flex; align-items: center; justify-content: center; }

/* 首页商品占位（秒杀/立赔/充值 + 精选好号） */
.fl-ph {
  width: 76px; height: 76px; border-radius: 10px;
  background: #f7f8fa; border: 1.5px dashed #dfe2e8;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: 10.5px; color: #b6bac2;
}
.fl-ph span { font-size: 18px; opacity: .75; }
.ph-card { cursor: default; }
.ph-box {
  height: 132px; border-radius: 10px;
  background: #f7f8fa; border: 1.5px dashed #dfe2e8;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; font-size: 13px; color: #b6bac2;
}
.ph-box .ph-ico { font-size: 26px; opacity: .7; }
.ph-line { height: 10px; border-radius: 5px; background: #f0f1f4; margin-top: 8px; }
.ph-line.w60 { width: 60%; }
.ph-line.w40 { width: 40%; }
.ph-foot { margin-top: 8px; }
.ph-price { color: #c3c7ce; font-size: 16px; font-weight: 800; }

/* ===========================================================
   保障卡 v2（视频左置 + 徽章内嵌） + 活动横幅
   =========================================================== */

/* 头部奶油色横带（真螃蟹实测：高 40pt、平色 #faf4d4、圆角） */
.assure-card { padding: 0 0 14px; overflow: hidden; }
.assure-head {
  background: linear-gradient(180deg, #faf4da, #f9f5cf);
  margin: 0 0 12px 0; padding: 9px 14px;
}
.assure-title { color: #5e4426; }

/* 左卡：视频方形（真螃蟹实测 74x73pt） + 文案右（四行）；左列略宽给徽章行留位 */
.av-main { flex: 1.06; min-width: 0; }
.av-row { display: flex; gap: 9px; margin-top: 12px; }
.assure-video {
  width: 74px; height: 73px; flex: none;
  margin-top: 0; border-radius: 10px; overflow: hidden;
}
.assure-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.25; }
.av-txt b { font-size: 11.5px; color: var(--text); }
.av-txt span { font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.av-txt .hl { font-size: 13px; }
.av-txt .av-line2 { margin-top: 1px; }
.av-txt .av-break { margin-top: 5px; }
.av-txt .tag-contract { vertical-align: 1px; }

/* 徽章内嵌到左卡底部（真螃蟹：三枚横排一行，圆形 logo 图标） */
.av-main .assure-badges { margin: 12px -3px 0; }
.av-main .assure-badges span { background: #f6f5f2; color: #555; }

/* 右栏分隔线 */
.assure-col { border-left: 1px solid var(--line); padding-left: 12px; gap: 12px; }
.assure-col .assure-item + .assure-item { border-top: 1px solid var(--line); padding-top: 12px; }

/* 游戏图标（去白透明 PNG） */
.game-img { object-fit: contain; }

/* 我的页：活动横幅 */
.act-banner {
  display: flex; align-items: center; gap: 10px;
  margin: 0 12px 12px;
  border-radius: 14px; padding: 14px 16px;
  background: linear-gradient(100deg, #ff8a1e, #ffb03a 55%, #ff7a1f);
  color: #fff; text-decoration: none;
  box-shadow: 0 4px 10px rgba(255, 138, 30, .25);
}
.act-txt { flex: 1; }
.act-txt b { display: block; font-size: 17px; letter-spacing: .5px; }
.act-txt span { display: block; font-size: 12px; opacity: .95; margin-top: 3px; }
.act-txt em {
  display: inline-block; font-style: normal; font-size: 11px;
  background: rgba(255, 255, 255, .25); border-radius: 999px;
  padding: 3px 10px; margin-top: 7px;
}
.act-emoji { font-size: 30px; }

/* ===========================================================
   账号体系：登录/注册页 · 我的页账号行 · 客服登录提示
   =========================================================== */

/* 登录页 */
body.login-page {
  background: linear-gradient(180deg, #fff2dc, #fffaf2 40%, #ffffff);
  padding-bottom: 30px;
}
.lg-nav { display: flex; align-items: center; gap: 10px; padding: 14px 16px 4px; }
.lg-back { font-size: 26px; color: #333; line-height: 1; }
.lg-navt { font-size: 16px; font-weight: 700; }
.lg-hero { text-align: center; padding: 18px 20px 22px; }
.lg-logo { font-size: 48px; line-height: 1; }
.lg-title { font-size: 22px; font-weight: 800; margin-top: 8px; letter-spacing: 1px; }
.lg-sub { font-size: 12.5px; color: var(--text-3); margin-top: 8px; }
.lg-card {
  background: #fff; border-radius: 18px; margin: 0 16px;
  padding: 18px 18px 20px; box-shadow: 0 6px 22px rgba(255, 143, 36, .10);
}
.lg-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.lg-tabs span { font-size: 15px; color: var(--text-3); padding-bottom: 10px; position: relative; cursor: pointer; }
.lg-tabs span.on { color: #111; font-weight: 800; }
.lg-tabs span.on::after {
  content: ''; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  width: 24px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
}
.lg-field { margin-bottom: 13px; }
.lg-field label { display: block; font-size: 12.5px; color: var(--text-2); font-weight: 600; margin-bottom: 6px; }
.lg-field input {
  width: 100%; border: 1.5px solid #ececef; border-radius: 12px;
  padding: 11px 13px; font-size: 15px; outline: none; background: #fafbfc;
}
.lg-field input:focus { border-color: var(--orange); background: #fff; }
.lg-btn {
  width: 100%; border: 0; margin-top: 6px;
  font-size: 16px; font-weight: 800; color: #fff; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
  border-radius: 24px; padding: 13px 0; cursor: pointer;
}
.lg-btn:active { opacity: .85; }
.lg-agree { display: flex; align-items: flex-start; gap: 7px; margin-top: 14px; font-size: 11.5px; color: var(--text-3); line-height: 1.5; }
.lg-agree input { margin-top: 2px; accent-color: var(--orange); }
.lg-tip { text-align: center; font-size: 11.5px; color: #b6bac2; margin: 18px 24px 0; line-height: 1.7; }

/* 我的页：账号状态行 */
.acct-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px;
  margin: -6px 12px 12px; padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.acct-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-info b { font-size: 14px; }
.acct-info span { font-size: 11.5px; color: var(--text-3); }
.acct-info .ai-lv {
  display: inline-block; align-self: flex-start;
  font-size: 10px; color: #b26a2b; background: #fff4e6;
  border-radius: 999px; padding: 1px 8px; margin-bottom: 2px;
}
.acct-btn {
  flex: none; font-size: 13px; font-weight: 700; color: #fff; border: 0;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
  border-radius: 18px; padding: 8px 16px; cursor: pointer;
}
.acct-btn.ghost { color: var(--text-2); background: #f3f4f6; }

/* 退出登录：登录后才出现，低调地放在页面最底部
   （我的页头部只放「头像 + 昵称 + 查看ID + 权益中心」，照真实螃蟹，不放大按钮） */
.mine-foot { display: none; padding: 0 12px 12px; text-align: center; }
.mine-foot.on { display: block; }
.mine-foot .acct-btn { min-width: 150px; border-radius: 999px; padding: 9px 26px; font-size: 13px; }

/* 客服页：未登录提示条 */
.kf-login {
  display: flex; align-items: center; gap: 8px;
  background: #fff8ec; border-bottom: 1px solid #ffe6c4;
  padding: 9px 14px; font-size: 11.5px; color: #a4711f;
}
.kf-login span { flex: 1; line-height: 1.5; }
.kf-login b { flex: none; font-size: 12px; color: #ff7a1f; }
.kf-ava.a4 { background: linear-gradient(135deg, #8e7cff, #6a5bff); }

/* ===========================================================
   管理后台控制台
   =========================================================== */
body.admin-page {
  max-width: none; margin: 0; padding-bottom: 0;
  background: #f4f5f7; min-height: 100vh;
}

.console { display: grid; grid-template-columns: 216px 1fr; min-height: 100vh; }

/* 侧栏 */
.cs-side {
  background: #fff; border-right: 1px solid #ececef;
  display: flex; flex-direction: column; padding: 18px 12px;
  position: sticky; top: 0; height: 100vh;
}
.cs-brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 18px; }
.cs-logo { font-size: 24px; }
.cs-brand b { font-size: 16px; letter-spacing: .5px; }
.cs-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cs-nav a {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-2);
  padding: 11px 12px; border-radius: 10px; cursor: pointer;
  position: relative;
}
.cs-nav a:hover { background: #f7f8fa; }
.cs-nav a.on {
  color: #d4700a; font-weight: 800;
  background: linear-gradient(90deg, #fff3e2, #fff9f2);
}
.cs-dot {
  display: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); margin-left: auto;
}
.cs-side-foot { display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 0; font-size: 12.5px; color: var(--text-3); }
.cs-side-foot a, .cs-side-foot span { cursor: pointer; }
.cs-side-foot span:hover, .cs-side-foot a:hover { color: var(--orange-dark); }

/* 主区 */
.cs-main { padding: 22px 26px 60px; min-width: 0; }
.cs-head { display: flex; align-items: center; margin-bottom: 18px; gap: 12px; }
.cs-head h1 { font-size: 21px; font-weight: 800; }
.cs-head-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.cs-who { font-size: 12.5px; color: var(--text-3); }
.cs-refresh {
  font-size: 13px; font-weight: 700; color: #d4700a;
  background: #fff3e2; border: 0; border-radius: 18px; padding: 8px 16px; cursor: pointer;
}

/* 概览 */
.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.cs-stat {
  background: #fff; border-radius: 14px; padding: 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .035);
}
.cs-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.cs-ico.s1 { background: #fff1e0; }
.cs-ico.s2 { background: #e8f1ff; }
.cs-ico.s3 { background: #e8f9ee; }
.cs-ico.s4 { background: #f2ecff; }
.cs-stat b { display: block; font-size: 22px; line-height: 1.15; }
.cs-stat em { font-style: normal; font-size: 12px; color: var(--text-3); }

.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cs-panel { background: #fff; border-radius: 14px; padding: 14px 16px 6px; box-shadow: 0 2px 10px rgba(0, 0, 0, .035); }
.cs-panel-h { display: flex; align-items: center; margin-bottom: 10px; }
.cs-panel-h b { font-size: 14.5px; }
.cs-panel-h a { margin-left: auto; font-size: 12.5px; color: var(--orange-dark); cursor: pointer; }

/* 工具条 */
.cs-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cs-input {
  border: 1.5px solid #e9eaee; border-radius: 10px;
  padding: 9px 12px; font-size: 13.5px; outline: none; background: #fff;
  min-width: 220px;
}
.cs-input:focus { border-color: var(--orange-light); }
.cs-input.sel { min-width: 130px; }
.cs-spacer { flex: 1; }
.cs-mini {
  border: 1px solid #e9eaee; background: #fff; border-radius: 8px;
  font-size: 13px; padding: 5px 10px; cursor: pointer; color: var(--text-2);
}
.cs-mini.danger { color: var(--red); border-color: #ffd7cd; }

/* 后台列表卡片（桌面排布） */
.console .ad-list { padding: 0; }
.console .ad-card {
  background: #fff; border-radius: 12px; margin-bottom: 10px;
  padding: 12px 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
  align-items: center;
}
.console .ad-card.mini { box-shadow: none; margin-bottom: 8px; padding: 9px 10px; background: #fafbfc; }
.console .ad-img { width: 74px; height: 56px; }
.console .ad-t { font-size: 14.5px; }
.console .ad-m { font-size: 12px; }
.console .ad-ops { flex-direction: row; }
.console .ad-pricewrap {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 15px; color: var(--red); font-weight: 800;
}
.console .ad-price {
  width: 84px; border: 1.5px solid #ffe0d6; border-radius: 8px;
  color: var(--red); font-size: 14px; font-weight: 800;
  padding: 4px 7px; outline: none; background: #fffaf8;
}
.console .ad-price:focus { border-color: var(--orange); background: #fff; }
.ad-st.warn { color: #d4710a; background: #fff3e2; }
.ad-m.warn { color: #d4710a; }

/* 商品编辑弹窗（居中） */
.ad-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ad-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.ad-panel {
  position: relative; width: 100%; max-width: 620px; background: #fff;
  border-radius: 18px; padding: 18px 20px 16px;
  max-height: 88vh; overflow-y: auto; box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}
.ad-panel-body { margin-top: 8px; }
.pf-row3 { display: flex; gap: 10px; }
.pf-row3 .pf-item { flex: 1; }

/* 客服聊天工作台 */
.chat-wrap {
  display: grid; grid-template-columns: 300px 1fr; gap: 14px;
  height: calc(100vh - 130px); min-height: 480px;
}
.chat-side { background: #fff; border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .035); }
.chat-side-h { display: flex; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.chat-side-h b { font-size: 14px; }
.chat-side-h .cs-mini { margin-left: auto; }
.chat-convs { flex: 1; overflow-y: auto; }
.cv-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; cursor: pointer; border-bottom: 1px solid #f6f7f9; position: relative; }
.cv-item:hover { background: #fafbfc; }
.cv-item.on { background: #fff6ea; }
.cv-ava {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #ffb03a, #ff8a24); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
}
.cv-main { flex: 1; min-width: 0; }
.cv-top { display: flex; align-items: center; }
.cv-top b { font-size: 13.5px; }
.cv-top span { margin-left: auto; font-size: 10.5px; color: var(--text-3); }
.cv-sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.cv-last { font-size: 12px; color: var(--text-2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-badge {
  position: absolute; right: 12px; bottom: 12px;
  background: var(--red); color: #fff; font-size: 10px; font-style: normal;
  border-radius: 999px; padding: 1px 6px;
}
.chat-main { background: #fff; border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .035); }
.chat-main-h { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.chat-main-h b { font-size: 15px; }
.chat-main-h .cm-sub { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.chat-main-h .cs-mini { margin-left: auto; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: #f8f9fb; }
.cb-row { display: flex; gap: 9px; margin-bottom: 14px; align-items: flex-start; }
.cb-row.mine { flex-direction: row-reverse; }
.cb-ava {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: #e9eaee; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.cb-row.mine .cb-ava { background: linear-gradient(135deg, #8e7cff, #6a5bff); }
.cb-col { max-width: 64%; display: flex; flex-direction: column; align-items: flex-start; }
.cb-row.mine .cb-col { align-items: flex-end; }
.cb-name { font-size: 10.5px; color: var(--text-3); margin-bottom: 4px; }
.cb-bubble {
  background: #fff; border-radius: 3px 12px 12px 12px;
  padding: 9px 12px; font-size: 13.5px; line-height: 1.55;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04); word-break: break-word; white-space: pre-wrap;
}
.cb-row.mine .cb-bubble {
  background: linear-gradient(135deg, #8e7cff, #6a5bff); color: #fff;
  border-radius: 12px 3px 12px 12px;
}
.chat-input { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input textarea {
  flex: 1; border: 1.5px solid #e9eaee; border-radius: 10px;
  padding: 9px 12px; font-size: 13.5px; outline: none; resize: none; font-family: inherit;
}
.chat-input textarea:focus { border-color: var(--orange-light); }
.chat-input button {
  flex: none; border: 0; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 700;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
  padding: 0 20px; cursor: pointer;
}

@media (max-width: 900px) {
  .console { grid-template-columns: 1fr; }
  .cs-side { position: static; height: auto; }
  .cs-stats { grid-template-columns: 1fr 1fr; }
  .cs-cols { grid-template-columns: 1fr; }
  .chat-wrap { grid-template-columns: 1fr; height: auto; }
  .chat-side { max-height: 240px; }
}

/* ===========================================================
   管理后台 · 专属品牌与质感升级
   =========================================================== */

/* 口令门（品牌版） */
body.admin-page .gate-wrap {
  background:
    radial-gradient(680px 340px at 50% -10%, #fff1dc, transparent 70%),
    linear-gradient(180deg, #fffaf3, #f4f5f7 60%);
}
body.admin-page .gate-card {
  max-width: 380px; padding: 34px 30px 28px;
  border: 1px solid #fff1e2;
  box-shadow: 0 24px 60px rgba(180, 120, 40, .12);
}
body.admin-page .gate-logo { font-size: 50px; filter: drop-shadow(0 6px 12px rgba(255, 143, 36, .25)); }
body.admin-page .gate-title { font-size: 20px; letter-spacing: .5px; }
.gate-badge {
  display: inline-block; margin-top: 9px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1px;
  color: #c06a12; background: linear-gradient(90deg, #fff1dc, #fff7ee);
  border: 1px solid #ffe2c0; border-radius: 999px; padding: 4px 14px;
}
body.admin-page .gate-btn {
  background: linear-gradient(90deg, #ffa22e, #ff7a1f);
  box-shadow: 0 8px 20px rgba(255, 138, 30, .28);
}

/* 侧栏品牌 */
.cs-brand { padding: 4px 8px 14px; align-items: flex-start; gap: 10px; }
.cs-brand .cs-logo {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 21px;
  background: linear-gradient(150deg, #fff1dc, #ffe7c8);
}
.cs-brand-t { min-width: 0; }
.cs-brand-t b {
  display: block; font-size: 14.5px; letter-spacing: .2px; line-height: 1.3;
  background: linear-gradient(90deg, #d4700a, #ff8f24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cs-brand-t em { display: block; font-style: normal; font-size: 11px; color: var(--text-3); margin-top: 3px; letter-spacing: .5px; }

.cs-navlabel {
  font-size: 10.5px; color: #b9bec7; letter-spacing: 1.5px;
  padding: 6px 12px 8px;
}
.cs-nav a { font-size: 13.5px; transition: background .16s, color .16s; }
.cs-nav a i { font-style: normal; font-size: 15px; width: 18px; text-align: center; }
.cs-nav a.on::before {
  content: ''; position: absolute; left: 0; top: 9px; bottom: 9px;
  width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #ffb03a, #ff7a1f);
}
.cs-ver { font-size: 10.5px; color: #c3c7ce; letter-spacing: .4px; margin-top: 6px; }

/* 主区头部 */
.cs-head { align-items: flex-start; }
.cs-head-l h1 { font-size: 22px; }
.cs-head-l p { font-size: 12.5px; color: var(--text-3); margin-top: 5px; }
.cs-env {
  font-size: 11.5px; font-weight: 700; color: #2f9e5f;
  background: #eaf9f0; border-radius: 999px; padding: 5px 12px;
}

/* 概览：统计卡与快捷操作 */
.cs-stat { transition: transform .16s, box-shadow .16s; }
.cs-stat:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(180, 120, 40, .10); }
.cs-stat b { font-size: 24px; }

.cs-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.cs-q {
  text-align: left; background: #fff; border: 1px solid #fff1e2;
  border-radius: 14px; padding: 14px 16px; cursor: pointer;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: 0 2px 10px rgba(180, 120, 40, .05);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.cs-q:hover { transform: translateY(-2px); border-color: #ffd9a8; box-shadow: 0 12px 26px rgba(180, 120, 40, .12); }
.cs-q span { font-size: 18px; line-height: 1; }
.cs-q b { font-size: 13.5px; }
.cs-q em { font-style: normal; font-size: 11.5px; color: var(--text-3); }

.cs-panel-h b { position: relative; padding-left: 10px; }
.cs-panel-h b::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 13px; border-radius: 2px;
  background: linear-gradient(180deg, #ffb03a, #ff7a1f);
}

/* 列表卡片微交互 */
.console .ad-card { transition: box-shadow .16s, transform .16s; }
.console .ad-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, .06); }
.console .ad-btn { transition: background .15s, color .15s; }
.console .ad-btn:hover { background: #fff6ea; border-color: #ffd9a8; color: #d4700a; }
.console .ad-btn.danger:hover { background: #fff1ee; border-color: #ffc9bb; color: var(--red); }

@media (max-width: 1100px) {
  .cs-quick { grid-template-columns: 1fr 1fr; }
}

/* ===========================================================
   首页 v3：秒杀 / 无货立赔 去掉白卡片底，改为透明分区（对齐参考图二）
   =========================================================== */
.flash-row > .section-card,
.flash-row > .side-col > .section-card {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
  margin-bottom: 0;
}
.flash-row {
  gap: 14px;
  align-items: flex-start;
}
/* 分区之间加一条竖向分隔线，替代原来的白卡边界 */
.side-col {
  position: relative;
  padding-left: 14px;
}
.side-col::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, transparent, #f0f0f0 18%, #f0f0f0 82%, transparent);
}
/* 商品图去掉灰底与描边 */
.fl-img {
  background: transparent;
  box-shadow: none;
}
.fl-item {
  max-width: 104px;
}
.fl-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 716;
  border-radius: 10px;
  object-fit: contain;
}
.fl-price { font-size: 17px; }
.fl-name { font-size: 11.5px; }

/* ===========================================================
   我的页 v3：对齐参考图（灰底 + 白卡 + 顶部奶油区 + 权益中心深棕）
   =========================================================== */
body.mine {
  background: #f4f4f4;
  padding-bottom: calc(var(--tabbar-h) + 16px);
  /* 内容撑满视口：我的页只有 5 个区块，比真实螃蟹少 3 块（还价/微信提醒/星推官），
     在长屏手机上底部会空出一大块。用 flex 列 + 自动外边距把剩余高度
     按比例分配到卡片之间，页面任何屏高都填满，底栏始终贴屏幕底部。 */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

/* 三张主卡固定紧凑间距（2026-10-16：去掉 margin-top:auto 弹性拉伸——
   高屏手机上空隙会被拉到 60pt+，菜单卡与退出登录之间一大块空白（用户红笔圈）。
   现在剩余高度自然沉到页面底部，卡片间距任何屏高都一致） */
body.mine > .tools-card,
body.mine > .trade-card,
body.mine > .menu-card { margin-top: 14px; }
body.mine > .menu-card { margin-bottom: 0; }

/* 卡片本身也适度加高，让「卡片加高」和「间隙拉开」共同分摊剩余高度，
   否则间隙会被撑到 70px 以上、显得卡片之间很散。
   加高幅度不能太大：登录态底部还有「退出登录」，矮屏（762）会挤到滚动。 */
body.mine > .tools-card { padding: 22px 4px; }
body.mine > .trade-card { padding: 24px 10px 20px; }
body.mine > .menu-card  { padding: 30px 4px 20px; }   /* 悬浮客服球已去掉（2026-10-16），不再预留 58px 落点 */
body.mine > .menu-card .menu-grid { margin-bottom: 30px; }
body.mine > .menu-card .menu-grid:last-child { margin-bottom: 0; }

/* 顶部奶油背景 */
body.mine::before {
  content: '';
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);
  height: 210px;
  background: linear-gradient(180deg, #fff9ed 0%, rgba(255, 249, 237, 0) 100%);
  pointer-events: none;
  z-index: 0;
}
/* 抬高正文层级，压住上面 body::before 的奶油渐层。
   注意：必须排除 position:fixed 的元素（底部导航 #tabbar、客服悬浮球 .svc-fab），
   否则把它们改成 relative 后会掉进文档流 —— 底栏跑到屏幕中间、下面空一大块。 */
body.mine > *:not(#tabbar):not(.svc-fab) { position: relative; z-index: 1; }

/* 右上角六边形设置 */
.gear-row { padding: 10px 16px 0; }
.gear-row .gear {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: #6b6b6b;
  opacity: 1;
}
.gear-row .gear svg { width: 21px; height: 21px; }

/* 个人信息卡：与下方「四大包赔」共用一张白卡（对齐真实螃蟹版式）
   参考图实测（3x）：卡片上沿 y=367、头像圆 y 332..518（直径 186 = 62px）——
   即头像上沿探出卡片 12px；昵称顶 392、胶囊 465..515、权益卡 378..548。 */
.profile-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 12px;
  padding: 0 4px 0 16px;
  min-height: 62px;              /* 给右下角会「下探」的权益卡留够高度 */
  background: #fff;
  border-radius: 16px 16px 0 0;
}
.avatar-img {
  width: 62px; height: 62px;
  margin-top: -12px;            /* 头像上沿探出卡片，和参考图一致 */
  flex: none;
  display: block;
  border-radius: 50%;
}
.profile-info2 {
  flex: 1;
  min-width: 0;
  margin-top: 6px;              /* 参考图：昵称墨迹顶距卡顶 30px@3x → 卡内 8px 偏高，这里定 6 */
  margin-right: 154px;          /* 把右侧 154px 让给权益卡图片（absolute 定位） */
  font-size: 0;                 /* 干掉行内匿名盒子带来的额外行高，让 margin 精确生效 */
  line-height: 0;
}
.profile-name2 {
  font-size: 17px;              /* 参考图：昵称 2 个汉字墨迹宽 43/42px(3x) ≈ 17px 字号 */
  line-height: 22px;
  font-weight: 800;
  color: #1f1f1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 「查看ID」胶囊；参考图实测：整颗 147x48px(3x) = 49x16css，
   其中 ID 徽标 ⌀32px = 10.7css，查看ID 文字带宽 88px = 29.3css */
.view-id {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 2px;
  margin-top: 5px;
  padding: 1px 2px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 12px;
  color: #ee8937;
  background: #fff4e6;
  border: 1px solid #ffd9ae;
}
.view-id .id-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11px; height: 11px;
  border-radius: 50%;
  font-style: normal;
  font-size: 6px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, #ffb057, #f0740c);
}

/* 权益中心点击热区：包在图片外层的 <a>（图片本身 pointer-events:none，点击落到链接上）
   尺寸 / 位置与 .rights-img 完全一致，只是改成链接可点。 */
.rights-link {
  position: absolute;
  right: 0;
  top: 6px;
  width: 144px;
  height: 43.33px;
  display: block;
  z-index: 2;
}
.rights-link .rights-img { position: static; width: 100%; height: 100%; }

/* 权益中心：整张图，直接用真实螃蟹截图抠出来的素材（tools/make_rights_card.py）
   素材 462x182 @3x = 154 x 60.67 css；卡片右边界与白卡右边界对齐（参考图实测 391 vs 393）。 */
.rights-img {
  position: absolute;
  right: 0;
  top: 6px;
  width: 144px;
  height: 43.33px;
  border-bottom-left-radius: 22px;
  border-top-right-radius: 14px;
  flex: none;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* 四大包赔：接在个人信息卡下方，同一张白卡（无图标，仅标题/副标题 + 竖分隔线）
   参考图实测：标题顶 y=576（190.7px→与卡顶相距 68.3），卡底 y=725（241.7） */
.benefits-card {
  background: #fff;
  border-radius: 0 0 16px 16px;
  margin: 0 12px 12px;
  padding: 6.5px 4px 16px;
  display: flex;
}
.benefit { flex: 1; text-align: center; padding: 0 2px; position: relative; }
/* 竖向分隔线（参考图 x=343 / 628 / 912，等分四列） */
.benefit + .benefit::before {
  content: '';
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 1px;
  background: #f0f0f1;
}
.benefit h5 {
  margin-top: 0;
  font-size: 12.5px;            /* 参考图：找回包赔 墨迹宽 149px@3x = 49.7css → 字号 12.5 */
  font-weight: 800;
  color: #1f1f1f;
  white-space: nowrap;
}
.benefit p {
  margin-top: 4px;
  font-size: 10.8px;            /* 参考图：最高赔付360% 墨迹宽 215px@3x = 71.7css */
  color: #a8acb3;
  white-space: nowrap;
}

/* 账号状态行：未登录态内容为空，直接收起（不再显示「还没有账号？」卡） */
.acct-row:empty { display: none; }

/* 工具行：改用图片图标 */
.tools-card {
  background: #fff;
  border-radius: 16px;
  margin: 0 12px 12px;
  padding: 17px 4px 15px;
  display: flex;
}
.tool.tool-img img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  display: block;
}
.tool.tool-img {
  gap: 8px;
  font-size: 12.5px;
  color: #333;
  text-decoration: none;
}

/* 交易卡 */
.trade-card {
  background: #fff;
  border-radius: 16px;
  margin: 0 12px 12px;
  padding: 17px 10px 12px;
}
.trade-grid { display: flex; }
.trade-grid .tool { font-size: 12.5px; color: #333; }

/* 菜单卡 */
.menu-card {
  background: #fff;
  border-radius: 16px;
  margin: 0 12px 16px;
  padding: 20px 4px 8px;
}
.menu-grid { display: flex; margin-bottom: 22px; }
.menu-grid:last-child { margin-bottom: 0; }
.menu-grid .tool { gap: 9px; font-size: 12.5px; color: #333; }
.menu-grid .tool svg { width: 26px; height: 26px; }

/* ===========================================================
   我的页 v4：图标尺寸锁死（防止线上旧缓存/其它规则覆盖导致图标撑大）
   =========================================================== */
/* 图标资源：来自用户给的线性图标条，正方形透明画布 78x78(3x)；
   笔画本身实际渲染 25.9px（与参考图「图标带 75px / 文字带 35px = 2.14」的比例一致）。
   改尺寸时只需改这一处。 */
.tools-card .tool.tool-img img,
body.mine .tool.tool-img img {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
  display: block;
}
/* 图标与文字的间距：参考图墨迹间距 36px@3x = 12px，故 7px -> 8px */
.tools-card .tool { gap: 8px; }
/* 注：四大包赔已按真实螃蟹版式改为「无图标」（仅标题 + 副标题 + 竖分隔线），
   原 .benefits-card .b-icon 的尺寸锁定规则一并删除。 */

/* ===========================================================
   首页 v5：整页 #fafafa 浅底 + 白卡（对齐参考图 2026-10-16）
   =========================================================== */
body.home { background: #fafafa; }

/* 头部：参考图整块白/浅灰（无奶油渐变） */
body.home .header-wrap {
  background: #fafafa;
}

/* 首页搜索栏：单行热词（参考图实测 h33pt、边框细橙、按钮 #ef8a32 h29） */
body.home .search-bar {
  height: 34px; border-width: 1.5px; border-radius: 17px;
  padding: 0 2px 0 11px; margin-top: 8px;
  box-shadow: none;
}
body.home .search-bar .search-ico { width: 17px; height: 17px; margin-right: 12px; flex: none; display: block; }
body.home .search-hint {
  flex: 1; min-width: 0;
  font-size: 15px; font-weight: 600; color: #333;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.home .search-hint i { font-style: normal; }
body.home .search-btn {
  height: 29px; padding: 0 16px; font-size: 15px;
  background: #f0892f; border-radius: 15px; box-shadow: none;
}

/* 内容区透明，让浅底透出来 */
body.home .content-bg {
  background: transparent;
  border-radius: 0;
  padding: 4px 12px 20px 12px;
}

/* 首页：游戏宫格底部收紧，让翻页点在「宫格 → 秒杀白卡」正中间
   上留白 = game-item 2 + game-page 4 + 文字下降 ~1.7 + dots 4 ≈ 11.7
   下留白 = dots 8 + content-bg 4 - content-bg margin -2 = 10 */
body.home .game-item {
  padding-bottom: 2px;
}
body.home .dots {
  padding: 4px 0 8px 0;
}

/* 限时秒杀 + 无货立赔 + 道具充值：三张独立纯白卡
   （参考图实测：卡宽 171.3 / 93.7 / 93.3pt，缝 9pt，圆角 ~14） */
body.home .flash-row {
  background: transparent; border-radius: 0; padding: 0;
  gap: 9px; margin-bottom: 12px;
  align-items: stretch;
}
body.home .flash-row > .section-card {
  background: #fff; border-radius: 14px;
  padding: 9px 10px 11px;
  box-shadow: none; border: 0; margin-bottom: 0;
  min-width: 0;
}
body.home .flash-card { flex: 1.83; }
body.home .deal-card { flex: 1; display: block; text-decoration: none; color: inherit; }
body.home .sec-head { margin-bottom: 4px; }
body.home .sec-head.center { justify-content: center; }
body.home .sec-title { font-size: 16px; }
body.home .side-title { font-size: 16px; }
body.home .deal-desc { text-align: center; font-size: 11px; color: #888; margin: 3px 0 0; line-height: 1.4; white-space: nowrap; }
body.home .flash-card .fl-goods { padding: 0 11px; justify-content: space-between; gap: 0; margin-top: 9px; }
body.home .fl-item { max-width: none; flex: none; }
body.home .fl-img { width: 53px; height: 53px; }
body.home .fl-price { font-size: 17px; margin-top: 3px; }
body.home .fl-name { font-size: 11.5px; }
body.home .live-line { margin: 5px 0 0; font-size: 11.5px; }

/* 放心 · 用心 · 省心：纯白卡片 */
body.home .assure-card { background: #fff; }

/* ===========================================================
   商品图「完整显示」：皮肤墙为 1206x716 宽图，
   所有小尺寸缩略图一律 contain，不再裁切
   =========================================================== */
.fl-item {
  max-width: 112px;
}
#goodsList.list-view .pc-img {
  object-fit: contain;
}
.lr-img,
.sl-g img,
.od-img,
.ad-img,
.pf-preview,
.goods-thumb {
  object-fit: contain;
}

/* ===========================================================
   商品详情页 v2 —— 版式照真实螃蟹（参考图 596a72ed）
   量自参考截图 1206x2622 @3x（÷3 = 402pt 设计稿）：
     页面底色 #fff / 卡片 #fafafa，卡片左右外边距 17px
     价格 "300" 墨迹高 26css → 36px；标题 17px/23px 行高，最多 3 行
     找回包赔条 368x32，内容行 13px；服务标签胶囊高 24，间距 7.7
     人脸包赔行 13px；优势分析标题 14px 粗；亮点/卖家说 13px
     立即购买按钮 144x43 胶囊，橙色渐变 #ef8a32→#f9862b
   =========================================================== */
body.detail-page { background: #fff; padding-bottom: 92px; }

/* ---------- 顶栏：扁平线性图标，无底圆 ---------- */
.pd-top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px 4px; background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
}
.pdt-btn {
  width: 30px; height: 30px; border-radius: 0; flex: none;
  background: transparent; color: #1a1a1a; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; text-decoration: none; cursor: pointer;
}
.pdt-btn svg { width: 21px; height: 21px; display: block; }
.pd-top .pdt-right { display: flex; gap: 15px; }
.pdt-btn.on { background: transparent; color: #e8554a; }
.pdt-btn.on svg path { fill: #e8554a; }

/* ---------- 价格区 ---------- */
.pd-price-sec { background: #fff; padding: 7px 17px 0; }
.pd-price-line { display: flex; align-items: baseline; gap: 8px; }
.pd-price { color: #e8554a; font-size: 33px; font-weight: 800; letter-spacing: -.5px; }
.pd-price i { font-style: normal; font-size: 16px; font-weight: 700; margin-right: 1px; letter-spacing: 0; }
.pd-meta {
  margin-left: auto; font-size: 12px; color: #9a9a9a;
  display: flex; align-items: center; gap: 7px; padding-bottom: 5px;
}
.pd-meta b { width: 1px; height: 11px; background: #e3e3e3; font-size: 0; line-height: 0; }
.pd-title {
  margin-top: 5px; font-size: 15.5px; line-height: 23.5px; font-weight: 600; color: #1a1a1a;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pd-title i { font-style: normal; color: #b9b9b9; font-weight: 400; margin-left: 3px; }
.pd-shiming { display: flex; align-items: center; gap: 5px; margin-top: 11px; font-size: 13px; color: #6b6b6b; }
.pd-shiming svg { width: 11.5px; height: 11.5px; flex: none; }

/* ---------- 找回包赔条（深棕渐变，一行 32px） ---------- */
.pd-banner {
  display: flex; align-items: center; gap: 8px;
  margin: 13px 17px 0; height: 32px; padding: 0 12px;
  border-radius: 9px; overflow: hidden;
  background: linear-gradient(97deg, #372818 0%, #241a11 58%, #1c140d 100%);
}
.pd-banner .pdb-shield { width: 17px; height: 19px; flex: none; display: block; }
.pd-banner .pdb-shield svg { width: 17px; height: 19px; display: block; }
.pd-banner .pdb-t { font-size: 13px; font-weight: 800; color: #fff; flex: none; }
.pd-banner .pdb-div { width: 1px; height: 12px; background: rgba(255, 255, 255, .26); flex: none; }
.pd-banner .pdb-s { font-size: 12px; color: #c9bda9; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-banner .pdb-arr { font-style: normal; color: #a89b86; font-size: 15px; flex: none; }

/* ---------- 服务标签胶囊 ---------- */
.pd-chips { display: flex; gap: 8px; padding: 9px 17px 0; margin-top: 0; overflow-x: auto; scrollbar-width: none; }
.pd-chips::-webkit-scrollbar { display: none; }
.pd-chips span {
  flex: none; height: 24px; line-height: 24px; padding: 0 11px;
  border-radius: 12px; background: #fdf5ee; color: #4a3b2e;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
}

/* ---------- 浅灰卡（人脸包赔 / 优势分析 / 卖家说 / 图片 / 流程） ---------- */
.pd2-card { background: #fafafa; border-radius: 12px; margin: 8px 17px 0; padding: 13px 14px 11px; }
.pd2-head { display: flex; align-items: center; gap: 7px; }
.pd2-head b { font-size: 14px; font-weight: 800; color: #1a1a1a; flex: none; }
.pd2-head .pd2-h-sub { font-size: 12.5px; color: #9a9a9a; }
.pd2-head .pd2-h-info { width: 13px; height: 13px; flex: none; color: #c2c2c2; }
.pd2-head .pd2-h-n { margin-left: auto; font-size: 12px; color: #9a9a9a; }
.pd2-arr { margin-left: auto; font-style: normal; color: #c2c2c2; font-size: 16px; flex: none; }

/* 人脸包赔 */
.pd-renlian { display: flex; align-items: center; gap: 7px; padding: 9px 14px; }
.pd-renlian .pd-rl-ico { width: 15px; height: 15px; flex: none; color: #4a4a4a; }
.pd-renlian b { font-size: 13px; font-weight: 700; color: #1a1a1a; flex: none; }
.pd-renlian .pd-div { width: 1px; height: 11px; background: #dedede; flex: none; }
.pd-renlian em { font-style: normal; font-size: 13px; color: #6b6b6b; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 优势分析 */
.pd-liang { display: flex; align-items: center; gap: 7px; margin-top: 11px; overflow: hidden; }
.pd-liang-t { font-size: 13px; font-weight: 800; color: #1a1a1a; flex: none; }
.pd-liang-n { font-size: 12px; font-weight: 800; color: #f07a1e; flex: none; }
.pd-liang .pd-fl {
  flex: none; font-style: normal; font-size: 12.5px; color: #3a3a3a; background: #fff;
  border: 1px solid #ececec; border-radius: 13px; padding: 4px 11px; white-space: nowrap;
}
.pd-liang .pd-fl.more { color: #9a9a9a; border-style: dashed; }

/* 卖家说 */
.pd-said { position: relative; display: flex; align-items: flex-start; gap: 7px; }
.pd-said::before {
  content: '\201C'; position: absolute; left: -3px; top: -22px;
  font-size: 44px; line-height: 1; color: #ececec; font-family: Georgia, serif; pointer-events: none;
}
.pd-said b { position: relative; font-size: 13px; font-weight: 800; color: #1a1a1a; flex: none; }
.pd-said .pd-div { width: 1px; height: 11px; background: #dedede; flex: none; margin-top: 4px; }
.pd-said span {
  position: relative; font-size: 13px; color: #6b6b6b; line-height: 19px; min-width: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pd-said.open span { -webkit-line-clamp: unset; display: block; overflow: visible; }
.pd-said.open .pd-div { height: auto; align-self: stretch; }

/* ---------- 商品图片 ---------- */
.pd-main-img { margin-top: 12px; }
.pd-main-img img { width: 100%; display: block; border-radius: 10px; background: #0e1626; }
.pd-gallery-sec { margin-top: 16px; }
.pd-shots { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; max-height: none; overflow: visible; }
.pd-shots img { width: 100%; display: block; border-radius: 10px; background: #0e1626; }

/* ---------- 购买流程（横向 5 步图标流 + 温馨提醒，2026-10-16 照参考图重做） ---------- */
.pd-flow2 { display: flex; align-items: flex-start; padding: 17px 2px 3px; }
.pd-flow2 .pf-step { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.pd-flow2 .pf-step svg { width: 24px; height: 24px; display: block; }
.pd-flow2 .pf-step span { margin-top: 11px; font-size: 13px; line-height: 1; color: #333; }
.pd-flow2 .pf-arr { flex: none; font-style: normal; margin: 5px 1px 0; }
.pd-flow2 .pf-arr svg { width: 10px; height: 14px; display: block; }
.pd-tip2 { margin-top: 10px; display: flex; align-items: center; gap: 7px; padding: 15px 12px; }
.pd-tip2-ico { width: 14px; height: 14px; flex: none; }
.pd-tip2 span { flex: 1; min-width: 0; font-size: 13px; color: #333; white-space: nowrap; overflow: hidden; }
.pd-tip2 .pd2-arr { margin-left: 2px; }

.pd-safe { text-align: center; font-size: 11px; color: #b8b8b8; padding: 16px 17px 4px; }

/* ---------- 底部：还价条 + 操作栏 ---------- */
.pd-bargain {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(59px + env(safe-area-inset-bottom));
  width: 100%; max-width: var(--maxw);
  background: #fff; border-radius: 0; box-shadow: none;
  padding: 9px 14px; display: flex; align-items: center; gap: 9px;
  z-index: 21; font-size: 13px; color: #1a1a1a; font-weight: 600;
  border-top: 1px solid #f2f2f2;
}
.pd-bargain.hide { display: none; }
.pdbg-avas { display: flex; flex: none; }
.pdbg-avas > * { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #fff; margin-left: -8px; display: block; }
.pdbg-avas > *:first-child { margin-left: 0; }
.pdbg-avas img { object-fit: cover; }
.pdbg-x { margin-left: auto; font-style: normal; color: #c0c4cc; font-size: 17px; cursor: pointer; }

.pd-bottom {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--maxw);
  background: #fff; border-top: 1px solid #f2f2f2;
  display: flex; align-items: center;
  padding: 8px 13px calc(8px + env(safe-area-inset-bottom));
  z-index: 22;
}
.pdb-left { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-right: 8px; }
.pdb-left em { font-style: normal; font-size: 10px; color: #6b6b6b; }
.pdb-ico { width: 30px; height: 26px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 19px; cursor: pointer; color: #1a1a1a; }
.pdb-ico.on i { color: #e8554a; }
.pdb-btns { margin-left: auto; display: flex; gap: 9px; }
.pdb-btn {
  font-size: 14.5px; font-weight: 700; border-radius: 21.5px;
  height: 43px; display: flex; align-items: center; justify-content: center;
  padding: 0 24px; cursor: pointer; white-space: nowrap;
}
.pdb-btn.ghost { color: #1a1a1a; background: #fff; border: 1px solid #dcdcdc; font-weight: 600; }
.pdb-btn.main {
  color: #fff; padding: 0 30px; border: 0;
  background: linear-gradient(100deg, #ef8a32, #f9862b);
  box-shadow: 0 4px 12px rgba(239, 138, 50, .3);
}

/* ---------------- 支付弹层（下单页：支付宝 / 微信 / 钱包） ---------------- */
.pay-mask {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, .45);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .18s ease;
}
.pay-mask.in { opacity: 1; }
.pay-mask.out { opacity: 0; }
.pay-sheet {
  width: 100%; max-width: var(--maxw);
  background: #fff; border-radius: 16px 16px 0 0;
  padding: 6px 14px calc(16px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .22s ease;
}
.pay-mask.in .pay-sheet { transform: translateY(0); }
.pay-hd {
  position: relative; height: 42px;
  display: flex; align-items: center; justify-content: center;
}
.pay-hd b { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.pay-x {
  position: absolute; right: 0; top: 0; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #b3b7bf; cursor: pointer;
}
.pay-amt {
  text-align: center; font-size: 30px; font-weight: 800; color: #1a1a1a;
  padding: 4px 0 14px;
}
.pay-amt i { font-style: normal; font-size: 18px; margin-right: 2px; }
.pay-list { display: flex; flex-direction: column; }
.pay-row {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 2px; border-top: 1px solid #f2f3f5; cursor: pointer;
}
.pay-ico {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-style: normal; font-weight: 700;
}
.pay-n { flex: 1; min-width: 0; }
.pay-n b { display: block; font-size: 14.5px; font-weight: 600; color: #222; }
.pay-n em {
  display: block; font-style: normal; font-size: 11px; color: #9a9ea6; margin-top: 3px;
}
.pay-ck {
  width: 19px; height: 19px; border-radius: 50%; flex: none;
  border: 1.5px solid #d6d8dd;
}
.pay-row.on .pay-ck {
  border-color: var(--orange-dark);
  background: radial-gradient(circle, var(--orange-dark) 0 5.5px, #fff 5.5px 100%);
}
.pay-ok {
  width: 100%; height: 46px; margin-top: 16px; border: 0;
  border-radius: 23px; background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
  color: #fff; font-family: inherit; font-size: 15.5px; font-weight: 800;
  cursor: pointer;
}
.pay-ok[disabled] { opacity: .6; }
.pay-tip { text-align: center; font-size: 11px; color: #b0b4bb; margin-top: 10px; }

/* ===========================================================
   客服聊天页 2.0（.kf2-*，2026-10-16 按真机截图 1:1 重做）
   浅色头部 + 白色客服气泡（名字/官方徽章/时间）+ 橙黄我方气泡
   （时间/全部已读）+ 快捷条（催客服/催买家/评价/交易信息/投诉建议）
   + 表情/相册/加号输入栏 + 加号面板（相册/视频/文件）+ 满意度评价卡
   =========================================================== */
body.kefu-body {
  background: #f7f8fa; overflow: hidden;
  padding-bottom: 0;   /* 聊天页没有底部导航：全局 body 的 72px 预留会变成输入栏下方的空白（2026-10-17） */
  display: flex; flex-direction: column;   /* 纵向布局：头部/消息/快捷条/输入栏 */
  min-height: 0;   /* 覆盖旧 min-height:100vh */
  height: 100dvh;  /* 结构兜底：哪怕 JS（fitViewport）没跑，body 也有高度约束，
                      .kf2-msgs 才能滚动 —— 绝不允许再出现「整页划不动」（2026-10-17） */
  /* 高度不用 100vh/100dvh 精确值：部分手机浏览器（底部工具栏悬浮）这类单位比可视区高，
     输入栏下方会留出一块空白（用户红笔圈 2026-10-16 两次反馈），
     由 kefu.js / group.js 按 visualViewport（真实可视高度）精确设定 body 高度（内联覆盖此处） */
}
@supports not (height: 100dvh) {
  body.kefu-body { height: 100vh; }
}
.kf2-head {
  position: sticky; top: 0; z-index: 20; height: 52px; flex: none;
  background: #fff; display: flex; align-items: center; gap: 6px;
  padding: 0 10px; border-bottom: 1px solid #f0f1f4;
}
.kf2-back { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; flex: none; }
.kf2-title {
  flex: 1; text-align: center; font-size: 16.5px; font-weight: 600; color: #1a1a1a;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px;
}
.kf2-more { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; flex: none; }

.kf2-msgs { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 12px 6px; }
.kf2-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 16px; }
.kf2-row.me2 { flex-direction: row-reverse; }
.kf2-ava { width: 38px; height: 38px; border-radius: 50%; flex: none; object-fit: cover; background: #eef0f3; }
.kf2-col { max-width: 76%; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.kf2-row.me2 .kf2-col { align-items: flex-end; }
.kf2-meta { display: flex; align-items: center; gap: 6px; margin: 0 0 5px 2px; }
.kf2-row.me2 .kf2-meta { margin: 0 2px 5px 0; }
.kf2-name { font-size: 11.5px; color: #8b9199; }
.kf2-official {
  font-style: normal; font-size: 10px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #ffb03a, #ff7a1f); border-radius: 4px; padding: 1.5px 4.5px;
}
.kf2-time, .kf2-read { font-size: 10.5px; color: #b6bbc3; }
.kf2-bub {
  background: #fff; border-radius: 3px 12px 12px 12px; padding: 10px 13px;
  font-size: 15px; line-height: 1.55; color: #1a1a1a; word-break: break-word;
  white-space: pre-line;   /* 支持 \n 换行（锦鲤休息时间话术为多行，2026-10-17） */
  box-shadow: 0 1px 2px rgba(20, 30, 50, .04);
}
.kf2-bub.me { background: #ffe9c2; border-radius: 12px 3px 12px 12px; }
.kf2-media { max-width: 100%; max-height: 260px; border-radius: 10px; display: block; }
.kf2-bub.typing { display: flex; align-items: center; padding: 13px 14px; }
.kf2-bub.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: #c3c9d1; margin-right: 5px;
  animation: kf2blink 1.2s infinite;
}
.kf2-bub.typing i:nth-child(2) { animation-delay: .2s; }
.kf2-bub.typing i:nth-child(3) { animation-delay: .4s; margin-right: 0; }
@keyframes kf2blink { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }

/* 快捷操作条（横向滚动） */
.kf2-chips { flex: none; display: flex; gap: 8px; padding: 7px 12px 9px; overflow-x: auto; background: #f7f8fa; }
.kf2-chips::-webkit-scrollbar { display: none; }
.kf2-chip {
  flex: none; display: flex; align-items: center; gap: 5px; cursor: pointer;
  background: #fff; border: 1px solid #eceef1; border-radius: 999px;
  padding: 7px 14px; font-size: 13px; color: #333;
}
.kf2-chip svg { display: block; }

/* 输入栏（底部内边距用固定值：部分内嵌浏览器 env(safe-area-inset-bottom) 异常大，
   会把输入栏下面撑出一大块空白，用户红笔圈 2026-10-16） */
.kf2-inputbar { flex: none; display: flex; align-items: center; gap: 7px; padding: 7px 12px 11px; background: #f7f8fa; }
.kf2-inputbar input {
  flex: 1; min-width: 0; height: 40px; border: 0; border-radius: 10px;
  background: #fff; padding: 0 13px; font-size: 14.5px; color: #1a1a1a; outline: none; font-family: inherit;
}
.kf2-inputbar input::placeholder { color: #b6bbc3; }
.kf2-ico { width: 33px; height: 33px; flex: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.kf2-ico:active { opacity: .7; }
.kf2-plus {
  width: 34px; height: 34px; border-radius: 50%; flex: none; cursor: pointer;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(20, 30, 50, .08); transition: transform .18s;
}
.kf2-plus.on { transform: rotate(45deg); }

/* 加号面板：相册 / 视频 / 文件 */
.kf2-panel { flex: none; display: none; background: #fff; padding: 20px 10px 20px; }
.kf2-panel.on { display: block; }
.kf2-prow { display: flex; gap: 30px; padding: 0 18px; }
.kf2-pitem { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 12px; color: #666; cursor: pointer; }
.kf2-pico {
  width: 56px; height: 56px; border-radius: 15px; font-style: normal;
  background: #f4f5f7; display: flex; align-items: center; justify-content: center;
}

/* 表情面板 */
.kf2-emrow { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px 12px; }
.kf2-emrow span {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 27px; border-radius: 9px; cursor: pointer;
}
.kf2-emrow span:active { background: #f2f4f7; }

/* 满意度评价卡 */
.kf2-rate {
  margin: 20px 0 10px; border-radius: 16px; padding: 16px 14px 14px; text-align: center;
  background: linear-gradient(165deg, #fff8e3 0%, #ffedb4 100%);
}
.kf2-rate-t { font-size: 13.5px; font-weight: 700; color: #3d3325; }
.kf2-rate-e { display: flex; justify-content: space-between; margin-top: 13px; padding: 0 2px; }
.kf2-rate-e span {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 28px; line-height: 1; cursor: pointer; transition: transform .15s;
}
.kf2-rate-e em { font-style: normal; font-size: 10.5px; color: #8a7a55; }
.kf2-rate-e span.on { transform: scale(1.18); }
.kf2-rate-e span.on em { color: #f0740c; font-weight: 700; }
.kf2-rate-done { margin-top: 12px; font-size: 11.5px; color: #a08c4e; }

/* ===========================================================
   极速出号入口页（sell.html，2026-10-16 照真实螃蟹 1:1）
   =========================================================== */
.sl-page { background: #7c7f86; padding-bottom: 0; min-height: 0; }
.sl-sheet {
  min-height: 100vh; display: flex; flex-direction: column;
  background: #fff; border-radius: 18px 18px 0 0; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
}
.sl-banner { display: block; width: 100%; height: auto; }
.sl-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 34px 0;
}
.sl-head-l {
  display: flex; align-items: center; gap: 9px;
  font-family: 'TitleKuaiLe', -apple-system, 'PingFang SC', sans-serif;
  font-size: 21px; color: #1c1c1c; letter-spacing: 1px;
}
.sl-head-l img { width: 28px; height: 25px; object-fit: contain; }
.sl-head-r { font-size: 14px; color: #9a9a9a; }
.sl-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 15px 20px 0; row-gap: 13px;
}
.sl-tile { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.sl-tile img { width: 43px; height: 43px; border-radius: 11px; display: block; }
.sl-tile span {
  margin-top: 9px; font-size: 13px; color: #333;
  max-width: 64px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sl-spacer { flex: 1; min-height: 150px; }
.sl-card {
  position: relative; margin: 0 21px; background: #f5f6f8;
  border-radius: 16px; padding: 15px 16px;
  display: flex; align-items: center; gap: 10px; cursor: pointer;
}
.sl-card b {
  font-family: 'TitleKuaiLe', -apple-system, 'PingFang SC', sans-serif;
  font-size: 20px; color: #1c1c1c; letter-spacing: 1px; font-weight: normal;
}
.sl-card > img { width: 30px; height: 28px; object-fit: contain; flex: none; }
.sl-card em { margin-left: auto; font-style: normal; color: #c2c5cb; font-size: 18px; }
.sl-close {
  display: block; margin: 56px auto 34px; width: 50px; height: 50px;
  border-radius: 50%; border: none; background: #f7f8fa;
  font-size: 22px; color: #1c1c1c; line-height: 1; cursor: pointer;
}

/* ===========================================================
   我要卖发布表单（publish.html，2026-10-16 照真实螃蟹 1:1）
   =========================================================== */
.pb-page { background: #f4f5f7; }
.publish-page .sp-top { background: transparent; border-bottom: none; position: relative; }
.publish-page .sp-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 17px; }
.publish-page .sp-top .back { font-size: 26px; padding-right: 0; }
.pb-body { padding-bottom: 8px; }
.pb-gamebar {
  margin: 6px 12px 0; background: #fff; border-radius: 16px;
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
}
.pb-gamebar img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.pb-gamebar b { font-size: 18px; color: #1a1a1a; }
.pb-switch { margin-left: auto; font-size: 15px; color: #666; display: flex; align-items: center; gap: 6px; }
.pb-switch svg { width: 19px; height: 17px; }
.pb-card { margin: 11px 12px 0; background: #fff; border-radius: 16px; padding: 17px 16px; }
.pb-label-row { display: flex; align-items: center; justify-content: space-between; }
.pb-label { font-size: 17px; font-weight: 700; color: #1a1a1a; }
.pb-label i { font-style: normal; color: #fa5151; margin-right: 2px; }
.pb-cur { display: flex; align-items: center; gap: 6px; font-size: 16px; color: #333; }
.pb-cur svg { width: 15px; height: 9px; }
.pb-chips3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 15px; }
.pb-chips3 span {
  height: 41px; display: flex; align-items: center; justify-content: center;
  background: #f4f5f7; border: 1px solid transparent; border-radius: 10px;
  font-size: 14.5px; color: #333; cursor: pointer; white-space: nowrap; overflow: hidden;
}
.pb-chips3 span.on {
  background: #fff6e8; border-color: #f5a049; color: #f0892f; font-weight: 600;
}
.pb-bluetip {
  margin-top: 15px; background: #e9f1fe; border-radius: 8px;
  padding: 10px 12px; font-size: 13px; color: #7aa0d4; white-space: nowrap;
}
.pb-bluetip2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pb-blue-q { flex: 1; min-width: 0; }
.pb-bluetip2 a { color: #4f82e8; font-weight: 600; white-space: nowrap; }
.pb-bluetip2 a i { font-style: normal; }
.pb-authcard { display: block; width: 100%; border-radius: 12px; margin-top: 14px; }
.pb-input {
  display: block; width: 100%; margin-top: 14px; height: 48px;
  background: #f4f5f7; border: none; border-radius: 12px;
  padding: 0 16px; font-size: 16px; color: #333; outline: none;
}
.pb-input::placeholder { color: #b9bdc4; }
.pb-helper { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.pb-helper span { font-size: 13px; color: #9a9a9a; }
.pb-helper a { font-size: 13px; color: #f0892f; }
.pb-helper a i { font-style: normal; }
.pb-price-row { gap: 10px; }
.pb-price-input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  text-align: right; font-size: 17px; color: #333;
}
.pb-price-input::placeholder { color: #b9bdc4; }
.pb-fee-row { display: flex; align-items: center; margin-top: 17px; font-size: 15px; color: #1a1a1a; }
.pb-fee-row .pb-fee-l em { font-style: normal; font-size: 13px; color: #9a9a9a; }
.pb-fee-row .pb-fee-dots { flex: 1; text-align: right; color: #9a9a9a; margin-right: 14px; }
.pb-fee-row .pb-fee-v { min-width: 34px; text-align: right; color: #f5641e; font-weight: 600; font-size: 16px; letter-spacing: 1px; }
.pb-chips2 { display: flex; gap: 11px; margin-top: 15px; }
.pb-chips2 span {
  background: #f4f5f7; border: 1px solid transparent; border-radius: 10px;
  min-height: 41px; padding: 8px 18px; display: flex; align-items: center; justify-content: center;
  font-size: 14.5px; color: #333; text-align: center; cursor: pointer; line-height: 1.35;
  max-width: 186px;
}
.pb-chips2 span.on { background: #fff6e8; border-color: #f5a049; color: #f0892f; font-weight: 600; }
.pb-agree-card { display: flex; align-items: center; gap: 10px; padding: 16px; }
.pb-radio {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #c9ccd3; background: #fff; cursor: pointer; position: relative;
}
.pb-radio.on { border-color: #f0892f; background: #f0892f; }
.pb-radio.on::after {
  content: ''; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.pb-agree-txt { font-size: 13px; color: #1a1a1a; white-space: nowrap; }
.pb-agree-txt a { color: #f0892f; }
.pb-bottom-space { height: 8px; }
.pb-footer {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--maxw); z-index: 30;
  background: #f4f5f7; padding-bottom: env(safe-area-inset-bottom);
}
.pb-scantip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fdf5ec; padding: 9px 14px; font-size: 12.5px; color: #b38051;
}
.pb-scantip i { font-style: normal; font-size: 16px; color: #c9a06a; cursor: pointer; }
.pb-go {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 7px 12px 10px; width: calc(100% - 24px); border: none; cursor: pointer;
  height: 52px; background: #f5a046; border-radius: 14px;
  font-size: 19px; font-weight: 700; color: #fff; letter-spacing: 1px;
}
.pb-go svg { width: 13px; height: 19px; }

/* ===========================================================
   道具皮肤 tab —— 2026-10-17 图2 真螃蟹 1:1
   chips 行 + 排序行 + 礼包卡（左 111px 方图 / 认证卖家 / 两行标题 / 灰 meta / 红价格 + 灰星）
   =========================================================== */
.pk-chips { display: flex; gap: 9px; padding: 11px 11px 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pk-chips::-webkit-scrollbar { display: none; }
.pk-chip {
  flex: none; font-size: 13px; color: #383838; background: #f4f4f4;
  border-radius: 9px; padding: 7px 13px; white-space: nowrap;
}
.pk-chip.on { background: #ffefe0; color: #ff7a1f; font-weight: 600; }
.pk-sort { display: flex; align-items: center; padding: 13px 11px 9px; }
.pk-st { font-size: 15px; font-weight: 700; color: #333; margin-right: 24px; display: flex; align-items: center; }
.pk-st i { font-style: normal; font-size: 10px; margin-left: 4px; color: #4a4a4a; }
.pk-st.pk-filter { margin-left: auto; margin-right: 0; gap: 4px; }
/* 抵消 .page-body 的 12px 内边距，图2 内容距屏幕边 ~11px */
.pk-chips { margin: 0 -12px; padding-left: 11px; padding-right: 11px; }
.pk-sort { margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.pk-card { display: flex; text-decoration: none; margin-top: 26px; margin-left: -12px; margin-right: -12px; padding: 0 11px; }
.pk-sort + .pk-card { margin-top: 14px; }
.pk-img {
  width: 111px; height: 111px; border-radius: 9px; flex: none;
  object-fit: cover; display: block; background: #f2f2f2;
}
.pk-main { flex: 1; min-width: 0; margin-left: 18px; display: flex; flex-direction: column; }
.pk-badge {
  align-self: flex-start; font-size: 11px; line-height: 1; color: #a5651f;
  background: #fdf4e7; border-radius: 5px; padding: 3px 7px; margin-top: 2px;
}
.pk-title {
  font-size: 16px; font-weight: 700; color: #262626; line-height: 20px;
  margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pk-meta { font-size: 12px; color: #696969; margin-top: 5px; white-space: nowrap; overflow: hidden; }
.pk-meta i { font-style: normal; color: #d5d5d5; margin: 0 5px; }
.pk-foot { margin-top: auto; display: flex; align-items: flex-end; }
.pk-price { font-size: 20px; font-weight: 800; color: #ea524b; line-height: 1; }
.pk-price i { font-style: normal; font-size: 13px; font-weight: 700; margin-right: 1px; }
.pk-star {
  margin-left: auto; display: flex; align-items: center; gap: 3px;
  font-size: 13px; color: #9b9b9b; padding-bottom: 1px;
}
.pk-star svg { display: block; }

/* ===========================================================
   账号 tab chips + 排序行 —— 2026-10-17 图2 真螃蟹 1:1（覆盖上面旧规则）
   实测@3x：胶囊 199x85（66x28 CSS）、字 ink 36px→13.5px、间距 31px→10px、
   距屏 44px→15px；排序行 ink 40px→15px 粗体 #363636、起始 x59→20px、词距 32px、
   ▼ 实心小三角；限时秒杀 = 斜体特粗 + 橙色闪电叠字
   =========================================================== */
.quick-chips { gap: 10px; padding: 10px 15px 10px; }
.qc {
  font-size: 13.5px; line-height: 1; font-weight: 700; color: #373737;
  background: #e9e9e9; padding: 7px;
}
.qc.active { background: #ffefe1; color: #e0620d; }
.qc-ms { position: relative; font-style: italic; font-weight: 900; }
.qc-ms .qc-zap {
  position: absolute; left: 52%; top: 50%;
  transform: translate(-50%, -54%);
}
.sort-row { gap: 32px; padding: 10px 15px 12px 20px; font-size: 15px; color: #363636; }
.sr-arrow { font-size: 11px; margin-left: 3px; color: #363636; position: relative; top: 1px; }
.sr.active .sr-arrow { color: #363636; }
.sr.active { color: #111; }
.sr-icon svg { width: 22px; height: 22px; }

/* ===========================================================
   客服聊天字体 —— 2026-10-17 真螃蟹(m1.pxb7.com)截图 1:1
   实测（589px 截图 ÷1.465 = 402 视口）：正文 14px / 行高 20px、气泡四角统一 12px 圆角、
   名字 11px 橙色、时间 10px 灰、未读橙红、头像 34px、气泡最宽 ~306px
   =========================================================== */
.kf2-bub {
  font-size: 14px; line-height: 20px; padding: 11px 15px;
  border-radius: 12px;
}
.kf2-bub.me { border-radius: 12px; }
.kf2-name { font-size: 11px; color: #ff8f24; }
.kf2-time, .kf2-read { font-size: 12px; }
.kf2-read { color: #f4503e; }
.kf2-meta { margin: 0 0 6px 2px; }
.kf2-ava { width: 34px; height: 34px; }
.kf2-row { gap: 6px; }
.kf2-col { max-width: 88%; }

/* ===========================================================
   订单交易群 group.html —— 2026-10-17
   复用 kf2-* 气泡体系，新增：系统提示条 / 文字头像 / 合同卡
   =========================================================== */
.gc-sys {
  margin: 10px auto; max-width: 86%; text-align: center;
  font-size: 11.5px; line-height: 18px; color: #9aa0a8;
  background: #eef0f3; border-radius: 10px; padding: 6px 12px;
}
.gc-txtava {
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #ffb25e, #f0740c);
}
/* 合同卡 */
.gc-contract {
  width: 268px; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(240, 116, 12, .10); margin-top: 2px;
}
.gc-chead {
  display: flex; align-items: center; gap: 6px;
  background: linear-gradient(120deg, #ff9a2e, #f0740c);
  padding: 10px 12px; color: #fff;
}
.gc-chead b { font-size: 14.5px; letter-spacing: 1px; }
.gc-cico {
  width: 24px; height: 24px; border-radius: 7px; flex: none;
  background: rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center;
}
.gc-chead em {
  font-style: normal; font-size: 9px; margin-left: auto;
  background: rgba(255, 255, 255, .22); border-radius: 8px; padding: 2px 6px;
}
.gc-cbody { padding: 8px 12px 2px; }
.gc-crow {
  display: flex; gap: 8px; font-size: 11.5px; line-height: 17px;
  padding: 3.5px 0; align-items: flex-start;
}
.gc-crow + .gc-crow { border-top: 1px dashed #f2ece2; }
.gc-crow span { flex: none; width: 72px; color: #9b8f80; }
.gc-crow b { font-weight: 600; color: #33302b; word-break: break-all; }
.gc-crow b.gc-cprice { color: #f0512c; font-size: 13px; }
.gc-cfoot {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px 11px; margin-top: 4px;
  border-top: 1px solid #f6f1e8; background: #fffdf8;
}
.gc-cstate { font-size: 10.5px; color: #c77c1d; }
.gc-cstate.done { color: #1fab57; font-weight: 700; }
.gc-cbtns { margin-left: auto; display: flex; gap: 6px; }
.gc-cbtn {
  font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(120deg, #ff9a2e, #f0740c);
  border-radius: 14px; padding: 5px 14px; cursor: pointer;
}
.gc-csign { font-size: 10.5px; color: #1fab57; display: inline-flex; align-items: center; gap: 3px; }
.gc-csign i {
  width: 12px; height: 12px; border-radius: 50%; background: #1fab57; flex: none;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z"/></svg>') center / contain no-repeat;
  background: #1fab57;
}
.gc-csign.wait { color: #b9bec6; }

/* 发送按钮（群聊页输入栏，与 kf2-inputbar 同一套间距） */
.kf2-send {
  flex: none; height: 33px; padding: 0 15px; border-radius: 17px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 700; color: #fff;
  background: linear-gradient(120deg, #ff9a2e, #f0740c);
  box-shadow: 0 2px 6px rgba(240, 116, 12, .22); cursor: pointer;
}
.kf2-send:active { opacity: .82; }
.kf2-send.off { background: #d8dbe0; color: #fff; box-shadow: none; }

/* 进群邀请卡（2026-10-18：拉群后由「官方客服」发出，买卖双方点「加入群聊」才真正进群） */
.gc-invite {
  width: 268px; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(240, 116, 12, .10); margin-top: 2px;
}
.gi-top {
  display: flex; align-items: center; gap: 6px;
  background: linear-gradient(120deg, #ff9a2e, #f0740c);
  padding: 9px 12px; color: #fff;
}
.gi-top b { font-size: 13.5px; letter-spacing: .5px; }
.gi-top em {
  font-style: normal; font-size: 9px; margin-left: auto;
  background: rgba(255, 255, 255, .22); border-radius: 8px; padding: 2px 6px;
}
.gi-body { padding: 10px 12px 4px; }
.gi-p { font-size: 12.5px; line-height: 18px; color: #33302b; margin: 0 0 8px; }
.gi-tip { font-size: 11px; line-height: 17px; color: #9b8f80; margin: 0; }
.gi-foot {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 9px 12px 11px; margin-top: 4px; border-top: 1px solid #f6f1e8; background: #fffdf8;
}
.gi-btn {
  font-size: 12.5px; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(120deg, #ff9a2e, #f0740c);
  border-radius: 14px; padding: 6px 18px;
  box-shadow: 0 2px 6px rgba(240, 116, 12, .22);
}
.gi-btn:active { opacity: .82; }
.gi-joined { font-size: 11px; color: #1fab57; display: inline-flex; align-items: center; gap: 4px; }
.gi-joined i {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: #1fab57;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z"/></svg>') center / contain no-repeat;
}
/* 后台只读迷你版 */
.gi-mini {
  background: #fff; border-radius: 10px; overflow: hidden; margin-top: 4px;
  border: 1px solid #f2ece2; width: 260px;
}
.gi-mini .gm-h {
  background: linear-gradient(120deg, #ff9a2e, #f0740c); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 7px 10px;
}
.gi-mini .gm-b { padding: 8px 10px; font-size: 11.5px; line-height: 17px; color: #4b4741; }
.gi-mini .gm-f { padding: 7px 10px; font-size: 11px; color: #9b8f80; background: #fffdf8; border-top: 1px solid #f6f1e8; }

/* ===========================================================
   发布页 · 商品图片上传 —— 2026-10-17
   真实 input[type=file] 铺满整格（容器 relative + overflow hidden）
   =========================================================== */
.pb-upgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 2px; }
.pb-upcell {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1;
  border: 1.5px dashed #d9dde3; border-radius: 10px; background: #fafbfc;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.pb-upcell svg { width: 30px; height: 30px; display: block; }
.pb-upcell i { font-style: normal; font-size: 11.5px; color: #9aa0a8; }
.pb-upcell input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pb-upthumb { border: 1.5px solid #eceef1; background: #f2f3f5; }
.pb-upthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-upfirst {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(240, 116, 12, .88); color: #fff; font-size: 10px;
  line-height: 1; text-align: center; padding: 3px 0;
}
.pb-updel {
  position: absolute; top: 0; right: 0; width: 21px; height: 21px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0 0 0 10px; cursor: pointer;
}

/* ===========================================================
   充值 tab 列表 + 充值商品详情 —— 2026-10-17 照真螃蟹图2/3/4 1:1
   实测@3x：图 270x344（90x115 CSS）、卡距 411（137）、图距屏 10、
   内容左 112、badge 橙字浅橙底、title 16、desc/meta 13、价 20 红
   =========================================================== */
.rc-card { margin-top: 22px; }
.rc-img { width: 90px !important; height: 115px !important; border-radius: 8px; }
.rc-badge {
  align-self: flex-start; font-size: 11px; line-height: 1; color: #c8862a;
  background: #faf1de; border-radius: 5px; padding: 3px 6px; margin-top: 2px;
}
.rc-title { -webkit-line-clamp: 1; margin-top: 9px; }
.rc-desc { font-size: 13px; color: #979797; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-meta { margin-top: 7px; }
.rc-card .pk-star svg + svg { margin-left: 8px; }

/* ---------- 详情页 ---------- */
.rd-cover { position: relative; background: #eef1f5; }
.rd-cover img { width: 100%; display: block; height: 375px; object-fit: cover; }
.rd-cnt {
  position: absolute; top: 12px; right: 12px; font-size: 11px; color: #fff;
  background: rgba(0, 0, 0, .45); border-radius: 12px; padding: 3px 10px;
}
.rd-pricecard { background: #fff; padding: 13px 12px 14px; }
.rd-price-row { display: flex; align-items: baseline; }
.rd-price { font-size: 22px; font-weight: 800; color: #f0523c; line-height: 1; }
.rd-price i { font-style: normal; font-size: 14px; font-weight: 700; margin-right: 1px; }
.rd-orig { font-size: 13px; color: #b9bec6; text-decoration: line-through; margin-left: 8px; }
.rd-cut { font-size: 11px; color: #ff6b1a; margin-left: 6px; }
.rd-favs { margin-left: auto; font-size: 12px; color: #9aa0a8; }
.rd-title { font-size: 16px; font-weight: 700; color: #262626; line-height: 23px; margin-top: 11px; }
.rd-tags { display: flex; gap: 7px; margin-top: 9px; }
.rd-tag { font-size: 10.5px; line-height: 1; color: #8a9099; background: #f2f3f5; border-radius: 4px; padding: 3px 6px; }
.rd-tag.hot { color: #e2851f; background: #fdf1dd; }
.rd-card { background: #fff; border-radius: 12px; margin: 10px 12px 0; padding: 13px 14px; }
.rd-seller { display: flex; align-items: center; font-size: 14px; font-weight: 600; color: #262626; }
.rd-signed { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: #ff7a1f; }
.rd-signed i { display: flex; }
.rd-pkg-head { display: flex; align-items: center; font-size: 14px; font-weight: 600; color: #262626; }
.rd-pkg-head span { margin-left: auto; font-size: 12.5px; font-weight: 400; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-pkg-head em { font-style: normal; color: #b9bec6; margin-left: 3px; }
.rd-pkg-thumbs { display: flex; align-items: stretch; gap: 8px; margin-top: 10px; }
.rd-th { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; display: block; border: 1.5px solid #eceef1; }
.rd-th.on { border-color: #f0a24c; }
.rd-all {
  flex: none; width: 26px; border-radius: 8px; background: #f7f8fa;
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; color: #9aa0a8; letter-spacing: 2px;
  writing-mode: vertical-rl; padding: 4px 0;
}
.rd-info { display: flex; align-items: center; }
.rd-info-l em { font-style: normal; display: block; font-size: 12px; color: #9aa0a8; }
.rd-info-l b { display: block; font-size: 14px; color: #262626; margin-top: 4px; }
.rd-info-r { margin-left: auto; font-size: 13px; color: #6b7280; text-align: center; line-height: 18px; }
.rd-info-r em { font-style: normal; color: #b9bec6; margin-left: 6px; font-size: 15px; }
.rd-section { background: #fff; border-radius: 12px; margin: 10px 12px 0; padding: 13px 14px 15px; }
.rd-sect-title { font-size: 15px; font-weight: 700; color: #1f1f1f; }
.rd-intro { font-size: 14px; color: #3d4147; line-height: 24px; margin-top: 9px; }
.rd-mt { margin-top: 16px; }
.rd-promise { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4a4f57; margin-top: 10px; }
.rd-promise span { margin-right: 14px; }
.rd-promise svg + span { margin-right: 0; }
.rd-flow { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #374151; margin-top: 10px; }
.rd-flow i { flex: none; width: 46px; border-top: 1.5px dotted #d3d7dd; margin: 0 4px; }
.rd-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 9px 6px; margin-top: 10px; }
.rd-grid div { font-size: 13px; display: flex; align-items: center; gap: 3px; min-width: 0; }
.rd-grid em { font-style: normal; color: #9aa0a8; flex: none; }
.rd-grid b { font-weight: 500; color: #262626; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-copy { cursor: pointer; display: flex; flex: none; }
.rd-top {
  position: fixed; right: 12px; bottom: calc(var(--tabbar-h, 0px) + 74px);
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5;
}
body.detail-page .rd-top { bottom: 74px; }

/* ===========================================================
   代练陪玩 tab —— 2026-10-17 图2 真螃蟹 1:1
   复用 pk-chips/pk-sort/pk-card；实测@3x：图 343x344→114x115、
   卡距 67px→22px、排序行→首卡 53px→9px
   =========================================================== */
.dl-card, .nb-card { margin-top: 22px; padding: 0 9px 0 11px; }
.pk-sort + .dl-card { margin-top: 9px; }
/* 初始号无 chips 行：排序行上方补回 11px（同 chips padding-top），首卡上距 4px */
.nb-sort { padding-top: 24px; }
.pk-sort + .nb-card { margin-top: 4px; }
.dl-card .pk-img, .nb-card .pk-img { width: 114px; height: 115px; }
/* 文字列对齐图2：图右缘 125pt + 间隙 6.7pt → 文字起点 131.7pt，右缘 393pt */
.dl-card .pk-main, .nb-card .pk-main { margin-left: 7px; }
/* 标题字宽压到真机比例（实测 L2 266pt → 0.91x≈242pt 与图2 一致），换行点逐字对齐 */
/* 标题按图2 手动断行（\n），pre 不再自动折行；字宽 0.91x 对齐真机 */
.nb-card .pk-title {
  display: block; -webkit-line-clamp: unset; -webkit-box-orient: unset;
  white-space: pre; overflow: hidden; width: 105%; line-height: 19px;
  max-height: 38px;
  transform: scaleX(.91); transform-origin: 0 0;
}

/* ===========================================================
   20261017s：我的页 1:1 对齐真螃蟹新截图（图2，1206x2622@3x）
   实测：卡顶 358（本地 307 → +17css）、卡间隙 23px（=8css，本地 14css）、
   头像探出卡顶 11px（=-3.7css）、昵称墨迹距卡顶 13css、包赔行上移 7css、
   工具卡高 92css（上24.3/下19.7）、交易卡高 90.3（上24.3/下22.7）、
   菜单卡高 157.3（上24.3/行距22.3/下26.3）
   =========================================================== */
body.mine .gear-row { padding: 31px 16px 0; }          /* 螺母随头部下移 */
.gear-row .gear img { width: 21px; height: 21px; display: block; }
body.mine > .tools-card,
body.mine > .trade-card,
body.mine > .menu-card { margin-top: 8px; }
body.mine .mine-head { margin-bottom: 0; margin-top: 11px; }
/* flex 卡不塌陷 margin：下边距清零，间距统一由 margin-top:8 提供 */
body.mine > .tools-card, body.mine > .trade-card { margin-bottom: 0; }
body.mine > .menu-card { margin-bottom: 0; }
body.mine > .tools-card { padding: 23px 4px 21px; }
.tools-card .tool { line-height: 1.1; }
.tools-card .tool.tool-img img, body.mine .tool.tool-img img { margin-bottom: -3px; }
body.mine > .trade-card { padding: 22px 10px 17px; }
.trade-grid .tool { line-height: 1.1; gap: 8px; }
.trade-grid .tool img { margin-bottom: -5px; }
body.mine > .menu-card { padding: 21px 4px 22px; }
body.mine > .menu-card .menu-grid { margin-bottom: 18px; }
.menu-grid .tool { line-height: 1.1; }
body.mine > .menu-card .menu-grid:last-child { margin-bottom: 0; }
/* 头像上沿探出卡顶 3.7css；昵称/胶囊上移 */
body.mine .avatar-img { margin-top: -24px; }
body.mine .profile-info2 { margin-top: -8px; }
body.mine .view-id { margin-top: 2px; }
body.mine .rights-link { top: 6px; }
body.mine .mine-head .benefits-card { padding: 3px 4px 16px; }
/* 菜单图标：真螃蟹截图抠图（78px 画布 = 26css，glyph 即真实大小） */
.menu-grid .tool .mi-img { width: 26px; height: 26px; display: block; object-fit: contain; }
/* 专属推荐（实测：行中心 y2295、文字 13.7css #2f2f31、拇指 13css、
   两侧渐变短线 22/26css 长 2.3css 高 #eeae67→透明、间距 16/6.3/16.3） */
.reco-head { display: flex; align-items: center; justify-content: center; margin: 13px 0 2px; }
.reco-head img { width: 14px; height: auto; display: block; margin: 0 6px; }
.reco-head span { font-size: 13.5px; font-weight: 800; color: #2f2f31; letter-spacing: .5px; }
.reco-line { display: block; width: 23px; height: 2.5px; border-radius: 2px; }
.reco-head .reco-line.l { margin-right: 10px; background: linear-gradient(90deg, rgba(240,176,110,0), #efaa63); }
.reco-head .reco-line.r { margin-left: 10px; background: linear-gradient(90deg, #efaa63, rgba(240,176,110,0)); }
/* 底栏非选中态加深（图2 实测：图标墨 #393939、文字 #545454） */
.tab:not(.active) .t-icon .t-png { filter: grayscale(1) brightness(.4); opacity: 1; }
.tab:not(.active) { color: #545454; }

/* ================================================================
   账号分类商品卡 2.0（2026-10-17 真螃蟹图2 实测 1:1，@3x→css÷3）
   页面底 #f5f5f5；白卡 x32-1173（左右边距 10.7、圆角 12）；
   横幅全出血 1141×707（顶角随卡圆角）；卡间距 6.7；
   标签药丸 y1488-1535（高 15.7、bg #fcf4e5、字 #c9882f 10.5、距图 8.7、左 11）；
   标题 14.5/800 #272727 行高 20（墨 1554-1652 两行距 60）；
   属性行 10.5 #c9a06b（墨 1688-1714，土金色空格分隔）；
   价格行（墨 1753-1790）：¥红 #fa5151 18/800 + 已降N元 11 + 右灰 11；
   互动行（墨 1816-1844）11 #9e9e9e；卡底内边距 12
   ================================================================ */
#goodsList.is-account { background: #f5f5f5; padding: 2px 0 14px; }
#goodsList.is-account .pcard {
  display: block; background: #fff; border-radius: 12px;
  margin: 0 11px 7px; padding: 0 0 12px; overflow: hidden;
}
#goodsList.is-account .pc-img { width: 100%; border-radius: 0; aspect-ratio: 1141 / 707; object-fit: cover; background: #0e1626; }
#goodsList.is-account .pc-imgwrap .pc-dots { bottom: 5px; gap: 3px; }
#goodsList.is-account .pc-imgwrap .pc-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .55); }
#goodsList.is-account .pc-imgwrap .pc-dots i.on { width: 8px; background: #fff; }
#goodsList.is-account .pc-badges { padding: 9px 11px 0; gap: 5px; }
#goodsList.is-account .pc-badges span {
  font-size: 10.5px; color: #c9882f; background: #fcf4e5;
  border: none; border-radius: 4px; padding: 2.5px 7px; white-space: nowrap;
}
#goodsList.is-account .pc-title {
  font-size: 14.5px; font-weight: 800; line-height: 20px; margin-top: 3px;
  color: #272727; padding: 0 17px;
}
#goodsList.is-account .pc-meta2 {
  display: flex; align-items: center; gap: 7px;
  margin-top: 4px; padding: 0 17px;
  font-size: 10.5px; color: #c9a06b;
  white-space: nowrap; overflow: hidden;
}
#goodsList.is-account .pc-meta2 em { font-style: normal; flex: none; }
#goodsList.is-account .pc-meta2 em:last-child { overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
#goodsList.is-account .pc-foot.pc2-foot { display: flex; align-items: baseline; margin-top: 4px; padding: 0 17px; }
#goodsList.is-account .pc-price { color: #fa5151; font-size: 18px; font-weight: 800; }
#goodsList.is-account .pc-price i { font-style: normal; font-size: 12px; font-weight: 700; }
#goodsList.is-account .pc2-cut { font-size: 11px; color: #fa5151; font-weight: 600; margin-left: 5px; flex: none; }
#goodsList.is-account .pc2-pub { margin-left: auto; font-size: 11px; color: #9e9e9e; flex: none; }
#goodsList.is-account .pc2-want { font-size: 11px; color: #9e9e9e; margin-left: 9px; flex: none; }
#goodsList.is-account .pc2-fav { margin-top: 4px; padding: 0 17px; font-size: 11px; color: #9e9e9e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===========================================================
   搜索页 2.0（2026-10-17 真螃蟹图2 实测 1:1，@3x→css÷3）
   橙头(含状态栏同色 #f2a050→#f09542)：白胶囊搜索条 y225-349
   →css 头内 padding 25/15、条高 41、圆角 21、左右边距 16；
   放大镜深灰 21px；占位 17px #bebec2；搜索钮 70×33 橙胶囊白字
   正文白底：热门搜索 15/700 左16.5；大家在搜/热门游戏 16/800 左27；
   药丸 bg#f5f5f5 高29 字14 padding 0 11.5 间距13（26 边距处自然换行）；
   游戏行距 73：名 15/700 左85、副题 12 #a5a5a5、右箭头、分隔线缩进24
   =========================================================== */
body.search-page { background: #fff; }
body.search-page .page-body { padding: 0 0 20px; background: #fff; }

.sh-head {
  background: linear-gradient(180deg, #f2a050, #f09542);
  display: flex; align-items: center;
  padding: 25px 16px 15px 11px;
  position: sticky; top: 0; z-index: 50;
}
.sh-back { flex: none; width: 28px; display: flex; align-items: center; justify-content: center; }
.sh-bar {
  flex: 1; display: flex; align-items: center;
  height: 41px; background: #fff; border-radius: 21px;
  padding: 0 4px 0 14px; min-width: 0;
}
.sh-mag { flex: none; margin-right: 10px; }
.sh-bar input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 17px; color: #333; font-weight: 500;
}
.sh-bar input::placeholder { color: #bebec2; font-weight: 500; }
.sh-btn {
  flex: none; width: 70px; height: 33px; border: none; border-radius: 17px;
  background: linear-gradient(180deg, #f4a75f, #f09a47);
  color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}
.sh-h1 { font-size: 14px; font-weight: 700; color: #262626; margin: 17px 16px 0 16.5px; }
.sh-sub { font-size: 15px; font-weight: 800; color: #262626; margin: 22px 26px 11px 27px; }
.sh-tags { display: flex; flex-wrap: wrap; gap: 13px; margin: 0 26px; }
.sh-tag {
  background: #f5f5f5; border-radius: 999px; height: 29px; line-height: 29px;
  padding: 0 14px; font-size: 13.5px; color: #4f4f4f; white-space: nowrap;
}
.sh-sub2 { margin-top: 38px; margin-bottom: 8px; }
.sh-games { margin: 0 24px; }
.sh-row { display: flex; align-items: center; padding: 16px 0; border-bottom: 1px solid #f2f2f2; }
.sh-row:last-child { border-bottom: none; }
.sh-main { margin-left: 61px; min-width: 0; }
.sh-name { font-size: 15px; font-weight: 700; color: #262626; }
.sh-desc { font-size: 12px; color: #a5a5a5; margin-top: 4px; }
.sh-arr { flex: none; margin-left: auto; margin-right: 3px; }

/* ===========================================================
   我方消息行 2.0（2026-10-17 真螃蟹截图）：时间在右上（头像旁、顶对齐）、
   去掉「全部已读」、橙色「未读」在气泡左下角（与气泡底对齐、间距 7px）
   =========================================================== */
.kf2-row.me2 .kf2-meta { margin: 2px 2px 6px 0; }
.kf2-meline { display: flex; align-items: flex-end; justify-content: flex-end; gap: 7px; max-width: 100%; }
.kf2-meline .kf2-bub.me { max-width: 100%; }
.kf2-unread { font-size: 10px; color: #f25d28; flex: none; margin-bottom: 3px; }

/* ===========================================================
   群聊身份固定化（2026-10-17）：买家/卖家 文字头像分色
   买家=蓝紫「买」 卖家=橙「卖」 客服=官方客服图
   =========================================================== */
.gc-txtava.gc-b { background: linear-gradient(135deg, #8e9dff, #5b6cff); }
.gc-txtava.gc-s { background: linear-gradient(135deg, #57c98f, #2aa06a); }

/* ===========================================================
   ★ 2026-10-18：这里原有一段「交易群对话放大」（气泡 17px / 名字 13px / 头像 42px
     / 输入框 46px 16px），用户反馈「群聊的字体太大了」，已整段删除。
     现在交易群直接复用客服私聊那套 1:1 版式
     （气泡 14px → group.html 内联再压到 13px / 名字 11px / 头像 34px / 输入框 40px），
     只有 group.html 内联样式里那几条「群聊专属缩字号」例外。
   =========================================================== */

/* ===========================================================
   首页 APP 下载横幅（2026-10-17 照真螃蟹 App 位置：最顶部橙条）
   =========================================================== */
.app-banner {
  display: flex; align-items: center; gap: 8px;
  margin: 0; padding: 8px 12px;
  background: linear-gradient(100deg, #ff9a2e, #ffb057);
  text-decoration: none;
}
.app-banner .ab-ico { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.app-banner .ab-txt { flex: 1; font-size: 14.5px; font-weight: 700; color: #fff; letter-spacing: .5px; }
.app-banner .ab-btn {
  flex: none; background: #f0640c; color: #fff; font-size: 13px; font-weight: 700;
  padding: 6px 13px; border-radius: 16px;
}

/* 「我的」页 APP 横幅：圆角卡片式，插在专属推荐上方（2026-10-17 用户圈定位置） */
body.mine .app-banner {
  margin: 14px 12px 2px; border-radius: 14px; padding: 10px 13px;
}

/* ===========================================================
   我的页「专属推荐」商品流（2026-10-17 照真螃蟹图2：双列卡片）
   =========================================================== */
.reco-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 12px 12px 14px;
}
.rg-card {
  display: block; background: #fff; border-radius: 12px; overflow: hidden;
  text-decoration: none; color: inherit;
}
.rg-imgwrap { width: 100%; aspect-ratio: 1 / 0.92; background: #f2f3f5; overflow: hidden; }
.rg-imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-badges { display: flex; gap: 5px; padding: 7px 8px 0; }
.rg-badges span {
  font-size: 10.5px; line-height: 1; padding: 3px 6px; border-radius: 4px;
  color: #fff; background: linear-gradient(120deg, #ff9a2e, #f0740c);
}
.rg-badges span.dk { background: #3c3c40; }
.rg-title {
  margin: 7px 8px 0; font-size: 14.5px; line-height: 20px; font-weight: 700; color: #2c2c2e;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rg-meta {
  margin: 5px 8px 0; font-size: 11.5px; color: #9a9a9a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rg-foot { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 8px 0; }
.rg-price { font-size: 19px; font-weight: 800; color: #f4301e; }
.rg-price i { font-style: normal; font-size: 13px; font-weight: 700; margin-right: 1px; }
.rg-pop { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: #9a9a9a; }
.rg-cut { margin: 4px 8px 10px; font-size: 11px; color: #9a9a9a; }

/* ===========================================================
   防手机浏览器深色模式把页面底部系统区涂黑（2026-10-17 用户反馈黑条）
   =========================================================== */
html { color-scheme: light only; background: #fafafa; }

/* ===========================================================
   首页商品卡 2.1 —— 2026-10-17 图2 真螃蟹首页卡实测（@3x→css ÷3）
   白卡(圆角10)全出血图(aspect 566/592) → 奶油底棕字标签(margin 7/8, 字9,
   pill 高16) → 黑粗两行标题(16/19.5/800/左对齐) → 灰属性行(10/#999 竖线)
   → 红价(18.5 #f4484e ¥12) + 右灰 N小时内发布(10/#666) → 部分卡 已降N元
   (10.5 粉红)。列距8.3 行距10.7 → gap 11px 8px；market 区底改浅灰白卡浮起
   =========================================================== */
.home-market { background: #f5f6f7; }
.home-goods { gap: 11px 8px; }
.hpc {
  display: block; text-decoration: none; background: #fff;
  border-radius: 10px; overflow: hidden; min-width: 0;
  padding-bottom: 9px;
}
.hpc-img {
  display: block; width: 100%; aspect-ratio: 566 / 592;
  object-fit: cover; background: #10182b;
}
.hpc-badges { display: flex; gap: 4px; margin: 7px 8px 0; }
.hpc-badges span {
  font-size: 9px; line-height: 1; color: #b3732c; background: #fbf3e8;
  border-radius: 3px; padding: 3.5px 5px; white-space: nowrap;
}
.hpc-title {
  margin: 5px 10px 0; font-size: 16px; line-height: 19.5px; font-weight: 800;
  color: #000; text-align: left; min-height: 39px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.hpc-meta {
  display: flex; align-items: center; gap: 5px; margin: 8px 10px 0;
  font-size: 10px; color: #999; text-align: left;
  white-space: nowrap; overflow: hidden;
}
.hpc-meta em { font-style: normal; flex: none; }
.hpc-meta i { font-style: normal; color: #e0e0e0; flex: none; }
.hpc-meta em:last-child { overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.hpc-foot { display: flex; align-items: baseline; margin: 7px 10px 0; }
.hpc-price { color: #f4484e; font-size: 18.5px; font-weight: 800; }
.hpc-price i { font-style: normal; font-size: 12px; font-weight: 700; }
.hpc-pub { margin-left: auto; font-size: 10px; color: #666; }
.hpc-cut { margin: 8px 10px -1px; font-size: 10.5px; color: #f08589; font-weight: 600; }
.hpc.ph-card { background: #fff; }

/* ===========================================================
   卖道具入口卡 —— 2026-10-18 图2 实测：白卡圆角12、图标25pt、
   标题17/800、副标题12.5 #9a9a9a、右箭头灰
   =========================================================== */
.sl-extra {
  display: flex; align-items: center; width: calc(100% - 24px);
  margin: 14px 12px 0; padding: 13px 14px;
  background: #fff; border: 0; border-radius: 12px;
  font-family: inherit; text-align: left; cursor: pointer;
}
.sl-extra img { width: 32px; height: auto; display: block; }
.sl-extra-t { display: flex; flex-direction: column; margin-left: 11px; min-width: 0; }
.sl-extra-t b { font-size: 17px; font-weight: 800; color: #1c1c1c; line-height: 1.25; }
.sl-extra-t i { font-style: normal; font-size: 12.5px; color: #9a9a9a; margin-top: 3px; }
.sl-extra-ar { margin-left: auto; font-size: 22px; color: #c2c2c2; font-weight: 700; padding-right: 2px; }
.sl-prop .sl-grid { margin-top: 4px; }
