:root {
  --paper: #f4efe2;
  --paper-2: #fbf8f1;
  --ink: #17140e;
  --ink-2: #423c32;
  --muted: #8b8271;
  --line: #ded3bf;
  --line-2: #ece4d4;
  --seal: #a8321e;
  --seal-soft: #f7e8e3;
  --night: #12110d;
  --night-2: #1b1811;
  --gold: #c9a86a;
  --gold-soft: rgba(201, 168, 106, 0.35);
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --mono: "SF Mono", ui-monospace, "Menlo", "Consolas", monospace;
  --radius: 10px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

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

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    radial-gradient(120% 70% at 50% -8%, rgba(201, 168, 106, 0.16), transparent 62%),
    radial-gradient(90% 55% at 50% 108%, rgba(168, 50, 30, 0.16), transparent 66%),
    linear-gradient(180deg, #100f0b 0%, #16140f 45%, #0d0c09 100%),
    var(--grain);
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

#app {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 60% at 50% 0%, #fdfaf3 0%, rgba(253, 250, 243, 0) 55%),
    linear-gradient(180deg, #f7f2e5 0%, #f1eada 62%, #ece4d2 100%),
    var(--grain);
  background-repeat: no-repeat, no-repeat, repeat;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 26px 70px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

/* ---------- masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: var(--night-2);
  background-image:
    linear-gradient(180deg, #232017 0%, #17150f 60%, #12110d 100%),
    var(--grain);
  background-repeat: no-repeat, repeat;
  border-bottom: 1px solid var(--gold-soft);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.masthead-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px 6px;
  border-bottom: 1px solid rgba(201, 168, 106, 0.16);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 2px;
  color: rgba(224, 205, 166, 0.55);
  text-transform: uppercase;
}
.rail-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--seal);
  box-shadow: 0 0 0 3px rgba(168, 50, 30, 0.18);
  flex: 0 0 auto;
}
.rail-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rail-no { margin-left: auto; color: rgba(224, 205, 166, 0.34); }

/* 顶部细带右侧：浏览人次 + 分享（收进头部，省掉独立一行） */
.rail-act {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.masthead .strip-stat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0;
  color: rgba(224, 205, 166, 0.62);
  white-space: nowrap;
}
.masthead .strip-stat b {
  color: #ecd49c;
  font-size: 12px;
  margin: 0 1px;
}
.strip-share.mini {
  padding: 3px 11px;
  font-size: 11.5px;
  letter-spacing: 1px;
  font-weight: 700;
  background: linear-gradient(145deg, #e8cc85, #8a5a1e);
  border: 1px solid rgba(236, 212, 156, 0.55);
  color: #1b1408;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 11px;
}

.brand { display: flex; align-items: baseline; gap: 9px; }

.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 5px;
  color: #f3e9d3;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), 0 0 22px rgba(201, 168, 106, 0.18);
}

.brand-sub {
  font-size: 10.5px;
  letter-spacing: 2px;
  color: rgba(224, 205, 166, 0.5);
}

.plain-btn {
  border: 1px solid rgba(224, 205, 166, 0.28);
  background: transparent;
  color: rgba(240, 228, 203, 0.8);
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 5px 13px;
  border-radius: 999px;
  transition: background .15s, border-color .15s, color .15s;
}
.plain-btn:active { background: rgba(224, 205, 166, 0.12); color: #fff; }

.search-wrap { padding: 0 20px 16px; }
.search-input {
  width: 100%;
  border: 1px solid rgba(224, 205, 166, 0.25);
  background: rgba(250, 246, 236, 0.94);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}
.search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.16); }

/* ---------- tag bar ---------- */

.tag-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 9px 20px;
  border-bottom: 1px solid var(--line-2);
  scrollbar-width: none;
}
.tag-bar::-webkit-scrollbar { display: none; }
.tag-bar:empty { display: none; }

.tag-pill {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: .5px;
  padding: 6px 15px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all .15s;
}
.tag-pill:active { background: var(--line-2); }
.tag-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- main / list ---------- */

.main { flex: 1; padding: 2px 0 18px; }

.list-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 10px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--ink-2);
}
.list-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background-image: linear-gradient(90deg, var(--line) 0 5px, transparent 5px 10px);
  background-size: 10px 1px;
}

.list { list-style: none; margin: 0; padding: 0; counter-reset: qbj; }
.list > li { counter-increment: qbj; }

/* 首页「今日上新」展开全部按钮 */
.latest-more {
  display: block;
  width: calc(100% - 40px);
  margin: 6px 20px 24px;
  padding: 13px 0;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: transparent;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--ink-2);
  cursor: pointer;
}
.latest-more:active { background: rgba(0,0,0,.03); }

/* ---------- 分类分组 ---------- */

.group { margin-bottom: 6px; }
.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 20px 8px;
  border-bottom: 1px solid var(--line);
  margin: 0 20px;
}
.group-name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--ink);
}
.group-name::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 13px;
  margin-right: 8px;
  background: var(--seal);
  vertical-align: -1px;
}
.group-count { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.related { margin-top: 34px; padding-top: 6px; border-top: 1px solid var(--line); }

.item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px 20px;
  border-bottom: 1px solid var(--line-2);
  transition: background .18s, box-shadow .18s;
  position: relative;
}
.item::before {
  content: counter(qbj, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1px;
  color: var(--muted);
  opacity: .6;
  padding-top: 5px;
  min-width: 16px;
}
.item:hover { background: rgba(168, 50, 30, 0.03); box-shadow: inset 3px 0 0 var(--seal); }
.item:active { background: rgba(0, 0, 0, 0.03); }

.item-body { flex: 1; min-width: 0; }

.item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 11.5px;
  letter-spacing: 1px;
  color: var(--muted);
}

.item-big {
  color: var(--seal);
  border: 1px solid rgba(179, 52, 31, 0.28);
  background: var(--seal-soft);
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 11px;
  letter-spacing: .5px;
}

.item-pin {
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 3px;
  padding: 1px 6px;
}
.item-hot {
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--paper);
  background: var(--seal);
  border-radius: 3px;
  padding: 1px 6px;
}
.item-new {
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 5px;
}
/* 从众效应小字：多少人感兴趣——故意做得极小极淡，是氛围不是喇叭 */
.item-interest {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ink-2);
  opacity: .75;
  white-space: nowrap;
}
.pw-social {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ink-2);
  opacity: .8;
}
/* 付费教程旁的金标「会员免费」：SVIP 级的金，突出开通会员不用花钱看 */
.item-free {
  font-size: 10.5px;
  letter-spacing: 1px;
  font-weight: 800;
  color: #4a3208;
  background: linear-gradient(135deg, #f6e3a6 0%, #d9b36a 55%, #c9a86a 100%);
  border: 1px solid rgba(138, 90, 30, 0.6);
  border-radius: 3px;
  padding: 1px 7px;
  box-shadow: 0 0 8px rgba(201, 168, 106, 0.45), inset 0 0 4px rgba(255, 248, 220, 0.55);
  text-shadow: 0 1px 0 rgba(255, 250, 230, 0.6);
  white-space: nowrap;
}

.item-title {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
  margin: 0 0 7px;
  color: var(--ink);
  letter-spacing: .3px;
}

.item-summary {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.mini-tag {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .5px;
}
.mini-tag::before { content: "#"; opacity: .55; }

.item-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--line-2);
  border: 1px solid var(--line);
}
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- detail ---------- */

.article {
  position: relative;
  margin: 18px 14px 0;
  padding: 26px 20px 22px;
  background-color: var(--paper-2);
  background-image: var(--grain);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(30, 22, 10, 0.14), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.article::after {
  content: "密";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(168, 50, 30, 0.55);
  border: 1.5px solid rgba(168, 50, 30, 0.42);
  border-radius: 2px;
  transform: rotate(9deg);
  pointer-events: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .5px;
  margin-bottom: 18px;
}
.back-link:active { color: var(--ink); }

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-title {
  padding-right: 34px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: .5px;
}

.article-summary {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
  padding-left: 12px;
  border-left: 2px solid var(--seal);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article-tag {
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 11px;
  letter-spacing: .5px;
}

.article-body { font-size: 16px; line-height: 1.95; color: var(--ink); }
.article-body p { margin: 0 0 16px; }
.article-body p.sub {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  margin: 26px 0 10px;
  letter-spacing: .5px;
}
.article-body p.sub:first-child { margin-top: 0; }
.article-body p.li { padding-left: 14px; text-indent: -14px; margin-bottom: 8px; color: var(--ink-2); }

.price-line {
  display: inline-block;
  margin: 6px 0 20px;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: .5px;
  color: var(--seal);
  border-bottom: 1px dashed rgba(179, 52, 31, .4);
  padding-bottom: 2px;
}

.gallery { margin: 26px 0 10px; }
.gallery .g-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: var(--radius);
}
.gallery .g-track::-webkit-scrollbar { display: none; }
.gallery img {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line-2);
}
.g-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}
.g-thumbs::-webkit-scrollbar { display: none; }
.g-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--line-2);
  overflow: hidden;
  opacity: .55;
  transition: opacity .15s, border-color .15s;
}
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb.is-active { opacity: 1; border-color: var(--seal); }

.video-block { margin: 20px 0 6px; }
.video-block video { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
.video-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  font-size: 14px;
  color: var(--ink-2);
}
.video-link span:last-child { color: var(--muted); font-size: 12px; }

.article-foot {
  margin-top: 30px;
  padding: 20px 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wechat-line {
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px dashed rgba(179, 52, 31, .35);
  border-radius: var(--radius);
  background: rgba(179, 52, 31, .04);
  font-size: 14px;
  color: var(--ink-2);
}
.wechat-line b { color: var(--seal); letter-spacing: .5px; }
/* 资源帖统一备注：加人报备来源，通过率更高，也帮平台沉淀口碑 */
.wechat-line .wc-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3, #888780);
  letter-spacing: .3px;
}

