/* ============================================================
 * 龙氏CMS（LongsTheme）主题样式
 * 风格：极简黑白 · 固定毛玻璃顶栏 · 单列信息流
 * 作者：kuakeba.cn
 * ============================================================ */

:root {
  --lc-primary: #111111;
  --lc-bg: #f5f6f7;
  --lc-card: #ffffff;
  --lc-ink: #111318;
  --lc-ink-2: #4b5563;
  --lc-ink-3: #9ca3af;
  --lc-line: rgba(17, 19, 24, 0.08);
  --lc-radius: 14px;
  --lc-header-h: 64px;
  --lc-amber: #fff7e8;
  --lc-amber-ink: #b45309;
}

/* 左右留白：取「后台设定的百分比」与「保证正文可读的最小内容宽度」中较小者。
   宽屏按设定比例留白，窄屏（含放大/缩放）自动收窄，避免三栏被挤压导致正文竖排。 */
.lc-header-inner,
.lc-shell,
.lc-footer-inner {
  --lc-gutter: min(var(--lc-shell-pad, 24px), max(16px, calc((100% - 1000px) / 2)));
}

* { box-sizing: border-box; }

/* hidden 属性在设置了 display 的元素上会被覆盖，显式声明确保弹窗/抽屉可隐藏 */
.lc-modal[hidden],
.lc-drawer[hidden],
.lc-user-menu[hidden],
.lc-auth-form[hidden],
.lc-reply-quote[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

/* 浏览器窗口滚动条隐藏规则已迁移至 layout.html 内联 style（位于所有外部 CSS 之后，保证覆盖优先级） */.lc-body {
  margin: 0;
  background: var(--lc-bg);
  color: var(--lc-ink);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lc-body a { color: inherit; text-decoration: none; }
.lc-body img { max-width: 100%; }
.lc-body button { font-family: inherit; }

/* ============ 顶部导航栏（全端固定） ============ */
.lc-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--lc-header-h);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--lc-line);
}
.lc-header-inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--lc-gutter, 24px);
  display: flex;
  align-items: center;
  gap: 20px;
}
.lc-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
/* 顶部自定义菜单（搜索框左侧） */
.lc-header-nav { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.lc-header-nav a { font-size: 13.5px; color: var(--lc-ink-2); white-space: nowrap; transition: color 0.15s; }
.lc-header-nav a:hover { color: var(--lc-ink); }
.lc-header-nav a.is-active { color: var(--lc-ink); font-weight: 600; }
.lc-mobile-btn {
  display: none;
  width: 38px; height: 38px; flex-shrink: 0;
  border: 0; background: none; cursor: pointer;
  font-size: 22px; color: var(--lc-ink);
  border-radius: 9px;
  align-items: center; justify-content: center;
}
.lc-mobile-btn:hover { background: rgba(17, 19, 24, 0.05); }

/* ============ 三栏骨架 ============ */
.lc-shell {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--lc-header-h) + 24px) var(--lc-gutter, 24px) 48px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* ============ 左侧导航栏 ============ */
.lc-sidenav {
  width: 121px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--lc-header-h) + 24px);
  max-height: calc(100vh - var(--lc-header-h) - 48px);
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.lc-sidenav::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

.lc-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lc-logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--lc-primary);
  color: #fff;
  font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.lc-logo-img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; }
.lc-logo-text { font-size: 17px; font-weight: 700; letter-spacing: 0.2px; }

.lc-nav { display: flex; flex-direction: column; gap: 2px; }
.lc-nav-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--lc-ink-2);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap; overflow: hidden;
}
.lc-nav-link i { font-size: 19px; }
.lc-nav-link:hover { background: rgba(17, 19, 24, 0.05); color: var(--lc-ink); }
.lc-nav-link.is-active { color: var(--lc-ink); font-weight: 700; background: rgba(17, 19, 24, 0.06); }
.lc-nav-sep { height: 1px; margin: 10px 14px; background: var(--lc-line); }

.lc-search {
  flex: 1 1 auto;
  max-width: 340px;
  display: flex; align-items: center; gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: var(--lc-bg);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--lc-ink-3);
  transition: border-color 0.15s, background 0.15s;
}
.lc-search:focus-within { background: #fff; border-color: var(--lc-ink); color: var(--lc-ink); }
.lc-search input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font-size: 14px; color: var(--lc-ink);
}

/* 按钮 */
.lc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.lc-btn-primary { background: #fff; color: var(--lc-ink); border-color: var(--lc-ink); }
.lc-btn-primary:hover { background: var(--lc-bg); }
.lc-btn-ghost { border-color: var(--lc-line); color: var(--lc-ink); background: #fff; }
.lc-btn-ghost:hover { border-color: var(--lc-ink); }
.lc-btn-line { border-color: var(--lc-line); color: var(--lc-ink-2); background: #fff; }
.lc-btn-line:hover { border-color: var(--lc-ink); color: var(--lc-ink); }
.lc-btn-line.on, .lc-follow.on { background: var(--lc-bg); color: var(--lc-ink-3); }
.lc-btn-sm { height: 30px; padding: 0 14px; font-size: 13px; }
.lc-btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* 用户菜单（顶栏右侧，向下弹出） */
.lc-user { position: relative; }
.lc-user-trigger {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 0; cursor: pointer;
  padding: 4px 6px; border-radius: 999px;
  color: var(--lc-ink);
}
.lc-user-trigger:hover { background: rgba(17, 19, 24, 0.05); }
.lc-user-trigger .lc-avatar, .lc-avatar img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.lc-user-name { font-size: 14px; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-user-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 19, 24, 0.12);
  padding: 6px;
  z-index: 950;
}
.lc-user-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px; color: var(--lc-ink-2);
}
.lc-user-menu a:hover { background: var(--lc-bg); color: var(--lc-ink); }

/* 移动端抽屉 */
.lc-drawer { position: fixed; inset: 0; z-index: 990; }
.lc-drawer-mask { position: absolute; inset: 0; background: rgba(17, 19, 24, 0.4); }
.lc-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 270px; background: #fff;
  padding: 18px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: -12px 0 32px rgba(17, 19, 24, 0.12);
}
.lc-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 700;
  margin-bottom: 12px;
}
.lc-drawer-head button { border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--lc-ink-2); }
.lc-drawer-search { margin-bottom: 12px; }
.lc-drawer-search input {
  width: 100%; height: 38px;
  border: 1px solid var(--lc-line); border-radius: 999px;
  padding: 0 14px; font-size: 14px; outline: none;
}
.lc-drawer-search input:focus { border-color: var(--lc-ink); }
.lc-drawer-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 15px; color: var(--lc-ink-2);
}
.lc-drawer-link:hover { background: var(--lc-bg); color: var(--lc-ink); }
.lc-drawer-link.is-active { background: rgba(17, 19, 24, 0.05); color: var(--lc-ink); font-weight: 600; }
.lc-drawer-sep { height: 1px; margin: 8px 0; background: var(--lc-line); }

/* ============ 主体 ============ */
.lc-main { flex: 1; min-width: 0; }

/* 本主题信息流页内容居中限宽 */
.lc-feed-main { width: 100%; max-width: none; margin: 0 auto; min-width: 0; }

/* 宿主回退页面与其他插件前台页（会员中心、发帖、榜单、网盘等 extend 本布局）占满剩余宽度 */
.lc-main > .content { width: 100%; max-width: none; margin: 0; }
.lc-main .content img { max-width: 100%; }

