/* ==========================================================================
   臻境文创 · 官网样式
   调性：明黄宣纸底 + 红墙金瓦。宋体标题、无衬线正文、细线分割。
   配色取自道观：明黄（黄罗伞/经幡）、国红（院墙）、石青（额枋彩画点缀）。
   原则：明黄只在红墙上做「面」和强调，浅底上不用明黄写字（对比不足）；
        国红做主行动色；石青只做极小面积冷调，压一压红黄的燥。
   ========================================================================== */

:root {
  /* —— 纸：明黄褪淡（大面积不刺眼） —— */
  --paper:  #FCF5E2;
  --paper-2:#F7EDD5;
  --paper-3:#EFE0BD;
  --white:  #FFFDF4;

  /* —— 墨：偏暖的黑，不用纯黑 —— */
  --ink:    #241C14;
  --ink-2:  #4A3B28;
  --ink-3:  #7C6A50;

  --line:   #E9D8B2;
  --line-2: #D9C193;

  /* —— 红：国红（正红旗色，偏一点橘，不偏紫） —— */
  --red:    #A81C1E;
  --red-2:  #C22B21;

  /* —— 黄：深金（浅底可读）／明黄（红墙上的强调） —— */
  --gold:   #9C6B12;
  --gold-lt:#EFC24C;
  --gold-dp:#F7D36A;

  /* —— 石青：极小面积 —— */
  --blue:   #2E4A5C;

  /* —— 红墙：深色区块的统一底 —— */
  --wall:      #8C1A1C;
  --wall-2:    #761417;
  --wall-3:    #A0282A;
  --wall-line: #A6403A;
  --wall-line-2:#C2604F;

  /* —— 红墙上的字：暖白，不用纯白（纯白配红会发飘） —— */
  --dg:      #FBF1DA;
  --dg-txt:  #F0DCC4;
  --dg-dim:  #D9BC9B;
  --dg-dim2: #C09F7E;

  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", "STSong", serif;
  --sans:  "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* overflow-x:hidden 会让 html 变成滚动容器，position:sticky 就此失效；
   用 clip 效果相同但不建立滚动上下文，左栏与筛选条才能真的跟随。 */
body, html { overflow-x: clip; }
@supports not (overflow-x: clip) { body, html { overflow-x: hidden; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- 页头 ---------- */
.hd {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(252, 245, 226, .90);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hd .wrap { height: 100%; display: flex; align-items: center; gap: 40px; }

.logo { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0; }
.logo b {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  letter-spacing: .14em; color: var(--ink);
}
.logo i {
  font-style: normal; font-size: 10px; letter-spacing: .22em;
  color: var(--ink-3); text-transform: uppercase;
}

.nav { display: flex; gap: 34px; flex: 1; }
.nav a {
  position: relative; font-size: 14px; color: var(--ink-2);
  letter-spacing: .04em; padding: 6px 0; transition: color .18s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--red); transform: scaleX(0);
  transform-origin: left; transition: transform .24s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.on { color: var(--red); }

.hd-act { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.hd-act .burger { display: none; }

/* 移动端抽屉菜单 */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateY(-100%); transition: transform .32s cubic-bezier(.3,.8,.3,1);
}
.drawer.open { transform: translateY(0); }
.drawer .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.drawer .top b { font-family: var(--serif); font-size: 19px; letter-spacing: .14em; }
.drawer a {
  font-family: var(--serif); font-size: 26px; padding: 18px 0;
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.drawer a span { font-family: var(--sans); font-size: 11px; color: var(--ink-3); margin-left: 12px; letter-spacing: .1em; }
.drawer .foot { margin-top: auto; font-size: 12px; color: var(--ink-3); line-height: 1.9; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-2);
  transition: background .18s, color .18s; position: relative;
}
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn .dot {
  position: absolute; top: 6px; right: 6px; min-width: 15px; height: 15px;
  background: var(--red); color: #fff; border-radius: 99px;
  font-size: 9px; line-height: 15px; text-align: center; padding: 0 4px;
  font-family: var(--sans);
}

/* 锚点跳转要避开吸顶导航 */
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* ---------- 通用 ---------- */
.sec { padding: 96px 0; }
.sec.tight { padding: 64px 0; }
.sec.dark { background: var(--wall); color: var(--dg); border-top: 3px solid var(--gold-lt); }
.sec.alt { background: var(--paper-2); }

.eyebrow {
  font-size: 11px; letter-spacing: .3em; color: var(--ink-3);
  text-transform: uppercase; margin-bottom: 18px;
}
.sec.dark .eyebrow { color: var(--gold-lt); opacity: .72; }

.h1 { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1.32; letter-spacing: .01em; }
.h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.4; }
.h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.5; }
.lede { font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.sec.dark .lede { color: var(--dg-txt); }

.rule { height: 1px; background: var(--line); border: 0; }
.sec.dark .rule { background: var(--wall-line); }

.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.sec-hd .more {
  font-size: 13px; color: var(--ink-2); letter-spacing: .06em;
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: color .18s, border-color .18s; white-space: nowrap;
}
.sec-hd .more:hover { color: var(--red); border-color: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 30px; border-radius: 2px;
  font-size: 14px; letter-spacing: .08em;
  background: var(--red); color: #fff;
  transition: background .18s, transform .18s;
}
.btn:hover { background: var(--red-2); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light:hover { background: var(--white); }
.btn.sm { height: 38px; padding: 0 20px; font-size: 13px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 2px;
  background: var(--paper-2); color: var(--ink-2);
  font-size: 11px; letter-spacing: .04em; line-height: 1.6;
}
.tag.red { background: #FAE8D6; color: var(--red); }
.tag.line { background: transparent; border: 1px solid var(--line-2); }

/* ---------- 首页 Hero ---------- */
.hero { background: var(--wall); color: var(--dg); overflow: hidden; position: relative; }
.hero::before {
  /* 极淡的宣纸纹理，避免大面积纯黑发死 */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 78% 16%, rgba(239,194,76,.20), transparent 60%),
    radial-gradient(80% 70% at 8% 96%, rgba(60,10,10,.34), transparent 68%);
  pointer-events: none;
}
.hero .wrap { position: relative; padding-top: 84px; padding-bottom: 84px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-size: 56px; font-weight: 500;
  line-height: 1.38; letter-spacing: .02em;
}
.hero h1 em { font-style: normal; color: var(--gold-lt); }
.hero .sub {
  margin-top: 26px; font-size: 16px; line-height: 2.05;
  color: var(--dg-txt); max-width: 30em;
}
.hero .acts { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn { background: var(--gold-lt); color: #3A2410; font-weight: 500; }
.hero .btn:hover { background: var(--gold-dp); }
.hero .btn.ghost { background: transparent; color: var(--dg); border-color: var(--wall-line-2); }
.hero .btn.ghost:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.hero-meta {
  margin-top: 52px; display: flex; gap: 44px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--wall-line);
}
.hero-meta div b {
  display: block; font-family: var(--serif); font-size: 27px;
  color: var(--gold-lt); font-weight: 500; letter-spacing: .02em;
  line-height: 34px;   /* 固定行盒，数字和加号才能对齐基线 */
}
.hero-meta div span { font-size: 11px; color: var(--dg-dim); letter-spacing: .12em; }

/* Hero 右侧：器物陈列架 */
.shelf {
  position: relative; aspect-ratio: 4/5;
  display: grid; grid-template-rows: repeat(3, 1fr);
  border: 1px solid var(--wall-line-2);
  background: linear-gradient(180deg, #4E1210, #2C0A08);
}
.shelf .cell {
  border-bottom: 1px solid #63201D;
  display: flex; align-items: center; gap: 26px;
  padding: 0 34px; position: relative;
  transition: background .3s;
}
.shelf .cell:last-child { border-bottom: 0; }
.shelf .cell:hover { background: rgba(255,255,255,.025); }


/* 器形是竖长的（牌、璧、钱都是），格子却是横向的。
   居中放会显得「塞满」，改成左侧小尺寸陈列 + 右侧展签。 */
/* 器形 viewBox 统一 100x120，但牌只占 56 宽、璧占 84 宽，
   按宽度定尺会一大一小。改成锁定高度、宽度自适应。 */
.shelf .cell .art {
  width: 148px; height: 148px; flex-shrink: 0;
  display: grid; place-items: center;
}
/* 显式给宽高：grid 里 svg 的 height:100% 撑不开，
   会缩成 viewBox 的逻辑尺寸，看起来比预期小一圈。
   viewBox 固定 100x120，preserveAspectRatio 会保持比例居中，不会变形。 */
.shelf .cell .art svg {
  width: 148px; height: 148px;
  /* 材质色是为浅底配的（枣木 #6B4A2F），压在深红架上几乎看不见，
     提亮一档再补一点饱和，器形才浮得出来 */
  filter: brightness(1.75) saturate(1.08) drop-shadow(0 10px 16px rgba(0,0,0,.6));
}
.shelf .cell .t1 {
  font-size: 12.5px; color: var(--dg-txt); line-height: 1.65;
  letter-spacing: .02em;
}
.shelf .cell .t2 {
  display: block; margin-top: 7px;
  font-size: 10px; letter-spacing: .18em; color: var(--dg-dim2);
}

/* ---------- 三入口 ---------- */
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.gate {
  padding: 44px 34px 40px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; position: relative;
  transition: background .24s;
}
.gate:last-child { border-right: 0; }
.gate:hover { background: var(--paper-2); }
.gate .no {
  font-family: var(--serif); font-size: 12px; color: var(--ink-3);
  letter-spacing: .18em; margin-bottom: 22px;
}
.gate h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 14px; }
.gate p { font-size: 14px; line-height: 1.9; color: var(--ink-2); flex: 1; }
.gate .go {
  margin-top: 26px; font-size: 13px; color: var(--red); letter-spacing: .08em;
  display: inline-flex; align-items: center; gap: 8px;
}
.gate .go::after { content: "→"; transition: transform .2s; }
.gate:hover .go::after { transform: translateX(5px); }

/* ---------- 货品卡 ---------- */
.grid-goods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }

.card { display: block; group: card; }
.card .pic {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.card .pic svg { width: 66%; height: auto; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.card:hover .pic svg { transform: scale(1.06); }
.card .pic .flag {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #fff; font-size: 10px;
  letter-spacing: .1em; padding: 3px 8px; border-radius: 2px;
}
.card .pic .mat {
  position: absolute; bottom: 12px; right: 12px;
  font-size: 10px; letter-spacing: .14em; color: var(--ink-3);
}
.card h4 {
  margin-top: 15px; font-size: 14px; font-weight: 500; line-height: 1.6;
  color: var(--ink); transition: color .18s;
  height: 3.2em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover h4 { color: var(--red); }
.card .price {
  margin-top: 7px; font-family: var(--serif); font-size: 17px;
  color: var(--red); letter-spacing: .02em;
  display: flex; align-items: baseline; gap: 8px;
}
.card .price small { font-size: 11px; color: var(--ink-3); font-family: var(--sans); font-weight: 400; }

/* ---------- 引用 / 内容样张 ---------- */
.quote-card {
  background: var(--white); border: 1px solid var(--line);
  padding: 34px 32px 26px; display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.quote-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.quote-card .cl { font-size: 11px; letter-spacing: .16em; color: var(--gold); margin-bottom: 14px; }
.quote-card h4 { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.55; margin-bottom: 14px; }
.quote-card p {
  font-size: 13.5px; line-height: 1.95; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.quote-card .meta {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-3); display: flex; justify-content: space-between;
}

/* ---------- 页头（内页 banner）---------- */
.phead { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 60px 0 52px; }
.phead .eyebrow { margin-bottom: 14px; }
.phead h1 { font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1.4; line-break: strict; }
.phead p { margin-top: 16px; font-size: 15px; color: var(--ink-2); max-width: 52em; line-height: 1.95; }
.crumb { font-size: 12px; color: var(--ink-3); margin-bottom: 20px; letter-spacing: .04em; }
.crumb a:hover { color: var(--red); }
.crumb span { margin: 0 8px; opacity: .5; }

/* ---------- 列表页：筛选 + 网格 ---------- */
.shop { display: grid; grid-template-columns: 216px 1fr; gap: 54px; padding: 56px 0 96px; align-items: start; }

.filters { position: sticky; top: calc(var(--nav-h) + 24px); }
.fgroup { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: 0; }
.fgroup h5 {
  font-size: 12px; letter-spacing: .16em; color: var(--ink-3);
  font-weight: 500; margin-bottom: 14px;
}
.fgroup label {
  display: flex; align-items: center; gap: 9px; padding: 5px 0;
  font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: color .16s;
}
.fgroup label:hover { color: var(--ink); }
.fgroup input[type=checkbox] {
  appearance: none; width: 14px; height: 14px; border: 1px solid var(--line-2);
  border-radius: 1px; background: var(--white); position: relative; flex-shrink: 0; transition: .15s;
}
.fgroup input[type=checkbox]:checked { background: var(--red); border-color: var(--red); }
.fgroup input[type=checkbox]:checked::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid var(--white); border-width: 0 1.6px 1.6px 0; transform: rotate(42deg);
}
.fgroup .cnt { margin-left: auto; font-size: 11px; color: var(--ink-3); }

.shop-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 30px;
}
.shop-bar .n { font-size: 13px; color: var(--ink-2); }
.shop-bar .n b { font-family: var(--serif); color: var(--ink); font-size: 15px; }
.sorts { display: flex; gap: 20px; }
.sorts button { font-size: 13px; color: var(--ink-3); transition: color .16s; }
.sorts button:hover { color: var(--ink); }
.sorts button.on { color: var(--red); }

.empty { text-align: center; padding: 90px 20px; color: var(--ink-3); font-size: 14px; }

/* ---------- 货品详情 ---------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; padding: 52px 0 96px; align-items: start; }

.gallery .main {
  aspect-ratio: 1/1; background: var(--white); border: 1px solid var(--line-2);
  display: grid; place-items: center; position: relative;
}
.gallery .main svg { width: 74%; height: auto; }
.gallery .main .note {
  position: absolute; bottom: 16px; left: 0; right: 0; text-align: center;
  font-size: 11px; color: var(--ink-3); letter-spacing: .1em;
}

.d-info .code { font-size: 11px; letter-spacing: .24em; color: var(--ink-3); }
.d-info h1 { font-family: var(--serif); font-size: 33px; font-weight: 500; line-height: 1.45; margin: 12px 0 18px; line-break: strict; }
.d-info .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.d-info .px { font-family: var(--serif); font-size: 32px; color: var(--red); }
.d-info .px small { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-left: 12px; letter-spacing: .02em; }
.d-info .stock { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }

.spec { margin: 30px 0; border-top: 1px solid var(--line); }
.spec div {
  display: flex; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.spec dt { width: 76px; color: var(--ink-3); flex-shrink: 0; }
.spec dd { color: var(--ink); flex: 1; }
/* .spec div 有 display:flex，会盖掉 hidden 的默认隐藏，这里补回 */
.spec div[hidden] { display: none; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 46px; }
.qty button { width: 44px; height: 100%; font-size: 17px; color: var(--ink-2); }
.qty button:hover { background: var(--paper-2); }
.qty span { width: 52px; text-align: center; font-size: 14px; }

.buybar { display: flex; gap: 12px; margin-top: 28px; }
.buybar .btn { flex: 1; }
.buy-note { margin-top: 18px; font-size: 12px; color: var(--ink-3); line-height: 1.9; }

.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.tabs button {
  padding: 0 0 14px; font-size: 14px; color: var(--ink-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .18s;
}
.tabs button.on { color: var(--ink); border-color: var(--red); }
.tab-pane { display: none; }
.tab-pane.on { display: block; }

.rich { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.rich p { margin-bottom: 20px; }
.rich b { color: var(--ink); font-weight: 600; }
.rich h4 {
  font-family: var(--serif); font-size: 19px; color: var(--ink);
  font-weight: 600; margin: 34px 0 16px; padding-left: 14px;
  border-left: 3px solid var(--red); line-height: 1.5;
}
.rich hr { border: 0; height: 1px; background: var(--line); margin: 30px 0; }
.rich ul { margin: 0 0 20px 4px; list-style: none; }
.rich li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.rich li::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 5px; height: 5px; background: var(--gold); border-radius: 50%;
}

/* ---------- 招募页 ---------- */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--wall-line); }
.pain div { padding: 36px 30px 36px 0; border-right: 1px solid var(--wall-line); }
.pain div:last-child { border-right: 0; }
.pain .k { font-family: var(--serif); font-size: 16px; color: var(--gold-lt); margin-bottom: 16px; letter-spacing: .1em; }
.pain p { font-size: 14px; line-height: 1.95; color: var(--dg-txt); }

.offer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.offer > div { background: var(--paper); padding: 38px 36px; }
.offer .no { font-family: var(--serif); font-size: 12px; color: var(--gold); letter-spacing: .2em; }
.offer h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 16px 0 14px; }
.offer p { font-size: 14px; line-height: 1.95; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: s; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 30px; color: var(--line-2); line-height: 1;
}
.step h4 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 720px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--ink-2); letter-spacing: .04em; }
.field label i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  height: 46px; padding: 0 14px; background: var(--white);
  border: 1px solid var(--line-2); border-radius: 2px; font-size: 14px;
  transition: border-color .18s;
}
.field textarea { height: 108px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red);
}

