/* 潮影 CYDOLL 独立站 —— 主题样式
   黑金高端风：深黑底 + 香槟金点缀 */

:root {
  --gold: #c9a961;
  --gold-2: #e8d29a;
  --gold-3: #f4e5bd;
  --gold-dark: #e3c98d;          /* 暗底上的金色文字 */
  --gold-soft: rgba(201, 169, 97, 0.13);
  --gold-line: rgba(201, 169, 97, 0.30);
  --on-gold: #17130a;            /* 金色按钮上的文字 */
  --ink: #eef0f4;
  --ink-2: #a9adba;
  --ink-3: #75798a;
  --line: #262630;
  --line-soft: #1d1d24;
  --bg: #0a0a0d;
  --bg-soft: #0f0f14;
  --card: #15151b;
  --card-2: #1b1b23;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 14px 40px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.5), 0 24px 60px rgba(201, 169, 97, 0.18);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 620px at 50% -12%, var(--gold-glow, rgba(201, 169, 97, 0.11)), transparent 68%),
    radial-gradient(760px 520px at 100% 4%, var(--gold-glow-2, rgba(201, 169, 97, 0.055)), transparent 62%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14px; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0c0c10; }
::-webkit-scrollbar-thumb { background: #2c2c36; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a46; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hide { display: none !important; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 10, 13, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; gap: 22px;
  height: 84px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.06em; }
/* 品牌 LOGO 图：透明底版本，直接压在深色头部上，不额外加白底 */
.logo img {
  height: 62px; width: auto; max-width: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}
.logo .mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #a8873f);
  color: var(--on-gold); display: grid; place-items: center; font-size: 13px; font-weight: 800;
  letter-spacing: 0; box-shadow: 0 4px 14px rgba(201, 169, 97, 0.3);
}
.logo .name { font-size: 16px; color: #fff; letter-spacing: 0.08em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 7px 14px; border-radius: 999px; color: var(--ink-2);
  font-size: 14px; transition: all .18s ease;
}
.nav a:hover { color: var(--gold-2); background: var(--gold-soft); }
.nav a.active { color: var(--gold-2); background: var(--gold-soft); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; color: var(--ink-2); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; transition: all .2s ease; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 48%, #a8873f 100%);
  color: var(--on-gold); box-shadow: 0 2px 10px rgba(201, 169, 97, 0.22);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold-2) 50%, var(--gold) 100%);
  color: var(--on-gold);
  filter: brightness(1.04);
  box-shadow: 0 10px 28px rgba(201, 169, 97, 0.38);
}
a.btn-primary:hover { background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold-2) 50%, var(--gold) 100%); color: var(--on-gold); }
.btn-ghost { background: rgba(201, 169, 97, 0.07); border-color: var(--gold-line); color: var(--gold-2); }
.btn-ghost:hover { background: var(--gold-soft); border-color: var(--gold); }
.btn-plain { background: var(--card-2); border-color: var(--line); color: var(--ink-2); }
.btn-plain:hover { border-color: var(--gold-line); color: var(--gold-2); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 62px;
  background:
    radial-gradient(760px 360px at 14% -14%, rgba(201, 169, 97, 0.22), transparent 66%),
    radial-gradient(620px 320px at 88% -6%, rgba(201, 169, 97, 0.12), transparent 62%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 22%, var(--gold-line) 78%, transparent);
}
/* 首屏背景图：桌面与手机均按 cover 铺满，建议统一使用 16:9 横图（桌面 1920×1080、手机 1080×608）。
   手机端可在后台单独上传一张 16:9 背景图，让两种设备各自呈现按本设备比例设计的整张图 */