/* 柔化宿主/插件页内的大黑块按钮（立即充值等），与极简风格统一 */
.lc-main .uc-recharge-btn,
.lc-main .mnav-uc-recharge {
  background: var(--lc-bg) !important;
  color: var(--lc-ink) !important;
  border: 1px solid var(--lc-line) !important;
  box-shadow: none !important;
  font-weight: 500;
}
.lc-main .uc-recharge-btn:hover,
.lc-main .mnav-uc-recharge:hover { border-color: var(--lc-ink) !important; background: #fff !important; }

/* 宿主/插件页通用主按钮去黑块（签到卡登录/打卡签到等 btn-primary） */
.lc-main .btn-primary,
.lc-aside .btn-primary {
  background: #fff !important; color: var(--lc-ink) !important;
  border: 1px solid var(--lc-ink) !important; box-shadow: none !important;
}
.lc-main .btn-primary:hover,
.lc-aside .btn-primary:hover { background: var(--lc-bg) !important; }

/* 榜单页三栏化：隐藏插件自身右栏，主列表区拉伸 */
.lc-main .plaza-main:has(> .rl-left) { grid-template-columns: 225px minmax(0, 1fr); }
.lc-main .plaza-main:has(> .rl-left) > .rl-aside { display: none; }

/* ============ 发帖页 / 编辑器插件 / 豆瓣插件适配 ============ */
/* 发帖页整体卡片化，占满中间栏 */
.lc-main .compose-shell {
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: 14px;
  box-sizing: border-box;
}
.lc-main .compose-title-input { font-weight: 700; }
/* 编辑器容器（wangEditor / TinyMCE / EasyMDE / Summernote / Trumbowyg 通用） */
.lc-main .compose-editor-wrap {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--lc-line) !important;
  border-radius: 12px;
  background: #fff;
  overflow: visible;
}
.lc-main .compose-editor-toolbar { border-bottom: 1px solid var(--lc-line) !important; }
.lc-main .compose-editor-toolbar .w-e-bar { flex-wrap: wrap; }
/* 编辑器下拉/弹层面板需压过固定顶栏（900），低于主题弹窗（1000） */
.lc-main .compose-editor-wrap .w-e-drop-panel,
.lc-main .compose-editor-wrap .w-e-select-list,
.lc-main .compose-editor-wrap .w-e-bar-item-menus-container,
.lc-main .compose-editor-wrap .w-e-panel-container { z-index: 950 !important; }
/* 纯文本回退编辑器 */
.lc-main .compose-body-input {
  width: 100%; min-height: 280px; box-sizing: border-box;
  padding: 14px 16px; border: 0; outline: none; resize: vertical;
  font-size: 14px; line-height: 1.7; color: var(--lc-ink); background: transparent;
}
/* 扩展面板（阅读权限/网盘/豆瓣影视等） */
.lc-main .compose-extras-panels,
.lc-main .compose-extra-panel { max-width: 100%; box-sizing: border-box; }
/* 豆瓣影视面板：映射主题变量，统一视觉 */
.lc-main .douban-editor {
  --text: var(--lc-ink); --accent: var(--lc-ink); --accent-ink: var(--lc-ink);
  --accent-soft: var(--lc-bg); --muted: var(--lc-ink-3); --card: #fff;
  --line: var(--lc-line); --border: var(--lc-line); --radius-sm: 10px;
  --card-shadow: rgba(17, 19, 24, 0.06);
}
.lc-main .douban-search-input {
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--lc-line); background: var(--lc-bg);
  font-size: 13.5px; color: var(--lc-ink); outline: none;
}
.lc-main .douban-search-input:focus { border-color: var(--lc-ink-3); background: #fff; }
.lc-main .douban-search-row .btn-line {
  height: 38px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--lc-ink) !important; background: #fff !important;
  color: var(--lc-ink) !important; font-size: 13.5px;
}
.lc-main .douban-search-row .btn-line:hover { background: var(--lc-bg) !important; }
.lc-main .douban-result-item { border-radius: 10px; }
.lc-main .douban-result-item:hover { border-color: var(--lc-ink); }

/* 网盘插件发帖面板适配 */
.lc-main .netdisk-editor {
  --line: var(--lc-line); --chip: var(--lc-bg); --text: var(--lc-ink);
  --muted: var(--lc-ink-3); --accent: var(--lc-ink); --accent-ink: var(--lc-ink);
  --panel: #fff;
  border-radius: 12px;
  border-color: var(--lc-line);
}
.lc-main .netdisk-paste {
  width: 100%; box-sizing: border-box;
  background: var(--lc-bg) !important;
  border: 1px solid var(--lc-line) !important;
  border-radius: 10px !important;
  font-size: 13.5px; line-height: 1.6; color: var(--lc-ink);
}
.lc-main .netdisk-paste:focus { border-color: var(--lc-ink-3) !important; background: #fff !important; }
.lc-main .netdisk-editor-actions .btn {
  border-radius: 999px;
  border: 1px solid var(--lc-ink) !important;
  background: #fff !important;
  color: var(--lc-ink) !important;
}
.lc-main .netdisk-editor-actions .btn:hover { background: var(--lc-bg) !important; }
/* 资源条目栅格过宽时允许横向滚动，避免撑破发帖栏 */
.lc-main .netdisk-editor-list { max-width: 100%; overflow-x: auto; }
.lc-main .netdisk-ed-row { background: var(--lc-bg); }
.lc-main .netdisk-ed-row input,
.lc-main .netdisk-ed-row select {
  border: 1px solid var(--lc-line) !important;
  background: #fff !important;
  border-radius: 8px !important;
  font-size: 13px;
  color: var(--lc-ink);
}
.lc-main .netdisk-ed-row input:focus,
.lc-main .netdisk-ed-row select:focus { border-color: var(--lc-ink-3) !important; }

/* 双栏（single）模式：隐藏右栏，信息流占满 */
.lc-layout-single .lc-feed-main { max-width: none; }

/* 右侧栏 */
.lc-aside {
  width: 330px; flex-shrink: 0;
  position: sticky; top: calc(var(--lc-header-h) + 24px);
  max-height: calc(100vh - var(--lc-header-h) - 48px);
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.lc-aside::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
.lc-aside:not(:has(*)) { display: none; }

/* 宿主左/右栏（hub/topic blank 等未覆盖页用 .plaza-aside/.plaza-left）：
   宿主默认只设了 position:sticky 而无 max-height/overflow，
   侧栏内容高于视口时底部会被固定在视口外无法访问（看似被截断）。
   补 max-height + 内部滚动，与 .lc-aside 行为一致。 */
.lc-main .plaza-aside,
.lc-main .plaza-left {
  top: calc(var(--lc-header-h) + 24px);
  max-height: calc(100vh - var(--lc-header-h) - 48px);
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.lc-main .plaza-aside::-webkit-scrollbar,
.lc-main .plaza-left::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

/* 祭祀(jisi)插件侧栏：插件默认 position:sticky;top:14px 且无 max-height/overflow，
   内容超高时底部被裁；且 top:14px 会被本主题 64px 顶栏遮挡。
   统一对齐顶栏并补内部滚动。 */
.lc-main .jisi-side,
.lc-main .jisi-message-form-card {
  top: calc(var(--lc-header-h) + 24px);
  max-height: calc(100vh - var(--lc-header-h) - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--lc-ink-3) transparent;
}
.lc-main .jisi-side::-webkit-scrollbar,
.lc-main .jisi-message-form-card::-webkit-scrollbar { width: 5px; }
.lc-main .jisi-side::-webkit-scrollbar-thumb,
.lc-main .jisi-message-form-card::-webkit-scrollbar-thumb { background: var(--lc-ink-3); border-radius: 3px; }
.lc-main .jisi-side::-webkit-scrollbar-track,
.lc-main .jisi-message-form-card::-webkit-scrollbar-track { background: transparent; }

/* 卡片 */
.lc-card {
  background: var(--lc-card);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  padding: 20px 22px;
  margin-bottom: 16px;
}

/* 页头卡（版块/标签/搜索） */
.lc-hub-head { padding: 18px 22px; }
.lc-hub-title { margin: 0; font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.lc-hub-desc { margin-top: 4px; font-size: 13px; color: var(--lc-ink-3); }

/* ============ 信息流标签页 ============ */
.lc-feed-tabs-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 16px 0;
  position: sticky;
  top: calc(var(--lc-header-h) + 12px);
  z-index: 100;
}
.lc-tabs { display: flex; gap: 4px; }
.lc-tab {
  position: relative;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--lc-ink-2);
  transition: color 0.15s;
}
.lc-tab:hover { color: var(--lc-ink); }
.lc-tab.on { color: var(--lc-ink); font-weight: 600; }
.lc-tab.on::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: -1px;
  height: 2px; border-radius: 2px;
  background: var(--lc-primary);
}
.lc-publish-btn { margin-bottom: 6px; }

/* ============ 信息流帖子卡 ============ */
.lc-topic { transition: box-shadow 0.15s; padding: 14px 18px; }
.lc-topic:hover { box-shadow: 0 6px 24px rgba(17, 19, 24, 0.06); }

.lc-topic-head { display: flex; align-items: center; gap: 10px; }
.lc-avatar { flex-shrink: 0; display: inline-block; }
.lc-avatar img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; display: block; }
.lc-avatar-sm img { width: 26px; height: 26px; }
.lc-topic-meta { flex: 1; min-width: 0; }
.lc-topic-user { font-size: 14px; font-weight: 600; color: var(--lc-ink); }
.lc-topic-user:hover { text-decoration: underline; }
.lc-topic-time { font-size: 12px; color: var(--lc-ink-3); margin-top: 1px; }