/* ---------- 话题库 ---------- */
.lock {
  max-width: 470px; margin: 70px auto 96px; background: var(--white);
  border: 1px solid var(--line); padding: 54px 46px; text-align: center;
}
.lock h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 14px; }
.lock p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; margin-bottom: 30px; }
.lock input {
  width: 100%; height: 48px; text-align: center; letter-spacing: .3em;
  border: 1px solid var(--line-2); background: var(--paper); font-size: 15px;
}
.lock input:focus { outline: none; border-color: var(--red); }
.lock .btn { width: 100%; margin-top: 14px; }
.lock .err { color: var(--red); font-size: 12.5px; margin-top: 12px; min-height: 20px; }

.tp-layout { display: grid; grid-template-columns: 250px 1fr; gap: 52px; padding: 48px 0 96px; align-items: start; }
.tp-side {
  position: sticky; top: calc(var(--nav-h) + 24px);
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto; overscroll-behavior: contain;
  padding-right: 8px; scrollbar-width: thin;
}
.tp-side::-webkit-scrollbar { width: 5px; }
.tp-side::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.tp-side::-webkit-scrollbar-track { background: transparent; }
.tp-side h5 {
  font-size: 11.5px; letter-spacing: .16em; color: var(--ink-3);
  font-weight: 500; margin-bottom: 12px;
}
.cl-list { display: flex; flex-direction: column; gap: 1px; margin-bottom: 30px; }
.cl-list button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; font-size: 13.5px; color: var(--ink-2);
  border-left: 2px solid transparent; text-align: left; transition: .16s;
}
.cl-list button:hover { background: var(--paper-2); color: var(--ink); }
.cl-list button.on { background: var(--paper-2); border-color: var(--red); color: var(--red); }
.cl-list button em { font-style: normal; font-size: 11px; color: var(--ink-3); }