.hero.hero-bg {
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 76px;
}
.hero.hero-bg > .wrap { width: 100%; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 999px;
  background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-2);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.hero h1 {
  font-size: 48px; line-height: 1.16; margin: 22px 0 14px;
  letter-spacing: 0.02em; color: #fff;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-3), var(--gold) 55%, var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--ink-2); max-width: 640px; margin: 0 0 28px; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin-top: 44px;
}
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.stat .k { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.stat .v { font-size: 24px; font-weight: 700; margin-top: 3px; }
.stat .v.gold { color: var(--gold-2); }

/* ---------- 保障标签 ---------- */
.guarantee { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.guarantee span {
  font-size: 12.5px; color: var(--gold-2); background: var(--gold-soft);
  border: 1px solid var(--gold-line); border-radius: 999px; padding: 4px 13px;
}

/* ---------- 通用区块 ---------- */
.section { padding: 62px 0; }
.section.tint { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
/* 自定义了背景图的区块：铺满并居中显示，配合内联的暗色蒙版保证文字清晰。
   建议统一使用 16:9 横图（桌面 1920×1080、手机 1080×608），手机端可在后台单独上传 */
.section.sec-bg {
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-color: transparent;
}
.section-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head .kicker {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 700; margin-bottom: 7px;
}
.section-head .kicker::after {
  content: ''; display: block; width: 30px; height: 2px; margin-top: 8px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-head h2 { font-size: 27px; margin: 0; letter-spacing: .02em; color: #fff; }
.section-head .more { margin-left: auto; }
.section-sub { color: var(--ink-2); margin: 9px 0 0; max-width: 720px; }

/* 自定义文案区块 / 图片区块 */
.sec-text { color: var(--ink-2); font-size: 15px; line-height: 2; max-width: 880px; }
.sec-single {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gold-line); background: var(--card);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
}
.sec-single img { width: 100%; height: auto; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sec-figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.sec-figure:hover { transform: translateY(-4px); border-color: var(--gold-line); box-shadow: var(--shadow-hover); }
.sec-figure img { width: 100%; height: auto; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--gold-line); }
.card .thumb {
  position: relative; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #20202a, #121218);
  overflow: hidden;
}
/* 主图完整展示：不裁切边缘，比例不一致时由深色背景补边 */
.card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.045); }
.thumb-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--gold-dark); font-size: 13px; letter-spacing: .12em; text-align: center; padding: 16px;
}
.thumb-placeholder span { display: block; }
.thumb-placeholder .ph-mark { font-size: 25px; opacity: .45; margin-bottom: 8px; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10, 10, 13, 0.78); color: var(--gold-2);
  border: 1px solid var(--gold-line); border-radius: 999px;
  padding: 3px 12px; font-size: 12px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.card .body { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card h3 { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 600; color: #fff; }
.card .meta { font-size: 12.5px; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11.5px; color: var(--ink-2); background: var(--card-2);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 2px 10px;
}
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.price { font-size: 21px; font-weight: 700; color: var(--gold-2); letter-spacing: .01em; }
.price-note { font-size: 11.5px; color: var(--ink-3); }
.card .actions { display: flex; gap: 8px; padding: 0 17px 17px; }

/* ---------- 新闻 / 问答 / 评测 ---------- */
.news-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.news-item .date { font-size: 13px; color: var(--gold-2); font-weight: 700; white-space: nowrap; }
.news-item h3 { margin: 0 0 4px; font-size: 15px; color: #fff; }
.news-item p { margin: 0; color: var(--ink-2); font-size: 13.5px; }

.video-card .thumb { aspect-ratio: 16 / 9; position: relative; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.5));
}
.play i {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(10, 10, 13, 0.6); border: 1px solid var(--gold-line);
  backdrop-filter: blur(6px);
  display: grid; place-items: center; color: var(--gold-2); font-style: normal; font-size: 17px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  display: flex; align-items: center; gap: 12px; padding: 16px 2px;
  cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink);
}
.faq-q .idx { color: var(--gold-dark); font-size: 13px; font-weight: 700; }
.faq-q .arrow { margin-left: auto; color: var(--ink-3); transition: transform .2s ease; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { padding: 0 2px 18px 30px; color: var(--ink-2); font-size: 14px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.qr-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center; display: flex; flex-direction: column;
}
.qr-card .qr {
  width: 152px; height: 152px; margin: 0 auto 14px; border: 1px solid var(--gold-line);
  border-radius: 14px; overflow: hidden; background: #f4f4f6;
  display: grid; place-items: center; color: #6b6f7c; font-size: 12px;
}
.qr-card .qr img { width: 100%; height: 100%; object-fit: contain; }
.qr-card .qr-label { font-size: 13.5px; color: var(--gold-2); font-weight: 600; }
.qr-card .qr-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.qr-card.direct { text-align: left; }
.qr-card.direct h3 { margin: 0 0 12px; font-size: 15px; color: #fff; }
.qr-card.direct p { margin: 0 0 9px; color: var(--ink-2); font-size: 14px; }
.qr-card.direct p strong { color: var(--gold-2); }
.qr-card.direct a { color: var(--gold-2); }
.qr-image { width: 100%; border-radius: var(--radius-sm); overflow: hidden; }
.qr-image img { width: 100%; height: auto; }

/* ---------- 悬浮咨询 ---------- */
.float-contact { position: fixed; right: 20px; bottom: 22px; z-index: 70; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-contact button {
  display: flex; align-items: center; gap: 8px;
  background: rgba(21, 21, 27, 0.92); border: 1px solid var(--gold-line); color: var(--gold-2);
  border-radius: 999px; padding: 10px 17px; font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px);
}
.float-contact button:hover { background: var(--gold-soft); border-color: var(--gold); }

/* ---------- 列表页筛选 ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 22px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--card-2); color: var(--ink-2);
  border-radius: 999px; padding: 6px 16px; font-size: 13px; transition: all .18s ease;
}
.chip:hover { border-color: var(--gold-line); color: var(--gold-2); }
.chip.active {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent; color: var(--on-gold); font-weight: 700;
}
.search { margin-left: auto; display: flex; gap: 8px; }
.search input {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 8px 16px; width: 210px; outline: none;
}
.search input:focus { border-color: var(--gold-line); }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.pager button {
  min-width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-2);
}
.pager button:hover { border-color: var(--gold-line); color: var(--gold-2); }
.pager button.active { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: transparent; color: var(--on-gold); font-weight: 700; }

.empty { text-align: center; padding: 60px 0; color: var(--ink-3); }

/* ---------- 详情页 ---------- */
.crumb { font-size: 13px; color: var(--ink-3); padding: 20px 0 0; }
.crumb a:hover { color: var(--gold-2); }
.detail-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; padding: 22px 0 40px; }
.gallery { position: sticky; top: 88px; align-self: start; }
.gallery .main {
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #20202a, #121218); border: 1px solid var(--line);
  display: grid; place-items: center; position: relative;
}
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery .thumbs button {
  width: 68px; height: 68px; border-radius: 10px; overflow: hidden; padding: 0;
  border: 1px solid var(--line); background: var(--card);
}
.gallery .thumbs button.active { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .product-video {
  margin-top: 12px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gold-line); background: #000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--gold-soft);
}
.gallery .product-video video { display: block; width: 100%; max-height: 62vh; background: #000; }

.detail-info h1 { font-size: 26px; margin: 4px 0 10px; line-height: 1.4; color: #fff; }
.detail-info .sub { color: var(--ink-3); font-size: 13.5px; }
.price-box {
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.14), rgba(201, 169, 97, 0.03));
  border: 1px solid var(--gold-line); border-radius: var(--radius);
  padding: 18px 20px; margin: 18px 0;
}
.price-box .label { font-size: 12.5px; color: var(--ink-3); }
.price-box .value { font-size: 33px; font-weight: 700; color: var(--gold-2); letter-spacing: .01em; }
.price-box .hint { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }

.param-block { margin-top: 22px; }
.param-block h3 { font-size: 15px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; color: #fff; }
.param-block h3::before { content: ''; width: 3px; height: 15px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-radius: 2px; }
.param-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.param-table tr:nth-child(odd) td { background: rgba(255, 255, 255, 0.016); }
.param-table td { padding: 9px 14px; font-size: 13.5px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.param-table tr:last-child td { border-bottom: 0; }
.param-table td.k { color: var(--ink-3); width: 42%; }

/* ---------- 选配区 ---------- */
.config-area { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; }
.config-area h2 { font-size: 19px; margin: 0 0 4px; color: #fff; }
.config-area .tip { color: var(--ink-3); font-size: 13px; margin: 0 0 16px; }
.cfg-group { border-top: 1px solid var(--line-soft); padding: 16px 0 14px; }
.cfg-group .g-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 11px; flex-wrap: wrap; }
.cfg-group .g-name { font-weight: 700; font-size: 14.5px; color: #fff; }
.cfg-group .g-name .req { color: #e0836f; font-size: 12px; margin-left: 4px; font-weight: 500; }
.cfg-group .g-desc { font-size: 12.5px; color: var(--ink-3); }
.opts { display: flex; flex-wrap: wrap; gap: 9px; }
.opt {
  position: relative;
  border: 1px solid var(--line); background: var(--card-2); border-radius: var(--radius-sm);
  padding: 9px 14px; text-align: left; transition: all .18s ease; min-width: 120px;
}
.opt:hover { border-color: var(--gold-line); }
.opt.active {
  border-color: var(--gold); background: var(--gold-soft);
  box-shadow: 0 0 0 1px var(--gold), 0 6px 20px rgba(201, 169, 97, 0.18);
}
.opt .n { font-size: 13.5px; font-weight: 600; color: #fff; }
.opt .d { font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }
.opt .p { font-size: 12px; color: var(--gold-2); font-weight: 600; margin-top: 3px; }
.opt .p.zero { color: var(--ink-3); font-weight: 400; }

/* ---------- 必选区块：标题 + 「必选」标识 + 选择状态 ---------- */
.pre-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; }
.pre-head h2 { margin: 0; }
.req-pill {
  padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  color: var(--on-gold); background: linear-gradient(135deg, var(--gold-3), var(--gold));
  box-shadow: 0 2px 8px rgba(201, 169, 97, .28);
}
.pre-state { font-size: 12.5px; color: var(--ink-3); }
.pre-state.ok { color: var(--gold-2); font-weight: 600; }
.pre-state.ok::before { content: '✓ '; }

/* 选项卡片右上角的选择指示：空心圆 → 选中变金色勾 */
.opt .pick-dot {
  position: absolute; top: 9px; right: 9px; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.34); background: rgba(10, 10, 13, 0.45);
  box-shadow: 0 0 0 2px rgba(10, 10, 13, 0.35);
}
.opt .pick-dot::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px;
  border: 2px solid var(--on-gold); border-top: 0; border-left: 0;
  transform: rotate(45deg); opacity: 0;
}
.opt.active .pick-dot { border-color: var(--gold-2); background: var(--gold-2); }
.opt.active .pick-dot::after { opacity: 1; }
.opt[data-pre-option] .n, .opt[data-bt] .n { padding-right: 22px; }

/* 材质「已包含」的定制项：自动选中但不再加钱 */
.opt.included { border-color: var(--gold-line); background: rgba(201, 169, 97, 0.06); }
.opt .inc-badge {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--on-gold);
  font-size: 10.5px; font-weight: 700; vertical-align: 1px;
}

/* 前置必选项（身高/材质）没选完时，锁住下方选配区 */
.config-area.locked .opts { opacity: .45; pointer-events: none; filter: grayscale(.35); }

/* 选配项配图 */
.opt { display: flex; flex-direction: column; }
.opt .opt-img { width: 100%; height: 84px; border-radius: 8px; overflow: hidden; background: #14141a; margin-bottom: 8px; }
.opt .opt-img img { width: 100%; height: 100%; object-fit: cover; }

.bottom-bar {
  position: sticky; bottom: 0; z-index: 50;
  background: rgba(12, 12, 16, 0.93);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--gold-line);
  padding: 12px 0; margin-top: 22px;
}
.bottom-bar .inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bottom-bar .sum { font-size: 12.5px; color: var(--ink-3); }
.bottom-bar .total { font-size: 27px; font-weight: 700; color: var(--gold-2); }
.bottom-bar .actions { margin-left: auto; display: flex; gap: 10px; }

/* ---------- 弹窗 / 配置单 ---------- */
.mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 4, 6, 0.72);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; transition: opacity .25s ease; overflow-y: auto;
}
.mask.show { opacity: 1; }
.modal {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  width: 100%; max-width: 620px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
  transform: translateY(12px) scale(.985); transition: transform .25s ease;
}
.mask.show .modal { transform: none; }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); border-radius: 20px 20px 0 0; z-index: 2; }
.modal-head h3 { margin: 0; font-size: 17px; color: #fff; }
.modal-head .close { margin-left: auto; background: none; border: 0; font-size: 20px; color: var(--ink-3); line-height: 1; }
.modal-head .close:hover { color: var(--gold-2); }
.modal-body { padding: 20px 22px; }
.modal-foot { padding: 14px 22px 20px; display: flex; gap: 10px; flex-wrap: wrap; }

/* 配置单弹窗：三个操作按钮放在标题左侧，且都金色高亮 */
.modal-quote { max-width: 700px; }
.modal-head.quote-head { flex-wrap: wrap; row-gap: 10px; }
.quote-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.quote-actions .btn { padding: 7px 15px; font-size: 13px; box-shadow: 0 2px 10px rgba(201, 169, 97, 0.22); }
.quote-head h3 { margin: 0 0 0 8px; }

.sheet {
  border: 1px solid var(--gold-line); border-radius: var(--radius);
  padding: 20px 22px 18px;
  background: linear-gradient(180deg, #1d1c23 0%, #15151b 32%, #15151b 100%);
  color: var(--ink);
}
.sheet .sheet-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--gold-line);
}
.sheet .brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.sheet-logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; flex: 0 0 auto; }
.sheet-emblem {
  width: 46px; height: 46px; border-radius: 50%; padding: 2px; flex: 0 0 auto;
  background: linear-gradient(135deg, #fff3d6 0%, var(--gold-2) 34%, var(--gold) 66%, #9b7c34 100%);
}
.sheet-emblem span {
  width: 100%; height: 100%; border-radius: 50%; box-sizing: border-box;
  background: radial-gradient(circle at 50% 32%, #241e13 0%, #121016 72%);
  border: 1px solid rgba(244, 229, 189, 0.5);
  display: grid; place-items: center;
  font-family: Georgia, "Songti SC", "Times New Roman", serif;
  font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--gold-3);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
.sheet .sheet-head .bt { min-width: 0; }
.sheet .sheet-head .t { font-size: 21px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.sheet .sheet-head .s { font-size: 14px; color: var(--ink-3); margin-top: 5px; }
.sheet .sheet-head .no { margin-left: auto; text-align: right; flex: 0 0 auto; }
.sheet .sheet-head .no-t { display: block; font-size: 13.5px; color: var(--ink-3); }
.sheet .sheet-head .no b {
  font-family: Georgia, "Times New Roman", serif; font-size: 18px;
  color: var(--gold-2); letter-spacing: .04em;
}
.sheet .sheet-head .no-d { font-size: 13.5px; color: var(--ink-3); margin-top: 5px; }
.sheet .prod { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.sheet .prod .pic {
  width: 66px; height: 66px; border-radius: 12px; overflow: hidden;
  background: #14141a; border: 1px solid var(--line);
  display: grid; place-items: center; flex: 0 0 auto; color: var(--gold-dark); font-size: 10px;
}
.sheet .prod .pic img { width: 100%; height: 100%; object-fit: cover; }
.sheet .prod .pi { min-width: 0; }
.sheet .prod .nm { font-size: 18.5px; font-weight: 600; line-height: 1.5; color: #fff; }
.sheet .prod .bd { font-size: 14.5px; color: var(--ink-3); margin-top: 5px; }

/* 明细表整行铺满；下方整宽「结算条」：左配置总价 + 右扫码区。
   列宽用固定像素而非 fr：导出图片时排版完全确定，不会因视口宽窄产生右侧空白 */
.sheet-foot {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: 14px; align-items: stretch; margin-top: 16px;
}
.sheet-table { width: 100%; border-collapse: collapse; }
.sheet-table td { padding: 10px 0; font-size: 17px; border-bottom: 1px dashed var(--line-soft); vertical-align: top; }
.sheet-table tr:last-child td { border-bottom: 0; }
.sheet-table td.k { color: var(--ink-3); padding-right: 12px; }
.sheet-table td.v { text-align: right; color: var(--ink); font-weight: 600; }
.sheet-table td.v .delta { display: inline-block; margin-left: 6px; color: var(--gold-dark); font-weight: 400; font-size: 15px; }
.sheet-table td.v .spec { margin-top: 5px; color: var(--ink-3); font-weight: 400; font-size: 14.5px; }

.sheet-total {
  border: 1px solid var(--gold-line); border-radius: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.18) 0%, rgba(201, 169, 97, 0.05) 100%);
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 14px; text-align: left;
}
/* 结算条里的总价卡是窄列，改为上下居中排版 */
.sheet-foot .sheet-total { flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px 12px; }
.sheet-total .lbl { font-size: 13.5px; color: var(--gold-dark); letter-spacing: .16em; }
.sheet-total .lbl span {
  display: block; margin-top: 6px; font-size: 12.5px; font-weight: 400;
  letter-spacing: 0; line-height: 1.5; color: var(--ink-3);
}
.sheet-total .val {
  font-family: Georgia, "Songti SC", serif;
  font-size: 30px; font-weight: 700; color: var(--gold-2); letter-spacing: .01em; white-space: nowrap;
}
.sheet > .sheet-total { margin-top: 16px; }

.sheet .note {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 14.5px; color: var(--ink-3); line-height: 1.8;
}

.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.form-row label { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.form-row input, .form-row textarea {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 10px 12px; outline: none; transition: border-color .18s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold-line); }

/* ---------- 配置单二维码：金色描边面板 + 金框二维码卡片（整行铺满，二维码放大） ---------- */
.sheet-qr {
  display: flex; flex-direction: row; align-items: center; justify-content: space-evenly;
  gap: 12px; margin: 0; padding: 16px 14px;
  border: 1px solid var(--gold-line); border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 169, 97, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  min-width: 0;
}
.sheet-qr .qr-i { text-align: center; }
.sheet-qr .qr-card {
  display: inline-block; padding: 7px; border-radius: 15px;
  background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold-2) 38%, var(--gold) 70%, #a8873f 100%);
}
/* max-width:none 必须保留：全局 img{max-width:100%} 会让二维码被父级宽度挤压，
   既变形又会导致导出图片时整张二维码画不出来 */
.sheet-qr .qr-card img {
  display: block; width: 132px; height: 132px; max-width: none; object-fit: contain;
  background: #fff; border-radius: 9px;
}
.sheet-qr .qr-l { font-size: 15px; color: var(--gold-2); margin-top: 12px; letter-spacing: .04em; }
.sheet-qr .qr-div {
  width: 1px; height: 150px; max-width: none; align-self: center;
  background: linear-gradient(180deg, transparent, var(--gold-line) 50%, transparent);
}

/* ---------- 导出图片时给配置单克隆节点加的类 ----------
   媒体查询是按「真实视口」求值的：窄窗口 / 手机导出时配置单会被切成手机版排版，
   而导出渲染又按 656 宽的电脑版来算，两边对不上就会在底部多出留白。
   这里把手机断点里改过的属性全部还原成电脑版取值（选择器权重更高，不受媒体查询影响） */
.sheet-export.sheet { padding: 20px 22px 18px; }
.sheet-export.sheet .sheet-head { flex-wrap: nowrap; gap: 12px; }
.sheet-export.sheet .sheet-head .no { margin-left: auto; text-align: right; }
.sheet-export.sheet .sheet-foot { grid-template-columns: 200px minmax(0, 1fr); gap: 14px; }
.sheet-export.sheet .sheet-foot .sheet-total {
  flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px 12px;
}
.sheet-export.sheet .sheet-foot .sheet-total .lbl span { margin-top: 6px; }
.sheet-export.sheet .sheet-foot .sheet-total .val { font-size: 30px; }
.sheet-export.sheet .sheet-qr { padding: 16px 14px; }
.sheet-export.sheet .sheet-qr .qr-card img { width: 132px; height: 132px; }
.sheet-export.sheet .sheet-qr .qr-div { height: 150px; }
.sheet-export.sheet .sheet-logo { height: 44px; max-width: 160px; }

/* ---------- 配置单图片预览（手机长按保存 / 电脑下载） ---------- */
.png-view-mask { z-index: 320; }
.png-view {
  background: var(--card); border: 1px solid var(--gold-line); border-radius: 20px;
  width: 100%; max-width: 520px; max-height: calc(100vh - 40px);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
  transform: translateY(12px) scale(.985); transition: transform .25s ease;
}
.png-view-mask.show .png-view { transform: none; }
.png-view-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.png-view-head h3 { margin: 0; font-size: 17px; color: #fff; }
.png-view-head .close { margin-left: auto; background: none; border: 0; font-size: 20px; color: var(--ink-3); line-height: 1; }
.png-view-head .close:hover { color: var(--gold-2); }
.png-view-body { flex: 1 1 auto; padding: 16px; overflow-y: auto; background: var(--bg-soft); }
.png-view-body img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.png-view-tip { padding: 12px 20px; font-size: 12.5px; color: var(--ink-3); line-height: 1.8; border-top: 1px solid var(--line-soft); }
.png-view-foot { display: flex; gap: 10px; padding: 14px 20px 20px; }
.png-view-foot .btn { flex: 1 1 auto; }

/* ---------- 体型数据 ---------- */
.spec-box {
  margin-top: 16px; background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
}
.spec-box .spec-title { font-size: 13.5px; font-weight: 700; color: var(--gold-2); margin-bottom: 9px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 6px 2px; font-size: 13px; border-bottom: 1px dashed var(--line); color: var(--ink); }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td.k { color: var(--ink-3); width: 46%; }
/* 体型展示：左边身体数据表格，右边 16:9 展示图 */
.body-flex { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; margin-top: 4px; }
.body-flex.no-img { grid-template-columns: 1fr; }
.body-data .spec-table { margin-top: 0; }
.body-figure { margin: 0; position: relative; cursor: zoom-in; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #14141a; }
.body-figure img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
}
.body-figure .zoom-hint {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(10, 10, 13, 0.7); border: 1px solid var(--gold-line); color: var(--gold-2);
  font-size: 12px; padding: 3px 10px; border-radius: 999px; pointer-events: none;
  opacity: 0; transition: opacity .18s ease;
}
.body-figure:hover .zoom-hint { opacity: 1; }

/* ---------- Toast ---------- */
#toast-root { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: rgba(21, 21, 27, 0.96); color: #fff; padding: 10px 22px;
  border: 1px solid var(--gold-line); border-radius: 999px; font-size: 13.5px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px);
  animation: toastIn .24s ease;
}
.toast.err { background: #b23b3b; border-color: #d0645c; color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 30px; padding: 54px 0 26px;
  background: linear-gradient(180deg, var(--bg-soft), #080809);
  border-top: 1px solid var(--gold-line);
  position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: .55;
}
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 46px; }
.foot-brand .logo { margin-bottom: 14px; }
.foot-slogan { color: var(--ink-2); font-size: 13.5px; line-height: 1.9; margin: 0 0 16px; max-width: 320px; }
.foot-social { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-social a {
  font-size: 12.5px; color: var(--gold-2); border: 1px solid var(--gold-line);
  border-radius: 999px; padding: 5px 14px; background: var(--gold-soft);
}
.foot-social a:hover { border-color: var(--gold); }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot-col h4 {
  margin: 0 0 14px; padding-left: 10px; line-height: 1.1; font-size: 12.5px; color: var(--gold-dark);
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-left: 2px solid var(--gold);
}
.foot-col a, .foot-col p { display: block; font-size: 13.5px; color: var(--ink-2); margin: 0 0 9px; }
.foot-col a:hover { color: var(--gold-2); }
.foot-col .qr-mini { width: 92px; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--gold-line); background: #fff; }
.foot-col .qr-mini img { width: 100%; height: 100%; object-fit: contain; }
.foot-contact-info { min-width: 0; }
.foot-contact-info a { display: inline-block; }
.foot-bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--ink-3);
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.foot-bottom .spacer { margin-left: auto; }
.foot-bottom a:hover { color: var(--gold-2); }

/* ---------- 加载中 ---------- */
.loading { padding: 70px 0; text-align: center; color: var(--ink-3); font-size: 14px; }

/* ---------- 首页广告位（16:9） ---------- */
.home-ad {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gold-line); background: var(--card);
  margin: 34px 0 6px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
}
.home-ad img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-ad:hover img { transform: scale(1.02); }