.lc-flag { font-style: normal; font-weight: 600; }
.lc-flag-top { color: #dc2626; }
.lc-flag-essence { color: var(--lc-amber-ink); }

.lc-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lc-amber);
  color: var(--lc-amber-ink);
  font-size: 12px; font-weight: 500;
}
.lc-badge:hover { filter: brightness(0.96); }

.lc-topic-title {
  display: block;
  margin: 12px 0 0;
  font-size: 17px; font-weight: 600; line-height: 1.5;
  color: var(--lc-ink);
  word-break: break-word;
}
.lc-topic-title:hover { text-decoration: underline; }

.lc-topic-excerpt {
  display: block;
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--lc-ink-2);
  word-break: break-word;
}

.lc-topic-imgs {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.lc-imgs-1 { grid-template-columns: minmax(0, 420px); }
.lc-imgs-2 { grid-template-columns: repeat(2, 1fr); }
.lc-imgs-3 { grid-template-columns: repeat(3, 1fr); }

/* ============ 紧凑行式列表卡 + 作者悬浮卡 ============ */
.lc-topic-row { display: flex; gap: 10px; align-items: flex-start; }
.lc-ava-wrap { position: relative; flex-shrink: 0; padding-top: 2px; }
.lc-topic-body { flex: 1; min-width: 0; }
.lc-topic-titlerow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lc-topic-row .lc-topic-title { display: inline; margin: 0; font-size: 15px; }
.lc-ttag { font-size: 12px; color: var(--lc-ink-3); }
.lc-ttag:hover { text-decoration: underline; }
.lc-ttag-1 { color: #16a34a; }
.lc-ttag-2 { color: #2563eb; }
.lc-ttag-3 { color: #ea580c; }
.lc-ttag-4 { color: #7c3aed; }
.lc-topic-meta2 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--lc-ink-3); }
.lc-meta-sep { color: #cbd2d9; }
.lc-meta-user, .lc-meta-cat { color: var(--lc-ink-3); }
.lc-meta-user:hover, .lc-meta-cat:hover { color: var(--lc-ink); text-decoration: underline; }
.lc-meta-ric { font-size: 13px; }
.lc-meta-stats { margin-left: auto; display: flex; gap: 14px; flex-shrink: 0; font-size: 12.5px; }
.lc-meta-stats span { display: inline-flex; align-items: center; gap: 4px; }
.lc-topic .lc-topic-excerpt, .lc-topic .lc-topic-imgs { margin-left: 36px; }

/* 作者悬浮卡（抽屉式下拉展开） */
.lc-ucard {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 950;
  width: 232px; padding: 14px;
  background: #fff; border: 1px solid var(--lc-line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 19, 24, 0.12);
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease 0.12s, transform 0.18s ease 0.12s, visibility 0s linear 0.3s;
}
.lc-ava-wrap:hover .lc-ucard, .lc-ucard:hover {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition-delay: 0.12s, 0.12s, 0s;
}
.lc-ucard::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.lc-ucard-head { display: flex; gap: 10px; align-items: center; }
.lc-ucard-ava { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.lc-ucard-idbox { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lc-ucard-name { font-size: 14px; font-weight: 600; color: var(--lc-ink); }
.lc-ucard-level { font-size: 11px; color: var(--lc-ink-3); }
.lc-ucard-meta { font-size: 12px; color: var(--lc-ink-3); }
.lc-ucard-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 28px;
  border: 1px solid var(--lc-line); border-radius: 999px;
  font-size: 12px; color: var(--lc-ink-2); background: var(--lc-bg);
}
.lc-ucard-btn:hover { color: var(--lc-ink); border-color: var(--lc-ink-3); }

/* 管理员/版主管理操作条 */
.lc-modbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px;
  margin-top: 12px; padding: 10px 12px;
  background: var(--lc-bg); border: 1px dashed var(--lc-line); border-radius: 10px;
}
.lc-modbar-label { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; white-space: nowrap; height: 26px; font-size: 12px; line-height: 1; color: var(--lc-ink-3); }
.lc-mod-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 26px; padding: 0 8px; cursor: pointer; flex: 0 0 auto;
  border: 1px solid var(--lc-line); border-radius: 999px; background: #fff;
  font-size: 12px; line-height: 1; color: var(--lc-ink-2);
  white-space: nowrap; vertical-align: middle;
}
.lc-mod-btn:hover { color: var(--lc-ink); border-color: var(--lc-ink-3); }
.lc-mod-btn.on { color: #b45309; border-color: #f59e0b; background: #fffbeb; }
.lc-mod-btn.lc-mod-danger { color: #dc2626; border-color: #fecaca; }
.lc-mod-btn.lc-mod-danger:hover { background: #fef2f2; }
.lc-mod-move { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; height: 26px; }
.lc-mod-tail { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; height: 26px; }
.lc-mod-sel {
  display: inline-block; box-sizing: border-box; height: 26px; max-width: 118px; cursor: pointer;
  margin: 0; padding: 0 22px 0 8px;
  border: 1px solid var(--lc-line); border-radius: 8px; background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2388949e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 7px center;
  font-size: 12px; line-height: 24px; color: var(--lc-ink-2); flex: 0 0 auto;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
}
.lc-topic-img {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: var(--lc-bg);
  aspect-ratio: 4 / 3;
}
.lc-imgs-1 .lc-topic-img { aspect-ratio: auto; }
.lc-topic-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.lc-topic-img:hover img { transform: scale(1.03); }

.lc-topic-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lc-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lc-amber);
  color: var(--lc-amber-ink);
  font-size: 12px;
}
.lc-tag:hover { filter: brightness(0.96); }

.lc-topic-actions {
  display: flex; align-items: center; gap: 26px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--lc-line);
}
.lc-act {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--lc-ink-3);
  transition: color 0.15s;
}
.lc-act i { font-size: 16px; }
.lc-act:hover { color: var(--lc-ink); }
.lc-act.is-static:hover { color: var(--lc-ink-3); cursor: default; }

/* 空状态 */
.lc-empty { padding: 48px 22px; text-align: center; color: var(--lc-ink-3); font-size: 14px; }

/* 分页 */
.lc-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 0 4px; }
.lc-pager a, .lc-pager span {
  min-width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 10px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--lc-line);
  font-size: 14px; color: var(--lc-ink-2);
}
.lc-pager a:hover { border-color: var(--lc-ink); color: var(--lc-ink); }
.lc-pager .on { background: #fff; border-color: var(--lc-ink); color: var(--lc-ink); font-weight: 600; }
.lc-pager-nav { font-size: 17px; }

/* ============ 侧栏 ============ */
.lc-aside-card { padding: 18px 20px; }
.lc-aside-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; }

.lc-stats { display: flex; }
.lc-stat { flex: 1; text-align: center; }
.lc-stat b { display: block; font-size: 19px; font-weight: 700; }
.lc-stat span { font-size: 12px; color: var(--lc-ink-3); }
.lc-stat + .lc-stat { border-left: 1px solid var(--lc-line); }

.lc-aside-list { list-style: none; margin: 0; padding: 0; }
.lc-aside-list li { padding: 7px 0; border-bottom: 1px dashed var(--lc-line); font-size: 14px; }
.lc-aside-list li:last-child { border-bottom: 0; }
.lc-aside-list a { color: var(--lc-ink-2); display: inline-flex; align-items: center; gap: 6px; }
.lc-aside-list a:hover { color: var(--lc-ink); text-decoration: underline; }

