/* ================= 每日时讯 NEWSMO - 主样式 ================= */
:root {
  --primary: #d40f19;
  --primary-soft: rgba(212, 15, 25, .08);
  --primary-grad: linear-gradient(135deg, #d41c2a, #b00b13);
  --brand-pink: #f2a79e;
  /* v7.9 第 1 项：日间全局底色由浅灰改为纯白。
     以前 body 是 #f4f5f7，只有「秋季 Hero 的首页」被单独压成白色，
     其余页面（热榜、视频、活动/专题/时讯号、夜间以外的各种浮层）都还垫着一层灰，
     白卡片落在灰底上会显得发脏，跟你要求的「所有页面背景为白色」不一致。
     ⚠ 连带影响：下面两处原本靠「浅灰 vs 纯白」的对比做视觉反馈，
     底色变白后就失效了，必须用半透明的 --hover 顶上（见各自注释）。 */
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1a1a1a;
  /* v4.0 回归：原 #9295a0 压在白卡上只有 2.99:1，信息行（来源/时间/要闻条）偏虚，
     压到 4.68:1 过 WCAG AA；深色模式的值单独保留（那边本来就够 4.8:1）。 */
  --text2: #71747b;
  --text3: #55585f;
  --line: #eef0f3;
  --chip: #f2f3f5;
  /* 悬停/轻底色：必须用半透明，这样盖在 card 或 bg 上都能成立，
     不用为每种底色单独写一套值（v4.0 回归时发现这里漏定义，导致 4 处 hover 无底色） */
  --hover: rgba(20, 22, 30, .05);
  --shadow: 0 2px 12px rgba(20, 22, 30, .06);
  --radius: 6px;
}
[data-theme="dark"] {
  --bg: #0e0e10;
  --card: #1b1c1f;
  --text: #eceef2;
  --text2: #85888f;
  --text3: #b9bcc4;
  --line: #282a2e;
  --chip: #26282c;
  --hover: rgba(255, 255, 255, .07);
  --shadow: 0 2px 12px rgba(0, 0, 0, .4);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px;
  transition: background .25s, color .25s;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 0; height: 0; }
.hide { display: none !important; }

/* v4.0：界面上大量入口用 emoji 当图标（左栏导航、平台服务等）。
   部分 Linux 环境默认字体里没有彩色 emoji，会渲染成「豆腐块」方框。
   这里为这些图标节点补一套 emoji 字体栈兜底，保证跨环境都能显示出来。 */
/* v7.3 第 8 项：左侧导航已改用线性 SVG，不再是 emoji，从字体栈里摘出去 */
.tb-ico, .vf-hero-ico, .vr-ico, .pc-ico, .eb-ico, .og-logo, .ogh-logo,
.side-card h5, .ml-ico {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
               "Segoe UI Symbol", "Android Emoji", "EmojiOne Color", sans-serif;
}

/* ---------------- 骨架 ---------------- */
#app { max-width: 100%; margin: 0 auto; min-height: 100vh; padding-bottom: 64px; position: relative; }
.layout { max-width: 1280px; margin: 0 auto; display: block; }
.side-left, .side-right { display: none; }
.feed-wrap { max-width: 660px; margin: 0 auto; }

/* ---------------- 顶栏 ----------------
   v4.0 第 6 项：顶栏内容区必须与 Hero 下的频道导航栏严格对齐。
   两者同为 1240px 居中容器 + 16px 内边距，这样 .brand 与第一个频道、
   .tb-right 与频道栏最右端都落在同一条竖线上。 */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  max-width: 1272px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.brand-logo {
  width: 32px; height: 32px; border-radius: 50%;
  background: url("../icons/logo.png") center/contain no-repeat;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(212, 15, 25, .28);
}
.brand-text {
  font-size: 19px; font-weight: 800; letter-spacing: -.4px;
  background: var(--primary-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
/* 窄屏且顶栏叠在 Hero 上（.hero 在 <1000px 是 display:none，所以这里只对
   769~999px「顶栏半透明 + Hero 隐藏」那档生效）时，品牌字仍要显白。
   否则渐变文字被裁在一个透明底上，渲染成一个实心红方块（v4.0 实测：768px 视口）。 */
@media (max-width: 999px) {
  body.has-hero:not(.hero-out) .topbar .brand-text {
    background: none; -webkit-text-fill-color: #fff; color: #fff;
    text-shadow: 0 1px 3px rgba(90, 0, 0, .45);
  }
  /* 窄屏顶栏后面是节日的红底/半透明搜索框：给文字和图标压一层投影，
     否则品牌字与月亮按钮在红金背景上边界发虚。 */
  body.has-hero:not(.hero-out) .topbar .brand-logo { box-shadow: 0 0 0 2px rgba(255, 226, 130, .9), 0 3px 10px rgba(60, 0, 0, .35); }
  body.has-hero:not(.hero-out) .topbar .theme-btn { color: #fff; }
}
/* v6.0 第 3 项：下拉后顶栏固定白底。
   这一段刻意写在所有媒体查询之外，手机（<1000px）与 PC 共用同一份 ——
   原先只写在 ≥1000px 里，手机上仍跟着主题走，夜间模式下拉是一条深色条，
   跟「下拉变白底」的预期不符。
   白底之后顶栏内部必须按亮色取色，否则夜间模式的浅灰字会直接糊在白底上，
   所以把文字/线条/浅底三个变量在顶栏作用域内改写成亮色值。 */
body.has-hero.hero-out .topbar {
  background: #fff;
  border-bottom: 1px solid rgba(20, 22, 30, .09);
  box-shadow: 0 1px 6px rgba(20, 22, 30, .06);
  --text3: #55585f;
  --text2: #6b7078;
  --line: rgba(20, 22, 30, .14);
  --chip: #f0f1f3;
}
/* 白底上品牌字必须回到「实心红」。
   ⚠️ 这里绝不能用渐变文字那套：渐变文字 = background-clip:text + 透明字色，
   一旦 background-clip 被后续规则降级回 border-box（实测：窄屏手机在
   has-hero.hero-out 组合下就是如此），红色渐变会原样填满整个盒子，
   四个字直接糊成一块红方块 —— 比「看不见」更糟。
   本规则位于全局段，特异性 (0,3,1) 高于任何 body.has-hero .topbar .brand-text
   （(0,3,1) 同权则靠后者在前取胜），因此不会被 848 行起的断点段翻回去。 */
body.has-hero.hero-out .topbar .brand-text {
  background: none !important;
  -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: var(--primary); color: var(--primary);
  text-shadow: none;
}
body.has-hero.hero-out .topbar .brand-logo { box-shadow: 0 2px 8px rgba(212, 15, 25, .28); }
body.has-hero.hero-out .topbar .theme-btn { color: var(--text3); }
.searchbar {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px;
  background: var(--chip); border-radius: 17px; height: 34px; padding: 0 12px;
  color: var(--text2); font-size: 13.5px; cursor: pointer;
}
/* 全局线性图标（24×24 描边风格） */
[data-icon] > svg { display: block; width: 100%; height: 100%; }
[data-icon] > svg path,
[data-icon] > svg circle,
[data-icon] > svg rect {
  stroke: currentColor; stroke-width: 1.75; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
[data-icon] > svg .solid { fill: currentColor; stroke: none; }
.s-ico { display: block; width: 17px; height: 17px; opacity: .75; flex-shrink: 0; }
.tm-ico { display: block; width: 20px; height: 20px; }
.dl-ico { display: block; width: 15px; height: 15px; }
.tabbar button.active .tb-ico > svg path,
.tabbar button.active .tb-ico > svg circle,
.tabbar button.active .tb-ico > svg rect { stroke-width: 2.15; }

.searchbar .s-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-btn { padding: 7px; border-radius: 50%; display: flex; }
.theme-btn:active { background: var(--chip); }
.th-ico { display: block; width: 22px; height: 22px; }
.th-ico svg { display: block; width: 100%; height: 100%; }
.th-ico svg path, .th-ico svg circle {
  stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* 顶栏右侧组：PC 专属元素默认隐藏 */
.tb-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.searchbar .s-btn,
.btn-write, .btn-app, .tb-user, .msg-host { display: none; }

/* v4.1：频道栏吸顶位置改为「顶栏高度 + 跑马灯高度」两个变量相加，
   —— 顶栏 52px(窄屏) / 60px(PC) 由 --bar-h 跟随断点，
      --ticker-h 由 JS 在跑马灯挂载后写入实测高度（没跑马灯时是 0）。
   这样窄屏多出一条跑马灯时频道栏自动下移，PC 上跑马灯在 Hero 内、不占这条线，
   下拉时频道栏始终紧贴顶栏下沿，不会漏出正文缝隙。 */
:root { --bar-h: 52px; --ticker-h: 0px; }
@media (min-width: 1000px) { :root { --bar-h: 60px; } }

/* ---------------- 频道 tabs ---------------- */
.tabs-wrap { position: sticky; top: calc(var(--bar-h) + var(--ticker-h)); z-index: 29; background: var(--card); border-bottom: 1px solid var(--line); max-width: 1280px; margin: 0 auto; }
/* 兜底：极老内核不支持 calc 作为 sticky top 时退回固定值，不至于完全错位 */
@supports not (top: calc(1px + 1px)) {
  .tabs-wrap { top: 52px; }
  @media (min-width: 1000px) { .tabs-wrap { top: 60px; } }
}
/* v7.11 第 2 项：手机端（≤999px）Hero 被隐藏，跑马灯退到频道栏上方并随内容滚走。
   原 calc(顶栏高 + 跑马灯高) 让频道栏吸在「顶栏 + 跑马灯」的位置，
   跑马灯还没滚出顶栏下沿时，频道栏与顶栏之间就永远挂着一条 ≈40px 的空隙（空袭）。
   窄屏直接让频道栏吸顶位置 = 顶栏高，下拉时频道栏紧贴顶栏下沿，两者连成一体。 */
@media (max-width: 999px) {
  .tabs-wrap { top: var(--bar-h); }
}
.tabs { display: flex; align-items: center; height: 46px; }
.tabs-scroll { flex: 1; display: flex; gap: 20px; padding: 0 12px; overflow-x: auto; scroll-behavior: smooth; }
.tab {
  font-size: 17px; color: var(--text3); height: 46px; line-height: 46px;
  position: relative; white-space: nowrap; flex-shrink: 0; transition: color .15s;
  cursor: pointer; padding: 0; -webkit-user-select: none; user-select: none;
  font-weight: 700; /* v7.33：频道导航栏所有频道加粗 */
}
.tab.active { color: var(--primary); font-weight: 700; font-size: 17.5px; }
/* 深色模式下品牌红压在深色卡片上只有 3.15 对比度，选中频道改用亮红。
   选择器要带 .tabs-wrap：否则压不过 @media 里的 body.has-hero .tab.active（0,3,1 > 0,3,0）。 */
[data-theme="dark"] .tabs-wrap .tab.active { color: #ff5258; }
[data-theme="dark"] .tabs-wrap .tab.active::after { background: #ff5258; }
.tab.active::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  width: 20px; height: 3px; border-radius: 2px; background: var(--primary);
}
.tabs-more { padding: 0 12px; color: var(--text3); flex-shrink: 0; border-left: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; }
/* v3.2：「更多」下拉改成浮层，右边缘由 JS 对齐到中间文章栏的右边缘；
   宽度随文章栏自适应，超出 Service 宽度时不越界。 */
.channel-panel {
  display: none; position: absolute; top: calc(100% - 1px); left: auto; right: 0; z-index: 30;
  background: var(--card); padding: 14px 16px 18px;
  border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 34px rgba(20, 22, 30, .14);
}
.channel-panel.open { display: block; animation: cpDrop .16s ease both; }
@keyframes cpDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.channel-panel h4 { font-size: 13px; color: var(--text2); font-weight: 500; margin-bottom: 12px; }
.channel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cg-item { background: var(--chip); border-radius: 8px; text-align: center; padding: 9px 0; font-size: 14px; border: none; cursor: pointer; user-select: none; font-weight: 700; } /* v7.33：更多下拉内频道同样加粗 */
.cg-item.active { color: var(--primary); font-weight: 700; background: var(--primary-soft); }

/* ---------------- 信息流 ---------------- */
.feed-wrap { min-height: 70vh; }
/* v7.6 第 6 项：卡片之间的 1px 分隔线取消。
   原来靠这条线把一条条新闻切开，现在整条信息流要连成一片，
   改用更宽的上下留白（14px → 18px）承担「这条到哪儿结束」的分隔作用。 */
.card { background: var(--card); padding: 18px 16px; border-bottom: 0; }
.card { animation: fadeUp .28s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.card-title {
  font-size: 17.5px; line-height: 1.42; font-weight: 600; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title .tag-hot { color: var(--primary); font-weight: 800; }
.card-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12.5px; color: var(--text2); }
/* 窄屏防挤压：条目不换行、单个字段内部也不被折成两行 */
.card-meta > span, .card-meta > .cm-src { white-space: nowrap; flex-shrink: 0; }
/* 来源名过长时优先压缩来源，保住评论数/时间完整可读 */
.card-meta .cm-src { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; max-width: 42%; }
/* 左侧图文卡里信息行更窄，适当收紧间距 */
.card-row .card-meta { gap: 8px; font-size: 12px; }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text2); opacity: .6; }
.card-meta .dislike { margin-left: auto; padding: 2px 6px; font-size: 14px; }
/* v7.47：左文右图卡等高拉伸 —— 标题与右侧缩略图**上边缘**齐平，
   标题下的作者行与缩略图**下边缘**齐平（左列 space-between 顶到底）。 */
.card-row { display: flex; gap: 12px; align-items: stretch; }
.card-row .card-left {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
/* v7.47：作者信息行（头像 + 认证标 + 时间 + 阅读量） */
.card-meta.cm-v2 { gap: 6px; margin-top: 8px; }
.card-meta .cm-av {
  width: 18px; height: 18px; border-radius: 50%; background: var(--chip); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff;
  overflow: hidden; cursor: pointer;
}
.card-meta .cm-av img { width: 100%; height: 100%; object-fit: cover; }
.card-meta .cm-name { font-size: 12.5px; color: var(--text2); cursor: pointer; max-width: 32%; overflow: hidden; text-overflow: ellipsis; }
.card-meta .cm-sep { opacity: .5; }
.card-meta .cm-name + svg, .card-meta .cm-name + .v-badge { flex-shrink: 0; }
/* 窄屏：作者行更紧凑，保证「头像+认证标+时间+阅读量」一行放得下 */
@media (max-width: 999px) {
  .card-meta.cm-v2 { gap: 5px; font-size: 11.5px; }
  .card-meta .cm-av { width: 16px; height: 16px; }
  .card-meta .cm-name { max-width: 24%; font-size: 11.5px; }
  /* 窄屏放不下右侧「不感兴趣」×，隐藏以免把作者行挤出行外 */
  .card-meta.cm-v2 .dislike { display: none; }
}
.card-thumb { width: 116px; height: 78px; object-fit: cover; border-radius: 5px; background: var(--chip); flex-shrink: 0; }
.card-imgs { display: flex; gap: 5px; margin-top: 10px; }
.card-imgs img { flex: 1; width: 0; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; background: var(--chip); }
.card-bigimg { width: 100%; aspect-ratio: 16 / 8.6; object-fit: cover; border-radius: 6px; margin-top: 10px; background: var(--chip); }

/* 视频 */
.video-box { position: relative; margin-top: 10px; border-radius: 6px; overflow: hidden; background: var(--chip); }
.video-box img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-box .play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, .8);
}
.video-box .play-btn::after {
  content: ""; border-style: solid; border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff; margin-left: 3px;
}
.video-box .duration {
  position: absolute; right: 7px; bottom: 7px; background: rgba(0, 0, 0, .62);
  color: #fff; font-size: 11.5px; padding: 2px 7px; border-radius: 3px; letter-spacing: .3px;
}

/* 短内容卡（快讯 / 微言） */
.card-post .post-head { display: flex; align-items: center; gap: 10px; }
.card-post .pa-av {
  width: 38px; height: 38px; border-radius: 50%; background: var(--chip); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 19px; overflow: hidden; cursor: pointer;
}
.card-post .pa-av img { width: 100%; height: 100%; object-fit: cover; }
.card-post .post-head > div { min-width: 0; flex: 1; }
.card-post .post-head .p-name { display: flex; align-items: center; gap: 4px; }
.avatar {
  border-radius: 50%; color: #fff; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
/* v6.0 第 1 项：头像一律可能是图片（上传）也可能是 emoji 字符，容器统一兜住 img */
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mine-list .ml-item .ml-ico { overflow: hidden; border-radius: 50%; }
.mine-list .ml-item .ml-ico img { width: 100%; height: 100%; object-fit: cover; }
.card-post .p-name { font-size: 15px; font-weight: 600; }
.card-post .p-time { font-size: 12px; color: var(--text2); margin-top: 1px; }
.post-text { margin-top: 9px; font-size: 16.5px; line-height: 1.6; }
.post-imgs { display: flex; gap: 5px; margin-top: 10px; }
.post-imgs img { flex: 1; width: 0; aspect-ratio: 1; object-fit: cover; border-radius: 5px; background: var(--chip); }
.post-actions { display: flex; margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--line); }
.post-actions button { flex: 1; font-size: 13px; color: var(--text2); display: flex; align-items: center; justify-content: center; gap: 5px; padding: 3px 0; }
.post-actions button.liked { color: var(--primary); }
.pa-ico { display: block; width: 16px; height: 16px; flex-shrink: 0; }
.post-actions button.liked [data-icon] > svg path { stroke: var(--primary); }
.cm-src { max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 加载更多 */
.loadmore { text-align: center; padding: 20px 0 26px; color: var(--text2); font-size: 13px; }
.spinner {
  width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--primary);
  border-radius: 50%; margin: 0 auto 8px; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- 底部导航（对齐头条 App：50px 高，线性图标 25px，11px 文字） ---------------- */
.tabbar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 660px; z-index: 35;
  display: flex; align-items: stretch; height: 50px;
  background: var(--card); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -1px 8px rgba(20, 22, 30, .06);
}
/* v3.4：全屏页（详情 / 发布等）打开时收起底部导航，
   否则手机上它会和详情页固定在底部的评论输入框叠在一起 */
body.page-open .tabbar { display: none; }
.tabbar button {
  flex: 1; min-width: 0; height: 50px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 11px; color: #979aa2; transition: color .15s; letter-spacing: .2px;
}
.tabbar button > span:last-child { line-height: 1.15; }
.tabbar button.active { color: var(--primary); font-weight: 600; }
.tabbar .tb-ico { display: block; width: 25px; height: 25px; }

/* 中间发布按钮：红色圆形上凸 */
.tabbar .fab { flex: 0 0 74px; position: relative; }
.tabbar .fab i {
  position: absolute; left: 50%; top: -14px; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; line-height: 0;
  box-shadow: 0 5px 14px rgba(212, 15, 25, .42);
  transition: transform .12s;
}
.tabbar .fab i svg { width: 26px; height: 26px; }
.tabbar .fab:active i { transform: translateX(-50%) scale(.92); }

/* ---------------- 浮层页面 ---------------- */
.page {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  animation: slideIn .26s cubic-bezier(.3,.8,.3,1) both;
}
@keyframes slideIn { from { transform: translateX(100%); opacity: .4; } to { transform: none; opacity: 1; } }
.page-inner { max-width: 660px; margin: 0 auto; background: var(--card); min-height: 100%; padding-bottom: 80px; }
.navbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 12px; background: var(--card); border-bottom: 1px solid var(--line);
}
.navbar .back { font-size: 20px; padding: 4px 8px; line-height: 1; }
.navbar .n-title { flex: 1; font-weight: 600; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.navbar .n-act { font-size: 18px; padding: 4px 6px; color: var(--text2); }
.navbar .n-act.n-save { font-size: 14px; font-weight: 700; color: var(--primary); }
.navbar .n-act.n-save:disabled { opacity: .5; }

/* 详情 */
.detail-body { padding: 18px 16px 24px; }
/* PC 专属的详情页左右栏，移动端不显示 */
.detail-ops, .detail-aside { display: none; }
/* 个人主页 PC 右栏已按 v4.0 第 8 项移除，这里保留隐藏兜底 */
.uh-aside { display: none; }
/* 手机端个人主页：作品流贴边（头部有底色所以要满宽），列表区给内边距 */
.uh-cols { padding: 0 0 20px; }
.detail-title { font-size: 23px; line-height: 1.45; font-weight: 700; letter-spacing: -.2px; }
.detail-meta { margin-top: 14px; font-size: 12.5px; color: var(--text2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.detail-meta .d-src { color: var(--primary); font-weight: 600; }
.author-bar { display: flex; align-items: center; gap: 10px; margin: 16px 0 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-bar .a-name { font-size: 15px; font-weight: 600; }
.author-bar .a-sub { font-size: 12px; color: var(--text2); margin-top: 2px; }
.author-bar[data-author] { cursor: pointer; }
.ab-av { width: 42px; height: 42px; border-radius: 50%; background: var(--chip); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
  overflow: hidden; flex-shrink: 0; }
.ab-av img { width: 100%; height: 100%; object-fit: cover; }
.follow-btn { margin-left: auto; background: var(--primary); color: #fff; font-size: 13px; padding: 7px 17px; border-radius: 16px; }
.follow-btn.done { background: var(--chip); color: var(--text2); }
.detail-para { font-size: 17.5px; line-height: 1.82; margin: 16px 0; }
.detail-fig { margin: 16px 0; }
.detail-fig img { width: 100%; border-radius: 6px; background: var(--chip); }
.detail-fig figcaption { font-size: 12.5px; color: var(--text2); margin-top: 8px; text-align: center; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.detail-tags span { background: var(--chip); color: var(--text3); font-size: 12.5px; padding: 6px 13px; border-radius: 15px; }
/* v7.21 第 1 项：正文为空时的兜底占位（老数据没有正文，以前是一片空白） */
.detail-empty { padding: 26px 0; text-align: center; color: var(--text2); font-size: 14px; }
/* v7.21 第 1 项：编辑器插入的图片按正文宽度自适应（原来只认 .detail-fig 包裹的图） */
.detail-para img, #dp-body > img { max-width: 100%; height: auto; border-radius: 6px; margin: 10px 0; display: block; }
.detail-para figure { margin: 16px 0; }
.detail-para a { color: var(--primary); text-decoration: underline; }
/* v7.22 第 1/3 项：作者插的 <figure><img> 不再被 <p> 吞掉，这里给 #dp-body 下
   所有图片统一兜底（figure 自身以及多层嵌套两种情况都覆盖到），图不会撑破栏宽 */
#dp-body figure { margin: 16px 0; }
#dp-body img { max-width: 100%; height: auto; border-radius: 6px; display: block; margin: 10px auto; background: var(--chip); }
.bar-title { display: flex; align-items: center; gap: 8px; font-size: 16.5px; font-weight: 700; padding: 18px 0 6px; }
.bar-title::before { content: ""; width: 3px; height: 15px; border-radius: 2px; background: var(--primary); }

/* 评论 */
.cmt-list { padding: 4px 0; }
.cmt { display: flex; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cmt:last-child { border-bottom: none; }
.cmt-main { flex: 1; min-width: 0; }
.cmt-nick { font-size: 13.5px; color: var(--text3); display: flex; align-items: center; gap: 6px; }
.cmt-lv { font-size: 10px; background: var(--primary-soft); color: var(--primary); padding: 1px 5px; border-radius: 3px; }
.cmt-text { font-size: 15px; line-height: 1.55; margin-top: 5px; }
.cmt-foot { font-size: 12px; color: var(--text2); margin-top: 7px; display: flex; gap: 16px; }
.cmt-like.up { color: var(--primary); }

/* 输入栏 */
/* v7.8 第 1 项：发布框改成「文内流式」，紧跟在正文下方。
   原来是 position:fixed 钉在视口底部（手机尤其明显，会浮在文章内容上面），
   需求明确要它落在文章下面，所以这里彻底撤掉 fixed / translateX 那一套：
   现在它就是正文里的一个块，跟着文章一起滚。 */
.cmt-bar {
  position: static; display: flex; align-items: center; gap: 10px;
  margin: 18px 0 4px; padding: 11px 12px;
  background: var(--chip); border: 1px solid var(--line); border-radius: 10px;
}
.cmt-bar input { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 17px; height: 36px; padding: 0 15px; font-size: 14px; color: var(--text); }
.cmt-bar .send { background: var(--primary); color: #fff; font-size: 13.5px; padding: 8px 16px; border-radius: 17px; }
.cmt-bar .send:disabled { opacity: .45; }
/* 发布框不再是 fixed，页尾没必要再留 80px 给「悬浮输入框 + tabbar」躲让 */
#detailPage .page-inner { padding-bottom: 28px; }

/* 热榜 */
.hot-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.hot-rank { width: 22px; text-align: center; font-size: 16px; font-weight: 700; font-family: Georgia, serif; color: var(--text2); flex-shrink: 0; }
.hot-item:nth-child(1) .hot-rank { color: #f5222d; }
.hot-item:nth-child(2) .hot-rank { color: #fa8c16; }
.hot-item:nth-child(3) .hot-rank { color: #faad14; }
.hot-title { flex: 1; font-size: 16px; line-height: 1.4; }
.hot-heat { font-size: 12px; color: var(--text2); flex-shrink: 0; }
.hot-badge { font-size: 10px; background: var(--primary); color: #fff; padding: 1px 4px; border-radius: 2px; margin-right: 5px; vertical-align: 2px; }

/* 我的 */
.mine-head { background: var(--primary-grad); padding: 30px 20px 26px; color: #fff; }
.mine-head .m-row { display: flex; align-items: center; gap: 14px; }
.mine-head .m-avatar { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; border: 2px solid rgba(255,255,255,.6); }
.mine-head .m-name { font-size: 19px; font-weight: 700; }
.mine-head .m-sub { font-size: 12.5px; opacity: .88; margin-top: 5px; }
.mine-stat { display: flex; margin-top: 22px; }
.mine-stat div { flex: 1; text-align: center; }
.mine-stat b { display: block; font-size: 17px; }
.mine-stat span { font-size: 12px; opacity: .85; }
.mine-list { background: var(--card); margin-top: 10px; }
.mine-list .ml-item { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.mine-list .ml-item .ml-ico { flex-shrink: 0; width: 20px; height: 20px; }
.mine-list .ml-item .arrow { margin-left: auto; color: var(--text2); font-size: 15px; }

/* 发布 */
.pub-body { padding: 18px 16px; }
.pub-body textarea {
  width: 100%; min-height: 150px; font-size: 17px; line-height: 1.6;
  resize: none; background: transparent;
}
.pub-types { display: flex; gap: 8px; margin-bottom: 16px; }
.pub-types .pt {
  flex: 1; padding: 10px 0; border-radius: 20px; font-size: 14px; font-weight: 600;
  background: var(--chip); color: var(--text3);
}
.pub-types .pt.active { background: var(--primary-soft); color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.pub-title {
  width: 100%; font-size: 17px; font-weight: 600; padding: 12px 0;
  border-bottom: 1px solid var(--line); background: transparent; margin-bottom: 4px;
}
.pub-title::placeholder { font-weight: 400; color: var(--text2); }
.pub-row { display: flex; gap: 10px; align-items: center; }
.pub-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.pub-imgs .pi { position: relative; padding-top: 100%; border-radius: 8px; overflow: hidden; background: var(--chip); }
.pub-imgs .pi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pub-imgs .pi .del {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 13px; line-height: 20px; text-align: center; z-index: 2;
}
.pub-imgs .pi.add {
  display: flex; align-items: center; justify-content: center; padding-top: 0; min-height: 96px;
  border: 1px dashed var(--line); font-size: 24px; color: var(--text2); background: transparent;
}
.pub-tools { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); margin-top: 12px; font-size: 13px; color: var(--text3); flex-wrap: wrap; }
.pub-tools button { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text3); }
.pub-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pub-cats span { background: var(--chip); color: var(--text3); font-size: 13px; padding: 6px 13px; border-radius: 15px; cursor: pointer; user-select: none; }
.pub-cats span.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
/* v7.21 第 2 项：多选频道 —— 选中态带一个小勾，让「可以多选」这件事一眼可见 */
.pub-cats span.on::before { content: "✓ "; font-weight: 700; }
.pub-cats span:hover { background: var(--primary-soft); color: var(--primary); }
/* v7.21 第 2 项：多选提示文案 */
.pub-cat-tip { font-size: 12.5px; color: var(--text2); margin-top: 8px; }

/* ==========================================================================
   v7.20 第 2 项：文章发布页改「图片模式」左右分栏
   · 左栏：封面卡片（预览）+ 新建内容 + 历史版本，对应公众号左侧那一列
   · 右栏：标题 / 作者 / 摘要 / 工具栏 / 正文编辑区
   窄屏（<760px）自动回落成上下堆叠，编辑器仍在下方，不影响手机上写稿。
   ========================================================================== */
.wp-split {
  display: flex; gap: 26px; align-items: flex-start;
}
.wp-left { width: 230px; flex: none; }
.wp-right { flex: 1; min-width: 0; }
.wp-covcard {
  background: var(--chip); border-radius: 10px; padding: 12px 12px 14px;
  position: sticky; top: 62px;
}
.wpc-label {
  display: flex; align-items: center; gap: 6px; font-size: 12.5px;
  color: var(--text2); margin-bottom: 9px;
}
.wpc-dot {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: var(--primary-soft); box-shadow: inset 0 0 0 1.5px var(--primary);
}
/* 左侧封面是竖向预览块，去掉原来的 47:20 宽比，改为贴合卡片的 3:4 竖版 */
.wp-left .wp-cover {
  aspect-ratio: 3/4; margin-bottom: 12px; border-radius: 8px;
  background: var(--card); border: 1px dashed var(--line);
}
.wp-left .wp-cover .wpc-in { font-size: 12px; line-height: 1.6; text-align: center; padding: 0 8px; }
.wp-left .wp-cover .wpc-plus { font-size: 24px; }
.wp-left .wp-cover img { object-fit: cover; }
.wpc-new {
  width: 100%; height: 36px; border-radius: 8px; background: var(--card);
  border: 1px dashed var(--line); color: var(--primary); font-size: 13.5px; font-weight: 600;
  cursor: pointer; margin-bottom: 10px;
}
.wpc-new:hover { border-color: var(--primary); background: var(--primary-soft); }
.wpc-ver { font-size: 12px; color: var(--text3); text-align: center; }
/* 右栏标题比原来大一号，更像公众号编辑区的视觉重心 */
.wp-title2 { font-size: 21px; font-weight: 700; }
.wp-author { font-size: 12.5px; color: var(--text2); margin: 8px 0 2px; }
/* 编辑区在分栏模式下给足高度，写长文不用来回滚 */
.wp-split .wp-editor { min-height: 320px; }
/* 780px 以下不再分栏：宽度不够时硬分栏两边都会窄到没法写 */
@media (max-width: 780px) {
  .wp-split { display: block; }
  .wp-left { width: auto; margin-bottom: 14px; }
  .wp-covcard { position: static; }
  .wp-left .wp-cover { aspect-ratio: 47/20; }
  .wp-title2 { font-size: 18px; }
  .wp-split .wp-editor { min-height: 220px; }
}
/* 发布页在 PC 上放宽，才放得下左右两栏 */
@media (min-width: 760px) {
  .pub-page .page-inner { max-width: 860px; }
}

/* ==========================================================================
   v7.18 公众号式文章编辑器（封面 / 富文本工具栏 / 正文区）+ 快讯·微言发布
   ========================================================================== */
.wp-cover {
  position: relative; margin-bottom: 14px; border-radius: 10px; overflow: hidden;
  background: var(--chip); border: 1px dashed var(--line); cursor: pointer;
  aspect-ratio: 47/20; display: flex; align-items: center; justify-content: center;
  transition: border-color .15s;
}
.wp-cover:hover { border-color: var(--primary); }
.wpc-in { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text3); font-size: 13px; }
.wpc-plus { font-size: 26px; line-height: 1; color: var(--primary); }
.wp-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wpc-chg {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 14px;
}
/* 摘要行：比标题小一号，视觉上不与标题抢焦点 */
.wp-sum { margin-top: 10px; font-size: 14px; font-weight: 400; }
.wp-bar {
  display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 8px; padding: 6px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.wp-bar button {
  min-width: 34px; height: 30px; padding: 0 8px; border-radius: 6px;
  background: var(--chip); color: var(--text2); font-size: 14px; line-height: 1;
}
.wp-bar button:hover { background: var(--primary-soft); color: var(--primary); }
.wp-editor {
  position: relative; min-height: 220px; padding: 4px 0 24px;
  font-size: 16px; line-height: 1.8; color: var(--text); outline: none;
}
/* contenteditable 没有 placeholder，用 :empty 伪元素兜一个 */
.wp-editor.empty:before { content: attr(data-ph); color: var(--text3); position: absolute; pointer-events: none; }
.wp-editor p { margin: 0 0 12px; }
.wp-editor h2 { font-size: 18px; font-weight: 700; margin: 18px 0 10px; }
.wp-editor h3 { font-size: 16px; font-weight: 700; margin: 16px 0 8px; }
.wp-editor blockquote {
  border-left: 3px solid var(--primary); background: var(--chip);
  padding: 10px 14px; margin: 12px 0; color: var(--text2); font-size: 15px;
}
.wp-editor ul, .wp-editor ol { padding-left: 24px; margin: 10px 0; }
.wp-editor li { margin: 4px 0; }
.wp-editor hr { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
.wp-editor img { max-width: 100%; display: block; border-radius: 8px; margin: 12px 0; }
.wp-editor figure { margin: 12px 0; }
.wp-editor a { color: var(--primary); text-decoration: underline; }
/* 快讯 / 微言二选一 */
.wp-kind { display: flex; gap: 8px; margin-bottom: 10px; }
.wp-kind span {
  background: var(--chip); color: var(--text3); font-size: 13px;
  padding: 7px 15px; border-radius: 16px; cursor: pointer;
}
.wp-kind span.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; box-shadow: inset 0 0 0 1px var(--primary); }
.wp-kind span.lock { opacity: .45; cursor: not-allowed; }
.pub-kindtip {
  font-size: 12.5px; color: var(--text2); background: var(--chip);
  padding: 8px 12px; border-radius: 8px; margin-bottom: 10px; line-height: 1.6;
}
.pub-meta { font-size: 12.5px; color: var(--text2); margin-top: 14px; }
.pub-meta b { color: var(--text); font-weight: 600; }
.pub-submit { width: 100%; background: var(--primary-grad); color: #fff; font-size: 16px; font-weight: 600; padding: 13px; border-radius: 24px; margin-top: 16px; }
.pub-submit:disabled { opacity: .45; }
.pub-tip { font-size: 12px; color: var(--text2); text-align: center; margin-top: 12px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.topic-chips span { background: var(--chip); color: var(--text3); font-size: 13px; padding: 6px 13px; border-radius: 15px; }
.n-act { position: absolute; right: 12px; top: 0; height: 44px; font-size: 14px; color: var(--primary); }

/* 我的 · 新版 */
.mine-top {
  position: relative; padding: 26px 18px 18px; color: #fff;
  background: var(--primary-grad); overflow: hidden;
}
.mine-top::after {
  content: ""; position: absolute; right: -30px; top: -40px; width: 150px; height: 150px;
  border-radius: 50%; background: rgba(255,255,255,.10);
}
.mine-top .mt-row { position: relative; display: flex; align-items: center; gap: 13px; z-index: 1; }
.mine-top .mt-avatar {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.65);
  display: flex; align-items: center; justify-content: center; font-size: 27px; overflow: hidden;
}
.mine-top .mt-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mine-top .mt-name { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mine-top .mt-sub { font-size: 12.5px; opacity: .9; margin-top: 5px; line-height: 1.4; }
/* v5.0 第 5 项：子账号标明所属机构 / 专业号，可点击直达该主体主页 */
.mt-org {
  margin-top: 7px; display: inline-block; max-width: 100%;
  font-size: 12px; line-height: 1.4; padding: 3px 9px; border-radius: 11px;
  background: rgba(255, 255, 255, .22); color: #fff; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mt-org b { font-weight: 700; }
.mt-org:hover { background: rgba(255, 255, 255, .34); }
body[data-theme="dark"] .mt-org { background: rgba(255, 255, 255, .14); }
/* 个人主页（时讯号主页）里的所属机构行：浅底深字，和个人中心的红底白字区分开 */
.ogh-org {
  margin: 6px 0 0; padding: 5px 10px; border-radius: 10px; cursor: pointer;
  font-size: 12.5px; background: var(--chip); color: var(--text2);
  display: inline-flex; align-items: center; gap: 5px;
}
.ogh-org b { color: var(--text); font-weight: 700; }
.ogh-org:hover { background: var(--primary-soft); color: var(--primary); }
.mine-top .mt-edit {
  position: relative; z-index: 1; margin-left: auto; font-size: 12.5px;
  border: 1px solid rgba(255,255,255,.7); border-radius: 16px; padding: 5px 13px; color: #fff;
}
.mine-nums { position: relative; z-index: 1; display: flex; margin-top: 20px; }
.mine-nums div { flex: 1; text-align: center; }
.mine-nums b { display: block; font-size: 17px; font-weight: 700; }
.mine-nums span { font-size: 12px; opacity: .88; }
.mine-entry { display: flex; gap: 10px; padding: 12px 14px; background: var(--card); }
.mine-entry .me-card {
  flex: 1; padding: 13px 10px; border-radius: 10px; text-align: center;
  background: var(--primary-soft);
}
.mine-entry .me-card .me-ico { display: block; width: 22px; height: 22px; }
.mine-entry .me-card .me-t { font-size: 13px; font-weight: 600; margin-top: 5px; }
.mine-entry .me-card .me-s { font-size: 11px; color: var(--text2); margin-top: 2px; }
.mine-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--card); position: sticky; top: 0; z-index: 2; }
.mine-tabs button { flex: 1; padding: 12px 0; font-size: 15px; color: var(--text2); position: relative; }
.mine-tabs button.active { color: var(--primary); font-weight: 700; }
.mine-tabs button.active::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 2px; background: var(--primary);
}
.work-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.work-item .w-body { flex: 1; min-width: 0; }
.work-item .w-title { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.work-item .w-text { font-size: 13.5px; color: var(--text3); margin-top: 5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-item .w-meta { font-size: 12px; color: var(--text2); margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.work-item .w-del { font-size: 12px; color: var(--primary); padding: 4px 10px; border: 1px solid var(--primary); border-radius: 13px; align-self: center; }
.work-item .w-thumb { width: 76px; height: 56px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.empty-box { padding: 56px 20px; text-align: center; color: var(--text2); font-size: 13.5px; }
.empty-box .eb-ico { font-size: 40px; opacity: .35; margin-bottom: 12px; }
.empty-box .eb-btn { display: inline-block; margin-top: 14px; padding: 9px 22px; border-radius: 20px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; }
.empty-box .eb-sub { margin-top: 8px; font-size: 12.5px; color: var(--text2); }

/* v3.2 快讯 Tab：榜单式列表 */
.fcard { display: block; }
.fcard .fc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.fcard .fc-cat {
  flex: none; padding: 2px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 600;
  color: var(--primary); background: var(--primary-soft);
}
.fcard .fc-top em { font-style: normal; font-size: 12px; color: var(--text2); }
.fcard .fc-title { font-size: 16px; line-height: 1.45; font-weight: 500; color: var(--text); }

/* ---------------- v3.3：短内容分家（快讯 / 微言） ---------------- */
/* 官方快讯区块：快讯 Tab 顶部固定 6 条编辑部快讯，下面接全站短内容 */
.flash-block { padding: 14px 16px 6px; }
.flash-block .fbk-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.flash-block .fbk-t { font-size: 16px; font-weight: 700; color: var(--text); }
.flash-block .fbk-s { font-size: 12px; color: var(--text2); }
.flash-block .fcard { margin-bottom: 10px; }

/* 快讯 Tab 细分筛选：全部 / 快讯 / 微言 */
.fk-tabs { display: flex; gap: 8px; padding: 6px 16px 12px; }
.fk-tabs button {
  padding: 5px 16px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--card); color: var(--text3); font-size: 13px; cursor: pointer;
}
.fk-tabs button.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* 短内容卡上的种类角标：机构「快讯」用品牌红，个人「微言」用中性灰 */
.pk-badge {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px;
  font-size: 11px; font-weight: 600; line-height: 1.6; vertical-align: 1px;
}
/* 用 text3 而非 text2：角标只有 11px，浅底上 text2 实测对比度 2.69，不达 WCAG AA */
.pk-badge.flash { color: var(--primary); background: var(--primary-soft); }
.pk-badge.weyan { color: var(--text3); background: var(--chip); }

/* 发布页：当前账号发短内容的口径说明 */
.pub-kindtip {
  margin: 10px 0 2px; padding: 9px 12px; border-radius: 8px;
  background: var(--chip); color: var(--text3); font-size: 12.5px; line-height: 1.6;
}
.pub-kindtip b { color: var(--primary); font-weight: 600; }

/* 夜间模式：品牌红压在深底上只有 3.05，统一提亮到 #ff6b70（实测 5.96） */
[data-theme="dark"] .pk-badge.flash,
[data-theme="dark"] .fcard .fc-cat,
[data-theme="dark"] .pub-kindtip b { color: #ff6b70; }
[data-theme="dark"] .pk-badge.flash { background: rgba(255, 82, 88, .14); }

/* v3.2 左侧栏：平台服务四项并入同一张卡片，第一项上方加分隔线分组 */
.side-feat .sf-plat:first-of-type {
  margin-top: 6px; padding-top: 15px; border-radius: 0;
  border-top: 1px solid var(--line);
}

/* ---------------- 个人中心子导航 ---------------- */
.mine-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 10px; }
.mine-nav button {
  background: var(--card); padding: 14px 4px; font-size: 13px; color: var(--text3);
  text-align: center; cursor: pointer; line-height: 1.35;
}
.mine-nav button:active { background: var(--chip); }
.mine-nav button:hover { color: var(--primary); }

/* v7.19 第 3 项：个人中心的功能菜单（.mine-side）
   桌面端挂右栏并下拉固定，移动端右栏不显示，由 .mine-menu-m 承载同一块内容。 */
.mine-menu-m { margin-top: 10px; }
.mine-side {
  background: var(--card); border-radius: 8px; box-shadow: var(--shadow);
  overflow: hidden; margin-top: 10px;
}
.mine-side .ms-hd {
  display: flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 700; padding: 14px 16px 10px;
}
.mine-side .ms-hico { flex: none; width: 18px; height: 18px; color: var(--primary); display: inline-flex; }
.mine-side .ms-hico svg { display: block; width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mine-side .mine-list { margin-top: 0; }
.mine-side .mine-list .ml-item:last-child { border-bottom: none; }

/* ---------------- 我的名片 ---------------- */
.cardpg { padding: 16px 14px 30px; }
.cp-sec { margin-bottom: 22px; }
.cp-sec > h5 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.cp-preview { max-width: 420px; margin: 0 auto; }

.cdp {
  border-radius: 12px; overflow: hidden; padding: 20px 18px 14px;
  box-shadow: 0 6px 20px rgba(20, 22, 30, .14); color: #fff;
  background: linear-gradient(140deg, #d40f19, #8e0a12);
}
.cdp-head { display: flex; align-items: center; gap: 12px; }
.cdp-av {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.cdp-av img { width: 100%; height: 100%; object-fit: cover; }
.cdp-id { min-width: 0; }
.cdp-nm { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 5px; word-break: break-all; }
.cdp-at { font-size: 12.5px; opacity: .82; margin-top: 3px; word-break: break-all; }
.cdp-bio { font-size: 13.5px; line-height: 1.6; margin-top: 14px; opacity: .95; word-break: break-word; }
.cdp-rows { margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 10px; }
.cdp-row { display: flex; gap: 10px; font-size: 13px; padding: 4px 0; }
.cdp-k { width: 74px; flex-shrink: 0; opacity: .72; }
.cdp-v { flex: 1; min-width: 0; word-break: break-all; }
.cdp-foot { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .28); font-size: 11.5px; opacity: .7; letter-spacing: .6px; }
.cdp-ph { opacity: .6; font-size: 13px; }
/* 主题风格 */
.cdp.t-fest { background: linear-gradient(140deg, #ffe07a 0%, #ff9d2e 28%, #e02b1d 68%, #a8050d 100%); }
.cdp.t-fest .cdp-foot, .cdp.t-fest .cdp-row { border-color: rgba(255, 255, 255, .45); }
.cdp.t-plain { background: #fff; color: var(--text); box-shadow: 0 4px 16px rgba(20, 22, 30, .10), inset 0 0 0 1px var(--line); }
.cdp.t-plain .cdp-av { background: var(--chip); box-shadow: inset 0 0 0 1px var(--line); }
.cdp.t-plain .cdp-rows, .cdp.t-plain .cdp-foot { border-color: var(--line); }
.cdp.t-plain .cdp-k { color: var(--text2); }
.cdp.t-dark { background: linear-gradient(140deg, #23262c, #14161a); }
.cdp.t-dark .cdp-av { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

.cp-form { display: flex; flex-direction: column; gap: 13px; }
.cp-f { display: block; }
.cp-fl { display: block; font-size: 13px; color: var(--text2); margin-bottom: 6px; }
.cp-in { width: 100%; }
.cp-form textarea.cp-in { height: 62px; resize: none; line-height: 1.55; }
.cp-tip { margin-top: 12px; font-size: 12px; color: var(--text2); line-height: 1.6; }

/* ---------------- 纪念日 ---------------- */
.an-tabs { display: flex; gap: 8px; padding: 12px 14px 4px; overflow-x: auto; }
.an-tabs button {
  flex-shrink: 0; padding: 6px 15px; border-radius: 15px; font-size: 13.5px;
  background: var(--chip); color: var(--text3); cursor: pointer;
}
.an-tabs button.active { background: var(--primary); color: #fff; font-weight: 600; }
.an-list { padding: 10px 14px 4px; }
.an-item {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border-radius: 10px; padding: 13px 14px; margin-bottom: 10px; box-shadow: var(--shadow);
  border-left: 4px solid var(--text2);
}
.an-item.cat-birthday { border-left-color: #fa8c16; }
.an-item.cat-love { border-left-color: #eb2f96; }
.an-item.cat-work { border-left-color: #2f54eb; }
.an-item.cat-other { border-left-color: #13c2c2; }
.an-date { width: 62px; flex-shrink: 0; text-align: center; }
.an-date b { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; }
.an-date span { display: inline-block; margin-top: 4px; font-size: 11px; color: var(--text2); background: var(--chip); border-radius: 8px; padding: 1px 7px; }
.an-mid { flex: 1; min-width: 0; }
.an-t { font-size: 15px; font-weight: 600; }
.an-n { font-size: 12.5px; color: var(--text3); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-s { font-size: 11.5px; color: var(--text2); margin-top: 3px; }
.an-right { text-align: right; flex-shrink: 0; }
.an-days { font-size: 14px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.an-del { margin-top: 6px; font-size: 12px; color: var(--text2); border: 1px solid var(--line); border-radius: 12px; padding: 3px 10px; }
.an-del:active { color: var(--primary); border-color: var(--primary); }

.an-form { margin: 6px 14px 30px; padding: 16px 14px; background: var(--card); border-radius: 10px; box-shadow: var(--shadow); }
.an-form h5 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.an-in { width: 100%; margin-bottom: 10px; }
.an-form textarea.an-in { resize: none; line-height: 1.55; }
.an-line { display: flex; gap: 8px; }
.an-line select.an-in { flex: 1; min-width: 0; }

/* 个人主页 */
.uh-top { padding: 22px 18px 18px; color: #fff; background: var(--primary-grad); position: relative; overflow: hidden; }
.uh-top::after { content: ""; position: absolute; right: -26px; top: -34px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.10); }
.uh-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; }
.uh-id { min-width: 0; flex: 1; }
.uh-avatar { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.65); display: flex; align-items: center; justify-content: center; font-size: 28px; overflow: hidden; flex-shrink: 0; }
.uh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uh-name { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.uh-sub { font-size: 12.5px; opacity: .9; margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* v4.0：昵称下面直接标出「个人号 / 机构号 / 专业号」，三色与 V 标一致。
   徽标压在品牌红头部上，所以用「深一档的实底 + 纯白字」保证对比度 ≥ 4.5。 */
.uh-kind {
  padding: 1px 8px; border-radius: 9px; font-size: 11.5px; font-weight: 700;
  background: rgba(255,255,255,.24); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.uh-kind.green { background: #0a6e37; box-shadow: none; }
.uh-kind.blue  { background: #0a56bd; box-shadow: none; }
.uh-kind.red   { background: #b3121f; box-shadow: none; }
.uh-bio { position: relative; z-index: 1; font-size: 13px; opacity: .92; margin-top: 12px; line-height: 1.5; }
.uh-nums { position: relative; z-index: 1; display: flex; gap: 22px; margin-top: 16px; font-size: 13px; }
.uh-nums b { font-size: 15px; font-weight: 700; }
.uh-actions { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 16px; }
.uh-follow { flex: 1; padding: 9px 0; border-radius: 20px; background: #fff; color: var(--primary); font-size: 14.5px; font-weight: 700; }
.uh-follow.on { background: rgba(255,255,255,.25); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.uh-msg { padding: 9px 20px; border-radius: 20px; background: rgba(255,255,255,.22); color: #fff; font-size: 14.5px; }

/* 卡片作者行 */
.c-author { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.c-author .ca-av { width: 18px; height: 18px; border-radius: 50%; background: var(--chip); display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; overflow: hidden; cursor: pointer; }
.c-author .ca-n { cursor: pointer; }
.c-author .ca-av img { width: 100%; height: 100%; object-fit: cover; }
.c-author .ca-n { font-size: 12.5px; color: var(--text2); }
.ca-f { margin-left: auto; font-size: 12px; color: var(--primary); border: 1px solid var(--primary); border-radius: 11px; padding: 2px 10px; flex-shrink: 0; background: transparent; }
.ca-f.on { color: var(--text2); border-color: var(--line); }
/* v7.6 第 6 项：日期头下面那条线也取消（中间栏不再有任何横向分隔线） */
.brief-bar { display: flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 12.5px; color: var(--text2); background: var(--card); border-bottom: 0; }
.brief-bar .bb-tag { background: var(--primary); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 3px; font-weight: 600; }

/* 登录页 */
.lg-tabs { display: flex; gap: 26px; justify-content: center; margin-bottom: 20px; }
.lg-tab { font-size: 16px; color: var(--text2); padding-bottom: 8px; position: relative; }
.lg-tab.active { color: var(--primary); font-weight: 700; }
.lg-tab.active::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 22px; height: 3px; border-radius: 2px; background: var(--primary); }
.lg-input {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 14px; font-size: 15px; margin-bottom: 14px; background: var(--chip);
}
.lg-input:focus { border-color: var(--primary); }
.lg-submit {
  width: 100%; background: var(--primary-grad); color: #fff; font-size: 16px;
  font-weight: 600; padding: 13px; border-radius: 24px; margin-top: 6px;
}
.lg-submit:disabled { opacity: .6; }

/* 详情页互动按钮 */
.dp-actions { display: flex; gap: 10px; margin: 18px 0 4px; }
.dp-actions .act-btn {
  flex: 1; background: var(--chip); color: var(--text3); font-size: 13.5px;
  padding: 10px 0; border-radius: 20px; transition: .15s;
}
.dp-actions .act-btn.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

/* 认证 V 标 —— v4.0 三色：个人号绿 / 机构号蓝 / 专业号红 */
.vbadge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; border-radius: 50%; margin-left: 4px;
  font-size: 9px; font-weight: 700; color: #fff; vertical-align: 1px;
  font-family: Arial, sans-serif; flex-shrink: 0;
}
.vbadge.green  { background: #12a150; }   /* 个人号 */
.vbadge.blue   { background: #1677ff; }   /* 机构号 */
.vbadge.red    { background: #e5384a; }   /* 专业号（媒体 / 政务） */
.vbadge.personal   { background: #12a150; }  /* 兼容旧类名 */
.vbadge.enterprise { background: #1677ff; }

/* 认证页 */
.vf-body { padding: 20px 18px 30px; }
.vf-hero { text-align: center; padding: 6px 0 22px; }
.vf-hero-ico { font-size: 40px; }
.vf-hero-t { font-size: 19px; font-weight: 700; margin-top: 8px; }
.vf-hero-s { font-size: 12.5px; color: var(--text2); margin-top: 7px; line-height: 1.6; }

/* v4.0 第 7 项：三个角色（个人号 / 机构号 / 专业号）选择卡 */
.vf-roles { display: flex; flex-direction: column; gap: 9px; }
.vf-role {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 12px 13px; border-radius: 10px; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line);
  transition: border-color .16s, background .16s;
}
.vf-role:hover { border-color: var(--text3); }
.vf-role.on { border-color: var(--primary); background: var(--primary-soft); }
.vr-ico {
  width: 36px; height: 36px; flex: none; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; background: var(--chip);
}
.vf-role.on .vr-ico { background: var(--card); }
.vr-txt { min-width: 0; flex: 1; }
.vr-txt b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; }
/* 描述文字用 --text3 而不是 --text2：--text2 在浅色卡片底上只有 2.x，达不到 AA */
.vr-txt em { display: block; font-style: normal; font-size: 12px; color: var(--text3); margin-top: 3px; line-height: 1.5; }
/* 三色小圆点，和 V 标配色一一对应 */
.vr-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.vr-dot.green { background: #12a150; }
.vr-dot.blue  { background: #1677ff; }
.vr-dot.red   { background: #e5384a; }
.vf-who {
  padding: 10px 13px; border-radius: 8px; background: var(--chip);
  font-size: 12.5px; color: var(--text3); line-height: 1.65;
}
.vf-status { background: var(--chip); border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; border-left: 3px solid var(--text2); }
.vf-status.ok { border-left-color: #52c41a; background: rgba(82,196,26,.07); }
.vf-status.wait { border-left-color: #faad14; background: rgba(250,173,20,.08); }
.vf-status.bad { border-left-color: var(--primary); background: var(--primary-soft); }
.vf-s-t { font-size: 14.5px; font-weight: 700; }
.vf-s-s { font-size: 12.5px; color: var(--text2); margin-top: 5px; line-height: 1.6; }
.vf-sec { font-size: 14px; font-weight: 600; margin: 20px 0 12px; }
.vf-types { display: flex; gap: 10px; }
.vf-type {
  flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 12px;
  text-align: left; background: var(--card);
}
.vf-type b { display: block; font-size: 14.5px; }
.vf-type span { display: block; font-size: 11.5px; color: var(--text2); margin-top: 5px; line-height: 1.5; }
.vf-type.active { border-color: var(--primary); background: var(--primary-soft); }
.vf-type.active b { color: var(--primary); }
.vf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vf-chips span { background: var(--chip); font-size: 13px; padding: 7px 14px; border-radius: 15px; color: var(--text3); }
.vf-chips span.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.vf-tip { font-size: 11.5px; color: var(--text2); line-height: 1.7; margin-top: 16px; text-align: center; }

/* ---------- v7.23 第 4 项：专属号申请 ---------- */
.ex-list { display: flex; flex-direction: column; gap: 8px; }
.ex-item {
  display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap;
  background: var(--chip); border: 1px solid transparent; border-radius: 10px; padding: 11px 12px;
}
.ex-item.ex-pick { cursor: pointer; }
.ex-item.ex-pick:hover { border-color: var(--line); }
.ex-item.ex-pick.on { background: var(--primary-soft); border-color: var(--primary); }
.ex-item.dim { opacity: .55; cursor: not-allowed; }
.ex-av {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: var(--card); display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.ex-av img { width: 100%; height: 100%; object-fit: cover; }
.ex-box { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ex-nm { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ex-at { font-size: 12px; font-weight: 400; color: var(--text2); }
.ex-v, .ex-kind { font-style: normal; font-size: 11px; font-weight: 500; padding: 1px 6px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); }
.ex-sub { font-size: 12px; color: var(--text2); }
.ex-bio { font-size: 12.5px; color: var(--text3); line-height: 1.6; margin-top: 2px; word-break: break-word; }
.ex-bio.ex-ph { color: var(--text2); opacity: .7; }
.ex-tag { align-self: center; font-size: 12px; color: var(--text2); flex-shrink: 0; }
.ex-tag.s1 { color: #16a34a; }
.ex-tag.s2 { color: var(--primary); }
.ex-ops { align-self: center; display: flex; gap: 6px; flex-shrink: 0; }
.ex-mini {
  font-size: 12px; padding: 5px 12px; border-radius: 15px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--text3);
}
.ex-mini.ok { background: var(--primary); border-color: var(--primary); color: #fff; }
.ex-mini.no { color: var(--primary); border-color: var(--primary); }
.ex-note { flex: 1 0 100%; display: flex; flex-direction: column; gap: 6px; }
.ex-note .lg-input { height: auto; min-height: 62px; padding: 10px 12px; font-size: 13px; resize: none; }
.ex-note-ops { display: flex; gap: 8px; justify-content: flex-end; }
.ex-note-ops button {
  font-size: 12.5px; padding: 6px 14px; border-radius: 15px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--text3);
}
.ex-note-ops .ex-ok { background: var(--primary); border-color: var(--primary); color: #fff; }
.ex-empty { padding: 22px 0; text-align: center; color: var(--text2); font-size: 13px; }

/* 管理后台 */
.adm-wrap { max-width: 900px; margin: 0 auto; padding: 20px 16px 40px; }
.adm-card { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 14px; }
.adm-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.adm-row:last-child { border-bottom: none; }
.adm-main { flex: 1; min-width: 0; }
.adm-name { font-size: 15px; font-weight: 600; }
.adm-meta { font-size: 12.5px; color: var(--text2); margin-top: 5px; line-height: 1.7; }
.adm-btns { display: flex; gap: 8px; flex-shrink: 0; }
.adm-btns button { font-size: 13px; padding: 7px 14px; border-radius: 16px; background: var(--chip); }
.adm-btns .ok { background: #52c41a; color: #fff; }
.adm-btns .no { background: var(--primary); color: #fff; }
.adm-tabs { display: flex; gap: 18px; margin-bottom: 14px; }
.adm-tabs button { font-size: 14.5px; color: var(--text2); padding-bottom: 7px; position: relative; }
.adm-tabs button.active { color: var(--primary); font-weight: 700; }
.adm-tabs button.active::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 20px; height: 2.5px; border-radius: 2px; background: var(--primary); }
.adm-empty { text-align: center; padding: 50px 0; color: var(--text2); font-size: 13.5px; }

/* Toast */
.toast {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .82); color: #fff; font-size: 14px;
  padding: 11px 20px; border-radius: 8px; z-index: 200; max-width: 70vw; text-align: center;
  animation: toastIn .2s ease both;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -40%); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* 搜索页 */
.search-head { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.search-head input { flex: 1; background: var(--chip); border-radius: 18px; height: 36px; padding: 0 15px; font-size: 14px; }
.search-head .s-cancel { color: var(--text3); font-size: 14.5px; padding: 4px; }
.hot-tag-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px; }
.hot-tag-list span { background: var(--chip); font-size: 13.5px; padding: 7px 14px; border-radius: 16px; color: var(--text3); }

/* 视频流（沉浸式） */
.vfeed { max-width: 660px; margin: 0 auto; background: #000; min-height: calc(100vh - 108px); }
.vfeed .vitem { position: relative; background: #000; border-bottom: 6px solid #000; }
.vfeed video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }
.vfeed .vinfo { padding: 12px 14px 16px; background: var(--card); }
.vfeed .vtitle { font-size: 16.5px; font-weight: 600; line-height: 1.45; }
.vfeed .vmeta { font-size: 12.5px; color: var(--text2); margin-top: 8px; display: flex; gap: 14px; align-items: center; }

/* ---------------- PC 端增强 ---------------- */
/* ===== Hero 搜索区（仅 PC） ===== */
.hero { display: none; }

/* ===== 侧栏通用：作者卡 / 文章列表 ===== */
.ab-card { padding: 18px 16px 16px; text-align: center; }
.abc-top { display: flex; flex-direction: column; align-items: center; }
.abc-av { width: 62px; height: 62px; border-radius: 50%; background: var(--chip); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; overflow: hidden; }
.abc-av img { width: 100%; height: 100%; object-fit: cover; }
.abc-nm { margin-top: 10px; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.abc-st { margin-top: 5px; font-size: 12.5px; color: var(--text2); }
.abc-st b { color: var(--text); font-weight: 700; }
/* v7.8 第 2 项：作者卡补简介 + 整块可点 */
.abc-bio { margin-top: 9px; font-size: 12.5px; line-height: 1.65; color: var(--text3);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ac-click { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ac-click:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.abc-go { margin-top: 11px; font-size: 12.5px; color: var(--primary); }
.ac-click:hover .abc-go { text-decoration: underline; }
.abc-btn { margin-top: 13px; width: 100%; height: 34px; border-radius: 17px;
  background: var(--primary-grad); color: #fff; font-size: 14px; font-weight: 600; }
.abc-btn.on, .abc-btn.mine { background: var(--chip); color: var(--text3); }
.abc-btn:active { opacity: .85; }

/* ================= v7.0 第 5 项：首页置顶区 =================
   v7.6 第 4 / 5 项：整体升级为「今日要闻」模块 ——
     名字    「置顶」→「今日要闻」，与原来那条日期 bar 合成一块，
             读起来是「今日要闻：下面这五条」，而不是两块互不相干的东西
     数量    3 条 → 5 条，位次由后台的「置顶编号」（1~5）决定
     内容    每条只留标题，来源 / 时间 / 红色角标全去掉
     底色    浅粉灰 —— 既把它从纯白信息流里托出来（它是编辑部手动排的），
             又不像原来的品牌红那样抢视线

   为什么又要有底色了：v7.5 第 4 项刚把边框和底色去掉、要求「和中间栏连成一体」，
   但那一版的前提是「只有 3 条、读者一眼能看到头」。现在是 5 条加一条日期头，
   完全不区隔的话它就跟普通信息流混在一起，「置顶」这件事没有视觉落点。
   浅粉灰是很轻的一层，保留区隔感但不破坏整栏的连贯。 */
.top-zone {
  margin: 10px 0 6px;
  padding: 0 0 4px;
  background: #faf0f1;          /* 浅粉灰 */
  border: 0;
  border-radius: 10px;
  overflow: hidden;
}
/* 模块内的日期头不再单独画一条分隔线（v7.6 第 6 项：中间栏分隔符全取消） */
.top-zone .brief-bar {
  background: transparent;
  border-bottom: 0;
  padding: 12px 14px 4px;
}
.tz-list { list-style: none; margin: 0; padding: 4px 14px 8px; }
.tz-item {
  display: flex; align-items: baseline; gap: 9px;
  padding: 7px 0; cursor: pointer;
}
.tz-item:hover .tz-t { color: var(--primary); }
/* 编号：和后台「置顶编号」一一对应，管理员设几号这里就显示几号 */
.tz-no {
  flex: none; width: 17px; height: 17px; border-radius: 4px;
  font-style: normal; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center;
  color: #fff; background: var(--primary);
  transform: translateY(-1px);
}
.tz-t {
  font-size: 16px; font-weight: 600; line-height: 1.55; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html[data-theme="dark"] .top-zone { background: rgba(255, 255, 255, .055); }
html[data-theme="dark"] .tz-t { color: var(--text); }

/* ================= v7.0 第 7 项：信息流里的活动卡 ================= */
.card-event .ev-tag {
  display: inline-block; margin-right: 6px; vertical-align: 1px;
  font-size: 10.5px; font-weight: 700; color: #b8860b;
  background: linear-gradient(135deg, #ffe9a8, #ffd35e);
  border-radius: 3px; padding: 1px 5px; line-height: 1.6;
}
.card-event .ev-line {
  margin-top: 5px; font-size: 12.5px; color: var(--text2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.sart { padding: 2px 16px 12px; }
.sa-item { display: flex; gap: 10px; padding: 9px 0; cursor: pointer; }
.sa-item:hover .sa-tt { color: var(--primary); }
.sa-thumb { width: 68px; height: 46px; border-radius: 5px; object-fit: cover; flex-shrink: 0; background: var(--chip); }
.sa-thumb.ph { display: block; }
.sa-tx { min-width: 0; flex: 1; }
.sa-tt { font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sa-mt { font-size: 12px; color: var(--text2); margin-top: 5px; }

@media (min-width: 1000px) {
  #app { padding-bottom: 0; }
  .tabbar { position: static; transform: none; max-width: 1280px; border-top: none; background: transparent; padding: 0; height: 0; overflow: hidden; }

  /* ---- Hero 搜索区：向上垫到页面最顶端，与透明导航连成一整块红色页头 ----
     做法：用负 margin 把 Hero 拉上去抵消顶栏占位，再用 padding-top 把内容让回顶栏之下。
     这样渐变 + 澳门剪影从 y=0 就开始铺，导航透明压在其上，视觉上完全融为一体。
     padding-bottom 由 24px 加到 44px —— 即需求里的「背景图向下延伸 20px」。 */
  .hero {
    display: block; position: relative; overflow: hidden; z-index: 2;
    margin-top: -60px;
    padding: 86px 16px 44px;
    background: linear-gradient(180deg, #c00d17 0%, #a80d18 52%, #7a0a13 100%);
  }
  /* v7.39 第 1 项：Hero 背景改为澳门/香港/广州/深圳/横琴/珠海 六城风景图滚动轮播。
     背景图由 js/app.js 注入到 #heroSlides 里的一排 .hero-slide（交叉淡入），
     顶栏位于 Hero 上方且为白字 —— 故在轮播之上盖一层轻遮罩，保证白字清晰可读，又不会压黑。 */
  .hero.hero-scenic {
    /* v7.48：背景图还没加载出来时原来是蓝底（#2f86e0），一闪蓝色很突兀；改成白底 */
    background: #fff;
  }
  /* 轮播层：铺满 Hero，置于文字之下（hero-inner 是 z-index:2） */
  .hero-slides { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #fff; }
  .hero-slide {
    position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat;
    opacity: 0; transition: opacity 1.1s ease; will-change: opacity;
  }
  .hero-slide.is-active { opacity: 1; }
  /* 轮播之上的可读性遮罩：上轻下重，白字/白搜索框都压得住，又保持明亮不发黑 */
  .hero-slides::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(180deg, rgba(8,30,70,.22) 0%, rgba(8,30,70,.06) 26%, rgba(8,30,70,0) 52%, rgba(8,30,70,.10) 78%, rgba(8,30,70,.46) 100%);
  }
  /* 当前城市标签（左下角，随轮播切换） */
  .hero-city-tag {
    position: absolute; left: 40px; bottom: 16px; z-index: 3; pointer-events: none;
    display: flex; align-items: center; gap: 10px; color: #fff;
    text-shadow: 0 1px 10px rgba(0,20,60,.55);
  }
  .hero-city-tag i { width: 8px; height: 8px; border-radius: 50%; background: #ffd873; box-shadow: 0 0 10px rgba(255,216,115,.9); }
  .hero-city-tag b { font-size: 20px; font-weight: 800; letter-spacing: 3px; }
  .hero-city-tag em { font-style: normal; font-size: 12px; letter-spacing: 2px; opacity: .82; }
  .hero-city-tag.swap b, .hero-city-tag.swap em { animation: heroCityIn .5s ease; }
  @keyframes heroCityIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  /* 轮播指示圆点（底部居中，点击切图） */
  .hero-dots {
    position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3;
    display: flex; justify-content: center; gap: 9px; pointer-events: auto;
  }
  .hero-dots b {
    width: 8px; height: 8px; border-radius: 50%; cursor: pointer; display: block;
    background: rgba(255,255,255,.5); box-shadow: 0 0 0 1px rgba(8,30,70,.25);
    transition: width .25s ease, background .25s ease;
  }
  .hero-dots b.on { width: 22px; border-radius: 5px; background: #fff; }
  .hero.hero-scenic .hero-title { color: #fff; text-shadow: 0 2px 14px rgba(0,30,80,.5), 0 0 30px rgba(255,255,255,.2); }
  /* 底部与页面衔接改为柔和的深蓝渐隐（替代原红带），在风景图上更自然 */
  .hero.hero-scenic::after { display: none; }
  /* 夜间同样保留六城风景轮播（遮罩已保证可读），不退化成纯色渐变 */
  html body.hero-dark .hero.hero-scenic { background: #1b2540; }
  /* 澳门城市剪影 + 烟花，由 js/app.js 绘制；作为文字背后的一层 */
  .hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    display: block; pointer-events: none; z-index: 1;
  }
  /* 底部压暗，保证剪影与页面主体衔接自然 */
  .hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
    pointer-events: none; z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(60, 4, 8, .45));
  }
  .hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; text-align: center; }
  .hero-title {
    font-size: 34px; font-weight: 800; color: #fff; letter-spacing: 4px;
    text-shadow: 0 2px 18px rgba(90, 0, 0, .55), 0 0 40px rgba(255, 200, 120, .28);
  }
  .hero-sub { margin-top: 8px; font-size: 13.5px; color: rgba(255, 244, 220, .9); letter-spacing: 1.2px; }

  .hero-search {
    display: flex; align-items: center; max-width: 620px; margin: 20px auto 0;
    height: 48px; padding: 0 6px 0 20px; border-radius: 24px;
    background: rgba(255, 255, 255, .96); cursor: text;
    box-shadow: 0 10px 30px rgba(60, 0, 0, .3), 0 0 0 1px rgba(255, 220, 150, .38);
  }
  .hero-search .hs-ico { display: flex; color: var(--text2); flex-shrink: 0; }
  .hero-search .hs-ico svg { width: 17px; height: 17px; }
  .hero-search .hs-text { flex: 1; text-align: left; margin-left: 12px; font-size: 15px; color: var(--text2); }
  /* v7.45：hero 搜索真实输入框（替代原 .hs-text 占位 span） */
  .hero-search .hs-input {
    flex: 1; min-width: 0; border: none; outline: none; background: transparent;
    margin-left: 12px; font-size: 15px; color: var(--text1); font-family: inherit;
  }
  .hero-search .hs-input::placeholder { color: var(--text2); }
  .hero-search .hs-btn {
    flex-shrink: 0; height: 36px; padding: 0 26px; border-radius: 18px;
    background: linear-gradient(135deg, #e5202b, #b80b14); color: #fff; font-size: 15px; font-weight: 600;
  }
  .hero-search .hs-btn:active { opacity: .88; }

  /* 夜间模式：底色转深，剪影靠 canvas 内的金色描边与窗灯保持轮廓可辨。
     ⚠ v7.6 第 1 项：这一套是给「红金国庆 Hero」写的（深红渐变 #6b0710 → #2c0206），
     而首页现在的季相是**暖阳浅秋**（米白 → 暖橙金）。
     不加限定时，夜间一进首页就会把秋天的天空压成一块深红，
     顶上还飘着金色桂叶 —— 观感是「红配金」的节日页，不是秋季。
     更糟的是顶栏为了融入 Hero 改成全透明之后，浅色品牌字压在这个深红底上几乎看不见
     （实测对比度不到 1.5）。
     修法：只在 Hero 不是秋季版时套用这套深色。秋季 Hero 有自己的夜间配色（见下）。 */
  body.hero-dark:not(.hero-autumn-on) .hero { background: linear-gradient(180deg, #6b0710 0%, #4a040c 55%, #2c0206 100%); }
  body.hero-dark:not(.hero-autumn-on) .hero-bg { filter: brightness(1.22) saturate(1.05); }
  body.hero-dark:not(.hero-autumn-on) .hero-title { color: #ffe9c2; text-shadow: 0 2px 18px rgba(0, 0, 0, .6), 0 0 44px rgba(255, 190, 90, .34); }
  body.hero-dark:not(.hero-autumn-on) .hero-sub { color: rgba(255, 226, 190, .82); }
  body.hero-dark:not(.hero-autumn-on) .hero-search { background: rgba(38, 34, 32, .94); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 210, 140, .3); }
  body.hero-dark:not(.hero-autumn-on) .hero-search .hs-ico,
  body.hero-dark:not(.hero-autumn-on) .hero-search .hs-text { color: rgba(255, 236, 208, .72); }

  /* 顶栏透明浮在 Hero 之上，与 Hero 背景融为一块；顶栏元素同步转白色 */
  body.has-hero .topbar {
    background: transparent; border-bottom-color: transparent; box-shadow: none;
    transition: background .22s ease, box-shadow .22s ease;
  }
  body.has-hero .topbar .brand-text {
    background: none; -webkit-text-fill-color: #fff; color: #fff;
    text-shadow: 0 1px 3px rgba(90, 0, 0, .45);
  }
  body.has-hero .topbar .brand-logo { box-shadow: 0 0 0 2px rgba(255, 226, 130, .9), 0 3px 10px rgba(60, 0, 0, .35); }
  body.has-hero .topbar .theme-btn { color: #fff; }
  body.has-hero .topbar .theme-btn:hover { background: rgba(255, 255, 255, .18); }
  body.has-hero .topbar .btn-app,
  body.has-hero .topbar .tb-user {
    color: #fff; background: rgba(255, 255, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42);
  }
  body.has-hero .topbar .btn-write {
    background: linear-gradient(135deg, #ffe07a, #ffcf3f); color: #a5060d;
    box-shadow: 0 2px 8px rgba(60, 0, 0, .22);
  }
  body.has-hero .topbar .tb-user:hover {
    color: #fff; background: rgba(255, 255, 255, .28);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
  }
  body.has-hero .topbar .tb-user .av { background: rgba(255, 255, 255, .25); }

  /* 滚出 Hero 之后顶栏补回实底（白底那份规则在文件前部的全局段，断点内外共用），
     这里只留 PC 特有的元素级还原。 */
  body.has-hero.hero-out .topbar .brand-logo { box-shadow: 0 2px 8px rgba(212, 15, 25, .28); }
  body.has-hero.hero-out .topbar .btn-app,
  body.has-hero.hero-out .topbar .tb-user {
    color: var(--text3); background: none; box-shadow: inset 0 0 0 1px var(--line);
  }
  body.has-hero.hero-out .topbar .btn-write {
    background: var(--primary-grad); color: #fff; box-shadow: none;
  }
  body.has-hero.hero-out .topbar .tb-user:hover { color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }

  /* Hero 已自身顶到页面最上方，国庆层的顶部红带不再重复铺一层（用 html 前缀压过 festival.css 的同权级规则） */
  html body.has-hero .fest-layer { display: none; }
  /* v4.1：顶栏与 Hero 完全一体化 —— 顶栏无底色、无边框、无阴影，
     品牌字/图标全部转白，视觉上就是 Hero 红金底的延伸。
     滚出 Hero 后由 .hero-out 把实底补回来（见下）。 */
  /* 只在还压在 Hero 上（未滚动）时才透明；滚出后交给上面的 .hero-out 补白底。
     原写法漏了 :not(.hero-out)，全靠上面的规则「特异性更高」才勉强生效，
     一旦调整顺序或加 !important 就会回归成一条透明条。 */
  body.has-hero:not(.hero-out) .topbar {
    background: transparent !important; border-bottom-color: transparent !important; box-shadow: none !important;
  }
  /* 频道栏回到浅色底，节日主题的白色字必须改回深色，否则白字压白底看不见
     v7.3 第 7 项：去掉这条 1px 底边框。
     它来自早期版本「频道栏要和内容区分开」的设计，但按参考站重排后
     Hero 与频道栏之间已经有明显的色彩过渡，再压一条线反而把页头切成两截
     （实测这条线让 .tabs-wrap 高度从 44px 变成 45px）。 */
  body.has-hero .tabs-wrap { background: var(--card); border-bottom: none; }
  body.has-hero .tab { color: var(--text3); }
  body.has-hero .tab.active { color: var(--primary); }
  body.has-hero .tab.active::after { background: var(--primary); box-shadow: none; }
  body.has-hero .tabs-more { color: var(--text3); border-left-color: var(--line); }

  .mine-nav { grid-template-columns: repeat(4, 1fr); }

  /* v7.19 第 3 项：桌面端功能菜单在右栏，页面内的移动端载体收起（避免两处重复） */
  body[data-page="mine"] .mine-menu-m { display: none; }
  .side-right .mine-side { margin-top: 0; }
  /* 右栏只有 300px 宽，11 个按钮排 2 列比 4 列好点 */
  .side-right .mine-side .mine-nav { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .side-right .mine-side .mine-nav button { padding: 11px 4px; font-size: 12.8px; }
  .side-right .mine-side .mine-list .ml-item { padding: 12px 16px; font-size: 14.5px; }

  /* v7.20 第 4 项：个人中心右栏只留「功能菜单 + 版权」，这里给版权块补一点上间距，
     免得两张卡贴在一起像同一张。 */
  body[data-page="mine"] .side-right .side-foot { margin-top: 4px; }

  /* v7.20 第 3 项：个人中心的「更多」要和首页一样，顶到与中间栏右边缘对齐的竖线上。
     syncTabsMoreAlign() 已经把 min-width 算好在写（去掉 mine 特例），
     但个人中心这一页右栏不再是热榜卡，DOM 变化更频繁，补一条兜底：
     对齐靠 .tabs-user 的 min-width 撑，这里只保证 flex 计算基准一致。 */
  body[data-page="mine"] .tabs-user { justify-content: flex-end; }

  /* 左栏：功能入口区与主导航分隔一档，视觉上分成两组 */
  .side-nav.side-feat { margin-top: 12px; }

  /* 名片页：预览与表单左右分栏，避免表单拉太长 */
  #cardPage .page-inner { max-width: 960px; }
  .cardpg { display: flex; gap: 26px; align-items: flex-start; padding: 22px 26px 40px; }
  .cp-sec { flex: 1; min-width: 0; margin-bottom: 0; }
  .cp-preview { max-width: none; }
  #anPage .page-inner { max-width: 860px; }

  /* ---- 头条式顶栏 ---- */
  .topbar { height: 60px; max-width: 1240px; padding: 0 16px; gap: 0; }
  .brand { gap: 9px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-text { font-size: 22px; letter-spacing: -.5px; }
  /* PC 端顶栏不再放搜索框：搜索统一由 Hero 大搜索框承担，避免同一页出现两个搜索入口。
     移动端没有 Hero，因此 .searchbar 在 <1000px 仍正常显示。 */
  .searchbar { display: none; }
  .tb-right { gap: 10px; margin-left: auto; }
  .btn-write {
    display: block; height: 36px; padding: 0 16px; border-radius: 18px; white-space: nowrap;
    background: var(--primary-grad); color: #fff; font-size: 14px; font-weight: 600;
  }
  .btn-app {
    display: block; height: 36px; padding: 0 15px; border-radius: 18px; white-space: nowrap;
    font-size: 14px; color: var(--text3); box-shadow: inset 0 0 0 1px var(--line);
  }
  /* ---- v7.25 第 4 项：顶栏消息入口（下载APP 与 发布 之间） ----
     .msg-host 是定位父级，下拉 .msg-menu 相对它 right:0 展开。
     图标按钮做成 36px 的圆，和左右两个胶囊按钮同高，视觉成一组。 */
  .msg-host { position: relative; display: block; }
  .btn-msg {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    color: var(--text3); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer;
    background: none; border: 0;
  }
  .btn-msg:hover { color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
  .bm-ico { display: block; width: 19px; height: 19px; }
  /* 红点：未读总数。0 时加 .hide 收起来（不用 display:none 硬切，
     是为了让 .hide 这个全站通用类保持一致语义） */
  .msg-dot {
    position: absolute; top: -2px; right: -3px; min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 8px; background: var(--primary); color: #fff;
    font-size: 10.5px; font-style: normal; font-weight: 700; line-height: 16px; text-align: center;
    box-shadow: 0 0 0 2px var(--card); pointer-events: none;
  }
  .msg-dot.hide { display: none; }
  /* 下拉：四个入口，各带图标 + 右侧未读数 */
  .msg-menu { min-width: 172px; }
  .msg-menu button { display: flex; align-items: center; gap: 9px; }
  .mm-ico { display: block; width: 15px; height: 15px; flex: none; opacity: .8; }
  .mm-n {
    margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700;
    color: #fff; background: var(--primary); border-radius: 9px; padding: 1px 6px;
    min-width: 18px; text-align: center;
  }
  .mm-n.hide { display: none; }
  .tb-user {
    display: flex; align-items: center; gap: 7px; max-width: 170px; height: 36px; padding: 0 14px;
    border-radius: 18px; font-size: 14px; color: var(--text3); white-space: nowrap; overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--line); cursor: pointer;
  }
  .tb-user span.nm { overflow: hidden; text-overflow: ellipsis; }
  /* 未登录态：小人物图标 + 「登录」 */
  .tb-user .login-ico {
    width: 15px; height: 15px; flex-shrink: 0; border-radius: 50%;
    background: currentColor;
    -webkit-mask-image: radial-gradient(circle at 50% 34%, #000 0 3px, transparent 3.4px),
      radial-gradient(circle at 50% 108%, #000 0 8px, transparent 8.4px);
    mask-image: radial-gradient(circle at 50% 34%, #000 0 3px, transparent 3.4px),
      radial-gradient(circle at 50% 108%, #000 0 8px, transparent 8.4px);
  }
  /* 登录态：昵称右侧的小箭头，提示可点进「我的」 */
  .tb-user .caret {
    width: 0; height: 0; flex-shrink: 0; opacity: .55;
    border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4.5px solid currentColor;
  }
  .tb-user.logged { color: var(--text); font-weight: 600; }
  .tb-user .av { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--chip); }
  .tb-user .av img { width: 100%; height: 100%; object-fit: cover; }
  .tb-user:hover { color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
  .btn-write:active, .btn-app:active { opacity: .85; }

  /* ---- 频道栏 ----
     v4.0 第 6 项：顶栏与频道栏共用同一套「1272px 容器 + 16px 内边距」，
     内容区两侧留白因此完全一致（顶栏 .brand 左缘 == 第一个频道左缘）。 */
  .tabs-wrap, .topbar { padding-left: 16px; padding-right: 16px; max-width: 1272px; }
  /* PC 顶栏高 60px；频道栏吸附位置统一在文件顶部 .tabs-wrap 区域按断点定义 */
  .tabs { height: 46px; }
  .tabs-scroll { gap: 0; padding: 0; }
  /* v7.3 第 5 项：9 个频道必须在中间栏宽度内排得下。
     原来 padding 是 0 13px —— 每个频道占位 58px（首项 45px），九个连起来 717px。
     而「更多」右对齐中间栏后被压缩出的可用宽度只有 713~819px（视口越窄越少），
     在 1150px 左右的窗口上 717 > 713，第 9 个「体育」被 overflow 裁掉 —— 这就是
     你说的「没看到体育」。
     padding 收到 9px 后，九个频道总宽约 585px，到 1000px 视口都不再溢出。 */
  .tab { height: 44px; line-height: 44px; font-size: 15.5px; padding: 0 9px; }
  .tab:first-child { padding-left: 0; }
  .tab.active { font-size: 17px; }
  .tab.active::after { bottom: 3px; width: 26px; }
  .tabs-more { border-left: none; padding-right: 0; }

  /* ---- 三栏 ---- */
  .layout { display: flex; gap: 20px; padding: 16px 16px 40px; align-items: flex-start; max-width: 1240px; }
  .feed-wrap { flex: 1; min-width: 0; max-width: none; background: var(--card); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
  .side-left { display: flex; flex-direction: column; gap: 12px; width: 190px; flex-shrink: 0; position: sticky; top: 126px; }
  .side-right { display: flex; width: 300px; flex-shrink: 0; position: sticky; top: 126px; flex-direction: column; gap: 12px; }
  /* v7.19 第 3 项：右栏「下拉固定」要真的固定住 ——
     原来只写了 sticky，右栏一旦比视口高（个人中心挂上功能菜单后必然如此），
     整块会被内容顶着一起滚走，看着就像没固定。限高 + 内部滚动后它始终咬在视口内。 */
  .side-right {
    max-height: calc(100vh - 146px);
    overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  }
  .side-right::-webkit-scrollbar { width: 6px; }
  .side-right::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
  /* v4.1 第 5 项：个人主页（「我的」）曾经取消右栏。
     v7.19 第 3 项：反过来 —— 个人中心的各项功能整体挂进右栏并下拉固定，
     所以这里不能再隐藏，改成把功能菜单卡做窄屏适配（见 .mine-side）。 */
  .card { padding: 16px 20px; }
  /* v7.9 第 1 项：--bg 改成纯白后，这里再写 var(--bg) 就等于「白底上叠白」，
     鼠标划过卡片完全没有反馈。改用专用的半透明悬停色 --hover，
     无论页面底色将来换成什么都成立。 */
  .card:hover { background: var(--hover); }
  .card-title { font-size: 20px; line-height: 1.45; }
  .card-row { gap: 16px; }
  .card-thumb { width: 158px; height: 106px; border-radius: 6px; }
  .card-bigimg { border-radius: 6px; }
  .brief-bar { padding: 12px 20px; }

  /* ---- 侧栏通用卡 ---- */
  .side-card { background: var(--card); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
  .side-card h5 { font-size: 15px; font-weight: 700; padding: 14px 16px 8px; display: flex; align-items: center; gap: 6px; }
  .side-card h5 em { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--text2); }

  /* 左侧：用户卡 */
  .side-user { background: var(--card); border-radius: 8px; box-shadow: var(--shadow); padding: 16px 14px; text-align: center; }
  .side-user .su-av { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 8px; overflow: hidden; background: var(--chip); font-size: 22px; }
  .side-user .su-av img { width: 100%; height: 100%; object-fit: cover; }
  .side-user .su-nm { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-user .su-tip { font-size: 12.5px; color: var(--text2); margin-top: 3px; }
  .side-user .su-btn { margin-top: 11px; width: 100%; height: 34px; border-radius: 17px; background: var(--primary-grad); color: #fff; font-size: 14px; font-weight: 600; }
  .side-user .su-st { display: flex; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
  .side-user .su-st div { flex: 1; font-size: 12.5px; color: var(--text2); }
  .side-user .su-st b { display: block; font-size: 15px; color: var(--text); margin-bottom: 2px; }

  /* 左侧：导航 */
  .side-nav { background: var(--card); border-radius: 8px; box-shadow: var(--shadow); padding: 8px; }
  .side-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border-radius: 6px; font-size: 15px; color: var(--text3); }
  .side-nav button.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
  .side-nav button:hover { background: var(--chip); }
  .side-nav .sn-badge { margin-left: auto; background: var(--primary); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 8px; }
  /* v7.11 第 5 项：左栏「个人中心」下方的语言切换卡 */
  /* v7.12 第 2 项：语言切换改成「一行」—— 地球图标 + 四个语言胶囊，
     风格对齐上方频道导航（横向胶囊，选中态红底白字）。 */
  /* v7.14 第 1 项：语言切换改为「下拉」模式（details/summary 原生展开，无需额外 JS 控制显隐） */
  .side-lang { background: var(--card); border-radius: 8px; box-shadow: var(--shadow); overflow: visible; }
  .side-lang > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; user-select: none;
  }
  .side-lang > summary::-webkit-details-marker { display: none; }
  .side-lang .sl-ico { flex: none; width: 18px; height: 18px; color: var(--text2); display: inline-flex; }
  .side-lang .sl-ico svg { display: block; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .side-lang .sl-label { flex: 1; font-size: 13px; color: var(--text); }
  .side-lang .sl-caret { color: var(--text2); font-size: 11px; transition: transform .14s; }
  .side-lang[open] .sl-caret { transform: rotate(180deg); }
  .side-lang .sl-pop {
    margin: 0 8px 8px; display: flex; flex-direction: column; gap: 2px;
    background: var(--bg); border-radius: 8px; padding: 5px;
  }
  .side-lang .lang-item {
    text-align: left; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 13px;
    background: transparent; border: 1px solid transparent; color: var(--text);
    transition: background .14s, color .14s, border-color .14s;
  }
  .side-lang .lang-item:hover { background: var(--chip); }
  .side-lang .lang-item.on { background: var(--chip); color: var(--primary); font-weight: 600; }

  /* 左侧：我的频道 */
  .side-ch { background: var(--card); border-radius: 8px; box-shadow: var(--shadow); padding: 12px 10px 14px; }
  .side-ch h5 { padding: 0 6px 9px; font-size: 14px; color: var(--text); }
  .side-ch .sc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .side-ch .sc-grid button { background: var(--chip); border-radius: 6px; padding: 9px 0; font-size: 13.5px; color: var(--text3); }
  .side-ch .sc-grid button:hover { color: var(--primary); }
  .side-ch .sc-grid button.active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }

  /* 右侧：热榜 */
  .hotmini { padding: 4px 16px 12px; }
  .hotmini .hm { display: flex; gap: 9px; padding: 8px 0; font-size: 14px; line-height: 1.45; cursor: pointer; }
  .hotmini .hm b { color: var(--text2); font-family: Georgia, serif; flex-shrink: 0; width: 14px; }
  .hotmini .hm:nth-child(1) b { color: #f5222d; }
  .hotmini .hm:nth-child(2) b { color: #fa8c16; }
  .hotmini .hm:nth-child(3) b { color: #faad14; }
  .hotmini .hm span { flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hotmini .hm i { font-style: normal; font-size: 12px; color: var(--text2); flex-shrink: 0; }
  .hotmini .hm:hover { color: var(--primary); }

  /* 右侧：大家还在搜 */
  .side-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
  .side-tags span { background: var(--chip); font-size: 13px; padding: 6px 11px; border-radius: 14px; color: var(--text3); cursor: pointer; }
  .side-tags span:hover { color: var(--primary); background: var(--primary-soft); }

  /* 右侧：下载 APP */
  .side-app { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 8px; box-shadow: var(--shadow); padding: 14px 16px; }
  .side-app .sq { width: 58px; height: 58px; flex-shrink: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; font-size: 26px; }
  .side-app .sa-t { font-size: 14.5px; font-weight: 700; }
  .side-app .sa-d { font-size: 12.5px; color: var(--text2); margin-top: 4px; line-height: 1.5; }

  .side-foot { font-size: 12px; color: var(--text2); line-height: 1.9; padding: 14px 16px; background: var(--card); border-radius: 8px; box-shadow: var(--shadow); }
  .side-foot a { color: var(--text3); margin-right: 10px; }
  .side-foot .cp { margin-top: 8px; }

  /* ===== 详情页 PC 三栏：左竖操作栏 + 正文 + 右栏 ===== */
  .page-inner { box-shadow: var(--shadow); border-radius: 8px; margin: 16px auto; min-height: calc(100vh - 32px); }
  #detailPage .page-inner { max-width: 1240px; }
  .dp-wrap { display: flex; gap: 20px; align-items: flex-start; padding: 0 0 24px; }
  .dp-main { flex: 1; min-width: 0; }

  /* 左：竖排操作栏 */
  .detail-ops {
    display: flex; flex-direction: column; gap: 14px; width: 62px; flex-shrink: 0;
    position: sticky; top: 40px; padding: 18px 0 0 16px;
  }
  .detail-ops .op {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    width: 46px; padding: 7px 0; border-radius: 8px; background: transparent;
  }
  .detail-ops .op:hover { background: var(--chip); }
  .detail-ops .op-ico { font-size: 21px; line-height: 1; color: var(--text3); }
  .detail-ops .op-n { font-size: 12px; color: var(--text2); }
  .detail-ops .op.on .op-ico { color: var(--primary); }
  .detail-ops .op.on .op-n { color: var(--primary); }

  /* 中：正文区收窄，去掉移动端的窄栏限制 */
  .dp-main .detail-body { padding: 18px 26px 30px; }

  /* 右：作者卡 + 热榜 */
  .detail-aside { display: flex; flex-direction: column; gap: 12px; width: 300px; flex-shrink: 0; position: sticky; top: 40px; }

  /* 详情页在 PC 下不显示移动端底部横排互动按钮 */
  .dp-main .dp-actions { display: none; }
  /* v7.8 第 1 项：PC 下发布框同样走文内流式（基础样式已经改成 static，
     这里只把早前「贴在栏底、带下方圆角」的旧写法收干净） */
  #detailPage .cmt-bar {
    position: static; left: auto; transform: none;
    width: auto; max-width: none; border-radius: 10px;
  }
  #detailPage .page-inner { padding-bottom: 24px; }

  /* ===== 个人主页 v4.0 第 8 项：取消右栏，改单栏宽版排版 =====
     右栏（近期最热文章 / 热榜）已按需求移除，正文与「我的」页保持同一条
     中缝基准，作品流宽度收敛到 880px 居中，阅读更聚焦。 */
  #uhPage .page-inner { max-width: 1240px; }
  .uh-cols { display: block; padding: 0 20px 24px; }
  .uh-main { max-width: 880px; margin: 0 auto; }
  .uh-aside { display: none !important; }
  #uhPage .mine-tabs { margin: 0 0 6px; }
  /* 头部横向铺开：信息在左，操作按钮靠右且不拉伸 */
  #uhPage .uh-top { padding: 22px 26px 18px; }
  #uhPage .uh-row { gap: 15px; }
  #uhPage .uh-avatar { width: 72px; height: 72px; font-size: 32px; }
  #uhPage .uh-nums { gap: 34px; margin-top: 14px; }
  #uhPage .uh-actions { margin-top: 0; position: absolute; right: 26px; bottom: 20px; width: auto; }
  #uhPage .uh-follow { flex: none; padding: 9px 34px; }
  #uhPage .uh-msg { flex: none; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .side-right { width: 260px; }
  .side-left { width: 172px; }
}

/* ============================================================================
   v3.0 平台化模块样式
   顶栏站点切换 + 天气 / 快讯滚动条 / 活动系统 / 话题 / 机构 / 主办方后台
   ========================================================================== */

/* ---------------- 顶栏：站点切换 + 天气 ---------------- */
.sw-host { display: none; }
.sw-box { display: flex; align-items: center; gap: 8px; }
.sw-st {
  position: relative; font-size: 13px; font-weight: 700; color: var(--text);
  padding: 3px 16px 3px 8px; border-radius: 12px; background: var(--chip); cursor: pointer;
}
.sw-st::after {
  content: ""; position: absolute; right: 6px; top: 50%; margin-top: -2px;
  border: 4px solid transparent; border-top-color: var(--text2); border-bottom: none;
}
.sw-box.open .sw-st::after { border-top-color: var(--primary); }
.sw-list { position: absolute; left: 0; top: calc(100% + 6px); z-index: 40; min-width: 116px; padding: 5px; border-radius: 8px; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.sw-opt { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 6px; font-size: 13px; color: var(--text3); }
.sw-opt:hover { background: var(--chip); }
.sw-opt.active { color: var(--primary); font-weight: 700; background: var(--primary-soft); }
.sw-wx { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text3); white-space: nowrap; }
.sw-wx i { font-style: normal; }
.sw-wx em { font-style: normal; color: var(--primary); background: var(--primary-soft); padding: 1px 6px; border-radius: 8px; font-size: 11.5px; }

/* ---------------- 快讯滚动条 ----------------
   v4.0：PC 端跑马灯已移进 Hero（.hero-flash，见下），这条基础样式
   现在只服务「手机端没有 Hero 时」退回频道栏上方的那种形态。 */
.flash-bar {
  display: flex; align-items: center; gap: 8px; max-width: 1280px; margin: 0 auto;
  padding: 7px 12px; background: var(--card); border-bottom: 1px solid var(--line); overflow: hidden;
}
@media (min-width: 1000px) {
  /* PC 端 Hero 内已有跑马灯，避免同一条快讯出现两次 */
  .flash-bar:not(.hero-flash) { display: none; }
}
.fb-tag {
  display: flex; align-items: baseline; gap: 3px; flex-shrink: 0;
  /* v7.2 第 3 项：原来这里用 `background: var(--primary-grad)`（一个 linear-gradient 简写）。
     浏览器展开 background 简写时会把 background-clip 一并重置为 border-box，
     于是这条徽标在某些上下文中被 background-clip:text 的规则波及 ——
     渐变被裁进字形，白字失去红色底衬，肉眼看到的就是一个「白色空心框」。
     这里改用实心红 + content-box 裁剪，锁定成纯色块，不再受渐变裁剪影响。 */
  background-color: var(--primary);
  background-image: none;
  -webkit-background-clip: content-box; background-clip: content-box;
  color: #fff; font-size: 12.5px; font-weight: 800;
  padding: 3px 8px; border-radius: 4px; letter-spacing: .5px;
}
.fb-tag i { font-style: normal; font-size: 10px; font-weight: 600; opacity: .85; }
/* v7.8 第 7 项：Hero 跑马灯徽标前面的闪电图标。
   .fb-tag 用 align-items:baseline，是为了让「24小时」这个小字号 <i> 和大字对齐；
   但 SVG 没有基线可依，放进 baseline 容器会往上飘出胶囊。
   这里单独把它改成 center 居中并给定尺寸，视觉上和文字同一条中线。 */
.fb-tag .fb-ico { align-self: center; display: block; width: 13px; height: 13px; flex-shrink: 0; margin-right: 1px; }
.fb-tag .fb-ico > svg { display: block; width: 100%; height: 100%; }
.fb-view { flex: 1; overflow: hidden; }
.fb-track { display: flex; gap: 28px; white-space: nowrap; will-change: transform; }
.fb-item { font-size: 13px; color: var(--text3); }
.fb-item b { color: var(--primary); font-weight: 700; margin-right: 5px; }

/* ---- v4.0 第 5 项：Hero 搜索框下方的 24 小时专业号快讯跑马灯 ----
   v4.1：底色改成透明玻璃质感（10% 白 + 1px 亮边 + 轻模糊），
   与顶栏、Hero 红金底完全一体化，不再是一条突兀的白胶囊。
   文字同步转白/浅金：白字压在 #c00d17~#7a0a13 上对比度 > 8:1。 */
.hero-flash {
  max-width: 620px; margin: 14px auto 0;
  height: 38px; padding: 0 13px; gap: 10px;
  border-radius: 19px; border-bottom: none;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  /* v4.1：Hero 里的跑马灯要完全框住文字 —— 溢出会让「更多 ›」被裁掉、
     条目直接怼到圆角外，看起来像一条没对齐的乱码。两端加渐隐，读起来才像滚动条。 */
  overflow: hidden;
}
.hero-flash .fb-view {
  /* 两端 18px 渐隐：条目从右侧淡入、左侧淡出，滚动感更自然 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
/* v4.1 第 4 项：跑马灯宿主。它必须是 hero-inner 的最后一个块级子节点，
   且自身不产生任何多余留白 —— Hero 的 padding-bottom 负责它到红底下沿的距离。
   ⚠ 绝不能用 :empty{display:none} 来「空时收掉」：宿主为空时 offsetParent 变 null，
     挂载逻辑据此判定 Hero 不可见，于是把跑马灯挂到频道栏上方（PC 上实测直接消失）。
     空态留白由 .hero-flash 自己的 margin 承担，宿主本身不给 margin。 */
#heroFlashHost { display: block; }
/* Hero 高度收一收：内容多了跑马灯之后，原来的 44px 下留白会把红底浪费掉 */
@media (min-width: 1000px) {
  .hero { padding-bottom: 34px; }
}
/* v7.0 第 2 项：去掉「快讯 24h」那圈描边。
   它压在 Hero 的红金底上，1px 亮边在深色背景上特别跳，像贴了个创可贴；
   现在只留一点底色把文字和滚动内容分开，border / box-shadow 全部去掉。 */
.hero-flash .fb-tag {
  /* v7.2 第 3 项：Hero 里这条原来用半透明白底，压在红金底上像一圈「白色描边框」。
     改为半透明深红底 + 无边框，既与红底同色系，又能把文字和滚动内容分开。 */
  background-color: rgba(0, 0, 0, .18);
  background-image: none;
  -webkit-background-clip: content-box; background-clip: content-box;
  color: #fff; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
  border: none; box-shadow: none; outline: none;
}
/* 通栏那条（挂在频道栏上方的快讯条）同样不带边框、不带任何外框观感 */
.fb-tag { border: none; box-shadow: none; outline: none; text-shadow: none; }
.fb-tag i { text-shadow: none; }
.hero-flash .fb-tag i { opacity: .9; }
.hero-flash .fb-item { color: rgba(255, 255, 255, .92); }
.hero-flash .fb-item b { color: #ffd970; }
.hero-flash .fb-item:hover { color: #fff; }
body.hero-dark .hero-flash { background: rgba(40, 36, 34, .96); box-shadow: 0 6px 20px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 210, 140, .3); }
body.hero-dark .hero-flash .fb-item { color: rgba(255, 236, 208, .88); }
body.hero-dark .hero-flash .fb-item:hover { color: #ffd970; }

/* ---------------- 通用：加载 / 宽版 ---------------- */
.pg-load { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 46px 0; color: var(--text2); font-size: 13px; }
.pg-spin { width: 15px; height: 15px; border: 2px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: pgspin .7s linear infinite; }
@keyframes pgspin { to { transform: rotate(360deg); } }
.page-wide { max-width: 1080px; }

/* ---------------- 活动中心 ---------------- */
.ev-tabs { display: flex; gap: 22px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.ev-tabs .evt { position: relative; padding: 12px 0; font-size: 15px; color: var(--text2); }
.ev-tabs .evt.on { color: var(--text); font-weight: 700; }
.ev-tabs .evt.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--primary); }

.ev-search { display: flex; gap: 8px; padding: 12px 14px 4px; }
.ev-in { flex: 1; }
.ev-go { padding: 0 18px; border-radius: 6px; background: var(--primary-grad); color: #fff; font-size: 14px; font-weight: 600; }
.ev-chips { display: flex; gap: 7px; padding: 8px 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ev-chip {
  flex-shrink: 0; padding: 5px 12px; border-radius: 14px; background: var(--chip);
  font-size: 12.5px; color: var(--text3); white-space: nowrap;
}
.ev-chip.on { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.ev-sortbar { display: flex; gap: 18px; padding: 4px 16px 8px; border-bottom: 1px solid var(--line); }
.ev-sort { font-size: 13.5px; color: var(--text2); }
.ev-sort.on { color: var(--primary); font-weight: 700; }

.ev-card { display: flex; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); background: var(--card); }
.ev-card:active { background: var(--chip); }
.ev-cover {
  position: relative; width: 112px; height: 82px; flex-shrink: 0; border-radius: 6px; overflow: hidden;
  background: var(--chip) center/cover no-repeat;
}
.ev-badge { position: absolute; left: 0; top: 0; padding: 2px 7px; border-radius: 6px 0 6px 0; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; }
.ev-badge.b-end { background: #9096a0; }
.ev-badge.b-full { background: #e08a1e; }
.ev-free, .ev-pay {
  position: absolute; right: 0; bottom: 0; padding: 2px 7px; border-radius: 6px 0 0 0;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 600;
}
.ev-free { background: rgba(24, 130, 70, .85); }
.ev-body { flex: 1; min-width: 0; }
.ev-title { font-size: 15.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-when, .ev-where { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 12.5px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-when i, .ev-where i { font-style: normal; }
.ev-foot { display: flex; gap: 12px; margin-top: 7px; font-size: 12px; color: var(--text2); }
.ev-foot .ev-num { color: var(--primary); }
.ev-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.ev-tags span { font-size: 11.5px; color: var(--text2); background: var(--chip); padding: 1px 6px; border-radius: 4px; }

.ev-pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 0 26px; font-size: 13px; color: var(--text2); }
.ev-pager button { padding: 6px 16px; border-radius: 15px; background: var(--chip); font-size: 13px; color: var(--text3); }
.ev-pager button:disabled { opacity: .4; cursor: not-allowed; }
.ev-pager button:not(:disabled):hover { color: var(--primary); }

/* 活动日历 */
.cal-head { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 0 6px; }
.cal-nav { width: 30px; height: 30px; border-radius: 50%; background: var(--chip); color: var(--text3); font-size: 16px; }
.cal-ym { font-size: 16px; font-weight: 700; min-width: 116px; text-align: center; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); padding: 6px 0; border-bottom: 1px solid var(--line); }
.cal-dow span { text-align: center; font-size: 12px; color: var(--text2); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 8px 6px; }
.cal-cell { position: relative; height: 48px; display: flex; align-items: center; justify-content: center; flex-direction: column; border-radius: 6px; font-size: 14px; color: var(--text3); }
.cal-cell.empty { visibility: hidden; }
.cal-cell.has { background: var(--primary-soft); color: var(--primary); font-weight: 700; cursor: pointer; }
.cal-cell.has i { position: absolute; right: 5px; top: 4px; font-style: normal; font-size: 10px; background: var(--primary); color: #fff; border-radius: 8px; padding: 0 4px; }
.cal-cell.today { outline: 1.5px solid var(--primary); }
.cal-cell.today em { position: absolute; left: 5px; top: 4px; font-style: normal; font-size: 9px; color: var(--primary); }
.cal-day { padding: 4px 0 20px; border-top: 1px solid var(--line); }
.cal-hint { padding: 10px 14px; font-size: 12.5px; color: var(--text2); }

/* 活动详情 */
.evd-cover { height: 200px; background: var(--chip) center/cover no-repeat; }
.evd-main { padding: 14px 15px 0; }
.evd-toprow { display: flex; align-items: center; gap: 8px; }
.evd-cat { font-size: 12px; color: var(--primary); background: var(--primary-soft); padding: 3px 9px; border-radius: 4px; font-weight: 600; }
.evd-status { font-size: 12px; color: #1e8b52; background: rgba(30, 139, 82, .1); padding: 3px 9px; border-radius: 4px; font-weight: 600; }
.evd-status.s-end { color: #8b8f98; background: var(--chip); }
.evd-status.s-full { color: #d97706; background: rgba(217, 119, 6, .1); }
.evd-title { margin-top: 10px; font-size: 21px; font-weight: 700; line-height: 1.42; }
.evd-summary { margin-top: 9px; font-size: 14px; color: var(--text3); line-height: 1.65; }
.evd-info { margin-top: 14px; background: var(--chip); border-radius: 8px; padding: 6px 12px; }
.evd-row { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.evd-row:last-child { border-bottom: none; }
.evd-row i { font-style: normal; width: 18px; flex-shrink: 0; }
.evd-row b { display: block; font-size: 14px; font-weight: 600; }
.evd-row span { display: block; margin-top: 2px; font-size: 12px; color: var(--text2); }
.evd-org { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.evd-logo { width: 40px; height: 40px; border-radius: 8px; background: var(--chip); display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; }
.evd-orginfo { flex: 1; min-width: 0; }
.evd-orginfo b { font-size: 14.5px; font-weight: 600; }
.evd-orginfo em { display: block; margin-top: 3px; font-style: normal; font-size: 12px; color: var(--text2); }
.evd-orggo { font-size: 12px; color: var(--text2); flex-shrink: 0; }
.evd-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.evd-tags span { font-size: 12px; color: var(--text2); background: var(--chip); padding: 3px 8px; border-radius: 4px; }
.evd-sec { margin-top: 20px; }
.evd-sec h5 { font-size: 15px; padding-left: 9px; border-left: 3px solid var(--primary); margin-bottom: 10px; }
.evd-body { font-size: 14.5px; line-height: 1.85; color: var(--text3); }
.evd-tickets { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.tk-item { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.tk-item:last-child { border-bottom: none; }
.tk-left b { font-size: 14px; font-weight: 600; }
.tk-left span { display: block; margin-top: 2px; font-size: 13px; color: var(--primary); font-weight: 700; }
.tk-right { font-size: 12.5px; color: var(--text2); }
.evd-bar-space { height: 76px; }
.evd-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; display: flex; align-items: center; gap: 10px;
  max-width: 660px; margin: 0 auto; padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: var(--card); border-top: 1px solid var(--line);
}
.evd-ico { display: flex; flex-direction: column; align-items: center; gap: 1px; width: 50px; font-size: 17px; color: var(--text2); flex-shrink: 0; }
.evd-ico span { font-size: 11px; }
.evd-ico.on { color: #f0a020; }
.evd-btn { flex: 1; height: 42px; border-radius: 21px; background: var(--primary-grad); color: #fff; font-size: 15.5px; font-weight: 700; }
.evd-btn.off { background: var(--chip); color: var(--text2); }
.evd-btn.done { background: var(--chip); color: var(--text3); }

/* 报名浮层 */
.sheet-mask { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; justify-content: center; animation: fadeIn .2s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet { width: 100%; max-width: 560px; max-height: 88vh; display: flex; flex-direction: column; background: var(--card); border-radius: 14px 14px 0 0; animation: sheetUp .26s cubic-bezier(.3, .8, .3, 1) both; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sheet-head b { font-size: 15.5px; }
.sheet-head button { font-size: 15px; color: var(--text2); padding: 2px 6px; }
.sheet-body { padding: 12px 16px 6px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sheet-foot { padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.rg-ev { font-size: 14px; font-weight: 600; padding: 4px 0 12px; }
.rg-ev span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text2); font-weight: 400; }
.rg-label { font-size: 13px; color: var(--text2); margin: 12px 0 7px; }
.rg-tickets { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-tk { padding: 8px 13px; border-radius: 6px; background: var(--chip); font-size: 13px; color: var(--text3); }
.rg-tk.on { background: var(--primary-soft); color: var(--primary); font-weight: 700; box-shadow: inset 0 0 0 1px var(--primary); }
.rg-qty { display: flex; align-items: center; gap: 14px; }
.rg-qty button { width: 30px; height: 30px; border-radius: 50%; background: var(--chip); font-size: 16px; color: var(--text3); }
.rg-qty span { min-width: 28px; text-align: center; font-size: 15px; font-weight: 600; }
.rg-in { margin-bottom: 9px; }
.rg-sum { display: flex; align-items: center; justify-content: space-between; padding: 11px 0 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.rg-sum span { font-size: 13px; color: var(--text2); }
.rg-sum b { font-size: 20px; color: var(--primary); }
.rg-submit { width: 100%; height: 44px; border-radius: 22px; background: var(--primary-grad); color: #fff; font-size: 15.5px; font-weight: 700; }
.rg-submit:disabled { opacity: .55; }
.mye-line { padding: 6px 14px 12px; font-size: 12.5px; color: var(--text2); }

/* ---------------- 话题广场 ---------------- */
.tp-cats { display: flex; gap: 7px; padding: 12px 14px; overflow-x: auto; }
.tp-grid { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 14px 20px; }
.tp-card { border-radius: 8px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); cursor: pointer; }
.tp-cover { position: relative; height: 120px; background: var(--chip) center/cover no-repeat; }
.tp-hot { position: absolute; right: 8px; top: 8px; padding: 2px 8px; border-radius: 10px; background: rgba(0, 0, 0, .5); color: #fff; font-size: 11.5px; }
.tp-body { padding: 11px 12px 13px; }
.tp-body h4 { font-size: 15.5px; font-weight: 600; }
.tp-body p { margin-top: 6px; font-size: 12.5px; color: var(--text2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-foot { display: flex; gap: 14px; margin-top: 9px; font-size: 12px; color: var(--text2); }

.tpd-head { position: relative; height: 168px; background: var(--chip) center/cover no-repeat; }
.tpd-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .72)); }
.tpd-hi { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 15px; }
.tpd-hi h3 { color: #fff; font-size: 21px; font-weight: 800; }
.tpd-hi p { margin-top: 6px; color: rgba(255, 255, 255, .85); font-size: 12.5px; line-height: 1.6; }
.tpd-stat { display: flex; gap: 20px; padding: 12px 15px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text2); }
.tpd-list { padding-bottom: 20px; }
.tpd-owner { margin-left: auto; color: var(--text3); }

/* ---------------- v3.4：发起专题 / 收录稿件 ---------------- */
.tp-cats .tp-mine { border: 1px dashed var(--primary); color: var(--primary); background: transparent; flex: none; }
.tp-foot .tp-del {
  margin-left: auto; padding: 3px 10px; border: 1px solid var(--line);
  border-radius: 12px; color: var(--text2); font-size: 12px; cursor: pointer;
}
.tp-foot .tp-del:active { color: var(--primary); border-color: var(--primary); }
.evf-tip { margin-top: 10px; font-size: 12px; color: var(--text2); line-height: 1.6; }

.tpk-list { padding: 6px 14px 20px; }
.tpk-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.tpk-t { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.tpk-m { flex: none; font-size: 11.5px; color: var(--text2); text-align: right; }
.tpk-add {
  flex: none; padding: 5px 14px; border-radius: 14px; border: 1px solid var(--primary);
  color: var(--primary); font-size: 12.5px; font-weight: 600; background: transparent; cursor: pointer;
}
.tpk-add:disabled { opacity: .5; }

/* ---------------- 时讯号（个人号 / 机构号 / 专业号） ---------------- */
.og-list { padding-bottom: 20px; }
.og-card { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-bottom: 1px solid var(--line); background: var(--card); }
.og-logo { width: 46px; height: 46px; border-radius: 10px; background: var(--chip); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.og-info { flex: 1; min-width: 0; }
/* v4.0 修错位根因：.og-name 是 flex 行，之前塞进去的是全局 .vbadge（14px 定宽圆标 +
   margin-left:4px），既把机构名挤掉又错位。现在改用专用胶囊 .og-kind，
   名字可省略号收缩，胶囊 flex:none 永不被挤走。 */
.og-name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
.og-name .og-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-kind { flex: none; padding: 1px 7px; border-radius: 9px; font-size: 11px; font-weight: 600; line-height: 1.6; }
.og-kind.org  { background: rgba(22, 119, 255, .13); color: #0b56c2; }
.og-kind.pro  { background: rgba(229, 56, 74, .13);  color: #b3121f; }
.og-kind.gray { background: var(--chip); color: var(--text2); }
/* v4.1 第 3 项：三分类要全套 —— 个人号也要有同款绿色胶囊（此前只有 org/pro），
   导致「个人号」在机构列表、活动主办方、侧栏推荐里无处可标。 */
.og-kind.personal { background: rgba(0, 176, 116, .14); color: #00805a; }
.og-intro { margin-top: 3px; font-size: 12.5px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-foot, .og-num { display: flex; gap: 12px; margin-top: 5px; font-size: 11.5px; color: var(--text2); }
.og-num span b { font-size: 14px; color: var(--text); font-weight: 700; margin-right: 3px; }
.og-follow { flex-shrink: 0; padding: 5px 15px; border-radius: 15px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; }
.og-follow.on { background: var(--chip); color: var(--text2); }

.ogh-head { display: flex; gap: 13px; padding: 18px 15px 12px; }

/* --------------------------------------------------------------------------
   v7.10：时讯号（用户）主页 —— 去边框 + 顶部背景图
   v7.15：封面「自适应切合」重做（本次改动的重点）
   --------------------------------------------------------------------------
   原来整页是「一张带圆角 + 阴影的白卡片」，四周一圈边界线，
   在纯白底上显得很拘束，也不像主流的人物主页。
   现在改成：整块不再有卡片外壳（无边框、无阴影、无圆角），
   内容直接铺在页面上，只在最上面留一条背景图位来撑气场。
   ⚠ 只对时讯号主页这一个页面生效（#oghPage），不碰通用 .page-inner，
     否则活动 / 专题 / 搜索页会跟着一起变，那不是这次要改的范围。

   —— v7.15 为什么改 ——
   真实案例：作者把自己 1536×1536 的方形 LOGO 当背景图传上来，
   而封面原本是一条固定 190px 高的长条，background-size:cover 把方图
   上下各裁掉近一半，只剩中间那条大字；更糟的是头像与昵称原名又整组
   压在封面上（margin-top:-82px），两层内容叠在同一块像素上 ——
   于是「GBAP」上又盖了一个 GBAP 头像和一行「大灣區新聞社」，糊成一团。

   三处根因，三条对策：
   1) 固定像素高度 → 改 aspect-ratio 按宽度等比缩放，手机 / 平板 / 桌面
      各自一个比例，任意宽度下图片都不会被拉扁或挤成窄条。
   2) 一律 cover → 改「按图片与封面框的宽高比自动选」：
        比例接近 → cover 铺满（本来就好看，损耗小）
        方图 / 竖图 / 超宽图 → contain 整图完整显示，缺的那两侧用
        同一张图放大 + 模糊补边（业界通用做法，任意比例都不露白、不裁字）
      作者本人还能在封面上手动锁定「铺满 / 完整」，默认交给自动。
   3) 文字压在图上 → 头像只压住封面底边的一小截，昵称 / 副标题 / 数据
      全部移到封面之下，用正常正文色。
      这是最关键的一条：只要文字不再占据图片像素，撞图就不可能发生。
      白字 + 描边那套（原来为压图而写）随之整段删除。
   -------------------------------------------------------------------------- */
#oghPage .page-inner {
  background: transparent; border: none; box-shadow: none; border-radius: 0;
}

/* 封面 + 头像区整体包一层，方便做层叠与定位 */
.ogh-hero { position: relative; }

/* ---- 封面框：三层叠放（模糊补底 / 主图 / 压暗蒙版） ----
   高度用 aspect-ratio 跟着宽度走：
     手机  ≈ 2.3:1（375 → 164px）
     平板  ≈ 3.3:1（660 → 198px）
     桌面  ≈ 3.5:1（998 → 281px）
   再各配一个 max-height 兜底，超宽屏不会把封面拉成一条巨幕。 */
.ogh-cover {
  position: relative;
  aspect-ratio: 16 / 7;
  max-height: 190px;
  min-height: 128px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  /* 底层兜底：没传图 / 图挂了 / data URI 被拦，都退回这块品牌渐变，
     不会出现破图图标，也不会塌成一条白带。 */
  background: linear-gradient(115deg, #d40f19 0%, #a20b13 46%, #6d0710 100%);
}
@media (min-width: 640px) { .ogh-cover { aspect-ratio: 10 / 3; max-height: 230px; } }
@media (min-width: 1000px) { .ogh-cover { aspect-ratio: 1000 / 282; max-height: none; } }

/* 三层公共定位 */
.ogh-cover-blur, .ogh-cover-img, .ogh-cover-mask { position: absolute; inset: 0; }

/* 第 1 层：模糊补底。只在 contain（整图完整）模式下可见，
   用同一张图放大 + 高斯模糊铺满整框，把图片两侧/上下的空缺填满，
   观感上是「这张图自己的颜色往外洇开」，而不是一条突兀的白边。 */
.ogh-cover-blur {
  background-size: cover; background-position: center;
  filter: blur(26px) saturate(1.12) brightness(.82);
  transform: scale(1.16);
  opacity: 0;
  transition: opacity .18s ease;
}
.ogh-cover.fit-contain .ogh-cover-blur { opacity: 1; }

/* 第 2 层：主图。默认 cover（比例合适时观感最好）；
   JS 判定「比例差太多」或作者手动选了「完整」时，加 .fit-contain 改 contain。 */
.ogh-cover-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.ogh-cover.fit-contain .ogh-cover-img { background-size: contain; }

/* 第 3 层：压暗蒙版。以前上下压得很重（.28 ~ .52）是为了让白字读得清；
   现在文字已经移出封面，蒙版只保留两条极轻的：
   顶部一条给「更换背景图」按钮衬底，底部一条给头像描边和封面收边。 */
.ogh-cover-mask {
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10, 12, 18, .26) 0%,
    rgba(10, 12, 18, 0) 26%,
    rgba(10, 12, 18, 0) 62%,
    rgba(10, 12, 18, .30) 100%);
}

/* ---- 作者本人可见的三件套：适应方式 / 更换 / 移除 ----
   ⚠ 必须放「顶部」不能放底部（v7.15 实测踩到的坑）：
     头像 margin-top:-42px 压在封面左下角，z-index 同样是 2，
     底部那条操作栏会被 78px 的圆形头像盖住一半，按钮点不动。
     现在拆成两端：左上「自动 / 铺满 / 完整」，右上「更换 / 移除」，
     顶端那 26% 的压暗蒙版正好给它们当衬底。访客看不到任何一件。 */
.ogh-cover-act {
  position: absolute; left: 12px; right: 12px; top: 12px; bottom: auto; z-index: 3;
  display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap;
  justify-content: space-between;
}
.ogh-cover-act .oc-right { display: flex; gap: 8px; margin-left: auto; }
.ogh-cover-act button {
  padding: 5px 12px; border-radius: 15px; font-size: 12.5px; font-weight: 600;
  background: rgba(0, 0, 0, .46); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .26); cursor: pointer;
  transition: background .16s, border-color .16s;
}
.ogh-cover-act button:hover { background: rgba(0, 0, 0, .68); }
.ogh-cover-act .oc-seg { display: flex; gap: 0; border-radius: 15px; overflow: hidden; }
.ogh-cover-act .oc-seg button {
  border-radius: 0; padding: 5px 11px;
  background: rgba(0, 0, 0, .46); border: none;
  border-right: 1px solid rgba(255, 255, 255, .18);
}
.ogh-cover-act .oc-seg button:last-child { border-right: none; }
.ogh-cover-act .oc-seg button.on {
  background: var(--primary); color: #fff; border-right-color: transparent;
}
.ogh-cover-act .oc-seg button.on + button { border-left-color: transparent; }
.ogh-cover-act .oc-x { padding: 5px 10px; }

/* ---- 头像：只压住封面底边的一小截 ----
   margin-top:-42px 让整个头部上提 42px，于是 78px 的头像有 42px 在图上、
   36px 在页面底色上；meta 里的 padding-top:50px 把昵称压到封面下沿之下 8px。
   数字都是成套的，改 -42 要同步改 meta 的 padding-top（见下方注释）。 */
.ogh-head {
  position: relative;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 0 16px;
  margin-top: -42px;
  z-index: 2;
}
.ogh-logo {
  width: 78px; height: 78px; flex: none;
  border-radius: 50%;
  background: var(--chip);
  overflow: hidden;
  /* 一圈和页面底色同色的描边 —— 头像像从封面里「抠」出来，
     同时把头像与照片明确隔开，不会两者糊在一起。 */
  box-shadow: 0 0 0 3px var(--bg), 0 6px 18px rgba(0, 0, 0, .16);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
}
.ogh-meta { min-width: 0; flex: 1; padding-top: 50px; }
.ogh-meta h3 { font-size: 20px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ogh-meta h3 .ogh-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* 时讯号三分类说明条 */
.og-intro-bar { margin: 0 14px 10px; padding: 10px 12px; border-radius: 8px; background: var(--chip);
  font-size: 12.5px; line-height: 1.85; color: var(--text3); }
/* 时讯号三分类说明条 —— 三色文字按 WCAG AA 实测调过：
   浅色下绿/蓝/红分别 4.9 / 5.3 / 5.6，深色下 5.5 / 6.1 / 5.4。
   做法是浅色用更深一档的色，深色用更亮一档的色，而不是直接用品牌三色。 */
.og-intro-bar { margin: 0 14px 10px; padding: 10px 12px; border-radius: 8px; background: var(--chip);
  font-size: 12.5px; line-height: 1.85; color: var(--text3); }
.og-intro-bar b { font-weight: 700; }
.og-intro-bar .k-green { color: #0a6e37; }
.og-intro-bar .k-blue  { color: #0a56bd; }
.og-intro-bar .k-red   { color: #b3121f; }
body[data-theme="dark"] .og-intro-bar .k-green { color: #4fd98c; }
body[data-theme="dark"] .og-intro-bar .k-blue  { color: #7ebcff; }
body[data-theme="dark"] .og-intro-bar .k-red   { color: #ff8f92; }
/* 胶囊：浅色用深字浅底，深色用亮字半透底 */
body[data-theme="dark"] .og-kind.org { background: rgba(90, 169, 255, .2); color: #9ccdff; }
body[data-theme="dark"] .og-kind.pro { background: rgba(255, 107, 112, .2); color: #ff9ea1; }
body[data-theme="dark"] .og-kind.personal { background: rgba(60, 220, 160, .2); color: #7ee0b8; }
.ogh-sub { margin: 5px 0 0; font-size: 12.5px; color: var(--text2); }
/* 「所属机构」小胶囊：以前压在封面图上要用半透明白底白字，
   现在回到页面底上，用常规浅灰底 + 深字，和认证标签同一套语言。 */
.ogh-org {
  margin-top: 7px; display: inline-block; max-width: 100%;
  padding: 3px 9px; border-radius: 6px; background: var(--chip);
  font-size: 12px; line-height: 1.7; color: var(--text2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ogh-org b { color: var(--text); font-weight: 600; }

/* 作品 / 粉丝 / （有活动时的）活动：三格等宽数据条。
   以前这三个数是直接跟在封面白字后面的裸 span，没有任何样式，
   挤成「4作品1粉丝」一行小字；独立成条之后信息层级一下清楚了。 */
.ogh-num {
  display: flex; margin: 14px 16px 0; padding: 11px 0;
  border-radius: 10px; background: var(--chip);
}
.ogh-num span {
  flex: 1; min-width: 0; padding: 1px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  border-left: 1px solid var(--line);
}
.ogh-num span:first-child { border-left: none; }
.ogh-num b { font-size: 17px; font-weight: 700; line-height: 1.15; color: var(--text); }
.ogh-num i { font-style: normal; font-size: 11.5px; color: var(--text2); }
.ogh-num em {
  font-style: normal; font-size: 13px; font-weight: 600; color: #a86f05;
}
.ogh-actions { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; }
.ogh-btn { padding: 9px 26px; border-radius: 20px; background: var(--chip); color: var(--text3); font-size: 14.5px; font-weight: 600; }
.ogh-btn.primary { background: var(--primary); color: #fff; box-shadow: 0 3px 10px rgba(212, 15, 25, .24); }
/* v7.25 第 2 项：与「关注」并排的「发私信」。
   width:auto + flex:none —— 关注按钮是 padding 撑开的，私信按钮多了一个图标，
   不给 flex:none 会被 flex 压缩成一个窄条，图标和文字挤在一起。
   图标用 [data-icon] 体系（ICONS.mail），尺寸跟主字号对齐。 */
.ogh-btn.ogh-pm {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  flex: none; padding: 9px 18px; background: var(--card); color: var(--text2);
  border: 1px solid var(--line);
}
.ogh-btn.ogh-pm:hover { border-color: var(--primary); color: var(--primary); }
.ogh-pm-ico { display: block; width: 15px; height: 15px; flex: none; }
.ogh-tag { font-size: 12px; color: #1e8b52; background: rgba(30, 139, 82, .1); padding: 3px 9px; border-radius: 4px; }
.ogh-intro { margin: 12px 16px 0; padding: 12px; border-radius: 8px; background: var(--chip); font-size: 13.5px; line-height: 1.7; color: var(--text3); }
.og-tabs { display: flex; gap: 24px; margin-top: 4px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.og-tabs .ogt { position: relative; padding: 11px 0; font-size: 14.5px; color: var(--text2); }
.og-tabs .ogt.on { color: var(--text); font-weight: 700; }
.og-tabs .ogt.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--primary); }
.ogh-about { padding: 12px 15px 22px; }
.ogh-row { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ogh-row span { color: var(--text2); }
.ogh-row b { font-weight: 600; word-break: break-all; text-align: right; max-width: 66%; }

/* ---- v4.2 第 2/3 项：时讯号卡片与合一后的主页 ---- */
.og-card { cursor: pointer; }
.og-card .og-arrow { flex: none; color: var(--text2); font-size: 20px; line-height: 1; }
/* 头像位：emoji 字形缺失时会渲染成豆腐块，所以给一个纯色兜底底纹，
   保证「空框」至少看起来是一个有内容的色块而不是坏图。 */
.og-logo, .ogh-logo {
  background: var(--chip);
  /* 组合 emoji（如 👩‍👧、🧑‍💻）在部分 Android / 精简字体环境下缺字形，
     用 emoji 字体族优先，取不到时下面的 fallback 会显示成单色字形而不是豆腐块。 */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
               "Segoe UI Symbol", system-ui, sans-serif;
}
/* 「供稿」小标：有平台供稿资质的专业号才挂 */
.og-supply {
  flex: none; padding: 1px 6px; border-radius: 8px; font-size: 10.5px; font-weight: 700;
  background: rgba(212, 15, 25, .10); color: #b3121f;
}
body[data-theme="dark"] .og-supply { background: rgba(255, 107, 112, .2); color: #ff9ea1; }

/* ---- v7.15：时讯号主页封面的桌面适配（≥1000px，走 shell 主列，封面宽约 998px）----
   三处放大，不然 998 宽的版面里 78px 头像和 2 格数据条会显得又小又空：
   ① 头像 78 → 88，压边从 42 → 48（配套改 meta 的 padding-top，两个数是一对）；
   ② 昵称 20 → 23px；
   ③ 数据条从「整宽两格」改成「左对齐 + 竖线分隔」——
      整宽时每格摊到 500px 宽，数字孤零零浮在两边；左对齐后是一行紧凑的
      「88 作品 │ 12 粉丝 │ 3 活动」，和左边头像/昵称共用一条视觉基线。
   ⚠ 这段必须写在上面所有 .ogh-* 基础规则之后：
     媒体查询不增加选择器权重，靠的是「同权重后者胜」。
     之前放在 .ogh-num 基础样式之前，整段被后面的基础规则原样盖掉，
     桌面端数据条一直是「整宽两格」，白写了。 */
@media (min-width: 1000px) {
  .ogh-head { margin-top: -48px; gap: 16px; padding: 0 20px; }
  .ogh-logo { width: 88px; height: 88px; font-size: 38px; }
  .ogh-meta { padding-top: 58px; }
  .ogh-meta h3 { font-size: 23px; }
  .ogh-sub { font-size: 13.5px; }
  .ogh-num {
    background: transparent; border-radius: 0;
    margin: 18px 20px 0; padding: 0; justify-content: flex-start;
  }
  .ogh-num span {
    flex: 0 0 auto; flex-direction: row; align-items: baseline; gap: 6px;
    padding: 0 26px; border-left: 1px solid var(--line);
  }
  .ogh-num span:first-child { padding-left: 0; border-left: none; }
  .ogh-num b { font-size: 19px; }
  .ogh-num i { font-size: 12.5px; }
  .sh-tags { padding: 16px 20px 0; }
  .ogh-intro { margin-left: 20px; margin-right: 20px; }
  .ogh-actions { padding: 18px 20px 14px; }
  .og-tabs { padding: 0 20px; }
  .ogh-cover { border-radius: 8px 8px 0 0; }
}
/* 「可主办」跟在数字里，用金色区分于普通统计 */
.og-foot .og-host { color: #a86f05; font-weight: 600; }
body[data-theme="dark"] .og-foot .og-host { color: #ffd970; }

/* 合一主页：认证标签行（v7.15：从封面下方 15px 内边距统一到 16px，与数据条对齐） */
.sh-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 16px 0; }
.sh-tag {
  font-size: 12px; padding: 3px 9px; border-radius: 4px;
  background: var(--chip); color: var(--text3);
}
.sh-tag.gold { background: rgba(30, 139, 82, .1); color: #1e8b52; }
body[data-theme="dark"] .sh-tag.gold { background: rgba(60, 220, 160, .16); color: #7ee0b8; }

/* 主页里的短内容 / 视频列表（workItemHTML 产物） */
.w-list { padding: 0; }
.ogh-about + .w-list, #oghBody .w-list { background: var(--card); }

/* ---------------- 快讯详情 ---------------- */
.fl-body { padding: 18px 16px 6px; }
.fl-cat { display: inline-block; padding: 3px 9px; border-radius: 4px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; }
.fl-title { margin-top: 12px; font-size: 21px; font-weight: 700; line-height: 1.45; }
.fl-from { margin-top: 10px; font-size: 12.5px; color: var(--text2); }
.fl-text { margin-top: 16px; font-size: 15.5px; line-height: 1.9; color: var(--text3); }
.fl-sec { margin-top: 24px; border-top: 1px solid var(--line); padding: 14px 16px 22px; }
.fl-sec h5 { font-size: 15px; padding-left: 9px; border-left: 3px solid var(--primary); margin-bottom: 8px; }
.fl-item { display: flex; align-items: baseline; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fl-item b { color: var(--primary); font-size: 12px; flex-shrink: 0; }
.fl-item span { flex: 1; font-size: 14px; }
.fl-item em { font-style: normal; font-size: 11.5px; color: var(--text2); flex-shrink: 0; }

/* ---------------- 我的投稿 ---------------- */
.sub-list { padding-bottom: 10px; }
.sub-item { padding: 13px 15px; border-bottom: 1px solid var(--line); }
.sub-line { display: flex; align-items: center; gap: 8px; }
.sub-st { padding: 2px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 600; background: var(--chip); color: var(--text2); }
.sub-st.s2 { background: rgba(217, 119, 6, .12); color: #d97706; }
.sub-st.s1 { background: rgba(30, 139, 82, .12); color: #1e8b52; }
.sub-st.s-1 { background: rgba(212, 15, 25, .1); color: var(--primary); }
.sub-st.s-2 { background: rgba(140, 140, 140, .16); color: #8b8f98; }
.sub-cat { font-size: 12px; color: var(--text2); }
.sub-ts { margin-left: auto; font-size: 12px; color: var(--text2); }
.sub-item h4 { margin-top: 7px; font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.sub-note { margin-top: 7px; padding: 8px 10px; border-radius: 6px; background: rgba(212, 15, 25, .07); font-size: 12.5px; color: var(--primary); line-height: 1.6; }
.sub-resub { margin-top: 9px; padding: 5px 16px; border-radius: 15px; background: var(--primary-grad); color: #fff; font-size: 13px; font-weight: 600; }
.sub-tip { padding: 14px 16px 22px; font-size: 12px; color: var(--text2); line-height: 1.7; }

/* ---------------- 主办方后台 ---------------- */
.ogz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.ogz-stats.mini { margin: 0 0 10px; border-radius: 8px; overflow: hidden; }
.ogz-stat { padding: 14px 6px; background: var(--card); text-align: center; }
.ogz-stat b { display: block; font-size: 20px; color: var(--primary); font-weight: 700; }
.ogz-stat span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--text2); }
.ogz-sec { padding: 16px 15px 6px; }
.ogz-sec h5 { font-size: 15px; padding-left: 9px; border-left: 3px solid var(--primary); margin-bottom: 12px; }
.ogz-chart { display: flex; align-items: flex-end; gap: 6px; height: 130px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.ogz-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.ogz-bar i { display: block; width: 68%; max-width: 22px; min-height: 2px; border-radius: 4px 4px 0 0; background: var(--primary-grad); }
.ogz-bar span { margin-top: 5px; font-size: 10.5px; color: var(--text2); }
.ogz-bar em { font-style: normal; font-size: 10.5px; color: var(--text2); }
.ogz-regs { border-top: 1px solid var(--line); }
.ogz-reg { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ogz-reg > span:first-child { width: 32px; height: 32px; border-radius: 50%; background: var(--chip); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ogz-reg div { flex: 1; min-width: 0; }
.ogz-reg b { font-size: 14px; font-weight: 600; }
.ogz-reg em { display: block; font-style: normal; font-size: 12px; color: var(--text2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ogz-reg i { font-style: normal; font-size: 11.5px; color: var(--text2); flex-shrink: 0; }
.ogz-none { padding: 26px 0; text-align: center; font-size: 13px; color: var(--text2); }

.ogz-ev { display: flex; gap: 11px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.ogz-evc { width: 96px; height: 70px; flex-shrink: 0; border-radius: 6px; background: var(--chip) center/cover no-repeat; }
.ogz-evb { flex: 1; min-width: 0; }
.ogz-evt { display: flex; align-items: center; gap: 7px; }
.ogz-evt b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ogz-st { flex-shrink: 0; padding: 1px 7px; border-radius: 4px; font-size: 11px; font-weight: 600; background: var(--chip); color: var(--text2); }
.ogz-st.st1 { background: rgba(30, 139, 82, .12); color: #1e8b52; }
.ogz-st.st0 { background: rgba(217, 119, 6, .12); color: #d97706; }
.ogz-st.st2 { background: rgba(140, 140, 140, .16); color: #8b8f98; }
.ogz-evm { margin-top: 5px; font-size: 12px; color: var(--text2); }
.ogz-evops { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.ogz-evops button { padding: 4px 12px; border-radius: 13px; background: var(--chip); font-size: 12.5px; color: var(--text3); }
.ogz-evops button:hover { color: var(--primary); }
.ogz-evops button.danger:hover { color: var(--primary); }

.rg-list { padding: 0 0 20px; }
.rg-row { display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.rg-row.off { opacity: .5; }
.rg-av { width: 36px; height: 36px; border-radius: 50%; background: var(--chip); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* v6.0 第 1 项：上传头像在这里也要显示成图，而不是一长串路径文本 */
.rg-av img, .ogz-reg > span:first-child img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rg-info { flex: 1; min-width: 0; }
.rg-info b { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.rg-info b em { font-style: normal; font-size: 12px; color: var(--text2); font-weight: 400; }
.rg-info em { display: block; font-style: normal; font-size: 12.5px; color: var(--primary); margin-top: 2px; }
.rg-info small { display: block; font-size: 11.5px; color: var(--text2); margin-top: 2px; }
.rg-op button { padding: 4px 13px; border-radius: 13px; background: var(--primary); color: #fff; font-size: 12.5px; }
.rg-cancel, .rg-done { font-size: 12px; color: var(--text2); }
.rg-done { color: #1e8b52; }

/* ---------------- 活动编辑表单 ---------------- */
.evform { padding: 14px 15px 30px; }
.evf { display: block; margin-bottom: 13px; }
.evf > span { display: block; font-size: 13px; color: var(--text2); margin-bottom: 6px; }
.evf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.evf-tkrow { display: grid; grid-template-columns: 1.4fr .8fr .9fr 34px; gap: 6px; margin-bottom: 7px; }
.evf-rm { border-radius: 6px; background: var(--chip); color: var(--text2); }
.evf-add { padding: 6px 14px; border-radius: 6px; background: var(--chip); font-size: 13px; color: var(--text3); margin-bottom: 4px; }
.evf-submit { width: 100%; height: 44px; margin-top: 8px; border-radius: 22px; background: var(--primary-grad); color: #fff; font-size: 15.5px; font-weight: 700; }
.evf-submit:disabled { opacity: .55; }

/* ---------------- 右侧挂件（PC） ---------------- */
.w-evitem { display: flex; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.w-evitem:last-child { border-bottom: none; }
.w-evcov { width: 62px; height: 46px; border-radius: 5px; flex-shrink: 0; background: var(--chip) center/cover no-repeat; }
.w-evtxt { flex: 1; min-width: 0; }
.w-evtxt b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-evtxt em { display: block; font-style: normal; font-size: 11.5px; color: var(--text2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-evtxt small { display: block; font-size: 11.5px; color: var(--primary); margin-top: 2px; }
/* v7.9 第 3 项：右栏「热门话题」挂件已下线，下面这组 .w-tpitem 样式暂时没有使用者。
   保留不删：这是挂件自身的样式，哪天要把它加回来，改 modules.js mountSideWidgets 即可，
   不必再重写一次排版。 */
.w-tpitem { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13px; }
.w-tpitem b { width: 17px; height: 17px; border-radius: 4px; background: var(--chip); color: var(--text2); font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.w-tpitem b.top { background: var(--primary); color: #fff; }
.w-tpitem em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--text2); }
.w-ogitem { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13px; }
.w-ogitem > span { width: 26px; height: 26px; border-radius: 6px; background: var(--chip); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.w-ogitem b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-card h5 em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--text2); cursor: pointer; }
.side-card h5 em:hover { color: var(--primary); }

/* ==========================================================================
   PC（>=1000px）适配：活动页宽版、站点天气显示、页宽拉大
   ========================================================================== */
@media (min-width: 1000px) {
  .sw-host { display: block; }
  .flash-bar, .tabs-wrap { border-radius: 0; }
  .page-wide { max-width: 1080px; }
  #evPage .page-inner, #ogzPage .page-inner, #ogPage .page-inner, #tpPage .page-inner { max-width: 940px; }
  .tp-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-card:hover { background: var(--chip); }
  .evd-bar { max-width: 660px; left: 50%; transform: translateX(-50%); }
  .sheet { border-radius: 14px; margin-bottom: 6vh; }
  .sheet-mask { align-items: center; }
  .evform { max-width: 760px; }
  /* 个人中心导航补齐第 4 列，容纳新增的平台入口 */
  .mine-nav { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   v3.1 登录弹窗：登录不再像「换了一页」，而是浮层里居中弹出的小卡片
   ========================================================================== */
#loginPage.page {
  background: rgba(16, 18, 22, .52);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: lgFade .2s ease both;
}
@keyframes lgFade { from { opacity: 0 } to { opacity: 1 } }
#loginPage .page-inner {
  width: 100%; max-width: 396px; min-height: 0;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 26px 70px rgba(0,0,0,.3);
  animation: lgPop .26s cubic-bezier(.2,.9,.3,1.05) both;
  margin: 0;
}
@keyframes lgPop { from { transform: translateY(14px) scale(.97); opacity: 0 } to { transform: none; opacity: 1 } }
/* 弹窗里顶栏不吸顶，跟卡片一起滚 */
#loginPage .navbar { position: static; border-bottom: 1px solid var(--line); }
#loginPage .page-inner > div:last-child { padding-bottom: 30px !important; }
@media (max-width: 460px){
  #loginPage.page { align-items: flex-end; padding: 0; }
  #loginPage .page-inner { max-width: 100%; border-radius: 16px 16px 0 0; }
  @keyframes lgPop { from { transform: translateY(100%); opacity: .6 } to { transform: none; opacity: 1 } }
}

/* ==========================================================================
   v7.18 侵权投诉小窗口「投诉反馈」（与登录弹窗同一套卡片观感）
   ========================================================================== */
#cpPage.page {
  background: rgba(16, 18, 22, .52);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: lgFade .2s ease both;
}
#cpPage .page-inner {
  width: 100%; max-width: 420px; min-height: 0;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 26px 70px rgba(0,0,0,.3);
  animation: lgPop .26s cubic-bezier(.2,.9,.3,1.05) both; margin: 0;
}
#cpPage .navbar { position: static; border-bottom: 1px solid var(--line); }
.cp-tabs { display: flex; border-bottom: 1px solid var(--line); }
.cp-tab { flex: 1; padding: 11px 0; font-size: 14px; color: var(--text2); position: relative; }
.cp-tab.on { color: var(--primary); font-weight: 600; }
.cp-tab.on:after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 36px; height: 2px; background: var(--primary); border-radius: 2px;
}
.cp-body { padding: 16px 18px 22px; max-height: calc(100vh - 190px); overflow-y: auto; }
.cp-label { font-size: 12.5px; color: var(--text2); margin: 12px 0 6px; }
.cp-types { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-types span { background: var(--chip); color: var(--text3); font-size: 13px; padding: 7px 14px; border-radius: 16px; cursor: pointer; }
.cp-types span.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; box-shadow: inset 0 0 0 1px var(--primary); }
/* v7.19 第 2 项：投诉方 = 登录账号本人，只读展示（不再是手填输入框） */
.cp-me {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px;
  background: var(--chip); border: 1px solid var(--line);
}
.cp-me .cpm-n { font-size: 14px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-me .cpm-s { margin-left: auto; flex: none; font-size: 11.5px; color: var(--text2); }
/* 未登录时「我的投诉」的登录引导 */
.cp-guest { text-align: center; padding: 14px 4px 4px; }
.cp-guest .cpg-t { font-size: 14.5px; font-weight: 700; color: var(--text); }
.cp-guest .cpg-s { font-size: 12.5px; color: var(--text2); line-height: 1.7; margin: 8px 0 16px; }
.cp-imgs { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-imgs .ci { position: relative; width: 74px; height: 74px; border-radius: 8px; overflow: hidden; background: var(--chip); }
.cp-imgs .ci img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-imgs .ci .del {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px; line-height: 18px; text-align: center;
}
.cp-imgs .ci.add {
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); font-size: 22px; border: 1px dashed var(--line); cursor: pointer;
}
.cp-note { margin-top: 10px; font-size: 11.5px; color: var(--text2); text-align: center; line-height: 1.6; }
.cp-sec { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.cp-sec-t { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.cp-load, .cp-empty { font-size: 12.5px; color: var(--text2); padding: 10px 0; text-align: center; }
.cp-item { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; margin-bottom: 10px; }
.cpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cpi-no { font-size: 11.5px; color: var(--text2); font-family: ui-monospace, Menlo, Consolas, monospace; }
.cpi-st { font-size: 11.5px; padding: 2px 9px; border-radius: 10px; background: var(--chip); color: var(--text2); }
.cpi-st.s1 { background: var(--primary-soft); color: var(--primary); }
.cpi-st.s2 { background: #e8f6ec; color: #1a7f37; }
.cpi-st.s3 { background: #fdecec; color: #b32020; }
.cpi-t { font-size: 13.5px; font-weight: 600; }
.cpi-c { font-size: 12.5px; color: var(--text2); margin-top: 5px; line-height: 1.6; word-break: break-word; }
.cpi-h { font-size: 12.5px; color: var(--primary); margin-top: 6px; background: var(--chip); padding: 7px 9px; border-radius: 7px; line-height: 1.6; }
.cpi-d { font-size: 11.5px; color: var(--text3); margin-top: 7px; }
@media (max-width: 460px){
  #cpPage.page { align-items: flex-end; padding: 0; }
  #cpPage .page-inner { max-width: 100%; border-radius: 16px 16px 0 0; }
}

/* ==========================================================================
   v3.1 频道栏右侧登录区 / 右侧栏频道入口
   ========================================================================== */

/* 「更多」按钮带文字 */
.tabs-more .tm-txt { font-size: 13px; margin-left: 3px; }
.tabs-more.act { color: var(--primary); }
/* 手机端频道栏已经很挤：频道路由本身还有「<更多>」浮层可用，
   顶栏也有搜索，藏掉文字和图标只保留点击热区即可（v4.0 实测 390px 下
   8 频道 + 注册 + 登录已经占满，再多一列文字会把频道挤到只剩 4 个）。
   另外频道横滚区留一条「渐隐提示」：滚动容器被裁掉的那一侧会淡化，
   用户一眼能看出右边还有内容可以划（实测反馈「顶部频道显示不全」）。 */
@media (max-width: 640px) {
  .tabs-more .tm-txt, .tabs-more .tm-ico { display: none; }
  .tabs-more { padding: 0 8px; }
}
.tabs-scroll {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), rgba(0, 0, 0, .06) 100%);
  mask-image: linear-gradient(90deg, #000 calc(100% - 34px), rgba(0, 0, 0, .06) 100%);
}
/* scrollend 只有新内核支持，靠 JS 在滚动时给 .at-start / .at-end 打标记 */
.tabs-scroll.at-start {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), rgba(0, 0, 0, .06) 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), rgba(0, 0, 0, .06) 100%);
}
.tabs-scroll.at-end {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .06) 0, #000 34px, #000 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .06) 0, #000 34px, #000 100%);
}
.tabs-scroll.at-start.at-end, .tabs-scroll.no-scroll {
  -webkit-mask-image: none; mask-image: none;
}

/* --- 导航栏最右侧登录区 --- */
.tabs-user {
  flex: none; display: flex; align-items: center; gap: 8px;
  margin-left: auto; padding-left: 12px; position: relative;
  /* v4.2 第 4 项：JS 会把 min-width 设成「.tabs 右边缘 − 中间栏右边缘」，
     把「更多」按钮顶到与中间栏右对齐的那条竖线上；内容仍然靠右排，
     这样登录区的右端依旧落在频道栏最右侧，不破坏顶栏 ↔ 频道栏的对齐。 */
  justify-content: flex-end;
}
.tu-tip {
  font-size: 12.5px; color: var(--text3); white-space: nowrap;
}
/* v7.33：登录后频道栏前缀签名「精彩时讯在这里」 */
.tu-sign-in {
  font-size: 13px; font-weight: 600; color: var(--text2, #666);
  white-space: nowrap; letter-spacing: .2px;
  margin-right: 18px; /* v7.34：与右侧头像/用户名之间留 2-3 字间距，不再紧挨 */
}
.tu-login {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 14px; border-radius: 16px; cursor: pointer;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  background: var(--primary-grad); color: #fff; border: 0;
  box-shadow: 0 3px 10px rgba(212,15,25,.28);
}
.tu-login:active { transform: scale(.96); }
/* v7.28：频道栏最右侧「用户中心」入口 */
.tu-ucenter {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; border-radius: 16px;
  cursor: pointer; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: var(--bg2, #f3f4f6); color: var(--text, #333); border: 1px solid var(--line, #e6e6e6);
}
.tu-ucenter:hover { border-color: var(--primary, #d40f19); color: var(--primary, #d40f19); }
.tu-login .login-ico {
  width: 13px; height: 13px; border-radius: 50%;
  background: rgba(255,255,255,.9); flex: none;
}
/* v7.11 第 6 项：「立即登录」按钮前的小人图标（描边风格，跟随按钮白色文字） */
.tu-login-ico {
  width: 15px; height: 15px; display: inline-block; flex: none;
}
.tu-login-ico path, .tu-login-ico circle {
  stroke: currentColor; stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
/* v4.0 第 4 项：未登录时的「注册」次级按钮（描边款，不与「登录」抢主次） */
.tu-reg {
  display: flex; align-items: center;
  padding: 5px 13px; border-radius: 16px; cursor: pointer;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  background: transparent; color: var(--primary);
  border: 1px solid currentColor;
}
.tu-reg:active { transform: scale(.96); }

/* v7.30：频道栏右侧 —— 未登录「用户登录/注册」按钮 */
.tu-loginreg {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 18px; cursor: pointer;
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  background: var(--bg2, #f3f4f6); color: var(--text, #333);
  border: 1px solid var(--line, #e6e6e6);
}
.tu-loginreg:hover { border-color: var(--primary, #d40f19); color: var(--primary, #d40f19); }
.tu-lr-ico { width: 16px; height: 16px; flex: none; }
.tu-lr-ico path, .tu-lr-ico circle { stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* v7.30：频道栏右侧 —— 已登录头像 + 下拉 */
.tu-user { position: relative; display: inline-flex; align-items: center; }
.tu-av {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; border: 0; background: transparent;
  border-radius: 50%; cursor: pointer; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.tu-av:hover { box-shadow: 0 0 0 2px var(--primary, #d40f19); }
.tu-av-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* 下拉面板（复用 .tu-menu 基础外观，这里补齐定位与配色） */
.tu-drop {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  min-width: 184px; padding: 6px; border-radius: 14px;
  background: var(--card, #fff); border: 1px solid var(--line, #ececec);
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
}
.tu-drop .tu-hd {
  padding: 10px 12px 8px; border-bottom: 1px solid var(--line, #f0f0f0); margin-bottom: 4px;
}
.tu-hd-n { font-size: 14px; font-weight: 800; color: var(--text, #222); }
.tu-hd-s { font-size: 12px; color: var(--text3); margin-top: 1px; }
.tu-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border: 0; background: transparent; cursor: pointer;
  font-size: 13.5px; color: var(--text, #333); border-radius: 9px; text-align: left;
}
.tu-item:hover { background: var(--bg2, #f3f4f6); color: var(--primary, #d40f19); }
.tu-i-ico { width: 16px; height: 16px; flex: none; opacity: .85; }
.tu-i-ico path, .tu-i-ico circle, .tu-i-ico rect { stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tu-sep { height: 1px; background: var(--line, #f0f0f0); margin: 4px 6px; }
.tu-logout { color: #c0331f; }
.tu-logout:hover { background: #fdeceb; color: #c0331f; }

.tu-name {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 3px 10px 3px 3px; border-radius: 18px; border: 0;
  background: var(--hover); color: var(--text);
  max-width: 150px;
}
.tu-name .tu-av {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); font-size: 15px; overflow: hidden;
}
.tu-name .tu-av img { width: 100%; height: 100%; object-fit: cover; }
.tu-nm {
  font-size: 13px; font-weight: 600; max-width: 84px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tu-caret {
  width: 0; height: 0; flex: none; margin-left: 1px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .55;
}
.tu-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 30;
  min-width: 138px; padding: 6px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 11px; box-shadow: 0 12px 34px rgba(0,0,0,.16);
}
.tu-menu.hide { display: none; }
.tu-menu button {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: 8px; cursor: pointer;
  background: none; border: 0; font-size: 13.5px; color: var(--text);
}
.tu-menu button:hover { background: var(--hover); color: var(--primary); }

/* 手机端：频道自带横向滚动，「登录后更懂你」文案省掉，只留按钮 */
@media (max-width: 999px) {
  .tabs-user { padding-left: 6px; }
  .tu-tip { display: none; }
  .tu-sign-in { display: none; }
  .tu-login { padding: 4px 11px; font-size: 12.5px; }
  .tu-reg { padding: 4px 10px; font-size: 12.5px; }
  .tu-name { padding: 3px 6px 3px 3px; max-width: 96px; }
  .tu-nm { max-width: 52px; font-size: 12.5px; }
}
/* 手机端频道栏也很窄：注册按钮只留文字，缩小间距，避免挤掉频道 */
@media (max-width: 460px) {
  .tabs-user { gap: 6px; padding-left: 4px; }
  .tu-reg { padding: 4px 8px; font-size: 12px; }
  .tu-login { padding: 4px 9px; font-size: 12px; }
}

/* --- 右侧栏：活动 / 专题 / 时讯号 入口 --- */
.plat-ch .pc-list { display: flex; flex-direction: column; }
.pc-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 8px; border-radius: 9px; cursor: pointer;
  background: none; border: 0; text-align: left; color: var(--text);
  transition: background .15s;
}
.pc-item:hover { background: var(--hover); }
.pc-ico {
  width: 30px; height: 30px; flex: none; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; background: var(--hover);
}
.pc-item:hover .pc-ico { background: var(--card); }
.pc-txt { flex: 1; min-width: 0; }
.pc-txt b { display: block; font-size: 13.5px; font-weight: 600; }
.pc-txt em {
  display: block; font-size: 11.5px; color: var(--text3);
  font-style: normal; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pc-arrow { flex: none; color: var(--text3); font-size: 15px; }
.pc-item:hover .pc-arrow { color: var(--primary); }

/* v3.1：PC 端频道栏放开间距，避免 8 频道 + 更多 + 登录区挤在一起
   v4.0 第 6 项修正：这里原来把 .tabs-wrap 又写成 max-width:1280px，并且 .tabs 另外加了
   16px 内边距 —— 结果频道栏内容区变成 1248px 宽、左边缘落在 112px，
   而顶栏是 1240px / 左边缘 116px，两者差 4px，肉眼就是「没对齐」。
   现在统一为：外层容器 1272px + 16px 内边距 = 内容区 1240px，两侧留白与顶栏完全一致。 */
@media (min-width: 1000px) {
  .tabs-wrap { max-width: 1272px; }
  .tabs { padding: 0; }
  .tabs-scroll { gap: 26px; padding: 0; }
  .tabs-more { padding: 0 14px; }
  .tabs-user { padding-left: 14px; }
  /* 频道多时允许横向滚动，登录区始终钉在右侧不被挤走 */
  .tabs-scroll { min-width: 0; }
  .tab { font-size: 15.5px; }
  .tab.active { font-size: 16px; }
}

/* ==========================================================================
   v7.2 第 1 项：所有「带链接 / 可点击」的元素统一手型光标
   --------------------------------------------------------------------------
   浏览器只给 <a> 和 <button> 默认 cursor:pointer，而本站大量可点击元素是
   <div data-id> / <article class="card"> / <span data-ch> / <li data-nav>……
   它们的 cursor 各写各的、漏掉一处就只有箭头。这里做一次全站兜底：
   凡是带 data-* 交互属性、或明确标了 role/tabindex 的元素一律手型。
   ========================================================================== */
a,
[data-id], [data-ch], [data-nav], [data-page], [data-mine], [data-go],
[data-author], [data-event], [data-top], [data-org], [data-ev], [data-regs],
[data-tu], [data-jump], [data-mod], [data-tab], [data-act], [data-close],
[data-cancel], [data-back], [data-clip], [data-copy], [data-href], [data-link],
[onclick],
[role="button"], [role="link"], [role="tab"], [role="menuitem"], [role="option"],
[tabindex]:not([tabindex="-1"]),
summary,
label[for],
input[type="checkbox"], input[type="radio"],
select,
.tab, .tabs-more, .cg-item, .side-nav button, .tabbar button,
.card, .card-top, .card-event, .card-title, .cm-src, .c-author .ca-n,
.loadmore, .ml-item, .sa-item, .hm, .side-tags span, .pc-item,
.tu-name, .tu-login, .side-ch h5 span, .brief-bar, .hot-mini .hm {
  cursor: pointer;
}
/* 纯文本可选中区域不要被手型污染（正文段落 / 输入框内文本） */
.article-body, .art-body, .evd-body, p, td, .cm-text { cursor: auto; }
/* v7.2 第 1 项：快讯跑马灯每一条都是可点击跳转的（轮播项），
   上面那条「正文区域恢复默认光标」的兜底规则把它一起扫掉了，这里补回来。 */
.fb-item { cursor: pointer; }
textarea, input[type="text"], input[type="password"], input[type="search"], input[type="number"], [contenteditable="true"] { cursor: text; }
/* 禁用态仍然是「不许点」，别给手型 */
[disabled], .off, .disabled, [aria-disabled="true"] { cursor: not-allowed; }

/* ==========================================================================
   v7.2 第 4 项：整站排版对齐参考站（4kz8jkqmwdwwy）
   --------------------------------------------------------------------------
   参考站实测参数（1440×900）：
     · 容器：内容区 1240px 居中；左导航 200px 固定；主栏 800px + 右栏 320px，间距 32px
     · 顶栏：56px 高，白底，1px 浅分隔线
     · Hero：浅色（米白渐变），标题 44px/700 居中，搜索框 640×52 全圆角 + 轻投影
     · 频道栏：44px 高，白底无下边框，选中项红色 + 下方 2px 红条
     · 卡片：白底、无边框无投影，仅 1px 底部分隔线；缩略图 158×106 圆角 6px
   本节只覆盖「版式」——间距、尺寸、栅格、分隔方式，不动数据与交互。
   ========================================================================== */
@media (min-width: 1000px) {
  /* ---- 1. 三栏栅格：200 固定 + 800 主 + 320 右，间距 32 ---- */
  .layout {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) 300px;
    gap: 28px;
    max-width: 1240px;
    padding: 20px 16px 48px;
    align-items: flex-start;
  }
  /* v7.5 第 5 项：吸顶位置下移到「频道栏下方」，并保证 12 条全都能看到。
     ⚠ 原来写的是 top: 20px —— 那是没考虑到上面还压着两层 sticky：
         .topbar   sticky，高 60px（占 0～60）
         .tabs-wrap sticky，top:60，高 44px（占 60～104）
       侧栏钉在 viewport 顶端往下 20px 处，等于钻进了这两层底下。
       实测：滚动到任意位置后，第 1 条「首页」（20～60）被顶栏完全盖住、
       第 2 条「热榜」（62～102）被频道栏完全盖住，用户看到的实际是从「微言」开始。
       这正是你反馈的「下拉固定后不是从首页开始」。
     修法：top = 顶栏(--bar-h, PC 是 60) + 跑马灯(--ticker-h, 0～36) + 频道栏(44) + 12px 呼吸位，
     所以写成 calc(var(--bar-h) + var(--ticker-h) + 56px)。
     ⚠ 这里必须用变量而不是写死 116px：--ticker-h 是 JS 在跑马灯挂载后按实测高度写进去的，
       没跑马灯的频道是 0px、有跑马灯是 30～36px。写死就会出现「首页刚好、财经页被盖住半条」。
     再加一层保险 —— max-height + overflow-y: auto：屏幕矮到装不下 12 条时
     （1366×768 的笔记本再扣掉浏览器边框，可用高度常常不到 600px），
     整列自己内部滚动，而不是把「发布作品 / 个人中心」截掉够不着。 */
  .side-left  { width: auto; position: sticky;
                top: calc(var(--bar-h) + var(--ticker-h) + 56px); gap: 4px;
                max-height: calc(100vh - var(--bar-h) - var(--ticker-h) - 76px);
                overflow-y: auto; overscroll-behavior: contain; }
  .side-right { width: auto; position: sticky;
                top: calc(var(--bar-h) + var(--ticker-h) + 56px); gap: 16px;
                max-height: calc(100vh - var(--bar-h) - var(--ticker-h) - 76px);
                overflow-y: auto; overscroll-behavior: contain; }
  /* ==========================================================================
     v7.6 第 2 / 3 项：右侧栏「安全课堂下面被遮住」「每日热榜被遮住」

     ⚠ 根因不是被什么东西盖住，而是**卡片自己被压扁了**。
       .side-right 在 1132 行是 `display:flex; flex-direction:column`，
       上一版又给它加了 max-height + overflow-y:auto（矮屏兜底）。
       flex 列容器的子项默认 flex-shrink:1 —— 一旦内容总高超过 max-height，
       浏览器不会让它溢出，而是**按比例把每个子项压矮**直到塞进去。
       实测（1440×900，max-height=764）：
         · 安全课堂  94px  ← 实际需要约 250px（标题 + 两张 92px 图卡 + 间距）
         · 每日热榜 158px  ← 实际需要约 400px（10 条榜单）
         · 热门话题 136px / App 卡 91px / 页脚 127px 同样被压
       压扁后卡片内部的图卡互相叠在一起、榜单只露出前两三条，
       看到的正是「安全课堂下面没了」「热榜只显示一点点」。

     修法：子项一律 flex:none，谁都不许被压缩；超出的部分交给容器滚动。
     这样卡片恢复自然高度，安全课堂两张图卡、热榜十条都完整可见。
     ========================================================================== */
  .side-left > *, .side-right > * { flex: none; }

  /* 侧栏滚动条细一点。
     ⚠ v7.6：上一版写成「默认 transparent、hover 才显形」，
     结果内容超出时用户完全看不出右侧栏还能往下滚 ——
     表现就是「热榜下面好像没了」。改成常显一条 4px 细线，
     划过时再加深一点，既提示可滚动又不抢视线。 */
  .side-left::-webkit-scrollbar, .side-right::-webkit-scrollbar { width: 4px; }
  .side-left::-webkit-scrollbar-thumb, .side-right::-webkit-scrollbar-thumb {
    background: var(--line); border-radius: 2px;
  }
  .side-left:hover::-webkit-scrollbar-thumb, .side-right:hover::-webkit-scrollbar-thumb {
    background: var(--text3);
  }
  .side-left, .side-right { scrollbar-width: thin; scrollbar-color: transparent transparent; }
  .side-left:hover, .side-right:hover { scrollbar-color: var(--line) transparent; }
  /* v7.4 第 7 项：修「点频道时中间栏忽大忽小」。
     ⚠ 根因是基础样式里的 .feed-wrap { max-width: 660px; margin: 0 auto } ——
     那是给手机单栏准备的「居中定宽」写法。到了 PC，.layout 是 grid 容器、
     .feed-wrap 是它的 1fr 网格项，而 **网格项一旦带 auto 外边距就不再被拉伸**，
     退化成「按内容收缩 + 居中」（CSS 规范：auto margin 会吃掉剩余空间，stretch 因此失效）。
     于是中间栏宽度跟着当前频道的内容多少变：内容多 → 顶到 684px；内容少 → 缩到 627 / 513，
     「文化」频道实测只剩 144px，整栏缩成一条 —— 这就是看到的忽大忽小。
     实测对照：grid 轨道始终是 168px / 684px / 300px，只有元素本身在缩，
     说明轨道没问题、是元素被 auto margin 取消了拉伸。
     修法：PC 下把外边距归零并显式拉伸，宽度就恒等于轨道宽度，切任何频道都不再变。 */
  .feed-wrap {
    border-radius: 0; box-shadow: none; background: transparent; overflow: visible;
    margin: 0; justify-self: stretch; width: auto;
  }

  /* ---- 2. 左侧导航：贴白底、条目 40px、选中浅红底 + 红字 ---- */
  .side-nav {
    background: transparent; box-shadow: none; border-radius: 0;
    padding: 0; display: flex; flex-direction: column; gap: 2px;
  }
  .side-nav button {
    height: 40px; padding: 0 12px; border-radius: 8px;
    font-size: 14px; color: var(--text2); justify-content: flex-start;
    background: transparent; transition: background .16s, color .16s;
  }
  .side-nav button:hover { background: var(--chip); color: var(--text); }
  .side-nav button.active { background: #fef0f0; color: var(--primary); font-weight: 600; }
  /* v7.2：左导航的图标是裸 <span>${emoji}</span>，并没有 .sn-ico 类名，
     写 .sn-ico 会整条失效（选中时 emoji 不跟着变红）。这里改用第一个 span。 */
  .side-nav button.active span:first-child { color: var(--primary); }
  .side-nav button { gap: 8px; }
  .side-nav button span:first-child { font-size: 15px; width: 18px; text-align: center; }
  .side-feat { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }

  /* ---- 3. Hero 浅色化 ---- */
  /* v7.3 第 1 项：秋季限定「暖阳浅秋」的天空。
     米白 → 暖橙金的纵向渐变：左上是太阳方向的暖光，右下逐渐清透，
     最下端收回到纯白 —— Hero 下沿因此无缝接进第 6 项要求的纯白内容区，
     不会出现一条明显的横向接缝。 */
  .hero.hero-autumn {
    background:
      radial-gradient(720px 340px at 19% 21%, rgba(255, 213, 148, .58) 0%, rgba(255, 213, 148, 0) 62%),
      radial-gradient(600px 300px at 88% 4%, rgba(248, 227, 192, .60) 0%, rgba(248, 227, 192, 0) 72%),
      linear-gradient(180deg, #fffdf9 0%, #fdf5e8 40%, #fbe9d1 74%, #ffffff 100%);
    border-bottom: none;
  }
  /* 画布恢复显示：秋季的暖阳光束 / 远山 / 浮尘 / 银杏枫叶都画在这一层
     （v7.2 为了让版面干净把它关掉了，结果 Hero 完全没有背景图） */
  .hero.hero-autumn .hero-bg { display: block; }
  /* v7.2 的小红点装饰是参考站的占位做法，秋季有了真背景就不需要了 */
  .hero.hero-autumn .hero-deco { display: none; }
  /* v7.2 起：基础 .hero 的 padding 是给「红金 Hero + 澳门剪影」定的（上 86 / 下 44）。
     浅色版没有剪影，还照搬就变成「上面空一大截、下面贴得紧」。
     这里把内容留白校成上下对称的 34px。

     ⚠ v7.3 第 2 项修正：hero 的 margin-top 必须等于顶栏高度，Hero 才能顶到页面最顶端、
     让顶栏完全坐在背景里。基础块写的是 -60px，而上一版误按窄屏的 52px 改成了 -52px ——
     PC 顶栏实际是 60px（:root --bar-h 在 ≥1000px 断点是 60px），
     于是 Hero 上沿掉到 y=8，顶部露出一条 8px 的白缝，"融入背景"看起来就是没贴上。
     现在改回 -60px，padding-top 相应按「顶栏 60 + 内容留白 34」= 94px 重新对齐。 */
  .hero.hero-autumn { margin-top: -60px; padding: 94px 16px 34px; }
  .hero.hero-autumn::after { display: none; }   /* 浅色底不需要底部压暗 */
  .hero.hero-autumn .hero-inner { position: relative; z-index: 2; }
  .hero.hero-autumn .hero-title {
    font-size: 44px; font-weight: 700; letter-spacing: 2px;
    /* v7.3 第 1 项：标题从参考站的中性深灰换成秋褐 #4a3316，
       与橙金天空同色系，比纯黑暖、比橘色沉稳。 */
    color: #4a3316; margin: 0 0 22px;
    text-shadow: none; background: none; -webkit-text-fill-color: currentColor;
  }
  .hero.hero-autumn .hero-sub { display: none; }
  .hero.hero-autumn .hero-search {
    width: 640px; max-width: 100%; height: 52px; margin: 0 auto;
    background: #fff; border: 1px solid #e5e5e5; border-radius: 999px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    display: flex; align-items: center; padding: 0 6px 0 18px;
  }
  .hero.hero-autumn .hero-search .hs-text { color: #9aa0a8; font-size: 15px; flex: 1; }
  .hero.hero-autumn .hero-search .hs-ico { color: #9aa0a8; }
  .hero.hero-autumn .hero-search .hs-btn {
    width: 44px; height: 40px; border-radius: 999px; background: var(--primary);
    color: #fff; font-size: 0; flex-shrink: 0;
    /* ⚠ 必须显式清 padding：基础规则（本文件「hero-search .hs-btn」段）为了给
       按钮里的文字「搜索」留间距，写了 padding: 0 26px。
       秋季版按钮只剩一枚图标、宽度也压到 44px，26+26 的内边距直接把内容盒吃成 0 宽 ——
       于是里面的图标无论如何都被压成 0px（实测 icon rectW=0，只剩一颗红圆块）。 */
    padding: 0;
    display: flex; align-items: center; justify-content: center;
  }
  /* v7.3 第 3 项：搜索按钮里的放大镜
     原写法用 ::after + mask(data URI)，实测 ::after 宽度被 flex 压成 0px，
     整颗按钮只剩一个红色圆块（你看到的现象）。
     改为：按钮内放 <span data-icon="search">，由 paintIcons 注入 SVG，
     全局规则 [data-icon] > svg 会给它描上 currentColor —— 这里 currentColor 是白色。 */
  .hero.hero-autumn .hero-search .hs-btn-ico {
    display: block; width: 19px; height: 19px; color: #fff;
    flex-shrink: 0;   /* 别被按钮的 flex 再压一次 */
  }
  /* Hero 里的快讯条：秋季暖褐文字 + 柿红强调
     （v7.3 第 4 项顺带：这里原来还有一行 .fb-more 的取色，DOM 里那个按钮已经删了） */
  .hero.hero-autumn .hero-flash .fb-item { color: #6b4f2a; }
  .hero.hero-autumn .hero-flash .fb-item b { color: #b03a12; }
  .hero.hero-autumn .hero-flash .fb-item:hover { color: #4a3316; }
  .hero.hero-autumn .hero-flash .fb-tag { background-color: var(--primary); color: #fff; }
  /* v7.4 第 2 项：去掉快讯这一栏的边框（胶囊描边）。
     基础样式给 .hero-flash 加了一圈 inset 1px 亮边 + 10% 白底 + 毛玻璃，
     那是给「红金 Hero」设计的（深色底上需要一条亮边把这条快讯框出来）。
     秋季天空是浅色，这圈亮边反而变成一个显眼的白色胶囊框，
     把「快讯 24小时」和滚动内容跟 Hero 隔开了 —— 现在连底色一起去掉，
     让文字直接浮在秋日天空上，视觉上和 Hero 是一体的。
     文字色已在上面改成秋褐 #6b4f2a，去掉底衬后依然清晰。 */
  .hero.hero-autumn .hero-flash {
    background: none; box-shadow: none; border: none; border-radius: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  /* 徽标文案由「24h」改为「24小时」，比原来多一字，间距微调避免贴边 */
  .hero.hero-autumn .hero-flash .fb-tag { padding: 3px 9px; gap: 4px; }

  /* ---- 4. 频道栏：白底、44px、无下边框，选中项红色 + 2px 红条 ---- */
  .tabs-wrap { border-bottom: none; background: var(--card); }
  .tabs { height: 44px; }
  .tab { color: var(--text2); font-weight: 700; } /* v7.33：频道始终加粗 */
  .tab.active { color: var(--primary); font-weight: 700; font-size: 15.5px; }
  .tab.active::after { height: 2px; border-radius: 2px; bottom: 6px; }

  /* ---- 5. 信息流卡片 ----
     v7.6 第 6 项：连最后这 1px 分隔线也去掉。
     之前留着它是担心「没有线分不清上下条」，但实测在纯白底 + 18px 留白下，
     标题的粗细和字号差已经足够形成节奏，线只会让整栏看起来像一张表格。
     上下 padding 相应加大到 22px，靠间距而不是靠线来断句。 */
  .card {
    padding: 22px 2px; border-radius: 0; background: transparent;
    border-bottom: 0;
  }
  .card:hover { background: transparent; }
  .card:hover .card-title { color: var(--primary); }
  .card-title { font-size: 19px; line-height: 1.5; font-weight: 600; }
  .card-thumb { width: 158px; height: 106px; border-radius: 6px; }
  .card-row { gap: 20px; }

  /* ---- 6. 右栏卡片 ----
     v7.4 第 5 项：去掉右栏所有边框。
     上一版为了和浅灰页面底色分开，给右栏卡片加了 1px 描边；
     但第 6 项已经是纯白背景，白卡压白底本来就靠间距分开，
     再套一圈线反而把右栏切成一格一格的「卡片墙」，与参考站的干净观感相反。
     现在卡片一律无边框、无投影，只靠 12px 的间距呼吸。 */
  .side-card {
    background: var(--card); border: 0; box-shadow: none;
    border-radius: 8px;
  }
  .side-app { border: 0; box-shadow: none; background: var(--card); }
  .side-app .sq { box-shadow: none; background: var(--chip); }
  .side-foot { border: 0; box-shadow: none; background: transparent; padding: 14px 0; }
}

/* ==========================================================================
   v7.4 第 3 项：右侧栏「安全课堂」
   两张图片卡 —— 用渐变底 + 半透明装饰圆 + 线性图标做出「图片」的观感，
   不依赖任何外链图片（外链图会随对方站点失效，且拖慢首屏）。
   两张卡一上一下纵向排列，宽度与右栏齐平，视觉上就是两张横幅图。
   ========================================================================== */
.side-safety .sf-hico {
  display: inline-flex; width: 16px; height: 16px; color: var(--primary);
  vertical-align: -2px; margin-right: 4px;
}
.side-safety .sf-grid { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 14px; }
.sf-pic {
  position: relative; display: block; overflow: hidden;
  height: 92px; padding: 14px 16px; border-radius: 10px;
  text-decoration: none; color: #fff;
  /* 两张卡各用一套渐变，一眼能分开「防诈」与「规范」两个主题 */
  background: linear-gradient(120deg, #1e63c8 0%, #17a2b8 100%);
  transition: transform .18s ease, box-shadow .18s ease;
}
.sf-pic.sf-rule,
.sf-pic.sf-purple { background: linear-gradient(120deg, #5a44c6 0%, #2f7fd6 100%); }
/* v7.5 第 3 项：后台「广告管理」可选 6 套配色，卡片颜色不再写死。
   原来只有 .sf-anti / .sf-rule 两个写死的渐变，后台一换主题就没得配了。
   sf-anti / sf-rule 保留为别名 —— 老数据（含前端兜底默认值）不会因为改名而丢样式。 */
.sf-pic.sf-blue   { background: linear-gradient(120deg, #1e63c8 0%, #17a2b8 100%); }
.sf-pic.sf-green  { background: linear-gradient(120deg, #0f8a5f 0%, #3fb37f 100%); }
.sf-pic.sf-orange { background: linear-gradient(120deg, #d97706 0%, #f59e0b 100%); }
.sf-pic.sf-red    { background: linear-gradient(120deg, #b91c1c 0%, #e2553c 100%); }
.sf-pic.sf-gray   { background: linear-gradient(120deg, #4b5563 0%, #6b7280 100%); }
/* 后台传了图片就用真图。渐变只是「没图时的兜底观感」，有图时由幕布层压暗保证白字可读；
   装饰圆在有图时收掉，免得和照片上的元素打架。 */
.sf-pic.has-img { background-color: #1e63c8; }
.sf-pic .sf-mask {
  position: absolute; inset: 0; z-index: 1; border-radius: 10px; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 16, 26, .62) 0%, rgba(12, 16, 26, .28) 62%, rgba(12, 16, 26, .10) 100%);
}
.sf-pic.has-img::before, .sf-pic.has-img::after { content: none; }
.sf-pic.has-img .sf-art { opacity: .55; }
/* 装饰圆：让渐变底看起来像一张插画，而不是一块纯色 */
.sf-pic::before,
.sf-pic::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, .16); pointer-events: none;
}
.sf-pic::before { width: 118px; height: 118px; right: -26px; top: -34px; }
.sf-pic::after { width: 74px; height: 74px; right: 34px; bottom: -30px; background: rgba(255, 255, 255, .12); }
/* 角标图标压在右下角，半透明白，不抢文字 */
.sf-pic .sf-art {
  position: absolute; right: 14px; bottom: 14px;
  width: 40px; height: 40px; color: #fff; opacity: .32; z-index: 1;
}
.sf-pic .sf-art > svg path,
.sf-pic .sf-art > svg rect,
.sf-pic .sf-art > svg circle { stroke-width: 1.5; }
.sf-pic b { position: relative; z-index: 2; display: block; font-size: 15.5px; font-weight: 700; letter-spacing: .2px; }
.sf-pic em {
  position: relative; z-index: 2; display: block; margin-top: 5px;
  font-style: normal; font-size: 11.5px; opacity: .88;
}
.sf-pic:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 22, 30, .18); }

/* ---- 7. 手机端：贴参考站的紧凑度 ---- */
@media (max-width: 999px) {
  .hero.hero-autumn {
    background:
      radial-gradient(420px 260px at 24% 16%, rgba(255, 213, 148, .50) 0%, rgba(255, 213, 148, 0) 62%),
      linear-gradient(180deg, #fffdf9 0%, #fdf5e8 46%, #ffffff 100%);
    border-bottom: none;
  }
  .hero.hero-autumn .hero-bg, .hero.hero-autumn .hero-deco { display: none; }
  /* 手机端标题更大、搜索框整宽（参考站同款） */
  .hero.hero-autumn .hero-title { font-size: 30px; }
  /* v7.6 第 6 项：这一行原本是「手机端卡片恢复 1px 分隔线」，
     和第 6 项「中间栏分隔符全部取消」冲突 —— 手机上改了 PC 没改，
     同一份内容在两个端长得不一样。这里一并去掉，改由 216 行的 18px 上下留白断句。 */
  .card { border-bottom: 0; }
}

/* ==========================================================================
   v7.3 第 2 项：顶栏与秋季 Hero 融为一体
   做法不是"把顶栏涂成同一个橙色"，而是让顶栏彻底透明 ——
   背景由 Hero 的渐变自然延伸上来，视觉上顶栏与 Hero 是同一块秋日天空。
   为了让内容和在这层渐变上仍然读得清，顶栏内部统一换成秋季暖褐：
     · 品牌字：柿红 #b03a12（比品牌红更深，压在橙金底上对比度够）
     · 图标 / 次要文字：#7a5c33 暖褐
     · 搜索框：半透明白玻璃，而不是实底，保留"融入"的观感
   滚出 Hero（body.hero-out）后立刻回到常规白底 —— 那套规则在 main.css 前段已有，
   这里带 :not(.hero-out) 把两条路径分开，互不打架。
   特异性 (0,4,2)，稳稳压住 festival.css 用 !important 强推的白字规则。
   ========================================================================== */
/* ⚠ 兜底：顶栏"透明"只在秋季 Hero 真的垫在下面时才成立。
   Hero 是跟着 state.page 走的 —— 一进「我的 / 时讯号 / 活动详情」这类二级页，
   JS 会把 body 上的 has-hero / hero-autumn-on 全部摘掉，Hero 也随之 display:none。
   但 festival.css 是「全局反色」的写法：
     html.festival .topbar        { background: transparent !important }
     html.festival .brand-text    { 白字 !important }
   它打在 html 上，不随页面切换消失。于是二级页就出现：
   顶栏透明（露出 body 的 --bg 浅灰）+ 品牌字纯白 —— 白字压浅灰，对比度 1.1，等于隐形。
   9/30~10/7 这段自动开启国庆主题的窗口里，这个 bug 是"天天可见"的。
   修法：把"非 Hero 场景"显式还原成实体底 + 实心红字。
   选择器 (0,3,1) 高于 festival.css 的 html.festival .topbar (0,2,1)，
   也高于本文件前段 body.has-hero:not(.hero-out) .topbar（(0,3,1) 同权，靠位置在后取胜）——
   唯一比它高的就是上面那条 (0,4,2) 的秋季规则，而那条只在家首页生效，两者不会同时命中。 */
html body:not(.hero-autumn-on) .topbar {
  background: var(--card) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
}
html body:not(.hero-autumn-on) .topbar .brand-text {
  background: none !important;
  -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: var(--primary) !important; color: var(--primary) !important;
  text-shadow: none !important;
}
/* 顶栏右侧按钮组跟着回常规色。festival.css 把 .btn-write 刷成了金底红字
   （那是给红金 Hero 用的），白底上金底红字虽然能看，但和「立即登录」的红底白字并排很跳，
   这里一并归位到常规红渐变。 */
html body:not(.hero-autumn-on) .topbar .btn-write {
  background: var(--primary-grad) !important; color: #fff !important;
}
html body:not(.hero-autumn-on) .topbar .btn-app,
html body:not(.hero-autumn-on) .topbar .tb-user {
  color: var(--text3) !important; background: none !important;
  box-shadow: inset 0 0 0 1px var(--line) !important;
}
html body:not(.hero-autumn-on) .topbar .theme-btn { color: var(--text3) !important; }
html body:not(.hero-autumn-on) .topbar .searchbar {
  background: var(--chip) !important; box-shadow: none !important;
}
html body:not(.hero-autumn-on) .topbar .searchbar .s-ico { opacity: .75; }
html body:not(.hero-autumn-on) .topbar .searchbar .s-text { color: var(--text2) !important; }
html body:not(.hero-autumn-on) .topbar .searchbar .s-btn {
  background: var(--primary) !important; color: #fff !important;
}
/* 国庆层此时只剩「顶部一条红带」的作用，而顶栏已经回到白底 —— 红带高度由 --head-h
   （顶栏 + 频道栏）决定，白底顶栏压在上面会盖掉红带的上半截，露出下半截卡在频道栏后面，
   视觉上就是从顶栏底下探出一条红边。二级页没有 Hero，整条红带都不需要，直接收掉。 */
html body:not(.hero-autumn-on) .topbar { z-index: 31; }
@media (min-width: 1000px) {
  html.festival body:not(.hero-autumn-on) .fest-layer { display: none !important; }
  html.festival body:not(.hero-autumn-on) .fest-ribbon { display: none !important; }
}

html body.has-hero.hero-autumn-on:not(.hero-out) .topbar {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  /* 顶栏作用域内的秋季取色：
     变量直接写在 .topbar 上，内部所有 var(--text2/3) 的子元素自动跟着变。 */
  --text3: #7a5c33;
  --text2: #8a6b40;
  --line: rgba(122, 92, 51, .30);
  --chip: rgba(255, 255, 255, .58);
}
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .brand-text {
  background: none !important;
  -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: #b03a12 !important; color: #b03a12 !important;
  text-shadow: none !important;
}
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .brand-logo {
  box-shadow: 0 2px 8px rgba(150, 70, 20, .22) !important;
}
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .theme-btn { color: var(--text3) !important; }
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .theme-btn:hover { background: var(--chip) !important; }
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .btn-app,
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .tb-user {
  color: var(--text3) !important; background: var(--chip) !important;
  box-shadow: inset 0 0 0 1px var(--line) !important;
}
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .tb-user:hover {
  color: #b03a12 !important; box-shadow: inset 0 0 0 1px #b03a12 !important;
}
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .tb-user .av { background: rgba(255, 255, 255, .6) !important; }
/* 「发布」按钮是主行动点，保持红渐变实心 —— 透明顶栏上反而更显眼 */
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .btn-write {
  background: var(--primary-grad) !important; color: #fff !important; box-shadow: none !important;
}
/* 搜索框做成半透明玻璃：既落在秋季背景里，又不至于空得看不见输入框 */
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .searchbar {
  background: rgba(255, 255, 255, .58) !important;
  box-shadow: inset 0 0 0 1px rgba(122, 92, 51, .18) !important;
}
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .searchbar .s-ico,
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .searchbar .s-text {
  color: var(--text2) !important; opacity: 1;
}
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .searchbar .s-btn {
  background: var(--primary) !important; color: #fff !important;
}
/* 「澳门站 / 天气」跟着顶栏走秋季深色 */
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .sw-st {
  color: var(--text3) !important; background: var(--chip) !important;
}
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .sw-wx { color: var(--text2) !important; }
html body.has-hero.hero-autumn-on:not(.hero-out) .topbar .sw-wx em {
  color: #b03a12 !important; background: rgba(176, 58, 18, .12) !important;
}
/* 秋季 Hero 期间不铺国庆全屏层 / 顶部飘带 —— 否则整页会被染成暗红 */
@media (min-width: 1000px) {
  html body.hero-autumn-on .fest-layer { display: none !important; }
  html body.hero-autumn-on .fest-ribbon { display: none !important; }
}

/* ==========================================================================
   v7.3 第 8 项：左侧导航图标「简介化单色」
   原来是彩色 emoji（🏠🔥🎫…），好处是醒目，坏处是十个彩色块抢走了文字的注意力，
   而且不同系统/字体下的 emoji 长得不一样 Linux 上还会变成豆腐块。

   现在换成与 tabbar 同一套 24×24 线性描边图标：
     · 单色 —— color 跟随 currentColor，默认次级灰，hover 变主色文字色，选中变品牌红
     · 统一退底 —— 18×18 固定尺寸 + flex 居中，不会因为图标笔画多少而参差
   ========================================================================== */
.side-nav button > span:first-child {
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--text3);
  transition: color .16s;
}
.side-nav button:hover > span:first-child { color: var(--text); }
.side-nav button.active > span:first-child { color: var(--primary); }
.side-nav button.active:hover > span:first-child { color: var(--primary); }
/* 图标比 tabbar 那套更细一点，跟 14px 的导航文字搭 */
.side-nav button > span:first-child > svg path,
.side-nav button > span:first-child > svg circle,
.side-nav button > span:first-child > svg rect { stroke-width: 1.6; }

/* ==========================================================================
   v7.3 第 6 项：Hero 以下全部为白色
   全局底色是浅灰 #f4f5f7（--bg），但按参考站重排后，卡片已经改成「无边框无投影、
   只留 1px 分隔线」的做法 —— 这种版式必须衬在纯白上才干净，浅灰会让白卡片发脏。

   ⚠ 这里刻意**不修改 --bg 变量本身**：它同时还被 .card:hover 当悬停底色用，
   一旦改成纯白，鼠标划过卡片就完全没有反馈了（grep 结果：var(--bg) 共 3 处使用）。
   所以只把 body 的背景单独压成白色。

   作用范围限定在「日间模式 + 秋季 Hero 生效」：
   夜间模式保留深色底（白底在夜间会刺眼），切到非首页后也回到常规浅灰。
   ========================================================================== */
html[data-theme="light"] body.has-hero.hero-autumn-on { background: #ffffff; }

/* ==========================================================================
   v7.5 第 2 项：顶部导航栏背景随日间 / 夜间模式变化

   ⚠ 之前的状态：Hero 页的首屏为了「融入背景」，把顶栏写成了
        html body.has-hero.hero-autumn-on:not(.hero-out) .topbar { background: transparent !important }
     —— 这行不带主题判断，**日间和夜间拿到的都是完全透明的顶栏**，
     所以你切夜间模式时顶栏「纹丝不动」，看起来就像主题没生效。实测：
        日间首页 topbar 计算值 rgba(0,0,0,0)
        夜间首页 topbar 计算值 rgba(0,0,0,0)   ← 与日间一模一样
     更糟的是夜间 Hero 的底色被压成了深红渐变（#6b0710 → #2c0206），
     品牌字在这块深色上是 #b03a12（暗红)，对比度极低，几乎糊成一团。

   v7.6 第 1 项修正：上一版在这里盖了一层「半透明毛玻璃」
     （日间 rgba(255,255,255,.72) / 夜间 rgba(24,26,30,.74)），
     本意是让顶栏在切主题时有可见变化。但它同时把「融入 Hero」弄丢了 ——
     顶栏在 Hero 上永远浮着一层奶白 / 灰膜，和下面的秋日天空不是同一块底，
     看起来就是「顶栏还是一条独立的条，没有和背景一体化」。
     现在改回**完全透明**：Hero 的渐变自然延伸到顶栏，两者是同一块背景；
     可读性交给文字取色（日间秋季暖褐 / 夜间浅灰，见本节末尾那套 dark 规则），
     而不是靠给顶栏垫一层底色。

     那么「随昼夜变化」由谁承担？改到**下拉之后**那条路径上：
       · 首屏压在 Hero 上         —— 完全透明，日间夜间都不垫色（就是下面这两条）
       · 下拉出 Hero（.hero-out） —— 日间白底 / 夜间深灰底（见本节末尾新加的规则）
     既保住了一体化，主题切换又是明确可见的。

   选择器为什么要写成 html[data-theme="x"] 开头：
     v7.3 那条秋季透明规则是 `html body.has-hero…`（0,4,2）且带 !important，
     必须再叠一层属性选择器（属性选择器按类级计数）把它压到 (0,5,2) 才生效，
     同时因为写在文件最后，同权重下也排在后面。
   ========================================================================== */

html[data-theme="light"] body.has-hero.hero-autumn-on:not(.hero-out) .topbar {
  background: transparent !important;
  border-bottom-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
html[data-theme="dark"] body.has-hero.hero-autumn-on:not(.hero-out) .topbar {
  background: transparent !important;
  border-bottom-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   v7.6 第 1 项后半：下拉出 Hero 之后，顶栏底色必须跟着主题走。

   ⚠ 前段 105 行那条 `body.has-hero.hero-out .topbar { background:#fff }` 是**写死的白底** ——
     那是 v6.0 为了「手机上下拉变白底」加的，当时还没有夜间 Hero 的场景。
     于是夜间模式下拉时顶栏是一条纯白条压在深色内容上，非常刺眼；
     它还顺手把 --text2 / --text3 刷成了深灰（#55585f / #6b7078），
     夜间下这些字会直接糊在深色底上看不见。
   修法：夜间单独盖一层（0,4,1 特异性高于 105 行的 0,3,1），
   底色改深灰、变量改回夜间浅色、品牌字改用夜间主色。日间继续沿用 105 行的白底，不动。
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   v7.6 第 1 项：秋季 Hero 的夜间配色。

   ⚠ 不处理的话，夜间首页是「暖阳浅秋的浅色天空 + 顶栏全透明 + 品牌字浅灰」——
     浅色字压在浅米白渐变上，实测对比度约 1.2，等于把品牌名和图标全弄没了。
     （这正是上一版给顶栏垫一层毛玻璃的原因；现在顶栏要真透明，
       就必须把 Hero 自己在夜间压深，让上面的浅色字有底可压。）

   做法：把白天那三层渐变整体调成「深秋夜空」——同样的暖光走向，
   只是明度整体下移，保留一点橙色余晖不至于变成死黑。
   顶到页面最上端时，顶栏的透明区域接的就是这块深色，与 Hero 是一块；
   下拉后顶栏换成 #1b1d22（见下），两者明度接近，切换不生硬。
   -------------------------------------------------------------------------- */
html[data-theme="dark"] .hero.hero-autumn {
  background:
    radial-gradient(720px 340px at 19% 21%, rgba(226, 148, 60, .30) 0%, rgba(226, 148, 60, 0) 62%),
    radial-gradient(600px 300px at 88% 4%, rgba(180, 130, 70, .26) 0%, rgba(180, 130, 70, 0) 72%),
    linear-gradient(180deg, #241a14 0%, #1d1510 40%, #17110d 74%, #14100c 100%);
}
html[data-theme="dark"] .hero.hero-autumn .hero-bg { filter: brightness(.62) saturate(.92); }
html[data-theme="dark"] .hero.hero-autumn .hero-title {
  color: #f4e6d4 !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] .hero.hero-autumn .hero-sub { color: rgba(240, 226, 208, .72) !important; }
html[data-theme="dark"] .hero.hero-autumn .hero-search {
  background: rgba(38, 33, 29, .94) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 210, 140, .22) !important;
}
html[data-theme="dark"] .hero.hero-autumn .hero-search .hs-ico,
html[data-theme="dark"] .hero.hero-autumn .hero-search .hs-text { color: rgba(244, 232, 214, .74) !important; }
/* 夜间 Hero 底部的「快讯 24 小时」浮条同样要压深，否则白底浮条在深色 Hero 上非常跳 */
html[data-theme="dark"] .hero.hero-autumn .hero-flash {
  background: rgba(44, 38, 33, .94) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5) !important;
}
html[data-theme="dark"] .hero.hero-autumn .hero-flash .fb-item { color: rgba(244, 232, 214, .86); }

html[data-theme="dark"] body.has-hero.hero-out .topbar {
  background: #1b1d22 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .10) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .45) !important;
  --text2: #c9ccd2;
  --text3: #9aa0a8;
  --line: rgba(255, 255, 255, .16);
  --chip: rgba(255, 255, 255, .10);
}
html[data-theme="dark"] body.has-hero.hero-out .topbar .brand-text {
  background: none !important;
  -webkit-text-fill-color: #ff6b70 !important;
  color: #ff6b70 !important;
  text-shadow: none !important;
}
html[data-theme="dark"] body.has-hero.hero-out .topbar .btn-app,
html[data-theme="dark"] body.has-hero.hero-out .topbar .tb-user,
html[data-theme="dark"] body.has-hero.hero-out .topbar .theme-btn {
  color: #d8dbe0 !important;
  background: rgba(255, 255, 255, .10) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] body.has-hero.hero-out .topbar .searchbar {
  background: rgba(255, 255, 255, .12) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] body.has-hero.hero-out .topbar .searchbar .s-text,
html[data-theme="dark"] body.has-hero.hero-out .topbar .searchbar .s-ico {
  color: #d8dbe0 !important;
}
/* 夜间 Hero 顶栏里那几个变量会被上面的 autumn 规则改写成暖棕色（给浅色 Hero 用），
   压在深灰半透底上会发灰发暗。夜间下把文字/图标变量拉回常规夜间取色。 */
html[data-theme="dark"] body.has-hero.hero-autumn-on:not(.hero-out) .topbar {
  --text2: #c9ccd2;
  --text3: #9aa0a8;
  --line: rgba(255, 255, 255, .18);
}
html[data-theme="dark"] body.has-hero.hero-autumn-on:not(.hero-out) .topbar .brand-text {
  color: #f2f3f5 !important;
  -webkit-text-fill-color: #f2f3f5 !important;
}
html[data-theme="dark"] body.has-hero.hero-autumn-on:not(.hero-out) .topbar .btn-app,
html[data-theme="dark"] body.has-hero.hero-autumn-on:not(.hero-out) .topbar .tb-user,
html[data-theme="dark"] body.has-hero.hero-autumn-on:not(.hero-out) .topbar .theme-btn {
  color: #d8dbe0 !important; background: rgba(255, 255, 255, .10) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] body.has-hero.hero-autumn-on:not(.hero-out) .topbar .searchbar {
  background: rgba(255, 255, 255, .12) !important; box-shadow: none !important;
}
html[data-theme="dark"] body.has-hero.hero-autumn-on:not(.hero-out) .topbar .searchbar .s-text {
  color: #d8dbe0 !important;
}
html[data-theme="dark"] body.has-hero.hero-autumn-on:not(.hero-out) .topbar .searchbar .s-ico {
  opacity: .8; color: #d8dbe0;
}

/* ==========================================================================
   v7.5 第 1 项：短内容页（快讯 / 微言）页头
   左栏那一项现在会随账号主体在「微言 / 快讯」之间切换，进到页面里得对得上。
   页头只做一行轻量提示：左边是当前主体的叫法，右边是这条时间线是什么内容。
   沿用本站「无边框、不抢视线」的做法 —— 不加底色不加边框，靠字重和间距区分。
   ========================================================================== */
.micro-head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 4px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.micro-head .mh-t { font-size: 17px; font-weight: 700; color: var(--text); }
.micro-head .mh-s { font-size: 12.5px; color: var(--text3); }
html[data-theme="dark"] .micro-head { border-bottom-color: rgba(255, 255, 255, .10); }

/* ==========================================================================
   v7.7 站内页容器（shell）
   --------------------------------------------------------------------------
   活动 / 专题 / 时讯号 / 时讯搜索 这四个站内频道页以前和文章详情一样，
   是盖在页面上的一层 position:fixed 全屏浮层 —— 顶栏、频道栏、左栏全被挡住。
   现在改成嵌在 .layout 的兄弟节点 #pageShell 里：顶部双导航和左栏保持站内设计，
   页面内容放在右主列。手机端 (<1000px) 左栏本来就是隐藏的，继续走全屏浮层。
   ========================================================================== */
.page-shell { display: none; }
body.shell-mode .layout { display: none !important; }
/* shell 打开期间首页 Hero 让位（Hero 是首页第一屏，进频道页时不该还在） */
body.shell-mode .hero { display: none !important; }

@media (min-width: 1000px) {
  body.shell-mode .page-shell {
    display: flex; gap: 20px; align-items: flex-start;
    max-width: 1240px; margin: 0 auto; padding: 16px 16px 40px;
  }
  .page-shell .ps-left { width: 190px; flex-shrink: 0; position: sticky; top: 126px; }
  .page-shell .ps-main { flex: 1; min-width: 0; }

  /* .page 在 #layer 里是 fixed 全屏浮层，在 shell 里必须还原成普通文档流元素 */
  .page-shell .page {
    position: static; inset: auto; z-index: auto; background: transparent;
    overflow: visible; animation: none;
  }
  .page-shell .page-inner {
    max-width: none; margin: 0; min-height: 320px; padding-bottom: 20px;
    background: var(--card); border-radius: 8px; box-shadow: var(--shadow);
    overflow: hidden;
  }
  /* shell 里已经有顶栏和左栏，不需要浮层那一条自带返回键的 navbar，
     取而代之的是页面顶部一行「标题 + 操作」条 */
  .page-shell .navbar { display: none; }
  .page-shell .page-wide { max-width: none; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .page-shell .ps-left { width: 172px; }
}

/* shell 页顶部：标题 + 右侧操作按钮（替代浮层的 navbar） */
.ps-actbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 12px; border-bottom: 1px solid var(--line);
}
.ps-tt { font-size: 18px; font-weight: 700; color: var(--text); }
/* v7.9 第 4 项：时讯号主页把标题做成了「返回时讯号主页」的入口，
   必须让人一眼看出这行字可以点 —— 加一个回退箭头、hover 变红、鼠标变手型。
   箭头用 ::before 而不是塞进文案里，避免文案被当作数据读走 / 屏幕阅读器念成符号。 */
.ps-tt-back { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.ps-tt-back::before {
  content: ""; width: 9px; height: 9px; flex-shrink: 0;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .65;
}
.ps-tt-back:hover { color: var(--primary); }
.ps-tt-back:hover::before { opacity: 1; }
.ps-tt-back:active { opacity: .8; }
.ps-act {
  margin-left: auto; padding: 6px 14px; border-radius: 16px;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 600;
}
.ps-act:disabled { opacity: .55; }
html[data-theme="dark"] .ps-actbar { border-bottom-color: rgba(255, 255, 255, .10); }

/* ==========================================================================
   v7.7 第 1 项：时讯搜索（排版对齐头条搜索页）
   ========================================================================== */
.so-wrap { padding: 0 0 16px; }
.so-head { padding: 18px 24px 12px; }
.so-box {
  display: flex; align-items: center; gap: 8px; height: 42px;
  padding: 0 6px 0 14px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--card);
}
.so-box:focus-within { border-color: var(--primary); }
.so-ico { display: flex; color: var(--text3); flex-shrink: 0; }
.so-ico svg { width: 17px; height: 17px; }
.so-box input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-size: 14.5px; color: var(--text);
}
.so-btn {
  flex-shrink: 0; height: 32px; padding: 0 24px; border-radius: 3px;
  background: var(--primary); color: #fff; font-size: 14.5px; font-weight: 600;
}
.so-btn:active { opacity: .88; }

.so-tabs { display: flex; gap: 26px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.so-tab { position: relative; padding: 9px 0 11px; font-size: 15px; color: var(--text2); cursor: pointer; }
.so-tab.on { color: var(--primary); font-weight: 700; }
.so-tab.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2.5px; border-radius: 2px; background: var(--primary);
}
.so-cols { display: flex; gap: 24px; align-items: flex-start; padding: 14px 24px 0; }
.so-main { flex: 1; min-width: 0; }
.so-side { width: 300px; flex-shrink: 0; }
.so-count { font-size: 13px; color: var(--text3); padding: 2px 0 12px; }
.so-count b { color: var(--primary); font-weight: 700; }
.so-sec { font-size: 14px; font-weight: 700; color: var(--text); padding: 8px 0 2px; }
.so-tip { padding: 30px 0; text-align: center; font-size: 13.5px; color: var(--text3); }

.so-item { position: relative; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.so-item h4 { font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--text); }
.so-item h4 em { font-style: normal; color: var(--primary); }
.so-abs {
  margin-top: 6px; font-size: 13.5px; line-height: 1.7; color: var(--text2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.so-abs em { font-style: normal; color: var(--primary); }
.so-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--text3); }
.so-vtag { color: var(--primary); }
.so-thumb {
  position: absolute; right: 0; top: 16px; width: 116px; height: 74px;
  border-radius: 6px; background-size: cover; background-position: center; background-color: var(--chip);
}
.so-item:has(.so-thumb) h4, .so-item:has(.so-thumb) .so-abs, .so-item:has(.so-thumb) .so-meta { padding-right: 132px; }

.so-user { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.so-uav {
  flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  background: var(--chip); color: var(--primary); font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.so-ubox { flex: 1; min-width: 0; }
.so-uname { font-size: 15px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }
.so-v { font-style: normal; font-size: 11px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 1px 6px; border-radius: 8px; }
.so-uintro { margin-top: 3px; font-size: 13px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-uintro em { font-style: normal; color: var(--primary); }
.so-ufollow {
  flex: none; padding: 6px 16px; border-radius: 16px;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 600;
}
.so-ufollow.on { background: var(--chip); color: var(--text2); }

.so-hot { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px 6px; }
.so-hoth { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.so-hoth b { font-size: 14.5px; font-weight: 700; color: var(--text); }
.so-hoth span { font-size: 12.5px; color: var(--text3); cursor: pointer; }
.so-hoth span:hover { color: var(--primary); }
.so-hotlist { list-style: none; margin: 0; padding: 0; }
.so-hotlist li { display: flex; align-items: center; gap: 9px; padding: 7px 0; cursor: pointer; font-size: 13.5px; color: var(--text2); }
.so-hotlist li:hover span { color: var(--primary); }
.so-hotlist i {
  flex: none; width: 17px; font-style: normal; font-size: 13px; font-weight: 700;
  color: var(--text3); text-align: center;
}
.so-hotlist i.top { color: var(--primary); }
.so-hotlist span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 999px) {
  .so-head { padding: 12px 14px 8px; }
  .so-tabs { padding: 0 14px; gap: 18px; }
  .so-cols { padding: 10px 14px 0; }
  .so-side { display: none; }
  .so-thumb { display: none; }
  .so-item:has(.so-thumb) h4, .so-item:has(.so-thumb) .so-abs, .so-item:has(.so-thumb) .so-meta { padding-right: 0; }
  .so-item h4 { font-size: 16.5px; }
}

/* ==========================================================================
   v7.7 第 2 项：活动列表页（排版对齐参考站「发现活动」）
   ========================================================================== */
.ev2-wrap { padding: 0 0 20px; }
.ev2-hero { padding: 22px 24px 12px; }
.ev2-t { font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -.3px; }
.ev2-sub { margin-top: 6px; font-size: 13.5px; color: var(--text3); }
.ev2-filters { padding: 4px 24px 0; }
.ev2-frow { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; }
.ev2-flabel { flex: none; width: 42px; font-size: 13px; color: var(--text3); line-height: 28px; }
.ev2-fopts { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.ev2-opt {
  padding: 5px 13px; border-radius: 14px; font-size: 13px; color: var(--text2);
  background: var(--chip); cursor: pointer; white-space: nowrap;
}
.ev2-opt:hover { color: var(--primary); }
.ev2-opt.on { background: var(--primary); color: #fff; font-weight: 600; }
.ev2-sorts { display: flex; gap: 8px; padding: 12px 24px 0; }
.ev2-sort {
  padding: 6px 16px; border-radius: 16px; font-size: 13px; color: var(--text2);
  border: 1px solid var(--line); cursor: pointer; background: var(--card);
}
.ev2-sort.on { background: var(--primary-soft); color: var(--primary); border-color: var(--primary); font-weight: 600; }
.ev2-count { padding: 14px 24px 6px; font-size: 13px; color: var(--text3); }
.ev2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 24px; }
.ev2-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 15px;
  background: var(--card); cursor: pointer; transition: box-shadow .18s, border-color .18s;
}
.ev2-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.ev2-cat {
  display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; background: var(--primary-soft); color: var(--primary);
}
.ev2-title {
  margin-top: 9px; font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ev2-when { margin-top: 8px; font-size: 13.5px; color: var(--text2); }
.ev2-where { margin-top: 3px; font-size: 13px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev2-org { margin-top: 3px; font-size: 13px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev2-price { margin-top: 10px; font-size: 17px; font-weight: 800; color: var(--primary); }
.ev2-pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 24px 4px; font-size: 13px; color: var(--text3); }
.ev2-pager button {
  padding: 6px 18px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--card); color: var(--text2); font-size: 13px;
}
.ev2-pager button:disabled { opacity: .45; }

@media (max-width: 999px) {
  .ev2-hero { padding: 16px 14px 8px; }
  .ev2-t { font-size: 21px; }
  .ev2-filters, .ev2-sorts, .ev2-count, .ev2-grid, .ev2-pager { padding-left: 14px; padding-right: 14px; }
  .ev2-flabel { width: 36px; }
  .ev2-fopts { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .ev2-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v7.7 第 3 项：活动详情页（排版对齐参考站）
   ========================================================================== */
.evd2 { padding: 0 0 20px; }
.evd2-back { padding: 14px 24px 0; font-size: 13.5px; color: var(--text3); cursor: pointer; }
.evd2-back:hover { color: var(--primary); }
.evd2-cover {
  margin: 12px 24px 0; height: 190px; border-radius: 10px;
  background-size: cover; background-position: center; background-color: var(--chip);
}
.evd2-top { padding: 16px 24px 0; }
.evd2-cat {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px;
  border-radius: 4px; background: var(--primary-soft); color: var(--primary);
}
.evd2-status { margin-left: 8px; font-size: 12px; color: var(--text3); }
.evd2-status.s-end, .evd2-status.s-full { color: #c2410c; }
.evd2-title { margin-top: 10px; font-size: 26px; font-weight: 800; line-height: 1.4; color: var(--text); }
.evd2-date { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--text2); }
.evd2-line { margin-top: 4px; font-size: 14px; color: var(--text3); }
.evd2-org {
  display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 11px 14px;
  border-radius: 8px; background: var(--card); border: 1px solid var(--line); cursor: pointer;
}
.evd2-ologo {
  flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  background: var(--chip); color: var(--primary); font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.evd2-oinfo { flex: 1; min-width: 0; }
.evd2-oinfo b { font-size: 14.5px; font-weight: 700; color: var(--text); }
.evd2-oinfo em { display: block; margin-top: 2px; font-style: normal; font-size: 12.5px; color: var(--text3); }
.evd2-ogo { flex: none; font-size: 13px; color: var(--primary); }
.evd2-sec { padding: 18px 24px 0; }
.evd2-sec h5 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.evd2-body { font-size: 15.5px; line-height: 1.9; color: var(--text); }
.evd2-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.evd2-tags span {
  padding: 4px 11px; border-radius: 14px; font-size: 13px;
  background: var(--chip); color: var(--primary);
}
.evd2-buy {
  display: flex; align-items: center; gap: 16px; margin: 18px 24px 0;
  padding: 15px 18px; border-radius: 10px; background: var(--card);
  border: 1px solid var(--line);
}
.evd2-buybox { min-width: 0; }
.evd2-price { font-size: 22px; font-weight: 800; color: var(--primary); }
.evd2-seats { margin-top: 3px; font-size: 12.5px; color: var(--text3); }
.evd2-btn {
  margin-left: auto; flex: none; padding: 11px 38px; border-radius: 6px;
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 600;
}
.evd2-btn.off, .evd2-btn.done { background: var(--chip); color: var(--text2); }
.evd2-ico {
  flex: none; width: 40px; height: 40px; border-radius: 8px; font-size: 17px;
  border: 1px solid var(--line); background: var(--card); color: var(--text2);
}
.evd2-ico.on { color: var(--primary); border-color: var(--primary); }
.evd2-tickets { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.evd2-tk { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.evd2-tk:last-child { border-bottom: 0; }
.evd2-tk b { font-weight: 600; color: var(--text); }
.evd2-tk span { color: var(--primary); font-weight: 700; }
.evd2-tk em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--text3); }
.evd2-orgcard {
  display: flex; align-items: center; gap: 11px; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.evd2-relgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.evd2-relgrid .ev2-card:hover { box-shadow: none; }

@media (max-width: 999px) {
  .evd2-back, .evd2-top, .evd2-sec { padding-left: 14px; padding-right: 14px; }
  .evd2-cover { margin: 10px 14px 0; height: 150px; }
  .evd2-buy { margin: 16px 14px 0; flex-wrap: wrap; }
  .evd2-title { font-size: 21px; }
  .evd2-btn { margin-left: 0; flex: 1; }
  .evd2-relgrid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v7.7 第 4 项：专题列表页（排版对齐参考站「精选专题合集」）
   ========================================================================== */
.tp2-wrap { padding: 0 0 20px; }
.tp2-hero {
  padding: 24px 24px 18px;
  background: linear-gradient(135deg, var(--primary-soft), transparent 72%);
}
.tp2-kicker { font-size: 12.5px; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.tp2-t { margin-top: 6px; font-size: 26px; font-weight: 800; color: var(--text); }
.tp2-sub { margin-top: 8px; font-size: 13.5px; color: var(--text2); line-height: 1.7; }
.tp2-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tp2-mine { border: 1px dashed var(--primary); background: transparent; color: var(--primary); }
.tp2-count { padding: 14px 24px 4px; font-size: 13px; color: var(--text3); }
.tp2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 6px 24px 0; }
.tp2-card {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--card); cursor: pointer; transition: box-shadow .18s, border-color .18s;
}
.tp2-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.tp2-cover { height: 138px; background-size: cover; background-position: center; background-color: var(--chip); }
.tp2-b { padding: 12px 15px 14px; }
.tp2-h {
  font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tp2-p {
  margin-top: 6px; font-size: 13px; line-height: 1.65; color: var(--text2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tp2-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.tp2-tags span { font-size: 12px; color: var(--primary); background: var(--primary-soft); padding: 2px 8px; border-radius: 10px; }
.tp2-f { margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--text3); }
.tp2-nums { margin-left: auto; }

@media (max-width: 999px) {
  .tp2-hero { padding: 18px 14px 14px; }
  .tp2-t { font-size: 21px; }
  .tp2-count, .tp2-grid { padding-left: 14px; padding-right: 14px; }
  .tp2-grid { grid-template-columns: 1fr; }
  .tp2-nums { margin-left: 0; }
}

/* ==========================================================================
   v7.7 第 5 项：专题详情页（排版对齐参考站）
   ========================================================================== */
.tpd2-wrap { padding: 0 0 20px; }
.tpd2-back { padding: 16px 24px 0; font-size: 13.5px; color: var(--text3); cursor: pointer; }
.tpd2-back:hover { color: var(--primary); }
.tpd2-head { padding: 12px 24px 0; }
.tpd2-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tpd2-tags span { font-size: 12.5px; color: var(--primary); background: var(--primary-soft); padding: 3px 10px; border-radius: 12px; }
.tpd2-t { margin-top: 12px; font-size: 27px; font-weight: 800; line-height: 1.35; color: var(--text); }
.tpd2-intro { margin-top: 9px; font-size: 14.5px; line-height: 1.75; color: var(--text2); }
.tpd2-follow {
  margin-top: 14px; padding: 8px 26px; border-radius: 18px;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 600;
}
.tpd2-follow.on { background: var(--chip); color: var(--text2); }
.tpd2-stats {
  display: flex; margin: 18px 24px 0; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.tpd2-stat { flex: 1; text-align: center; padding: 15px 0; }
.tpd2-stat + .tpd2-stat { border-left: 1px solid var(--line); }
.tpd2-stat b { display: block; font-size: 21px; font-weight: 800; color: var(--text); }
.tpd2-stat span { display: block; margin-top: 3px; font-size: 12px; color: var(--text3); }
.tpd2-sec { padding: 20px 24px 0; }
.tpd2-sec h5 { font-size: 16.5px; font-weight: 700; color: var(--text); display: flex; align-items: baseline; gap: 10px; }
.tpd2-n { font-size: 12.5px; font-weight: 400; color: var(--text3); }
.tpd2-guide {
  margin-top: 8px; font-size: 15px; line-height: 1.95; color: var(--text);
  padding: 14px 16px; border-radius: 8px; background: var(--card);
  border: 1px solid var(--line);
}
.tpd2-art { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); cursor: pointer; }
.tpd2-no { flex: none; width: 36px; font-size: 19px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.tpd2-abox { flex: 1; min-width: 0; }
.tpd2-adate { font-size: 12.5px; color: var(--text3); }
.tpd2-at { margin-top: 4px; font-size: 16.5px; font-weight: 700; line-height: 1.5; color: var(--text); }
.tpd2-art:hover .tpd2-at { color: var(--primary); }
.tpd2-aabs {
  margin-top: 5px; font-size: 13.5px; line-height: 1.65; color: var(--text2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tpd2-ameta { margin-top: 6px; font-size: 12.5px; color: var(--text3); }

@media (max-width: 999px) {
  .tpd2-back, .tpd2-head, .tpd2-sec { padding-left: 14px; padding-right: 14px; }
  .tpd2-stats { margin: 16px 14px 0; }
  .tpd2-t { font-size: 22px; }
}

/* ==========================================================================
   v7.7 第 6 项：时讯号列表页（排版对齐参考站）
   ========================================================================== */
.og2-wrap { padding: 0 0 20px; }
.og2-hero { padding: 24px 24px 16px; }
.og2-t { font-size: 27px; font-weight: 800; color: var(--text); }
.og2-sub { margin-top: 8px; font-size: 14.5px; color: var(--text2); }
.og2-tip { margin-top: 4px; font-size: 13px; color: var(--text3); }
.og2-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.og2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 12px 24px 0; }
.og2-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 18px 14px 15px;
  background: var(--card); text-align: center; cursor: pointer;
  transition: box-shadow .18s, border-color .18s;
}
.og2-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.og2-av {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto; overflow: hidden;
  background: var(--chip); color: var(--primary); font-size: 23px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.og2-nm { margin-top: 10px; font-size: 15.5px; font-weight: 700; color: var(--text); }
.og2-badge {
  display: inline-block; margin-top: 5px; font-size: 11.5px; font-weight: 600;
  color: var(--primary); background: var(--primary-soft); padding: 1px 8px; border-radius: 9px;
}
.og2-intro {
  margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--text3); min-height: 40px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.og2-st { margin-top: 9px; display: flex; justify-content: center; gap: 12px; font-size: 12px; color: var(--text3); }
.og2-follow {
  margin-top: 11px; width: 100%; padding: 7px 0; border-radius: 17px;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 600;
}
.og2-follow.on { background: var(--chip); color: var(--text2); }
.og2-follow:disabled { opacity: .5; }

@media (max-width: 1279px) { .og2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 999px) {
  .og2-hero { padding: 18px 14px 12px; }
  .og2-t { font-size: 22px; }
  .og2-grid { grid-template-columns: 1fr; padding: 10px 14px 0; }
}

/* v7.8 第 6 项：日间这几块统一白色，夜间跟着 --card 一起换深色。
   原来它们是浅灰底（var(--bg)），日间看着和白卡片不一致；现在底色交给 var(--card)，
   夜间自动落到 #1b1c1f，不需要再单独写 rgba 覆盖（写了反而和别的卡片深浅不一）。 */
/* 搜索筛选项 / 活动详情的图标按钮保留一点点深色小块做可点暗示 */
html[data-theme="dark"] .ev2-sort,
html[data-theme="dark"] .evd2-ico { background: rgba(255, 255, 255, .04); }

/* ==========================================================================
   v7.24 第 2 项：窄屏（H5 / App / 小程序 WebView）频道栏 —— 必须放在文件最末尾
   --------------------------------------------------------------------------
   ⚠ 位置很重要：这一段第一次写在 2400 行左右，被后面 .tabs-scroll（渐变遮罩）和
     .tabs-user（display:flex）这两条“同权重、靠后”的基础规则整条覆盖了 ——
     媒体查询并不会自动提高优先级，同权重下只看谁写在后面。结果就是
     「立即登录压根没消失」+「频道条右侧那层渐隐还在」。
     挪到文件最末尾后，移动端这一组才是真正的最终覆盖。
   --------------------------------------------------------------------------
   配合 JS（app.js 的 NAV_TABS_NARROW / isNarrowTabs / renderTabsUser）一起生效：
     · JS 在窄屏只渲染「关注 / 推荐 / 澳门 / 快讯 / 财经 / 更多」这 6 个等宽频道，
       其余频道收进下拉；这里顺势把右侧独立的 .tabs-more 网格按钮隐藏（否则两个“更多”）
     · 频道条不再横向滚动、两侧渐隐遮罩去掉 —— 既然频道数已经按屏宽裁好，
       就不该再给「划一划还能看到更多」的裁切暗示
     · 「更多」这个 tab 与频道同权同样式等宽铺满，选中时保持同样下划线
     · .tabs-user（未登录的「立即登录」/ 登录后的头像昵称）窄屏彻底不占位，
       登录入口手机上走 Tab 栏「我的」。宽屏不受这段影响，仍正常显示
   ========================================================================== */
@media (max-width: 999px) {
  .tabs-wrap .tabs-more { display: none; }

  /* v7.25 第 1 项：取消手机频道栏那条底边框。
     边框来自文件顶部 .tabs-wrap 的 border-bottom（PC 那条线早在 2782 行就去掉了），
     手机上频道栏下面是对齐的博客/活动列表，留一条横切线很像 echarts 每隔几行就出现的
     splitLine —— 视觉上把频道栏和正文劈成两块，去掉才连成一体。 */
  .tabs-wrap { border-bottom: none; }

  .tabs-scroll,
  .tabs-scroll.at-start,
  .tabs-scroll.at-end,
  .tabs-scroll.at-start.at-end,
  .tabs-scroll.no-scroll {
    -webkit-mask-image: none; mask-image: none;
  }
  .tabs-scroll { overflow-x: visible; gap: 0; }
  .tabs-scroll .tab {
    flex: 1 1 0; min-width: 0; padding: 0 2px; text-align: center;
    /* 7 个频道 + 「更多」共 8 格，用 flex 居中（不能用 line-height 居中：
       「更多」那格是 图标 + 文字 两个子元素，line-height 对 flex 子项无效） */
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; overflow: hidden;
  }
  /* 「更多」那一格要装下「三横图标 + 文字」，比 2 字频道宽一点，
     给它多分 0.28 份；否则 8 等分时图标和文字会挤成两行 */
  .tabs-scroll .tab[data-ch="更多"] { flex: 1.28 1 0; gap: 3px; }
  .tabs-scroll .tab.active { font-size: 16px; }
  .tabs-scroll .tab .tab-ico { flex: 0 0 16px; width: 16px; height: 16px; }
  .tabs-scroll .tab .tab-txt { font-size: 13.5px; }
  .tabs-scroll .tab.active::after { width: 18px; bottom: 4px; }

  /* 320~359px（iPhone SE / 老安卓）兜底：8 格等分时每格只有 ~42px，
     2 字频道 16px 会挤到贴边，这里统一降一号字号并把「更多」文字收到 13px */
  @media (max-width: 359px) {
    .tabs-scroll .tab { font-size: 14.5px; padding: 0 1px; }
    .tabs-scroll .tab .tab-ico { flex-basis: 14px; width: 14px; height: 14px; }
    .tabs-scroll .tab .tab-txt { font-size: 12.5px; }
  }

  /* 用 id 兜一层：不管后面还会冒出什么 .tabs-user 规则，这里都压得住 */
  .tabs-user, #tabsUser {
    display: none !important; margin: 0 !important; padding: 0 !important;
    min-width: 0 !important; width: 0 !important; border: 0 !important;
  }
}

/* ==========================================================================
   v7.25 第 3/4 项：消息中心 + 用户私信 + 顶栏消息入口
   --------------------------------------------------------------------------
   三个宿主共用同一套 .ms-* 结构：
     · PC   → shell 内（#psMain 里），宽度跟着中间栏走
     · 窄屏 → 全屏浮层（.page / .page-inner）
     · 个人中心「消息」tab → 内联在 #mineBody 里，加 .inline 修饰类缩一点内边距
   配色一律走 CSS 变量（--card / --chip / --line / --text2 / --text3 / --primary），
   夜间模式靠变量自动翻转，这里不写任何 [data-theme="dark"] 特例。
   ========================================================================== */

/* ---------------- 消息中心：顶部分类 tab ---------------- */
.ms-wrap { padding: 0 0 8px; }
.ms-tabs {
  display: flex; align-items: center; gap: 4px; overflow-x: auto;
  padding: 10px 12px 2px; border-bottom: 1px solid var(--line);
  /* 分类有 6 个，窄屏一定会横滚；去掉滚动条但保留滚动能力 */
  scrollbar-width: none; -ms-overflow-style: none;
}
.ms-tabs::-webkit-scrollbar { display: none; }
.mst {
  position: relative; flex: none; padding: 9px 12px; border-radius: 8px;
  font-size: 14px; color: var(--text2); white-space: nowrap;
  background: none; border: 0; cursor: pointer;
}
.mst:hover { color: var(--text); background: var(--hover); }
.mst.on { color: var(--primary); font-weight: 700; }
.mst.on::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 22px; height: 2.5px; border-radius: 2px; background: var(--primary);
}
/* tab 右上角的未读数：用绝对定位的小气泡，不占 tab 宽度
   （占位会让 6 个 tab 的宽度随未读变化而互相挤压，切分类时整条会跳） */
.mst-n {
  position: absolute; top: 2px; right: 1px; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 8px; background: var(--primary); color: #fff;
  font-size: 10px; font-style: normal; font-weight: 700; line-height: 15px; text-align: center;
}

/* ---------------- 互动消息的子分类（全部/评论/点赞/收藏） ---------------- */
.ms-subs {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px 4px;
  overflow-x: auto; scrollbar-width: none;
}
.ms-subs::-webkit-scrollbar { display: none; }
.mss {
  flex: none; padding: 6px 14px; border-radius: 16px; cursor: pointer;
  background: var(--chip); color: var(--text2); font-size: 13px; border: 0;
}
.mss:hover { color: var(--text); }
.mss.on { background: var(--primary); color: #fff; font-weight: 600; }
.mss-n { margin-left: 5px; font-size: 11px; font-style: normal; opacity: .85; }

/* ---------------- 列表 ---------------- */
.ms-list { padding: 4px 0; }
.mi {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.mi:last-child { border-bottom: none; }
.mi[data-art], .mi[data-si], .mi[data-pm], .mi.notice.link { cursor: pointer; }
.mi:hover { background: var(--hover); }
/* 头像：URL 出方形圆角图，emoji / 首字出圆形色块，两者视觉尺寸统一 40px */
.msg-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; display: block; }
.msg-av.txt {
  background: var(--chip); color: var(--text2);
  font-size: 17px; line-height: 40px; text-align: center; overflow: hidden;
}
.mi-main { flex: 1 1 auto; min-width: 0; }
.mi-head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 3px; }
.mi-who {
  font-size: 14px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 42%;
}
.mi-verb { font-size: 13px; color: var(--text2); flex: 1 1 auto; min-width: 0; }
.mi-time { font-size: 11.5px; color: var(--text2); flex: none; margin-left: auto; }
.mi-text {
  font-size: 13.5px; color: var(--text3); line-height: 1.6;
  /* 评论内容可能很长：限 2 行省略，保证一屏能看更多条 */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mi-art {
  margin-top: 7px; padding: 8px 10px; border-radius: 7px; background: var(--chip);
  font-size: 12.5px; color: var(--text2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mi-tag {
  flex: none; align-self: center; padding: 2px 8px; border-radius: 10px;
  background: var(--chip); color: var(--text2); font-size: 11.5px;
}
.mi-dot {
  flex: none; align-self: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--primary); color: #fff;
  font-size: 11px; font-style: normal; font-weight: 700; line-height: 18px; text-align: center;
}
/* 通知类：左侧是一个图标圆，不是头像 */
.mi.notice .mi-ico {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--chip);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.mi-icospan { display: block; width: 19px; height: 19px; }
.mi.notice .mi-who { max-width: 100%; font-size: 14px; }
.mi-arrow { flex: none; align-self: center; color: var(--text2); font-size: 20px; line-height: 1; }

/* 内联形态（个人中心「消息」tab）：外层已经有内边距，这里收一收 */
.ms-wrap.inline { padding-bottom: 0; }
.ms-wrap.inline .mi { padding-left: 4px; padding-right: 4px; }
.ms-wrap.inline .ms-tabs, .ms-wrap.inline .ms-subs { padding-left: 0; padding-right: 0; }

/* ---------------- 私信会话页 ---------------- */
.pm-wrap { display: flex; flex-direction: column; height: calc(100vh - 200px); min-height: 380px; }
.pm-peer {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); flex: none;
}
.pm-pinfo { flex: 1 1 auto; min-width: 0; }
.pm-pinfo b { display: block; font-size: 14.5px; font-weight: 700; }
.pm-pinfo span { font-size: 11.5px; color: var(--text2); }
.pm-home {
  flex: none; padding: 6px 13px; border-radius: 15px; cursor: pointer;
  font-size: 12.5px; color: var(--text2); background: none; border: 1px solid var(--line);
}
.pm-home:hover { color: var(--primary); border-color: var(--primary); }
.pm-body {
  flex: 1 1 auto; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.pm-row { display: flex; flex-direction: column; align-items: flex-start; max-width: 76%; }
.pm-row.mine { align-self: flex-end; align-items: flex-end; }
.pm-bub {
  padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.65;
  background: var(--chip); color: var(--text); word-break: break-word; white-space: pre-wrap;
}
/* 自己发的用品牌红。按中文习惯不做「左右翻转 + 小尖角」那种强聊天 app 感，
   保持站内一贯的克制风格，只靠颜色和位置区分。 */
.pm-row.mine .pm-bub { background: var(--primary); color: #fff; }
.pm-row.pm-tmp .pm-bub { opacity: .65; }
.pm-time { margin-top: 4px; font-size: 11px; color: var(--text2); }
.pm-input {
  flex: none; display: flex; align-items: flex-end; gap: 9px;
  padding: 11px 14px; border-top: 1px solid var(--line);
}
.pm-input textarea {
  flex: 1 1 auto; min-height: 38px; max-height: 108px; padding: 9px 12px; resize: none;
  border-radius: 10px; border: 1px solid var(--line); background: var(--card);
  color: var(--text); font-size: 14px; line-height: 1.5; font-family: inherit;
}
.pm-input textarea:focus { outline: none; border-color: var(--primary); }
.pm-input button {
  flex: none; height: 38px; padding: 0 20px; border-radius: 19px; cursor: pointer;
  background: var(--primary-grad); color: #fff; font-size: 14px; font-weight: 600; border: 0;
}

/* ---------------- 窄屏微调 ---------------- */
@media (max-width: 999px) {
  .mi { padding: 12px 12px; gap: 10px; }
  .msg-av, .mi.notice .mi-ico { width: 36px; height: 36px; }
  .msg-av.txt { font-size: 15px; line-height: 36px; }
  .mst { padding: 8px 9px; font-size: 13.5px; }
  /* 手机上没有 shell，私信页是全屏浮层，可用高度按视口算，去掉顶栏那部分 */
  .pm-wrap { height: calc(100vh - 130px); }
  .pm-row { max-width: 84%; }
}

/* ==========================================================================
   v7.25 第 3/4 项（二）：汇总入口页 + 列表项增强 + 返回条
   对照参考站（今日头条消息中心）：
     · 「消息私信」是入口列表：左彩色圆图标 + 分类名 + 右侧时间 + 下方摘要
     · 互动消息行的操作按钮（谢谢 / 私信 / 赞 / 回复评论）挂在行内
     · 右侧缩略图；内容被删时显示「原文已失效」灰标签
   ========================================================================== */

/* ---------------- 汇总入口页 ---------------- */
.ms-digest { padding: 0 0 10px; }
.mg-label {
  padding: 14px 16px 6px; font-size: 12.5px; color: var(--text2);
}
.mg-group { background: var(--card); }
.mg-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.mg-item:last-child { border-bottom: none; }
.mg-item:hover { background: var(--hover); }
/* 左侧图标圆：底色跟分类走（半透明固定色，浅色/夜间都压得住），
   图标本身用中亮度的固定色，避免夜间模式对比度塌掉。 */
.mg-ico, .mi.notice .mi-ico {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--chip); color: var(--primary);
}
.mg-icospan { display: block; width: 20px; height: 20px; }
.mg-ico.msg-c1 { background: rgba(240, 161, 42, .15); color: #e8940f; }
.mg-ico.msg-c2 { background: rgba(47, 184, 122, .15); color: #22a86c; }
.mg-ico.msg-c3 { background: rgba(58, 139, 255, .15); color: #2f7ff0; }
.mg-ico.msg-c4 { background: rgba(255, 90, 95, .15); color: #f0454b; }
.mg-ico.msg-c5 { background: rgba(122, 139, 166, .16); color: #6b7c96; }
.mg-main { flex: 1 1 auto; min-width: 0; }
.mg-head { display: flex; align-items: baseline; gap: 8px; }
.mg-t { font-size: 15px; font-weight: 600; color: var(--text); flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-time { flex: none; font-size: 12px; color: var(--text2); }
.mg-sub {
  margin-top: 3px; font-size: 13px; color: var(--text2); line-height: 1.55;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mg-n {
  flex: none; align-self: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--primary); color: #fff;
  font-size: 11px; font-style: normal; font-weight: 700; line-height: 18px; text-align: center;
}
.mg-arrow { flex: none; align-self: center; color: var(--text2); font-size: 19px; line-height: 1; }
.mg-empty { padding: 18px 16px; font-size: 13px; color: var(--text2); line-height: 1.6; }
/* 私信会话行复用 .mg-item：头像就是 .msg-av（40px），这里统一对齐 */
.mg-item .msg-av { width: 40px; height: 40px; }
.mg-item .msg-av.txt { font-size: 17px; line-height: 40px; }

/* ---------------- 从汇总页进入列表时的返回条 ---------------- */
.ms-back {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px 8px; border-bottom: 1px solid var(--line);
}
.ms-back b { font-size: 15px; }
.msb {
  flex: none; padding: 5px 10px 5px 6px; border-radius: 14px; cursor: pointer;
  background: none; border: 0; color: var(--text2); font-size: 13.5px;
}
.msb:hover { color: var(--primary); background: var(--hover); }

/* ---------------- 列表项增强 ---------------- */
/* 互动消息行：右侧缩略图，空格留给缩略图或「原文已失效」 */
.mi.it .mi-main { display: flex; flex-direction: column; }
.mi-thumb {
  flex: none; width: 56px; height: 56px; border-radius: 6px;
  object-fit: cover; background: var(--chip);
}
.mi-dead {
  flex: none; align-self: flex-start; padding: 5px 8px; border-radius: 5px;
  background: var(--chip); color: var(--text2); font-size: 11.5px; line-height: 1.2;
}
/* 操作按钮行：参考图里是「胶囊小按钮」，点了不跳行，
   所以每个按钮都带 data-act，在委托里先于跳转处理。 */
.mi-acts { display: flex; align-items: center; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.mi-btn {
  flex: none; padding: 5px 12px; border-radius: 15px; cursor: pointer;
  background: var(--chip); color: var(--text2);
  border: 0; font-size: 12.5px; line-height: 1.4;
}
.mi-btn:hover { color: var(--text); }
.mi-btn.on { color: var(--primary); background: rgba(212, 15, 25, .1); font-weight: 600; }

/* ===== v7.26 第 3 项：文章分享面板 ===== */
.share-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, .5);
  display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 768px) { .share-mask { align-items: center; } }
.share-panel {
  width: 100%; max-width: 420px; background: var(--bg, #fff);
  border-radius: 16px 16px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 30px rgba(0, 0, 0, .18);
  animation: spUp .22s ease;
}
@media (min-width: 768px) { .share-panel { border-radius: 16px; } }
@keyframes spUp { from { transform: translateY(20px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.sp-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; color: var(--text, #1a1a1a); }
.sp-close { border: 0; background: transparent; font-size: 18px; color: var(--text2, #888); cursor: pointer; line-height: 1; padding: 4px 6px; }
.sp-link {
  margin: 12px 0; padding: 9px 12px; border-radius: 10px;
  background: var(--chip, #f3f3f5); color: var(--text2, #888);
  font-size: 12.5px; word-break: break-all; cursor: pointer;
}
.sp-link:active { opacity: .7; }
.sp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sp-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  border: 0; background: transparent; cursor: pointer; padding: 8px 2px;
}
.sp-item:active { opacity: .6; }
.sp-ico {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: var(--chip, #f3f3f5);
}
.sp-item[data-sp="wechat"] .sp-ico { background: #e9f8ec; }
.sp-item[data-sp="weibo"] .sp-ico { background: #fdeaea; }
.sp-item[data-sp="facebook"] .sp-ico { background: #eaf0fb; }
.sp-item[data-sp="link"] .sp-ico { background: #eef0f2; }
.sp-t { font-size: 12.5px; color: var(--text, #1a1a1a); }
/* v7.34 第 1 项：微信转发卡片预览 —— 封面图 + 标题 + 网站名称 · 时讯号@用户名 */
.sp-card {
  display: flex; gap: 12px; align-items: stretch;
  margin: 12px 0; padding: 10px; border-radius: 12px;
  background: var(--card, #fff); border: 1px solid var(--line, #eee);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}
.sp-card-img {
  flex: none; width: 88px; height: 88px; border-radius: 9px;
  background: var(--chip, #f3f3f5) center / cover no-repeat;
}
.sp-card-body {
  flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center;
}
.sp-card-title {
  font-size: 15px; font-weight: 700; color: var(--text, #1a1a1a); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sp-card-sub {
  margin-top: 7px; font-size: 12.5px; color: var(--text2, #888); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-card .sp-card-img.no-cover::after { content: "图"; display: flex; align-items: center; justify-content: center; color: var(--text3, #bbb); font-size: 28px; }
.sp-qr { margin-top: 16px; text-align: center; border-top: 1px solid var(--line, #eee); padding-top: 14px; }
.sp-qr img { width: 200px; height: 200px; border-radius: 10px; background: #fff; padding: 6px; box-shadow: 0 1px 8px rgba(0, 0, 0, .1); }
.sp-qr-tip { margin-top: 10px; font-size: 12.5px; color: var(--text2, #888); }

/* 窄屏：图标圆与缩略图各缩一档，保证一屏信息量 */
@media (max-width: 999px) {
  .mg-item { padding: 12px 12px; gap: 10px; }
  .mg-ico { width: 40px; height: 40px; }
  .mg-icospan { width: 18px; height: 18px; }
  .mg-item .msg-av { width: 38px; height: 38px; }
  .mg-item .msg-av.txt { font-size: 16px; line-height: 38px; }
  .mg-t { font-size: 14.5px; }
  .mi-thumb { width: 50px; height: 50px; }
  .mi-acts { gap: 7px; }
  .mi-btn { padding: 4px 10px; font-size: 12px; }
}

/* ===================== v7.27 时讯号用户中心 ===================== */
/* 顶栏 logo + 时讯号 */
.brand-sub { margin-left: 7px; font-size: 13px; font-weight: 700; color: var(--primary, #d40f19);
  background: color-mix(in srgb, var(--primary, #d40f19) 12%, transparent);
  padding: 2px 8px; border-radius: 7px; letter-spacing: .5px; }

/* 顶栏右侧：创作天数 */
.tb-days { display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.05; padding: 4px 10px; border-radius: 9px; background: var(--bg2, #f3f4f6); min-width: 52px; }
.tb-days .tbd-n { font-size: 15px; font-weight: 800; color: var(--text, #222); }
.tb-days .tbd-t { font-size: 10.5px; color: var(--text2, #888); }

/* 顶栏右侧：头像 + 下拉
   ⚠ 必须 overflow:visible —— 旧版 .tb-user（频道栏登录态，1363 行）带了
   overflow:hidden 用来裁长昵称，本规则在它之后但没声明 overflow，于是沿级联
   继承了 hidden，把绝对定位、溢出头像盒子的下拉浮层整个裁掉（实测：下拉被 Hero
   盖住的假象，其实是被父级裁剪）。这里显式改回 visible 让下拉正常溢出显示。 */
.tb-user { position: relative; display: inline-flex; align-items: center; overflow: visible; }
.tu-av-btn { display: inline-flex; align-items: center; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 3px 4px; border-radius: 22px; }
.tu-av-btn:hover { background: var(--bg2, #f3f4f6); }
.tu-av-btn .tu-av2 { width: 36px; height: 36px; font-size: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.tu-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--text2, #888); }

.uc-drop { position: absolute; top: calc(100% + 10px); right: 0; width: 240px; background: var(--bg, #fff);
  border: 1px solid var(--line, #ececec); border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,.16);
  padding: 8px; z-index: 1200; overflow: hidden; }
.uc-drop.hide { display: none; }
.ucd-hd { padding: 10px 12px 12px; border-radius: 10px; cursor: pointer; background: color-mix(in srgb, var(--primary,#d40f19) 8%, transparent); }
.ucd-hd:hover { background: color-mix(in srgb, var(--primary,#d40f19) 14%, transparent); }
.ucd-greet { font-size: 15px; color: var(--text, #222); }
.ucd-greet b { color: var(--primary, #d40f19); }
.ucd-sub { margin-top: 4px; font-size: 12.5px; color: var(--text2, #888); }
.ucd-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--text, #222); }
.ucd-row .ucd-ico { width: 18px; height: 18px; color: var(--text2, #888); }
.ucd-row .ucd-l { flex: 1; }
.ucd-val { font-weight: 800; color: var(--text, #222); }
.ucd-val.on { color: var(--primary, #d40f19); }
.ucd-act { cursor: pointer; }
.ucd-act:hover { background: var(--bg2, #f3f4f6); }
.ucd-sep { height: 1px; background: var(--line, #ececec); margin: 4px 6px; }

/* 用户中心页面布局
   ⚠ mine 页隐藏全局顶栏与频道栏，让时讯号用户中心拥有自己的顶部导航（.uc-topnav）。 */
body[data-page="mine"] .side-left,
body[data-page="mine"] .side-right { display: none; }
body[data-page="mine"] .topbar,
body[data-page="mine"] .tabs-wrap { display: none !important; }
body[data-page="mine"] .layout { display: block; max-width: 1200px; margin: 0 auto 40px; padding: 0 16px; }

.uc-page { display: block; }
.uc-body { display: grid; grid-template-columns: 232px 1fr; gap: 18px; align-items: start; }
/* v7.29：左侧栏去掉卡片外框 / 圆角 / 阴影 —— 参考头条号个人中心，纯导航直接铺在底色上 */
.uc-side { position: sticky; top: 76px; background: transparent; border: 0; border-radius: 0;
  padding: 6px 6px 0 0; box-shadow: none; }
.uc-nav { display: flex; flex-direction: column; gap: 2px; }
.uc-nav-grp { margin-top: 12px; }
/* v7.29：左侧栏图标统一 16px（与文字同尺寸），颜色跟随所在条目文字（选中 / 悬停自动变红） */
.uc-nav-ico { width: 16px; height: 16px; flex: none; color: inherit; }
.uc-nav-grp-t { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800;
  color: var(--text, #222); padding: 8px 10px; border-radius: 10px; }
/* 设置分组标题可点击进入设置面板（其余分组标题仅作分组标签） */
.uc-grp-act { cursor: pointer; outline: none; }
.uc-grp-act:hover { background: var(--bg2, #f3f4f6); color: var(--primary, #d40f19); }
.uc-grp-act.active { color: var(--primary, #d40f19); }
.uc-nav-sub { display: flex; flex-direction: column; gap: 2px; padding-left: 23px; }
.uc-nav-item { text-align: left; border: 0; background: transparent; cursor: pointer; padding: 8px 12px;
  border-radius: 10px; font-size: 14.5px; color: var(--text, #333); display: flex; align-items: center; gap: 9px; }
.uc-nav-item:hover { background: var(--bg2, #f3f4f6); }
.uc-nav-item.active { background: color-mix(in srgb, var(--primary,#d40f19) 12%, transparent); color: var(--primary, #d40f19); font-weight: 700; }
.uc-nav-top { margin-top: 4px; font-weight: 600; }

.uc-main { min-width: 0; }
.uc-main-inner { background: var(--bg, #fff); border: 1px solid var(--line, #ececec); border-radius: 16px;
  padding: 20px 22px; box-shadow: 0 2px 12px rgba(0,0,0,.04); min-height: 60vh; }
.uc-panel-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.uc-panel-hd .uc-ph-ico { width: 26px; height: 26px; color: var(--primary, #d40f19); }
.uc-ph-t { font-size: 19px; font-weight: 800; color: var(--text, #222); }
.uc-ph-s { font-size: 12.5px; color: var(--text2, #888); margin-top: 2px; }
.uc-tip { font-size: 13.5px; color: var(--text2, #888); line-height: 1.7; margin: 0 0 14px; }
.uc-btn { display: inline-block; border: 1px solid var(--line, #e2e2e2); background: var(--bg, #fff); color: var(--text, #333);
  padding: 9px 16px; border-radius: 10px; font-size: 14px; cursor: pointer; font-weight: 600; }
.uc-btn:hover { border-color: var(--primary, #d40f19); color: var(--primary, #d40f19); }
.uc-btn.primary { background: var(--primary, #d40f19); border-color: var(--primary, #d40f19); color: #fff; }
.uc-btn.primary:hover { filter: brightness(1.06); color: #fff; }
.uc-btn.sm { padding: 5px 12px; font-size: 12.5px; }
.uc-btn:disabled { opacity: .5; cursor: not-allowed; }

.uc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 6px 0 16px; }
.uc-stat { background: var(--bg2, #f6f7f9); border-radius: 12px; padding: 16px; text-align: center; }
.uc-stat b { display: block; font-size: 22px; font-weight: 800; color: var(--text, #222); }
.uc-stat span { font-size: 12.5px; color: var(--text2, #888); }

.uc-works { display: flex; flex-direction: column; gap: 2px; }
.uc-work { padding: 13px 12px; border-radius: 10px; cursor: pointer; border-bottom: 1px solid var(--line, #f0f0f0); }
.uc-work:hover { background: var(--bg2, #f6f7f9); }
.uc-work-t { font-size: 15px; font-weight: 600; color: var(--text, #222); }
.uc-work-m { font-size: 12.5px; color: var(--text2, #999); margin-top: 4px; }
.uc-cmt { display: flex; flex-direction: column; gap: 10px; }
.uc-cmt-row { background: var(--bg2, #f6f7f9); border-radius: 10px; padding: 12px 14px; }
.uc-cmt-body { font-size: 14px; color: var(--text, #333); }
.uc-cmt-m { font-size: 12px; color: var(--text2, #999); margin-top: 6px; }

.uc-empty { text-align: center; padding: 50px 20px; color: var(--text2, #999); }
.uc-empty-ico { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--line, #cfcfcf); }
.uc-empty-t { font-size: 14px; }

/* v7.34 第 4 项：我的时讯号主页资料块改为「头像 + 用户名」左右并排，更美观 */
.uc-home-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 4px 22px; }
.uc-home-av { width: 66px; height: 66px; font-size: 28px; flex: none; border-radius: 50%; box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.uc-home-info { flex: 1; min-width: 120px; }
.uc-home-name { font-size: 19px; font-weight: 800; color: var(--text, #222); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-home-id { font-size: 13px; color: var(--text2, #888); margin-top: 3px; }
/* v7.35：头像 / 账户名右侧增加「我的名片」「纪念日」快捷入口 */
.uc-home-actions { display: flex; gap: 8px; flex: none; }
.uc-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 1px solid var(--line, #e6e8eb); background: var(--bg2, #f6f7f9); color: var(--text, #333);
  border-radius: 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.uc-chip:hover { border-color: var(--primary, #e63946); color: var(--primary, #e63946); background: var(--bg, #fff); }
.uc-chip-ico { width: 16px; height: 16px; display: inline-flex; }
.uc-chip-ico svg { width: 16px; height: 16px; }
.uc-home-card .uc-btn.primary { margin-left: auto; }

.uc-growth { font-size: 14.5px; color: var(--text, #444); line-height: 1.9; background: var(--bg2, #f6f7f9);
  border-radius: 12px; padding: 16px 18px; }

.uc-set-tabs { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--line, #ececec); padding-bottom: 12px; }
.uc-set-tab { border: 0; background: transparent; cursor: pointer; padding: 8px 14px; border-radius: 9px;
  font-size: 14px; color: var(--text2, #888); font-weight: 600; }
.uc-set-tab.active { background: color-mix(in srgb, var(--primary,#d40f19) 12%, transparent); color: var(--primary, #d40f19); }
.uc-form { display: flex; flex-direction: column; gap: 2px; max-width: 520px; }
.uc-f-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px;
  border-bottom: 1px solid var(--line, #f0f0f0); font-size: 14.5px; }
.uc-f-row span { color: var(--text2, #888); }
.uc-f-row b { color: var(--text, #222); font-weight: 700; }

/* ---- 用户中心页面内顶栏（时讯号）----
   v7.29：顶栏去掉下边框（「全局没有框」），纯白底、与内容同底色 */
.uc-topnav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 4px; margin-bottom: 14px; background: var(--bg, #fff); border: 0; }
.uc-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
/* v7.29：logo 改用主站「M 红圆」主 logo（icons/logo.png） */
.uc-brand-logo { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; display: block; flex: none; }
.uc-brand-t { font-size: 18px; font-weight: 800; color: var(--text, #222); white-space: nowrap; }
.uc-brand-sub { font-size: 13px; font-weight: 700; color: #fff; background: var(--primary, #d40f19);
  padding: 3px 9px; border-radius: 9px; white-space: nowrap; }
.uc-top-right { display: flex; align-items: center; gap: 16px; }
.uc-msg { position: relative; width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text, #222); }
.uc-msg:hover { background: var(--bg2, #f3f4f6); }
.uc-msg > span { width: 22px; height: 22px; }
.uc-msg-dot { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 9px; background: var(--primary, #d40f19); color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; }
.uc-days { display: inline-flex; align-items: baseline; gap: 3px; padding: 5px 12px; border-radius: 10px;
  background: var(--bg2, #f3f4f6); white-space: nowrap; }
.uc-days .tbd-n { font-size: 15px; font-weight: 800; color: var(--text, #222); }
.uc-days .tbd-t { font-size: 11px; color: var(--text2, #888); }
.uc-top-user { position: relative; overflow: visible; }
.uc-av-btn { display: inline-flex; align-items: center; gap: 5px; background: transparent; border: 0; cursor: pointer;
  padding: 3px 4px; border-radius: 22px; }
.uc-av-btn:hover { background: var(--bg2, #f3f4f6); }
.uc-av-btn .uc-av2 { width: 36px; height: 36px; font-size: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.uc-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--text2, #888); }
.uc-top-user .uc-drop { right: 0; top: calc(100% + 10px); }

/* ---- 创作编辑器（右侧内容区）---- */
.uc-pub { max-width: 760px; }
.uc-pub-title, .uc-pub-sum, .uc-pub-text { width: 100%; box-sizing: border-box; border: 1px solid var(--line, #e2e2e2);
  border-radius: 10px; padding: 11px 13px; font-size: 15px; color: var(--text, #222); margin-bottom: 12px; background: var(--bg, #fff); }
.uc-pub-title:focus, .uc-pub-sum:focus, .uc-pub-text:focus { outline: none; border-color: var(--primary, #d40f19); }
.uc-pub-text { min-height: 130px; resize: vertical; line-height: 1.7; }
.uc-pub-bar { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.uc-pub-bar button { width: 34px; height: 34px; border: 1px solid var(--line, #e2e2e2); background: var(--bg, #fff);
  border-radius: 8px; cursor: pointer; font-size: 15px; color: var(--text, #444); }
.uc-pub-bar button:hover { border-color: var(--primary, #d40f19); color: var(--primary, #d40f19); }
.uc-pub-editor { min-height: 260px; border: 1px solid var(--line, #e2e2e2); border-radius: 10px; padding: 14px 16px;
  font-size: 15px; line-height: 1.8; color: var(--text, #222); background: var(--bg, #fff); }
.uc-pub-editor:focus { outline: none; border-color: var(--primary, #d40f19); }
.uc-pub-editor.empty:before { content: attr(data-ph); color: var(--text2, #bbb); }
.uc-pub-kinds { display: flex; gap: 8px; margin-bottom: 12px; }
.uc-pub-kinds span { padding: 7px 14px; border: 1px solid var(--line, #e2e2e2); border-radius: 9px; cursor: pointer;
  font-size: 13.5px; color: var(--text2, #888); }
.uc-pub-kinds span.on { border-color: var(--primary, #d40f19); color: var(--primary, #d40f19); font-weight: 700; background: color-mix(in srgb, var(--primary,#d40f19) 8%, transparent); }
.uc-pub-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.uc-pub-imgs .pi { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line, #eee); }
.uc-pub-imgs .pi img { width: 100%; height: 100%; object-fit: cover; }
.uc-pub-imgs .pi .del { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.uc-pub-imgs .pi.add { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line, #ccc);
  color: var(--text2, #aaa); font-size: 26px; cursor: pointer; background: var(--bg2, #fafafa); }
.uc-pub-tools { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.uc-pub-tools button { border: 1px solid var(--line, #e2e2e2); background: var(--bg, #fff); border-radius: 9px;
  padding: 7px 13px; cursor: pointer; font-size: 13.5px; color: var(--text, #444); }
.uc-pub-tools button:hover { border-color: var(--primary, #d40f19); color: var(--primary, #d40f19); }
.uc-pub-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.uc-pub-cats span { padding: 6px 12px; border: 1px solid var(--line, #e2e2e2); border-radius: 9px; cursor: pointer;
  font-size: 13px; color: var(--text, #555); }
.uc-pub-cats span.on { border-color: var(--primary, #d40f19); color: var(--primary, #d40f19); font-weight: 700; background: color-mix(in srgb, var(--primary,#d40f19) 8%, transparent); }
.uc-pub-cattip { font-size: 12.5px; color: var(--text2, #999); margin-bottom: 12px; }
.uc-pub-meta { font-size: 13px; color: var(--text2, #888); margin-bottom: 14px; }

/* ---- 作品 / 评论 分类标签 ---- */
.uc-tabs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 1px solid var(--line, #ececec); padding-bottom: 12px; }
.uc-tab { border: 0; background: transparent; cursor: pointer; padding: 7px 14px; border-radius: 9px; font-size: 14px; color: var(--text2, #888); font-weight: 600; }
.uc-tab:hover { background: var(--bg2, #f3f4f6); }
.uc-tab.on { background: color-mix(in srgb, var(--primary,#d40f19) 12%, transparent); color: var(--primary, #d40f19); }
.uc-tab-sep { width: 1px; height: 20px; background: var(--line, #e0e0e0); margin: 0 4px; }

/* ---- v7.29：用户中心底部版权信息（复用站点页脚，内容由后台「系统设置」控制）---- */
.uc-foot { margin: 24px 0 4px; padding-top: 16px; }
.uc-foot .side-foot { text-align: center; padding: 0; background: transparent; border-radius: 0; box-shadow: none; }
.uc-foot .sf-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
.uc-foot .side-foot a { margin-right: 0; }
.uc-foot .cp { text-align: center; line-height: 1.9; margin-top: 0; }

/* v7.30：专题管理 / 活动管理 —— 左主区（管理自己的内容）+ 右上方（话题广场 / 活动广场） */
.uc-mgr { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.uc-mgr-main { min-width: 0; }
.uc-mgr-side { min-width: 0; }
.uc-mgr-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.uc-mgr-ht { font-size: 16px; font-weight: 800; color: var(--text, #222); }
.uc-mgr-sh {
  font-size: 14px; font-weight: 800; color: var(--text, #222);
  padding: 9px 12px; background: var(--bg2, #f3f4f6); border-radius: 10px; margin-bottom: 10px;
}
.uc-empty-s { font-size: 13px; color: var(--text3); padding: 14px 2px; line-height: 1.6; }
/* 我的专题列表 */
.uc-tp-list { display: flex; flex-direction: column; gap: 10px; }
.uc-tp-row { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line, #eee); border-radius: 12px; background: var(--bg, #fff); cursor: pointer; }
.uc-tp-row:hover { border-color: var(--primary, #d40f19); }
.uc-tp-cover { width: 56px; height: 56px; border-radius: 9px; flex: none; background: #e9e9ef center/cover no-repeat; }
.uc-tp-info { flex: 1; min-width: 0; }
.uc-tp-name { font-size: 14.5px; font-weight: 700; color: var(--text, #222); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-tp-meta { font-size: 12.5px; color: var(--text3); margin-top: 3px; }
.uc-tp-del { flex: none; border: 1px solid var(--line, #e2e2e2); background: var(--bg, #fff); color: #c0331f; border-radius: 8px; padding: 6px 11px; cursor: pointer; font-size: 12.5px; }
.uc-tp-del:hover { background: #fdeceb; }
/* 话题广场迷你列表 */
.uc-tp-mini { display: flex; flex-direction: column; gap: 2px; }
.uc-tp-mini-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 9px; cursor: pointer; }
.uc-tp-mini-row:hover { background: var(--bg2, #f3f4f6); }
.uc-tp-mini-name { font-size: 13.5px; color: var(--text, #333); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-tp-mini-meta { font-size: 12px; color: var(--text3); flex: none; }
/* 我的活动 chips + 列表 */
.uc-mgr-chips { display: flex; gap: 8px; margin-bottom: 12px; }
.uc-chip { border: 1px solid var(--line, #e2e2e2); background: var(--bg, #fff); border-radius: 16px; padding: 6px 14px; cursor: pointer; font-size: 13px; color: var(--text2, #777); }
.uc-chip.on { border-color: var(--primary, #d40f19); color: var(--primary, #d40f19); font-weight: 700; background: color-mix(in srgb, var(--primary,#d40f19) 8%, transparent); }
.uc-ev-list { display: flex; flex-direction: column; gap: 10px; }
.uc-ev-row { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line, #eee); border-radius: 12px; background: var(--bg, #fff); cursor: pointer; }
.uc-ev-row:hover { border-color: var(--primary, #d40f19); }
.uc-ev-cover { width: 56px; height: 56px; border-radius: 9px; flex: none; background: #e9e9ef center/cover no-repeat; }
.uc-ev-info { flex: 1; min-width: 0; }
.uc-ev-name { font-size: 14.5px; font-weight: 700; color: var(--text, #222); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-ev-meta { font-size: 12.5px; color: var(--text3); margin-top: 3px; }
/* 活动广场迷你列表 */
.uc-ev-mini { display: flex; flex-direction: column; gap: 2px; }
.uc-ev-mini-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 9px; cursor: pointer; }
.uc-ev-mini-row:hover { background: var(--bg2, #f3f4f6); }
.uc-ev-mini-name { font-size: 13.5px; color: var(--text, #333); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-ev-mini-meta { font-size: 12px; color: var(--text3); flex: none; }

/* v7.31：专题/活动管理改为单栏上下结构（我的专题/我的活动 在上，话题广场/活动中心 在下） */
.uc-mgr-sec { margin-bottom: 18px; }
.uc-mgr-sec:last-child { margin-bottom: 0; }
.uc-mgr-sec + .uc-mgr-sec { padding-top: 16px; border-top: 1px dashed var(--line, #e8e8e8); }

/* v7.31：用户中心主页 —— 公告 + 数据看板 */
.uc-sec { margin-top: 18px; }
.uc-sec-h { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 800; color: var(--text, #222); margin-bottom: 10px; }
.uc-sec-ico { width: 17px; height: 17px; color: var(--primary, #d40f19); flex: none; }
/* v7.34 第 5 项：公告模块美化 —— 标题带数量徽标，每条公告为圆角卡片、状态点 + 标题 + 内容 + 时间排版更清爽 */
.uc-ann-box { margin-bottom: 4px; }
.uc-sec-badge { margin-left: auto; background: var(--primary, #d40f19); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; border-radius: 9px; padding: 1px 8px; line-height: 17px; }
.uc-ann-list { display: flex; flex-direction: column; gap: 10px; }
.uc-ann { display: flex; gap: 11px; padding: 13px 14px; border-radius: 12px; background: var(--bg2, #f6f7f9); border-left: 3px solid var(--primary, #d40f19); box-shadow: 0 1px 3px rgba(0,0,0,.03); transition: background .15s; }
.uc-ann:hover { background: color-mix(in srgb, var(--primary,#d40f19) 5%, var(--bg2, #f6f7f9)); }
.uc-ann.warn { border-left-color: #e8a100; }
.uc-ann.imp { border-left-color: #d40f19; background: color-mix(in srgb, var(--primary, #d40f19) 7%, var(--bg2, #f6f7f9)); }
.uc-ann-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary, #d40f19); margin-top: 6px; flex: none; }
.uc-ann.warn .uc-ann-dot { background: #e8a100; }
.uc-ann.imp .uc-ann-dot { background: #d40f19; }
.uc-ann-main { flex: 1; min-width: 0; }
.uc-ann-t { font-size: 14.5px; font-weight: 700; color: var(--text, #222); line-height: 1.4; }
.uc-ann-c { font-size: 12.5px; color: var(--text2, #666); margin-top: 4px; line-height: 1.55; }
.uc-ann-time { font-size: 11.5px; color: var(--text3); margin-top: 6px; }

/* v7.31：消息中心列表（整合进「管理 → 消息中心」） */
.uc-msg-list { display: flex; flex-direction: column; }
.uc-msg-item { display: flex; gap: 11px; align-items: flex-start; padding: 12px 4px; border-bottom: 1px solid var(--line, #eee); }
.uc-msg-item:last-child { border-bottom: 0; }
.uc-msg-item.link { cursor: pointer; }
.uc-msg-item.link:hover { background: var(--bg2, #f6f7f9); }
.uc-msg-av { width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden; background: var(--bg2, #f3f4f6); display: flex; align-items: center; justify-content: center; }
.uc-msg-av .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.uc-msg-ico { width: 26px; height:26px; color: var(--primary, #d40f19); margin: 7px auto; display: block; }
.uc-msg-main { flex: 1; min-width: 0; }
.uc-msg-title { font-size: 14px; color: var(--text, #222); line-height: 1.45; }
.uc-msg-body { font-size: 13px; color: var(--text2, #666); margin-top: 3px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-msg-ts { font-size: 11.5px; color: var(--text3); flex: none; white-space: nowrap; }
.uc-msg-n { margin-left: 6px; background: var(--primary, #d40f19); color: #fff; font-style: normal; font-size: 11px; border-radius: 9px; padding: 0 6px; line-height: 16px; display: inline-block; }
/* 消息中心「写私信」工具条 */
.uc-msg-pmbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line, #eee); background: var(--bg2, #f6f7f9); }
.uc-msg-pmtip { font-size: 12px; color: var(--text3); }
/* v7.34 第 3 项：消息中心「用户私信」内联主区（左：会话列表 / 右：会话详情） */
.uc-pm-inline { display: flex; gap: 0; min-height: 420px; border: 1px solid var(--line, #eee); border-radius: 12px; overflow: hidden; }
.uc-pm-list { flex: 0 0 42%; max-width: 320px; border-right: 1px solid var(--line, #eee); overflow-y: auto; background: var(--card); }
.uc-pm-row { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line, #f1f1f1); cursor: pointer; }
.uc-pm-row:hover { background: var(--bg2, #f6f7f9); }
.uc-pm-row.active { background: color-mix(in srgb, var(--primary, #d40f19) 8%, var(--card)); }
.uc-pm-row.unread .uc-pm-name { font-weight: 800; }
.uc-pm-av { width: 42px; height: 42px; border-radius: 50%; flex: none; overflow: hidden; background: var(--bg2, #f3f4f6); display: flex; align-items: center; justify-content: center; }
.uc-pm-av .avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: block; }
.uc-pm-meta { flex: 1; min-width: 0; }
.uc-pm-name { font-size: 14px; font-weight: 600; color: var(--text, #222); }
.uc-pm-last { font-size: 12.5px; color: var(--text2, #888); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-pm-time { font-size: 11px; color: var(--text3); flex: none; white-space: nowrap; }
.uc-pm-view { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--bg2, #f6f7f9); }
.uc-pm-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--text3); font-size: 14px; padding: 30px; text-align: center; }
.uc-pm-peer { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line, #eee); background: var(--card); }
.uc-pm-peer .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.uc-pm-peer-info { display: flex; flex-direction: column; }
.uc-pm-peer-info b { font-size: 15px; color: var(--text, #222); }
.uc-pm-peer-info span { font-size: 12px; color: var(--text3); margin-top: 2px; }
.uc-pm-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.uc-pm-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line, #eee); background: var(--card); }
.uc-pm-input textarea { flex: 1; resize: none; border: 1px solid var(--line, #e0e0e0); border-radius: 10px; padding: 9px 11px; font-size: 14px; font-family: inherit; line-height: 1.5; max-height: 120px; background: var(--bg, #fff); color: var(--text, #222); }
.uc-pm-input textarea:focus { outline: none; border-color: var(--primary, #d40f19); }
.uc-pm-input button { flex: none; align-self: flex-end; border: 0; border-radius: 10px; padding: 9px 18px; font-size: 14px; font-weight: 700; color: #fff; background: var(--primary, #d40f19); cursor: pointer; }
.uc-pm-input button:active { transform: scale(.97); }
/* 写私信：收信人搜索浮层 */
.uc-pm-picker { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.45); display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.uc-pp-box { width: 440px; max-width: 92vw; background: var(--card); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.25); overflow: hidden; }
.uc-pp-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 16px; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line, #eee); }
.uc-pp-x { border: none; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text3); }
.uc-pp-sb { padding: 12px 16px; }
.uc-pp-q { width: 100%; box-sizing: border-box; height: 38px; padding: 0 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; background: var(--bg, #fff); color: var(--text); font-size: 14px; }
.uc-pp-res { max-height: 46vh; overflow: auto; padding: 4px 10px 12px; }
.uc-pp-hint { padding: 14px 6px; color: var(--text3); font-size: 13px; text-align: center; }
.uc-pp-item { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; cursor: pointer; }
.uc-pp-item:hover { background: var(--bg2, #f6f7f9); }
.uc-pp-meta { min-width: 0; }
.uc-pp-n { font-size: 14px; font-weight: 600; color: var(--text); }
.uc-pp-sig { font-size: 12px; color: var(--text3); }

/* 窄屏适配 */
@media (max-width: 999px) {
  .uc-body { grid-template-columns: 1fr; gap: 12px; }
  .uc-side { position: static; }
  .uc-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .uc-nav-grp { width: 100%; }
  .uc-nav-grp-t { display: none; }
  .uc-nav-sub { flex-direction: row; flex-wrap: wrap; padding-left: 0; }
  .uc-nav-item { padding: 7px 12px; font-size: 13px; background: var(--bg2, #f3f4f6); }
  .uc-nav-top { width: 100%; }
  .uc-topnav { padding: 0; gap: 6px; }
  /* v7.29：窄屏顶栏收紧，避免「每日时讯 / 时讯号 / 创作天数」换行 */
  .uc-brand { gap: 7px; }
  .uc-brand-logo { width: 30px; height: 30px; }
  .uc-brand-t { font-size: 15px; }
  .uc-brand-sub { font-size: 11px; padding: 2px 7px; }
  .uc-top-right { gap: 7px; }
  .uc-msg { width: 34px; height: 34px; }
  .uc-msg > span { width: 20px; height: 20px; }
  .uc-days { padding: 4px 9px; }
  .uc-days .tbd-n { font-size: 14px; }
  .uc-av-btn .uc-av2 { width: 32px; height: 32px; }
  body[data-page="mine"] .layout { margin-top: 0; }
  /* v7.30：专题/活动管理两栏在窄屏堆叠 */
  .uc-mgr { grid-template-columns: 1fr; gap: 16px; }
  .uc-mgr-side { order: -1; }
}

/* ===== v7.36 功能实验室（AI 配图 / 智能摘要 / 语音播报） ===== */
/* v7.37：功能实验室 —— PC 三标签卡片式 + 左右两栏（操作 / 示例文章 + 用法） */
.lab-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 6px; }
.lab-tab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line, #e5e5e5); border-radius: 14px; background: var(--bg, #fff); color: var(--text2, #666); cursor: pointer; transition: .15s; text-align: left; }
.lab-tab .lab-ico { display: flex; width: 40px; height: 40px; flex: 0 0 40px; align-items: center; justify-content: center; border-radius: 11px; background: #fff0f1; color: var(--primary, #d40f19); font-size: 21px; }
.lab-tab-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lab-tab-tx b { font-size: 15px; color: var(--text, #222); }
.lab-tab-tx i { font-size: 12px; color: var(--text3, #999); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lab-tab:hover { border-color: var(--primary, #d40f19); }
.lab-tab.active { background: linear-gradient(135deg, #e5202b, #b80b14); border-color: transparent; box-shadow: 0 6px 18px rgba(213,15,25,.22); }
.lab-tab.active .lab-ico { background: rgba(255,255,255,.22); color: #fff; }
.lab-tab.active .lab-tab-tx b { color: #fff; }
.lab-tab.active .lab-tab-tx i { color: rgba(255,255,255,.85); }
.lab-intro { font-size: 13px; color: var(--text2, #666); margin: 6px 0 16px; line-height: 1.7; }
.lab-intro strong { color: var(--primary, #d40f19); }
.lab-body { margin-top: 6px; }
.lab-tool { display: block; }
.lab-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
.lab-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lab-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lab-lbl { font-size: 13px; color: var(--text3, #999); font-weight: 600; }
.lab-area { width: 100%; min-height: 84px; padding: 12px 14px; border: 1px solid var(--line, #e5e5e5); border-radius: 10px; font-size: 14px; line-height: 1.7; resize: vertical; font-family: inherit; background: var(--bg, #fff); color: var(--text, #222); box-sizing: border-box; }
.lab-area.tall { min-height: 170px; }
.lab-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lab-styles { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.lab-style { padding: 6px 14px; border: 1px solid var(--line, #e5e5e5); border-radius: 16px; background: var(--bg, #fff); color: var(--text2, #666); font-size: 13px; cursor: pointer; transition: .15s; }
.lab-style:hover { border-color: var(--primary, #d40f19); color: var(--primary, #d40f19); }
.lab-style.on { background: #fff0f1; border-color: var(--primary, #d40f19); color: var(--primary, #d40f19); font-weight: 600; }
.lab-canvas-wrap { background: #0a1530; border-radius: 12px; overflow: hidden; display: flex; justify-content: center; padding: 10px; }
#aiCanvas { width: 100%; max-width: 800px; height: auto; border-radius: 8px; display: block; }
.lab-tip { font-size: 13px; color: var(--text2, #666); line-height: 1.6; }
.lab-val { font-size: 13px; color: var(--primary, #d40f19); font-weight: 600; min-width: 38px; }
.lab-out { background: var(--bg2, #f7f8fa); border: 1px solid var(--line, #eee); border-radius: 12px; padding: 16px; }
.lab-sum-loading { font-size: 14px; color: var(--text2, #666); }
.lab-sum-head { font-size: 13px; color: var(--primary, #d40f19); font-weight: 700; margin-bottom: 10px; }
.lab-sum-body p { margin: 0 0 10px; font-size: 15px; line-height: 1.9; color: var(--text, #222); }
.lab-sum-body p:last-child { margin-bottom: 0; }
/* 示例文章卡片 + 用法 */
.lab-art { background: var(--bg2, #f7f8fa); border: 1px solid var(--line, #eee); border-radius: 14px; padding: 16px; }
.lab-art-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #e5202b, #b80b14); padding: 3px 11px; border-radius: 20px; margin-bottom: 10px; }
.lab-art-title { font-size: 15px; font-weight: 700; color: var(--text, #222); margin: 0 0 8px; line-height: 1.5; }
.lab-art-body { font-size: 13.5px; line-height: 1.85; color: var(--text2, #666); margin: 0 0 12px; max-height: 230px; overflow: auto; }
.lab-how { background: var(--bg, #fff); border: 1px solid var(--line, #eee); border-radius: 14px; padding: 14px 16px; }
.lab-how-h { font-size: 13px; font-weight: 700; color: var(--primary, #d40f19); margin-bottom: 8px; }
.lab-how-ol { margin: 0; padding-left: 20px; }
.lab-how-ol li { font-size: 13px; line-height: 1.95; color: var(--text2, #666); margin-bottom: 4px; }
body[data-theme="dark"] .lab-tab, body[data-theme="dark"] .lab-style { background: #1c1c1e; color: #bbb; border-color: #333; }
body[data-theme="dark"] .lab-area { background: #1c1c1e; color: #eee; border-color: #333; }
body[data-theme="dark"] .lab-out { background: #161618; border-color: #333; }
body[data-theme="dark"] .lab-tab .lab-ico { background: #2a2a2d; color: #ff7a82; }
body[data-theme="dark"] .lab-tab-tx b { color: #eee; }
body[data-theme="dark"] .lab-tab-tx i { color: #999; }
body[data-theme="dark"] .lab-art { background: #161618; border-color: #333; }
body[data-theme="dark"] .lab-art-title { color: #eee; }
body[data-theme="dark"] .lab-how { background: #1c1c1e; border-color: #333; }
body[data-theme="dark"] .lab-how-ol li { color: #aaa; }
@media (max-width: 860px) { .lab-cols { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lab-nav { grid-template-columns: 1fr; } .lab-tab-tx i { white-space: normal; } }

  /* ================================================================
     v7.41：Hero 换用户提供的白底蓝线稿城市图（澳门/香港/广州/深圳/珠海）。
     图是近纯白底 + 深蓝墨线，原「白字 + 深色遮罩」方案直接失效 ——
     这里把 Hero 文字体系整体转成与线稿同源的「墨蓝 + logo 红」：
     标题/城市标签/圆点/顶栏文字改深蓝，快讯条去框、闪电符号转 logo 红。
     自适应：线稿 2000×852（宽高比 2.35），cover + bottom 对齐 ——
     天空留白在顶部被自然裁掉一部分，水线永远贴住 Hero 底边。
     ================================================================ */
  .hero.hero-scenic {
    /* v7.48：图未就绪时的兜底底色改纯白（原来是 #f5f6fa 淡灰蓝 / #2f86e0 蓝底） */
    background: #fff;
    /* v7.42-5：Hero 压缩到 320px（用户指定） */
    min-height: min(calc(100vw / 3.7), 320px);
    display: flex; flex-direction: column; justify-content: center;
  }
  .hero-slide { background-position: center bottom; background-size: 100% auto; background-color: #fff; }
  /* 横琴暂仍是内置彩色插画（2000×800）：单独回 cover 填满避免露白 */
  .hero-slide[data-key="hengqin"] { background-size: cover; }
  /* 快讯条不加底框，但给文字加白晕保证在细线稿上可读 */
  .hero-flash .fb-tag, .hero-flash .fb-item { text-shadow: 0 0 6px #fff, 0 0 12px #fff, 0 1px 0 #fff; }
  body.hero-dark .hero-flash .fb-tag, body.hero-dark .hero-flash .fb-item { text-shadow: none; }
  /* 遮罩换成极轻的墨蓝纱，只保文字边缘干净，不再压暗画面 */
  .hero-slides::after {
    background:
      linear-gradient(180deg, rgba(26,52,110,.08) 0%, rgba(26,52,110,.02) 40%, rgba(26,52,110,.05) 75%, rgba(26,52,110,.16) 100%);
  }
  .hero.hero-scenic .hero-title { color: #16336e; text-shadow: none; }
  .hero.hero-scenic .hero-search { box-shadow: 0 12px 34px rgba(22,51,110,.16); }
  .hero.hero-scenic .hero-search .hs-ico,
  .hero.hero-scenic .hero-search .hs-text { color: #93a7cc; }
  /* 城市标签：墨蓝字 + logo 红圆点 */
  .hero-city-tag { color: #16336e; text-shadow: none; }
  .hero-city-tag i { background: #c8102e; box-shadow: none; }
  /* 圆点：墨蓝描点，激活转 logo 红长条 */
  .hero-dots b { background: rgba(22,51,110,.26); box-shadow: none; }
  .hero-dots b.on { background: #c8102e; }
  /* 快讯 24小时：整条去框（去半透明白底与内描边），闪电符号转 logo 红 */
  .hero-flash { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-flash .fb-tag { background: none; color: #16336e; }
  .hero-flash .fb-tag .fb-ico,
  .hero-flash .fb-tag i.fb-ico { color: #c8102e; opacity: 1; }
  .hero-flash .fb-item { color: #33518f; }
  .hero-flash .fb-item b { color: #c8102e; }
  .hero-flash .fb-item:hover { color: #16336e; }
  /* 顶栏（透明浮在 Hero 上时）：白字转墨蓝，红 logo 恢复本色 */
  body.has-hero:not(.hero-out) .topbar .brand-text {
    background: none; -webkit-text-fill-color: #16336e; color: #16336e; text-shadow: none;
  }
  body.has-hero:not(.hero-out) .topbar .brand-logo { box-shadow: 0 2px 8px rgba(200,16,46,.28); }
  body.has-hero:not(.hero-out) .topbar .theme-btn { color: #16336e; }
  body.has-hero:not(.hero-out) .topbar .theme-btn:hover { background: rgba(22,51,110,.10); }
  body.has-hero:not(.hero-out) .topbar .btn-app,
  body.has-hero:not(.hero-out) .topbar .tb-user {
    color: #16336e; background: rgba(255,255,255,.72);
    box-shadow: inset 0 0 0 1px rgba(22,51,110,.22);
  }
  body.has-hero:not(.hero-out) .topbar .btn-write {
    background: var(--primary-grad); color: #fff;
    box-shadow: 0 2px 8px rgba(200,16,46,.25);
  }
  body.has-hero:not(.hero-out) .topbar .tb-user .av { background: rgba(22,51,110,.12); }
  /* 夜间模式：线稿图整体压暗当深底，文字退回白字（原有 hero-dark 白字体系不变） */
  body.hero-dark .hero-slides { filter: brightness(.42) saturate(.85); }
  body.hero-dark .hero-slides::after {
    background:
      linear-gradient(180deg, rgba(4,10,24,.30) 0%, rgba(4,10,24,.10) 40%, rgba(4,10,24,.34) 100%);
  }
  body.hero-dark.has-hero:not(.hero-out) .topbar .brand-text {
    background: none; -webkit-text-fill-color: #fff; color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
  }
  body.hero-dark.has-hero:not(.hero-out) .topbar .theme-btn { color: #fff; }
  body.hero-dark.has-hero:not(.hero-out) .topbar .btn-app,
  body.hero-dark.has-hero:not(.hero-out) .topbar .tb-user {
    color: #fff; background: rgba(255,255,255,.16);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
  }
  body.hero-dark .hero.hero-scenic .hero-title { color: #fff; text-shadow: 0 2px 14px rgba(0,20,50,.6); }
  body.hero-dark .hero-city-tag { color: #fff; }
  body.hero-dark .hero-city-tag i { background: #ffd873; }
  body.hero-dark .hero-dots b { background: rgba(255,255,255,.45); }
  body.hero-dark .hero-dots b.on { background: #fff; }
  body.hero-dark .hero-flash .fb-tag { background: none; color: #ffd970; }
  body.hero-dark .hero-flash .fb-tag .fb-ico { color: #ffd970; }
  body.hero-dark .hero-flash .fb-item { color: rgba(255,236,208,.88); }
  body.hero-dark .hero-flash .fb-item b { color: #ffd970; }

/* v7.42-8 修复：v7.42 线稿主题给 .hero.hero-scenic 写了全局 display:flex，
   特异性高于基础 .hero{display:none}，导致手机端（≤999px）Hero 未隐藏、
   搜索框 SVG 撑满全屏、城市标签裸奔。这里强制恢复隐藏。 */
@media (max-width: 999px) {
  .hero { display: none !important; }
}

/* ===================== v7.43 分享长图（整篇文章截图 + 来源二维码） =====================
   分享面板新增「生成长图」入口；预览弹层内展示可保存/复制/系统分享的长图。 */
.sp-longimg {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 12px; padding: 12px 0;
  border: 1px solid var(--line, #eee); border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #fff5f5, #fff); color: var(--primary, #d40f19);
  font-size: 14.5px; font-weight: 700;
}
.sp-longimg:active { opacity: .75; }
.sp-li-ico { font-size: 18px; }

/* 长图预览弹层（沿用 .share-mask 遮罩，内部换成长图卡） */
.share-long {
  width: 100%; max-width: 780px; max-height: 94vh; display: flex; flex-direction: column;
  background: var(--bg, #fff); border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .28); animation: spUp .22s ease;
}
.sl-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; font-size: 15px; font-weight: 600;
  border-bottom: 1px solid var(--line, #eee);
}
.sl-stage {
  flex: 1; min-height: 0; overflow: auto; background: var(--bg2, #f5f6f8);
  padding: 14px; display: flex; justify-content: center; align-items: flex-start;
}
.sl-tip { display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 46px 16px; color: var(--text2, #888); font-size: 14px; text-align: center; }
.sl-tip.err { color: #c8102e; }
.sl-spin { width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid rgba(200, 16, 46, .18); border-top-color: #c8102e; animation: slSpin .8s linear infinite; }
@keyframes slSpin { to { transform: rotate(360deg); } }
.sl-img { display: block; max-width: 100%; height: auto; border-radius: 8px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, .14); background: #fff; }
.sl-foot {
  flex: none; display: none; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line, #eee);
}
.sl-btn {
  flex: 1; padding: 11px 0; border-radius: 10px; cursor: pointer; font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--line, #e5e5e5); background: var(--card, #fff); color: var(--text, #222);
}
.sl-btn.primary { border: 0; background: var(--primary-grad, linear-gradient(135deg, #e5202b, #b80b14)); color: #fff; }
.sl-btn:active { opacity: .8; }

/* 离屏渲染容器：宽固定、白底，与页面昼夜模式解耦，保证出图始终清晰可读 */
.sl-render-host {
  position: fixed; left: -99999px; top: 0; z-index: -1;
  background: #fff; color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
.sl-card { width: 100%; background: #fff; padding: 26px 24px 0; box-sizing: border-box; }
.sl-card .detail-title { color: #14161a; font-size: 25px; line-height: 1.42; margin-bottom: 12px; }
.sl-card .detail-meta { color: #8a8f99; font-size: 13px; }
.sl-card .detail-meta .d-src { color: #16336e; font-weight: 700; }
.sl-card #dp-body { color: #26282e; font-size: 16.5px; line-height: 1.92; }
.sl-card #dp-body p { margin: 0 0 15px; }
.sl-card #dp-body img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 12px 0; }
.sl-card .author-bar { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.sl-card .ab-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none;
  background: #f0f2f5; display: flex; align-items: center; justify-content: center; }
.sl-card .ab-av img { width: 100%; height: 100%; object-fit: cover; }
.sl-card .a-nm { font-size: 15px; font-weight: 700; color: #1a1c22; }
.sl-card .a-sub { font-size: 12.5px; color: #8a8f99; margin-top: 3px; }
.sl-card .follow-btn { display: none; }
.sl-card .d-tags { margin-top: 6px; }
.sl-card .d-tag { display: inline-block; margin: 0 8px 8px 0; padding: 3px 11px; border-radius: 20px;
  background: #f2f4f8; color: #55709f; font-size: 12.5px; }

/* 长图页脚条：站名 + 口号 + 来源二维码 */
.sl-cfoot {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin: 22px -24px 0; padding: 20px 24px 22px;
  background: linear-gradient(180deg, #f7f9fc, #eef2f8); border-top: 1px solid #e6eaf2;
}
.sl-cf-l { flex: 1; min-width: 0; }
.sl-cf-brand { display: flex; align-items: center; gap: 9px; }
.sl-cf-brand b { font-size: 19px; font-weight: 800; color: #16336e; letter-spacing: .5px; }
.sl-cf-slogan { margin-top: 7px; font-size: 13.5px; color: #55709f; }
.sl-cf-sub { margin-top: 5px; font-size: 12.5px; color: #8a8f99; }
.sl-cf-url { margin-top: 9px; font-size: 12px; color: #9aa3b2; word-break: break-all; }
.sl-cf-qr { flex: none; width: 112px; text-align: center; }
.sl-cf-qr img { width: 112px; height: 112px; border-radius: 10px; background: #fff;
  padding: 6px; box-sizing: border-box; box-shadow: 0 2px 10px rgba(22, 51, 110, .12); }

@media (max-width: 767px) {
  .share-long { max-width: 100%; border-radius: 0; max-height: 96vh; }
  .sl-cfoot { flex-direction: column; align-items: flex-start; }
  .sl-cf-qr { align-self: center; }
}

/* ================================================================
   v7.49 光标规范（修订）：
     · 空白处（body / 页面空白 / 纯文本）→ 箭头 default
     · 有链接、频道、按钮、可跳转的元素 → 手型 pointer
     · 输入框 / 文本域 / 可编辑区 → 文本 text
   历史样式里有 115+ 处 cursor:pointer，类选择器会盖掉普通规则，故统一用 !important 收口。
   ================================================================ */
*, *::before, *::after { cursor: auto !important; }

/* ---------- 手型：链接 ---------- */
a[href], a[href] *, a[href]::before, a[href]::after { cursor: pointer !important; }

/* ---------- 手型：按钮 / 表单控件 / 可点条目 ---------- */
button, [role="button"], select, summary, label[for],
.tab, .cg-item, .tabs-more, #tabsMore, .side-nav button, .tabbar button,
.hs-btn, .dislike, .ca-f, .card, .card *,
[data-nav], [data-plat], [data-feat], [data-page], [data-ch], [data-id],
[data-author], [data-close], [data-share], [data-like], [data-comment],
[data-follow], [data-dislike], [data-tu], [data-org], [data-sig], [data-ev],
[data-ck], [data-more], [data-tpback], [data-open], [data-go],
[data-nav] *, [data-plat] *, [data-feat] *, [data-page] *, [data-id] * { cursor: pointer !important; }

/* ---------- 文本：输入框 / 文本域 / 可编辑区 ---------- */
input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
textarea, [contenteditable="true"] { cursor: text !important; }

/* body / html 上带 data-page 标记（页面状态位，不是链接），不能被算成可点元素 */
html, body, body[data-page], html[data-theme] { cursor: auto !important; }
/* 纯展示性的信息条（今日要闻简报条等）不是跳转入口，保持箭头 */
.brief-bar, .brief-bar *:not(a):not(button) { cursor: auto !important; }