.sub-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sub-list button {
  font-size: 12px; padding: 5px 11px; border: 1px solid var(--line);
  color: var(--ink-2); border-radius: 2px; transition: .16s;
}
.sub-list button:hover { border-color: var(--line-2); color: var(--ink); }
.sub-list button.on { background: var(--red); color: var(--white); border-color: var(--red); }

.tp-tools { display: flex; gap: 12px; margin-bottom: 26px; }
.search {
  flex: 1; position: relative;
}
.search input {
  width: 100%; height: 44px; padding: 0 14px 0 42px;
  background: var(--white); border: 1px solid var(--line); font-size: 13.5px;
}
.search input:focus { outline: none; border-color: var(--line-2); }
.search svg { position: absolute; left: 14px; top: 13px; color: var(--ink-3); }

.tp-item {
  display: block; padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: .18s;
}
.tp-item:hover { padding-left: 10px; }
.tp-item:hover h4 { color: var(--red); }
.tp-item h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.6; transition: color .18s; }
.tp-item .meta { margin-top: 8px; display: flex; gap: 14px; align-items: center; font-size: 11.5px; color: var(--ink-3); }
.tp-item .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

.tp-detail { display: grid; grid-template-columns: 1fr 290px; gap: 56px; padding: 48px 0 96px; align-items: start; }
.tp-detail h1 { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.5; margin-bottom: 18px; line-break: strict; }
.tp-detail .rich { font-size: 15px; }
.tp-detail .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }

.switch { display: inline-flex; background: var(--paper-2); padding: 3px; border-radius: 3px; margin-bottom: 34px; }
.switch button {
  padding: 9px 26px; font-size: 13.5px; color: var(--ink-2); border-radius: 2px; transition: .18s;
}
.switch button.on { background: var(--white); color: var(--red); box-shadow: 0 1px 3px rgba(0,0,0,.06); }

.link-goods { border: 1px solid var(--line); background: var(--white); }
.link-goods .hd2 {
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: 12px; letter-spacing: .14em; color: var(--ink-3);
}
.link-goods a {
  display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line);
  align-items: center; transition: background .16s;
}
.link-goods a:last-child { border-bottom: 0; }
.link-goods a:hover { background: var(--paper); }
.link-goods .mini {
  width: 46px; height: 46px; background: var(--paper-2); flex-shrink: 0;
  display: grid; place-items: center; border: 1px solid var(--line);
}
.link-goods .mini svg { width: 70%; height: auto; }
.link-goods .tx { flex: 1; min-width: 0; }
.link-goods .tx b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.5; }
.link-goods .tx span { font-size: 12px; color: var(--red); font-family: var(--serif); }

/* ---------- 页脚 ---------- */
.ft { border-top: 3px solid var(--gold-lt); background: var(--wall-2); color: var(--dg-dim); padding: 72px 0 40px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; padding-bottom: 48px; }
.ft-grid h6 { font-size: 11.5px; letter-spacing: .18em; color: var(--dg); margin-bottom: 18px; font-weight: 500; }
.ft-grid a { display: block; font-size: 13px; padding: 5px 0; transition: color .16s; }
.ft-grid a:hover { color: var(--dg); }
.ft-brand b { font-family: var(--serif); font-size: 20px; color: var(--dg); letter-spacing: .14em; }
.ft-brand p { font-size: 12.5px; line-height: 2; margin-top: 16px; max-width: 26em; }
.ft-bot {
  border-top: 1px solid var(--wall-line); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--dg-dim2);
}

/* 备案号：链到工信部备案系统（规定要求），颜色随页脚，不抢眼 */
.ft-icp {
  color: inherit; margin-left: 10px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.ft-icp:hover { color: var(--gold-lt); border-bottom-color: var(--gold-lt); }


/* ---------- 购物车 / 订单 ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 330px; gap: 56px; padding: 48px 0 96px; align-items: start; }

.cart-row {
  display: grid; grid-template-columns: 88px 1fr 108px 86px 44px;
  gap: 22px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.cart-row .pic {
  width: 88px; height: 88px; background: var(--paper-2);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.cart-row .pic svg { width: 68%; height: auto; }
.cart-row .info h4 { font-size: 14px; font-weight: 500; line-height: 1.55; }
.cart-row .info h4 a:hover { color: var(--red); }
.cart-row .sub { font-size: 11.5px; color: var(--ink-3); margin-top: 5px; }
.cart-row .info .px { display: none; }
.cart-row .sum { font-family: var(--serif); font-size: 16px; color: var(--red); text-align: right; }
.cart-row .del { font-size: 12px; color: var(--ink-3); }
.cart-row .del:hover { color: var(--red); }
.cart-row .qty { height: 38px; }

.side-card { background: var(--white); border: 1px solid var(--line); padding: 26px; position: sticky; top: calc(var(--nav-h) + 24px); }
.side-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.side-card .row2 { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); padding: 7px 0; }
.side-card .row2.total {
  margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--ink);
}
.side-card .row2.total b { font-family: var(--serif); font-size: 22px; color: var(--red); }
.side-card .btn { width: 100%; margin-top: 20px; }
.side-card .tip { font-size: 11.5px; color: var(--ink-3); line-height: 1.85; margin-top: 14px; }

.addr { margin-top: 34px; }
.addr h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.addr .field { margin-bottom: 16px; }
.addr .field input, .addr .field textarea {
  width: 100%; height: 44px; padding: 0 14px; background: var(--white);
  border: 1px solid var(--line-2); font-size: 14px;
}
.addr .field textarea { height: 76px; padding: 12px 14px; }
.addr .field input:focus, .addr .field textarea:focus { outline: none; border-color: var(--red); }
.addr .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.err-line { color: var(--red); font-size: 12.5px; min-height: 20px; margin-top: 6px; }

.order { border: 1px solid var(--line); background: var(--white); margin-bottom: 22px; }
.order .oh {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-3);
}
.order .oh .st { color: var(--red); }
.order .oitem { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.order .oitem .pic { width: 58px; height: 58px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.order .oitem .pic svg { width: 70%; height: auto; }
.order .oitem .info { flex: 1; min-width: 0; }
.order .oitem .info b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.5; }
.order .oitem .info span { font-size: 11.5px; color: var(--ink-3); }
.order .oitem .px { font-family: var(--serif); font-size: 14px; color: var(--ink); }
.order .of {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 20px; font-size: 12.5px; color: var(--ink-3);
}
.order .of b { font-family: var(--serif); font-size: 16px; color: var(--red); }

.banner-ok {
  border: 1px solid #C2D2DC; background: #EFF4F7;
  padding: 22px 26px; margin-bottom: 30px;
}
.banner-ok b { display: block; font-family: var(--serif); font-size: 18px; color: var(--blue); margin-bottom: 8px; }
.banner-ok p { font-size: 13px; color: #3F5C6C; line-height: 1.85; }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 68px 1fr; gap: 14px; }
  .cart-row .qty, .cart-row .sum, .cart-row .del { grid-column: 2; justify-self: start; }
  .cart-row .sum { text-align: left; }
  .addr .two { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .grid-goods { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .shelf { display: none; }
  .hero h1 { font-size: 44px; }
  .shop { grid-template-columns: 1fr; gap: 32px; }
  .filters { position: static; display: flex; flex-wrap: wrap; gap: 30px; }
  .fgroup { border: 0; padding: 0; margin: 0; min-width: 150px; }
  .detail, .tp-detail { grid-template-columns: 1fr; gap: 40px; }
  .tp-layout { grid-template-columns: 1fr; }
  .tp-side { position: static; max-height: none; overflow: visible; padding-right: 0; }
  .pain, .steps { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .wrap { padding: 0 20px; }
  .nav { display: none; }
  .hd-act .burger { display: grid; }
  .sec { padding: 60px 0; }
  .h1, .hero h1 { font-size: 32px; }
  .h2 { font-size: 25px; }
  .phead h1 { font-size: 28px; }
  .grid-goods { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .gates, .offer, .pain, .steps { grid-template-columns: 1fr; }
  .gate { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 0; }
  .gate:last-child { border-bottom: 0; }
  .pain div { border-right: 0; border-bottom: 1px solid var(--wall-line); padding: 26px 0; }
  .form { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta { gap: 26px; }
  .buybar { position: sticky; bottom: 0; background: var(--paper); padding: 12px 0; z-index: 20; }
}

/* ============================================================
   首页四段式（2026-11-02b）
   01 品牌介绍 / 02 招募 / 03 话题 / 04 货品
   ============================================================ */

/* ---------- 01 品牌 ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.brand-card { padding: 38px 32px 42px 0; border-right: 1px solid var(--line-2); }
.brand-card:last-child { border-right: 0; padding-right: 0; }
.brand-card:not(:first-child) { padding-left: 32px; }
.brand-card .no { font-size: 11px; letter-spacing: .22em; color: var(--red); margin-bottom: 18px; }
.brand-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 16px; line-height: 1.5; }
.brand-card p { font-size: 14px; line-height: 2.05; color: var(--ink-2); }

.stance {
  display: grid; grid-template-columns: 180px 1fr; gap: 44px;
  margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line-2);
}
.stance-k { font-family: var(--serif); font-size: 15px; color: var(--red); letter-spacing: .14em; }
.stance-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 44px; }
.stance-body p { font-size: 13.5px; line-height: 2; color: var(--ink-2); }
.stance-body b { color: var(--ink); font-weight: 600; }

/* ---------- 02 招募 ---------- */
.recruit-hd { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; margin-bottom: 60px; }
.blk-label { font-size: 11px; letter-spacing: .28em; color: var(--ink-3); margin-bottom: 24px; }
.sec.dark .blk-label { color: var(--gold-lt); opacity: .66; }

.pain4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--wall-line); }
.pain4 > div { padding: 34px 26px 36px 0; border-right: 1px solid var(--wall-line); }
.pain4 > div:last-child { border-right: 0; padding-right: 0; }
.pain4 > div:not(:first-child) { padding-left: 26px; }
.pain4 .k {
  font-family: var(--serif); font-size: 16px; color: var(--gold-lt);
  margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px;
}
.pain4 .k span { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; color: var(--dg-dim2); }
.pain4 p { font-size: 13.5px; line-height: 2; color: var(--dg-txt); }