.lc-hot-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lc-hot-list li a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-hot-views { flex-shrink: 0; font-size: 12px; color: var(--lc-ink-3); display: inline-flex; align-items: center; gap: 3px; }
.lc-hot-views i { color: #f59e0b; }

.lc-tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.lc-page-nav a.on { color: var(--lc-ink); font-weight: 600; }
.lc-page-nav-empty { margin: 0; font-size: 13px; color: var(--lc-ink-3); }

/* 详情页作者卡 */
.lc-author-card-main { display: flex; align-items: center; gap: 10px; }
.lc-author-card-main .lc-avatar img { width: 44px; height: 44px; }
.lc-author-card-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lc-author-follow { width: 100%; margin-top: 14px; }

/* 右栏公告文案 / 签到卡 */
.lc-aside-title > span { display: inline-flex; align-items: center; gap: 6px; }
.lc-notice-text { margin: 0; font-size: 13px; line-height: 1.8; color: var(--lc-ink-2); }
.lc-motto { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--lc-ink-3); }
.lc-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border: 1px solid var(--lc-line); border-radius: 999px; font-size: 12px; font-weight: 400; color: var(--lc-ink-2); background: var(--lc-bg); }
.lc-btn-s { height: 28px; padding: 0 12px; font-size: 12.5px; border-radius: 999px; }
/* 签到卡：今日签到用户头像堆叠 */
.lc-signin-head { gap: 10px; }
.lc-signin-faces { flex: 1; display: flex !important; align-items: center; justify-content: flex-end; min-width: 0; padding-right: 4px; }
.lc-signin-face { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; background: var(--lc-bg); color: var(--lc-ink-3); font-size: 10px; flex-shrink: 0; overflow: hidden; }
.lc-signin-face:first-child { margin-left: 0; }
.lc-signin-face img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 右栏会员榜单 */
.lc-aside-title-more { display: flex; align-items: center; justify-content: space-between; }
.lc-aside-title-more a { display: inline-flex; align-items: center; font-size: 12px; font-weight: 400; color: var(--lc-ink-3); }
.lc-aside-title-more a:hover { color: var(--lc-ink); }
.lc-rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lc-rank-list[hidden] { display: none; }
.lc-rank-list li { display: flex; align-items: center; gap: 8px; }
.lc-rank-no { font-style: italic; font-size: 13px; font-weight: 600; color: var(--lc-ink-3); width: 20px; text-align: center; flex-shrink: 0; }
.lc-rank-no.on { color: var(--lc-ink); }
.lc-rank-link { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 5px 6px; border-radius: 8px; }
.lc-rank-link:hover { background: var(--lc-bg); }
.lc-rank-link .lc-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lc-rank-name { flex: 1; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-rank-value { font-size: 12px; color: var(--lc-ink-3); font-weight: 600; flex-shrink: 0; }
.lc-rank-tabs { flex: 1; display: flex; align-items: center; justify-content: space-between; margin-left: 16px; }
.lc-rank-tabs a { display: inline-flex; align-items: center; font-size: 12px; color: var(--lc-ink-3); }
.lc-rank-tabs a.on { color: var(--lc-ink); font-weight: 600; }
.lc-rank-empty { padding: 10px 0; font-size: 12.5px; color: var(--lc-ink-3); text-align: center; }

/* ============ 详情页 ============ */
.lc-detail { padding: 28px 30px; }
.lc-detail-title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.45; word-break: break-word; }
.lc-detail-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 12px;
  font-size: 13px; color: var(--lc-ink-3);
}
.lc-detail-stat { display: inline-flex; align-items: center; gap: 4px; }
.lc-detail-edit { color: var(--lc-ink-2); }
.lc-detail-edit:hover { text-decoration: underline; }

.lc-detail-author {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding: 14px 0;
  border-top: 1px solid var(--lc-line);
  border-bottom: 1px solid var(--lc-line);
}
.lc-detail-author-who { flex: 1; min-width: 0; }
.lc-detail-author-line { display: flex; align-items: center; gap: 8px; }
.lc-level {
  font-style: normal; font-size: 11px; font-weight: 600;
  padding: 1px 8px; border-radius: 999px;
  background: var(--lc-primary); color: #fff;
}
.lc-level.lc-op { background: var(--lc-amber); color: var(--lc-amber-ink); }

.lc-detail-body { margin-top: 20px; font-size: 15.5px; line-height: 1.85; word-break: break-word; overflow-wrap: anywhere; }
.lc-detail-body p { margin: 0 0 1em; }
.lc-detail-body img { max-width: 100%; height: auto; border-radius: 10px; }
.lc-detail-body pre {
  background: #14161a; color: #e5e7eb;
  padding: 16px; border-radius: 10px;
  overflow: auto; font-size: 13.5px; line-height: 1.6;
}
.lc-detail-body code { font-family: "SFMono-Regular", Consolas, monospace; }
.lc-detail-body blockquote {
  margin: 0 0 1em;
  padding: 4px 16px;
  border-left: 3px solid var(--lc-line);
  color: var(--lc-ink-2);
}
.lc-detail-body a { color: var(--lc-primary); text-decoration: underline; }
.lc-detail-body h1, .lc-detail-body h2, .lc-detail-body h3, .lc-detail-body h4 { line-height: 1.4; margin: 1.2em 0 0.6em; }
.lc-detail-body ul, .lc-detail-body ol { padding-left: 1.4em; margin: 0 0 1em; }
.lc-detail-body table { border-collapse: collapse; width: 100%; margin: 0 0 1em; font-size: 14px; }
.lc-detail-body th, .lc-detail-body td { border: 1px solid var(--lc-line); padding: 8px 10px; text-align: left; }

/* 详情页网盘资源：主栏变窄时允许条目换行，避免提示文字被压成竖排、按钮溢出卡片 */
.lc-detail .netdisk-block { max-width: 100%; }
.lc-detail .netdisk-item { flex-wrap: wrap; row-gap: 10px; }
.lc-detail .netdisk-item-main { flex: 1 1 160px; }
.lc-detail .netdisk-item-actions { flex: 0 1 auto; margin-left: auto; }

/* 锁定内容 */
.lc-lock {
  display: flex; align-items: center; gap: 14px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px dashed var(--lc-line);
  border-radius: var(--lc-radius);
  background: var(--lc-bg);
}
.lc-lock-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  background: #fff; border: 1px solid var(--lc-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: var(--lc-ink-2);
}
.lc-lock-main { flex: 1; min-width: 0; }
.lc-lock-main strong { display: block; font-size: 14.5px; }
.lc-lock-main span { font-size: 13px; color: var(--lc-ink-3); }

.lc-detail-tags { margin-top: 20px; }

.lc-detail-actions {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--lc-line);
}
/* 上一篇 / 下一篇 */
.lc-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.lc-pn-item {
  display: flex; flex-direction: column; gap: 5px;
  min-width: 0; padding: 12px 14px;
  background: #fff; border: 1px solid var(--lc-line); border-radius: 10px;
  text-decoration: none; color: var(--lc-ink);
  transition: border-color .15s ease, background .15s ease;
}
a.lc-pn-item:hover { border-color: var(--lc-ink-3); background: var(--lc-bg); }
.lc-pn-next { text-align: right; align-items: flex-end; }
.lc-pn-label {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--lc-ink-3);
}
.lc-pn-title {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 14px; font-weight: 500; line-height: 1.5;
}
.lc-pn-disabled { opacity: .5; cursor: default; }
.lc-pn-disabled .lc-pn-title { font-weight: 400; color: var(--lc-ink-3); }
@media (max-width: 560px) {
  .lc-pn { grid-template-columns: 1fr; }
  .lc-pn-next { text-align: left; align-items: flex-start; }
}
.lc-act-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--lc-line);
  background: #fff;
  font-size: 14px; color: var(--lc-ink-2);
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
  transition: all 0.15s;
}
.lc-act-btn i { font-size: 16px; }
.lc-act-btn b { font-weight: 500; }
.lc-act-btn:hover { border-color: var(--lc-ink); color: var(--lc-ink); }
.lc-act-btn.on { background: var(--lc-bg); border-color: var(--lc-ink); color: var(--lc-ink); }

/* ============ 评论区 ============ */
.lc-replies { padding: 0; overflow: hidden; }
.lc-replies-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--lc-line);
}
.lc-replies-title { font-size: 15px; font-weight: 700; }
.lc-replies-sort { display: flex; gap: 14px; font-size: 13px; }
.lc-replies-sort a { color: var(--lc-ink-3); }
.lc-replies-sort a.on { color: var(--lc-ink); font-weight: 600; }