/* ---------- 买家秀 ---------- */
/* 买家秀缩略图：改竖版比例并完整展示（contain），不再把 9:16 图片裁掉一半 */
.buyer-card .buyer-thumb { aspect-ratio: 3 / 4; }
.buyer-card .buyer-thumb img { object-fit: contain; }
.buyer-card:hover .buyer-thumb img { transform: none; }
.buyer-user {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--gold-2);
}
.buyer-user .buyer-date { font-size: 11.5px; color: var(--ink-3); font-weight: 400; margin-left: auto; }
.buyer-text { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.buyer-comments {
  border-top: 1px dashed var(--line); padding-top: 9px;
  display: flex; flex-direction: column; gap: 5px;
}
.buyer-comments .bc { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.buyer-comments .bc b { color: #fff; font-weight: 600; margin-right: 6px; }
.buyer-foot {
  display: flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 6px;
}
.buyer-foot .views { font-size: 12px; color: var(--ink-3); margin-right: auto; }

/* ---------- 前台登录 / 注册 ---------- */
.user-area { display: flex; align-items: center; gap: 8px; }
.user-chip {
  font-size: 13px; font-weight: 600; color: var(--gold-2);
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  border-radius: 999px; padding: 5px 14px;
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.auth-tabs { display: flex; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.auth-tabs button {
  flex: 1; border: 0; background: none; border-radius: 999px; padding: 8px 0;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: all .18s ease;
}
.auth-tabs button.active { background: var(--gold-soft); color: var(--gold-2); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.auth-err { font-size: 12.5px; color: #e0836f; min-height: 18px; margin-top: 4px; }
.auth-tip { font-size: 12px; color: var(--ink-3); margin: 8px 0 0; line-height: 1.7; }

/* 底部固定导航条：默认隐藏，仅在手机版显示（电脑版不显示，避免大图标出现在页面底部） */
.tabbar { display: none; }

/* ---------- 响应式 / 手机版 ---------- */
@media (max-width: 980px) {
  .detail-top { grid-template-columns: 1fr; gap: 22px; }
  .gallery { position: static; }
  .foot-top { grid-template-columns: 1fr; gap: 34px; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }

  /* 顶栏：logo 一行 + 可横向滑动的金色导航胶囊行，关键入口始终可见 */
  .site-header { background: rgba(9, 9, 12, 0.92); }
  .site-header::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line) 16%, var(--gold) 50%, var(--gold-line) 84%, transparent);
    opacity: .6; pointer-events: none;
  }
  .site-header .inner { height: auto; padding-top: 11px; padding-bottom: 11px; flex-wrap: wrap; gap: 10px; }
  .logo { gap: 8px; }
  .logo img { height: 44px; }
  .logo .name { font-size: 15px; letter-spacing: .12em; }
  .menu-toggle { display: none; }
  .header-actions .btn { display: none; }
  .nav {
    display: flex; order: 3; width: 100%; margin: 2px 0 0; gap: 8px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 12px 2px 4px; border-top: 1px solid var(--line-soft);
    scrollbar-width: none; scroll-snap-type: x proximity;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    position: relative; flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start;
    padding: 8px 16px; border-radius: 999px;
    font-size: 13px; letter-spacing: .06em; color: var(--ink-2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  }
  .nav a:hover { color: var(--gold-2); background: var(--gold-soft); border-color: var(--gold-line); }
  .nav a.active {
    color: var(--on-gold); font-weight: 700; border-color: transparent;
    background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold-2) 42%, var(--gold) 78%, #b3924a 100%);
    box-shadow: 0 6px 18px rgba(201, 169, 97, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  .nav.open { position: static; display: flex; flex-direction: row; align-items: center; background: none; box-shadow: none; border: 0; padding: 12px 2px 4px; }

  /* 底部固定导航条 */
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(10, 10, 13, 0.96); backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--gold-line);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a {
    flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 5px 0; border-radius: 12px; color: var(--ink-3); font-size: 11px; letter-spacing: .02em;
  }
  .tabbar a svg { width: 21px; height: 21px; display: block; }
  .tabbar a.active { color: var(--gold-2); background: var(--gold-soft); }
  .tabbar a.active svg { stroke: var(--gold); }
  body { padding-bottom: 62px; }
  .float-contact { display: none; }

  /* 首屏 */
  .hero { padding: 44px 0 36px; }
  .hero.hero-bg { background-position: center; min-height: 470px; padding: 0 0 46px; }
  .hero h1 { font-size: 29px; margin: 16px 0 12px; }
  .hero p { font-size: 15px; margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; }
  /* 体型展示：手机上数据在上、图在下 */
  .body-flex { grid-template-columns: 1fr; gap: 14px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }

  /* 区块 */
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 20px; gap: 10px; }
  .section-head h2 { font-size: 22px; }
  .section-head .more { margin-left: 0; }
  .sec-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-top { gap: 24px; }
  .foot-brand { text-align: center; }
  .foot-brand .logo { justify-content: center; }
  .foot-slogan { margin: 0 auto 16px; }
  .foot-social { justify-content: center; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .foot-col.col-contact { grid-column: 1 / -1; }
  .foot-contact-row { display: flex; gap: 16px; align-items: flex-start; }
  .foot-col .qr-mini { margin: 0; flex: 0 0 auto; }
  .foot-bottom { flex-direction: column; align-items: center; gap: 6px; text-align: center; line-height: 1.6; }
  .foot-bottom .spacer { display: none; }
  .guarantee span { font-size: 12px; padding: 4px 11px; }

  /* 详情页底部操作条 */
  .bottom-bar .inner { gap: 10px; }
  .bottom-bar .actions { margin-left: 0; width: 100%; }
  .bottom-bar .actions .btn { flex: 1; }
  .price-box .value { font-size: 28px; }
  .config-area { padding: 18px 16px 6px; }
  .opt { flex: 1 1 45%; }

  /* 弹窗更像手机页 */
  .mask { padding: 0; align-items: end; }
  .modal { border-radius: 18px 18px 0 0; max-height: 92vh; }
  .modal-head, .modal-body, .modal-foot { padding-left: 18px; padding-right: 18px; }

  /* 配置单：三个高亮按钮独占一行，配置单改单列，导出图片更适合手机分享 */
  .quote-head { padding-top: 14px; padding-bottom: 14px; }
  .quote-actions { width: 100%; gap: 7px; }
  .quote-actions .btn { flex: 1 1 0; padding: 8px 8px; font-size: 12.5px; }
  .quote-head h3 { margin: 0; font-size: 15px; }
  .sheet { padding: 16px 16px 14px; }
  .sheet .sheet-head { flex-wrap: wrap; gap: 10px; }
  .sheet .sheet-head .no { margin-left: 0; text-align: left; }
  /* 结算条在手机上改为上下两段：总价卡横排铺满，二维码区横排居中 */
  .sheet-foot { grid-template-columns: 1fr; gap: 12px; }
  .sheet-foot .sheet-total { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; padding: 14px 16px; }
  .sheet-foot .sheet-total .lbl span { margin-top: 3px; }
  .sheet-foot .sheet-total .val { font-size: 26px; }
  .sheet-qr { padding: 16px 14px; }
  .sheet-qr .qr-card img { width: 112px; height: 112px; }
  .sheet-qr .qr-div { height: 116px; }
  .sheet-logo { height: 38px; max-width: 130px; }

  /* 配置单图片预览在手机上占满宽度、底部按钮更好点击 */
  .png-view { max-height: 92vh; border-radius: 18px 18px 0 0; }
  .png-view-body { padding: 12px; }
  .png-view-head, .png-view-tip, .png-view-foot { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 26px; }
  .hero-stats { grid-template-columns: 1fr; }
  .search input { width: 100%; }
}

/* 手机端（按 UA 判定）：去掉 hover 依赖，触摸反馈更直接 */
html.is-mobile .btn, html.is-mobile .opt, html.is-mobile .doll-card { -webkit-tap-highlight-color: transparent; }
html.is-mobile .btn:active { transform: scale(0.98); }
html.is-mobile .opt.active { transform: none; }
html.is-mobile a:not(.btn):hover { background: transparent; }
/* 顶部导航胶囊在手机上保持金色质感（不被上一条通用规则抹掉） */
html.is-mobile .nav a:hover { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-2); }
html.is-mobile .nav a.active,
html.is-mobile .nav a.active:hover {
  color: var(--on-gold); border-color: transparent;
  background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold-2) 42%, var(--gold) 78%, #b3924a 100%);
}

/* ---------- 观看数 ---------- */
.views { color: var(--gold-dark); font-size: 12.5px; white-space: nowrap; }

/* ---------- 帖子详情页（文章 / 买家秀共用） ---------- */
.post-page { padding-bottom: 40px; }
.post { max-width: 860px; margin: 0 auto; }
.post-back { margin: 14px 0 18px; }
/* 帖子配图：9:16 竖图，居中、不过大不过小，点击可看大图 */
.post-pics {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px 18px; margin: 6px 0 26px;
}
.post-pics figure {
  margin: 0; flex: 0 0 auto; width: 220px; max-width: 100%; text-align: center;
}
.post-pics .pic-frame {
  display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--line); background: var(--card);
}
.post-pics img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.post-pics figure:hover img { opacity: .92; }
.post-pics figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); transition: color .18s ease; }
.post-pics figure:hover figcaption { color: var(--gold-2); }
.post-title { font-size: 28px; margin: 4px 0 12px; line-height: 1.4; color: #fff; }
.post-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--ink-3); font-size: 13px; margin-bottom: 20px;
}
.post-video {
  margin: 0 0 22px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gold-line); background: #000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--gold-soft);
}
.post-video video { display: block; width: 100%; max-height: 70vh; background: #000; }
/* 视频保护：隐藏浏览器控件里的「下载」按钮，并关掉手机长按弹出的保存菜单 */
video::-webkit-media-controls-download-button { display: none !important; }
video::-internal-media-controls-download-button { display: none !important; }
video { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.post-body { color: var(--ink-2); font-size: 15px; line-height: 2; word-break: break-word; }

/* 买家秀多图 */
.post-gallery { margin-bottom: 20px; }
.post-gallery .pg-main {
  min-height: 300px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #20202a, #121218); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; position: relative;
}
/* 自适应：不裁切，按原图比例完整展示（横图/竖图都完整可见） */
.post-gallery .pg-main img { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.post-gallery .pg-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.post-gallery .pg-thumbs button {
  width: 68px; height: 68px; border-radius: 10px; overflow: hidden; padding: 0;
  border: 1px solid var(--line); background: var(--card);
}
.post-gallery .pg-thumbs button.active { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.post-gallery .pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 留言板 ---------- */
.comment-board {
  max-width: 860px; margin: 34px auto 0; padding: 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.comment-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.comment-head h2 { font-size: 18px; margin: 0; color: #fff; display: flex; align-items: center; }
.comment-head h2::before {
  content: ''; width: 3px; height: 16px; margin-right: 9px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-radius: 2px;
}
.comment-count { font-size: 12.5px; color: var(--gold-dark); }
.comment-item { padding: 13px 2px; border-bottom: 1px dashed var(--line); }
.comment-item:last-child { border-bottom: 0; }
.comment-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; margin-bottom: 5px; }
.comment-name { color: var(--gold-2); font-weight: 600; }
.comment-date { color: var(--ink-3); }
.comment-body { color: var(--ink-2); font-size: 14px; line-height: 1.8; word-break: break-word; }
.comment-empty { color: var(--ink-3); font-size: 13.5px; padding: 8px 2px 14px; }
.comment-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.comment-actions { display: flex; justify-content: flex-end; }

/* ---------- FAQ 改为跳转帖子页 ---------- */
a.faq-item { display: block; color: inherit; }
a.faq-item:hover .faq-q { color: var(--gold-2); }
a.faq-item .faq-q .views { margin-left: auto; }
a.faq-item .faq-q .arrow { margin-left: 10px; transform: none; }
a.faq-item:hover .faq-q .arrow { transform: translateX(3px); }

/* ---------- 独立列表页（买家秀 / 评测视频 / 新手指南） ---------- */
.list-head { padding: 8px 0 4px; }
.list-head h1 { font-size: 26px; margin: 8px 0 6px; }
.list-head .section-sub { margin: 0 0 10px; }
.guide-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.guide-item {
  display: flex; align-items: center; gap: 12px; padding: 15px 18px;
  border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600;
  transition: background .18s ease, color .18s ease;
}
.guide-item:last-child { border-bottom: 0; }
.guide-item:hover { background: var(--gold-soft); color: var(--gold-2); }
.guide-item .idx { color: var(--gold-dark); font-size: 13px; font-weight: 700; }
.guide-q { flex: 1 1 auto; min-width: 0; }
.guide-item .views { margin-left: auto; color: var(--ink-3); font-size: 12.5px; font-weight: 400; }
.guide-item .arrow { color: var(--ink-3); transition: transform .18s ease; }
.guide-item:hover .arrow { transform: translateX(3px); }

/* 列表页操作按钮（如「我要分享」） */
.list-actions { display: flex; justify-content: flex-end; margin: -4px 0 20px; }
/* 投稿弹窗的图片预览 */
.bs-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bs-thumb {
  width: 76px; height: 76px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
}
.bs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 820px) {
  .post-title { font-size: 22px; }
  .comment-board { padding: 18px 16px; border-radius: var(--radius-sm); }
  .list-head h1 { font-size: 21px; }
  .post-pics { gap: 14px 10px; }
  .post-pics figure { width: 42%; }
  .guide-item { padding: 13px 14px; gap: 10px; }
  .list-actions { margin: 0 0 16px; }
  .list-actions .btn { width: 100%; }
}

/* ---------- 图片灯箱（点击图片看大图） ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center;
  background: rgba(6, 6, 9, 0.9); backdrop-filter: blur(6px); padding: 28px;
  opacity: 0; transition: opacity .22s ease;
}
.lightbox.show { opacity: 1; }
.lightbox img {
  max-width: 92vw; max-height: 88vh; border-radius: 12px; object-fit: contain; background: #101016;
  border: 1px solid var(--gold-line); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  transform: scale(.96); transition: transform .22s ease;
}
.lightbox.show img { transform: none; }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(21, 21, 27, 0.9); border: 1px solid var(--gold-line); color: var(--gold-2);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.lightbox .lb-close:hover { background: var(--gold-soft); color: var(--gold-2); }

/* ---------- 最新动态列表页 ---------- */
.news-list { display: grid; gap: 14px; }
.news-row {
  display: flex; align-items: center; gap: 18px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  transition: border-color .18s ease, transform .18s ease;
}
.news-row:hover { border-color: var(--gold-line); transform: translateX(2px); }
.news-thumb { position: relative; flex: 0 0 190px; width: 190px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #14141a; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.28); }
.news-thumb .play i {
  width: 38px; height: 38px; border-radius: 50%; font-style: normal; font-size: 14px;
  background: rgba(201, 169, 97, 0.92); color: var(--on-gold); display: flex; align-items: center; justify-content: center;
}
.news-body { flex: 1 1 auto; min-width: 0; }
.news-meta { display: flex; gap: 12px; color: var(--ink-3); font-size: 12.5px; margin-bottom: 6px; }
.news-body h3 { font-size: 16.5px; margin: 0 0 6px; color: #fff; }
.news-body p {
  margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row .arrow { color: var(--ink-3); font-size: 20px; transition: transform .18s ease; }
.news-row:hover .arrow { transform: translateX(3px); color: var(--gold-2); }

@media (max-width: 820px) {
  .news-row { align-items: flex-start; gap: 12px; padding: 12px; }
  .news-thumb { flex: 0 0 118px; width: 118px; }
  .news-body h3 { font-size: 15px; }
}


/* ---------- 电脑版 / 手机版切换 ---------- */
.view-switch {
  position: fixed; left: 16px; bottom: 92px; z-index: 70;
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px;
  color: var(--gold-2); background: rgba(12, 12, 16, 0.86);
  border: 1px solid var(--gold-line); backdrop-filter: blur(8px);
  transition: all .18s ease;
}
.view-switch:hover { color: var(--gold-3); border-color: var(--gold); background: rgba(201, 169, 97, 0.16); }
html.is-mobile .view-switch { bottom: 84px; left: 12px; padding: 6px 12px; font-size: 12px; }
.view-preview {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(4, 4, 6, 0.74); backdrop-filter: blur(4px);
}
.view-preview .vp-shell {
  width: 390px; max-width: 92vw; height: min(780px, 88vh);
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; border: 1px solid var(--gold-line);
  background: #0a0a0d; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.62);
}
.view-preview .vp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; font-size: 13px; color: var(--gold-2);
  border-bottom: 1px solid var(--line);
}
.view-preview .vp-head button {
  background: transparent; border: 1px solid var(--gold-line); color: var(--gold-2);
  border-radius: 999px; padding: 4px 12px; font-size: 12px;
}
.view-preview .vp-head button:hover { background: var(--gold-soft); }
#vp-frame { flex: 1; width: 100%; border: 0; background: #0a0a0d; }
/* ============================================================
   浅色主题（参考 exdoll）：黑顶栏 + 白底 + 正红点缀
   结构：只改变量与关键组件，深色组件（页脚 / 配置单 / 图片预览）单独保留深色
   ============================================================ */
:root {
  --gold: #c9154e;
  --gold-2: #c9154e;
  --gold-3: #e03364;
  --gold-dark: #c9154e;
  --gold-soft: rgba(201, 21, 78, 0.07);
  --gold-line: rgba(201, 21, 78, 0.22);
  --on-gold: #ffffff;
  --ink: #111114;
  --ink-2: #55565c;
  --ink-3: #8b8d94;
  --line: #e7e7ea;
  --line-soft: #f0f0f2;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --card: #ffffff;
  --card-2: #f7f7f8;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.10);
}

body {
  background: #ffffff;
  background-attachment: scroll;
  font-size: 15.5px;
  line-height: 1.85;
}

/* ---------- 顶栏：纯黑、更高、白字 ---------- */
.site-header { background: #000; border-bottom: 1px solid #17171a; backdrop-filter: none; }
.site-header .inner { height: 90px; }
.logo .name { color: #fff; font-weight: 600; }
.nav { gap: 2px; }
.nav a { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; padding: 8px 15px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav a.active { color: #fff; background: transparent; border-bottom: 2px solid var(--gold); border-radius: 0; }
.menu-toggle { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.header-actions .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.26); color: #fff; }
.header-actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.header-actions .btn-plain { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.82); }

/* ---------- 按钮：红色实心 / 描边 ---------- */
.btn { border-radius: 2px; letter-spacing: 0.04em; }
.btn-primary {
  background: var(--gold); color: #fff;
  box-shadow: none;
}
.btn-primary:hover, a.btn-primary:hover {
  background: #a90f3f; color: #fff; filter: none;
  box-shadow: 0 8px 22px rgba(201, 21, 78, 0.24);
}
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }
.btn-plain { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-plain:hover { border-color: var(--gold-line); color: var(--gold); }

/* ---------- 区块标题 ---------- */
.section { padding: 76px 0; }
.section.tint { background: var(--bg-soft); border-color: var(--line-soft); }
.section-head h2 { color: var(--ink); font-weight: 600; letter-spacing: 0; }
.section-head .kicker { color: var(--gold); letter-spacing: 0.26em; }
.section-head .kicker::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section-sub { color: var(--ink-2); }
.sec-text { color: var(--ink-2); }

/* ---------- 卡片：去边框、极浅阴影 ---------- */
.card, .sec-figure, .sec-single {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 4px;
  box-shadow: none;
}
.card:hover { box-shadow: var(--shadow-hover); border-color: var(--line); }
.card h3, .news-item h3, .news-body h3 { color: var(--ink); }

/* ---------- 表单（浅色） ---------- */
input[type="text"], input[type="password"], input[type="number"], input[type="email"], textarea, select {
  background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 2px;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }

/* ---------- 首屏：保留图片上的白字 ---------- */
.hero.hero-bg { --ink: #fff; --ink-2: rgba(255, 255, 255, 0.86); --ink-3: rgba(255, 255, 255, 0.6); }
.hero::after { background: linear-gradient(90deg, transparent, rgba(201, 21, 78, 0.5) 22%, rgba(201, 21, 78, 0.5) 78%, transparent); }
.hero-kicker { background: transparent; border-color: var(--gold-line); color: var(--gold); }
.guarantee span { color: var(--gold); background: transparent; border-color: var(--gold-line); }

/* 有背景图的区块：在图片范围内恢复浅色文字，保证可读 */
.section.sec-bg {
  --ink: #fff; --ink-2: rgba(255, 255, 255, 0.86); --ink-3: rgba(255, 255, 255, 0.6);
  --line: rgba(255, 255, 255, 0.18); --line-soft: rgba(255, 255, 255, 0.12);
}

/* ---------- 商品详情 / 选配 ---------- */
.detail-info h1 { color: var(--ink); font-weight: 600; }
.param-block h3, .config-area h2, .cfg-group .g-name { color: var(--ink); }
.param-table tr:nth-child(odd) td { background: #fafafb; }
.param-table td, .param-table th { border-color: var(--line); }
.opt { background: #fff; border-color: var(--line); border-radius: 3px; }
.opt:hover { border-color: var(--gold); }
.opt.active { background: var(--gold-soft); border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.opt .n { color: var(--ink); }
.opt .pick-dot { border-color: rgba(0, 0, 0, 0.28); background: #fff; box-shadow: none; }
.opt.active .pick-dot { background: var(--gold); border-color: var(--gold); }

/* ---------- 弹窗 / 标题 ---------- */
.modal { background: #fff; border-color: var(--line); }
.modal-head { border-color: var(--line-soft); }
.modal-head h3 { color: var(--ink); }
.png-view-head h3 { color: #fff; }

/* ---------- 帖子 / 留言 ---------- */
.post-title { color: var(--ink); }
.comment-head h2 { color: var(--ink); }
.buyer-comments .bc b { color: var(--ink); }

/* ---------- 页脚：保持黑底白字 ---------- */
.site-footer { background: #000; border-top: 1px solid #17171a; color: rgba(255, 255, 255, 0.7); }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: #fff; }
.site-footer .f-brand, .site-footer h4 { color: #fff; }

/* ---------- 配置单：保留深色票据质感 ---------- */
.sheet {
  --ink: #eef0f4; --ink-2: #a9adba; --ink-3: #75798a;
  --line: #262630; --line-soft: #1d1d24;
}

/* ---------- 手机端底栏 ---------- */
.tabbar { background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.tabbar a { color: var(--ink-3); }
.tabbar a.active { color: var(--gold); }

/* ---------- 首页大图广告 / 区块图片 ---------- */
.home-ad { border-radius: 4px; overflow: hidden; }
.sec-single img, .sec-figure img { border-radius: 4px; }
/* 浅色主题补漏：列表 / 问答 / 直接联系标题 */
.faq-q { color: var(--ink); }
.faq-q:hover, .faq-item.open .faq-q { color: var(--gold); }
.faq-q .idx { color: var(--gold); }
.guide-item { color: var(--ink); }
.qr-card.direct h3 { color: var(--ink); }
.qr-card.direct { background: #fafafb; border-color: var(--line); }
/* 首屏按钮 / 保障标签：花纹背景上加实底，保证清晰显眼 */
.hero .btn-ghost {
  background: #ffffff; border-color: #ffffff; color: #a90f3f;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.hero .btn-ghost:hover { background: #ffffff; color: #c9154e; border-color: #ffffff; }
.hero .btn-primary { box-shadow: 0 6px 20px rgba(201, 21, 78, 0.34); }
.hero .guarantee span {
  background: rgba(10, 10, 14, 0.55);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-weight: 500;
}
/* ============================================================
   手机端专项优化（多数访客来自手机，单独打磨）
   ============================================================ */
@media (max-width: 820px) {
  /* 顶栏：紧凑黑底 + 纯文字导航，去掉药丸堆叠感 */
  .site-header .inner { height: 58px; gap: 12px; padding-left: 0; padding-right: 0; }
  .logo img { height: 34px; }
  .header-actions { display: none; }
  .nav { gap: 15px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    padding: 5px 0; border-radius: 0; font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6); white-space: nowrap;
  }
  .nav a:hover { background: transparent; color: #fff; }
  .nav a.active {
    background: transparent; color: #fff;
    border-bottom: 2px solid var(--gold); border-radius: 0; font-weight: 600;
  }

  /* 区块节奏收紧 */
  .wrap { padding: 0 16px; }
  .section { padding: 46px 0; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { font-size: 21px; }
  .grid { gap: 12px; }
  .card h3 { font-size: 14.5px; }

  /* 首屏：整宽竖排按钮 + 2×2 保障标签，视觉更整齐 */
  .hero.hero-bg { align-items: flex-end; min-height: 470px; padding: 0 0 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .hero-actions .btn {
    width: 100%; height: 48px; border-radius: 3px;
    font-size: 15px; font-weight: 600; letter-spacing: 0.08em;
  }
  .hero .guarantee {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    width: 100%; margin-top: 12px;
  }
  .hero .guarantee span {
    text-align: center; padding: 8px 0; border-radius: 3px;
    font-size: 12px; letter-spacing: 0.04em;
  }
}
/* 手机端首屏：向 exdoll 靠拢 —— 一张大图 + 一个按钮，去掉其余按钮与标签 */
@media (max-width: 820px) {
  .hero.hero-bg { padding: 0 0 34px; }
  .hero-actions { align-items: center; gap: 0; }
  .hero-actions .btn {
    width: 62%; max-width: 260px; height: 46px;
    font-size: 14.5px; letter-spacing: 0.14em;
  }
  .hero-actions .btn:nth-child(n+2) { display: none; }
  .hero .guarantee { display: none; }

  /* 顶栏更克制：压低高度、导航字更淡 */
  .site-header .inner { height: 54px; }
  .logo img { height: 32px; }
  .nav a { font-size: 13px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.02em; }
  .nav a.active { color: #fff; }
}
/* ---------- 手机端顶栏：极简一条 + 抽屉菜单 ---------- */
.m-drawer { display: none; }
.m-drawer.show { display: block; position: fixed; inset: 0; z-index: 140; }
.m-drawer::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); }
.m-drawer-panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: 78%; max-width: 320px;
  background: #0a0a0d; border-right: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 20px 28px; display: flex; flex-direction: column;
  animation: mDrawerIn .26s cubic-bezier(.2, .8, .2, 1);
}
@keyframes mDrawerIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.m-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.m-drawer-head .logo img { height: 30px; }
.m-drawer-close { background: transparent; border: 0; color: rgba(255, 255, 255, 0.72); font-size: 26px; line-height: 1; padding: 0 2px; }
.m-drawer-nav { display: flex; flex-direction: column; margin-top: 6px; }
.m-drawer-nav a { padding: 15px 2px; color: rgba(255, 255, 255, 0.78); font-size: 15.5px; letter-spacing: 0.05em; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.m-drawer-nav a.active { color: #c9154e; }
.m-drawer-cta { margin-top: 22px; height: 46px; }

@media (max-width: 820px) {
  .site-header .inner { height: 56px; }
  .site-header .nav { display: none !important; }
  .header-actions { display: flex !important; margin-left: auto; }
  .header-actions > *:not(.menu-toggle) { display: none !important; }
  .menu-toggle {
    display: inline-flex !important; align-items: center; justify-content: center;
    width: 38px; height: 38px; border: 0 !important; background: transparent !important;
    color: transparent; font-size: 0; padding: 0;
  }
  .menu-toggle::before {
    content: ''; width: 20px; height: 1.5px; background: #fff;
    box-shadow: 0 6px 0 #fff, 0 12px 0 #fff;
  }
  .site-header .logo img { height: 32px; }
}
/* ---------- 手机端商品列表：两列大图卡片 ---------- */
@media (max-width: 820px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
  .card:hover { transform: none; box-shadow: none; }
  .card .thumb { aspect-ratio: 3 / 4; border-radius: 2px; background: #f2f2f4; overflow: hidden; }
  .card .thumb img { border-radius: 2px; }
  .card .body { padding: 9px 2px 6px; gap: 5px; }
  .card h3 {
    font-size: 13.5px; font-weight: 500; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .card .meta { font-size: 11.5px; }
  .card .tags { display: none; }
  .price-row { padding-top: 2px; }
  .badge { top: 8px; left: 8px; padding: 2px 8px; font-size: 10.5px; }
  .thumb-placeholder { font-size: 12px; padding: 10px; }
}
/* 手机端：LOGO 居中，汉堡靠右 */
@media (max-width: 820px) {
  .site-header .inner { position: relative; }
  .site-header .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .site-header .header-actions { margin-left: auto; }
}
/* ---------- 手机端横向溢出修复 ---------- */
html, body { max-width: 100%; overflow-x: hidden; }
body { width: 100%; }

@media (max-width: 820px) {
  /* 顶栏内容左右留白 */
  .site-header .inner { padding: 0 14px; }

  /* 底部导航：锁定宽度，防止撑出视口 */
  .tabbar {
    width: 100%; max-width: 100%; box-sizing: border-box;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { min-width: 0; overflow: hidden; }
  .tabbar a span { white-space: nowrap; }

  /* 给固定底栏留足空间（含 iPhone 安全区） */
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
/* ---------- 手机端商品列表：吸顶筛选条（可左右滑）+ 严格两列 ---------- */
@media (max-width: 820px) {
  .section-head[style] { padding-top: 18px !important; }
  .section-head h2 { font-size: 20px; }

  .filter-bar {
    position: sticky; top: 56px; z-index: 40;
    display: block; border: 0; border-radius: 0; background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    margin: 0 -16px 14px; padding: 10px 16px 12px;
    border-bottom: 1px solid var(--line-soft);
  }
  .filter-bar .chips {
    display: flex; flex-wrap: nowrap; gap: 8px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding: 2px 0 6px;
  }
  .filter-bar .chips::-webkit-scrollbar { display: none; }
  .filter-bar .chip { flex: 0 0 auto; padding: 7px 15px; font-size: 13px; white-space: nowrap; }
  .filter-bar .search { display: flex; gap: 8px; margin-top: 4px; }
  .filter-bar .search input { flex: 1; min-width: 0; height: 38px; }
  .filter-bar .search .btn { flex: 0 0 auto; height: 38px; padding: 0 16px; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* ---------- 手机端商品卡片：按钮与价格更紧凑整齐 ---------- */
@media (max-width: 820px) {
  .card .price-row { gap: 6px; padding-top: 0; }
  .card .price { font-size: 16px; letter-spacing: 0; }
  .card .price-note { display: none; }
  .card .actions { padding: 0 2px 2px; gap: 6px; }
  .card .actions .btn {
    flex: 1 1 0; min-width: 0; height: 32px; padding: 0 4px;
    font-size: 12px; letter-spacing: 0; border-radius: 2px;
  }
  .section-head .section-sub { font-size: 13px; line-height: 1.7; margin-top: 4px; }
}