/* 浅底版： recruit 页复用同一套四列痛点 */
.pain4--light { border-top-color: var(--line); }
.pain4--light > div { border-right-color: var(--line); }
.pain4--light .k { color: var(--red); }
.pain4--light .k span { color: var(--ink-3); }
.pain4--light p { color: var(--ink-2); }

.fixlist { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--wall-line); border: 1px solid var(--wall-line); }
.fix { background: var(--wall); padding: 28px 30px; display: flex; gap: 18px; }
.fix:last-child { grid-column: 1 / -1; }
.fix:last-child h4 { display: inline; margin-right: 18px; }
.fix:last-child p { display: inline; }
.fix .fi { font-family: var(--serif); font-size: 13px; color: var(--gold-lt); letter-spacing: .1em; padding-top: 3px; }
.fix h4 { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--dg); margin-bottom: 9px; }
.fix p { font-size: 13px; line-height: 1.95; color: var(--dg-txt); }

.join-wrap {
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px;
  margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--wall-line); align-items: start;
}
.flow4 { list-style: none; display: grid; gap: 24px; }
.flow4 li { position: relative; padding-left: 42px; }
.flow4 li::before {
  counter-increment: f; content: counter(f);
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border: 1px solid var(--wall-line-2); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 11px; color: var(--gold-lt);
}
.flow4 { counter-reset: f; }
.flow4 b { display: block; font-size: 14.5px; color: var(--dg); font-weight: 600; margin-bottom: 5px; }
.flow4 span { font-size: 12.5px; line-height: 1.85; color: var(--dg-dim); }
.join-note { margin-top: 32px; font-size: 12px; line-height: 1.9; color: var(--dg-dim2); max-width: 40em; }

.qr-card { background: var(--paper); padding: 24px 24px 22px; text-align: center; color: var(--ink); }
.qr-box { background: #FFFFFF; padding: 13px; border: 1px solid var(--line); }
.qr-box img { width: 100%; height: auto; display: block; }
.qr-txt { margin-top: 18px; }
.qr-k { font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: .06em; margin-bottom: 8px; }
.qr-txt p { font-size: 12px; line-height: 1.9; color: var(--ink-2); }

/* ---------- 03 话题 ---------- */
.topic-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  padding: 34px 0 40px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.topic-struct { display: grid; gap: 26px; }
.struct-item { border-left: 2px solid var(--red); padding-left: 20px; }
.si-k { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.struct-item p { font-size: 13.5px; line-height: 1.95; color: var(--ink-2); }
.cluster-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border: 1px solid var(--line-2);
  font-size: 13px; color: var(--ink); transition: background .18s, color .18s, border-color .18s;
}
.cl-chip em { font-style: normal; font-size: 11px; color: var(--ink-3); }
.cl-chip:hover { background: var(--wall); color: var(--dg); border-color: var(--wall); }
.cl-chip:hover em { color: var(--gold-lt); }
.topic-samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }

/* ---------- 04 货品：主题 ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.theme { background: var(--paper); padding: 24px 22px 26px; display: flex; flex-direction: column; transition: background .2s; }
.theme:hover { background: var(--white); }
.theme .th-top { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 10.5px; letter-spacing: .16em; color: var(--ink-3); margin-bottom: 8px; }
.theme .th-art { height: 92px; display: grid; place-items: center; margin-bottom: 10px; }
.theme .th-art svg { height: 88px; width: auto; }
.theme h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 9px; }
.theme p { font-size: 12.5px; line-height: 1.9; color: var(--ink-2); flex: 1; }
.theme .th-go { margin-top: 16px; font-size: 11px; color: var(--red); letter-spacing: .08em; opacity: .55; transition: opacity .2s; }
.theme:hover .th-go { opacity: 1; }

/* 第 8 格：全部货盘入口 */
.theme-all { background: var(--wall); color: var(--dg); justify-content: flex-start; }
.theme-all:hover { background: var(--wall-2); }
.theme-all .th-top { color: var(--dg-dim2); }
.theme-all .ta-body { margin-top: 6px; display: flex; flex-direction: column; flex: 1; }
.theme-all h4 { color: var(--dg); font-size: 19px; margin-bottom: 12px; }
.theme-all p { color: var(--dg-txt); }
.theme-all .th-go { color: var(--gold-lt); opacity: .8; }
.theme-all:hover .th-go { opacity: 1; }

/* ---------- 04 货品：材质 ---------- */
.mat-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 44px; }
.mat-group { border-top: 1px solid var(--line); padding-top: 18px; }
.mg-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.mg-hd b { font-family: var(--serif); font-size: 16px; font-weight: 600; }
.mg-hd span { font-size: 11px; color: var(--ink-3); letter-spacing: .04em; white-space: nowrap; }
.mg-list { display: flex; flex-wrap: wrap; gap: 7px; }
.mg-list a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; padding: 5px 11px; border: 1px solid var(--line-2); color: var(--ink-2);
  transition: border-color .18s, color .18s;
}
.mg-list a em { font-style: normal; font-size: 10.5px; color: var(--ink-3); }
.mg-list a:hover { border-color: var(--ink); color: var(--ink); }
.note-line { font-size: 12px; color: var(--ink-3); line-height: 1.95; margin-top: 18px; max-width: 52em; }

/* 区块标题右侧的说明，移动端要落下来左对齐 */
.sec-note { max-width: 26em; font-size: 14px; text-align: right; }