.lc-reply {
  display: flex; gap: 12px;
  padding: 18px 22px;
}
.lc-reply + .lc-reply, .lc-reply-children + .lc-reply { border-top: 1px solid var(--lc-line); }
.lc-reply-main { flex: 1; min-width: 0; }
.lc-reply-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lc-reply-floor { font-size: 12px; color: var(--lc-ink-3); }
.lc-reply-content { margin-top: 6px; font-size: 14.5px; line-height: 1.75; word-break: break-word; overflow-wrap: anywhere; }
.lc-reply-content p { margin: 0 0 0.6em; }
.lc-reply-content img { max-width: 100%; border-radius: 8px; }
.lc-reply-actions { margin-top: 6px; }
.lc-reply-btn {
  border: 0; background: none; cursor: pointer;
  font-size: 12.5px; color: var(--lc-ink-3);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 0;
}
.lc-reply-btn:hover { color: var(--lc-ink); }

.lc-reply-children {
  margin: 0 22px 0 72px;
  background: var(--lc-bg);
  border-radius: 10px;
}
.lc-reply-child { padding: 12px 16px; border-top: 0 !important; }
.lc-reply-child + .lc-reply-child { border-top: 1px solid var(--lc-line) !important; }

.lc-reply-form { padding: 18px 22px; border-top: 1px solid var(--lc-line); }
.lc-reply-input {
  width: 100%;
  border: 1px solid var(--lc-line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px; font-family: inherit;
  resize: vertical;
  outline: none;
  background: var(--lc-bg);
  transition: border-color 0.15s, background 0.15s;
}
.lc-reply-input:focus { background: #fff; border-color: var(--lc-ink); }
.lc-reply-form-foot { display: flex; justify-content: flex-end; margin-top: 12px; }

.lc-reply-quote {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: var(--lc-bg);
  border-left: 3px solid var(--lc-primary);
  border-radius: 6px;
  font-size: 13px; color: var(--lc-ink-2);
}
.lc-reply-quote button { border: 0; background: none; cursor: pointer; color: var(--lc-ink-3); font-size: 15px; }

.lc-reply-login { display: flex; align-items: center; gap: 14px; }
.lc-reply-login .lc-lock-main { flex: 1; }

/* ============ 版块页 ============ */
.lc-board-group-title { margin-bottom: 14px; }
.lc-board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lc-board-card {
  display: flex; gap: 12px;
  padding: 16px;
  border: 1px solid var(--lc-line);
  border-radius: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lc-board-card:hover { border-color: var(--lc-ink); box-shadow: 0 4px 16px rgba(17, 19, 24, 0.06); }
.lc-board-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--lc-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; color: var(--lc-ink);
  overflow: hidden;
}
.lc-board-icon img { width: 100%; height: 100%; object-fit: cover; }
.lc-board-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lc-board-meta strong { font-size: 15px; }
.lc-board-desc {
  font-size: 12.5px; color: var(--lc-ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lc-board-stats { font-size: 12px; color: var(--lc-ink-3); }
.lc-online-meta { margin: 0 0 12px; font-size: 13px; color: var(--lc-ink-3); }

/* ============ 页脚 ============ */
.lc-footer {
  background: #fff;
  border-top: 1px solid var(--lc-line);
  padding: 40px 0 26px;
}
/* 页脚左右留白与顶栏、主容器同源（--lc-gutter 随视口缩放，三者始终对齐） */
.lc-footer-inner { width: 100%; padding: 0 var(--lc-gutter, 24px); margin: 0 auto; }
.lc-footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.9fr);
}
.lc-footer-brand strong { font-size: 15px; }
.lc-footer-brand p { margin: 10px 0 0; font-size: 13px; line-height: 1.75; color: var(--lc-ink-3); max-width: 520px; }
.lc-footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; min-width: 0; }
.lc-footer-col-title { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--lc-ink); }
.lc-footer-col-links { display: grid; gap: 10px; margin-top: 14px; }
.lc-footer-col-links a { width: fit-content; font-size: 13px; color: var(--lc-ink-3); word-break: break-word; }
.lc-footer-col-links a:hover { color: var(--lc-ink); }
.lc-footer-copy {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px;
  margin-top: 30px; padding-top: 18px;
  border-top: 1px solid var(--lc-line);
  font-size: 12.5px; color: var(--lc-ink-3);
}
.lc-footer-copy a { color: var(--lc-ink-2); }
.lc-footer-copy a:hover { text-decoration: underline; }
.lc-footer-runtime { font-family: Consolas, monospace; }

/* 回顶 */
.lc-backtop {
  position: fixed; right: 26px; bottom: 32px; z-index: 800;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--lc-line);
  background: #fff;
  color: var(--lc-ink-2);
  font-size: 19px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(17, 19, 24, 0.1);
  transition: all 0.15s;
}
.lc-backtop:hover { color: #fff; background: var(--lc-primary); border-color: var(--lc-primary); }

/* ============ 登录弹窗 ============ */
.lc-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lc-modal-mask { position: absolute; inset: 0; background: rgba(17, 19, 24, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lc-modal-panel {
  position: relative;
  width: 100%; max-width: 400px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(17, 19, 24, 0.2);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.lc-modal-x {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 32px; height: 32px;
  border: 0; border-radius: 50%;
  background: var(--lc-bg);
  color: var(--lc-ink-2);
  font-size: 16px; cursor: pointer;
}
.lc-modal-x:hover { background: var(--lc-line); color: var(--lc-ink); }

.lc-auth-main { padding: 34px 32px 28px; }
.lc-auth-header { text-align: center; margin-bottom: 24px; }
.lc-auth-title { margin: 0; font-size: 20px; font-weight: 700; }
.lc-auth-subtitle { margin: 6px 0 0; font-size: 13px; color: var(--lc-ink-3); }

.lc-auth-field { margin-bottom: 14px; }
.lc-auth-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--lc-ink-2); }
.lc-auth-input {
  width: 100%; height: 42px;
  border: 1px solid var(--lc-line);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px; font-family: inherit;
  outline: none;
  background: var(--lc-bg);
  transition: border-color 0.15s, background 0.15s;
}
.lc-auth-input:focus { background: #fff; border-color: var(--lc-ink); }
.lc-auth-tip { margin: 6px 0 0; font-size: 12px; color: var(--lc-ink-3); }

.lc-auth-field-captcha, .lc-auth-field-action { position: relative; }
.lc-auth-field-captcha .lc-auth-input, .lc-auth-field-action .lc-auth-input { padding-right: 118px; }
.lc-auth-captcha {
  position: absolute; right: 4px; bottom: 4px;
  height: 34px; width: 108px;
  border-radius: 8px; cursor: pointer; object-fit: cover;
}
.lc-auth-action {
  position: absolute; right: 4px; bottom: 4px;
  height: 34px; padding: 0 12px;
  border: 1px solid var(--lc-line); border-radius: 8px;
  background: #fff; color: var(--lc-ink);
  font-size: 12.5px; cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}
.lc-auth-action:hover { border-color: var(--lc-ink); background: var(--lc-bg); }
.lc-auth-action[disabled] { opacity: 0.6; cursor: not-allowed; }

.lc-auth-row { display: flex; justify-content: flex-end; margin: -4px 0 14px; font-size: 13px; }
.lc-auth-row a { color: var(--lc-ink-3); }
.lc-auth-row a:hover { color: var(--lc-ink); }

.lc-auth-btn {
  width: 100%; height: 44px;
  border: 1px solid var(--lc-ink); border-radius: 999px;
  background: #fff; color: var(--lc-ink);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.lc-auth-btn:hover { background: var(--lc-bg); }
.lc-auth-btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.lc-auth-switch { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--lc-ink-3); }
.lc-auth-switch a { color: var(--lc-ink); font-weight: 600; margin-left: 4px; }
.lc-auth-switch a:hover { text-decoration: underline; }

/* Toast 兜底 */
.lc-toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%);
  z-index: 1200;
  max-width: 80vw;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.92);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(17, 19, 24, 0.2);
  animation: lc-toast-in 0.2s ease;
}
@keyframes lc-toast-in { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ============ 响应式 ============ */
@media (max-width: 1180px) {
  .lc-aside { display: none; }
}

@media (max-width: 900px) {
  .lc-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lc-footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .lc-footer-nav { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lc-meta-stats { display: none; }
  .lc-topic .lc-topic-excerpt, .lc-topic .lc-topic-imgs { margin-left: 0; }
}

@media (max-width: 1023px) {
  .lc-sidenav { display: none; }
  .lc-mobile-btn { display: inline-flex; }
  .lc-header-nav { display: none; }
  .lc-shell { padding: calc(var(--lc-header-h) + 16px) 14px 40px; gap: 0; }
  .lc-header-inner { gap: 12px; padding: 0 14px; }
  .lc-search { display: none; }
  .lc-header-publish span { display: none; }
  .lc-header-publish { width: 38px; padding: 0; }
  .lc-user-name { display: none; }
  .lc-card { padding: 16px; border-radius: 12px; }
  .lc-detail { padding: 20px 18px; }
  .lc-detail-title { font-size: 19px; }
  .lc-footer { padding: 32px 0 20px; }
  .lc-footer-inner { padding: 0 14px; }
  .lc-board-grid { grid-template-columns: 1fr; }
  .lc-reply { padding: 14px 16px; }
  .lc-reply-children { margin: 0 12px 0 46px; }
  .lc-reply-form { padding: 14px 16px; }
  .lc-topic-actions { gap: 18px; }
  .lc-auth-main { padding: 28px 22px 22px; }
}

/* ============ GEO：面包屑 / 摘要 / 语义辅助 ============ */
.lc-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lc-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 0 0 12px;
  font-size: 12.5px; color: var(--lc-ink-3);
}
.lc-crumbs a { color: var(--lc-ink-3); }
.lc-crumbs a:hover { color: var(--lc-ink); }
.lc-crumbs i { font-size: 14px; opacity: 0.65; }
.lc-crumbs [aria-current="page"] { color: var(--lc-ink-2); word-break: break-word; }
.lc-detail-summary {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--lc-bg);
  border-left: 3px solid var(--lc-primary);
  border-radius: 10px;
}
.lc-detail-summary strong { display: block; font-size: 12px; font-weight: 600; color: var(--lc-ink-3); margin-bottom: 4px; }
.lc-detail-summary p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--lc-ink-2); }