/* 资源帖评论区：真人感是核心诉求——样式做成「留言板」而不是「表单」 */
.cmt-sec {
  margin: 18px 14px 8px; padding: 14px 14px 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 14px;
}
.cmt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cmt-head b { font-size: 15px; color: var(--ink); }
.cmt-count { font-size: 12px; color: var(--ink-3, #888780); flex: 1; }
.cmt-tip-btn {
  border: 1px solid rgba(201, 168, 106, 0.65); background: rgba(201, 168, 106, 0.12);
  color: #a97f1c; font-size: 12.5px; font-weight: 700;
  border-radius: 999px; padding: 4px 12px;
}
.cmt-tip-btn:active { background: rgba(201, 168, 106, 0.25); }
.cmt-tip-stat {
  display: none; font-size: 12px; color: #a97f1c;
  padding: 2px 0 4px; letter-spacing: .3px;
}
.cmt-list { list-style: none; margin: 0; padding: 0; }
/* 评论卡片化：整条可点，一眼知道能回复 */
.cmt-item {
  position: relative; margin: 9px 0 16px; padding: 9px 12px 13px;
  background: #fffdf6; border: 1.5px solid #eadfbf; border-radius: 12px;
  box-shadow: 0 1px 3px rgba(120, 95, 40, 0.07);
}
.cmt-item:last-child { margin-bottom: 6px; }
.cmt-meta { display: flex; justify-content: space-between; margin-bottom: 3px; }
.cmt-meta b { font-size: 12.5px; color: #a97f1c; }
.cmt-meta span { font-size: 11px; color: var(--ink-3, #888780); }
.cmt-txt { font-size: 13.5px; line-height: 1.7; color: var(--ink); word-break: break-word; }
.cmt-empty { font-size: 12.5px; color: var(--ink-3, #888780); padding: 10px 4px; }
/* 评论区（朋友圈风）：浅底块 + 纯文本行，点行即回复，零按钮 */
.cmt-wx { background: #f7f0de; border-radius: 12px; padding: 2px 12px; margin: 8px 0 4px; }
.cmt-line { padding: 9px 2px; font-size: 13.5px; line-height: 1.7; color: var(--ink); word-break: break-word; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cmt-wx > * + * { border-top: 1px dashed rgba(201, 168, 106, 0.3); }
.cmt-kidwrap .cmt-line + .cmt-line { border-top: 1px dashed rgba(201, 168, 106, 0.22); }
.cmt-line b { color: #8a6a1f; font-weight: 700; }
.cmt-line .cmt-date { float: right; font-size: 10.5px; color: #a89a78; margin: 2px 0 0 8px; }
.cmt-line.is-kid { padding-left: 12px; }
.cmt-line[data-rid]:active { background: rgba(201, 168, 106, 0.14); }
.cmt-line.replying { background: rgba(201, 168, 106, 0.18); border-radius: 8px; }
.cmt-kidwrap { padding-left: 4px; }
/* 关键修复：hidden 属性必须永远生效（此前 chip 的 display 规则压过 hidden，取消后标签藏不掉） */
[hidden] { display: none !important; }
/* 回复胶囊：右下角悬浮，明显好点 */
.rp-pill {
  position: absolute; right: 10px; bottom: -11px; z-index: 1;
  background: linear-gradient(135deg, #e0bd72, #c9a86a); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
  box-shadow: 0 3px 8px rgba(160, 120, 40, 0.35); cursor: pointer; user-select: none;
}
.cmt-list .cmt-item[data-rid] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cmt-list .cmt-item[data-rid]:active { background: #fdf6e0; border-color: #c9a86a; }
/* 回复态：金框高亮 + 顶部红标 + 其它评论变暗 + 胶囊变取消 */
.cmt-item.replying { border-color: #c9a86a; background: #fdf4da; box-shadow: 0 0 0 2.5px rgba(201, 168, 106, 0.35); }
.cmt-item.replying::before {
  content: "✓ 正在回复这条"; position: absolute; top: -9px; right: 12px;
  background: #b3502a; color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 9px; border-radius: 999px;
}
.cmt-item.replying .rp-pill { background: #b3502a; box-shadow: 0 3px 8px rgba(179, 80, 42, 0.4); }
.replying-sec .cmt-item[data-rid]:not(.replying) { opacity: 0.5; }
/* 楼中楼（方案C）：折叠条 + 子回复卡片缩进 */
.cmt-acts { margin: 2px 0 4px; font-size: 11px; color: #9a917c; }
.cmt-fold {
  margin-top: 6px; font-size: 11.5px; font-weight: 700; color: #8a5a1e; cursor: pointer;
  user-select: none; padding: 3px 0; max-width: 60%;
}
.cmt-kids { margin: 10px 0 2px 10px; padding-left: 10px; border-left: 2px solid #e0d3ac; list-style: none; }
.cmt-kids .cmt-item {
  background: #faf5e6; border-color: #eee2c4; padding: 7px 10px 12px; margin: 8px 0 15px;
}
.cmt-kids .cmt-txt { font-size: 12.5px; }
.cmt-at { color: #b3502a; font-weight: 700; font-size: 11px; }
/* 回复中chip：红色、状态看得见，右侧「✕ 取消」是大按钮 */
.cmt-replying {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 11.5px; font-weight: 700; color: #fff; background: #b3502a;
  border-radius: 999px; padding: 4px 5px 4px 12px; max-width: 78%; margin-bottom: 7px;
}
.cmt-replying b { overflow: hidden; text-overflow: ellipsis; max-width: 8em; }
.cmt-replying i {
  font-style: normal; font-weight: 700; cursor: pointer; flex: none;
  background: rgba(255, 255, 255, 0.28); padding: 4px 10px; border-radius: 999px; font-size: 11.5px;
  display: inline-flex; align-items: center; user-select: none;
}
.cmt-form { display: flex; gap: 6px; margin-top: 6px; align-items: stretch; flex-wrap: wrap; }
/* 回复chip独占一行；回复态下昵称徽章让位，输入框全宽不挤 */
.cmt-form .cmt-replying { flex-basis: 100%; max-width: 100%; }
/* 回复态：昵称徽章让位；卡片上的红胶囊隐藏（取消走标签上的按钮），不再叠着乱 */
.replying-sec .cmt-form .nick-badge { display: none; }
.cmt-item.replying .rp-pill { display: none; }
/* 昵称收起式徽章：点 ✎ 才展开编辑 */
.nick-badge {
  flex: none; display: inline-flex; align-items: center; gap: 4px; align-self: center;
  font-size: 11px; font-weight: 700; color: #8a5a1e;
  background: rgba(201, 168, 106, 0.16); border: 1px solid rgba(201, 168, 106, 0.45);
  padding: 9px 9px; border-radius: 9px; cursor: pointer; user-select: none; white-space: nowrap;
  max-width: 42%; overflow: hidden;
}
.nick-badge b { overflow: hidden; text-overflow: ellipsis; max-width: 6em; font-weight: 700; }
.nick-badge .pen { font-style: normal; font-size: 10px; opacity: 0.75; }
.nick-edit { display: flex; gap: 6px; align-items: center; font-size: 11px; color: #9a917c; margin-top: 7px; }
.nick-edit[hidden] { display: none; }
.nick-edit input {
  width: 110px; font-size: 12.5px; padding: 8px;
  border: 1.5px solid rgba(201, 168, 106, 0.4); border-radius: 8px;
  background: #fff; color: var(--ink);
}
.nick-edit .nick-done {
  font-size: 11px; font-weight: 700; color: #8a5a1e; cursor: pointer;
  background: rgba(201, 168, 106, 0.16); border: 1px solid rgba(201, 168, 106, 0.45);
  padding: 8px 10px; border-radius: 8px;
}
.cmt-input {
  flex: 1; font-size: 13px; padding: 9px 10px;
  border: 1px solid rgba(201, 168, 106, 0.4); border-radius: 9px;
  background: #fff; color: var(--ink); min-width: 0;
}
.cmt-input:focus { outline: none; box-shadow: 0 0 0 2.5px rgba(201, 168, 106, 0.3); }
.cmt-send {
  flex: none; border: none; border-radius: 9px; padding: 9px 14px;
  background: linear-gradient(135deg, rgba(201, 168, 106, 0.95), rgba(168, 132, 62, 0.95));
  color: #17120a; font-size: 13px; font-weight: 800;
}
.cmt-send:disabled { opacity: 0.5; }

/* 首页「老板们都在说」横滑评论条：真人感上第一屏 */
.hc-sub { font-size: 11.5px; color: var(--ink-3, #888780); font-weight: 400; margin-left: 6px; }
.hc-strip {
  display: flex; gap: 10px; overflow-x: auto; padding: 2px 14px 10px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.hc-strip::-webkit-scrollbar { display: none; }
.hc-card {
  flex: 0 0 216px; scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(201, 168, 106, 0.4);
  border-radius: 12px; padding: 10px 12px 8px;
  box-shadow: 0 3px 12px rgba(66, 60, 50, 0.08);
  display: flex; flex-direction: column;
}
.hc-body { display: block; flex: 1; }
.hc-reply {
  margin-top: 7px; align-self: flex-start;
  border: 1px solid rgba(201, 168, 106, 0.55); background: rgba(201, 168, 106, 0.1);
  color: #a97f1c; font-size: 11.5px; font-weight: 700;
  border-radius: 999px; padding: 4px 11px;
}
.hc-reply:active { background: rgba(201, 168, 106, 0.25); }
/* 快捷评论弹层 */
.qc-nick { width: 100% !important; margin-bottom: 8px; }
.qc-input {
  width: 100%; font-size: 13.5px; line-height: 1.7; padding: 10px 12px;
  border: 1px solid rgba(201, 168, 106, 0.5); border-radius: 10px;
  background: #fff; color: var(--ink); resize: none; box-sizing: border-box;
}
.hc-nick { font-size: 12px; font-weight: 800; color: #a97f1c; margin-bottom: 4px; }
.hc-txt {
  font-size: 13px; line-height: 1.6; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  word-break: break-word; min-height: 40px;
}
.hc-post { font-size: 11px; color: var(--ink-3, #888780); margin-top: 6px; }
/* 列表卡片上的评论数角标 */
.item-cmt { font-size: 11.5px; color: var(--ink-3, #888780); font-weight: 700; }

/* 首页头条位：付费曝光大卡（墨金，压过普通条目） */
.hd-card {
  display: block; margin: 0 14px 14px; padding: 14px 16px;
  background: linear-gradient(150deg, #1d1810, #14110a);
  border: 1px solid rgba(201, 168, 106, 0.7);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(66, 60, 50, 0.18);
  position: relative; overflow: hidden;
}
.hd-card::after {
  content: ''; position: absolute; right: -34px; top: -34px; width: 96px; height: 96px;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.28), transparent 70%);
  pointer-events: none;
}
.hd-tag {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 2px;
  color: #17120a; background: linear-gradient(135deg, #e6c684, #c9a86a);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 8px;
}
.hd-title { font-size: 16.5px; font-weight: 800; color: #f2e8cd; line-height: 1.5; }
.hd-sum {
  margin-top: 5px; font-size: 12.5px; line-height: 1.7; color: #bfb394;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hd-meta { display: flex; align-items: center; gap: 12px; margin-top: 9px; font-size: 11.5px; color: #a89a7a; }
.hd-hot { flex: 1; }
.hd-cta { color: #ecd49c; font-weight: 800; }
/* 头条位招租暗示条：看见位置→知道能买→顺手问价 */
.hd-rent {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin: -6px 14px 14px; padding: 8px 12px;
  font-size: 12px; color: #8a7c5c; text-align: center;
  border: 1px dashed rgba(201, 168, 106, 0.45); border-radius: 10px;
  background: rgba(201, 168, 106, 0.06);
}
.hd-rent b { color: #a97f1c; }

/* 评论入口文字：独占一行靠左、素净无框（用户定稿样式），数字金色 */
.cmt-toggle {
  display: inline-flex; align-items: center; gap: 3px;
  max-width: 100%;
  font-size: 12px; font-weight: 600; line-height: 1.6;
  color: #8a8375; background: transparent; border: 0;
  padding: 2px 0; cursor: pointer; user-select: none; text-align: left;
}
.cmt-toggle b { color: #a97f1c; }
.cmt-toggle.open { color: #a97f1c; }
.cmt-toggle:active { opacity: .7; }

/* 评论文字条贴着所属卡片；分隔线在文字下方（用户定稿：文字在上、线在下，归属清晰） */
.li-cmt {
  margin: 0 14px;
  border-bottom: 1px dashed rgba(201, 168, 106, 0.35);
  padding: 2px 0 10px;
}
/* 有评论条的条目：卡片自带的下边框让位给虚线，避免双线 */
.list > li:has(.li-cmt) .item { border-bottom: 0; }
.lc-btn {
  display: block; width: 100%; text-align: left;
  border: 0; background: transparent; padding: 2px 0;
  font-size: 12.5px; color: var(--ink-3, #888780); cursor: pointer;
}
.lc-btn b { color: #a97f1c; }
.lc-btn.open { color: #a97f1c; }
.lc-panel {
  margin-top: 8px; padding: 10px 12px;
  background: rgba(201, 168, 106, 0.07);
  border: 1px solid rgba(201, 168, 106, 0.3);
  border-radius: 10px;
}
.lc-loading { font-size: 12.5px; color: var(--ink-3, #888780); text-align: center; padding: 6px 0; }
/* 面板头部：留言数 + 收起按钮（每个面板必带，明面出口不让人猜） */
.lc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 7px; margin-bottom: 8px;
  border-bottom: 1px dashed rgba(201, 168, 106, 0.3);
}
.lc-head-t { font-size: 12.5px; font-weight: 700; color: #a97f1c; }
.lc-close {
  border: 1px solid rgba(201, 168, 106, 0.55); border-radius: 999px;
  background: rgba(201, 168, 106, 0.14); color: #8a5a1e;
  font-size: 12px; font-weight: 700; padding: 4px 12px; cursor: pointer;
}
.lc-list { margin: 0; padding: 0; list-style: none; }
.lc-list .cmt-item { padding: 7px 0; border-bottom: 1px dashed rgba(201, 168, 106, 0.25); }
.lc-list .cmt-item:last-child { border-bottom: 0; }
.lc-more { display: block; margin-top: 6px; font-size: 12px; color: #a97f1c; text-align: center; }

/* 教程板块「有奖征稿」海报弹层 */
.rc-poster { position: relative; text-align: center; }
.rp-x {
  position: absolute; top: 10px; right: 10px;
  border: 0; background: transparent; color: #8f8874;
  font-size: 15px; line-height: 1; cursor: pointer; padding: 6px;
}
.rp-badge {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 2px;
  color: #17120a; background: linear-gradient(135deg, #f0d48a, #c9a86a);
  border-radius: 999px; padding: 3px 14px; margin-bottom: 14px;
}
.rp-title {
  font-size: 22px; font-weight: 900; line-height: 1.5; color: #f0d48a;
  text-shadow: 0 2px 12px rgba(201, 168, 106, 0.25);
}
.rp-sub { margin-top: 8px; font-size: 13px; color: #cfc4a6; }
.rp-rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 4px; }
.rp-rw {
  padding: 12px 8px;
  background: rgba(201, 168, 106, 0.08);
  border: 1px solid rgba(201, 168, 106, 0.35); border-radius: 12px;
}
.rp-rw.gold { border-color: #c9a86a; background: rgba(201, 168, 106, 0.16); }
.rp-rw b { display: block; font-size: 16px; color: #f0d48a; }
.rp-rw span { display: block; margin-top: 3px; font-size: 11px; color: #9a917c; }
.rp-lead { margin: 10px 0 14px; font-size: 12.5px; color: #cfc4a6; }
.rp-lead b { color: #f0d48a; }

/* 发布页「上头条」套餐刊例 */
.hd-upsell {
  margin-top: 10px; padding: 12px;
  background: linear-gradient(150deg, #1d1810, #14110a);
  border: 1px solid rgba(201, 168, 106, 0.6); border-radius: 12px;
}
.hd-up-head { font-size: 13.5px; font-weight: 800; color: #f0d48a; line-height: 1.7; }
.hd-up-packs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.hd-up-pack {
  position: relative; padding: 10px 10px 8px;
  background: rgba(201, 168, 106, 0.08);
  border: 1px solid rgba(201, 168, 106, 0.35); border-radius: 10px;
  text-align: center;
}
.hd-up-pack.best { border-color: #c9a86a; background: rgba(201, 168, 106, 0.16); }
.hd-up-tag {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 1px;
  color: #17120a; background: linear-gradient(135deg, #e6c684, #c9a86a);
  border-radius: 999px; padding: 1px 8px; white-space: nowrap;
}
.hd-up-pack b { display: block; font-size: 12px; color: #bfb394; font-weight: 700; }
.hd-up-pack em {
  display: block; font-style: normal; font-size: 20px; font-weight: 900;
  color: #f0d48a; margin: 2px 0; font-family: Georgia, serif;
}
.hd-up-pack span { display: block; font-size: 10.5px; color: #a89a7a; }
.hd-up-note { font-size: 11.5px; color: #a89a7a; line-height: 1.7; margin-top: 10px; }
.hd-up-more { color: #ecd49c; font-weight: 700; margin-left: 4px; }
.done-packs { margin: 12px 0; }

/* ---------------- 大客户广告合作页（/hd） ---------------- */
.bhd-page { padding-bottom: 26px; }
.bhd-hero {
  background: linear-gradient(150deg, #1d1810, #14110a);
  padding: 30px 22px 26px; position: relative; overflow: hidden;
}
.bhd-hero::after {
  content: ''; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.3), transparent 70%);
}
.bhd-badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 3px;
  color: #17120a; background: linear-gradient(135deg, #e6c684, #c9a86a);
  border-radius: 999px; padding: 4px 14px; margin-bottom: 12px;
}
.bhd-hero h1 { font-size: 25px; font-weight: 900; color: #f2e8cd; line-height: 1.4; letter-spacing: 1px; }
.bhd-hero h1 em { font-style: normal; color: #f0d48a; }
.bhd-hero p { margin-top: 10px; font-size: 13px; line-height: 1.9; color: #bfb394; }
.bhd-proof {
  margin-top: 14px; display: inline-flex; gap: 8px; align-items: center;
  font-size: 12px; color: #e8ddbd; background: rgba(201, 168, 106, 0.12);
  border: 1px solid rgba(201, 168, 106, 0.4); border-radius: 999px; padding: 6px 14px;
}
.bhd-sec { display: flex; align-items: baseline; gap: 10px; padding: 24px 20px 12px; }
.bhd-sec b { font-size: 17px; font-weight: 900; color: var(--ink); }
.bhd-sec span { font-size: 11.5px; color: var(--ink-3, #888780); }
.bhd-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.bhd-plan {
  position: relative; background: #fff; border: 1px solid rgba(201, 168, 106, 0.4);
  border-radius: 14px; padding: 16px 14px 13px; text-align: center;
}
.bhd-plan.best { border: 1.5px solid #c9a86a; background: linear-gradient(160deg, #fffdf6, #faf3e0); }
.bhd-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 10px; font-weight: 800; color: #17120a; white-space: nowrap;
  background: linear-gradient(135deg, #e6c684, #c9a86a); border-radius: 999px; padding: 2px 10px;
}
.bhd-plan .bp-name { font-size: 12.5px; font-weight: 700; color: #6b5c3c; }
.bhd-plan .bp-price { font-size: 27px; font-weight: 900; color: #a97f1c; font-family: Georgia, serif; margin: 4px 0 2px; }
.bhd-plan .bp-per { font-size: 11px; color: #888780; }
.bhd-plan .bp-save {
  margin-top: 6px; font-size: 10.5px; color: #b08d3e;
  background: rgba(201, 168, 106, 0.12); border-radius: 999px; padding: 2px 8px; display: inline-block;
}
.bhd-perks { margin: 0 16px; background: #fff; border: 1px solid rgba(201, 168, 106, 0.35); border-radius: 14px; overflow: hidden; }
.bhd-perk { display: flex; gap: 12px; padding: 13px 16px; border-bottom: 1px dashed rgba(201, 168, 106, 0.3); align-items: flex-start; }
.bhd-perk:last-child { border-bottom: 0; }
.bhd-perk .pk-ico { font-size: 20px; line-height: 1.2; }
.bhd-perk b { font-size: 13.5px; color: var(--ink); display: block; margin-bottom: 2px; }
.bhd-perk p { font-size: 12px; line-height: 1.7; color: #6b6455; }
.bhd-promise {
  margin: 16px 16px 0; padding: 14px 16px;
  background: linear-gradient(150deg, #1d1810, #14110a); border-radius: 14px;
}
.bhd-promise b { font-size: 13.5px; color: #f0d48a; }
.bhd-promise p { margin-top: 6px; font-size: 12px; line-height: 1.8; color: #bfb394; }
.bhd-nums { display: flex; gap: 8px; margin-top: 10px; }
.bhd-nums .bn {
  flex: 1; text-align: center; background: rgba(201, 168, 106, 0.1);
  border: 1px solid rgba(201, 168, 106, 0.35); border-radius: 10px; padding: 8px 4px;
}
.bhd-nums .bn em { display: block; font-style: normal; font-size: 16px; font-weight: 900; color: #f0d48a; }
.bhd-nums .bn span { font-size: 10px; color: #a89a7a; }
.bhd-tie {
  margin: 16px 16px 0; padding: 13px 16px;
  background: rgba(201, 168, 106, 0.12); border: 1px dashed #c9a86a; border-radius: 14px;
  font-size: 12.5px; line-height: 1.8; color: #6b5c3c;
}
.bhd-tie b { color: #a97f1c; }
.bhd-cta-wrap { padding: 20px 16px 0; }
.bhd-cta {
  display: block; width: 100%; text-align: center;
  background: linear-gradient(135deg, #e6c684, #c9a86a); color: #17120a;
  font-size: 15.5px; font-weight: 900; border-radius: 999px; padding: 14px;
  border: 0; box-shadow: 0 6px 18px rgba(169, 127, 28, 0.35);
}
.bhd-cta-sub { text-align: center; font-size: 11px; color: #888780; margin-top: 10px; line-height: 1.7; }

/* 会员页 SVIP 头条福利块 */
.poster-vip .vip-gift {
  margin-top: 14px; padding: 14px;
  background: linear-gradient(150deg, rgba(201, 168, 106, 0.18), rgba(201, 168, 106, 0.06));
  border: 1px solid rgba(201, 168, 106, 0.55); border-radius: 14px;
  text-align: left;
}
.poster-vip .vg-head {
  font-size: 14px; font-weight: 900; color: #f0d48a; letter-spacing: 1px;
}
.poster-vip .vg-line {
  margin-top: 6px; font-size: 15px; font-weight: 800; color: #f5ecd4; line-height: 1.6;
}
.poster-vip .vg-p { margin-top: 7px; font-size: 12.5px; line-height: 1.85; color: #d8cba8; }
.poster-vip .vg-p b { color: #f0d48a; }
.poster-vip .vg-foot {
  margin-top: 9px; font-size: 11px; color: #a89a7a; text-align: center;
  border-top: 1px dashed rgba(201, 168, 106, 0.35); padding-top: 8px;
}

/* 打赏弹层（深色底，浅色文字） */
.tip-guide { width: min(92vw, 380px); }
.tip-guide .tg-lead { font-size: 13.5px; line-height: 1.85; color: #e8ddbd; margin: 10px 0 14px; text-align: left; }
.tip-guide .tg-lead b { color: #f0d48a; }
.tip-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.tip-amounts button {
  border: 1px solid rgba(201, 168, 106, 0.5); background: rgba(201, 168, 106, 0.1);
  border-radius: 12px; padding: 12px 6px;
  color: #f0d48a; font-size: 20px;
}
.tip-amounts button i { display: block; font-style: normal; font-size: 13px; font-weight: 800; margin-top: 3px; color: #e8ddbd; }
.tip-amounts button:active { background: rgba(201, 168, 106, 0.25); }
.tip-guide .tg-cash { font-size: 13px; color: #cfc4a6; margin-bottom: 10px; line-height: 1.8; }
.tip-guide .tg-cash button {
  border: 1px solid rgba(201, 168, 106, 0.5); background: transparent;
  color: #ecd49c; font-size: 13px; font-weight: 700;
  border-radius: 8px; padding: 6px 10px; margin-left: 4px;
}
.tip-guide .done-btn { display: block; width: 100%; text-align: center; margin-top: 8px; }
.tip-guide .rc-tip { font-size: 11px; color: #a89a7a; margin-top: 10px; text-align: center; }
.wechat-line.direct-lock {
  color: var(--ink-3, #888780);
  border-style: solid;
  border-color: rgba(136, 135, 128, .3);
  background: rgba(136, 135, 128, .06);
  text-align: center;
  letter-spacing: 1px;
}
.btn {
  flex: 1;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 14.5px;
  letter-spacing: 1px;
  text-align: center;
}
.btn.ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn:active { opacity: .8; }

/* ---------- states ---------- */

.state-msg {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 1px;
}
.state-msg.err { color: var(--seal); }
.state-msg .hint { display: block; margin-top: 10px; font-size: 12.5px; color: var(--muted); letter-spacing: 0; }

.footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  padding: 30px 20px 38px;
  background-image: linear-gradient(180deg, #1b1811 0%, #100f0b 100%), var(--grain);
  border-top: 1px solid var(--gold-soft);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 5px;
  color: rgba(224, 205, 166, 0.5);
}
.footer-brand::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  background: var(--seal);
  border-radius: 50%;
  vertical-align: 1px;
}
.footer-link { color: rgba(224, 205, 166, 0.4); }
.footer-sep { opacity: .3; }

/* 极简页脚：底部导航上线后，页脚只保留「关于局长」入口，不再占大量纵向空间 */
.footer.slim {
  margin-top: 8px;
  padding: 12px 20px 16px;
  background: none;
  background-image: none;
  border-top: 1px dashed var(--line-2);
  font-size: 11.5px;
  letter-spacing: 1px;
}
.footer.slim .footer-boss {
  margin-left: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 1px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 12px);
  background: rgba(28, 26, 23, .92);
  color: #fff;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: all .22s;
  z-index: 99;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- admin ---------- */

.admin { padding: 20px; }
.admin h1 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 2px;
  margin: 0 0 4px;
}
.admin .sub { font-size: 12.5px; color: var(--muted); letter-spacing: 1px; margin: 0 0 22px; }

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
}

.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 6px;
}
.input, .textarea, .select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}
.textarea { min-height: 220px; line-height: 1.8; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--ink-2); }

.row { display: flex; gap: 10px; }
.row > * { flex: 1; min-width: 0; }

.btn-sm {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13.5px;
  letter-spacing: .5px;
}
.btn-sm.primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-sm.danger { color: var(--seal); border-color: rgba(179,52,31,.35); }
.btn-sm:disabled { opacity: .45; }
.btn-sm:active { opacity: .8; }

.admin-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-2);
}
.admin-row:last-child { border-bottom: none; }
.admin-row .r-main { flex: 1; min-width: 0; }
.admin-row .r-title {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-row .r-meta { font-size: 11.5px; color: var(--muted); letter-spacing: .5px; margin-top: 2px; }

.bulk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(179, 52, 31, .3);
  background: rgba(179, 52, 31, .05);
  border-radius: var(--radius);
}
.bulk-count { font-size: 13px; color: var(--seal); letter-spacing: 1px; margin-right: 4px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filter-bar .input { flex: 1 1 160px; }
.filter-bar .select { flex: 0 1 auto; min-width: 108px; }

.badge {
  font-size: 10.5px;
  letter-spacing: .5px;
  padding: 1px 7px;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.badge.on { color: #1c6b3f; border-color: rgba(28,107,63,.3); background: rgba(28,107,63,.06); }
.badge.off { color: var(--muted); }

.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.thumb-box { position: relative; width: 74px; height: 74px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--line-2); }
.thumb-box img { width: 100%; height: 100%; object-fit: cover; }
.thumb-box .rm {
  position: absolute; top: 2px; right: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,.62); color: #fff; border: none;
  font-size: 12px; line-height: 18px; padding: 0;
}

.tag-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 6px 4px 12px; font-size: 12.5px; color: var(--ink-2);
  margin: 0 6px 6px 0;
}
.tag-chip button { border: none; background: none; color: var(--muted); font-size: 14px; line-height: 1; padding: 0 4px; }
.tag-chip button:hover { color: var(--seal); }
.tag-chip.editing { border-color: var(--seal); background: #fff; padding: 3px 6px; }
.chip-input {
  border: none; outline: none; background: transparent;
  font: inherit; color: var(--ink); width: 90px; padding: 0 2px;
}

.tag-panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fdfcf8; padding: 16px 16px 4px; margin-bottom: 14px;
}
.tag-panel-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.tag-panel-head strong { font-size: 15px; letter-spacing: .5px; }
.tag-panel-head .sub { margin: 0; font-size: 12px; }

.tag-group { border-top: 1px dashed var(--line); padding: 12px 0; }
.tag-group.new { border-top: 1px solid var(--line-2); }
.tag-group-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag-group-head .input { flex: 1 1 130px; min-width: 100px; }
.tag-group-head .input.slug { flex: 0 1 120px; font-size: 12px; color: var(--muted); }
.tag-count { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.tg-label {
  font-size: 11px; letter-spacing: 1px; color: var(--muted);
  background: #f1ede2; border-radius: 3px; padding: 3px 7px; white-space: nowrap;
}
.tag-group .chips { margin-top: 10px; line-height: 2.2; }

.login-box { padding: 46px 20px; text-align: center; }
.login-box .hint { font-size: 13px; color: var(--muted); margin-bottom: 22px; }

.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11.5px; letter-spacing: 1px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

@media (max-width: 360px) {
  .article-title { font-size: 24px; }
  .item-thumb { width: 64px; height: 64px; }
}

/* ---------- 视觉强化：暗色档案质感 ---------- */

::selection { background: rgba(168, 50, 30, 0.18); }

.tag-bar {
  background: linear-gradient(180deg, rgba(236, 228, 210, 0.7), rgba(244, 239, 226, 0));
  border-bottom: 1px solid var(--line-2);
}

.tag-pill {
  background: rgba(251, 248, 241, 0.7);
  border-color: var(--line);
}
.tag-pill:hover { border-color: var(--ink-2); }
.tag-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #f5eeda;
  box-shadow: 0 2px 10px rgba(23, 20, 14, 0.25);
}

/* ---------- 小标签筛选条 ---------- */

.sub-bar {
  display: flex;
  align-items: stretch;
  gap: 7px;
  overflow-x: auto;
  padding: 9px 20px 10px;
  margin-top: -1px;
  border-bottom: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(240, 234, 220, 0.85), rgba(244, 239, 226, 0));
  scrollbar-width: none;
  animation: qbj-rise .3s ease both;
}
.sub-bar::-webkit-scrollbar { display: none; }
.sub-bar[hidden] { display: none; }
.sub-bar:empty { display: none; }

.sub-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-right: 9px;
  margin-right: 1px;
  border-right: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 2px;
  color: var(--muted);
}

.tag-pill.is-sub {
  align-self: center;
  font-size: 12px;
  padding: 4px 11px;
  border-style: dashed;
  border-color: var(--line);
  color: var(--ink-2);
  background: rgba(251, 248, 241, 0.55);
}
.tag-pill.is-sub.is-active {
  border-style: solid;
  background: var(--seal);
  border-color: var(--seal);
  color: #fdf6ef;
  box-shadow: 0 2px 10px rgba(168, 50, 30, 0.28);
}
.pill-n {
  font-family: var(--mono);
  font-style: normal;
  font-size: 9.5px;
  margin-left: 5px;
  opacity: .5;
}
.tag-pill.is-sub.is-active .pill-n { opacity: .72; }

.article-tag { transition: all .15s; }
.article-tag:hover {
  border-color: var(--seal);
  color: var(--seal);
  background: var(--seal-soft);
}

/* ---------- 密码组：加密卡片 + 锁屏 ---------- */

.item-locked .item-title,
.item-locked .item-summary {
  color: var(--muted);
}
.item-title.masked {
  font-family: var(--mono);
  letter-spacing: 2px;
  font-size: 17px;
  color: #b9ae98;
}
.item-summary.masked {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: #c6bca8;
}
.item-lock {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--seal);
  border: 1px solid rgba(168, 50, 30, 0.3);
  background: var(--seal-soft);
  border-radius: 3px;
  padding: 0 5px;
}
.mini-gate {
  color: var(--seal);
  border-left: 1px solid rgba(168, 50, 30, 0.25);
  padding-left: 7px;
  margin-left: 2px;
}
.mini-gate::before { content: "🔒"; opacity: .7; margin-right: 2px; }

.lock-card {
  position: relative;
  margin: 24px 14px 0;
  padding: 34px 22px 26px;
  background-color: var(--paper-2);
  background-image: var(--grain);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(23, 20, 14, 0.12);
  text-align: center;
  animation: qbj-rise .42s cubic-bezier(.22, .68, .36, 1) both;
}
.lock-card::after {
  content: "密";
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: var(--serif);
  font-size: 46px;
  color: rgba(168, 50, 30, 0.07);
  pointer-events: none;
}
.lock-seal {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  color: #fdf6ef;
  background: var(--seal);
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(168, 50, 30, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.lock-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--ink);
}
.lock-sub {
  margin: 0 0 4px;
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--ink-2);
}
.lock-hint {
  margin: 0 0 14px;
  font-size: 11.5px;
  color: var(--muted);
}
.lock-mask {
  margin: 8px 0 20px;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 4px;
  color: #c9bfab;
}
.lock-form {
  display: flex;
  gap: 9px;
  max-width: 340px;
  margin: 0 auto;
}
.lock-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--ink);
  outline: none;
}
.lock-input:focus { border-color: var(--seal); box-shadow: 0 0 0 3px rgba(168, 50, 30, 0.1); }
.lock-msg {
  min-height: 18px;
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--seal);
}
.lock-card .back-link { display: inline-block; }


.group-name { font-size: 16px; letter-spacing: 4px; }
.group-head { border-bottom-color: var(--line); }
.group-count {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--muted);
}

.item-big {
  background: rgba(23, 20, 14, 0.055);
  border-radius: 2px;
  padding: 1px 6px;
}

.item-title { transition: color .18s; }
.item:hover .item-title { color: var(--seal); }

.article-meta { color: var(--muted); }
.article-summary { color: var(--ink-2); }
.price-line {
  font-family: var(--serif);
  color: var(--seal);
}

.article-foot {
  margin: 22px 14px 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line);
}
.btn { border-radius: 6px; letter-spacing: 2px; }
.btn:not(.ghost) { box-shadow: 0 8px 18px rgba(23, 20, 14, 0.18); }
.btn:not(.ghost):hover { background: #241f16; }
.btn.ghost { background: rgba(251, 248, 241, 0.6); }
.btn.ghost:hover { border-color: var(--ink-2); color: var(--ink); }

.wechat-line {
  background: rgba(168, 50, 30, 0.035);
  border-radius: 6px;
}

.related .item { padding-left: 20px; }

.state-msg { letter-spacing: 2px; }

/* 进场：轻微上浮，像档案被抽出 */
.group, .list-head, .article, .article-foot, .related {
  animation: qbj-rise .42s cubic-bezier(.22, .68, .36, 1) both;
}
@keyframes qbj-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .group, .list-head, .article, .article-foot, .related { animation: none; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 22px; letter-spacing: 4px; }
  .list-head { padding-top: 22px; }
  .article { margin: 14px 10px 0; }
  .article-foot { margin: 20px 10px 0; }
}


/* ---------- 编辑器里的标签候选 ---------- */
.pick-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 10px; }
.pick-chip {
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12.5px;
  letter-spacing: .5px;
  transition: all .15s;
}
.pick-chip:hover { border-color: var(--ink-2); }
.pick-chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #f5eeda;
}

/* ---------- 后台看板 / 代理 / 密码组 ---------- */

.card-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--ink);
}
.card-title .sub {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .5px;
  color: var(--muted);
}

.stat-table { display: flex; flex-direction: column; }
.st-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: 13px;
}
.st-row:last-child { border-bottom: none; }
.st-head {
  padding: 0 0 6px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.st-row .st-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
}
.st-row > span:not(.st-label) {
  flex: 0 0 62px;
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
}
.st-head span:first-child { flex: 1 1 auto; }

.stat-bars { display: flex; flex-direction: column; gap: 8px; }
.stat-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.sb-rank {
  flex: 0 0 15px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.sb-name {
  flex: 0 0 104px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
}
.sb-track {
  flex: 1;
  height: 7px;
  border-radius: 99px;
  background: var(--line-2);
  overflow: hidden;
}
.sb-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--seal), #cf6448);
}
.sb-num {
  flex: 0 0 32px;
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
}

/* 转发裂变榜：一行一篇，标题 + 助力条 + 三个数字 */
.shr-list { display: flex; flex-direction: column; }
.shr-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-2);
}
.shr-row:last-child { border-bottom: none; }
.shr-rank {
  flex: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.shr-main { flex: 1 1 auto; min-width: 0; }
.shr-t { display: flex; align-items: center; gap: 6px; min-width: 0; }
.shr-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--ink);
}
.shr-tag {
  flex: none;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: .5px;
  color: var(--muted);
}
.shr-tag.is-hot { color: #fdf8ee; background: var(--seal); border-color: var(--seal); }
.shr-tag.is-weak { color: #a8461c; background: #fbf0e6; border-color: #e4b795; }
.shr-tag.is-near { color: var(--ink); border-color: var(--ink-2); }
.shr-bar {
  display: block;
  height: 5px;
  margin: 6px 0 4px;
  border-radius: 99px;
  background: var(--line-2);
  overflow: hidden;
}
.shr-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--seal), #cf6448);
}
.shr-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2px;
  color: var(--muted);
}
.shr-meta b { color: var(--ink); font-weight: 600; }

.trend {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 84px;
  padding-top: 4px;
}
.trend-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}
.trend-bars { display: flex; align-items: flex-end; gap: 2px; height: 50px; }
.trend-bars i { display: block; width: 5px; border-radius: 2px 2px 0 0; }
.tb-view { background: var(--seal); }
.tb-contact { background: var(--ink); opacity: .85; }
.trend-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0;
  color: var(--muted);
}

.agent-row { flex-wrap: wrap; }
.agent-row .r-main { flex: 1 1 100%; }
.agent-row .btn-sm { flex: 0 0 auto; }

/* ---------- 首页分享条 ---------- */

.share-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 16px 0;
  padding: 8px 12px;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
}
.strip-stat {
  font-size: 11.5px;
  letter-spacing: 1px;
  color: var(--muted);
}
.strip-stat b {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--seal);
  margin: 0 2px;
}
.strip-share {
  flex: 0 0 auto;
  padding: 6px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #f5eeda;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
}
.strip-share:active { transform: scale(0.96); }

/* ---------- 分享弹层 ---------- */

.share-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(18, 17, 13, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: qbj-rise .18s ease;
}
.share-modal {
  width: 100%;
  max-width: 320px;
  background: #faf8f4;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}
.sm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--ink);
  margin-bottom: 14px;
}
.sm-close {
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0 2px;
}
.sm-qr {
  display: flex;
  justify-content: center;
  padding: 10px 0 12px;
}
.sm-qr svg,
.sm-qr img {
  width: 190px;
  height: 190px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  box-sizing: content-box;
}
.sm-tip {
  margin: 0 0 14px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.sm-tip b { color: var(--seal); }
.sm-actions { display: flex; gap: 8px; justify-content: center; }

/* ---------- 分享海报弹层 ---------- */
.share-modal.poster-mode {
  max-width: 330px;
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 14px 12px;
}
.sm-poster { display: flex; justify-content: center; margin-bottom: 10px; }
.sm-poster img {
  display: block;
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 106, 0.35);
}
.poster-mode .sm-tip { margin-bottom: 12px; }
.sm-manual { margin-top: 10px; }
.sm-manual input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}

/* ---------- 用户修改自己的发布 ---------- */
.mine-ops { display: flex; justify-content: flex-end; margin-top: 10px; }
.mine-edit {
  border: 1px solid rgba(168, 50, 30, 0.35);
  background: #fff;
  color: var(--seal);
  font-size: 12px;
  font-family: inherit;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 1px;
}
.mine-edit:active { background: var(--seal-soft); }
.share-modal.edit-modal {
  max-width: 340px;
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px 14px;
  text-align: left;
}
.ef-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  margin: 10px 0 5px;
}
.ef-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 10px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  line-height: 1.7;
}
.ef-input:focus { outline: none; border-color: rgba(168, 50, 30, 0.5); }
.ef-area { resize: vertical; min-height: 96px; }
.ef-tip {
  margin: 12px 0 8px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}
.ef-tip b { color: var(--seal); }
.edit-modal .sm-actions { margin-top: 6px; }

/* ---------- 付费解锁 ---------- */

.paywall { margin: 20px 0 6px; }
.pw-lock {
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  padding: 18px 16px 0;
  text-align: center;
  overflow: hidden;
}
.pw-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--seal-soft);
  color: var(--seal);
  font-size: 11px;
  letter-spacing: 3px;
  border: 1px solid var(--seal);
}
.pw-price {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  margin: 10px 0 2px;
  letter-spacing: 1px;
}
.pw-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.pw-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 14px 0 12px;
}
.pw-input {
  flex: 1 1 130px;
  max-width: 190px;
  padding: 9px 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: var(--mono);
  letter-spacing: 1px;
}
.pw-input:focus { outline: none; border-color: var(--seal); }
.pw-btn {
  padding: 9px 16px;
  border: 1px solid var(--seal);
  border-radius: 8px;
  background: var(--seal);
  color: #fdf7ea;
  font-size: 13px;
  letter-spacing: 2px;
  cursor: pointer;
}
.pw-btn:active { transform: scale(0.97); }
.pw-btn:disabled { opacity: .6; }
.pw-err {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--seal);
}
.pw-mem-tip {
  margin: 0 0 4px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}
.pw-mem-tip b { color: var(--ink); font-weight: 700; }
.pw-mask {
  margin: 10px -17px 0;
  padding: 26px 0 30px;
  background: linear-gradient(180deg, rgba(244, 239, 226, 0), var(--paper) 30%),
    repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(23, 20, 14, 0.04) 8px, rgba(23, 20, 14, 0.04) 16px);
  font-size: 10.5px;
  letter-spacing: 4px;
  color: var(--muted);
}
.paywall.is-open { border: none; }
.pw-body { margin-top: 16px; }

.item-pay {
  display: inline-block;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--seal-soft);
  border: 1px solid var(--seal);
  color: var(--seal);
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 16px;
}

/* ---------- 收款码与付费媒体 ---------- */

.pw-qr-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 16px;
  border: 1px dashed var(--seal);
  border-radius: 999px;
  background: transparent;
  color: var(--seal);
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
}
.pw-qr-box {
  margin: 12px auto 0;
  max-width: 230px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
}
.pw-qr-box img {
  display: block;
  width: 100%;
  border-radius: 6px;
}
.pw-qr-box p {
  margin: 8px 0 2px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}
.pw-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.pw-gallery img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line-2);
}
.thumb-paid {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--seal);
  color: #fdf7ea;
  font-size: 9px;
  letter-spacing: 1px;
}

/* ---------------- 分类专属海报 ---------------- */

.cat-poster {
  margin: 4px 0 18px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

/* 会员：烫金会员卡 */
.poster-vip {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201, 168, 106, 0.30), transparent 62%),
    linear-gradient(180deg, #1c1912 0%, #12110d 100%),
    var(--grain);
  border: 1px solid rgba(201, 168, 106, 0.55);
  box-shadow: inset 0 0 0 4px rgba(201, 168, 106, 0.14), 0 14px 40px rgba(0, 0, 0, 0.45);
  padding: 22px 20px 18px;
  text-align: center;
}
.poster-vip .vip-brand {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--gold);
  font-family: var(--mono);
}
.poster-vip .vip-title {
  margin: 10px 0 2px;
  font-family: var(--serif);
  font-size: 44px;  font-weight: 700;
  color: #f3e3bd;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-shadow: 0 2px 14px rgba(201, 168, 106, 0.35);
}
.poster-vip .vip-sub {
  margin: 0 0 16px;
  font-size: 12px;
  color: rgba(243, 227, 189, 0.6);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}
/* 长标题在手机上缩小一档，避免「会员」两个字孤行 */
@media (max-width: 480px) {
  .poster-vip .vip-title { font-size: 30px; letter-spacing: 0.1em; text-indent: 0.1em; }
}

.poster-vip .vip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  border-top: 1px solid rgba(201, 168, 106, 0.3);
}
.poster-vip .vip-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 4px;
  border-bottom: 1px dashed rgba(201, 168, 106, 0.24);
  color: #ead9b0;
  font-size: 14px;
  line-height: 1.65;
}
.poster-vip .vip-list li i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  flex: 0 0 auto;
  letter-spacing: 0.08em;
}
.poster-vip .vip-list li.svip { color: #f6e7c1; }
.vip-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 8px 2px;
  font-size: 10px;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  color: #12110d;
  background: linear-gradient(180deg, #ecd49c, #c9a86a);
  border-radius: 999px;
  vertical-align: 1px;
  box-shadow: 0 1px 6px rgba(201, 168, 106, 0.45);
}
.poster-vip .vip-foot {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(234, 217, 176, 0.55);
  letter-spacing: 0.18em;
}

/* VIP 徽章（描金空心，区别于 SVIP 实心）与权益数字高亮 */
.vip-badge.is-vip {
  background: linear-gradient(180deg, #3b2f1b, #241d10);
  color: #ecd49c;
  border: 1px solid rgba(236, 212, 156, 0.65);
  box-shadow: none;
}
.poster-vip .vip-list li b {
  color: #f0d79f;
  font-weight: 800;
}
.poster-vip .vip-list li b.vip-badge { font-weight: 700; }

/* 「为什么一定要开会员」2.0 —— 编号 + 类目标签 + 金色高亮关键词，整版按牌匾规格排 */
.poster-vip2 { position: relative; overflow: hidden; padding-top: 26px; }

/* 五爪金龙入场特效：进会员页从右往左一闪而过，只飞一次 */

/* 「300+ 位老板在这里搞钱」信任条 */
.poster-vip2 .vip-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 10px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #f0dcae;
  background: linear-gradient(90deg, rgba(201, 168, 106, 0.03), rgba(201, 168, 106, 0.16) 50%, rgba(201, 168, 106, 0.03));
  border-top: 1px solid rgba(201, 168, 106, 0.38);
  border-bottom: 1px solid rgba(201, 168, 106, 0.38);
}
.poster-vip2 .vip-proof i {
  font-style: normal;
  color: #f0d79f;
  text-shadow: 0 0 12px rgba(201, 168, 106, 0.85);
}
.poster-vip2 .vip-proof b {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #f7e6bf;
  padding: 0 1px;
}

.poster-vip2 .vip-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(201, 168, 106, 0.85);
  margin-bottom: 10px;
}
.poster-vip2 .vip-eyebrow i {
  flex: 0 0 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 106, 0.65));
}
.poster-vip2 .vip-eyebrow i:last-child {
  background: linear-gradient(270deg, transparent, rgba(201, 168, 106, 0.65));
}
.poster-vip2 .vip-title {
  font-size: 34px;
  letter-spacing: 0.06em;
  text-indent: 0;
  line-height: 1.26;
  text-shadow: 0 3px 18px rgba(201, 168, 106, 0.28);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .poster-vip2 .vip-title {
    background: linear-gradient(180deg, #fdf5de 0%, #f0d9a8 46%, #c9a86a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 3px 12px rgba(201, 168, 106, 0.22));
  }
}
.poster-vip2 .vip-sub {
  margin: 10px 0 20px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: rgba(243, 227, 189, 0.62);
}

.poster-vip2 .vip-why {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-top: 1px solid rgba(201, 168, 106, 0.3);
  text-align: left;
}
.poster-vip2 .vip-why > li {
  display: flex;
  gap: 12px;
  padding: 15px 2px 13px;
  border-bottom: 1px solid rgba(201, 168, 106, 0.16);
}
.poster-vip2 .wy-no {
  flex: 0 0 30px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.05;
  color: rgba(201, 168, 106, 0.55);
  letter-spacing: 0;
}
.poster-vip2 .wy-body { flex: 1; min-width: 0; }
.poster-vip2 .wy-kw {
  display: inline-block;
  margin-bottom: 7px;
  padding: 1px 8px 2px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #e8d0a0;
  background: rgba(201, 168, 106, 0.1);
  border: 1px solid rgba(201, 168, 106, 0.42);
  border-radius: 3px;
}
.poster-vip2 .wy-h {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.58;
  color: #f6e8c8;
  letter-spacing: 0.01em;
}
/* 核心词：金色实底 + 深色字，全图最抓眼的地方 */
.poster-vip2 .wy-h em {
  font-style: normal;
  display: inline-block;
  margin: 1px 0;
  padding: 0 5px 1px;
  color: #14110a;
  background: linear-gradient(180deg, #f6e2b3, #c9a86a);
  border-radius: 4px;
  font-weight: 900;
  box-shadow: 0 2px 12px rgba(201, 168, 106, 0.4);
}
.poster-vip2 .wy-p {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.72;
  color: rgba(234, 217, 176, 0.72);
}

/* 「会员价」分隔条 */
.poster-vip2 .vip-split {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 14px;
}
.poster-vip2 .vip-split::before,
.poster-vip2 .vip-split::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 106, 0.5));
}
.poster-vip2 .vip-split::after {
  background: linear-gradient(270deg, transparent, rgba(201, 168, 106, 0.5));
}
.poster-vip2 .vip-split span {
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(201, 168, 106, 0.9);
}

/* 价格卡：更厚的金边、更大的数字 */
.poster-vip2 .price-card {
  padding: 16px 13px 13px;
  background: linear-gradient(180deg, rgba(201, 168, 106, 0.2), rgba(201, 168, 106, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 24px rgba(0, 0, 0, 0.25);
}
.poster-vip2 .pc-num {
  font-family: var(--serif);
  font-size: 38px;
  letter-spacing: 0.01em;
  line-height: 1.08;
}
.poster-vip2 .vip-cta {
  margin-top: 18px;
  border-radius: 12px;
  letter-spacing: 0.16em;
  padding: 15px 0;
  background: linear-gradient(180deg, #f6e3b0, #d3ac66 58%, #b8934f);
  box-shadow: 0 10px 30px rgba(201, 168, 106, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* 会员加成一句话（积分福利，不做主角） */
.poster-vip .vip-extra {
  margin-top: 14px;
  padding: 10px 12px;
  text-align: left;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(234, 217, 176, 0.8);
  background: rgba(201, 168, 106, 0.08);
  border: 1px dashed rgba(201, 168, 106, 0.32);
  border-radius: 10px;
}
.poster-vip .vip-extra b { color: #f0d79f; }

/* 项目阁：精选图片式卡片 + 合伙人计划精选卡 */
.proj-feat {
  position: relative;
  display: block;
  margin: 14px 2px 16px;
  padding: 24px 20px 18px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(201, 168, 106, 0.22), transparent 55%),
    linear-gradient(155deg, #262013 0%, #12100c 72%);
  border: 1px solid rgba(201, 168, 106, 0.55);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.03), 0 14px 36px rgba(0, 0, 0, 0.4);
}
.proj-feat .pf-glow {
  position: absolute;
  top: -40%;
  right: -18%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(240, 215, 159, 0.28), transparent 65%);
  pointer-events: none;
}
.proj-feat .pf-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(201, 168, 106, 0.6);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: #e8cf96;
  font-family: var(--mono);
}
.proj-feat .pf-title {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.32;
  font-weight: 700;
  color: #f3e6c4;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.proj-feat .pf-sub {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(234, 217, 176, 0.78);
  letter-spacing: 0.04em;
}
.proj-feat .pf-cta {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8cf96, #c9a86a);
  color: #221a0e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.proj-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0 2px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.proj-list li { list-style: none; }
.proj-list li .item { margin: 0; }
.proj-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(201, 168, 106, 0.14), transparent 58%),
    linear-gradient(160deg, #211c12, #131109);
  border: 1px solid rgba(201, 168, 106, 0.35);
}
.proj-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-card .pc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 6, 0.08) 30%, rgba(10, 8, 4, 0.9) 82%);
}
.proj-card .pc-kind {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(12, 10, 6, 0.62);
  border: 1px solid rgba(201, 168, 106, 0.45);
  color: #e8cf96;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.proj-card .pc-t {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 34px;
  color: #f3e6c4;
  font-size: 14.5px;
  line-height: 1.42;
  font-weight: 700;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proj-card .pc-s {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  color: rgba(234, 217, 176, 0.7);
  font-size: 11px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proj-card .pc-more {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #c9a86a;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.proj-card:not(.no-img) .pc-s { display: none; }

/* 项目阁：门匾 + 合作印章 */
.poster-proj {
  background:
    radial-gradient(100% 70% at 50% 0%, rgba(168, 50, 30, 0.22), transparent 64%),
    linear-gradient(180deg, #181613 0%, #100f0c 100%),
    var(--grain);
  border: 1px solid rgba(201, 168, 106, 0.4);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.03), 0 14px 40px rgba(0, 0, 0, 0.45);
  padding: 30px 20px 22px;
  text-align: center;
}
.poster-proj .proj-brand {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: rgba(201, 168, 106, 0.85);
  font-family: var(--mono);
}
.poster-proj .proj-title {
  margin: 12px 0 4px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  color: #efe6cf;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
}
.proj-seal {
  display: inline-flex;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(168, 50, 30, 0.9);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: #d4553e;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  transform: rotate(-6deg);
  margin: 8px 0 4px;
  box-shadow: inset 0 0 12px rgba(168, 50, 30, 0.28), 0 2px 10px rgba(0, 0, 0, 0.4);
}
.poster-proj .proj-line {
  margin: 8px 0 0;
  font-size: 16px;
  color: #d9c9a2;
  letter-spacing: 0.14em;
}
.poster-proj .proj-line2 {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(217, 201, 162, 0.68);
  letter-spacing: 0.32em;
  text-indent: 0.32em;
}
.poster-proj .proj-foot {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(217, 201, 162, 0.5);
  border-top: 1px dashed rgba(201, 168, 106, 0.25);
  padding-top: 12px;
  letter-spacing: 0.1em;
}

/* 会员价格条 */
.poster-vip .vip-price {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 18px 7px;
  font-size: 14px;
  color: #12110d;
  background: linear-gradient(180deg, #ecd49c, #c9a86a);
  border-radius: 999px;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 12px rgba(201, 168, 106, 0.5);
}
.poster-vip .vip-price b {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--serif);
  letter-spacing: 0.04em;
}
.poster-vip .vip-price + .vip-list { border-top: none; }

/* 口号横幅（前端 / 后端 / 教程） */
.poster-slogan {
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(201, 168, 106, 0.16), transparent 64%),
    linear-gradient(180deg, #17150f 0%, #100f0c 100%),
    var(--grain);
  border: 1px solid rgba(201, 168, 106, 0.4);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.03), 0 14px 40px rgba(0, 0, 0, 0.45);
  padding: 26px 20px 18px;
  text-align: center;
  position: relative;
}
.poster-slogan.slogan-red {
  border-color: rgba(168, 50, 30, 0.55);
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(168, 50, 30, 0.28), transparent 64%),
    linear-gradient(180deg, #171310 0%, #100e0b 100%),
    var(--grain);
}
.poster-slogan .sl-brand {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: rgba(201, 168, 106, 0.85);
  font-family: var(--mono);
}
.poster-slogan .sl-title {
  margin: 12px 0 4px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: #efe6cf;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
}
.poster-slogan.slogan-red .sl-title { color: #f0dcc2; text-shadow: 0 2px 14px rgba(168, 50, 30, 0.45); }
.poster-slogan .sl-line {
  margin: 2px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  color: #d9c9a2;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}
.poster-slogan.slogan-red .sl-line { color: #e0a08c; }
.poster-slogan .sl-foot {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(217, 201, 162, 0.5);
  letter-spacing: 0.2em;
}

/* 海报补充：说明行 + 金调（默认即金调，这里显式声明以便扩展） */
.poster-slogan .sl-note {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: #d8b97c;
  letter-spacing: 0.08em;
}
.poster-slogan.slogan-gold { border-color: rgba(201, 168, 106, 0.4); }

/* ---------------- 背景音乐按钮 ---------------- */
.bgm-btn {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold, #c9a86a);
  background: linear-gradient(180deg, #1c1912, #12110d);
  color: var(--gold, #c9a86a);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), inset 0 0 0 3px rgba(201, 168, 106, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.bgm-btn:hover { opacity: 1; }
.bgm-btn.on {
  background: linear-gradient(180deg, #ecd49c, #c9a86a);
  color: #12110d;
  box-shadow: 0 4px 18px rgba(201, 168, 106, 0.5), inset 0 0 0 3px rgba(18, 17, 13, 0.15);
  animation: bgm-spin 4s linear infinite;
}
@keyframes bgm-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bgm-btn.on { animation: none; }
}

/* ---------------- 卷首书法海报（原版·墨晕竖排） ---------------- */
.hero-ink {
  background:
    radial-gradient(70% 55% at 80% 12%, rgba(168, 50, 30, 0.20), transparent 62%),
    radial-gradient(85% 65% at 12% 95%, rgba(201, 168, 106, 0.12), transparent 60%),
    radial-gradient(120% 40% at 50% 108%, rgba(0, 0, 0, 0.55), transparent 70%),
    linear-gradient(180deg, #14120d 0%, #0d0c09 100%),
    var(--grain);
  border: 1px solid rgba(201, 168, 106, 0.5);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.03), 0 14px 40px rgba(0, 0, 0, 0.5);
  padding: 22px 16px 14px;
  text-align: center;
}
.hero-brand {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: rgba(201, 168, 106, 0.85);
  font-family: var(--mono);
}
.hero-scroll {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 14px;
  overflow: visible;
  min-height: 236px;
  margin: 14px auto 6px;
  font-family: "Ma Shan Zheng", "STKaiti", "KaiTi", "Kaiti SC", "BiauKai", "楷体", serif;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
}
.hero-scroll > span {
  display: block;
  writing-mode: vertical-rl;
  letter-spacing: 0.26em;
  font-weight: 700;
}
.h-lead {
  font-size: 34px;
  color: #f3e3bd;
  text-shadow: 0 0 14px rgba(201, 168, 106, 0.35);
}
.h-mid {
  font-size: 27px;
  color: #e5d9be;
}
.h-dim {
  font-size: 27px;
  color: #87816f;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.h-gold {
  font-size: 27px;
  color: #ecd49c;
  text-shadow: 0 0 16px rgba(236, 212, 156, 0.45);
}
.h-gap {
  width: 1px;
  min-height: 190px;
  margin: 0 4px;
  background: linear-gradient(180deg, transparent, rgba(201, 168, 106, 0.55), transparent);
}
.hero-seal {
  writing-mode: vertical-rl;
  align-self: flex-end;
  margin-left: 6px;
  padding: 8px 5px;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: #f6e9e2;
  background: linear-gradient(160deg, #b23a26, #932c1c);
  border-radius: 6px;
  transform: rotate(3deg);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(0, 0, 0, 0.45);
  opacity: 0.95;
}
.hero-foot {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(217, 201, 162, 0.55);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}
@media (max-width: 480px) {
  .hero-scroll { gap: 9px; min-height: 208px; padding: 0 2px; }
  .h-lead { font-size: 25px; letter-spacing: 0.18em; }
  .h-mid, .h-dim, .h-gold { font-size: 20px; letter-spacing: 0.14em; }
  .h-gap { min-height: 160px; margin: 0 1px; }
  .hero-seal { font-size: 13px; padding: 7px 4px; margin-left: 0; letter-spacing: 0.12em; }
}

/* ---------------- 需求发布入口 / 发布页 ---------------- */
.demand-bar {
  display: flex;
  gap: 10px;
  margin: 0 0 16px;
}
.demand-btn {
  flex: 1;
  display: block;
  text-align: center;
  padding: 12px 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ecd49c, #c9a86a);
  color: #14120d;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(201, 168, 106, 0.4);
}
.demand-btn.ghost {
  background: transparent;
  border: 1px solid rgba(201, 168, 106, 0.55);
  color: #d9c9a2;
  box-shadow: none;
}
.item-author {
  margin-top: 4px;
  font-size: 12px;
  color: #a89a7a;
  letter-spacing: 0.05em;
}
.pub-page { padding: 4px 0 30px; }
.pub-head { text-align: center; margin-bottom: 18px; }
.pub-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.12em;
}
.pub-sub { margin-top: 6px; font-size: 12px; color: #87816f; letter-spacing: 0.08em; }
.pub-field { margin-bottom: 16px; }
.pub-field > label { display: block; font-size: 13px; color: #cfc3a4; margin-bottom: 6px; }
.pub-field > label i { font-style: normal; color: #87816f; font-size: 12px; }
.pub-hint {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: #8a8270;
}
.pub-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pub-chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #4a3d26;
  background: #14120d;
  color: #a89a7a;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.5;
}
.pub-chip b { display: block; font-size: 11px; font-weight: 400; color: #6e6552; }
.pub-chip.on {
  background: linear-gradient(180deg, #ecd49c, #c9a86a);
  border-color: transparent;
  color: #14120d;
}
.pub-chip.on b { color: #4a3d26; }
.pub-input, .pub-area {
  width: 100%;
  box-sizing: border-box;
  background: #14120d;
  border: 1px solid #4a3d26;
  border-radius: 8px;
  padding: 10px 12px;
  color: #e5d9be;
  font-size: 14px;
  font-family: inherit;
}
.pub-input:focus, .pub-area:focus { outline: none; border-color: #c9a86a; }
.pub-area { resize: vertical; line-height: 1.6; }
.pub-pick { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.pub-add {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px dashed #6e5f42;
  background: transparent;
  color: #c9a86a;
  font-size: 13px;
  cursor: pointer;
}
.pub-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pub-thumb { position: relative; display: inline-block; }
.pub-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid #4a3d26; }
.pub-thumb b {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #a8322a; color: #fff;
  font-size: 12px; line-height: 20px; text-align: center;
  cursor: pointer;
}
.pub-thumb.vid {
  padding: 8px 12px; border: 1px solid #4a3d26; border-radius: 8px;
  color: #d9c9a2; font-size: 13px;
}
.pub-thumb.vid b { position: static; display: inline-block; margin-left: 8px; background: none; color: #d4553e; width: auto; height: auto; line-height: 1; }
.pub-rules {
  background: #1c1812;
  border: 1px solid #4a3d26;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #8a744d;
  line-height: 1.8;
  margin-bottom: 16px;
}
.pub-rules b { color: #c9a86a; }
.pub-submit {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #ecd49c, #c9a86a);
  color: #14120d;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(201, 168, 106, 0.45);
}
.pub-submit:disabled { opacity: 0.6; }
.pub-note { margin-top: 12px; text-align: center; font-size: 12px; color: #6e6552; }
.pub-note a { color: #c9a86a; text-decoration: none; }
.pub-done { text-align: center; padding: 26px 0 10px; }
.done-ring {
  width: 58px; height: 58px; margin: 0 auto 14px;
  border-radius: 50%;
  border: 2px solid var(--seal);
  color: var(--seal);
  font-size: 26px; line-height: 54px; text-align: center;
  background: var(--seal-soft);
}
.done-title { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: 0.1em; }
.done-text { margin: 10px auto 18px; max-width: 340px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.done-text b { color: var(--seal); }
.done-qr { width: 180px; border-radius: 10px; border: 1px solid #4a3d26; display: block; margin: 0 auto 16px; }
.done-btn {
  display: block;
  max-width: 300px;
  margin: 10px auto 0;
  padding: 11px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(180deg, #ecd49c, #c9a86a);
  color: #14120d;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.done-btn.ghost { background: transparent; border: 1px solid rgba(201, 168, 106, 0.55); color: var(--ink-2); }
/* 深色弹层里的 ghost 按钮：文字提亮 */
.login-guide .done-btn.ghost, .recruit-guide .done-btn.ghost { color: #e8ddbd; }
.mine-list { list-style: none; margin: 0 0 18px; padding: 0; }
.mine-item {
  background: #14120d;
  border: 1px solid #4a3d26;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.mine-top { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.mine-kind { color: #c9a86a; }
.mine-date { color: #6e6552; margin-left: auto; }
.mine-status { padding: 1px 8px 2px; border-radius: 999px; font-size: 11px; }
.mine-status.wait { background: rgba(201, 168, 106, 0.16); color: #c9a86a; }
.mine-status.ok { background: rgba(90, 140, 80, 0.2); color: #9ec893; }
.mine-status.bad { background: rgba(168, 50, 30, 0.2); color: #d4553e; }
.mine-status.pay { background: rgba(201, 168, 106, 0.3); color: #ecd49c; }
.mine-title { margin-top: 8px; font-size: 15px; color: #e5d9be; }
.mine-note { margin-top: 6px; font-size: 12px; color: #87816f; line-height: 1.6; }
.mine-note.pay { color: #ecd49c; }

/* 后台待审箱 */
.sub-card { margin-bottom: 14px; }
.sub-head { display: flex; gap: 10px; align-items: center; }
.sub-ava {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover;
  background: #1c1812;
  color: #87816f;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
}
.sub-who { flex: 1; min-width: 0; }
.sub-who b { font-size: 14px; }
.sub-meta { display: block; font-size: 12px; color: #87816f; margin-top: 2px; }
.sub-status { padding: 2px 10px 3px; border-radius: 999px; font-size: 12px; flex: 0 0 auto; }
.sub-status.pending { background: rgba(201, 168, 106, 0.16); color: #c9a86a; }
.sub-status.awaiting_pay { background: rgba(201, 168, 106, 0.3); color: #ecd49c; }
.sub-status.approved { background: rgba(90, 140, 80, 0.2); color: #9ec893; }
.sub-status.rejected { background: rgba(168, 50, 30, 0.2); color: #d4553e; }
.sub-title { margin-top: 10px; font-size: 16px; font-weight: 700; color: var(--ink); }
.sub-content { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.7; white-space: pre-wrap; }
.sub-note { margin-top: 8px; font-size: 12px; color: #a89a7a; }
.thumb-box.vid { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; font-size: 12px; color: #87816f; }

/* 微信授权登录引导弹层 */
.login-guide-mask {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0, 0, 0, 0.78);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.login-guide {
  width: 100%; max-width: 420px;
  background: linear-gradient(160deg, #17140d, #100d08);
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: 16px;
  padding: 26px 22px 20px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.7);
  text-align: center;
}
.login-guide .lg-title {
  font-size: 19px; font-weight: 800; color: #ecd49c;
  letter-spacing: 2px; margin-bottom: 14px;
}
.login-guide .lg-text {
  font-size: 14px; color: #cfc4a6; line-height: 1.9;
  text-align: left; margin-bottom: 18px;
}
.login-guide .lg-text b { color: #ecd49c; }
.login-guide .done-btn { display: block; width: 100%; margin-top: 10px; }
.login-guide .lg-alt {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed rgba(201, 168, 106, 0.3);
  font-size: 13px; color: #a89a7a; line-height: 1.8;
}
.login-guide .lg-alt b { color: #ecd49c; }
.login-guide .lg-wx {
  display: inline-block; margin-top: 8px;
  background: rgba(201, 168, 106, 0.12);
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: 8px;
  color: #ecd49c; font-size: 14px; font-weight: 700;
  padding: 9px 14px;
}
.login-guide .lg-wx:active { background: rgba(201, 168, 106, 0.25); }
/* 发布成功页 · 联系局长按钮与弹层 */
.pub-done .done-btn.boss {
  background: linear-gradient(135deg, rgba(201, 168, 106, 0.9), rgba(168, 132, 62, 0.9));
  color: #17120a; font-weight: 800;
  border: none;
}
.login-guide .boss-row { margin-bottom: 12px; text-align: left; }
.login-guide .boss-label {
  display: block; font-size: 12px; color: #87816f; margin-bottom: 4px; letter-spacing: 1px;
}
/* 需求/资源条目徽章：会员等级 / 置顶 / 发布周期 / 日期区间 */
.item-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.b-badge {
  display: inline-block; padding: 2px 8px 3px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  line-height: 1.5; white-space: nowrap;
}
.b-badge.b-svip { background: linear-gradient(135deg, #c9a86a, #8a5a1e); color: #17120a; font-weight: 800; }
.b-badge.b-vip { background: rgba(201, 168, 106, 0.18); color: #ecd49c; border: 1px solid rgba(201, 168, 106, 0.5); }
.b-badge.b-none { background: rgba(255, 255, 255, 0.05); color: #87816f; border: 1px solid rgba(135, 129, 111, 0.35); font-weight: 500; }
.b-badge.b-pin { background: rgba(212, 85, 62, 0.16); color: #e58a6f; border: 1px solid rgba(212, 85, 62, 0.45); }
.b-badge.b-dur { background: rgba(201, 168, 106, 0.1); color: #a89a7a; border: 1px solid rgba(168, 154, 122, 0.35); font-weight: 500; }
.b-badge.b-range { background: transparent; color: #87816f; border: none; font-weight: 400; }

/* 我的发布 · 消费引导 */
.mine-boost {
  margin: 14px 0;
  background: linear-gradient(150deg, rgba(201, 168, 106, 0.14), rgba(201, 168, 106, 0.04));
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: 14px;
  padding: 16px 16px 14px;
}
.mine-boost .boost-title { font-size: 15px; font-weight: 800; color: #ecd49c; letter-spacing: 1px; }
.mine-boost .boost-list { margin: 10px 0 12px; padding-left: 18px; }
.mine-boost .boost-list li { font-size: 13px; color: #cfc4a6; line-height: 1.9; }
.mine-boost .boost-list b { color: #ecd49c; }
.mine-upsell {
  margin-top: 10px; padding: 10px 12px;
  background: rgba(201, 168, 106, 0.08);
  border: 1px dashed rgba(201, 168, 106, 0.4);
  border-radius: 10px;
  font-size: 13px; color: #cfc4a6; line-height: 1.7;
}
.mine-upsell b { color: #ecd49c; }
.mine-upsell .upsell-link {
  background: none; border: none; padding: 0;
  color: #c9a86a; font-size: 13px; font-weight: 700;
  text-decoration: underline; cursor: pointer;
}
/* 右下角发布圆圈（列表页常驻） */
.pub-fab {
  position: fixed; right: 16px; bottom: 96px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(145deg, #d9b877, #8a5a1e);
  border: 1px solid rgba(236, 212, 156, 0.8);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(201, 168, 106, 0.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.pub-fab:active { transform: scale(0.92); }
.pub-fab .fab-plus { font-size: 22px; font-weight: 800; color: #17120a; line-height: 1; }
.pub-fab .fab-txt { font-size: 10px; font-weight: 700; color: #2a1f0d; letter-spacing: 2px; margin-top: 1px; }

/* 后台 · 拖拽排名 */
.drag-handle {
  cursor: grab; user-select: none; -webkit-user-select: none;
  font-size: 20px; font-weight: 800; color: #b0a488;
  padding: 2px 8px; border-radius: 6px;
  touch-action: none;
}
.drag-handle:hover { background: rgba(201, 168, 106, 0.15); color: #ecd49c; }
.drag-handle.off { cursor: default; opacity: 0.35; font-size: 13px; }
.admin-row.dragging { opacity: 0.45; }
.admin-row.drag-over { outline: 2px dashed #c9a86a; outline-offset: -2px; background: rgba(201, 168, 106, 0.08); }

/* 后台 · 排期弹窗 */
.sched-mask {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0, 0, 0, 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.sched-box {
  width: 100%; max-width: 380px;
  background: #1c1812; border: 1px solid rgba(201, 168, 106, 0.4);
  border-radius: 14px; padding: 20px 18px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
}
.sched-box .sched-title { font-size: 16px; font-weight: 800; color: #ecd49c; margin-bottom: 4px; }
.sched-box .sched-sub { font-size: 13px; color: #87816f; margin-bottom: 14px; }
.sched-box .sched-lb { display: block; font-size: 13px; color: #cfc4a6; margin: 10px 0 5px; }
.sched-box .sched-lb.sched-pin { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.sched-box .sched-lb.sched-pin input { width: auto; }
.sched-box .sched-info { margin-top: 12px; font-size: 12px; color: #87816f; }

/* 卷首落款引导语（项目阁）与首页新卷首 */
.hero-ink .hero-foot.invite {
  font-size: 13px;
  color: #ecd49c;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-shadow: 0 0 12px rgba(236, 212, 156, 0.3);
}
.hero-yinliu {
  background:
    radial-gradient(70% 55% at 80% 12%, rgba(168, 50, 30, 0.26), transparent 62%),
    radial-gradient(85% 65% at 12% 95%, rgba(201, 168, 106, 0.16), transparent 60%),
    radial-gradient(120% 40% at 50% 108%, rgba(0, 0, 0, 0.55), transparent 70%),
    linear-gradient(180deg, #14120d 0%, #0d0c09 100%),
    var(--grain);
}
.hero-yinliu .h-lead { font-size: 36px; letter-spacing: 0.3em; }
.hero-yinliu .h-gold { font-size: 30px; }
@media (max-width: 480px) {
  .hero-yinliu .h-lead { font-size: 26px; letter-spacing: 0.18em; }
  .hero-yinliu .h-gold { font-size: 22px; }
}

/* 首页卷首 V2（横排一行，无间隔连读） */
.hero-v2 .v2-row { display: flex; align-items: center; gap: 14px; width: 100%; }
.hero-v2 .v2-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 168, 106, 0.7)); }
.hero-v2 .v2-line.r { background: linear-gradient(270deg, transparent, rgba(201, 168, 106, 0.7)); }
.hero-v2 .v2-txt {
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 34px; font-weight: 800; color: #f3e3bd;
  letter-spacing: 8px; text-indent: 8px;
  text-shadow: 0 0 18px rgba(201, 168, 106, 0.45);
  white-space: nowrap;
}
.hero-v2 .v2-txt span { color: #ecd49c; text-shadow: 0 0 16px rgba(236, 212, 156, 0.5); }
@media (max-width: 480px) {
  .hero-v2 .v2-txt { font-size: 23px; letter-spacing: 4px; text-indent: 4px; }
  .hero-v2 .v2-row { gap: 9px; }
}

/* ---------- 紧凑分类海报：除会员卡外，高度压到接近首页卷首 ---------- */
.cat-poster.compact { margin-bottom: 14px; }

/* 口号类（前端 / 后端 / 教程 / 资源） */
.poster-slogan.compact { padding: 11px 14px 8px; }
.poster-slogan.compact .sl-title {
  margin: 2px 0 1px;
  font-size: 26px;
  line-height: 1.2;
}
.poster-slogan.compact .sl-line {
  font-size: 16px;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
}
.poster-slogan.compact .sl-note {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.45;
}
.poster-slogan.compact .sl-foot { margin-top: 4px; font-size: 10.5px; }

/* 书法竖排（项目阁）：保留竖排样式，整体缩成一屏可见的窄卷 */
.hero-ink.compact { padding: 9px 12px 6px; }
.hero-ink.compact .hero-scroll {
  min-height: 72px;
  margin: 2px auto 0;
  gap: 9px;
}
.hero-ink.compact .h-lead { font-size: 17px; letter-spacing: 0.16em; }
.hero-ink.compact .h-mid,
.hero-ink.compact .h-dim,
.hero-ink.compact .h-gold { font-size: 14.5px; letter-spacing: 0.12em; }
.hero-ink.compact .h-gap { min-height: 58px; margin: 0 2px; }
.hero-ink.compact .hero-seal {
  font-size: 10.5px;
  padding: 4px 3px;
  letter-spacing: 0.08em;
  margin-left: 2px;
}
.hero-ink.compact .hero-foot {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.24em;
}
.hero-ink.compact .hero-foot.invite {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
}

/* 首页卷首 V2：英文行删除后同步收留白 */
.hero-v2 { padding: 12px 16px 9px; }
.hero-v2 .hero-foot { margin-top: 3px; }

/* SVIP 徽章 · 黑金鎏光（扫光 + 辉光 + 浮雕金边） */
.b-badge.b-svip {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #453313 0%, #17110a 45%, #5a4416 100%);
  border: 1px solid #c9a86a;
  color: #f7e6b5; font-weight: 800;
  text-shadow: 0 0 8px rgba(236, 212, 156, 0.5);
  box-shadow: 0 0 12px rgba(201, 168, 106, 0.4), inset 0 0 6px rgba(236, 212, 156, 0.22);
}
.b-badge.b-svip::after {
  content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 243, 205, 0.5), transparent);
  transform: skewX(-20deg);
  animation: svipShine 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes svipShine { 0% { left: -70%; } 55% { left: 140%; } 100% { left: 140%; } }
/* VIP 徽章 · 实心素金（亮金底深字，保证暗底上清晰可读） */
.b-badge.b-vip {
  background: linear-gradient(160deg, #ecd9a4, #c9a86a 55%, #a8843e);
  color: #241a08;
  border: 1px solid rgba(236, 217, 164, 0.9);
  font-weight: 800;
  box-shadow: 0 0 8px rgba(201, 168, 106, 0.35), inset 0 1px 2px rgba(255, 245, 220, 0.6);
}

/* 站内审核通知：我的发布入口红点 + 结果横幅 */
.mine-entry { position: relative; }
.mine-dot {
  position: absolute; top: -5px; right: -5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #e5484d;
  border: 2px solid #14120d;
  box-shadow: 0 0 8px rgba(229, 72, 77, 0.8);
  animation: minePulse 1.6s ease-in-out infinite;
}
@keyframes minePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.mine-news {
  margin-bottom: 14px;
  background: linear-gradient(150deg, rgba(201, 168, 106, 0.16), rgba(201, 168, 106, 0.05));
  border: 1px solid rgba(201, 168, 106, 0.5);
  border-radius: 12px;
  padding: 12px 14px;
}
.mine-news .mn-row { font-size: 14px; line-height: 1.8; }
.mine-news .mn-row + .mn-row { margin-top: 6px; }
.mine-news .mn-row.ok { color: #b8e0a5; }
.mine-news .mn-row.no { color: #e58a6f; }

/* 底部导航（A 方案）：五栏 + 居中凸起发布键 */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(20, 18, 13, 0.92), rgba(12, 11, 8, 0.98));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201, 168, 106, 0.28);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
.tabbar[hidden] { display: none; }
.tabbar .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-decoration: none; padding: 4px 0 2px; min-width: 0;
}
.tabbar .tab-ico { font-size: 21px; line-height: 1.2; color: #87816f; }
.tabbar .tab-txt { font-size: 11px; color: #87816f; margin-top: 2px; letter-spacing: 1px; }
.tabbar .tab.active .tab-ico, .tabbar .tab.active .tab-txt { color: #ecd49c; text-shadow: 0 0 10px rgba(236, 212, 156, 0.45); }
.tabbar .tab-pub { flex: 1.15; }
.tabbar .pub-ring {
  width: 54px; height: 54px; margin-top: -26px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8cc85, #8a5a1e);
  border: 2px solid rgba(236, 212, 156, 0.85);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 0 5px rgba(20, 18, 13, 0.95), 0 0 16px rgba(201, 168, 106, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.tabbar .pub-ico { font-size: 27px; font-weight: 800; color: #17120a; line-height: 1; }
.tabbar .tab-pub .tab-txt { color: #c9a86a; font-weight: 700; }
.tabbar .tab-pub:active .pub-ring { transform: scale(0.94); }
body { padding-bottom: 76px; }

/* 局长页 */
.boss-page { max-width: 640px; margin: 0 auto; padding: 26px 18px 30px; text-align: center; }
.boss-hero { padding: 22px 0 6px; }
.boss-seal {
  width: 92px; height: 92px; margin: 0 auto 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, #2a2013, #14100a);
  border: 2px solid #c9a86a;
  box-shadow: 0 0 26px rgba(201, 168, 106, 0.35), inset 0 0 14px rgba(236, 212, 156, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 52px; font-weight: 800; color: #ecd49c;
  text-shadow: 0 0 14px rgba(236, 212, 156, 0.5);
}
.boss-name { font-size: 27px; font-weight: 800; color: #f3e3bd; letter-spacing: 5px; margin: 0 0 8px; }
.boss-role { font-size: 15px; color: #c9a86a; letter-spacing: 6px; text-indent: 6px; margin: 0; }
.boss-line { width: 72px; height: 2px; margin: 18px auto 0; background: linear-gradient(90deg, transparent, #c9a86a, transparent); }
.boss-quote {
  margin: 22px auto; padding: 16px 18px;
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 17px; line-height: 2; color: #e5d5a8;
  background: linear-gradient(150deg, rgba(201, 168, 106, 0.1), rgba(201, 168, 106, 0.02));
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 14px;
}
.boss-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.boss-card {
  background: linear-gradient(160deg, #1b1710, #12100b);
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 13px; padding: 15px 8px 12px;
}
.boss-card .bc-num { font-size: 24px; font-weight: 800; color: #ecd49c; }
.boss-card .bc-num span { font-size: 12px; margin-left: 2px; color: #a89a7a; }
.boss-card .bc-t { font-size: 13px; font-weight: 700; color: #e5d5a8; margin: 6px 0 4px; letter-spacing: 1px; }
.boss-card .bc-d { font-size: 11px; color: #87816f; line-height: 1.6; }
.boss-value {
  text-align: left; margin: 18px 0 24px;
  background: linear-gradient(160deg, rgba(201, 168, 106, 0.1), rgba(201, 168, 106, 0.02));
  border: 1px solid rgba(201, 168, 106, 0.4);
  border-radius: 14px; padding: 18px 18px 14px;
}
.boss-value .bv-title { font-size: 16px; font-weight: 800; color: #ecd49c; letter-spacing: 2px; margin-bottom: 10px; text-align: center; }
.boss-value .bv-list { margin: 0; padding-left: 20px; }
.boss-value .bv-list li { font-size: 14px; color: #cfc4a6; line-height: 2; }
.boss-value .bv-list b { color: #ecd49c; }
.boss-note { font-size: 13px; color: #87816f; }
.boss-foot { margin-top: 22px; font-size: 12px; color: #6e6857; letter-spacing: 3px; }
.footer-boss { margin-left: 14px; color: #87816f; font-size: 13px; text-decoration: underline; }
.vip-boss-link { color: #ecd49c; font-weight: 700; }

/* 局长页 · 可读性修复：淡色小字全部提亮 */
.boss-page .boss-card .bc-d { color: #b8ac8e; font-size: 12px; line-height: 1.7; }
.boss-page .boss-card .bc-t { color: #f0e0b0; }
.boss-page .boss-card .bc-num { color: #f3e3bd; text-shadow: 0 0 10px rgba(236, 212, 156, 0.35); }
.boss-page .boss-card .bc-num span { color: #c9b988; }
.boss-page .boss-quote { color: #eedfae; border-color: rgba(201, 168, 106, 0.5); }
.boss-page .boss-value .bv-list li { color: #d8cba8; }
.boss-page .boss-foot { color: #a2977b; letter-spacing: 3px; }
.boss-page .boss-note { color: #b8ac8e; }
.boss-page .boss-role { color: #d8b878; text-shadow: 0 0 10px rgba(201, 168, 106, 0.35); }

/* 局长页 · 实色深底修复：半透明渐变在部分手机渲染成浅底，字看不见 */
.boss-page .boss-quote {
  background: linear-gradient(150deg, #1e1912, #13100a) !important;
  color: #f0dfa8 !important;
  border: 1px solid rgba(201, 168, 106, 0.55) !important;
}
.boss-page .boss-value {
  background: linear-gradient(160deg, #1e1912, #13100a) !important;
  border: 1px solid rgba(201, 168, 106, 0.55) !important;
}
.boss-page .boss-value .bv-title { color: #f3e3bd !important; }
.boss-page .boss-value .bv-list li { color: #e0d2a8 !important; }
.boss-page .boss-value .bv-list b { color: #f7e6b5 !important; }

/* 局长页 · 引言金句强调行 */
.boss-page .boss-quote b {
  display: inline-block; margin-top: 6px;
  color: #f7e6b5;
  text-shadow: 0 0 14px rgba(236, 212, 156, 0.55);
}

/* 局长页 · 引言强调行压缩为一行 */
.boss-page .boss-quote b {
  font-size: 13.5px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* 我的发布 · 积分行 */
.boost-points {
  margin: 8px 0 2px; font-size: 13px; color: #cfc4a6;
}
.boost-points b {
  font-size: 20px; color: #f7e6b5; font-weight: 800;
  text-shadow: 0 0 12px rgba(236, 212, 156, 0.5);
  margin: 0 2px;
}

/* 点赞按钮（列表条目右下角悬浮） */
.item { position: relative; }
.like-btn {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(20, 18, 13, 0.85);
  border: 1px solid rgba(135, 129, 111, 0.45);
  font-size: 12px; color: #a89a7a; line-height: 1.4;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: transform 0.12s ease;
}
.like-btn b { font-weight: 700; color: #cfc4a6; }
.like-btn:active { transform: scale(0.9); }
.like-btn.on {
  background: linear-gradient(135deg, rgba(201, 168, 106, 0.9), rgba(168, 132, 62, 0.9));
  border-color: rgba(236, 212, 156, 0.8);
  color: #17120a;
}
.like-btn.on b { color: #17120a; font-weight: 800; }
.like-btn.on { animation: likePop 0.25s ease; }
@keyframes likePop { 0% { transform: scale(0.8); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* 点赞失败小提示 */
.like-toast {
  position: fixed; left: 50%; bottom: 120px; transform: translateX(-50%);
  z-index: 999; background: rgba(20, 18, 13, 0.95);
  border: 1px solid rgba(201, 168, 106, 0.5); border-radius: 10px;
  color: #e5d5a8; font-size: 13px; padding: 10px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* 点赞 +1 飘字：从按钮上方冒出，上飘淡出 */
.lk-gain {
  position: fixed; z-index: 1200; transform: translate(-50%, 0);
  font-size: 13px; font-weight: 800; color: #8a6414;
  background: linear-gradient(180deg, #fff8e2, #ffe9b3);
  border: 1px solid rgba(201, 168, 106, 0.85); border-radius: 999px;
  padding: 3px 12px; pointer-events: none; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(179, 130, 31, 0.3);
  animation: lkGain 1.05s ease-out forwards;
}
@keyframes lkGain {
  0%   { opacity: 0; transform: translate(-50%, 6px) scale(.7); }
  22%  { opacity: 1; transform: translate(-50%, -4px) scale(1.08); }
  70%  { opacity: 1; transform: translate(-50%, -20px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -34px) scale(.96); }
}

/* 积分页 · 今日点赞进度条 */
.pr-bar {
  height: 6px; border-radius: 999px; overflow: hidden;
  background: rgba(23, 20, 14, 0.08); margin: 8px 2px 4px;
}
.pr-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #e2c98f, #b3821f);
  transition: width .35s ease;
}
.pr-bar-t { font-size: 12px; color: var(--ink-3, #888780); margin: 0 2px 8px; }

/* 详情页文末 · 点赞攒积分引导 */
.pt-tip-line {
  margin: 14px 0 2px; text-align: center;
  font-size: 12.5px; color: var(--ink-3, #888780); letter-spacing: .2px;
}
.pt-tip-line a { color: #a97f1c; font-weight: 700; text-decoration: none; }

/* 合伙人招募页 · 卖什么 / 局长教学块 */
.sell-what .bsw-line, .boss-value.sell-what .bsw-line {
  margin-top: 8px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2);
}
.sell-what .bsw-line b, .boss-value.teach .bv-list b { color: #a97f1c; }

/* 积分置顶弹层 */
.pin-guide { width: min(92vw, 380px); }
.pin-guide .pg-sub { font-size: 13px; color: var(--ink-3, #888780); margin: 8px 0 2px; text-align: center; }
.pin-guide .pg-bal { font-size: 13px; font-weight: 700; color: #a97f1c; margin: 6px 0 12px; text-align: center; }
.pin-guide .pg-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pin-guide .pg-tier {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 4px 10px; border: 1.5px solid rgba(201, 168, 106, 0.55); border-radius: 12px;
  background: linear-gradient(180deg, #fffdf5, #fff6e0); cursor: pointer;
}
.pin-guide .pg-tier b { font-size: 16px; color: var(--ink); }
.pin-guide .pg-tier span { font-size: 12.5px; font-weight: 700; color: #a97f1c; }
.pin-guide .pg-tier:active { transform: scale(.97); }
.pin-guide .pg-tier.off { opacity: .45; filter: grayscale(.6); cursor: not-allowed; }
.pin-guide .pg-tier.busy { opacity: .6; pointer-events: none; }
.pin-guide .pg-best {
  position: absolute; top: -9px; right: 6px; font-style: normal;
  font-size: 10.5px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #d9b45f, #a97f1c); border-radius: 999px; padding: 1px 8px;
}
.pin-guide .pg-tip { font-size: 11.5px; color: var(--ink-3, #888780); line-height: 1.7; margin: 12px 2px; }

/* 我的发布 · 用积分置顶按钮 */
.mine-edit.pin { color: #a97f1c; border-color: rgba(201, 168, 106, 0.65); font-weight: 700; }

/* 教程板块 · 有奖征稿横幅 */
.recruit-banner {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 12px; padding: 12px 14px;
  border: 1.5px dashed rgba(201, 168, 106, 0.75); border-radius: 14px;
  background: linear-gradient(135deg, rgba(201, 168, 106, 0.14), rgba(201, 168, 106, 0.04));
  cursor: pointer; user-select: none;
}
.recruit-banner:active { transform: scale(.985); }
.recruit-banner .rb-ico { font-size: 18px; }
.recruit-banner .rb-txt { flex: 1; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.recruit-banner .rb-txt b { color: #a97f1c; font-weight: 800; }
.recruit-banner .rb-cta { font-size: 12px; color: #a97f1c; font-weight: 700; white-space: nowrap; }

/* 征稿规则弹层（深色底，文字必须用浅色系，别跟浅色主题变量混用） */
.recruit-guide { width: min(92vw, 400px); }
.recruit-guide .rc-lead { font-size: 13.5px; line-height: 1.8; color: #e8ddbd; margin: 10px 0 4px; text-align: left; }
.recruit-guide .rc-lead b { color: #f0d48a; }
.recruit-guide .rc-list { margin: 6px 0 12px; padding: 0; list-style: none; text-align: left; }
.recruit-guide .rc-list li {
  font-size: 13.5px; line-height: 1.85; color: #e8ddbd;
  padding: 8px 0 8px 2px; border-bottom: 1px dashed rgba(201, 168, 106, 0.3);
}
.recruit-guide .rc-list li:last-child { border-bottom: 0; }
.recruit-guide .rc-list b { color: #f0d48a; }
.recruit-guide .done-btn { display: block; width: 100%; text-align: center; margin-top: 8px; }
.recruit-guide .rc-tip { font-size: 11px; color: #a89a7a; margin-top: 10px; text-align: center; }

/* 资源板块 · 热度榜入口 */
.demand-bar { flex-wrap: wrap; }
.demand-btn.gold {
  background: linear-gradient(135deg, rgba(201, 168, 106, 0.2), rgba(201, 168, 106, 0.06));
  border-color: rgba(201, 168, 106, 0.6);
  color: #ecd49c; font-weight: 700;
}

/* 热度榜弹层 */
.like-board .lb-list { margin: 12px 0 4px; max-height: 46vh; overflow-y: auto; }
.like-board .lb-loading, .like-board .lb-empty {
  text-align: center; color: #87816f; font-size: 14px; padding: 26px 0;
}
.like-board .lb-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px; text-decoration: none;
  border-bottom: 1px dashed rgba(135, 129, 111, 0.25);
}
.like-board .lb-row:last-child { border-bottom: none; }
.like-board .lb-rank {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(135, 129, 111, 0.2); color: #a89a7a;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.like-board .lb-rank.r1 { background: linear-gradient(135deg, #f0d48a, #b8860b); color: #17120a; box-shadow: 0 0 10px rgba(236, 212, 156, 0.5); }
.like-board .lb-rank.r2 { background: linear-gradient(135deg, #d8ccb0, #9a8a66); color: #17120a; }
.like-board .lb-rank.r3 { background: linear-gradient(135deg, #c98f5e, #8a5a2e); color: #17120a; }
.like-board .lb-t {
  flex: 1; min-width: 0; text-align: left;
  font-size: 13.5px; color: #d8cba8; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.like-board .lb-n { flex: none; font-size: 13px; font-weight: 800; color: #ecd49c; }

/* ---------- 阅读量 ---------- */
.item-meta .item-view { color: #8f8674; letter-spacing: 0.02em; }
.article-meta .article-view { color: var(--seal); font-weight: 600; }

/* ---------- 提建议：角落小浮标 + 轻量小卡片 ---------- */
.fb-fab {
  position: fixed;
  right: 14px;
  bottom: 78px;
  z-index: 72;
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 106, 0.55);
  background: rgba(20, 18, 13, 0.74);
  color: #ecd49c;
  font-size: 15px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.fb-fab.show { display: flex; }
.fb-fab:active { transform: scale(0.92); }
body.is-admin .fb-fab { display: none !important; }
.fb-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d13a22;
  border: 1.5px solid var(--paper-2);
}

.fb-panel {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 74px;
  margin-left: auto;
  margin-right: auto;
  z-index: 96;
  width: auto;
  max-width: 330px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  animation: qbj-rise 0.18s ease;
}
.fb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.fb-x {
  border: none;
  background: none;
  font-size: 17px;
  line-height: 1;
  color: var(--muted);
  padding: 2px 4px;
  cursor: pointer;
}
.fb-text {
  width: 100%;
  box-sizing: border-box;
  min-height: 68px;
  padding: 8px 9px;
  font-size: 12.5px;
  font-family: inherit;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  resize: none;
}
.fb-text:focus, .fb-contact:focus { outline: none; border-color: rgba(168, 50, 30, 0.45); }
.fb-contact {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 7px 9px;
  font-size: 12px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 9px;
}
.fb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.fb-hint { font-size: 11px; color: var(--muted); }
.fb-send {
  border: none;
  border-radius: 999px;
  padding: 6px 16px;
  background: linear-gradient(180deg, #ecd49c, #c9a86a);
  color: #14120d;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 1px;
  cursor: pointer;
}
.fb-send:disabled { opacity: 0.6; }

/* ---------- 后台：用户建议列表 ---------- */
.fb-msg { padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.fb-msg:last-child { border-bottom: none; }
.fb-msg.done { opacity: 0.55; }
.fb-msg-top {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px; flex-wrap: wrap;
}
.fb-msg-time { font-size: 12px; color: var(--muted); }
.fb-msg-ct { font-size: 12px; color: var(--seal); font-weight: 600; }
.fb-msg-ct.none { color: var(--muted); font-weight: 400; }
.fb-msg-pg {
  font-size: 11px; color: var(--muted);
  background: var(--paper); padding: 1px 6px; border-radius: 4px;
}
.fb-msg-top .btn-sm { margin-left: auto; }
.fb-msg-body {
  font-size: 13.5px; line-height: 1.75; color: var(--ink);
  white-space: pre-wrap; word-break: break-word;
}

/* ---------- 审核：图片 / 视频放大 ---------- */
.lb-mask {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0, 0, 0, 0.93);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.lb-media { max-width: 100%; max-height: 86vh; border-radius: 8px; object-fit: contain; background: #000; }
.lb-tip {
  position: fixed; left: 0; right: 0; bottom: 20px;
  text-align: center; color: #cfc6ae; font-size: 12px; letter-spacing: 0.5px;
}
button.thumb-box {
  padding: 0; cursor: zoom-in; display: inline-flex;
  align-items: center; justify-content: center; flex-direction: column; gap: 2px;
  color: #a89c82; font-size: 11px; font-family: inherit;
}
button.thumb-box img { pointer-events: none; }
button.thumb-box.vid em { font-style: normal; font-size: 9px; opacity: 0.75; }

/* ---------- 驳回理由弹层 ---------- */
.rj-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 8px; }
.rj-chip {
  background: rgba(201, 168, 106, 0.12);
  border: 1px solid rgba(201, 168, 106, 0.35);
  color: #e4d3a8; border-radius: 999px; padding: 4px 10px;
  font-size: 11.5px; font-family: inherit; cursor: pointer;
}
.rj-chip:active { background: rgba(201, 168, 106, 0.26); }
.rj-text {
  width: 100%; min-height: 82px; margin-top: 6px;
  background: #151109; border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 10px; padding: 10px 12px;
  color: #f0e6cf; font-size: 13.5px; line-height: 1.6; font-family: inherit;
  resize: vertical;
}
input.rj-text { min-height: 0; height: 44px; }
.rj-text:focus { outline: none; border-color: rgba(201, 168, 106, 0.78); }

/* 列表右下角：阅读量 + 点赞 组合 */
/* 评论行：普通文档流、独占一行靠左（原绝对定位右下角是为点赞设计的，点赞已下线） */
.item-acts {
  position: static; z-index: auto;
  display: block; margin-top: 4px;
}
.view-pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(20, 18, 13, 0.85);
  border: 1px solid rgba(135, 129, 111, 0.3);
  font-size: 12px; color: #b3a88e; line-height: 1.4;
  user-select: none; -webkit-user-select: none;
}

/* 排名榜：点赞榜 / 阅读榜 切换 */
.rank-board .rk-tabs {
  display: flex; gap: 8px; margin: 12px 0 2px;
  padding: 4px; border-radius: 12px;
  background: rgba(135, 129, 111, 0.12);
}
.rank-board .rk-tab {
  flex: 1; padding: 8px 0; border: none; border-radius: 9px;
  background: transparent; color: #a89a7a;
  font-family: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s;
}
.rank-board .rk-tab.on {
  background: linear-gradient(135deg, rgba(201, 168, 106, 0.92), rgba(184, 134, 11, 0.85));
  color: #17120a;
  box-shadow: 0 2px 10px rgba(201, 168, 106, 0.28);
}

/* 资源 / 教程：三区分隔标题（SVIP 专区 → VIP 专区 → 非会员） */
.zone-head {
  display: flex; align-items: center; gap: 8px;
  margin: 16px 0 8px; padding-left: 2px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em;
  color: #b3a88e;
}
.zone-head::before {
  content: ''; width: 3px; height: 13px; border-radius: 2px;
  background: rgba(135, 129, 111, 0.5);
}
.zone-head .zh-n {
  margin-left: auto; font-weight: 500; letter-spacing: 0;
  font-size: 11px; color: #7e786a;
}
.zone-head.z-svip { color: #e8cf8e; }
.zone-head.z-svip::before { background: linear-gradient(180deg, #f0d48a, #a8791f); }
.zone-head.z-vip { color: #d9c08a; }
.zone-head.z-vip::before { background: rgba(201, 168, 106, 0.85); }
.zone-head.z-none { color: #8b8474; }

/* 解锁页：会员通用码提示 */
.lock-mem-tip {
  margin: 10px 0 0; font-size: 12px; line-height: 1.6;
  color: #a89c82; text-align: center;
}
.lock-mem-tip b { color: #e4d3a8; }

/* 正文内联图片（图文教程：[图1] 标记处插入） */
.inline-img { margin: 12px 0; }
.inline-img img {
  width: 100%; display: block; border-radius: 12px;
  border: 1px solid rgba(135, 129, 111, 0.25);
  background: #f5f1e6;
}
.inline-img figcaption {
  margin-top: 6px; text-align: center;
  font-size: 11px; color: #8b8474; letter-spacing: 0.08em;
}

/* ---------- 后台：文档式富编辑器 ---------- */
.rich-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.rich-editor {
  min-height: 260px; max-height: 60vh; overflow-y: auto;
  background: #fff; border: 1px solid #ddd3c0; border-radius: 10px;
  padding: 14px 16px; font-size: 14.5px; line-height: 1.75; color: #2a251a;
  outline: none; cursor: text;
}
.rich-editor:focus { border-color: #b08d3e; box-shadow: 0 0 0 2px rgba(176, 141, 62, 0.15); }
.rich-editor[data-placeholder]:empty::before {
  content: attr(data-placeholder); color: #b0a894; pointer-events: none;
}
.rich-editor p { margin: 0 0 10px; }
.rich-editor img { max-width: 100%; display: block; margin: 10px 0; border-radius: 8px; }
.rich-editor strong { font-weight: 800; }

/* ---------- 前端：富正文（后台文档式内容）排版 ---------- */
.rich-body p { margin: 0 0 12px; line-height: 1.85; }
.rich-body h1, .rich-body h2, .rich-body h3, .rich-body h4 {
  margin: 18px 0 10px; font-size: 16.5px; font-weight: 800; color: var(--ink, #2a251a);
}
.rich-body img {
  width: 100%; display: block; margin: 12px 0;
  border-radius: 12px; border: 1px solid rgba(135, 129, 111, 0.25);
  background: #f5f1e6;
}
.rich-body ul, .rich-body ol { margin: 0 0 12px; padding-left: 20px; }
.rich-body li { margin-bottom: 6px; line-height: 1.8; }
.rich-body strong { font-weight: 800; }
.rich-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.rich-body td, .rich-body th { border: 1px solid rgba(135, 129, 111, 0.3); padding: 6px 8px; }

/* ---------- 后台：右下角常驻刷新 ---------- */
.refresh-fab {
  position: fixed; right: 14px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 130;
  padding: 10px 16px; border-radius: 999px; border: 1px solid #d8cdb4;
  background: #fff; color: #2a251a; font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(70, 55, 20, 0.18); cursor: pointer;
}
.refresh-fab:active { transform: scale(0.97); }
.refresh-fab[disabled] { opacity: 0.6; cursor: default; }

/* ---------- 后台会员码：备注（仅后台可见） ---------- */
.mc-note {
  margin-top: 8px;
  padding: 6px 9px;
  border: 1px dashed rgba(201, 168, 106, 0.5);
  border-radius: 8px;
  background: rgba(201, 168, 106, 0.1);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
  word-break: break-word;
}
.mc-note.is-test {
  border-color: rgba(194, 88, 61, 0.5);
  background: rgba(194, 88, 61, 0.09);
}
.mc-note.is-empty {
  border-color: var(--line-2);
  background: transparent;
  color: var(--muted);
}
.mc-note-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--ink);
  color: #f5eeda;
  font-size: 10px;
  letter-spacing: .5px;
  vertical-align: 1px;
}
.mc-note.is-test .mc-note-tag { background: var(--seal); }

/* ---------- 详情页图片查看器（点击放大） ---------- */
.article-body img,
.article-body .rich-body img,
.gallery .g-track img,
.pw-gallery img { cursor: zoom-in; }
html.lb-open, html.lb-open body { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 7, 4, 0.96);
  -webkit-tap-highlight-color: transparent;
}
.lb[hidden] { display: none; }
.lb-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  touch-action: none;
}
.lb-img {
  max-width: 100vw; max-height: 100vh;
  will-change: transform;
  transition: transform 0.18s ease-out;
  user-select: none; -webkit-user-drag: none;
}
.lb.dragging .lb-img { transition: none; }
.lb-top {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  color: #f4eddf;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.lb-count {
  font-size: 12.5px; letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}
.lb-close {
  pointer-events: auto;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: #fff; font-size: 14px; line-height: 1; cursor: pointer;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.32);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.lb-nav[hidden] { display: none; }
.lb-nav.prev { left: 10px; }
.lb-nav.next { right: 10px; }
.lb-tip {
  position: absolute; left: 0; right: 0;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  margin: 0; text-align: center;
  font-size: 11.5px; letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
@media (min-width: 720px) {
  .lb-nav { width: 46px; height: 46px; }
}

/* ---------- 上新 / 审核结果小红点 ---------- */
.tag-pill { position: relative; }
.tag-dot {
  position: absolute; top: 3px; right: 4px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #e04a35;
  box-shadow: 0 0 0 2px rgba(251, 248, 241, 0.9);
  pointer-events: none;
}
.tag-pill.is-active .tag-dot {
  box-shadow: 0 0 0 2px rgba(42, 37, 26, 0.85);
}
.tabbar .tab { position: relative; }
.tabbar .tab-dot {
  position: absolute; top: 2px; left: 50%;
  margin-left: 4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #e04a35;
  box-shadow: 0 0 0 2px rgba(16, 14, 10, 0.95);
  pointer-events: none;
}

/* ---------- 主营板块（前端）：金色描边，不动红点 ---------- */
.tag-pill.is-hero {
  border-color: rgba(201, 168, 106, 0.9);
  color: #6f5416;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(201, 168, 106, 0.18), rgba(201, 168, 106, 0.05));
  box-shadow: inset 0 0 0 1px rgba(201, 168, 106, 0.3);
}
.tag-pill.is-hero:hover { border-color: #b08d44; }
.tag-pill.is-hero.is-active {
  background: linear-gradient(180deg, #d3b273, #b08d44);
  border-color: #a9852f;
  color: #241c08;
  box-shadow: 0 2px 10px rgba(201, 168, 106, 0.35);
}

/* ---------- 分享助力解锁（付费墙内） ---------- */
.pw-share {
  margin: 14px 0 8px;
  padding: 12px 12px 10px;
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(201, 168, 106, 0.13), rgba(201, 168, 106, 0.04));
  text-align: left;
}
.pws-top { font-size: 12.5px; line-height: 1.75; color: var(--ink-2); }
.pws-top b { color: var(--ink); font-weight: 700; }
.pws-btn {
  width: 100%; margin: 10px 0 0; padding: 10px 12px;
  border: 1px solid #b08d44; border-radius: 8px;
  background: linear-gradient(180deg, #d3b273, #b8933f);
  color: #201803; font-size: 13.5px; font-weight: 700; letter-spacing: 0.5px;
  cursor: pointer;
}
.pws-btn:active { transform: scale(0.985); }
.pws-btn:disabled { opacity: 0.65; }
.pws-prog { margin-top: 9px; display: flex; align-items: center; gap: 9px; }
.pws-track { flex: 1 1 auto; height: 5px; border-radius: 999px; background: rgba(23, 20, 14, 0.12); overflow: hidden; }
.pws-track i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #c9a86a, #a8321e); transition: width 0.3s ease; }
.pws-meta { flex: 0 0 auto; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.pws-tip { margin: 8px 0 0; font-size: 10.5px; line-height: 1.6; color: var(--muted); }

/* ---------- 我的发布：上架进度 + 浏览量 ---------- */
.mine-prog { display: flex; align-items: center; margin: 7px 0 3px; }
.mp-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); flex: 0 0 auto; }
.mp-dot.on { background: #c9a86a; }
.mp-dot.cur { background: #e58a6f; box-shadow: 0 0 0 3px rgba(229, 138, 111, 0.16); }
.mp-line { display: block; flex: 0 0 14px; height: 1px; background: rgba(255, 255, 255, 0.14); }
.mp-label { margin-left: 9px; font-size: 11.5px; color: #87816f; }
.b-badge.b-views { background: rgba(255, 255, 255, 0.06); color: #cfc3a6; border: 1px solid rgba(255, 255, 255, 0.13); font-weight: 500; }

/* ---------- 发布页：首次发布「一次过」清单 ---------- */
.pub-first {
  margin: 0 0 16px; padding: 12px 14px;
  border: 1px solid var(--gold-soft); border-radius: 10px;
  background: linear-gradient(180deg, rgba(201, 168, 106, 0.16), rgba(201, 168, 106, 0.05));
  font-size: 12.5px; line-height: 1.8; color: var(--ink-2);
}
.pub-first b { color: var(--ink); font-weight: 700; }
.pub-first ul { margin: 6px 0 0; padding-left: 18px; }
.pub-first li { margin: 2px 0; }

/* ================= 会员体系 V2：价格卡 / 会员卡 / 转化横幅 ================= */

/* ① 会员板块海报：双价格卡 */
.poster-vip .price-row {
  display: flex; gap: 10px;
  margin: 0 0 14px; text-align: left;
}
.poster-vip .price-card {
  flex: 1; position: relative;
  border-radius: 12px; padding: 14px 12px 12px;
  background: linear-gradient(180deg, rgba(201, 168, 106, 0.16), rgba(201, 168, 106, 0.05));
  border: 1px solid rgba(201, 168, 106, 0.45);
}
.poster-vip .price-card.best {
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 16px rgba(201, 168, 106, 0.35), inset 0 0 12px rgba(236, 212, 156, 0.12);
}
.poster-vip .best-tag {
  position: absolute; top: -10px; right: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  color: #17110a; background: linear-gradient(135deg, #f6e3a6, #d9b36a);
  border-radius: 999px; padding: 3px 10px;
  box-shadow: 0 0 8px rgba(201, 168, 106, 0.6);
}
.poster-vip .pc-name { font-size: 11px; letter-spacing: 2px; color: #a89a7a; }
.poster-vip .pc-name b { font-size: 14px; color: #f2e3b8; letter-spacing: 3px; margin-right: 6px; }
.poster-vip .pc-num { font-family: var(--mono); font-size: 32px; font-weight: 800; color: #f6df9f; margin-top: 4px; }
.poster-vip .pc-num i { font-style: normal; font-size: 13px; color: #cbb87e; margin-left: 2px; }
.poster-vip .pc-per { font-size: 10.5px; color: #8f836a; margin-top: 2px; }
.poster-vip .pc-per b { color: #ecd49c; }
.poster-vip .pc-save { margin-top: 6px; font-size: 10.5px; color: #d8b878; }
.poster-vip .vip-cta {
  display: block; margin-top: 16px; text-align: center;
  background: linear-gradient(135deg, #f6e3a6, #d9b36a 60%, #c9a86a);
  color: #241a06; font-weight: 800; font-size: 15px; letter-spacing: 2px;
  border-radius: 10px; padding: 13px 0; text-decoration: none;
  box-shadow: 0 6px 18px rgba(201, 168, 106, 0.35);
}
.poster-vip .vip-cta:active { transform: scale(0.98); }
/* SVIP 徽章（黑金实心，与 VIP 描金区分） */
.vip-badge.is-svip {
  color: #f7e6b5;
  background: linear-gradient(135deg, #453313, #17110a 45%, #5a4416);
  border: 1px solid var(--gold);
  text-shadow: 0 0 8px rgba(236, 212, 156, 0.5);
  box-shadow: 0 0 8px rgba(201, 168, 106, 0.4);
}

/* ② 「我的」页会员状态卡 */
.mem-card {
  margin: 14px 0;
  border-radius: 14px; padding: 16px 16px 14px;
  background: linear-gradient(135deg, #453313 0%, #17110a 45%, #5a4416 100%);
  border: 1px solid var(--gold); color: #f7e6b5;
  box-shadow: 0 0 14px rgba(201, 168, 106, 0.35);
  position: relative; overflow: hidden;
}
.mem-card.none {
  background: linear-gradient(150deg, rgba(201, 168, 106, 0.10), rgba(201, 168, 106, 0.03));
  border: 1px dashed rgba(201, 168, 106, 0.5); color: #cfc4a6;
  box-shadow: none;
}
.mem-row1 { display: flex; align-items: center; justify-content: space-between; }
.mem-id { font-size: 16px; font-weight: 800; letter-spacing: 2px; }
.mem-id .vip-badge { margin-left: 8px; }
.mem-end { font-size: 11px; color: #cbb87e; }
.mem-card.none .mem-end { color: #a2957a; }
.mem-days { font-size: 12.5px; margin-top: 10px; color: #e8d5a0; line-height: 1.6; }
.mem-card.none .mem-days { color: #bfb08a; }
.mem-days b { font-size: 15px; color: #f6df9f; }
.mem-days b.mem-warn { color: #e8a06a; }
.mem-btns { display: flex; gap: 8px; margin-top: 13px; }
.mem-btn {
  flex: 1; text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 1px;
  border-radius: 8px; padding: 10px 0; border: none; cursor: pointer;
  background: linear-gradient(135deg, #f6e3a6, #d9b36a); color: #241a06;
  text-decoration: none; font-family: inherit;
}
.mem-btn:active { transform: scale(0.98); }
.mem-btn.ghost { background: transparent; border: 1px solid rgba(236, 212, 156, 0.65); color: #ecd49c; }
.mem-card.none .mem-btn { background: linear-gradient(135deg, #e8d5a0, #c9a86a); }
.mem-tip { margin-top: 9px; font-size: 11px; color: #b8a878; line-height: 1.6; }
.mem-card.none .mem-tip { color: #8a7c55; }

/* ③ 付费墙黑金横幅：单买价 vs 会员价 */
.pw-mem {
  display: flex; align-items: center; gap: 10px;
  margin: 6px 0 4px;
  background: linear-gradient(135deg, #453313, #17110a 55%, #5a4416);
  border: 1px solid var(--gold); border-radius: 10px;
  padding: 11px 12px; text-decoration: none;
  box-shadow: 0 4px 12px rgba(201, 168, 106, 0.25);
}
.pw-mem:active { transform: scale(0.99); }
.pw-mem .pwm-t { flex: 1; font-size: 12px; line-height: 1.55; color: #e8d5a0; }
.pw-mem .pwm-t b { color: #f6df9f; font-size: 13px; }
.pw-mem .pwm-go {
  flex: 0 0 auto; font-size: 12px; font-weight: 800;
  background: linear-gradient(135deg, #f6e3a6, #d9b36a); color: #241a06;
  border-radius: 999px; padding: 7px 14px;
}

/* ④ 后台：会员码等级徽章 + 双选弹层按钮 */
.mc-level {
  flex: 0 0 auto; font-size: 10.5px; font-weight: 800; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 999px;
  color: #6d5a26; background: rgba(201, 168, 106, 0.18);
  border: 1px solid rgba(201, 168, 106, 0.5);
}
.mc-level.is-svip {
  color: #f7e6b5;
  background: linear-gradient(135deg, #453313, #17110a 55%);
  border-color: var(--gold);
  box-shadow: 0 0 6px rgba(201, 168, 106, 0.4);
}
.pk-row { display: flex; gap: 10px; margin-top: 14px; }
.pk-btn {
  flex: 1; text-align: center; font-size: 13px; font-weight: 800;
  border-radius: 10px; padding: 12px 6px; cursor: pointer;
  background: #faf6ea; border: 1px solid #d8cdb4; color: var(--ink);
}
.pk-btn.best {
  background: linear-gradient(135deg, #453313, #17110a 55%);
  border: 1px solid var(--gold); color: #f7e6b5;
}
.pk-btn:active { transform: scale(0.98); }

/* 「我的」页内容区是米色卡底：未开通态与引导卡的文字改为深色，保证对比度 */
.mem-card.none { color: #5a4d2e; border: 1px solid rgba(138, 90, 30, 0.4); }
.mem-card.none .mem-days { color: #6d5f38; }
.mem-card.none .mem-days b { color: #8a5a1e; }
.mem-card.none .mem-end { color: #857752; }
.mem-card.none .mem-tip { color: #8a7c55; }
.mine-boost { border-color: rgba(138, 90, 30, 0.45); }
.mine-boost .boost-title { color: #8a5a1e; }
.mine-boost .boost-list li { color: #5d5340; }
.mine-boost .boost-list b { color: #8a5a1e; }

/* ================= 积分（签到条 / 积分卡 / 积分中心） ================= */
.ck-bar {
  display: flex; align-items: center; gap: 10px;
  margin: 12px 0 2px; padding: 11px 14px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,168,106,.14), rgba(201,168,106,.05));
  border: 1px solid var(--gold-soft);
}
.ck-bar .ck-tx { flex: 1; font-size: 12.5px; color: #cfc4a6; line-height: 1.5; }
.ck-bar .ck-tx b { color: #ecd49c; font-weight: 700; }
.ck-bar .ck-go {
  flex: 0 0 auto; border: 0; border-radius: 999px; padding: 7px 16px;
  font-size: 12.5px; font-weight: 700; color: #241d10;
  background: linear-gradient(135deg, #e8d5a0, #c9a86a);
}
.ck-bar .ck-go.ghost { background: transparent; color: #bfb08a; border: 1px solid var(--gold-soft); font-weight: 400; }
.ck-bar.done { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.ck-bar.done .ck-tx { color: #8f8877; }
.ck-bar.done .ck-tx b { color: #cfc4a6; }

.pt-card { background: var(--paper); border-radius: 14px; padding: 16px 18px; margin: 0 0 12px; }
.pt-top { display: flex; justify-content: space-between; align-items: center; }
.pt-label { font-size: 12px; letter-spacing: 2px; color: var(--muted); }
.pt-streak { font-size: 12px; color: #8a5a1e; }
.pt-num { font-family: var(--mono); font-size: 34px; line-height: 1.2; color: var(--ink); }
.pt-num i { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 4px; }
.pt-sub { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.pt-ops { display: flex; gap: 8px; }
.pt-btn {
  flex: 0 0 auto; border: 0; border-radius: 999px; padding: 8px 18px;
  font-size: 13px; font-weight: 700; color: var(--paper); background: var(--ink);
}
.pt-btn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line); font-weight: 400; }
.pt-btn.off { background: var(--line-2); color: var(--muted); font-weight: 400; }
.pt-tip { font-size: 11px; color: var(--muted); margin-top: 10px; }

.ck-mask { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.62); display: flex; align-items: flex-end; }
.ck-sheet {
  width: 100%; background: var(--paper); border-radius: 18px 18px 0 0;
  padding: 26px 22px calc(22px + env(safe-area-inset-bottom)); text-align: center;
  animation: ckUp .22s ease-out;
}
@keyframes ckUp { from { transform: translateY(40px); opacity: .4 } to { transform: none; opacity: 1 } }
.ck-plus { font-family: var(--mono); font-size: 44px; line-height: 1; color: var(--seal); }
.ck-title { font-size: 15px; font-weight: 700; margin-top: 6px; color: var(--ink); }
.ck-line { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.ck-line.gold { color: #8a5a1e; }
.ck-mid { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ck-mid.dim { opacity: .75; }
.ck-cta { display: block; margin-top: 16px; padding: 13px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 13.5px; font-weight: 700; }
.ck-close { display: block; width: 100%; margin-top: 10px; padding: 11px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 13px; }

.pt-hero {
  border-radius: 14px; padding: 22px 20px; text-align: center; margin-bottom: 14px;
  background: linear-gradient(160deg, #1b1811, #12110d); border: 1px solid var(--gold-soft);
}
.ph-num { font-family: var(--mono); font-size: 46px; line-height: 1; color: #ecd49c; }
.ph-num i { font-style: normal; font-size: 14px; color: #bfb08a; margin-left: 6px; }
.ph-row { display: flex; justify-content: center; gap: 16px; margin-top: 12px; font-size: 12px; color: #bfb08a; }
.ph-row b { color: #ecd49c; }
.ph-btn {
  margin-top: 16px; border: 0; border-radius: 999px; padding: 11px 34px;
  font-size: 14px; font-weight: 800; color: #241d10;
  background: linear-gradient(135deg, #e8d5a0, #c9a86a);
}
.ph-btn.off { background: rgba(255,255,255,.06); color: #8f8877; font-weight: 400; padding: 11px 28px; }
.ph-tip { font-size: 11.5px; color: #8f8877; margin-top: 10px; }

.pt-rules { background: var(--paper); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.pr-h { font-size: 12px; letter-spacing: 2px; color: var(--muted); margin-bottom: 10px; }
.pr-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); font-size: 12.5px; }
.pr-row:last-child { border-bottom: 0; }
.pr-row b { color: var(--ink); font-weight: 700; flex: 0 0 auto; }
.pr-row span { color: var(--muted); text-align: right; }
.pt-logs { list-style: none; margin: 0; padding: 0; }
.pt-log { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 12.5px; }
.pt-log:last-child { border-bottom: 0; }
.pl-nm { flex: 1; color: var(--ink-2); }
.pl-d { font-family: var(--mono); color: var(--seal); font-weight: 700; }
.pl-t { color: var(--muted); font-size: 11px; }
.pt-log.empty { color: var(--muted); justify-content: center; border: 0; }

/* ---------------- 合伙人数据台（/partner?me=1） ---------------- */
.pst-search { display: flex; gap: 8px; margin-bottom: 14px; }
.pst-input {
  flex: 1 1 auto; min-width: 0; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(201, 168, 106, 0.4); background: rgba(255, 255, 255, 0.05);
  color: #f0e6cc; font-size: 15px; font-family: var(--mono); letter-spacing: 2px;
  text-transform: uppercase; -webkit-appearance: none;
}
.pst-input::placeholder { color: #7d7666; letter-spacing: 0; font-family: var(--sans); text-transform: none; }
.pst-input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.09); }
.pst-go {
  flex: 0 0 auto; padding: 0 20px; border: 0; border-radius: 10px; font-size: 14px; font-weight: 800;
  color: #241d10; background: linear-gradient(135deg, #e8d5a0, #c9a86a);
}
.pst-empty {
  padding: 22px 16px; text-align: center; font-size: 12.5px; color: #918a79;
  border: 1px dashed rgba(201, 168, 106, 0.35); border-radius: 12px; margin-bottom: 12px;
}
.pst-empty.err { color: #e0a99b; border-color: rgba(168, 50, 30, 0.45); }
.pst-card { background: var(--paper); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.pst-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pst-name { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); }
.pst-code { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 1px; margin-top: 2px; }
.pst-lv {
  flex: 0 0 auto; text-align: center; padding: 4px 10px; border-radius: 999px;
  background: rgba(201, 168, 106, 0.18); color: #7d5a17; font-size: 11.5px; font-weight: 700; line-height: 1.5;
}
.pst-lv i { display: block; font-style: normal; font-weight: 400; font-size: 10.5px; color: #8b8271; }
.pst-lv.top { background: rgba(168, 50, 30, 0.1); color: var(--seal); }
.pst-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 12px; }
.pst-cell {
  text-align: center; padding: 10px 2px; background: var(--paper-2);
  border-radius: 10px; border: 1px solid var(--line-2);
}
.pst-cell b { display: block; font-family: var(--mono); font-size: 22px; line-height: 1.25; color: var(--ink); }
.pst-cell span { font-size: 10.5px; color: var(--muted); letter-spacing: 0.5px; }
.pst-cell.hot b { color: var(--seal); }
.pst-bar { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.pst-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #e8d5a0, #b3821f); }
.pst-note { margin-top: 8px; font-size: 12px; color: var(--ink-2); line-height: 1.7; }
.pst-note b { color: var(--seal); font-family: var(--mono); font-size: 13px; }
.pst-h { font-size: 12px; letter-spacing: 2px; color: var(--muted); margin-bottom: 10px; }
.pst-link {
  font-family: var(--mono); font-size: 11px; color: var(--ink-2); background: var(--paper-2);
  border: 1px dashed var(--line); border-radius: 8px; padding: 10px; word-break: break-all; line-height: 1.6;
}
.pst-card .done-btn { margin-top: 12px; width: 100%; }
.pst-fine { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.75; }
.pst-fine b { color: var(--ink-2); }
.pst-rule { margin: 0; padding-left: 18px; }
.pst-rule li { font-size: 12.5px; color: var(--ink-2); line-height: 1.85; }
.pst-rule li b { color: var(--ink); }
.pst-entry {
  display: block; text-align: center; margin-top: 12px; font-size: 12.5px;
  color: #c9a86a; text-decoration: none; letter-spacing: 0.5px;
}

/* 数据台防横向溢出：长链接必须折行，卡片不吃掉屏幕外空间 */
.pst-card { overflow: hidden; }
.pst-link {
  display: block; max-width: 100%;
  white-space: normal; word-break: break-all; overflow-wrap: anywhere;
}
.pst-search, .pst-top, .pst-grid { max-width: 100%; }
.pst-input { width: 100%; }

/* 付费墙：积分兑换（标价×10 分，兑换后永久可看） */
.pw-points {
  margin: 10px 0; padding: 12px 12px 10px; text-align: left;
  background: var(--paper-2); border: 1px dashed rgba(201, 168, 106, 0.65); border-radius: 10px;
}
.pwp-h { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.pwp-h b { font-family: var(--mono); font-size: 15px; color: #8a5a1e; }
.pwp-btn {
  display: block; width: 100%; margin-top: 8px; padding: 10px;
  border: 0; border-radius: 8px; font-size: 13.5px; font-weight: 800;
  color: #241d10; background: linear-gradient(135deg, #e8d5a0, #c9a86a);
}
.pwp-btn.off { background: var(--line-2); color: #7a7263; }
.pwp-btn:active { transform: scale(0.99); }
.pwp-tip { margin: 8px 0 0; font-size: 11px; color: var(--muted); line-height: 1.6; }

/* 后台：积分看板 */
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin: 12px 0 6px; }
.pcell { background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 6px; text-align: center; }
.pcell b { display: block; font-family: var(--mono); font-size: 19px; line-height: 1.3; color: var(--ink); }
.pcell span { font-size: 10.5px; color: var(--muted); letter-spacing: 0.5px; }
.pcell.gold b { color: #b3821f; }
.ptb { display: flex; flex-direction: column; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 6px; }
.ptb-row { display: flex; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); font-size: 12.5px; min-width: 520px; }
.ptb-row:last-child { border-bottom: 0; }
.ptb-row.head { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1px; color: var(--muted); border-bottom: 1px solid var(--line); }
.ptb-row .c-name { flex: 1 1 150px; min-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptb-row .c-uid { flex: 0 0 104px; font-family: var(--mono); font-size: 10px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptb-row .c-num { flex: 0 0 52px; text-align: right; font-family: var(--mono); }
.ptb-row .c-tag { flex: 0 0 58px; text-align: center; font-size: 10.5px; color: #6f6a5c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptb-row .c-act { flex: 0 0 46px; text-align: right; }
.ptb-row .c-act .btn-sm { padding: 2px 8px; font-size: 11px; }

/* 详情页价格行：付费教程顺带告诉人可以拿积分换 */
.price-line .pl-pt {
  margin-left: 10px; font-family: var(--sans); font-size: 11.5px;
  color: #8a5a1e; background: rgba(201, 168, 106, 0.16);
  border: 1px solid rgba(201, 168, 106, 0.5); border-radius: 999px; padding: 2px 9px;
  vertical-align: 2px;
}

/* 点赞小号版：列表右下角与详情页 meta 共用，图标缩一号不抢内容 */
.like-btn.sm {
  padding: 2px 8px; gap: 2px;
  font-size: 10.5px; line-height: 1.5;
}
.like-btn.sm b { font-size: 10.5px; }
.like-btn.sm .lk-ico { font-style: normal; font-size: 11px; transform: scale(0.92); }
.like-btn.sm.on { animation: likePop 0.25s ease; }
.article-meta .like-btn.sm { position: static; vertical-align: middle; }

/* 评论任务引导（方案A：游戏任务卡）——闲逛60s弹出，今天评论过不再弹 */
#cmtQuest {
  position: fixed; left: 14px; bottom: 118px; right: 90px; z-index: 960;
  background: linear-gradient(150deg, #241d10, #14100a);
  border: 1px solid rgba(201, 168, 106, 0.55);
  border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  animation: quest-pop .45s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes quest-pop { from { transform: translateY(16px) scale(.92); opacity: 0 } }
#cmtQuest .quest-tag {
  display: inline-block; background: linear-gradient(120deg, #c9a86a, #e2c185);
  color: #1a1508; font-size: 10px; font-weight: 800;
  padding: 2px 9px; border-radius: 999px; letter-spacing: 1px; margin-bottom: 7px;
}
#cmtQuest .quest-t { color: #f0d48a; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
#cmtQuest .quest-d { color: #cfc4a6; font-size: 11.5px; line-height: 1.65; margin-bottom: 10px; }
#cmtQuest .quest-d em { color: #f0d48a; font-style: normal; font-weight: 700; }
#cmtQuest .quest-btns { display: flex; gap: 8px; align-items: center; }
#cmtQuest .q-go {
  flex: 1; background: linear-gradient(120deg, #c9a86a, #e2c185); color: #1a1508;
  font-size: 13px; font-weight: 800; border: 0; border-radius: 9px; padding: 9px 0;
}
#cmtQuest .q-no { background: transparent; border: 0; color: #8a8069; font-size: 11px; padding: 0 4px; }

/* 人气感三件套（真实数据驱动） */
.pop-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; color: #f0d48a;
  background: rgba(201, 168, 106, 0.14);
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: 999px; padding: 3px 9px; white-space: nowrap;
}
.pop-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #e0641f; animation: pop-blink 1.2s infinite;
}
@keyframes pop-blink { 50% { opacity: .25 } }
.watching {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: #b3502a;
  background: rgba(224, 100, 31, 0.09);
  border-radius: 999px; padding: 2px 9px;
}
#popTicker {
  position: fixed; left: 12px; right: 12px; bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  z-index: 85; background: rgba(20, 16, 10, 0.92);
  border: 1px solid rgba(201, 168, 106, 0.35); border-radius: 999px;
  padding: 8px 14px; color: #d8cba8; font-size: 11.5px; line-height: 1.4;
  display: flex; align-items: center; text-align: center; justify-content: center;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
#popTicker.show { opacity: 1; transform: translateY(0); }
#popTicker em { color: #f0d48a; font-style: normal; font-weight: 700; }
/* 感谢老板打赏：文案可能两行，胶囊改成圆角矩形，重点人物描金 */
#popTicker.thx { border-radius: 14px; padding: 9px 14px; }
#popTicker.thx .pop-thx { line-height: 1.5; }
#popTicker.thx .pop-thx b { color: #f0d48a; font-weight: 700; }

/* 后台 · 用户建议：一键给分 */
.fb-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }

/* 后台 · 评论管理：内容在上、元信息在下，疑似导流专区优先 */
.cmt-zone-title { margin: 18px 0 10px; font-size: 15px; color: #a97f1c; }
.cmt-row.cmt-pending { border-left: 3px solid #d9b45c; }
/* 后台评论分组：帖子标题做组头，评论挂组内 */
.cmt-g-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  padding: 4px 0 10px; margin-bottom: 4px;
  border-bottom: 1px dashed rgba(201, 168, 106, 0.4);
}
.cmt-g-head b { font-size: 15px; color: #6b4a12; }
.cmt-g-head span { font-size: 12px; color: #918a7c; }
/* 新评论红标 */
.cmt-new {
  display: inline-block; padding: 0 7px; margin-right: 6px;
  border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.7;
  color: #fff; background: #c0392b; vertical-align: 2px;
}
.cmt-body { display: flex; align-items: flex-start; gap: 10px; }
.cmt-chk { width: 17px; height: 17px; margin-top: 4px; flex: 0 0 auto; accent-color: #a97f1c; cursor: pointer; }
.cmt-main { flex: 1 1 auto; min-width: 0; }
.cmt-content { font-size: 15px; font-weight: 600; color: #3a3226; word-break: break-word; line-height: 1.6; }
.cmt-meta2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 7px; font-size: 12px; color: #918a7c; }
.cmt-src { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cmt-flag {
  padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: #8a5a1e; background: rgba(201, 168, 106, 0.18);  border: 1px solid rgba(201, 168, 106, 0.5);
}
.cmt-ops { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; }
/* 官评徽章：水军评论（uid=seed_*），局长可后台直接改内容 */
.cmt-seed {
  padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: #0e6b58; background: rgba(14, 107, 88, 0.1); border: 1px solid rgba(14, 107, 88, 0.45);
}
/* 后台楼中楼：子回复缩进挂主评论下 */
.cmt-kids-adm { margin: 6px 0 0 26px; padding-left: 10px; border-left: 2px dashed rgba(201, 168, 106, 0.5); }
.cmt-kids-adm .cmt-row { background: #faf5e6; }
.cmt-att {
  display: inline-block; margin-right: 6px; font-size: 12px; font-weight: 700;
  color: #b3502a; background: rgba(224, 100, 31, 0.08); border-radius: 6px; padding: 0 6px;
}
.fb-btns .btn-sm { padding: 3px 10px; font-size: 12px; }
.fb-btns .fb-note { flex-basis: 100%; font-size: 11px; color: #918a7c; }
.fb-awarded {
  padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: rgba(201, 168, 106, 0.18); color: #b3821f; border: 1px solid rgba(201, 168, 106, 0.5);
}

/* 进站欢迎海报 */
.poster-mask { z-index: 1000; }
.poster {
  position: relative; width: 100%; max-width: 340px;
  background: linear-gradient(165deg, #1a150c, #0f0c07);
  border: 1px solid rgba(201, 168, 106, 0.55);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.75);
}
.poster-x {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(240, 230, 204, 0.35);
  background: rgba(10, 8, 5, 0.6); color: #e8dcc0;
  font-size: 14px; line-height: 1; cursor: pointer;
}
.poster-img { display: block; width: 100%; height: auto; }
.poster-body { padding: 14px 16px 16px; }
.poster-t {
  text-align: center; font-family: var(--serif); font-size: 17px; font-weight: 700;
  color: #f0e6cc; letter-spacing: 2px; margin-bottom: 10px;
}
.poster-row {
  display: flex; align-items: baseline; gap: 8px;
  padding: 6px 0; border-bottom: 1px dashed rgba(201, 168, 106, 0.22);
}
.poster-row:last-of-type { border-bottom: 0; }
.poster-row b {
  flex: 0 0 62px; font-size: 12.5px; color: #c9a86a; letter-spacing: 1px;
}
.poster-row span { font-size: 12px; color: #b9ad91; line-height: 1.55; }
.poster-row.hot span b { color: #e8c87a; font-size: 13px; }
.poster-cta {
  display: block; margin-top: 12px; padding: 11px;
  text-align: center; text-decoration: none;
  border-radius: 10px; font-size: 14.5px; font-weight: 800; letter-spacing: 1px;
  color: #241d10; background: linear-gradient(135deg, #e8d5a0, #c9a86a);
}
.poster-skip {
  display: block; margin: 8px auto 0; padding: 4px 10px;
  border: 0; background: none; color: #8b8271; font-size: 12px; cursor: pointer;
}

/* ---------------- 左下角四轮流播引导（评论/看详情/会员/打赏） ---------------- */
.tip-pod {
  position: fixed; left: 10px; bottom: 64px; width: 240px; z-index: 960;
  background: #2a2115; border: 1px solid #6a5631; border-radius: 14px;
  padding: 0 12px 11px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  color: #f2e9d3;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.tip-pod.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tp-banner {
  margin: 0 -12px 9px; height: 62px; border-radius: 13px 13px 0 0;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.tp-banner::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 8px, transparent 8px 16px);
}
.tp-emoji { font-size: 30px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35)); }
.tp-brand {
  position: absolute; left: 9px; top: 6px; font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,0.75); letter-spacing: 2px;
}
.tp-banner.b-cmt { background: linear-gradient(135deg, #e8a13f, #c96f2a); }
.tp-banner.b-view { background: linear-gradient(135deg, #4f8fb8, #2f5f86); }
.tp-banner.b-vip  { background: linear-gradient(135deg, #c9a86a, #8a6428); }
.tp-banner.b-tip  { background: linear-gradient(135deg, #d96a5a, #a8433a); }
.tp-x {
  position: absolute; right: 7px; top: 66px; width: 26px; height: 26px;
  border: 0; background: transparent; color: #8e8266; font-size: 17px; line-height: 1;
}
.tp-title { font-size: 13px; font-weight: 800; color: #e8c983; }
.tp-body { font-size: 11.5px; line-height: 1.6; color: #d8cdb4; margin-top: 3px; }
.tp-body b { color: #fff; }
.tp-cta {
  margin-top: 7px; border: 0; border-radius: 999px; padding: 6px 15px;
  background: linear-gradient(135deg, #e8c983, #b3893f); color: #17120a;
  font-size: 12px; font-weight: 800;
}
.tp-prog { display: flex; gap: 4px; margin-top: 9px; }
.tp-prog i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(232, 201, 131, 0.25); }
.tp-prog i.on { background: #e8c983; }

/* 项目阁评论条：与其它板块同款虚线条，挂在图片卡下方 */
.proj-cmt {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 7px; padding: 8px 10px;
  border: 1px dashed rgba(201, 168, 106, 0.45); border-radius: 9px;
  background: rgba(201, 168, 106, 0.08);
  font-size: 12px; color: #6b5a33;
}
.proj-cmt b { color: #a97f1c; }
.proj-cmt.has { border-style: solid; background: rgba(201, 168, 106, 0.12); }