/* ---------- 四段式响应式 ---------- */
@media (max-width: 1100px) {
  .brand-card { padding: 32px 24px 36px 0; }
  .brand-card:not(:first-child) { padding-left: 24px; }
  .recruit-hd { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .pain4 { grid-template-columns: repeat(2, 1fr); }
  .pain4 > div { border-bottom: 1px solid var(--wall-line); }
  .pain4 > div:nth-child(2n) { border-right: 0; }
  .pain4 > div:nth-child(n+3) { border-bottom: 0; }
  .pain4 > div:nth-child(3) { padding-left: 0; }
  .join-wrap { grid-template-columns: 1fr; gap: 44px; }
  .qr-card { max-width: 320px; }
  .topic-split { grid-template-columns: 1fr; gap: 40px; }
  .theme-grid { grid-template-columns: repeat(3, 1fr); }
  .mat-groups { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .sec-hd { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 34px; }
  .sec-note { text-align: left; max-width: none; }
  .brand-grid { grid-template-columns: 1fr; border-top: 0; }
  .brand-card { border-right: 0; border-top: 1px solid var(--line); padding: 30px 0 32px; }
  .brand-card:not(:first-child) { padding-left: 0; }
  .stance { grid-template-columns: 1fr; gap: 22px; }
  .stance-body { grid-template-columns: 1fr; }
  .topic-samples { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .sec { padding: 56px 0; }
  .pain4 { grid-template-columns: 1fr; }
  .pain4 > div { border-right: 0; border-bottom: 1px solid var(--wall-line); padding: 26px 0; }
  .pain4 > div:last-child { border-bottom: 0; }
  .pain4 > div:nth-child(n) { padding-left: 0; }
  .fixlist { grid-template-columns: 1fr; }
  .fix:last-child { grid-column: auto; }
  .qr-card { max-width: none; }
  .topic-samples { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .theme:nth-child(7), .theme:nth-child(8) { grid-column: 1 / -1; }
  .theme .th-art { height: 76px; }
  .theme .th-art svg { height: 72px; }
  .mat-groups { grid-template-columns: 1fr; gap: 26px; }
  .hero-meta { gap: 28px 34px; }
}

/* ============================================================
   2026-11-02d：数量泛化 + 私域直播一条横排 + 去购物车
   ============================================================ */

/* 数据行里的中文数值（数百/几百）要和数字视觉等高 */
.hero-meta div b.w { font-size: 20px; letter-spacing: .08em; }

.h1-minor { font-size: 42px; color: var(--dg); }

/* ---------- 私域直播：一条横排，不另起板块 ---------- */
.live-strip {
  display: grid; grid-template-columns: 300px 1fr; gap: 0 60px;
  margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--wall-line);
}
.ls-no { font-size: 10.5px; letter-spacing: .22em; color: var(--gold-lt); opacity: .72; }
.ls-k h3 {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  color: var(--dg); line-height: 1.6; margin-top: 14px;
}
.ls-body > p { font-size: 13.5px; line-height: 2.05; color: var(--dg-txt); }
.ls-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; margin-top: 26px;
}
.ls-3 > div {
  border-top: 1px solid var(--wall-line); padding-top: 14px;
  font-size: 12.5px; line-height: 1.9; color: var(--dg-dim);
}
.ls-3 b {
  display: block; font-family: var(--serif); font-size: 14px; font-weight: 600;
  color: var(--gold-lt); margin-bottom: 6px; letter-spacing: .04em;
}

/* 浅底版（partner 页、浅色区块） */
.live-strip--light { border-top-color: var(--line); }
.live-strip--light .ls-no { color: var(--red); }
.live-strip--light .ls-k h3 { color: var(--ink); }
.live-strip--light .ls-body > p { color: var(--ink-2); }
.live-strip--light .ls-3 > div { border-top-color: var(--line-2); color: var(--ink-2); }
.live-strip--light .ls-3 b { color: var(--red); }

/* ---------- 货品详情：无购物车，改成合作入口 ---------- */
.d-cta {
  margin-top: 30px; padding: 22px 24px 24px;
  border: 1px solid var(--line-2); background: var(--white);
}
.d-cta-k { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.d-cta-t { font-size: 13px; line-height: 1.95; color: var(--ink-2); margin-bottom: 18px; }
.d-cta .acts { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .live-strip { grid-template-columns: 1fr; gap: 22px; }
  .ls-k h3 br { display: none; }
}
@media (max-width: 760px) {
  .h1-minor { font-size: 29px; }
  .live-strip { margin-top: 48px; padding-top: 32px; }
  .ls-k h3 br { display: inline; }
  .ls-3 { grid-template-columns: 1fr; gap: 16px; }
  .d-cta { padding: 20px 18px 22px; }
}


/* ============================================================
   2026-11-02e：道观配色 —— 明黄宣纸 + 红墙金瓦
   ============================================================ */

/* ---------- 檐口：页头一线，明黄居中、两端收国红 ---------- */
.hd::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg,
    var(--red) 0 72px,
    var(--gold-lt) 72px calc(100% - 72px),
    var(--red) calc(100% - 72px) 100%);
  pointer-events: none;
}

/* 首屏底边一道「黄瓦」，与下面的浅色区收口 */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--gold-lt);
  border-top: 1px solid rgba(60,10,10,.35);
  pointer-events: none;
}