/* ============ 移动端底部导航 ============ */
.lc-tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 880;
  height: calc(60px + env(safe-area-inset-bottom));
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-around;
  gap: 2px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--lc-line);
}
.lc-tabbar-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 2px 0;
  font-size: 11px;
  line-height: 1.1;
  color: var(--lc-ink-3);
  -webkit-tap-highlight-color: transparent;
}
.lc-tabbar-item i { font-size: 21px; line-height: 1; }
.lc-tabbar-item.is-active { color: var(--lc-primary); font-weight: 600; }
.lc-tabbar-item:active { color: var(--lc-primary); }
.lc-tabbar-fab {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  margin: -20px 2px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lc-primary);
  color: #fff !important;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(17, 19, 24, 0.22);
  font-size: 23px;
  -webkit-tap-highlight-color: transparent;
}
.lc-tabbar-fab:active { transform: scale(0.96); }

@media (max-width: 1023px) {
  .lc-tabbar { display: flex; }
  .lc-body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .lc-backtop { bottom: calc(78px + env(safe-area-inset-bottom)); }
}


/* ============================================================
 * 龙氏CMS 门户皮肤（LongsTheme）
 * 顶栏信息条 + 主导航 + 轮播头条 + 双栏内容 + 深色页脚
 * 作者：kuakeba.cn
 * ============================================================ */
:root {
  --lc-header-h: 72px;
  --lc-container: 1200px;
  --lc-radius: 8px;
  --lc-bg: #f2f3f5;
  --lc-card: #ffffff;
  --lc-ink: #1a1c1f;
  --lc-ink-2: #454b55;
  --lc-ink-3: #8b919b;
  --lc-line: #e4e7eb;
  --lc-amber: #fdf3e7;
  --lc-amber-ink: #a45b12;
  --lc-cms-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
}

body.lc-body { background: var(--lc-bg); }
.lc-container {
  width: 100%;
  max-width: var(--lc-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部信息条 ---------- */
.lc-topbar {
  background: #23262b;
  color: #b6bcc6;
  font-size: 12.5px;
  line-height: 36px;
}
.lc-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lc-topbar-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.lc-topbar-welcome { display: inline-flex; align-items: center; gap: 6px; color: #e6e9ee; white-space: nowrap; }
.lc-topbar-welcome i { color: var(--lc-primary); font-size: 15px; }
.lc-topbar-slogan { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8d95a1; }
.lc-topbar-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.lc-topbar-right a { color: #b6bcc6; white-space: nowrap; transition: color 0.15s; }
.lc-topbar-right a:hover { color: #fff; }
.lc-topbar-date { display: inline-flex; align-items: center; gap: 5px; color: #8d95a1; white-space: nowrap; }

/* ---------- 主导航 ---------- */
.lc-header {
  position: sticky;
  inset: auto;
  top: 0;
  height: auto;
  background: #fff;
  border-bottom: 1px solid var(--lc-line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 2px 10px rgba(17, 19, 24, 0.04);
}
.lc-mainbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--lc-header-h);
}
.lc-logo { gap: 10px; }
.lc-logo-mark {
  width: 38px; height: 38px;
  border-radius: 6px;
  background: var(--lc-primary);
  font-size: 19px;
  font-family: var(--lc-cms-serif);
}
.lc-logo-img { width: 38px; height: 38px; border-radius: 6px; }
.lc-logo-text {
  font-family: var(--lc-cms-serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1px;
}
.lc-logo-sub {
  padding-left: 9px;
  border-left: 1px solid var(--lc-line);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--lc-ink-3);
  text-transform: uppercase;
  white-space: nowrap;
}
.lc-topnav { display: flex; align-items: center; gap: 22px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.lc-topnav-link {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  color: var(--lc-ink-2);
  white-space: nowrap;
  transition: color 0.15s;
}
.lc-topnav-link::after {
  content: "";
  position: absolute; left: 50%; right: 50%; bottom: 0;
  height: 2px; background: var(--lc-primary);
  transition: left 0.18s, right 0.18s;
}
.lc-topnav-link:hover { color: var(--lc-primary); }
.lc-topnav-link.is-active { color: var(--lc-primary); font-weight: 600; }
.lc-topnav-link.is-active::after { left: 0; right: 0; }

.lc-search {
  flex: 0 1 220px;
  max-width: 220px;
  height: 38px;
  padding: 0 4px 0 12px;
  border-radius: 4px;
  border: 1px solid var(--lc-line);
  background: #f6f7f8;
  gap: 6px;
}
.lc-search:focus-within { background: #fff; border-color: var(--lc-primary); }
.lc-search input { font-size: 13px; }
.lc-search-btn {
  flex-shrink: 0;
  height: 30px;
  padding: 0 13px;
  border: 0;
  border-radius: 3px;
  background: var(--lc-primary);
  color: #fff;
  font-size: 12.5px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.lc-search-btn:hover { opacity: 0.88; }

.lc-header-actions { gap: 10px; }
.lc-btn { border-radius: 4px; }
.lc-btn-primary { background: var(--lc-primary); color: #fff; border-color: var(--lc-primary); }
.lc-btn-primary:hover { background: #982013; border-color: #982013; }
.lc-btn-ghost { border-color: var(--lc-line); color: var(--lc-ink-2); background: #fff; }
.lc-btn-ghost:hover { border-color: var(--lc-primary); color: var(--lc-primary); }
.lc-header-publish { height: 38px; padding: 0 18px; }
.lc-header-login, .lc-header-register { height: 38px; padding: 0 16px; }

/* 抽屉 */
.lc-drawer-panel { border-radius: 0 12px 12px 0; }
.lc-drawer-link i { font-size: 18px; }

/* ---------- 页面骨架 ---------- */
.lc-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  padding-top: 22px;
  padding-bottom: 46px;
  align-items: start;
  min-height: 60vh;
}
.lc-layout-single .lc-page { grid-template-columns: minmax(0, 1fr); }
.lc-main { min-width: 0; }

/* ---------- 首页轮播 ---------- */
.lc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.lc-slider {
  position: relative;
  height: 356px;
  border-radius: 8px;
  overflow: hidden;
  background: #262a31;
  box-shadow: 0 8px 24px rgba(17, 19, 24, 0.1);
}
.lc-slide {
  position: absolute; inset: 0;
  display: block;
  background-color: #262a31;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.lc-slide.on { opacity: 1; visibility: visible; z-index: 1; }
.lc-slide-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 20, 0.08) 0%, rgba(15, 17, 20, 0.28) 45%, rgba(15, 17, 20, 0.82) 100%);
}
.lc-slide-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 26px 26px;
  color: #fff;
}
.lc-slide-cat {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 9px;
  border-radius: 3px;
  background: var(--lc-primary);
  font-size: 12px;
  letter-spacing: 0.5px;
}
.lc-slide-title {
  display: block;
  font-family: var(--lc-cms-serif);
  font-size: 27px;
  line-height: 1.35;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lc-slide-desc {
  display: -webkit-box;
  margin-top: 8px;
  max-width: 92%;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lc-slide-meta {
  display: flex; align-items: center; gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.lc-slide-meta i { font-size: 14px; margin-left: 10px; }
.lc-slide-meta i:first-child { margin-left: 0; }
.lc-slide-nav {
  position: absolute; top: 50%; z-index: 3;
  width: 38px; height: 38px;
  margin-top: -19px;
  border: 0; border-radius: 50%;
  background: rgba(20, 22, 26, 0.42);
  color: #fff;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}
.lc-slider:hover .lc-slide-nav { opacity: 1; }
.lc-slide-nav:hover { background: var(--lc-primary); }
.lc-slide-prev { left: 14px; }
.lc-slide-next { right: 14px; }
.lc-slide-dots {
  position: absolute; right: 18px; bottom: 12px; z-index: 3;
  display: flex; gap: 6px;
}
.lc-slide-dots button {
  width: 7px; height: 7px; padding: 0;
  border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}
.lc-slide-dots button.on { width: 18px; background: #fff; }

/* 公告栏 */
.lc-notice-panel {
  display: flex;
  flex-direction: column;
  min-height: 356px;
  padding: 16px 18px 12px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: 8px;
}
.lc-notice-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lc-line);
}
.lc-notice-head strong {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--lc-cms-serif);
  font-size: 16px;
  color: var(--lc-ink);
}
.lc-notice-head strong i { color: var(--lc-primary); font-size: 17px; }
.lc-notice-head a { font-size: 12px; color: var(--lc-ink-3); white-space: nowrap; }
.lc-notice-head a:hover { color: var(--lc-primary); }
.lc-notice-list {
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-around;
  margin: 4px 0 0; padding: 0;
  list-style: none;
}
.lc-notice-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--lc-line);
  font-size: 13.5px;
}
.lc-notice-list li:last-child { border-bottom: 0; }
.lc-notice-list a {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--lc-ink-2);
  transition: color 0.15s;
}
.lc-notice-list a:hover { color: var(--lc-primary); }
.lc-notice-list time { flex-shrink: 0; font-size: 12px; color: var(--lc-ink-3); font-family: Consolas, monospace; }
.lc-notice-empty { justify-content: center; color: var(--lc-ink-3); font-size: 13px; }

/* ---------- 区块标题 ---------- */
.lc-block { margin-bottom: 28px; }
.lc-block-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 2px solid #22252a;
}
.lc-block-title {
  display: flex; align-items: center; gap: 9px;
  margin: 0;
  font-family: var(--lc-cms-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--lc-ink);
}
.lc-block-bar { width: 4px; height: 18px; background: var(--lc-primary); border-radius: 2px; }
.lc-block-more { font-size: 12.5px; color: var(--lc-ink-3); white-space: nowrap; }
.lc-block-more:hover { color: var(--lc-primary); }
.lc-block-more i { vertical-align: -2px; }

/* ---------- 最新发布卡片 ---------- */
.lc-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lc-news-card {
  display: flex; gap: 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: 6px;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.lc-news-card:hover {
  border-color: #d4d8de;
  box-shadow: 0 8px 22px rgba(17, 19, 24, 0.07);
  transform: translateY(-1px);
}
.lc-news-thumb {
  position: relative;
  flex: 0 0 168px;
  height: 112px;
  border-radius: 4px;
  overflow: hidden;
  background: #eceff2;
}
.lc-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.lc-news-card:hover .lc-news-thumb img { transform: scale(1.04); }
.lc-news-thumb-ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #3a3f47, #23262b);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--lc-cms-serif);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  overflow: hidden;
}
.lc-news-cat {
  position: absolute; left: 0; bottom: 0;
  padding: 2px 8px;
  background: rgba(180, 35, 24, 0.9);
  color: #fff;
  font-size: 11px;
  font-style: normal;
}
.lc-news-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lc-news-title {
  margin: 0;
  font-family: var(--lc-cms-serif);
  font-size: 15.5px;
  line-height: 1.5;
  font-weight: 600;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lc-news-title a:hover { color: var(--lc-primary); }
.lc-news-desc {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--lc-ink-3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lc-news-meta {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 8px;
  font-size: 12px;
  color: var(--lc-ink-3);
  min-width: 0;
}
.lc-news-meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.lc-news-meta i { font-size: 13px; }
.lc-news-stats { margin-left: auto; }
.lc-news-stats i { margin-left: 8px; }
.lc-news-stats i:first-child { margin-left: 0; }

/* ---------- 分类区块 ---------- */
.lc-cat-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 20px; }
.lc-cat-lead {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.18s;
}
.lc-cat-lead:hover { box-shadow: 0 8px 22px rgba(17, 19, 24, 0.07); }
.lc-cat-lead-thumb { display: block; height: 214px; background: #eceff2; overflow: hidden; }
.lc-cat-lead-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.lc-cat-lead:hover .lc-cat-lead-thumb img { transform: scale(1.04); }
.lc-cat-lead-thumb .lc-news-thumb-ph { font-size: 19px; }
.lc-cat-lead-body { padding: 13px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.lc-cat-lead-body h3 {
  margin: 0;
  font-family: var(--lc-cms-serif);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lc-cat-lead-body h3 a:hover { color: var(--lc-primary); }
.lc-cat-lead-body p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--lc-ink-3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lc-cat-side { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lc-line); border-radius: 6px; padding: 4px 16px; }
.lc-cat-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--lc-line);
}
.lc-cat-row:last-child { border-bottom: 0; }
.lc-cat-row-body { flex: 1; min-width: 0; }
.lc-cat-row h3 {
  margin: 0 0 5px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lc-cat-row h3 a:hover { color: var(--lc-primary); }
.lc-cat-row .lc-news-meta { margin-top: 0; padding-top: 0; font-size: 11.5px; }
.lc-cat-row-thumb { flex: 0 0 96px; height: 68px; border-radius: 4px; overflow: hidden; background: #eceff2; }
.lc-cat-row-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 栏目 / 列表页 ---------- */
.lc-hub-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: 18px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-left: 4px solid var(--lc-primary);
  border-radius: 6px;
}
.lc-hub-kicker {
  display: inline-block;
  margin-bottom: 5px;
  padding: 1px 8px;
  border-radius: 2px;
  background: var(--lc-primary);
  color: #fff;
  font-size: 11px;
  letter-spacing: 1px;
}
.lc-hub-title {
  margin: 0;
  font-family: var(--lc-cms-serif);
  font-size: 26px;
  font-weight: 700;
}
.lc-hub-desc { margin: 6px 0 0; font-size: 13px; color: var(--lc-ink-3); }
.lc-hub-count { flex-shrink: 0; text-align: center; padding-left: 20px; border-left: 1px solid var(--lc-line); }
.lc-hub-count b { display: block; font-family: var(--lc-cms-serif); font-size: 26px; color: var(--lc-primary); line-height: 1.2; }
.lc-hub-count span { font-size: 12px; color: var(--lc-ink-3); }

.lc-article-list { display: flex; flex-direction: column; gap: 14px; }
.lc-article-item {
  display: flex; gap: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: 6px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.lc-article-item:hover { border-color: #d4d8de; box-shadow: 0 8px 22px rgba(17, 19, 24, 0.06); }
.lc-article-thumb { flex: 0 0 224px; height: 142px; border-radius: 4px; overflow: hidden; background: #eceff2; }
.lc-article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.lc-article-item:hover .lc-article-thumb img { transform: scale(1.04); }
.lc-article-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lc-article-title {
  margin: 0;
  font-family: var(--lc-cms-serif);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lc-article-title a:hover { color: var(--lc-primary); }
.lc-article-title .lc-flag {
  display: inline-block;
  margin-right: 6px;
  padding: 0 6px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  vertical-align: 2px;
}
.lc-flag-top { background: var(--lc-primary); color: #fff; }
.lc-flag-essence { background: var(--lc-amber); color: var(--lc-amber-ink); }
.lc-article-desc {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--lc-ink-3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lc-article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 10px;
  font-size: 12.5px;
  color: var(--lc-ink-3);
}
.lc-article-meta span { display: inline-flex; align-items: center; gap: 4px; }
.lc-article-meta a.lc-meta-cat { color: var(--lc-primary); }
.lc-meta-sep { color: #cfd4da; }
.lc-article-meta .lc-news-stats { margin-left: auto; }

/* ---------- 右侧栏 ---------- */
.lc-page .lc-aside {
  width: auto;
  position: sticky;
  top: calc(var(--lc-header-h) + 16px);
  max-height: calc(100vh - var(--lc-header-h) - 32px);
  overflow-y: auto;
}
.lc-aside-card { padding: 16px 18px; border-radius: 6px; margin-bottom: 16px; }
.lc-aside-title {
  display: flex; align-items: center; gap: 7px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--lc-line);
  font-family: var(--lc-cms-serif);
  font-size: 16px;
  font-weight: 700;
}
.lc-aside-title i { color: var(--lc-primary); font-size: 17px; }
.lc-aside-title-more { justify-content: space-between; }
.lc-aside-title-more span a { font-family: inherit; font-size: 12px; font-weight: 400; color: var(--lc-ink-3); }
.lc-aside-title-more span a:hover { color: var(--lc-primary); }

.lc-intro-text { margin: 0 0 14px; font-size: 13px; line-height: 1.8; color: var(--lc-ink-2); }
.lc-intro-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-top: 12px;
  border-top: 1px dashed var(--lc-line);
  text-align: center;
}
.lc-intro-stats span { display: flex; flex-direction: column; gap: 2px; }
.lc-intro-stats b { font-family: var(--lc-cms-serif); font-size: 19px; color: var(--lc-primary); }
.lc-intro-stats em { font-style: normal; font-size: 12px; color: var(--lc-ink-3); }

.lc-cms-hot { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lc-cms-hot li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.lc-cms-hot li a {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--lc-ink-2);
  transition: color 0.15s;
}
.lc-cms-hot li a:hover { color: var(--lc-primary); }
.lc-cms-hot-no {
  flex-shrink: 0;
  width: 19px; height: 19px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 3px;
  background: #f0f2f4;
  color: var(--lc-ink-3);
  font-size: 11.5px;
  font-style: normal;
  font-family: Consolas, monospace;
}
.lc-cms-hot-no.on { background: var(--lc-primary); color: #fff; }
.lc-cms-hot-views { flex-shrink: 0; font-size: 11.5px; color: var(--lc-ink-3); white-space: nowrap; }
.lc-cms-hot-views i { font-size: 12px; }

.lc-cms-cats { display: flex; flex-direction: column; }
.lc-cms-cats a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--lc-line);
  font-size: 13.5px;
  color: var(--lc-ink-2);
  transition: color 0.15s, padding-left 0.15s;
}
.lc-cms-cats a:last-child { border-bottom: 0; }
.lc-cms-cats a:hover { color: var(--lc-primary); padding-left: 4px; }
.lc-cms-cats a i { font-size: 15px; color: var(--lc-ink-3); }

.lc-tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-tags-cloud .lc-tag {
  padding: 4px 11px;
  border-radius: 3px;
  background: #f3f4f6;
  font-size: 12.5px;
  color: var(--lc-ink-2);
  transition: background 0.15s, color 0.15s;
}
.lc-tags-cloud .lc-tag:hover { background: var(--lc-primary); color: #fff; }

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

/* 分页 */
.lc-pager { margin-top: 22px; }
.lc-pager a, .lc-pager span { border-radius: 4px; font-size: 13px; }
.lc-pager .on { background: var(--lc-primary); border-color: var(--lc-primary); color: #fff; }
.lc-pager a:hover { border-color: var(--lc-primary); color: var(--lc-primary); }

/* 面包屑 */
.lc-crumbs { margin-bottom: 14px; }

/* 内页卡片圆角统一 */
.lc-main > .lc-card, .lc-main .lc-detail { border-radius: 6px; }

/* ---------- 页脚 ---------- */
.lc-footer {
  background: #1b1d22;
  border-top: 3px solid var(--lc-primary);
  color: #a9b0ba;
  padding: 42px 0 20px;
}
.lc-footer-inner { max-width: var(--lc-container); padding: 0 24px; }
.lc-footer-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.95fr); gap: 40px; }
.lc-footer-logo { display: flex; align-items: center; gap: 10px; }
.lc-footer-logo .lc-logo-mark { width: 34px; height: 34px; border-radius: 5px; font-size: 17px; }
.lc-footer-logo img { width: 34px; height: 34px; border-radius: 5px; object-fit: cover; }
.lc-footer-brand strong { font-family: var(--lc-cms-serif); font-size: 19px; color: #f1f3f5; letter-spacing: 0.5px; }
.lc-footer-brand p { color: #8f97a2; font-size: 12.5px; line-height: 1.85; max-width: 460px; }
.lc-footer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lc-footer-tags span {
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  font-size: 11.5px;
  color: #8f97a2;
}
.lc-footer-nav { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 28px; }
.lc-footer-col-title { color: #eceded; font-size: 15px; font-family: var(--lc-cms-serif); }
.lc-footer-col-links a { color: #8f97a2; font-size: 12.5px; }
.lc-footer-col-links a:hover { color: #fff; }
.lc-footer-copy {
  margin-top: 30px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #7d8590;
  font-size: 12px;
}
.lc-footer-copy a { color: #9aa2ad; }
.lc-footer-copy a:hover { color: #fff; }
.lc-footer-powered a { color: #c2c8d0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .lc-page { grid-template-columns: minmax(0, 1fr); }
  .lc-page .lc-aside { display: none; }
  .lc-topbar-slogan { display: none; }
  .lc-search { flex-basis: 190px; max-width: 190px; }
  .lc-topnav { gap: 16px; }
  .lc-topnav-link { font-size: 14px; }
}

@media (max-width: 1023px) {
  .lc-mainbar-inner { height: 62px; gap: 12px; }
  :root { --lc-header-h: 62px; }
  .lc-mobile-btn { display: inline-flex; }
  .lc-topnav, .lc-search, .lc-logo-sub { display: none; }
  .lc-logo-text { font-size: 19px; }
  .lc-header-publish span { display: none; }
  .lc-header-publish { width: 38px; padding: 0; }
  .lc-user-name { display: none; }
  .lc-topbar { display: none; }
  .lc-page { padding-top: 14px; padding-bottom: 28px; gap: 18px; }
  .lc-container { padding: 0 14px; }
  .lc-hero { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 20px; }
  .lc-slider { height: 258px; }
  .lc-slide-title { font-size: 20px; }
  .lc-slide-desc { display: none; }
  .lc-slide-body { padding: 16px 18px 18px; }
  .lc-slide-nav { display: none; }
  .lc-notice-panel { min-height: 0; }
  .lc-news-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lc-news-thumb { flex-basis: 132px; height: 92px; }
  .lc-news-title { font-size: 14.5px; }
  .lc-cat-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lc-cat-lead-thumb { height: 190px; }
  .lc-cat-side { padding: 2px 14px; }
  .lc-article-thumb { flex-basis: 140px; height: 96px; }
  .lc-article-title { font-size: 16px; }
  .lc-article-desc { display: none; }
  .lc-hub-banner { padding: 16px 18px; }
  .lc-hub-title { font-size: 21px; }
  .lc-hub-count { display: none; }
  .lc-footer { padding: 32px 0 18px; }
  .lc-footer-inner { padding: 0 14px; }
  .lc-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lc-footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 560px) {
  .lc-slider { height: 210px; }
  .lc-slide-title { font-size: 18px; -webkit-line-clamp: 2; }
  .lc-slide-meta { font-size: 11px; }
  .lc-news-thumb { flex-basis: 110px; height: 82px; }
  .lc-news-desc { display: none; }
  .lc-block-title { font-size: 17px; }
  .lc-cat-lead-thumb { height: 168px; }
  .lc-cat-row-thumb { flex-basis: 78px; height: 58px; }
  .lc-article-item { gap: 12px; padding: 12px; }
  .lc-article-thumb { flex-basis: 110px; height: 82px; }
  .lc-footer-nav { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