/* ---------- 红墙上的明黄实心块：五件事第 05 条（转化点） ---------- */
.fix:last-child { background: var(--gold-lt); }
.fix:last-child .fi { color: #8A5510; }
.fix:last-child h4 { color: #3A2410; }
.fix:last-child p { color: #6B4A21; }

/* ---------- 浅底上国红只做点：区块标题前一小段线 ---------- */
.sec-hd .eyebrow::before {
  content: ""; display: inline-block; vertical-align: 3px;
  width: 20px; height: 3px; margin-right: 11px;
  background: var(--red);
}
.sec.dark .sec-hd .eyebrow::before { background: var(--gold-lt); }

/* ---------- 浅底区的金线，用来切层次 ---------- */
.brand-grid { border-top-color: var(--line-2); }
.theme { transition: background .2s, box-shadow .2s; }
.theme:hover { background: #FFFAEA; box-shadow: inset 0 0 0 1px var(--line-2); }

/* 材质标签 hover 用国红描边，不用灰 */
.mg-list a:hover { border-color: var(--red); color: var(--red); }
.cl-chip:hover { background: var(--red); border-color: var(--red); }

/* 卡片价格用国红，标题 hover 保持国红 */
.card .price { color: var(--red); }

/* ---------- 页脚：比红墙深一档，收住整页 ---------- */
.ft .ft-grid h6 { color: var(--gold-lt); opacity: .8; }

/* ---------- 移动端：檐口线收窄，别抢标题 ---------- */
@media (max-width: 760px) {
  .hd::before { height: 2px; }
  .hero::after { height: 3px; }
  .sec-hd .eyebrow::before { width: 16px; }
}


/* ---------- 浅底上的器物图：暖黄底容易把淡色描边吃掉，补一点重量 ---------- */
.card .pic svg,
.theme .th-art svg,
.gcard .pic svg {
  filter: saturate(1.12) drop-shadow(0 4px 8px rgba(120, 78, 20, .16));
}

/* 卡片轮廓：纯靠底色区分太弱，补一道细边 */
.card { border: 1px solid var(--line); background: var(--white); }
.card:hover { border-color: var(--line-2); }
.card .pic { border-bottom: 1px solid var(--line); }

.quote-card { border: 1px solid var(--line); background: var(--white); }
.quote-card:hover { border-color: var(--line-2); }

/* 主题卡与材质组：细线颜色统一到暖金 */
.theme-grid { background: var(--line-2); border-color: var(--line-2); }
.mat-group { border-top-color: var(--line-2); }


/* ---------- 浅底版五件事：05 条反白成国红块，跟首页红墙上那块金对应 ---------- */
.offer { background: var(--line-2); border-color: var(--line-2); }
.offer > div { background: var(--white); }
.offer > div:last-child {
  background: var(--red); border-left: 3px solid var(--gold-lt);
}
.offer > div:last-child .no { color: var(--gold-lt); }
.offer > div:last-child h3 { color: var(--dg); }
.offer > div:last-child p { color: var(--dg-txt); }
.offer .no { color: var(--gold); }

/* ==========================================================================
   工具导航（tools.html）
   外部资源索引页。卡片只写可观察事实：提供什么、要不要钱、能不能开。
   不做排名与评分，所以没有星级、没有「推荐」角标。
   ========================================================================== */

.tls-main { padding: 40px 0 96px; }
.tls-scope { margin-top: 10px; font-size: 13px; color: var(--ink-3); }

/* ---------- 筛选条 ---------- */
.tls-bar {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; padding: 22px 0 18px; border-bottom: 1px solid var(--line);
}
.tls-bar .cl-chip { cursor: pointer; background: none; }
.tls-bar .cl-chip.on { background: var(--wall); color: var(--dg); border-color: var(--wall); }
.tls-bar .cl-chip.on em { color: var(--gold-lt); }
.tls-search { width: 300px; flex-shrink: 0; }

.tls-count {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 26px; font-size: 12.5px; color: var(--ink-3);
}
.tls-count b { color: var(--ink); font-family: var(--serif); font-size: 15px; }

/* ---------- 分组 ---------- */
.tls-grp { margin-bottom: 46px; }
.tls-grp-hd {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 12px; margin-bottom: 20px; border-bottom: 2px solid var(--ink);
}
.tls-grp-hd h3 {
  font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: .04em;
}
.tls-grp-hd span { font-size: 11.5px; color: var(--ink-3); letter-spacing: .06em; }
.tls-grp-hd::after { content: ""; flex: 1; }

/* ---------- 卡片 ---------- */
.tls-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.tls-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  padding: 22px 24px 18px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tls-card:hover {
  border-color: var(--line-2); transform: translateY(-2px);
  box-shadow: 0 10px 26px -18px rgba(36, 28, 20, .45);
}

.tls-card .top {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .1em; color: var(--ink-3);
  margin-bottom: 9px;
}
.tls-card .top .cat {
  padding: 2px 8px; background: var(--paper-2); color: var(--ink-2);
}
.tls-card .top .dot { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; }
.tls-card .top .dot i {
  width: 5px; height: 5px; border-radius: 50%; display: inline-block;
}
.dot.s-ok i { background: #3F7A55; }
.dot.s-manual i { background: #B8862B; }
.dot.s-repo i { background: var(--ink-3); }

.tls-card .nm {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  line-height: 1.5; margin-bottom: 10px; color: var(--ink);
}
.tls-card .nm a:hover { color: var(--red); }

.tls-card .give {
  font-size: 13px; color: var(--ink-2); line-height: 1.85;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 12px;
}

.tls-card .meta {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
}
.tls-card .meta .tag { font-size: 10.5px; }
.tls-card .meta .tag.free { background: #E7EFE6; color: #2F6340; }
.tls-card .meta .tag.paid { background: #F7E7DE; color: #8C3A24; }
.tls-card .meta .tag.lic-ok { background: #E7EFE6; color: #2F6340; }
.tls-card .meta .tag.lic-warn { background: #F8EBD5; color: #7A5216; }

.tls-card .note {
  font-size: 11.5px; color: var(--ink-3); line-height: 1.8;
  padding-top: 10px; border-top: 1px dashed var(--line);
  margin-top: auto;
}

.tls-card .go {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
}
.tls-card .go .host { font-size: 11px; color: var(--ink-3); letter-spacing: .02em; }
.tls-card .go a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--red); border-bottom: 1px solid transparent;
}
.tls-card .go a:hover { border-bottom-color: var(--red); }

/* 有条件收录：左侧一道赭色细边，不用角标（不用「推荐」语汇） */
.tls-card.b { border-left: 3px solid #C08A3E; }

/* ---------- 按用途找 ---------- */
.tls-help {
  margin-top: 26px; padding: 44px 0 40px;
  border-top: 1px solid var(--line);
}
.tls-help-hd { max-width: 60em; margin-bottom: 30px; }
.tls-help-hd h2 {
  font-family: var(--serif); font-size: 27px; font-weight: 500;
  margin: 10px 0 12px;
}
.tls-help-hd p { font-size: 14px; color: var(--ink-2); }
.tls-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 32px; }
.tls-help-grid h4 {
  font-family: var(--serif); font-size: 16px; font-weight: 600;
  margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.tls-help-grid p { font-size: 12.8px; color: var(--ink-2); line-height: 1.9; }

/* ---------- 收录说明 ---------- */
.tls-rule {
  margin-top: 16px; padding: 32px 36px; background: var(--paper-2);
  border-left: 3px solid var(--red);
}
.tls-rule h4 {
  font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 14px;
}
.tls-rule ul { list-style: none; }
.tls-rule li {
  position: relative; padding-left: 16px; margin-bottom: 9px;
  font-size: 12.8px; color: var(--ink-2); line-height: 1.9;
}
.tls-rule li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 5px; height: 5px; background: var(--line-2);
}

/* ---------- 外链离开提示 ---------- */
.tls-leave {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(36, 28, 20, .48);
  display: grid; place-items: center; padding: 24px;
}
.tls-leave[hidden] { display: none; }
.tls-leave .box {
  background: var(--paper); border-top: 3px solid var(--gold-lt);
  padding: 30px 32px; max-width: 420px; width: 100%;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .6);
}
.tls-leave .box b {
  font-family: var(--serif); font-size: 18px; font-weight: 600; display: block;
  margin-bottom: 8px;
}
.tls-leave .box p { font-size: 13px; color: var(--ink-2); margin-bottom: 22px; }
.tls-leave .acts { display: flex; gap: 10px; }
.tls-leave .acts .btn { flex: 1; text-align: center; justify-content: center; }

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .tls-grid { grid-template-columns: 1fr; }
  .tls-help-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .tls-bar { flex-direction: column; gap: 14px; }
  .tls-search { width: 100%; }
  .tls-help-grid { grid-template-columns: 1fr; }
  .tls-rule { padding: 24px 20px; }
  .tls-card { padding: 18px 18px 14px; }
}

/* ==========================================================================
   首页 · 工具精选（复用 .tls-card，三列更紧凑）
   完整清单在 tools.html；首页只摆六条，六个组各一个代表。
   ========================================================================== */

.htl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.htl-grid .tls-card { padding: 20px 22px 15px; }
.htl-grid .tls-card .nm { font-size: 17px; margin-bottom: 8px; }
.htl-grid .tls-card .give { font-size: 12.5px; -webkit-line-clamp: 2; margin-bottom: 10px; }
.htl-grid .tls-card .go { padding-top: 10px; margin-top: auto; }

.htl-note {
  margin-top: 22px; font-size: 12px; color: var(--ink-3); line-height: 1.9;
  padding-top: 16px; border-top: 1px solid var(--line);
}

@media (max-width: 1024px) { .htl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .htl-grid { grid-template-columns: 1fr; gap: 14px; } }

/* 话题详情占位（公网版没有讲稿正文时显示） */
.t-ph { padding: 30px 0 18px; font-size: 13.8px; color: var(--ink-2); line-height: 2; }
.t-ph b {
  display: block; font-family: var(--serif); font-size: 17px;
  font-weight: 600; color: var(--ink); margin-bottom: 10px;
}
.t-ph p { margin-bottom: 14px; }
.t-ph a { color: var(--red); border-bottom: 1px solid transparent; transition: border-color .2s; }
.t-ph a:hover { border-bottom-color: var(--red); }

/* ==========================================================================
   话题库 · 三块入口（2026-11-17）
   按场景 / 按要求 / 按分类 —— 同一份 317 条的三条入口，不是三套内容
   ========================================================================== */

.tp-views {
  display: flex; gap: 2px; margin-top: 34px;
  border-bottom: 1px solid var(--line);
}
.tp-views button {
  flex: 1; text-align: left; padding: 17px 20px 15px;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .18s;
}
.tp-views button b {
  display: block; font-family: var(--serif); font-size: 16px; font-weight: 600;
  color: var(--ink-2); margin-bottom: 3px; letter-spacing: .02em;
}
.tp-views button span { font-size: 11.5px; color: var(--ink-3); }
.tp-views button:hover b { color: var(--ink); }
.tp-views button:hover { background: var(--paper-2); }
.tp-views button.on { border-color: var(--red); background: var(--paper-2); }
.tp-views button.on b { color: var(--red); }

.tp-view { display: none; }
.tp-view.on { display: block; }

/* ---------- 场景主线 · 左侧列表 ---------- */
.ml-search { position: relative; margin-bottom: 12px; }
.ml-search svg {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--ink-3); pointer-events: none;
}
.ml-search input {
  width: 100%; height: 33px; padding: 0 10px 0 30px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink); transition: border-color .16s;
}
.ml-search input::placeholder { color: var(--ink-3); }
.ml-search input:focus { border-color: var(--line-2); outline: none; }

.ml-grp { margin-bottom: 1px; }
.ml-grp-h {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 7px 12px; font-size: 11.5px; letter-spacing: .1em;
  color: var(--ink-3); background: var(--paper-2); text-align: left; transition: .16s;
}
.ml-grp-h span { flex: 1; }
.ml-grp-h em { font-style: normal; font-size: 10.5px; }
.ml-grp-h i { font-style: normal; font-size: 13px; width: 10px; text-align: center; }
.ml-grp-h:hover { color: var(--ink); background: var(--paper-3); }
.ml-grp.on .ml-grp-h { color: var(--ink); }
.ml-grp-b { display: none; flex-direction: column; gap: 1px; }
.ml-grp.on .ml-grp-b { display: flex; }
.ml-grp .ml-grp-b button { padding-left: 20px; }
.ml-hit { padding: 10px 12px 0; font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.ml-none {
  padding: 22px 12px; font-size: 12px; color: var(--ink-3);
  line-height: 1.95; background: var(--paper-2);
}

.ml-tip {
  font-size: 11.5px; color: var(--ink-3); line-height: 1.95;
  margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line);
}
.cl-list button.ml-todo { color: var(--ink-3); opacity: .62; }
.cl-list button.ml-todo:hover { background: var(--paper-2); color: var(--ink-2); opacity: 1; }
.cl-list button.ml-todo em { font-size: 10.5px; letter-spacing: .04em; }
.cl-list button.ml-todo.on { opacity: 1; color: var(--red); }

/* ---------- 场景主线 · 右侧正文 ---------- */
.ml-hd { padding-bottom: 22px; border-bottom: 2px solid var(--line-2); margin-bottom: 34px; }
.ml-eyebrow { font-size: 11px; letter-spacing: .16em; color: var(--ink-3); }
.ml-title {
  font-family: var(--serif); font-size: 34px; font-weight: 600;
  color: var(--ink); line-height: 1.4; margin: 12px 0 7px;
}
.ml-tally { font-size: 12px; color: var(--ink-3); }

.ml-st { margin-bottom: 38px; }
.ml-st h3 {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink-2);
  padding-bottom: 9px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.ml-sn {
  font-family: system-ui, sans-serif; font-size: 11px; font-weight: 700;
  color: #fff; background: var(--red); padding: 2px 7px; border-radius: 2px;
  letter-spacing: .05em;
}
.ml-sn.warn { background: var(--gold); }
.ml-st h3 em {
  font-style: normal; font-family: system-ui, sans-serif;
  font-size: 11.5px; font-weight: 400; color: var(--ink-3); margin-left: auto;
}

.ml-say { list-style: none; }
.ml-say li {
  font-family: var(--serif); font-size: 17px; line-height: 1.95;
  color: var(--ink); padding-left: 20px; position: relative;
}
.ml-say li::before { content: "「"; position: absolute; left: 0; color: var(--line-2); }
.ml-say li::after { content: "」"; color: var(--line-2); }

.ml-ask { margin-bottom: 16px; }
.ml-ask-q {
  font-size: 15px; font-weight: 600; color: var(--ink);
  display: flex; gap: 9px; align-items: baseline;
}
.ml-ask-q i {
  font-style: normal; font-family: system-ui, sans-serif;
  font-size: 11px; font-weight: 700; color: var(--red);
  border: 1px solid var(--red); border-radius: 50%;
  width: 18px; height: 18px; flex: 0 0 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.ml-ask-w { font-size: 14.2px; color: var(--ink-2); line-height: 1.95; padding-left: 27px; margin-top: 4px; }

.ml-core { background: var(--white); border-left: 3px solid var(--red); padding: 26px 28px; }
.ml-core p { font-size: 15.5px; line-height: 1.98; color: var(--ink-2); margin-bottom: 19px; }
.ml-core p:last-child { margin-bottom: 0; }
.ml-core p:first-child {
  font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--red);
}

.ml-fa { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.ml-fa:last-child { border-bottom: 0; }
.ml-fa-q { font-size: 14.5px; font-weight: 600; color: var(--ink); display: flex; gap: 9px; align-items: baseline; }
.ml-fa-q i {
  font-style: normal; font-family: system-ui, sans-serif; font-size: 10.5px;
  font-weight: 700; color: var(--ink-3); flex: 0 0 26px; letter-spacing: .04em;
}
.ml-fa-a { font-size: 14.2px; color: var(--ink-2); line-height: 1.95; padding-left: 35px; margin-top: 3px; }

.ml-glist { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 10px; }
.ml-gc { background: var(--white); border: 1px solid var(--line); padding: 14px 17px; }
.ml-gc-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 5px; flex-wrap: wrap; }
.ml-gc-id { font-family: system-ui, sans-serif; font-size: 10.5px; color: var(--ink-3); }
.ml-gc-nm { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.ml-gc-type { font-size: 11px; color: var(--ink-3); }
.ml-gc-pr { font-family: system-ui, sans-serif; font-size: 13px; color: var(--red); margin-left: auto; }
.ml-gc-w { font-size: 13.2px; color: var(--ink-2); line-height: 1.9; }

.ml-nogo {
  margin-top: 14px; padding: 13px 16px; background: #FBF3E6;
  border: 1px dashed #D9B98A; font-size: 13.2px; color: #7A5A22; line-height: 1.9;
}
.ml-nogo b { display: block; font-size: 11.5px; letter-spacing: .06em; margin-bottom: 3px; color: #8A5A12; }

.ml-traps { list-style: none; }
.ml-traps li {
  font-size: 13.8px; color: #8A2418; line-height: 1.95;
  padding-left: 18px; position: relative; margin-bottom: 5px;
}
.ml-traps li::before { content: "×"; position: absolute; left: 3px; font-weight: 700; color: #C0503F; }

.ml-soon {
  padding: 16px 18px; background: var(--paper-2); border-left: 2px solid var(--line-2);
  font-size: 13.2px; color: var(--ink-2); line-height: 1.95; margin-bottom: 30px;
}
.ml-soon b { display: block; font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 4px; }

/* ---------- 待建区块 ---------- */
.soon { padding: 56px 0 80px; max-width: 640px; }
.soon b { display: block; font-family: var(--serif); font-size: 20px; color: var(--ink); margin-bottom: 14px; }
.soon p { font-size: 13.8px; color: var(--ink-2); line-height: 2; margin-bottom: 12px; }

@media (max-width: 1024px) {
  .tp-views button { padding: 14px 14px 12px; }
  .tp-views button b { font-size: 15px; }
  .ml-title { font-size: 28px; }
}

@media (max-width: 760px) {
  .tp-views { flex-direction: column; gap: 0; border-bottom: 0; }
  .tp-views button {
    border-bottom: 1px solid var(--line); border-left: 2px solid transparent;
    margin-bottom: 0; padding: 13px 14px;
  }
  .tp-views button.on { border-bottom-color: var(--line); border-left-color: var(--red); }
  .tp-view .tp-layout { padding-top: 26px; }
  .ml-title { font-size: 25px; }
  .ml-say li { font-size: 16px; }
  .ml-core { padding: 18px 18px; }
  .ml-st h3 { flex-wrap: wrap; }
  .ml-st h3 em { margin-left: 0; flex-basis: 100%; }
}

/* ==========================================================================
   话题库 · 按课程（2026-11-19）
   一条话题讲「一件事」，一讲课程讲「一整场」。
   列表页给备课看结构，阅读页给开播前照着念。
   ========================================================================== */

/* ---------- 课程包 · 列表 ---------- */
.cs-hd { padding-bottom: 24px; border-bottom: 2px solid var(--line-2); margin-bottom: 30px; }
.cs-eyebrow { font-size: 11px; letter-spacing: .16em; color: var(--ink-3); }
.cs-title {
  font-family: var(--serif); font-size: 34px; font-weight: 600;
  color: var(--ink); line-height: 1.4; margin: 12px 0 10px;
}
.cs-note { font-size: 13.5px; line-height: 1.95; color: var(--ink-2); max-width: 620px; }
.cs-stat {
  margin-top: 16px; display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-3);
}
.cs-stat b { font-family: var(--serif); font-size: 15px; color: var(--red); font-weight: 600; }

.cs-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.cs-card {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 22px; align-items: start;
  background: var(--paper); padding: 22px 20px 22px 0; transition: background .18s;
}
.cs-card:hover { background: var(--white); }
.cs-no {
  font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--line-2);
  text-align: center; line-height: 1; padding-top: 2px; transition: color .18s;
}
.cs-card:hover .cs-no { color: var(--red); }
.cs-main { min-width: 0; }
.cs-main h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.6;
  color: var(--ink); transition: color .18s;
}
.cs-card:hover .cs-main h3 { color: var(--red); }
.cs-meta {
  margin-top: 7px; display: flex; gap: 10px; align-items: center;
  font-size: 11.5px; color: var(--ink-3); flex-wrap: wrap;
}
.cs-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.cs-genre {
  font-style: normal; font-size: 10.5px; letter-spacing: .06em;
  border: 1px solid var(--line-2); color: var(--ink-2); padding: 1px 6px;
}
.cs-toc {
  list-style: none; margin-top: 13px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px 26px;
  grid-auto-flow: column; grid-template-rows: repeat(3, auto);
  counter-reset: cstoc;   /* 每张卡片各数各的，必须挂在 toc 上，挂在外层会一路数到 30 */
}
.cs-toc li {
  position: relative; padding-left: 24px; font-size: 12px; line-height: 1.9; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  counter-increment: cstoc;
}
.cs-toc li::before {
  content: counter(cstoc, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--sans); font-size: 10px; color: var(--line-2);
}
.cs-go {
  font-size: 12px; color: var(--ink-3); white-space: nowrap; padding-top: 5px; transition: color .18s;
}
.cs-card:hover .cs-go { color: var(--red); }
.cs-empty {
  padding: 40px 30px; background: var(--paper-2); font-size: 13px;
  line-height: 1.95; color: var(--ink-2);
}

/* ---------- 单讲阅读页 ---------- */
.lec-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 64px;
  padding: 22px 0 108px; align-items: start;
}
.lec-main { max-width: 748px; }

.lec-hd { padding-bottom: 26px; border-bottom: 2px solid var(--line-2); }
.lec-eyebrow { font-size: 11px; letter-spacing: .16em; color: var(--ink-3); }
.lec-hd h1 {
  font-family: var(--serif); font-size: 38px; font-weight: 600;
  color: var(--ink); line-height: 1.42; margin: 14px 0 18px; letter-spacing: .01em;
}
.lec-hd h1 .l2 { display: block; }
.lec-lead {
  font-family: var(--serif); font-size: 16px; line-height: 2.0; color: var(--ink-2);
  padding-left: 16px; border-left: 2px solid var(--gold-lt);
}
.lec-lead p + p { margin-top: 2px; }

.lec-info {
  margin: 26px 0 0; border-top: 1px solid var(--line);
}
.lec-info div {
  display: grid; grid-template-columns: 128px 1fr; gap: 18px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.9; color: var(--ink-2);
}
.lec-info dt, .lec-info b { color: var(--ink-3); font-weight: 400; }

/* 讲前必读 */
.lec-sec { margin-top: 46px; }
.lec-sec > h2 {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ink-2);
  padding-bottom: 9px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.lec-sec > h2 em {
  font-style: normal; font-family: var(--sans); font-size: 11.5px;
  font-weight: 400; color: var(--ink-3); margin-left: auto;
}
.lec-sec > .hint { font-size: 12.5px; line-height: 1.95; color: var(--ink-3); margin: -8px 0 18px; }

.lec-rules { counter-reset: lr; }
.lec-rule {
  position: relative; padding: 14px 18px 14px 20px; margin-bottom: 1px;
  background: var(--paper-2); border-left: 2px solid var(--red); counter-increment: lr;
}
.lec-rule b { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 5px; font-weight: 600; }
.lec-rule span { font-size: 12.8px; line-height: 1.95; color: var(--ink-2); }

/* 时间轴 */
.lec-tl { border-top: 1px solid var(--line); }
.lec-tl a {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 11px 0;
  border-bottom: 1px solid var(--line); transition: background .16s;
}
.lec-tl a:hover { background: var(--paper-2); }
.lec-tl .t { font-family: var(--sans); font-size: 11.5px; color: var(--gold); padding-top: 2px; letter-spacing: .02em; }
.lec-tl .w { font-size: 13px; color: var(--ink); font-weight: 600; }
.lec-tl .k { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; line-height: 1.85; margin-top: 3px; }

/* 正文 */
.lec-body {
  margin-top: 48px; font-size: var(--lec-fs, 17px); line-height: 2.05; color: var(--ink);
}
.lec-body p { margin-bottom: 1.05em; }
.lec-body p.em { font-weight: 600; }
.lec-h2 {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink);
  margin: 2.3em 0 .9em; padding-top: .55em; border-top: 1px solid var(--line-2);
  scroll-margin-top: 96px;
}
.lec-h2 .tm {
  font-family: var(--sans); font-size: 11.5px; font-weight: 400;
  color: var(--red); letter-spacing: .04em; padding: 2px 7px;
  border: 1px solid rgba(168,28,30,.28); background: rgba(168,28,30,.04);
}
/* 「停」这类提示：底纹只包住文字，不铺满整行（铺满就是一条横杠，念的时候看不见重点） */
.lec-body .lec-cue { margin: .5em 0 .9em; }
.lec-body .lec-cue span {
  display: inline-block; padding: 2px 10px 2px 8px;
  background: var(--paper-3); border-left: 2px solid var(--line-2);
  font-family: var(--serif); font-size: 12.5px; line-height: 1.9; color: var(--ink-3);
}
.lec-body .lec-cue span::before { content: "["; color: var(--red); }
.lec-body .lec-cue span::after { content: "]"; color: var(--red); }
.lec-q {
  margin: 1.1em 0 .5em; padding: 12px 20px;
  font-family: var(--serif); font-size: 1.02em; line-height: 1.95; color: var(--ink);
  background: var(--white); border-left: 3px solid var(--red);
}
.lec-qn {
  margin: 0 0 1.2em; padding: 0 20px; font-family: var(--serif);
  font-size: 12.5px; line-height: 1.85; color: var(--ink-3);
  border-left: 3px solid var(--line-2);
}

/* 备用料 / 追问 / 原文对照 */
.lec-more { margin-top: 54px; border-top: 2px solid var(--line-2); padding-top: 8px; }
.lec-more details { border-bottom: 1px solid var(--line); }
.lec-more summary {
  cursor: pointer; list-style: none; padding: 17px 0;
  font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ink-2);
  display: flex; align-items: baseline; gap: 10px;
}
.lec-more summary::-webkit-details-marker { display: none; }
.lec-more summary::after { content: "+"; margin-left: auto; font-family: var(--sans); color: var(--ink-3); font-size: 16px; }
.lec-more details[open] summary::after { content: "−"; }
.lec-more summary em { font-style: normal; font-family: var(--sans); font-size: 11.5px; font-weight: 400; color: var(--ink-3); }
.lec-more .body { padding: 2px 0 24px; }
.lec-more .hint { font-size: 12.5px; line-height: 1.95; color: var(--ink-3); margin-bottom: 16px; }
.lec-bk { margin-bottom: 18px; }
.lec-bk b { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 5px; }
.lec-bk span { font-size: 13px; line-height: 1.95; color: var(--ink-2); }
.lec-qa { margin-bottom: 16px; padding-left: 16px; border-left: 1px solid var(--line-2); }
.lec-qa .q { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.lec-qa .a { font-size: 13px; line-height: 1.95; color: var(--ink-2); }
.lec-or { margin-bottom: 14px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.lec-or i { font-style: normal; font-family: var(--sans); font-size: 11px; color: var(--ink-3); padding-top: 4px; }
.lec-or span { font-family: var(--serif); font-size: 13.5px; line-height: 1.95; color: var(--ink-2); }
.lec-tail { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 12.5px; line-height: 1.9; color: var(--ink-3); }

/* 右栏 */
.lec-side { position: sticky; top: 96px; }
.lec-side h5 { font-size: 10.5px; letter-spacing: .16em; color: var(--ink-3); margin-bottom: 12px; }
.lec-nav { list-style: none; border-left: 1px solid var(--line); }
.lec-nav li a {
  display: block; padding: 6px 0 6px 12px; margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 12.5px; line-height: 1.7; color: var(--ink-3); transition: .16s;
}
.lec-nav li a .n { display: block; font-family: var(--sans); font-size: 10.5px; color: var(--line-2); letter-spacing: .04em; }
.lec-nav li a:hover { color: var(--ink); }
.lec-nav li a.on { color: var(--red); border-left-color: var(--red); }
.lec-nav li a.on .n { color: var(--red); opacity: .7; }

.lec-tool { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.lec-fs { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-3); }
.lec-fs button {
  width: 28px; height: 26px; border: 1px solid var(--line-2); background: var(--white);
  color: var(--ink-2); font-size: 12px; transition: .16s;
}
.lec-fs button:hover { border-color: var(--red); color: var(--red); }
.lec-fs .v { margin-left: auto; font-family: var(--sans); font-size: 11px; }

.lec-pn { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.lec-pn a {
  display: block; padding: 10px 12px; background: var(--paper-2); font-size: 12px;
  color: var(--ink-2); line-height: 1.7; transition: .16s;
}
.lec-pn a:hover { background: var(--paper-3); color: var(--red); }
.lec-pn a em { display: block; font-style: normal; font-size: 10.5px; color: var(--ink-3); letter-spacing: .06em; }
.lec-pn a.dis { opacity: .38; pointer-events: none; }

@media (max-width: 980px) {
  .lec-layout { grid-template-columns: 1fr; gap: 0; padding-bottom: 80px; }
  .lec-side { position: static; margin-top: 40px; }
  .lec-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .lec-hd h1 { font-size: 30px; }
  .lec-body { font-size: calc(var(--lec-fs, 17px) - 1px); }
  .cs-card { grid-template-columns: 44px 1fr; }
  .cs-go { display: none; }
  /* 两列改一列时，必须把列流也改回行流，否则第 4 项开始溢出到看不见的第二列 */
  .cs-toc { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
}
