/* ============================================================
 * GEO 设计系统 v2 · 对标摘星搜荐的克制美学
 * 核心：统一紫蓝 / 大圆角 / 极轻阴影 / 宽松留白 / 大数字优先
 * ============================================================ */

:root {
  /* 主色：统一紫蓝，去掉青粉 */
  --c-primary: #6366f1;
  --c-primary-deep: #4f46e5;
  --c-primary-soft: #818cf8;
  --c-violet: #8b5cf6;
  --c-grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --c-grad-soft: linear-gradient(135deg, #eef1ff 0%, #f3efff 100%);

  /* 文字 */
  --c-text: #0f172a;
  --c-text-2: #64748b;
  --c-text-3: #94a3b8;

  /* 背景 / 边框 */
  --c-bg: #f7f8fc;
  --c-card: #ffffff;
  --c-border: #eef0f6;
  --c-border-2: #e5e9f2;

  /* 圆角：更大更柔和 */
  --r-xl: 20px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;

  /* 阴影：极轻，两层叠加 */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --sh-card: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -10px rgba(15, 23, 42, .10);
  --sh-hover: 0 2px 6px rgba(99, 102, 241, .10), 0 20px 44px -16px rgba(99, 102, 241, .22);

  /* 间距节奏 */
  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
}

/* ---------- 全局背景：柔和渐变光晕 ---------- */
body.inner-body,
body.inside-header {
  background:
    radial-gradient(1200px 500px at 12% -10%, rgba(99, 102, 241, .07), transparent 60%),
    radial-gradient(900px 420px at 88% -6%, rgba(139, 92, 246, .06), transparent 60%),
    var(--c-bg) !important;
  color: var(--c-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 侧边栏：深色 ---------- */
.sidebar,
.main-sidebar,
.layout-aside,
.layui-side {
  background: #171a26 !important;
  border-right: 0 !important;
  box-shadow: none !important;
}

.sidebar a,
.main-sidebar a,
.layout-aside a,
.layui-side a {
  color: #a6adc0 !important;
  border-radius: var(--r-sm);
  margin: 2px 8px;
  transition: background .16s, color .16s;
}

.sidebar a:hover,
.main-sidebar a:hover,
.layui-side a:hover {
  background: rgba(255, 255, 255, .06) !important;
  color: #ffffff !important;
}

.sidebar a.active,
.main-sidebar a.active,
.layui-side .layui-this a,
.layui-side li.layui-this {
  background: var(--c-grad) !important;
  color: #fff !important;
}

/* 侧栏分组标题 */
.sidebar .gekai,
.main-sidebar .gekai,
.layui-side .gekai {
  color: #5b6478 !important;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 18px 20px 8px !important;
  font-weight: 600;
}

/* ---------- 顶栏 ---------- */
.main-header,
.layout-header,
.layui-header {
  background: rgba(255, 255, 255, .82) !important;
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-border) !important;
  box-shadow: none !important;
}

/* ---------- 卡片：纯白 + 大圆角 + 极轻阴影 ---------- */
.layui-card,
.pub-panel,
.card,
.module-card,
.stat-card {
  background: var(--c-card) !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--sh-card) !important;
  padding: var(--sp-4) !important;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}

.layui-card:hover,
.pub-panel:hover {
  box-shadow: var(--sh-hover) !important;
  border-color: #e2e6f5 !important;
}

/* 卡片标题 */
.pub-panel-head,
.layui-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 0 !important;
  padding: 0 0 var(--sp-3) !important;
  margin-bottom: var(--sp-3) !important;
  height: auto !important;
  line-height: 1.4 !important;
}

.pub-panel-head h3,
.layui-card-header {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--c-text) !important;
  margin: 0 !important;
  letter-spacing: -.01em;
}

.pub-panel-head h3 i {
  color: var(--c-primary) !important;
  margin-right: 7px;
}

.pub-panel-head .sub,
.layui-card-header .sub {
  font-size: 12.5px !important;
  color: var(--c-text-3) !important;
  font-weight: 400 !important;
  margin-left: auto;
}

/* 页面标题条 */
.wall-head {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--c-text) !important;
  letter-spacing: -.02em;
  margin: 0 0 var(--sp-4) !important;
  padding: 0 !important;
  border: 0 !important;
}

.wall-head .muted {
  font-size: 13px !important;
  color: var(--c-text-3) !important;
  font-weight: 400 !important;
  margin-left: 8px;
}

/* ---------- 按钮 ---------- */
.pub-btn,
.layui-btn {
  border-radius: var(--r-md) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  padding: 9px 20px !important;
  border: 0 !important;
  transition: all .18s ease !important;
  letter-spacing: .01em;
}

.pub-btn.primary,
.layui-btn-normal,
.layui-btn:not(.ghost):not(.layui-btn-primary) {
  background: var(--c-grad) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(99, 102, 241, .26) !important;
}

.pub-btn.primary:hover,
.layui-btn-normal:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, .34) !important;
}

.pub-btn.ghost,
.layui-btn-primary {
  background: #fff !important;
  color: var(--c-text-2) !important;
  border: 1px solid var(--c-border-2) !important;
  box-shadow: var(--sh-xs) !important;
}

.pub-btn.ghost:hover,
.layui-btn-primary:hover {
  color: var(--c-primary) !important;
  border-color: var(--c-primary-soft) !important;
  background: #fafbff !important;
}

/* ---------- 表单 ---------- */
.layui-input,
.layui-textarea,
.layui-select,
input[type="text"],
input[type="password"],
select,
textarea {
  border-radius: var(--r-md) !important;
  border: 1px solid var(--c-border-2) !important;
  background: #fbfcfe !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  color: var(--c-text) !important;
  transition: all .16s ease !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: 1.5 !important;
}

.layui-input:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--c-primary-soft) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .10) !important;
  outline: none !important;
}

/* ---------- 表格：去网格，加呼吸感 ---------- */
.layui-table {
  border-radius: var(--r-md) !important;
  overflow: hidden;
  border: 1px solid var(--c-border) !important;
}

.layui-table thead tr {
  background: #fafbfe !important;
}

.layui-table thead th {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--c-text-2) !important;
  border-bottom: 1px solid var(--c-border) !important;
  padding: 12px 14px !important;
  letter-spacing: .02em;
}

.layui-table tbody td {
  border-bottom: 1px solid #f4f6fb !important;
  padding: 13px 14px !important;
  font-size: 13.5px !important;
  color: var(--c-text) !important;
}

.layui-table tbody tr:hover {
  background: #fafbff !important;
}

.layui-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

/* ---------- 大数字（数据卡核心） ---------- */
.stat-num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  background: var(--c-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 12.5px;
  color: var(--c-text-3);
  margin-top: 6px;
  font-weight: 500;
}

.stat-delta {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  margin-left: 6px;
}

/* ---------- 五步闭环卡片 ---------- */
.geo-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: var(--sp-4);
}

@media (max-width: 1000px) {
  /* 5 步改成横向滚动条（拆行会出现 2+2+1 孤儿卡） */
  .geo-steps {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .geo-steps .geo-step { flex: 0 0 190px; }
}

.geo-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 22px 18px 18px;
  text-align: center;
  box-shadow: var(--sh-card);
  transition: all .24s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
  text-decoration: none !important;
  display: block;
}

.geo-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-hover);
  border-color: #ddd9fb;
}

.geo-step .ico {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--c-grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: var(--c-primary);
  transition: all .24s;
}

.geo-step:hover .ico {
  background: var(--c-grad);
  color: #fff;
  transform: scale(1.06);
}

.geo-step .no {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-text-3);
  letter-spacing: .1em;
  margin-bottom: 4px;
}

.geo-step .nm {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 5px;
  letter-spacing: -.01em;
}

.geo-step .tag {
  display: inline-block;
  font-size: 11.5px;
  color: var(--c-primary);
  background: #f1f0ff;
  border-radius: 6px;
  padding: 3px 9px;
  margin-bottom: 8px;
  font-weight: 600;
}

.geo-step .ds {
  font-size: 12px;
  color: var(--c-text-3);
  line-height: 1.6;
}

/* 步骤之间的箭头 */
.geo-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -9px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #d9dceb;
  border-right: 1.5px solid #d9dceb;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

@media (max-width: 1180px) {
  .geo-step:not(:last-child)::after { display: none; }
}

/* ---------- 数据条（配额） ---------- */
.geo-quota {
  margin-bottom: 14px;
}

.geo-quota .top {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 6px;
}

.geo-quota .top .k { color: var(--c-text-2); font-weight: 500; }
.geo-quota .top .v { color: var(--c-text); font-weight: 700; font-variant-numeric: tabular-nums; }

.geo-quota .bar {
  height: 7px;
  background: #f0f2f8;
  border-radius: 99px;
  overflow: hidden;
}

.geo-quota .bar > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--c-grad);
  transition: width .6s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 徽章 ---------- */
.badge-soft {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f1f0ff;
  color: var(--c-primary);
}

.badge-soft.green { background: #ecfdf5; color: #059669; }
.badge-soft.gray { background: #f3f4f8; color: #64748b; }
.badge-soft.red { background: #fef2f2; color: #dc2626; }

/* 侧栏 badge（新/新上） */
.label.bg-orange,
.label.bg-red {
  background: var(--c-grad) !important;
  border-radius: 5px !important;
  font-size: 10px !important;
  padding: 1px 5px !important;
  font-weight: 700 !important;
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #d8dceb;
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: #c2c8dd; background-clip: content-box; }

/* ---------- 模块大卡片（首页四宫格） ---------- */
.geo-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .geo-tiles { grid-template-columns: 1fr; }
}

.geo-tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-card);
  transition: all .24s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

.geo-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-hover);
}

.geo-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-grad);
  opacity: 0;
  transition: opacity .24s;
}

.geo-tile:hover::before { opacity: 1; }

.geo-tile h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}

.geo-tile p {
  font-size: 13px;
  color: var(--c-text-2);
  line-height: 1.75;
  margin: 0 0 16px;
}

.geo-tile .go {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.geo-tile .go i { transition: transform .18s; }
.geo-tile:hover .go i { transform: translateX(3px); }

/* ---------- 兼容：老页面的 pf-row 表单行 ---------- */
.pf-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.pf-row > label {
  flex: 0 0 96px;
  font-size: 13px;
  color: var(--c-text-2);
  font-weight: 500;
  padding-top: 10px;
}

.pf-row > input,
.pf-row > select,
.pf-row > textarea,
.pf-row > div {
  flex: 1;
}

.pf-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pf-tip {
  font-size: 12.5px;
  color: var(--c-text-3);
  line-height: 1.6;
}

.muted { color: var(--c-text-3) !important; }

/* ============================================================
 * v2 补充：顶部标签栏 / 侧栏选中态 / 图表
 * ============================================================ */

/* 顶部 tab 栏（原来那块突兀的蓝色） */
.tab-bar,
.addtabs,
.layui-tab-brief > .layui-tab-title,
#tabs,
.tabs-header {
  background: transparent !important;
  border: 0 !important;
  padding: 8px 16px 0 !important;
  height: auto !important;
}

.tab-bar li,
.addtabs li,
#tabs li,
.layui-tab-title li {
  border: 0 !important;
  border-radius: 9px 9px 0 0 !important;
  background: transparent !important;
  color: var(--c-text-2) !important;
  font-size: 13px !important;
  height: 32px !important;
  line-height: 32px !important;
  padding: 0 16px !important;
  transition: all .16s;
}

.tab-bar li:hover,
#tabs li:hover {
  background: #fff !important;
  color: var(--c-primary) !important;
}

.tab-bar li.active,
#tabs li.active,
.layui-tab-title .layui-this {
  background: #fff !important;
  color: var(--c-primary) !important;
  font-weight: 600 !important;
  box-shadow: var(--sh-xs) !important;
}

/* 干掉老式纯蓝方块 */
.tab-bar .active,
#tabs .active {
  background-image: var(--c-grad) !important;
  color: #fff !important;
}

/* 侧栏：当前项渐变高亮 + 左侧指示条 */
.main-sidebar li.active > a,
.main-sidebar a.active,
.sidebar li.active > a,
.layui-side li.layui-this > a {
  background: linear-gradient(90deg, rgba(99,102,241,.22), rgba(139,92,246,.10)) !important;
  color: #fff !important;
  position: relative;
}

.main-sidebar li.active > a::before,
.sidebar li.active > a::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 18px;
  border-radius: 0 3px 3px 0;
  background: var(--c-grad);
  transform: translateY(-50%);
}

/* 侧栏图标统一 */
.main-sidebar a i.fa,
.sidebar a i.fa {
  width: 20px;
  text-align: center;
  opacity: .82;
  font-size: 13px;
}

/* 侧栏宽度略宽，呼吸感更好 */
.main-sidebar,
.sidebar,
.layout-aside {
  width: 216px !important;
}

/* ---------- 纯 CSS 柱状图 ---------- */
.geo-chart {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  height: 150px;
  max-width: 620px;
  padding: 10px 4px 0;
}

.geo-chart .col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 8px;
}

.geo-chart .v {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}

.geo-chart .b {
  width: 100%;
  max-width: 68px;
  border-radius: 8px 8px 3px 3px;
  background: var(--c-grad);
  min-height: 4px;
  transition: height .6s cubic-bezier(.4,0,.2,1);
  opacity: .9;
}

.geo-chart .col:hover .b { opacity: 1; }

.geo-chart .l {
  font-size: 11.5px;
  color: var(--c-text-3);
  font-variant-numeric: tabular-nums;
}

/* ---------- 空状态 ---------- */
.geo-empty {
  text-align: center;
  padding: 36px 20px;
  color: var(--c-text-3);
  font-size: 13px;
}

.geo-empty i {
  display: block;
  font-size: 30px;
  margin-bottom: 12px;
  opacity: .35;
}
/* ============================================================
 * v2 补充 2：压缩页头 hero（原来占 180px 太占地方）
 * ============================================================ */
.module-hero.auto-module-hero {
  min-height: auto !important;
  height: auto !important;
  padding: 22px 26px !important;
  margin: 0 0 20px !important;
  border-radius: var(--r-lg) !important;
  background: #fff !important;
  border: 1px solid var(--c-border) !important;
  box-shadow: var(--sh-card) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
  position: relative;
}

.module-hero.auto-module-hero .hero-shade { display: none !important; }

.module-hero.auto-module-hero .hero-copy {
  flex: 1;
  min-width: 0;
  z-index: 1;
}

.module-hero.auto-module-hero .hero-kicker {
  display: inline-block;
  font-size: 11.5px !important;
  color: var(--c-primary) !important;
  background: #f1f0ff;
  border-radius: 6px;
  padding: 3px 9px;
  margin-bottom: 8px !important;
  font-weight: 600;
  letter-spacing: .02em;
}

.module-hero.auto-module-hero .hero-kicker i { display: none; }

.module-hero.auto-module-hero h1 {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--c-text) !important;
  margin: 0 0 6px !important;
  letter-spacing: -.02em;
  line-height: 1.25 !important;
}

.module-hero.auto-module-hero h1 em {
  display: none !important;
}

.module-hero.auto-module-hero p {
  font-size: 13px !important;
  color: var(--c-text-2) !important;
  margin: 0 0 10px !important;
  line-height: 1.7 !important;
  max-width: 720px;
}

.module-hero.auto-module-hero .hero-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.module-hero.auto-module-hero .hero-stats span {
  font-size: 11.5px !important;
  color: var(--c-text-2) !important;
  background: #f7f8fc;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 3px 9px;
  font-weight: 500;
}

.module-hero.auto-module-hero .hero-stats span b {
  color: var(--c-text) !important;
  font-weight: 700;
}

.module-hero.auto-module-hero .hero-stats .hero-live {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: #d1fae5 !important;
  font-weight: 600;
}

.module-hero.auto-module-hero .hero-art {
  position: absolute !important;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 190px !important;
  height: 130px !important;
  opacity: .16;
  pointer-events: none;
  z-index: 0;
}

.module-hero.auto-module-hero .hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 内容区最大宽度，防止超宽屏散架 */
.inner-body .layui-body,
.inner-body .content-wrapper,
.inner-body .main-content {
  padding: 20px 24px !important;
}

/* 表格里的按钮缩小更精致 */
.layui-table .pub-btn,
.layui-table .layui-btn {
  padding: 5px 12px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
}
/* ============================================================
 * v2 补充 3：hero 彻底做减法（去掉插画）
 * ============================================================ */
.module-hero.auto-module-hero .hero-art {
  display: none !important;
}

.module-hero.auto-module-hero {
  background:
    linear-gradient(135deg, rgba(99,102,241,.035) 0%, rgba(139,92,246,.02) 60%, transparent 100%),
    #fff !important;
  border-left: 3px solid transparent !important;
  border-image: linear-gradient(180deg, #6366f1, #8b5cf6) 1 !important;
  border-radius: var(--r-lg) !important;
}

/* 页面底部说明卡 */
.geo-note {
  background: linear-gradient(135deg, #fafbff 0%, #f6f4ff 100%);
  border: 1px solid #ece9ff;
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin-top: 18px;
}

.geo-note h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.geo-note h4 i { color: var(--c-primary); }

.geo-note ol {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: var(--c-text-2);
  line-height: 2;
}

.geo-note ol b { color: var(--c-text); font-weight: 600; }
/* 强制去掉 hero 背景图 */
.module-hero,
.module-hero.auto-module-hero,
.auto-module-hero {
  background-image: none !important;
  background: #fff !important;
  border-left: 3px solid var(--c-primary) !important;
  box-shadow: var(--sh-card) !important;
}

.module-hero .hero-art,
.module-hero .hero-shade,
.auto-module-hero .hero-art,
.auto-module-hero .hero-shade {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

/* hero 里所有 img 都藏掉 */
.module-hero img,
.auto-module-hero img {
  display: none !important;
}
/* ============================================================
 * v2 补充 4：干掉 hero 的 banner 背景（skin-muli 里是 ::before）
 * 用同权重选择器覆盖
 * ============================================================ */
body.inside-aside .module-hero::before,
body.inside-aside .module-hero.auto-module-hero::before,
body.inside-aside .auto-module-hero::before {
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
  display: none !important;
}

body.inside-aside .module-hero,
body.inside-aside .module-hero.auto-module-hero {
  background: #fff !important;
  background-image: none !important;
  border: 1px solid var(--c-border) !important;
  border-left: 3px solid var(--c-primary) !important;
  box-shadow: var(--sh-card) !important;
  padding: 20px 24px !important;
  min-height: 0 !important;
  border-radius: var(--r-lg) !important;
}

body.inside-aside .module-hero .hero-shade {
  display: none !important;
}

body.inside-aside .module-hero .hero-copy {
  max-width: none !important;
}

body.inside-aside .module-hero h1 {
  color: var(--c-text) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  margin: 0 0 6px !important;
}

body.inside-aside .module-hero p {
  color: var(--c-text-2) !important;
  font-size: 13px !important;
  max-width: 780px !important;
}

body.inside-aside .hero-kicker {
  color: var(--c-primary) !important;
  background: #f1f0ff;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11.5px !important;
  font-weight: 600;
  margin-bottom: 8px;
}
/* ============================================================
 * v2 补充 5：顶部标签栏彻底重做（干掉老蓝块）
 * ============================================================ */
body .tab-bar,
body .addtabs,
body #tabs,
body .tabs-wrap,
body .page-tabs {
  background: transparent !important;
  border: 0 !important;
  padding: 10px 20px 0 !important;
  height: auto !important;
  min-height: 42px !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 6px !important;
}

body .tab-bar li,
body .addtabs li,
body #tabs li,
body .page-tabs li {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 9px !important;
  color: var(--c-text-3) !important;
  font-size: 12.5px !important;
  padding: 7px 15px !important;
  height: auto !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  transition: all .16s;
}

body .tab-bar li:hover,
body #tabs li:hover {
  background: #fff !important;
  color: var(--c-primary) !important;
}

body .tab-bar li.active,
body .addtabs li.active,
body #tabs li.active,
body .page-tabs li.active,
body .tab-bar li.on,
body #tabs li.on {
  background: #fff !important;
  background-image: none !important;
  color: var(--c-primary) !important;
  font-weight: 600 !important;
  box-shadow: var(--sh-xs) !important;
  border: 1px solid var(--c-border) !important;
  border-bottom-color: transparent !important;
}

/* 标签上的关闭按钮 */
body .tab-bar li .fa-times,
body #tabs li .fa-times,
body .tab-bar li .close,
body #tabs li .close {
  color: currentColor !important;
  opacity: .45;
  margin-left: 5px;
  font-size: 11px;
}

body .tab-bar li .fa-times:hover,
body #tabs li .close:hover {
  opacity: .9;
  color: #dc2626 !important;
}

/* 顶栏右侧：有效期徽章 */
body .layui-layout-admin .layui-header .layui-nav-item a,
body .main-header .navbar-custom-menu a {
  color: var(--c-text-2) !important;
  font-size: 12.5px !important;
}
/* ============================================================
 * v2 补充 6：标签栏里真正带蓝色的是 <a>，不是 <li>
 * ============================================================ */
body #tabs,
body ul#tabs,
body .nav-addtabs {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 10px 20px 0 !important;
  height: auto !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 6px !important;
}

body #tabs > li,
body .nav-addtabs > li {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1 !important;
  float: none !important;
}

/* 关键：a 标签去蓝 */
body #tabs > li > a,
body .nav-addtabs > li > a {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  color: var(--c-text-3) !important;
  border: 0 !important;
  border-radius: 9px !important;
  padding: 8px 14px !important;
  font-size: 12.5px !important;
  height: auto !important;
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  transition: all .16s;
  box-shadow: none !important;
}

body #tabs > li > a:hover {
  background: #fff !important;
  color: var(--c-primary) !important;
}

/* 当前标签：白底 + 细边框 + 紫字 */
body #tabs > li.active > a,
body .nav-addtabs > li.active > a {
  background: #fff !important;
  background-image: none !important;
  color: var(--c-primary) !important;
  font-weight: 600 !important;
  box-shadow: var(--sh-xs) !important;
  border: 1px solid var(--c-border) !important;
}

body #tabs > li.active > a .fa-times,
body .nav-addtabs > li.active > a .fa-times {
  opacity: .4;
  margin-left: 4px;
  font-size: 10px;
}

body #tabs > li.active > a .fa-times:hover {
  opacity: 1;
  color: #dc2626 !important;
}

/* 保险：任何情况下都不允许蓝底 */
body #tabs a[style],
body .nav-addtabs a[style] {
  background-color: transparent !important;
}

/* ============================================================
 * v3 修正 · 按用户标注的 4 个问题 + 蓝紫金配色
 * ============================================================ */

/* 金色 token */
:root {
  --c-gold: #e8a33d;
  --c-gold-2: #f5c451;
  --c-gold-deep: #c9821f;
  --c-gold-grad: linear-gradient(135deg, #f5c451 0%, #e8a33d 55%, #c9821f 100%);
  --c-blue: #3b82f6;
  --c-grad-3: linear-gradient(135deg, #3b82f6 0%, #6366f1 45%, #8b5cf6 100%);
}

/* ---------- 问题1：顶部空白太多 → 压缩顶栏 ---------- */
body .main-header,
body .layout-header,
body .layui-header,
body header.main-header {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  line-height: 46px !important;
  padding: 0 18px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--c-border) !important;
  box-shadow: none !important;
}

body .main-header .navbar,
body .main-header .logo,
body .main-header .navbar-custom-menu,
body .main-header .navbar-right {
  height: 46px !important;
  min-height: 46px !important;
  line-height: 46px !important;
}

body .main-header .logo {
  height: 46px !important;
  line-height: 46px !important;
  padding: 0 14px !important;
  font-size: 15px !important;
}

/* 标签栏更紧凑 */
body #tabs,
body ul#tabs,
body .nav-addtabs {
  padding: 4px 14px 0 !important;
  min-height: 34px !important;
  height: 34px !important;
  margin: 0 !important;
}

body #tabs > li > a {
  padding: 5px 11px !important;
  font-size: 12px !important;
  border-radius: 7px !important;
}

/* 内容区上边距收紧 */
body .content-wrapper,
body .layui-body,
body .main-content,
body .inner-body .content-wrapper {
  padding: 12px 20px 20px !important;
  margin-top: 0 !important;
}

/* ---------- 问题2：hero 完全去掉 ---------- */
body.inside-aside .module-hero,
body .module-hero,
.module-hero,
.auto-module-hero,
.module-hero.auto-module-hero {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  visibility: hidden !important;
  overflow: hidden !important;
}

body.has-auto-hero .page-head,
body.has-auto-hero .auto-module-hero {
  display: none !important;
}

/* hero 隐藏后，让页面自己的 wall-head 做主角 */
.wall-head {
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  color: var(--c-text) !important;
  margin: 4px 0 14px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 10px;
  flex-wrap: wrap;
}

.wall-head::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--c-grad-3);
  margin-right: 2px;
  transform: translateY(2px);
}

/* ---------- 问题3：词组概况那块看不清 / 没法选功能 ---------- */
/* 把操作按钮做成醒目的渐变按钮组，并给卡片加清晰边界 */
.pub-panel {
  border: 1px solid var(--c-border-2) !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 6px 18px -8px rgba(15,23,42,.10) !important;
}

.pub-panel-head {
  border-bottom: 1px solid #f2f4fa !important;
  padding-bottom: 12px !important;
  margin-bottom: 14px !important;
}

.pub-panel-head h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
}

.pf-actions {
  gap: 12px !important;
  margin-top: 4px !important;
}

.pf-actions .pub-btn {
  padding: 11px 22px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-radius: 11px !important;
  letter-spacing: .01em;
}

/* 主按钮：蓝紫渐变 + 更明显 */
.pf-actions .pub-btn.primary,
.pub-btn.primary {
  background: var(--c-grad-3) !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(99,102,241,.28), 0 1px 2px rgba(59,130,246,.20) !important;
  border: 0 !important;
}

.pf-actions .pub-btn.primary:hover,
.pub-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(99,102,241,.36) !important;
}

/* 次按钮：白底 + 清晰边框 + hover 变色 */
.pf-actions .pub-btn.ghost,
.pub-btn.ghost {
  background: #fff !important;
  color: var(--c-text) !important;
  border: 1.5px solid var(--c-border-2) !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.04) !important;
}

.pf-actions .pub-btn.ghost:hover,
.pub-btn.ghost:hover {
  border-color: var(--c-primary) !important;
  color: var(--c-primary) !important;
  background: #f8f8ff !important;
}

/* ---------- 问题4：侧边栏 ---------- */
body .main-sidebar,
body .sidebar,
body .layout-aside {
  width: 200px !important;
  background: linear-gradient(180deg, #1a1d2b 0%, #151824 100%) !important;
  border-right: 0 !important;
}

/* 侧栏 logo 区 */
body .main-sidebar .logo,
body .sidebar .logo {
  height: 46px !important;
  line-height: 46px !important;
  background: rgba(255,255,255,.03) !important;
  border-bottom: 1px solid rgba(255,255,255,.05) !important;
}

/* 菜单项：更紧凑，选中更亮 */
body .main-sidebar a,
body .sidebar a {
  padding: 9px 14px !important;
  margin: 1px 6px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  color: #9aa3b8 !important;
}

body .main-sidebar li.active > a,
body .sidebar li.active > a,
body .main-sidebar a.active {
  background: var(--c-grad-3) !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(99,102,241,.30) !important;
}

body .main-sidebar li.active > a::before,
body .sidebar li.active > a::before {
  display: none !important;
}

/* 分组标题 */
body .main-sidebar .gekai,
body .sidebar .gekai {
  padding: 14px 16px 6px !important;
  font-size: 10.5px !important;
  color: #4b5468 !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
}

/* ---------- 加金色：重要数据 / 徽章 / 强调 ---------- */

/* "新上""新" 徽章用金色 */
body .label.bg-orange,
body .label.bg-red,
body .main-sidebar .label {
  background: var(--c-gold-grad) !important;
  color: #3d2606 !important;
  font-weight: 800 !important;
  border-radius: 5px !important;
  font-size: 10px !important;
  padding: 1px 5px !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}

/* 积分 / 余额类数字用金色渐变 */
.stat-num.gold,
.gold-num {
  background: var(--c-gold-grad) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

/* 有效的徽章用金 */
.badge-soft.gold {
  background: linear-gradient(135deg, #fef7e6, #fdf0d5) !important;
  color: var(--c-gold-deep) !important;
  border: 1px solid #f7e2b8;
}

/* 表头 / 关键列加一点金 */
.layui-table thead th {
  color: #6b7280 !important;
}

/* 主按钮 hover 时的金色高光描边（可选强调） */
.pub-btn.primary:active {
  box-shadow: 0 0 0 3px rgba(232,163,61,.30) !important;
}

/* ---------- 表格操作按钮：更清晰可点 ---------- */
.layui-table .pub-btn,
.layui-table .layui-btn,
.kg-act {
  padding: 6px 13px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
  border: 1.5px solid var(--c-border-2) !important;
  background: #fff !important;
  color: var(--c-text) !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.04) !important;
  margin-right: 5px;
  transition: all .16s !important;
}

.layui-table .pub-btn:hover,
.kg-act:hover {
  border-color: var(--c-primary) !important;
  color: var(--c-primary) !important;
  background: #f7f8ff !important;
  transform: translateY(-1px);
}

/* 训练按钮金色强调 */
.kg-act[data-act="train"] {
  border-color: #f0d9a8 !important;
  color: var(--c-gold-deep) !important;
  background: linear-gradient(135deg, #fffdf7, #fef9ee) !important;
}
.kg-act[data-act="train"]:hover {
  border-color: var(--c-gold) !important;
  background: linear-gradient(135deg, #fef7e6, #fdf0d5) !important;
  color: var(--c-gold-deep) !important;
}

/* 生成按钮蓝紫 */
.kg-act[data-act="gen"] {
  border-color: #d8d6fb !important;
  color: var(--c-primary) !important;
  background: linear-gradient(135deg, #fafaff, #f5f4ff) !important;
}
.kg-act[data-act="gen"]:hover {
  border-color: var(--c-primary) !important;
  background: #f1f0ff !important;
}

/* 删除按钮红 */
.kg-act[data-act="del"] {
  color: #d94b4b !important;
}
.kg-act[data-act="del"]:hover {
  border-color: #f3b4b4 !important;
  background: #fef5f5 !important;
  color: #b91c1c !important;
}

/* ---------- 页面顶部留白再收一点 ---------- */
body .inner-body > .content-wrapper,
body .wrapper > .content-wrapper {
  padding-top: 10px !important;
}

/* iframe 内页面顶部 */
body.inner-body {
  padding: 0 !important;
}

/* wall-head 与前一块的间距 */
.wall-head + .pub-panel,
.wall-head + div {
  margin-top: 0 !important;
}

/* ============================================================
 * v3 修正 2：按钮不许拉伸 / 顶栏补品牌
 * ============================================================ */

/* 任何按钮都不许被 flex 拉伸 */
button,
.pub-btn,
.layui-btn,
.pf-actions .pub-btn,
.pf-actions button {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  align-self: center !important;
}

/* pf-actions 内按钮垂直居中 */
.pf-actions {
  align-items: center !important;
}

/* 通用工具条（关键词组页用的内联 flex 容器） */
.kg-bar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-bottom: 14px !important;
}

.kg-bar .pub-btn {
  width: auto !important;
  flex: 0 0 auto !important;
}

/* 顶栏左侧品牌 */
body .main-header .logo,
body .main-header .navbar-brand {
  background: transparent !important;
  background-color: transparent !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  color: var(--c-text) !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  letter-spacing: -.01em;
  padding-left: 18px !important;
}

body .main-header .logo b,
body .main-header .navbar-brand b {
  background: var(--c-grad-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
/* ============================================================
 * v4 修正 · 删掉多标签栏 + 侧边栏改浅色（对标摘星）
 * ============================================================ */

/* ---------- 1. 彻底删掉顶部标签行 ---------- */
body #tabs,
body ul#tabs,
body .nav-addtabs,
body .multipletab #tabs,
body .main-header #tabs,
body header .nav-tabs {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  visibility: hidden !important;
  overflow: hidden !important;
}

/* 标签删了，内容区整体上移 */
body .content-wrapper {
  min-height: calc(100vh - 46px) !important;
  padding-top: 14px !important;
  margin-top: 0 !important;
}

body .main-header {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  border-bottom: 1px solid var(--c-border) !important;
}

/* 如果有绝对定位的内容区，强制贴到 header 下方 */
body .layui-body,
body .right-col,
body .main-content-col {
  top: 46px !important;
  margin-top: 0 !important;
}

/* ---------- 2. 侧边栏改浅色（对标摘星） ---------- */
body .main-sidebar,
body .sidebar,
body .layout-aside,
body .layui-side,
body .left-col,
body .main-sidebar .slimScrollDiv,
body .main-sidebar .slimScroll {
  background: #ffffff !important;
  border-right: 1px solid var(--c-border) !important;
  box-shadow: none !important;
}

/* logo 区 */
body .main-sidebar .logo,
body .sidebar .logo,
body .main-sidebar .brand {
  background: #fff !important;
  border-bottom: 1px solid var(--c-border) !important;
  color: var(--c-text) !important;
}

body .main-sidebar .logo b,
body .sidebar .logo b {
  background: var(--c-grad-3) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

/* 菜单项：深灰字 + 圆角 */
body .main-sidebar a,
body .sidebar a,
body .layui-side a {
  color: #4b5563 !important;
  background: transparent !important;
  border-radius: 9px !important;
  padding: 9px 14px !important;
  margin: 1px 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all .16s !important;
}

body .main-sidebar a:hover,
body .sidebar a:hover,
body .layui-side a:hover {
  background: #f5f6fb !important;
  color: var(--c-primary) !important;
}

/* 图标：浅灰，hover/选中变紫 */
body .main-sidebar a i.fa,
body .sidebar a i.fa,
body .layui-side a i.fa {
  color: #9aa3b8 !important;
  width: 20px;
  text-align: center;
  font-size: 13px;
  transition: color .16s;
}

body .main-sidebar a:hover i.fa,
body .sidebar a:hover i.fa {
  color: var(--c-primary) !important;
}

/* 选中项：浅紫底 + 紫字 + 左侧紫条 */
body .main-sidebar li.active > a,
body .sidebar li.active > a,
body .main-sidebar a.active,
body .layui-side li.layui-this > a {
  background: linear-gradient(90deg, #f0efff 0%, #f7f5ff 100%) !important;
  color: var(--c-primary) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  position: relative;
}

body .main-sidebar li.active > a::before,
body .sidebar li.active > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 16px;
  border-radius: 0 3px 3px 0;
  background: var(--c-grad-3);
  transform: translateY(-50%);
  display: block !important;
}

body .main-sidebar li.active > a i.fa,
body .sidebar li.active > a i.fa,
body .layui-side li.layui-this > a i.fa {
  color: var(--c-primary) !important;
}

/* 分组标题：浅灰小字 */
body .main-sidebar .gekai,
body .sidebar .gekai,
body .layui-side .gekai {
  color: #a8b0c2 !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  padding: 16px 18px 6px !important;
  text-transform: uppercase;
}

/* 二级/三级菜单 */
body .main-sidebar .treeview-menu,
body .sidebar .treeview-menu {
  background: transparent !important;
}

body .main-sidebar .treeview-menu a,
body .sidebar .treeview-menu a {
  color: #6b7280 !important;
  font-size: 12.5px !important;
  padding-left: 34px !important;
}

body .main-sidebar .treeview-menu a:hover,
body .sidebar .treeview-menu a:hover {
  color: var(--c-primary) !important;
  background: #f5f6fb !important;
}

/* 展开箭头 */
body .main-sidebar .pull-right-container i,
body .sidebar .pull-right-container i {
  color: #c5cbd8 !important;
}

/* 徽章在浅色底上：金/紫都保留，但加一点描边更清晰 */
body .main-sidebar .label,
body .sidebar .label {
  font-size: 10px !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  margin-left: 6px;
}

/* 整个 shell 背景（侧栏和内容区之间无缝隙感） */
body .wrapper,
body #app-shell {
  background: var(--c-bg) !important;
}
/* ============================================================
 * v4 补充：侧栏 logo 区塌陷 + 说明卡横排
 * ============================================================ */
body .main-sidebar .logo,
body .sidebar .logo,
body .main-sidebar .brand {
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

body .main-sidebar .logo a,
body .sidebar .logo a {
  display: none !important;
}

/* 侧栏第一项上移 */
body .main-sidebar .sidebar-menu,
body .sidebar .sidebar-menu {
  padding-top: 14px !important;
  margin-top: 0 !important;
}

/* 说明卡横排 */
.geo-note-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .geo-note-grid { grid-template-columns: repeat(2, 1fr); }
}

.geo-note-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px 18px;
  box-shadow: var(--sh-card);
  transition: all .22s;
  position: relative;
  overflow: hidden;
}

.geo-note-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-grad-3);
  opacity: 0;
  transition: opacity .22s;
}

.geo-note-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-hover);
}

.geo-note-card:hover::before { opacity: 1; }

.geo-note-card .n {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--c-grad-3);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(99,102,241,.28);
}

.geo-note-card .t {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 7px;
  letter-spacing: -.01em;
}

.geo-note-card .d {
  font-size: 12.5px;
  color: var(--c-text-2);
  line-height: 1.75;
}

.geo-note-card .d b {
  color: var(--c-gold-deep);
  font-weight: 600;
}
/* ============================================================
 * v4 补充 2：侧栏顶部空白彻底压掉
 * ============================================================ */
body .main-sidebar,
body .sidebar,
body .layout-aside,
body .layui-side {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body .main-sidebar > *:first-child,
body .sidebar > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body .main-sidebar nav,
body .sidebar nav,
body .main-sidebar .sidebar-menu,
body .sidebar .sidebar-menu,
body .main-sidebar ul.sidebar-menu {
  padding-top: 10px !important;
  margin-top: 0 !important;
}

body .main-sidebar ul.sidebar-menu > li:first-child,
body .sidebar ul.sidebar-menu > li:first-child {
  margin-top: 0 !important;
}

body .main-sidebar ul.sidebar-menu > li:first-child a,
body .sidebar ul.sidebar-menu > li:first-child a {
  margin-top: 0 !important;
}

/* 如果第一个是分组标题，收紧 */
body .main-sidebar .gekai:first-child,
body .sidebar .gekai:first-child {
  padding-top: 10px !important;
}

/* 侧栏滚动容器 */
body .main-sidebar .slimScrollDiv,
body .main-sidebar .slimScroll,
body .sidebar .slimScrollDiv {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* 内容区顶部再收一点（无标签栏后） */
body .content-wrapper,
body .layui-body {
  padding-top: 16px !important;
}
/* ============================================================
 * v5 · 侧边栏修复（截断/居中/分组标题/选中态）
 * ============================================================ */

/* 1. 侧栏加宽，给徽章留位置 */
body .main-sidebar,
body .sidebar,
body .layout-aside {
  width: 228px !important;
}

/* 2. 菜单项垂直居中 + 防截断 */
body .main-sidebar ul.sidebar-menu > li > a,
body .sidebar ul.sidebar-menu > li > a,
body .main-sidebar a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 40px !important;
  padding: 8px 12px !important;
  margin: 2px 8px !important;
  border-radius: 9px !important;
  font-size: 13.5px !important;
  line-height: 1.3 !important;
  overflow: hidden !important;
  position: relative;
}

/* 图标固定宽，不参与挤压 */
body .main-sidebar a > i.fa,
body .main-sidebar a > i.layui-icon,
body .sidebar a > i.fa {
  flex: 0 0 18px !important;
  width: 18px !important;
  min-width: 18px !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* 文字自适应 + 省略号 */
body .main-sidebar a > span,
body .sidebar a > span {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  display: block !important;
  line-height: 1.35 !important;
}

/* 徽章固定在右侧，不撑爆 */
body .main-sidebar a .label,
body .sidebar a .label,
body .main-sidebar a small.label {
  flex: 0 0 auto !important;
  position: static !important;
  margin: 0 0 0 auto !important;
  font-size: 9.5px !important;
  padding: 2px 5px !important;
  border-radius: 4px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  max-width: none !important;
}

/* 下拉箭头也固定 */
body .main-sidebar .pull-right-container,
body .sidebar .pull-right-container {
  flex: 0 0 12px !important;
  margin: 0 !important;
  position: static !important;
}

body .main-sidebar .pull-right-container i,
body .sidebar .pull-right-container i {
  font-size: 10px !important;
}

/* 3. 分组标题：加深、加粗、加间距 */
body .main-sidebar .gekai,
body .sidebar .gekai,
body .main-sidebar p.gekai {
  color: #8b94a8 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  padding: 16px 18px 7px !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px;
}

body .main-sidebar .gekai::after,
body .sidebar .gekai::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #e8ecf4, transparent);
}

/* 4. 选中态：对比度加强 */
body .main-sidebar li.active > a,
body .sidebar li.active > a,
body .layui-side li.layui-this > a {
  background: linear-gradient(90deg, #ece9ff 0%, #f4f2ff 100%) !important;
  color: #4f46e5 !important;
  font-weight: 700 !important;
  box-shadow: inset 0 0 0 1px #e0dcff !important;
}

body .main-sidebar li.active > a > span,
body .sidebar li.active > a > span {
  color: #4f46e5 !important;
}

body .main-sidebar li.active > a > i.fa,
body .sidebar li.active > a > i.fa {
  color: #4f46e5 !important;
}

/* 左侧紫条更明显 */
body .main-sidebar li.active > a::before,
body .sidebar li.active > a::before {
  width: 3.5px !important;
  height: 18px !important;
  background: var(--c-grad-3) !important;
  left: -8px !important;
  border-radius: 0 3px 3px 0;
}

/* 5. 二级菜单：同样居中 */
body .main-sidebar .treeview-menu > li > a,
body .sidebar .treeview-menu > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 36px !important;
  padding: 7px 12px 7px 42px !important;
  font-size: 12.8px !important;
  color: #6b7280 !important;
}

body .main-sidebar .treeview-menu > li > a > span,
body .sidebar .treeview-menu > li > a > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .main-sidebar .treeview-menu > li.active > a,
body .sidebar .treeview-menu > li.active > a {
  color: #4f46e5 !important;
  font-weight: 600 !important;
  background: #f4f2ff !important;
  border-radius: 8px !important;
}

/* ============================================================
 * v5 · 全局按钮：干掉老式灰方框
 * ============================================================ */

/* 所有原生 button / .layui-btn 统一圆角 */
button,
input[type="submit"],
input[type="button"],
.layui-btn {
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  padding: 9px 18px !important;
  border: 1.5px solid var(--c-border-2) !important;
  background: #fff !important;
  color: var(--c-text) !important;
  cursor: pointer;
  transition: all .18s cubic-bezier(.4,0,.2,1) !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.04) !important;
  line-height: 1.4 !important;
}

button:hover,
input[type="submit"]:hover,
.layui-btn:hover {
  border-color: var(--c-primary) !important;
  color: var(--c-primary) !important;
  background: #fafaff !important;
  transform: translateY(-1px);
}

/* 主要按钮：蓝紫渐变 */
.btn-grad,
button.btn-primary,
button.btn-grad,
.layui-btn-normal {
  background: var(--c-grad-3) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 3px 10px rgba(99,102,241,.28) !important;
  padding: 10px 22px !important;
}

.btn-grad:hover,
button.btn-grad:hover,
.layui-btn-normal:hover {
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(99,102,241,.36) !important;
  transform: translateY(-1px);
}

/* 金色按钮（关键动作） */
.btn-gold {
  background: var(--c-gold-grad) !important;
  color: #3d2606 !important;
  border: 0 !important;
  box-shadow: 0 3px 10px rgba(232,163,61,.30) !important;
}
.btn-gold:hover {
  color: #3d2606 !important;
  box-shadow: 0 8px 22px rgba(232,163,61,.40) !important;
}

/* 表单里的提交按钮自动渐变（layui-form 内的 submit） */
.layui-form button[type="submit"],
.layui-form input[type="submit"],
form button[type="submit"]:not(.ghost) {
  background: var(--c-grad-3) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 3px 10px rgba(99,102,241,.28) !important;
}
/* ============================================================
 * v5 · 诊断 PRO 页重做（卡片化 + 蓝紫金）
 * ============================================================ */
.pro2-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 4px 0 40px;
}

/* 页头 */
.pro2-head {
  margin-bottom: 22px;
}

.pro2-head h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.025em;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pro2-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--c-gold-grad);
  color: #3d2606;
  box-shadow: 0 2px 6px rgba(232,163,61,.30);
  transform: translateY(-2px);
}

.pro2-head p {
  font-size: 13.5px;
  color: var(--c-text-2);
  line-height: 1.75;
  margin: 0 0 12px;
  max-width: 720px;
}

.pro2-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pro2-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-2);
  background: #f7f8fc;
  border: 1px solid var(--c-border);
  border-radius: 7px;
  padding: 5px 11px;
}

.pro2-meta span i {
  color: var(--c-primary);
  font-size: 12px;
}

.pro2-meta span.gold {
  background: linear-gradient(135deg, #fffdf6, #fef8ec);
  border-color: #f5e3bc;
  color: var(--c-gold-deep);
}
.pro2-meta span.gold i { color: var(--c-gold); }

/* 卡片 */
.pro2-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--sh-card);
  margin-bottom: 14px;
  transition: all .2s;
}

.pro2-card:focus-within {
  border-color: #c7c3fb;
  box-shadow: 0 0 0 3px rgba(99,102,241,.09), var(--sh-card);
}

.pro2-brand {
  border-left: 3px solid var(--c-primary);
}

.pro2-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 11px;
}

.pro2-label b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: var(--c-grad-3);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0;
  flex: 0 0 21px;
}

.pro2-label em {
  color: #ef4444;
  font-style: normal;
  font-weight: 700;
}

/* 输入框 */
.pro2-input {
  width: 100% !important;
  height: 44px !important;
  padding: 0 14px !important;
  font-size: 13.5px !important;
  color: var(--c-text) !important;
  background: #fbfcfe !important;
  border: 1.5px solid var(--c-border-2) !important;
  border-radius: 10px !important;
  transition: all .16s !important;
  box-sizing: border-box;
}

.pro2-input::placeholder {
  color: #b3bbcb !important;
  font-size: 13px !important;
}

.pro2-input:focus {
  background: #fff !important;
  border-color: var(--c-primary) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.10) !important;
  outline: none !important;
}

/* 品牌名称行 */
.pro2-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.pro2-row .pro2-input {
  flex: 1 1 auto;
  min-width: 0;
}

.pro2-probe {
  flex: 0 0 auto !important;
  height: 44px !important;
  padding: 0 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: var(--c-gold-grad) !important;
  color: #3d2606 !important;
  box-shadow: 0 3px 10px rgba(232,163,61,.30) !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  cursor: pointer;
  transition: all .18s !important;
}

.pro2-probe:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(232,163,61,.40) !important;
  color: #3d2606 !important;
  border: 0 !important;
  background: var(--c-gold-grad) !important;
}

.pro2-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: var(--c-text-3);
  line-height: 1.7;
  margin-top: 11px;
  padding: 9px 12px;
  background: #fafbfe;
  border-radius: 8px;
  border: 1px dashed #e5e9f2;
}

.pro2-hint i {
  color: var(--c-primary);
  font-size: 12px;
  margin-top: 2px;
  flex: 0 0 auto;
}

/* 2 列网格 */
.pro2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 860px) {
  .pro2-grid { grid-template-columns: 1fr; }
}

.pro2-grid .pro2-card {
  margin-bottom: 0;
}

/* 底部动作 */
.pro2-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pro2-submit {
  height: 48px !important;
  padding: 0 32px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--c-grad-3) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(99,102,241,.32) !important;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: all .2s cubic-bezier(.4,0,.2,1) !important;
  letter-spacing: .01em;
}

.pro2-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(99,102,241,.42) !important;
  color: #fff !important;
  background: var(--c-grad-3) !important;
  border: 0 !important;
}

.pro2-submit:active {
  transform: translateY(0);
}

.pro2-ghost {
  height: 48px !important;
  padding: 0 22px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border: 1.5px solid var(--c-border-2) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--c-text-2) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all .18s !important;
}

.pro2-ghost:hover {
  border-color: var(--c-primary) !important;
  color: var(--c-primary) !important;
  background: #fafaff !important;
  transform: translateY(-1px);
}

/* 老 class 兜底（万一还有残留） */
.pro-wrap, .pro-head, .pro-form { all: unset; display: block; }
/* ============================================================
 * v5 补充：侧栏 240px + 徽章防裁切 + 分组标题加深
 * ============================================================ */
body .main-sidebar,
body .sidebar,
body .layout-aside {
  width: 240px !important;
}

/* 徽章永不裁切 */
body .main-sidebar a .label,
body .sidebar a .label,
body .main-sidebar a small,
body .sidebar a small.label {
  flex: 0 0 auto !important;
  min-width: 26px !important;
  text-align: center !important;
  overflow: visible !important;
  font-size: 9.5px !important;
  padding: 2px 6px !important;
  margin-left: auto !important;
  white-space: nowrap !important;
}

/* 分组标题加深 */
body .main-sidebar .gekai,
body .sidebar .gekai,
body .main-sidebar p.gekai {
  color: #7a8599 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  padding: 18px 18px 8px !important;
}

body .main-sidebar .gekai::after,
body .sidebar .gekai::after {
  background: linear-gradient(90deg, #dfe4ee, transparent) !important;
}

/* 菜单文字稍大 */
body .main-sidebar a,
body .sidebar a {
  font-size: 13.5px !important;
}
/* 自动任务状态 */
.kg-auto-on {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  border-radius: 6px;
  padding: 3px 8px;
  cursor: help;
}
.kg-auto-off {
  font-size: 12px;
  color: #94a3b8;
}
/* 收录监测页 */
.im-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 1000px) { .im-stats { grid-template-columns: repeat(2, 1fr); } }

.im-stat {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--sh-card);
  transition: all .2s;
}
.im-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-hover);
}
.im-stat .stat-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  background: var(--c-grad-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.im-stat .stat-num.gold {
  background: var(--c-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.im-stat .stat-label {
  font-size: 12.5px;
  color: var(--c-text-3);
  margin-top: 7px;
  font-weight: 500;
}

.im-row2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
@media (max-width: 1000px) { .im-row2 { grid-template-columns: 1fr; } }

/* 竞品对比 */
.cmp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f4f6fb;
}
.cmp-row:last-child { border-bottom: 0; }

.cmp-name {
  flex: 0 0 150px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmp-bar {
  flex: 1 1 auto;
  height: 8px;
  background: #f0f2f8;
  border-radius: 99px;
  overflow: hidden;
}

.cmp-bar > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--c-grad-3);
  transition: width .6s cubic-bezier(.4,0,.2,1);
}

.cmp-row:first-child .cmp-bar > i {
  background: var(--c-gold-grad);
  box-shadow: 0 0 10px rgba(232,163,61,.35);
}

.cmp-val {
  flex: 0 0 60px;
  text-align: right;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}

/* 竞品对比：我方高亮 */
.cmp-name.self {
  color: var(--c-gold-deep);
  font-weight: 800;
}
.cmp-bar > i.self {
  background: var(--c-gold-grad) !important;
  box-shadow: 0 0 10px rgba(232,163,61,.40);
}
/* 徽章不许换行 */
.badge-soft {
  white-space: nowrap !important;
  display: inline-block;
  line-height: 1.5;
}

/* 表格里的徽章列窄一点 */
.layui-table td .badge-soft {
  min-width: 52px;
  text-align: center;
}

/* 账号权益页 */
.qy-status { margin-bottom: 8px; }

.qy-cur {
  background: linear-gradient(135deg, #f6f5ff 0%, #eef2ff 100%);
  border: 1px solid #e0e4fb;
  border-radius: var(--r-lg);
  padding: 24px 26px;
  box-shadow: var(--sh-card);
}

.qy-cur-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.qy-cur-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.02em;
  margin-bottom: 6px;
}

.qy-cur-sub {
  font-size: 13px;
  color: var(--c-text-2);
  line-height: 1.7;
}

.qy-cur-score { text-align: right; flex: 0 0 auto; }

.qy-cur-score .n {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  background: var(--c-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.03em;
}

.qy-cur-score .l {
  font-size: 11.5px;
  color: var(--c-text-3);
  margin-top: 4px;
}

.qy-quotas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}

@media (max-width: 900px) { .qy-quotas { grid-template-columns: 1fr; } }

/* 套餐卡 */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .pkg-grid { grid-template-columns: 1fr; } }

.pkg-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  box-shadow: var(--sh-card);
  transition: all .24s cubic-bezier(.4,0,.2,1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pkg-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-hover);
  border-color: #d8d4fc;
}

.pkg-card.current {
  border: 2px solid #b9b2fb;
  background: linear-gradient(180deg, #fafaff, #fff);
  box-shadow: 0 8px 28px -10px rgba(99,102,241,.28);
}

.pkg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 24px;
}

.pkg-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.01em;
}

.pkg-price {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.pkg-price b {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.03em;
  background: var(--c-grad-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pkg-price span {
  font-size: 12.5px;
  color: var(--c-text-3);
}

.pkg-desc {
  font-size: 12px;
  color: var(--c-text-3);
  line-height: 1.7;
  margin-bottom: 16px;
  min-height: 40px;
}

.pkg-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  flex: 1;
}

.pkg-list li {
  font-size: 12.5px;
  color: var(--c-text-2);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pkg-list li i {
  color: #10b981;
  font-size: 11px;
  flex: 0 0 auto;
}

.pkg-list li b {
  color: var(--c-text);
  font-weight: 700;
}

.pkg-btn {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--c-grad-3);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s;
  box-shadow: 0 3px 10px rgba(99,102,241,.26);
}

.pkg-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(99,102,241,.36);
}

.pkg-btn.ghost {
  background: #f4f2ff;
  color: var(--c-primary);
  box-shadow: none;
  cursor: default;
}

.pkg-btn:disabled { cursor: default; }


/* 首页套餐小卡 */
.pkg-mini {
  background: linear-gradient(135deg, #f6f5ff, #eef2ff);
  border: 1px solid #e0e4fb;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pkg-mini.none {
  background: #fafbfe;
  border-color: var(--c-border);
}

.pkg-mini-top {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pkg-mini-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.01em;
}

.pkg-mini-days {
  font-size: 11.5px;
  color: var(--c-primary);
  font-weight: 600;
}

.pkg-mini-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none !important;
  white-space: nowrap;
  flex: 0 0 auto;
}

.pkg-mini-link:hover { text-decoration: underline !important; }

/* 充值中心 */
.rc-status {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 900px) { .rc-status { grid-template-columns: 1fr; } }

.rc-balance {
  background: linear-gradient(135deg, #f6f5ff, #eef2ff);
  border: 1px solid #e0e4fb;
  border-radius: var(--r-lg);
  padding: 22px 24px;
  box-shadow: var(--sh-card);
}

.rc-bal-label { font-size: 12.5px; color: var(--c-text-3); margin-bottom: 8px; }

.rc-bal-num {
  font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  background: var(--c-gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.rc-bal-sub { font-size: 11.5px; color: var(--c-text-3); margin-top: 7px; }

.rc-tip {
  background: #fafbfe;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  font-size: 13px;
  color: var(--c-text-2);
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rc-quick {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rc-amt {
  min-width: 86px;
  height: 46px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1.5px solid var(--c-border-2) !important;
  background: #fff !important;
  color: var(--c-text) !important;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .16s;
  box-shadow: 0 1px 2px rgba(15,23,42,.04) !important;
}

.rc-amt:hover {
  border-color: var(--c-primary) !important;
  color: var(--c-primary) !important;
  transform: translateY(-1px);
}

.rc-amt.on {
  border-color: var(--c-primary) !important;
  background: linear-gradient(135deg,#f4f2ff,#faf8ff) !important;
  color: var(--c-primary) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.10) !important;
}

.rc-pay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--c-border-2);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-text-2);
  cursor: pointer;
  transition: all .16s;
  background: #fff;
}

.rc-pay:hover { border-color: var(--c-primary); color: var(--c-primary); }
.rc-pay input { accent-color: var(--c-primary); width: 15px; height: 15px; }
.rc-pay span { white-space: nowrap; }
.rc-pay:has(input:checked) {
  border-color: var(--c-primary);
  background: #faf8ff;
  color: var(--c-primary);
}
/* 导出下拉 */
.im-export { position: relative; display: inline-block; }

.im-exp-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 11px;
  box-shadow: 0 8px 28px -8px rgba(15,23,42,.18);
  padding: 6px;
  z-index: 50;
}

.im-exp-menu a {
  display: block;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--c-text);
  text-decoration: none !important;
  transition: all .14s;
  white-space: nowrap;
}

.im-exp-menu a:hover {
  background: #f5f6fb;
  color: var(--c-primary);
}
/* 邀请页 */
.iv-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  margin-bottom: 16px;
}
@media (max-width: 900px) { .iv-hero { grid-template-columns: 1fr; } }

.iv-left {
  background: linear-gradient(135deg, #f6f5ff, #eef2ff);
  border: 1px solid #e0e4fb;
  border-radius: var(--r-lg);
  padding: 26px 28px;
  box-shadow: var(--sh-card);
}

.iv-kicker { font-size: 12.5px; color: var(--c-text-3); margin-bottom: 10px; }

.iv-code {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.1;
  background: var(--c-grad-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  margin-bottom: 18px;
}

.iv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }

.iv-url {
  font-size: 12px;
  color: var(--c-text-3);
  word-break: break-all;
  background: #fff;
  border: 1px dashed var(--c-border-2);
  border-radius: 8px;
  padding: 10px 13px;
  font-family: ui-monospace, Consolas, monospace;
}

.iv-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.iv-stat {
  flex: 1;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.iv-stat .n {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  background: var(--c-grad-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.iv-stat .n.gold {
  background: var(--c-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
}

.iv-stat .l { font-size: 12px; color: var(--c-text-3); margin-top: 6px; }

/* ============================================================
 * 移动端适配（手机 / 平板）
 * ============================================================ */

/* 汉堡按钮（默认隐藏） */
.mobile-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--c-text);
  font-size: 19px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  transition: background .16s;
  flex: 0 0 auto;
}
.mobile-burger:hover { background: #f5f6fb; }

/* 侧栏遮罩（默认隐藏） */
.mobile-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.45);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.mobile-mask.show { display: block; }

@media (max-width: 900px) {
  /* 顶栏 */
  body .main-header {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 12px !important;
  }

  .mobile-burger {
    display: inline-flex !important;
    position: fixed !important;
    left: 10px !important;
    top: 7px !important;
    z-index: 1100 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.14) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }

  /* logo 给汉堡让位 */
  body .main-header .logo,
  body .main-header .navbar-brand {
    padding-left: 56px !important;
    width: auto !important;
  }

  body .main-header .logo,
  body .main-header .navbar-brand {
    font-size: 14.5px !important;
    padding-left: 6px !important;
  }

  /* 侧栏变抽屉 */
  body .main-sidebar,
  body .sidebar,
  body .layout-aside,
  body .layui-side,
  body aside.main-sidebar {
    display: block !important;          /* 覆盖 skin-blue 的 display:none */
    position: fixed !important;
    top: 52px !important;
    left: -260px !important;
    bottom: 0 !important;
    width: 248px !important;
    height: auto !important;
    z-index: 999 !important;
    transition: left .28s cubic-bezier(.4,0,.2,1) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: 4px 0 24px rgba(15,23,42,.12);
    visibility: visible !important;
    opacity: 1 !important;
  }

  body .main-sidebar.open,
  body .sidebar.open,
  body .layout-aside.open,
  body .layui-side.open,
  body aside.main-sidebar.open {
    display: block !important;
    left: 0 !important;
    visibility: visible !important;
  }

  /* 内容区全宽 */
  body .content-wrapper,
  body .layui-body,
  body .main-content {
    margin-left: 0 !important;
    padding: 12px 14px 24px !important;
    min-height: calc(100vh - 52px) !important;
  }

  /* 五步闭环：2 列 */
  .geo-steps { display: flex !important; overflow-x: auto !important; gap: 10px !important; }
  .geo-steps .geo-step { flex: 0 0 190px !important; }
  .geo-step { padding: 16px 12px !important; }
  .geo-step .ico { width: 42px !important; height: 42px !important; font-size: 17px !important; margin-bottom: 10px !important; }
  .geo-step .nm { font-size: 14px !important; }
  .geo-step .ds { font-size: 11px !important; }

  /* 首页两列布局：单列 */
  .dash-v2 .row2 { grid-template-columns: 1fr !important; }

  /* 表格横向滚动 */
  .layui-table,
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .layui-table thead,
  .layui-table tbody {
    display: table;
    width: 100%;
    min-width: 620px;
  }

  /* 卡片 padding 收紧 */
  .pub-panel { padding: 16px 14px !important; }
  .wall-head { font-size: 17px !important; margin-bottom: 12px !important; }

  /* 按钮更容易点 */
  .pub-btn, .layui-btn, button {
    min-height: 40px !important;
    padding: 9px 16px !important;
  }

  /* 表单行改竖排 */
  .pf-row {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .pf-row > label {
    flex: 0 0 auto !important;
    padding-top: 0 !important;
    font-size: 12.5px !important;
  }
  .pf-row > input,
  .pf-row > select,
  .pf-row > textarea {
    width: 100% !important;
  }

  /* 大数字缩小 */
  .stat-num, .im-stat .stat-num, .iv-stat .n { font-size: 24px !important; }
  .rc-bal-num { font-size: 26px !important; }
  .iv-code { font-size: 30px !important; }

  /* 套餐卡：2 列 */
  .lp-prices, .pkg-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .pkg-card { padding: 16px 14px !important; }
  .pkg-price b { font-size: 22px !important; }

  /* 竞品对比条 */
  .cmp-name, .rp-bar-name { flex: 0 0 84px !important; font-size: 11.5px !important; }

  /* 说明卡：单列 */
  .geo-note-grid { grid-template-columns: 1fr !important; }

  /* 收录监测两列 → 单列 */
  .im-row2 { grid-template-columns: 1fr !important; }
  .im-stats { grid-template-columns: repeat(2, 1fr) !important; }

  /* 权益页额度两列 → 单列 */
  .qy-quotas { grid-template-columns: 1fr !important; }
  .qy-cur-top { flex-direction: column !important; gap: 12px !important; }
  .qy-cur-score { text-align: left !important; }

  /* 充值页 */
  .rc-status { grid-template-columns: 1fr !important; }
  .rc-quick { gap: 8px !important; }
  .rc-amt { min-width: 72px !important; height: 42px !important; padding: 0 12px !important; font-size: 13px !important; }

  /* 邀请页 */
  .iv-hero { grid-template-columns: 1fr !important; }
  .iv-right { flex-direction: row !important; }
  .iv-stat { padding: 14px !important; }

  /* 落地页适配 */
  .lp-nav { padding: 0 16px !important; height: 56px !important; }
  .lp-nav-r a:not(.btn) { display: none !important; }
  .lp-hero { padding: 100px 20px 60px !important; }
  .lp-hero h1 { font-size: 30px !important; }
  .lp-hero p { font-size: 15px !important; }
  .lp-cta a { padding: 13px 24px !important; font-size: 14px !important; }
  .lp-nums { gap: 28px !important; padding: 24px 16px !important; }
  .lp-num b { font-size: 24px !important; }
  .lp-sec { padding: 56px 20px !important; }
  .lp-sec-h h2 { font-size: 24px !important; }
  .lp-sec-h p { font-size: 14px !important; }
  .lp-steps { grid-template-columns: repeat(2, 1fr) !important; }
  .lp-feats { grid-template-columns: 1fr !important; }
  .lp-prices { grid-template-columns: 1fr !important; }
  .lp-price-card.hot { transform: none !important; }
  .lp-end h2 { font-size: 24px !important; }

  /* 报告页在手机上不做适配（本来就是 A4 打印） */
}

@media (max-width: 480px) {
  body .content-wrapper { padding: 10px 10px 20px !important; }
  .pub-panel { padding: 14px 12px !important; }

  /* 五步卡片：2 列紧凑（不要单列，太高） */
  .geo-steps { display: flex !important; overflow-x: auto !important; gap: 8px !important; }
  .geo-steps .geo-step { flex: 0 0 170px !important; }
  .geo-step { padding: 12px 8px !important; }
  .geo-step .ico { width: 34px !important; height: 34px !important; font-size: 14px !important; margin-bottom: 7px !important; border-radius: 11px !important; }
  .geo-step .no { font-size: 9.5px !important; margin-bottom: 2px !important; }
  .geo-step .nm { font-size: 12.5px !important; margin-bottom: 3px !important; }
  .geo-step .tag { font-size: 10px !important; padding: 2px 6px !important; margin-bottom: 5px !important; }
  .geo-step .ds { font-size: 10px !important; line-height: 1.4 !important; }

  .im-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .lp-prices, .pkg-grid { grid-template-columns: 1fr !important; }
  .iv-right { flex-direction: column !important; }
  .dash-v2 { padding: 14px 12px 28px !important; }

  /* 卡片内大数字再缩 */
  .stat-num, .im-stat .stat-num { font-size: 20px !important; }
  .im-stat { padding: 14px 12px !important; }
}


/* 移动端 logo 彻底去蓝 */
@media (max-width: 900px) {
  body .main-header .logo,
  body .main-header .logo:hover,
  body .main-header .navbar-brand,
  .skin-blue .main-header .logo {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--c-text) !important;
    border-bottom: 0 !important;
  }
  body .main-header {
    background: #fff !important;
  }
}

/* ============================================================
 * 移动端侧栏内部宽度修正（slimScroll / sidebar-menu）
 * ============================================================ */
@media (max-width: 900px) {
  html body .main-sidebar,
  html body aside.main-sidebar,
  html body .sidebar {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }

  html body .main-sidebar .slimScrollDiv,
  html body .main-sidebar .slimScrollDiv > div,
  html body .main-sidebar .sidebar,
  html body .main-sidebar .sidebar-menu,
  html body .main-sidebar ul.sidebar-menu,
  html body .main-sidebar ul,
  html body .main-sidebar .user-panel,
  html body .main-sidebar .sidebar-form {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    box-sizing: border-box !important;
  }

  html body .main-sidebar .slimScrollBar,
  html body .main-sidebar .slimScrollRail {
    display: none !important;
  }

  html body .main-sidebar li,
  html body .main-sidebar li a {
    width: 100% !important;
  }

  html body .main-sidebar li a {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 11px 18px !important;
    font-size: 13.5px !important;
    white-space: normal !important;
    height: auto !important;
    line-height: 1.5 !important;
  }

  html body .main-sidebar li a i {
    width: 18px !important;
    text-align: center !important;
    flex: 0 0 auto !important;
    margin-right: 0 !important;
  }

  html body .main-sidebar li a span {
    flex: 1 !important;
    min-width: 0 !important;
  }

  html body .main-sidebar .gekai {
    padding: 16px 18px 6px !important;
    font-size: 10.5px !important;
    letter-spacing: .08em !important;
  }
}

/* ============================================================
 * 移动端侧栏：用 transform 代替 left（防 AdminLTE 行内样式覆盖）
 * ============================================================ */
@media (max-width: 900px) {
  html body .main-sidebar,
  html body aside.main-sidebar,
  html body .sidebar {
    left: 0 !important;
    margin-left: 0 !important;
    transform: translateX(-100%) !important;
    transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s !important;
    box-shadow: none;
    will-change: transform;
  }

  html body .main-sidebar.open,
  html body aside.main-sidebar.open,
  html body .sidebar.open {
    left: 0 !important;
    margin-left: 0 !important;
    transform: translateX(0) !important;
    box-shadow: 6px 0 32px rgba(15,23,42,.22) !important;
  }
}


/* ============================================================
 * 移动端侧栏菜单归位（防 sidebar-mini 把 ul 挪出去）
 * ============================================================ */
@media (max-width: 900px) {
  html body .main-sidebar .slimScrollDiv,
  html body .main-sidebar .slimScrollDiv > div,
  html body .main-sidebar ul.sidebar-menu,
  html body .main-sidebar ul.treeview-menu,
  html body .main-sidebar .sidebar-menu,
  html body .main-sidebar > ul,
  html body .main-sidebar > div {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
  }

  html body .main-sidebar ul.sidebar-menu {
    padding-top: 8px !important;
    padding-bottom: 20px !important;
  }

  /* treeview 子菜单：默认收起，展开时显示 */
  html body .main-sidebar ul.treeview-menu {
    display: none !important;
    padding-left: 12px !important;
  }

  html body .main-sidebar li.treeview.menu-open > ul.treeview-menu,
  html body .main-sidebar li.treeview.active > ul.treeview-menu {
    display: block !important;
  }
}


/* ============================================================
 * 侧栏内层 section.sidebar 复位（关键！）
 * 结构：aside.main-sidebar > section.sidebar > ul.sidebar-menu
 * ============================================================ */
@media (max-width: 900px) {
  html body .main-sidebar .sidebar,
  html body aside.main-sidebar > section.sidebar,
  html body .main-sidebar section.sidebar {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

/* 风险等级徽章（文章列表） */
.risk-badge-high {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.risk-badge-medium {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.risk-badge-low {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #94a3b8;
}
/* 风险提示条（文章编辑页） */
.risk-bar {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 13px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.risk-bar.high {
  background: linear-gradient(135deg, #fef2f2, #fff5f5);
  border: 1px solid #fecaca;
}

.risk-bar.mid {
  background: linear-gradient(135deg, #fffbeb, #fffdf5);
  border: 1px solid #fde68a;
}

.risk-bar-icon {
  font-size: 20px;
  line-height: 1.2;
  flex: 0 0 auto;
}

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

.risk-bar-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.5;
}

.risk-bar-words {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 12px;
  line-height: 1.9;
}

.risk-bar-words code {
  display: inline-block;
  background: #fff;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 1px 8px;
  border-radius: 5px;
  font-size: 12px;
  margin: 0 3px 3px 0;
  font-weight: 600;
}

.risk-bar.mid .risk-bar-words code {
  border-color: #fde68a;
  color: #d97706;
}

.risk-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.risk-bar-btn {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(99,102,241,.28);
  transition: all .18s;
}

.risk-bar-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(99,102,241,.36);
}

.risk-bar-btn:disabled { opacity: .6; cursor: default; }

.risk-bar-tip {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.7;
  flex: 1;
  min-width: 0;
}
/* 个人中心 */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 1000px) { .pf-grid { grid-template-columns: 1fr; } }

.pf-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (max-width: 900px) { .pf-stats { grid-template-columns: repeat(2, 1fr); } }

.pf-stat {
  text-align: center;
  padding: 18px 12px;
  background: #fafbfe;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.pf-stat .n {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  background: var(--c-grad-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pf-stat .n.gold {
  background: var(--c-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
}

.pf-stat .l {
  font-size: 11.5px;
  color: var(--c-text-3);
  margin-top: 6px;
}
/* API Key 列表 */
.api-list { display: flex; flex-direction: column; gap: 8px; }

.api-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #fafbfe;
  border: 1px solid var(--c-border);
  border-radius: 11px;
  flex-wrap: wrap;
}

.api-row-l { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }

.api-row-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}

.api-row-key {
  font-size: 11.5px;
  color: var(--c-text-3);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 3px 9px;
  font-family: ui-monospace, Consolas, monospace;
  white-space: nowrap;
}

.api-row-r { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }

.api-row-stat { font-size: 11.5px; color: var(--c-text-3); }

.api-btn {
  height: 30px;
  padding: 0 13px;
  border: 1px solid var(--c-border-2);
  border-radius: 8px;
  background: #fff;
  color: var(--c-text-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .16s;
}

.api-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.api-btn.del:hover { border-color: #fca5a5; color: #dc2626; background: #fef2f2; }
/* Webhook 事件选择 */
.wh-ev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1.5px solid var(--c-border-2);
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-text-2);
  cursor: pointer;
  transition: all .16s;
  background: #fff;
  white-space: nowrap;
}

.wh-ev:hover { border-color: var(--c-primary); color: var(--c-primary); }
.wh-ev input { accent-color: var(--c-primary); width: 14px; height: 14px; }
.wh-ev:has(input:checked) { border-color: var(--c-primary); background: #faf8ff; color: var(--c-primary); }
/* 竞品排名 */
.cmp-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cmp-rank {
  flex: 0 0 auto;
  min-width: 96px;
  text-align: right;
  font-size: 11.5px;
  color: var(--c-text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cmp-row .cmp-name.self ~ .cmp-rank {
  color: #d97706;
  font-weight: 700;
}
/* ============================================================
 * 移动端：发布页优化
 * ============================================================ */
@media (max-width: 900px) {
  /* 平台卡片：2 列紧凑（原来 auto-fill minmax(150px) 在 390px 下只出 1-2 列） */
  .pub-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .pub-card {
    padding: 10px 11px !important;
    border-radius: 11px !important;
  }

  .pub-name {
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  .pub-lv {
    font-size: 9.5px !important;
    padding: 1px 6px !important;
  }

  .pub-meta {
    font-size: 10.5px !important;
    margin: 5px 0 7px !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  .pub-acts {
    gap: 5px !important;
    flex-wrap: wrap !important;
  }

  .pub-acts .pub-btn,
  .pub-card .pub-btn {
    font-size: 11px !important;
    padding: 5px 9px !important;
    min-height: 30px !important;
    height: auto !important;
  }

  /* Banner 图隐藏（占半屏没意义） */
  .publish-page .module-hero .hero-art,
  .publish-page .module-hero::before {
    display: none !important;
  }

  /* 移动端：隐藏复杂 hero，用简单标题代替 */
  .publish-page .module-hero {
    display: none !important;
  }

  .publish-page::before {
    content: '自媒体发布';
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--c-text);
    padding: 16px 16px 10px;
    letter-spacing: -.02em;
    border-left: 3px solid var(--c-primary);
    margin: 0 0 4px 2px;
    padding-left: 12px;
  }

  .publish-page .hero-copy h1 {
    font-size: 19px !important;
  }

  .publish-page .hero-copy p {
    font-size: 12px !important;
    line-height: 1.7 !important;
  }

  .publish-page .hero-stats {
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 11px !important;
  }

  /* 发布表单：下拉框全宽 */
  .publish-page select,
  .publish-page input[type="text"],
  .publish-page input[type="number"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 批量发布的平台复选框：2 列 */
  .publish-page .batch-plats,
  .publish-page .chk-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  /* 发布记录表：中屏（641-900px）横向滚动 */
  .publish-page table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .publish-page table thead,
  .publish-page table tbody {
    display: table;
    width: 100%;
    min-width: 520px;
  }
}

/* ≤640px：发布记录改成卡片式（详细样式在 skin-muli.css），
   这里只负责把上面「横向滚动 + min-width:520px」的旧规则解掉，
   否则表格会撑到 520px，平台名被挤成竖排、链接和时间列看不见 */
@media (max-width: 640px) {
  .publish-page table,
  .publish-page table thead,
  .publish-page table tbody,
  .publish-page table tr,
  .publish-page table td {
    min-width: 0 !important;
  }

  .publish-page table {
    display: block !important;
    overflow-x: visible !important;
  }

  .publish-page table thead {
    display: none !important;
  }

  .publish-page table tbody {
    display: block !important;
  }
}

@media (max-width: 480px) {
  .pub-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }
  .pub-card { padding: 9px 9px !important; }
  .pub-name { font-size: 12.5px !important; }
  .publish-page h2, .publish-page h3 { font-size: 14px !important; }
}
/* 积分抵扣提示（套餐卡） */
.pkg-score-tip {
  font-size: 11.5px;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 8px;
  text-align: center;
  font-weight: 600;
}
/* 首页核心数据 8 卡网格 */
.stat-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* 8 张卡：只走 4 列 / 2 列，永远整除（3 列会剩 1 个孤儿卡） */
@media (max-width: 900px) { .stat-grid-8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stat-grid-8 { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* 移动端点击目标加大（表格场景折中 30px） */
@media (max-width: 640px) {
  .btn, button.btn, a.btn {
    min-height: 32px;
    padding: 6px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
  }
  td .btn, th .btn, .tbl .btn {
    min-height: 30px;
    padding: 5px 10px;
  }
  .pg, a.pg {
    min-height: 30px;
    min-width: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* 顶栏按钮同样加大 */
  header a, header button, .topbar a, .topbar button {
    min-height: 30px;
  }

  /* 素材卡片的「立即体验」主行动 */
  .geo-tile .go, .geo-step .go, a.go {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(99, 102, 241, .08);
  }

  /* 套餐权益链接 */
  .pkg-mini-link {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
  }
}

.stat-grid-8 .stat-num { font-size: 26px !important; }
@media (max-width: 600px) { .stat-grid-8 .stat-num { font-size: 20px !important; } }
/* 落地页：实测数据案例 */
.lp-case {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1000px) { .lp-case { grid-template-columns: 1fr; gap: 24px; } }

.lp-case-block {
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.10);
}

.lp-case-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
  letter-spacing: .02em;
}

.lp-case-tag.bad { background: #fef2f2; color: #dc2626; }
.lp-case-tag.good { background: #ecfdf5; color: #059669; }

.lp-case-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-case-list li {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.9;
  padding-left: 18px;
  position: relative;
}

.lp-case-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #cbd5e1;
}

.lp-case-r { display: flex; flex-direction: column; gap: 16px; }

.lp-case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 600px) { .lp-case-stats { grid-template-columns: repeat(2, 1fr); } }

.lp-case-stat {
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: 13px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}

.lp-case-stat .n {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-case-stat .n.gold {
  background: linear-gradient(135deg, #f5c451, #c9821f);
  -webkit-background-clip: text;
  background-clip: text;
}

.lp-case-stat .l {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 6px;
}

.lp-case-comp {
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.10);
}

.lp-case-comp-h {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.lp-case-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}

.lp-case-row .nm {
  flex: 0 0 72px;
  font-size: 12.5px;
  color: #64748b;
  white-space: nowrap;
}

.lp-case-row .bar {
  flex: 1;
  height: 9px;
  background: #f1f5f9;
  border-radius: 5px;
  overflow: hidden;
}

.lp-case-row .bar i {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #4f46e5, #a78bfa);
}

.lp-case-row.self .nm { color: #c9821f; font-weight: 800; }
.lp-case-row.self .bar i { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.lp-case-row .vl {
  flex: 0 0 auto;
  font-size: 12px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lp-case-row.self .vl { color: #c9821f; font-weight: 700; }

.lp-case-quote {
  margin-top: 32px;
  padding: 26px 32px;
  background: linear-gradient(135deg, #f8f7ff, #f0f4ff);
  border: 1px solid #e0e4fb;
  border-left: 4px solid #8b5cf6;
  border-radius: 14px;
  font-size: 15px;
  color: #334155;
  line-height: 2;
  font-style: italic;
}

@media (max-width: 600px) {
  .lp-case-quote { padding: 20px 22px; font-size: 13.5px; }
}
/* 额度分级标签（权益页） */
.quota-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 5px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: .02em;
}

.quota-tag.warn { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.quota-tag.danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
/* ============================================================
   平台卡片 · 两个按钮（打开官网 / 系统授权）
   注意：这些规则必须放在 design-v2.css ——
   它在本项目里是最后加载的，放在 skin-muli.css 里会被覆盖。
   ============================================================ */
.pub-card .pub-acts {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: 10px;
}
.pub-card .pub-acts > button {
  flex: 1 1 0;
  min-width: 0;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .16s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: none;
}

/* 主：打开官网 */
.pub-card .pub-acts > .btn-open {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(79, 70, 229, .24) !important;
}
.pub-card .pub-acts > .btn-open:hover {
  box-shadow: 0 4px 14px rgba(79, 70, 229, .36) !important;
  transform: translateY(-1px);
}
.pub-card .pub-acts > .btn-open:active { transform: none; }

/* 次：系统授权（描边） */
.pub-card .pub-acts > .btn-login {
  background: #f7f8ff !important;
  color: #4f46e5 !important;
  border-color: #c7cffb !important;
}
.pub-card .pub-acts > .btn-login:hover {
  background: #eef0ff !important;
  border-color: #a5b0f7 !important;
}

/* 已授权：次按钮转中性 */
.pub-card.on .pub-acts > .btn-login {
  background: #f8fafc !important;
  color: #64748b !important;
  border-color: #e2e8f0 !important;
}
.pub-card.on .pub-acts > .btn-login:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

/* 禁用 */
.pub-card .pub-acts > button[disabled],
.pub-card .pub-acts > button[disabled]:hover {
  background: #f8fafc !important;
  color: #b6c2d3 !important;
  border-color: #eef2f7 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 640px) {
  .pub-card .pub-acts > button { height: 34px; }
}
/* 覆盖 design-v2.css 里 .pub-btn 的 !important 强制值
   （那边写了 border:0 !important / border-radius:var(--r-md) !important） */
.pub-card .pub-acts > button {
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
  font-size: 12.5px !important;
  height: 32px !important;
  line-height: 1 !important;
  flex: 1 1 0 !important;
}
.pub-card .pub-acts > .btn-open {
  border-color: transparent !important;
}
.pub-card .pub-acts > .btn-login {
  border-color: #c7cffb !important;
}
.pub-card.on .pub-acts > .btn-login {
  border-color: #e2e8f0 !important;
}
.pub-card .pub-acts > button[disabled] {
  border-color: #eef2f7 !important;
}
/* ============================================================
   收录监测 · AI 引用来源榜
   ============================================================ */
.src-list { display: flex; flex-direction: column; gap: 7px; }

.src-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fafcff;
  border: 1px solid #eef3fa;
  transition: .15s;
}
.src-row:hover { background: #f4f8ff; border-color: #dbe7f8; }

.src-no {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: #eef2f8;
  color: #8494ab;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.src-row:nth-child(1) .src-no { background: #f5c451; color: #7a4a08; }
.src-row:nth-child(2) .src-no { background: #d6def8; color: #3b4a6b; }
.src-row:nth-child(3) .src-no { background: #f0e0cc; color: #8a5a2b; }

.src-host {
  flex: 0 0 190px;
  font-size: 12.5px;
  color: #334155;
  font-family: ui-monospace, Consolas, Monaco, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.src-bar {
  flex: 1;
  height: 6px;
  background: #eef2f8;
  border-radius: 3px;
  overflow: hidden;
}
.src-bar > i {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #818cf8, #a78bfa);
}

.src-cnt {
  flex: 0 0 auto;
  min-width: 34px;
  text-align: right;
  font-size: 11.5px;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .src-host { flex: 0 0 110px; font-size: 11.5px; }
  .src-cnt { min-width: 24px; font-size: 11px; }
}
/* ============================================================
   准确性核查页
   ============================================================ */
.acc-card {
  border: 1px solid #eef2f9;
  border-left: 3px solid #dc2626;
  border-radius: 9px;
  padding: 11px 13px;
  margin-bottom: 10px;
  background: #fbfdff;
}
.acc-card:last-child { margin-bottom: 0; }

.acc-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.acc-no {
  width: 18px; height: 18px;
  border-radius: 5px;
  color: #fff;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.acc-type { font-size: 12.5px; font-weight: 700; }
.acc-sev {
  font-size: 9px;
  letter-spacing: 1px;
  color: #f59e0b;
}
.acc-meta { margin-left: auto; font-size: 11.5px; color: #a3aec0; }

.acc-row {
  display: flex;
  gap: 9px;
  align-items: baseline;
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.65;
}
.acc-kbad, .acc-kgood {
  flex: 0 0 42px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-align: center;
}
.acc-kbad { background: #fee2e2; color: #b91c1c; }
.acc-kgood { background: #d1fae5; color: #047857; }
.acc-vbad { color: #b91c1c; text-decoration: line-through; text-decoration-color: #fca5a5; }
.acc-vgood { color: #047857; font-weight: 600; }

.acc-q {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed #e8eef8;
  font-size: 11.5px;
  color: #94a3b8;
}

/* 真相表单 */
.acc-fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.acc-field label {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 5px;
  font-weight: 600;
}
.acc-field input {
  width: 100%;
  height: 36px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 0 11px;
  font-size: 13px;
  outline: none;
  background: #fff;
  transition: .15s;
}
.acc-field input:focus { border-color: #93b4f7; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.acc-field input::placeholder { color: #b6c2d3; }

@media (max-width: 640px) {
  .acc-fields { grid-template-columns: 1fr; }
  .acc-meta { margin-left: 0; width: 100%; }
  .acc-row { flex-wrap: wrap; }
}
/* ============================================================
   工具箱：降 AI 率 + llms.txt
   ============================================================ */
.hz-textarea {
  width: 100%;
  min-height: 180px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.8;
  font-family: inherit;
  color: #1e293b;
  background: #fff;
  outline: none;
  resize: vertical;
  transition: .15s;
}
.hz-textarea:focus { border-color: #93b4f7; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.hz-textarea::placeholder { color: #b6c2d3; }

.llms-out {
  font-family: ui-monospace, Consolas, Monaco, monospace;
  font-size: 12.5px;
  min-height: 260px;
  background: #fbfdff;
}

.hz-hit {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  border-bottom: 1px dashed #eef2f9;
  font-size: 12.5px;
}
.hz-hit:last-child { border-bottom: 0; }
.hz-badge {
  flex: 0 0 auto;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 5px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hz-why { flex: 1; color: #475569; }
.hz-pat {
  flex: 0 0 auto;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 11.5px;
  color: #b91c1c;
}

.llms-fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

@media (max-width: 640px) {
  .hz-pat { display: none; }
  .hz-textarea { min-height: 140px; font-size: 13px; }
}
/* ============================================================
   GEO 综合评分
   ============================================================ */
.gs-panel { margin-bottom: 16px; }
.gs-body {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 22px 20px;
  flex-wrap: wrap;
}

.gs-ring {
  position: relative;
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  text-align: center;
}
.gs-ring svg { display: block; transform: rotate(0deg); }
.gs-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.gs-num b { font-size: 30px; font-weight: 800; line-height: 1; }
.gs-num span { font-size: 10.5px; color: #94a3b8; margin-top: 3px; }
.gs-level {
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  font-size: 12.5px;
  font-weight: 700;
}

.gs-right { flex: 1; min-width: 280px; padding-bottom: 16px; }

.gs-bars { display: flex; flex-direction: column; gap: 9px; }
.gs-row {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12.5px;
}
.gs-name {
  flex: 0 0 108px;
  color: #475569;
  font-weight: 600;
}
.gs-name i {
  font-style: normal;
  font-size: 10.5px;
  color: #b6c2d3;
  margin-left: 5px;
}
.gs-bar {
  flex: 1;
  height: 7px;
  background: #eef2f9;
  border-radius: 4px;
  overflow: hidden;
}
.gs-bar > i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #6366f1, #a78bfa);
  transition: width .5s ease;
}
.gs-val {
  flex: 0 0 34px;
  text-align: right;
  font-weight: 700;
  color: #334155;
  font-size: 12.5px;
}

.gs-tips {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px dashed #eef2f9;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.gs-tip {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.7;
  padding-left: 12px;
  border-left: 3px solid #fbbf24;
}
.gs-tip b {
  display: block;
  color: #b45309;
  font-size: 12.5px;
  margin-bottom: 2px;
}

@media (max-width: 640px) {
  .gs-body { gap: 18px; padding: 16px; }
  .gs-ring { margin: 0 auto; }
  .gs-right { min-width: 0; width: 100%; padding-bottom: 20px; }
  .gs-name { flex: 0 0 88px; font-size: 12px; }
  .gs-name i { display: none; }
}
/* ============================================================
   内容缺口分析
   ============================================================ */
.cg-page {
  border: 1px solid #eef2f9;
  border-radius: 9px;
  padding: 11px 13px;
  margin-bottom: 9px;
  background: #fbfdff;
}
.cg-page:last-child { margin-bottom: 0; }
.cg-page.bad { opacity: .62; background: #fafafa; }

.cg-phead {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.cg-pno {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: #eef2f8;
  color: #8494ab;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.cg-phost {
  font-size: 12.5px;
  font-family: ui-monospace, Consolas, Monaco, monospace;
  color: #334155;
  font-weight: 600;
}
.cg-pcnt {
  font-size: 11.5px;
  color: #6366f1;
  background: #eef2ff;
  border-radius: 5px;
  padding: 1px 7px;
}
.cg-pstate { margin-left: auto; font-size: 11.5px; color: #94a3b8; }
.cg-page.bad .cg-pstate { color: #dc2626; }

.cg-ptitle {
  margin-top: 7px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

.cg-phs { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.cg-phs span {
  font-size: 11.5px;
  color: #64748b;
  background: #f4f7fb;
  border: 1px solid #eef2f9;
  border-radius: 5px;
  padding: 2px 8px;
}

/* 缺口 */
.cg-gap {
  border-left: 3px solid #6366f1;
  background: #fff;
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 9px;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.cg-gap:last-child { margin-bottom: 0; }

.cg-gtop { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.cg-gno {
  width: 18px; height: 18px;
  border-radius: 5px;
  color: #fff;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.cg-gtopic { flex: 1; font-size: 13.5px; font-weight: 700; color: #1e293b; }
.cg-gp { font-size: 11.5px; font-weight: 700; }
.cg-gwhy { font-size: 12.5px; color: #64748b; line-height: 1.7; padding-left: 27px; }

.cg-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.8;
  padding: 5px 0;
}
.cg-tip i { color: #10b981; font-size: 12px; margin-top: 4px; flex: 0 0 auto; }

@media (max-width: 640px) {
  .cg-pstate { margin-left: 0; width: 100%; }
  .cg-gwhy { padding-left: 0; }
}
/* 公司 chip 的可信度标记 */
.co-chip .co-conf {
  font-style: normal;
  font-size: 10.5px;
  padding: 0 5px;
  border-radius: 4px;
  line-height: 15px;
}
.co-chip.conf-search .co-conf { background: #d1fae5; color: #047857; }
.co-chip.conf-multi  .co-conf { background: #e0e7ff; color: #4338ca; }
.co-chip.conf-single .co-conf { background: #fef3c7; color: #b45309; }
.co-chip.conf-single { opacity: .78; }
/* ============================================================
   敏感词检测
   ============================================================ */
.sens-sum {
  font-size: 13px;
  color: #475569;
  margin-bottom: 12px;
}
.sens-sum b { color: #dc2626; font-size: 15px; }

.sens-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sens-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 12.5px;
}
.sens-chip i {
  font-style: normal;
  font-size: 11px;
  color: #ef4444;
  opacity: .8;
}

.sens-ok {
  color: #059669;
  font-size: 14px;
  font-weight: 600;
}
.sens-ok i { margin-right: 7px; }
/* ============================================================
   行业基准对标
   ============================================================ */
.bm-note {
  background: #eef4ff;
  border: 1px solid #d8e4fd;
  border-radius: 9px;
  padding: 12px 15px;
  font-size: 13px;
  color: #3b5bdb;
  line-height: 1.8;
  margin-bottom: 16px;
}
.bm-note i { margin-right: 7px; }

/* 大字卡 */
.bm-bigs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: #eef2f9;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.bm-big {
  background: #fff;
  padding: 20px 18px;
  text-align: center;
}
.bm-big-n {
  font-size: 30px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.1;
  letter-spacing: -.5px;
}
.bm-big-n span {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 4px;
}
.bm-big-l {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 7px;
  font-weight: 600;
}
.bm-big-s {
  font-size: 11.5px;
  color: #a3aec0;
  margin-top: 4px;
}

/* 对比条 */
.bm-row { margin-bottom: 18px; }
.bm-row:last-child { margin-bottom: 0; }

.bm-row-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 7px;
}
.bm-label { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: #334155; }
.bm-values { flex: 1; font-size: 12.5px; color: #94a3b8; text-align: right; }
.bm-values b { color: #1e293b; font-size: 14px; font-weight: 800; }
.bm-pct { flex: 0 0 60px; text-align: right; font-size: 13px; font-weight: 800; }

.bm-bar {
  display: block;
  height: 9px;
  background: #f1f5f9;
  border-radius: 5px;
  overflow: hidden;
}
.bm-bar > i {
  display: block;
  height: 100%;
  border-radius: 5px;
  transition: width .6s ease;
}
.bm-hint { font-size: 11.5px; color: #a3aec0; margin-top: 5px; }

/* 平台分布 */
.bm-plat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed #f1f5f9;
}
.bm-plat:last-child { border-bottom: 0; }

.bm-pno {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: #eef2f8;
  color: #8494ab;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.bm-pno.hot { background: #f5c451; color: #7a4a08; }

.bm-pname {
  flex: 0 0 116px;
  font-size: 12.5px;
  color: #334155;
  font-weight: 600;
}
.bm-pbar {
  flex: 1;
  height: 7px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}
.bm-pbar > i {
  display: block; height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, #6366f1, #a78bfa);
}
.bm-pnum {
  flex: 0 0 52px;
  text-align: right;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
}
.bm-pratio {
  flex: 0 0 46px;
  text-align: right;
  font-size: 11.5px;
  color: #94a3b8;
}

/* 舆情 */
.bm-sent {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #f1f5f9;
}
.bm-sent:last-child { border-bottom: 0; }
.bm-sname { flex: 0 0 100px; font-size: 12.5px; color: #334155; font-weight: 600; }
.bm-sbar {
  flex: 1;
  height: 9px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  background: #f1f5f9;
}
.bm-sbar > i.pos { background: #34d399; }
.bm-sbar > i.neu { background: #cbd5e1; }
.bm-sbar > i.neg { background: #f87171; }
.bm-snum { flex: 0 0 84px; text-align: right; font-size: 12px; color: #059669; font-weight: 700; }
.bm-stotal { flex: 0 0 50px; text-align: right; font-size: 11.5px; color: #94a3b8; }

@media (max-width: 640px) {
  .bm-bigs { grid-template-columns: repeat(2, 1fr); }
  .bm-big-n { font-size: 24px; }
  .bm-pname { flex: 0 0 84px; font-size: 12px; }
  .bm-pnum, .bm-pratio { flex: 0 0 44px; font-size: 11px; }
  .bm-values { font-size: 11.5px; }
  .bm-pct { flex: 0 0 48px; }
  .bm-sname { flex: 0 0 76px; font-size: 12px; }
  .bm-snum { flex: 0 0 70px; font-size: 11px; }
  .bm-stotal { display: none; }
}
/* ============================================================
   平台卡片 · 按钮组（最终统一版）
   ------------------------------------------------------------
   之前这块有 5 处零散规则互相覆盖（含 !important），
   结果两个按钮贴在一起、没有间距、禁用态也不明显。
   这里重写一份放在文件末尾，用最高优先级压住前面所有规则。
   ============================================================ */
.pub-card .pub-acts {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: stretch !important;
  margin-top: 12px !important;
}

.pub-card .pub-acts > button {
  flex: 1 1 calc(50% - 4px) !important;
  min-width: 0 !important;
  height: 34px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  border: 1px solid transparent !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  transition: all .16s ease !important;
  box-shadow: none !important;
  transform: none !important;
}

.pub-card .pub-acts > button > i {
  font-size: 11.5px !important;
  flex: 0 0 auto;
  opacity: .92;
}
.pub-card .pub-acts > button > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ① 打开官网 —— 主操作，实心渐变 */
.pub-card .pub-acts > .btn-open {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(99, 102, 241, .22) !important;
}
.pub-card .pub-acts > .btn-open:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  box-shadow: 0 5px 16px rgba(99, 102, 241, .34) !important;
  transform: translateY(-1px) !important;
}
.pub-card .pub-acts > .btn-open:active {
  transform: translateY(0) !important;
  box-shadow: 0 1px 4px rgba(99, 102, 241, .26) !important;
}

/* ② 系统授权 —— 次操作，白底描边 */
.pub-card .pub-acts > .btn-login {
  background: #fff !important;
  color: #4f46e5 !important;
  border-color: #c7d2fe !important;
}
.pub-card .pub-acts > .btn-login:hover {
  background: #f5f7ff !important;
  border-color: #a5b4fc !important;
  transform: translateY(-1px) !important;
}
.pub-card .pub-acts > .btn-login:active { transform: translateY(0) !important; }

/* ③ 已授权后的「重新授权」—— 降级为中性灰，避免和主操作抢眼 */
.pub-card .pub-acts > .btn-login.on {
  background: #f8fafc !important;
  color: #64748b !important;
  border-color: #e2e8f0 !important;
}
.pub-card .pub-acts > .btn-login.on:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

/* ④ 禁用（不支持授权的平台）—— 明显灰掉，不可点 */
.pub-card .pub-acts > .btn-login[disabled],
.pub-card .pub-acts > .btn-login[disabled]:hover {
  background: #f8fafc !important;
  color: #b6c2d3 !important;
  border-color: #eef2f7 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}
.pub-card .pub-acts > .btn-login[disabled] > i { opacity: .6; }

/* 卡片本身：给按钮区留出干净的分隔 */
.pub-card { padding-bottom: 12px !important; }

/* 窄屏：两个按钮改上下排，不挤 */
@media (max-width: 480px) {
  .pub-card .pub-acts > button {
    flex: 1 1 100% !important;
    height: 36px !important;
  }
}
/* 修正：卡片窄（约 158px），两个按钮并排 + 图标会截断文字
   改成上下排，每个按钮占满整行，文字完整显示 */
.pub-card .pub-acts {
  flex-direction: column !important;
  gap: 6px !important;
}
.pub-card .pub-acts > button {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: 31px !important;
  padding: 0 8px !important;
  font-size: 12px !important;
  gap: 6px !important;
  justify-content: flex-start !important;
  padding-left: 11px !important;
}
.pub-card .pub-acts > button > i {
  font-size: 11px !important;
  width: 12px;
  text-align: center;
}
@media (max-width: 480px) {
  .pub-card .pub-acts > button { height: 34px !important; }
}
/* ============================================================
   全站按钮统一（最终版）
   ------------------------------------------------------------
   现状：站内有 5 套按钮体系，各写各的：
     .pub-btn   自研设计系统
     .layui-btn layui 默认（文件里被定义了两遍，border 一个 0 一个 1.5px）
     .gap-btn   内容页自造
     .btn       后台/表单页（61 处）
     .rc-amt    充值面额块（特殊，保留）
   结果同样是"保存"，在不同页面长得不一样。

   这里统一成一套 token：高 36 / 圆角 9 / 字号 13 / 字重 600 / 内边距 0 18。
   放在文件末尾 + !important，压住前面所有零散定义。
   ============================================================ */

:root {
  --btn-h: 36px;
  --btn-r: 9px;
  --btn-fs: 13px;
  --btn-pad: 18px;
}

/* ---------- 基础形态 ---------- */
.pub-btn,
.layui-btn,
.gap-btn,
.im-btn,
button.btn,
a.btn,
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: var(--btn-h) !important;
  min-height: var(--btn-h) !important;
  padding: 0 var(--btn-pad) !important;
  border-radius: var(--btn-r) !important;
  border: 1px solid transparent !important;
  font-family: inherit !important;
  font-size: var(--btn-fs) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: all .16s ease !important;
  vertical-align: middle !important;
}

.pub-btn > i,
.layui-btn > i,
.gap-btn > i,
.btn > i {
  font-size: 12px !important;
  flex: 0 0 auto;
}

/* ---------- 主操作：紫色渐变 ---------- */
.pub-btn.primary,
.pub-btn.btn-open,
.gap-btn.primary,
.layui-btn-normal,
.btn-primary,
.btn.p,
button.btn.p,
.layui-btn:not(.layui-btn-primary):not(.layui-btn-danger):not(.layui-btn-disabled):not(.ghost) {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(99, 102, 241, .24) !important;
}
.pub-btn.primary:hover,
.pub-btn.btn-open:hover,
.gap-btn.primary:hover,
.layui-btn-normal:hover,
.btn-primary:hover,
.btn.p:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  box-shadow: 0 5px 16px rgba(99, 102, 241, .34) !important;
  transform: translateY(-1px) !important;
  color: #fff !important;
}

/* ---------- 次操作：白底描边 ---------- */
.pub-btn.ghost,
.layui-btn-primary,
.gap-btn.ghost,
.btn-outline,
.btn-default,
.btn:not(.p):not(.d):not(.danger):not(.btn-primary):not(.btn-success):not(.btn-danger) {
  background: #fff !important;
  color: #475569 !important;
  border-color: #dbe3ef !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
}
.pub-btn.ghost:hover,
.layui-btn-primary:hover,
.gap-btn.ghost:hover,
.btn-outline:hover,
.btn-default:hover,
.btn:not(.p):not(.d):not(.danger):not(.btn-primary):not(.btn-success):not(.btn-danger):hover {
  color: #4f46e5 !important;
  border-color: #c7d2fe !important;
  background: #f7f9ff !important;
}

/* ---------- 危险操作：红 ---------- */
.btn-danger,
.btn.d,
.btn.danger,
.gap-btn.danger,
.pub-btn.danger,
.layui-btn-danger {
  background: #fff !important;
  color: #dc2626 !important;
  border-color: #fecaca !important;
  box-shadow: none !important;
}
.btn-danger:hover,
.btn.d:hover,
.btn.danger:hover,
.pub-btn.danger:hover,
.layui-btn-danger:hover {
  background: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #b91c1c !important;
}

/* ---------- 成功：绿 ---------- */
.btn-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, .22) !important;
}
.btn-success:hover {
  box-shadow: 0 5px 16px rgba(16, 185, 129, .32) !important;
  transform: translateY(-1px) !important;
}

/* ---------- 禁用 ---------- */
.pub-btn[disabled],
.layui-btn-disabled,
.btn[disabled],
.gap-btn[disabled],
button[disabled].btn {
  background: #f8fafc !important;
  color: #b6c2d3 !important;
  border-color: #eef2f7 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 1 !important;
}

/* ---------- 小号：表格里、卡片内 ---------- */
.layui-table .pub-btn,
.layui-table .layui-btn,
.layui-table .btn,
table .btn {
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  border-radius: 7px !important;
}

/* ---------- 表单底部动作区：统一右对齐 + 间距 ---------- */
.form-actions,
.layui-form-item.form-actions {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-top: 20px !important;
}

/* ---------- 充值面额块：保留特殊形态，只对齐圆角字号 ---------- */
.rc-amt {
  border-radius: var(--btn-r) !important;
  font-weight: 700 !important;
}
/* ============================================================
   侧边栏菜单间距（修"粘连"）
   ------------------------------------------------------------
   原规则：.sidebar-menu > li > a { margin: 2px 10px }
   上下各 2px → 相邻两项之间只有 2px，视觉上像一整块贴在一起。
   改成上下各 4px → 相邻间距 8px，层级清楚。
   同时把分组标题（AI可见度诊断 / AI创作-文章&素材）上下留白拉开。
   ============================================================ */
/* 注意：必须用和覆盖者【同等特异度】的选择器 ——
   原来是 body .main-sidebar ul.sidebar-menu > li > a（0,2,3），
   我用 .sidebar-menu > li > a（0,1,2）压不住，改成同样的写法靠"后出现"取胜 */
body .main-sidebar ul.sidebar-menu > li > a,
body .sidebar ul.sidebar-menu > li > a,
body .layui-side ul.sidebar-menu > li > a {
  /* 相邻 margin 会合并，所以这里设 8px 实际视觉间距就是 8px */
  margin: 8px 10px !important;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  min-height: 38px !important;
  transition: background .16s ease, color .16s ease !important;
}

/* 子菜单项同样处理 */
body .main-sidebar ul.sidebar-menu .treeview-menu > li > a,
body .sidebar ul.sidebar-menu .treeview-menu > li > a {
  margin: 6px 10px !important;
  padding: 8px 5px 8px 28px !important;
  border-radius: 9px !important;
}

/* 分组标题：上下留白再大一点，和菜单项区分开 */
.sidebar-menu .gekai {
  margin: 22px 0 8px 20px !important;
  letter-spacing: .02em;
}

/* 第一项不要顶部多余空白 */
body .main-sidebar ul.sidebar-menu > li:first-child > a,
body .sidebar ul.sidebar-menu > li:first-child > a { margin-top: 4px !important; }

/* 悬停：淡淡的底色，比原来的纯蓝块柔和 */
body .main-sidebar ul.sidebar-menu > li > a:hover,
body .sidebar ul.sidebar-menu > li > a:hover {
  background: #eef2ff !important;
  color: #4f46e5 !important;
}
body .main-sidebar ul.sidebar-menu .treeview-menu > li > a:hover,
body .sidebar ul.sidebar-menu .treeview-menu > li > a:hover {
  background: #eef2ff !important;
  color: #4f46e5 !important;
}

/* 选中项：淡紫底 + 左侧竖条 */
body .main-sidebar ul.sidebar-menu > li.active > a,
body .sidebar ul.sidebar-menu > li.active > a {
  background: #eef2ff !important;
  color: #4f46e5 !important;
  font-weight: 600 !important;
}
/* ============================================================
   标准指标与合规
   ============================================================ */
.st-note {
  background: #eef4ff;
  border: 1px solid #d8e4fd;
  border-radius: 9px;
  padding: 12px 15px;
  font-size: 13px;
  color: #3b5bdb;
  line-height: 1.8;
  margin-bottom: 16px;
}
.st-note i { margin-right: 7px; }

.st-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.st-metric {
  background: #fbfdff;
  border: 1px solid #eef2f9;
  border-radius: 10px;
  padding: 14px 15px;
}
.st-metric-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.st-metric-label { font-size: 12.5px; color: #64748b; font-weight: 600; }
.st-metric-val { font-size: 24px; font-weight: 800; color: #1e293b; line-height: 1; }
.st-metric-val i { font-style: normal; font-size: 12px; color: #94a3b8; margin-left: 2px; }
.st-metric-formula { display: flex; flex-direction: column; gap: 3px; }
.st-metric-formula code {
  background: #eef2ff; color: #4f46e5; border-radius: 5px;
  padding: 2px 7px; font-size: 11.5px; display: inline-block; width: fit-content;
}
.st-metric-formula span { font-size: 11.5px; color: #a3aec0; }
.st-metric-note { font-size: 11.5px; color: #b6c2d3; margin-top: 7px; line-height: 1.6; }

.st-score-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed #eef2f9;
  font-size: 13px; color: #475569;
}
.st-score-row b { font-size: 22px; color: #6366f1; }
.st-score-note { font-size: 11.5px; color: #a3aec0; margin-left: auto; }

.st-check {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px dashed #f1f5f9;
  font-size: 13px;
}
.st-check:last-child { border-bottom: 0; }
.st-check i { font-size: 15px; flex: 0 0 auto; }
.st-check.pass i { color: #10b981; }
.st-check.fail i { color: #dc2626; }
.st-check-label { flex: 0 0 140px; color: #334155; font-weight: 600; }
.st-check-need { flex: 0 0 130px; color: #94a3b8; font-size: 12.5px; }
.st-check-actual { flex: 0 0 100px; color: #475569; font-weight: 700; }
.st-check-detail { font-size: 11.5px; color: #a3aec0; }

.st-dims { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.st-dim { }
.st-dim-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.st-dim-name { font-size: 13px; font-weight: 700; color: #334155; }
.st-dim-score { font-size: 18px; font-weight: 800; }
.st-dim-bar { height: 7px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.st-dim-bar > i { display: block; height: 100%; border-radius: 4px; transition: width .5s; }
.st-dim-basis { font-size: 11.5px; color: #94a3b8; margin-top: 6px; line-height: 1.6; }
.st-dim-todo { font-size: 11.5px; color: #6366f1; margin-top: 3px; line-height: 1.6; }

.st-asset { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-asset-item, .st-asset-total {
  text-align: center; min-width: 100px; padding: 12px 14px;
  background: #fff; border: 1px solid #eef2f9; border-radius: 10px;
}
.st-asset-item b { display: block; font-size: 22px; font-weight: 800; color: #334155; }
.st-asset-item span { font-size: 11.5px; color: #94a3b8; }
.st-asset-x { font-size: 16px; color: #cbd5e1; font-weight: 700; }
.st-asset-total { background: linear-gradient(135deg,#f5f3ff,#eef2ff); border-color: #ddd6fe; }
.st-asset-total b { color: #6366f1; font-size: 26px; }

@media (max-width: 640px) {
  .st-check-label, .st-check-need { flex: 0 0 auto; }
  .st-check { flex-wrap: wrap; }
  .st-score-note { margin-left: 0; width: 100%; }
}
/* ============================================================
   AI 视频生成
   ============================================================ */
.vid-err, .vid-ok {
  border-radius: 9px; padding: 12px 15px; font-size: 13px;
  margin-bottom: 14px; line-height: 1.8;
}
.vid-err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.vid-ok  { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.vid-err i, .vid-ok i { margin-right: 7px; }

.vid-field { margin-bottom: 14px; }
.vid-field label {
  display: block; font-size: 12.5px; color: #64748b;
  font-weight: 600; margin-bottom: 6px;
}
.vid-select {
  width: 100%; height: 36px; border: 1px solid #dbe3ef; border-radius: 8px;
  padding: 0 10px; font-size: 13px; color: #1e293b; background: #fff;
  outline: none; cursor: pointer;
}
.vid-select:focus { border-color: #93b4f7; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.vid-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }

.vid-bar { height: 9px; background: #eef2f9; border-radius: 5px; overflow: hidden; }
.vid-bar > i { display: block; height: 100%; border-radius: 5px;
  background: linear-gradient(90deg,#6366f1,#a78bfa); transition: width .6s ease; }

.vid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.vid-card {
  border: 1px solid #eef2f9; border-radius: 10px; overflow: hidden;
  background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.04);
  transition: .16s;
}
.vid-card:hover { box-shadow: 0 4px 14px rgba(15,23,42,.08); transform: translateY(-1px); }
.vid-cover {
  height: 132px; background-size: cover; background-position: center;
  background-color: #f1f5f9;
}
.vid-body { padding: 10px 12px 12px; }
.vid-prompt { font-size: 12.5px; color: #334155; line-height: 1.6; min-height: 38px; }
.vid-meta { display: flex; gap: 10px; font-size: 11.5px; color: #a3aec0; margin-top: 6px; }
.vid-acts { display: flex; gap: 8px; margin-top: 10px; }
.vid-acts .pub-btn {
  flex: 1; height: 30px !important; min-height: 30px !important;
  padding: 0 10px !important; font-size: 12px !important;
  border-radius: 7px !important; text-decoration: none !important;
}
/* ============================================================
   视频工坊：去水印 + 混剪
   ============================================================ */
.vm-warn, .vm-err, .vm-ok {
  border-radius: 9px; padding: 12px 15px; font-size: 13px;
  margin-bottom: 14px; line-height: 1.8;
}
.vm-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.vm-err  { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.vm-ok   { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.vm-warn i, .vm-err i, .vm-ok i { margin-right: 7px; }

.vm-tip-line {
  font-size: 12.5px; color: #64748b; line-height: 1.8;
  background: #f7f9ff; border: 1px solid #e8eefb; border-radius: 8px;
  padding: 9px 12px; margin-bottom: 14px;
}

.vm-srcs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.vm-src {
  display: block; cursor: pointer; position: relative;
  border: 1.5px solid #eef2f9; border-radius: 9px; overflow: hidden;
  transition: .15s; background: #fff;
}
.vm-src:hover { border-color: #c7d2fe; }
.vm-src input { position: absolute; top: 7px; left: 7px; z-index: 2; accent-color: #6366f1; }
.vm-src:has(input:checked) { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.vm-src-cover {
  display: block; height: 84px; background-size: cover; background-position: center;
  background-color: #f1f5f9;
}
.vm-src-txt {
  display: block; padding: 7px 9px; font-size: 11.5px; color: #475569; line-height: 1.5;
}

.vm-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.vm-field label { display: block; font-size: 12.5px; color: #64748b; font-weight: 600; margin-bottom: 6px; }
.vm-input, .vm-select {
  width: 100%; height: 36px; border: 1px solid #dbe3ef; border-radius: 8px;
  padding: 0 11px; font-size: 13px; color: #1e293b; background: #fff; outline: none;
}
.vm-input:focus, .vm-select:focus { border-color: #93b4f7; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }

.vm-outs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.vm-out {
  border: 1px solid #eef2f9; border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,.04); transition: .16s;
}
.vm-out:hover { box-shadow: 0 4px 14px rgba(15,23,42,.08); transform: translateY(-1px); }
.vm-out-cover { height: 122px; background-size: cover; background-position: center; background-color: #f1f5f9; }
.vm-out-body { padding: 10px 12px 12px; }
.vm-out-t { font-size: 12.5px; color: #334155; line-height: 1.6; min-height: 34px; }
.vm-out-m { font-size: 11.5px; color: #a3aec0; margin-top: 5px; }
.vm-out-acts { display: flex; gap: 8px; margin-top: 10px; }
.vm-out-acts .pub-btn {
  flex: 1; height: 30px !important; min-height: 30px !important;
  padding: 0 10px !important; font-size: 12px !important;
  border-radius: 7px !important; text-decoration: none !important;
}
/* 视频工坊：自动去水印勾选 */
.vm-check {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 16px; padding: 11px 14px;
  background: #f7f9ff; border: 1px solid #e8eefb; border-radius: 9px;
  font-size: 13px; color: #475569; cursor: pointer;
}
.vm-check input { accent-color: #6366f1; width: 15px; height: 15px; }
.vm-check span { font-weight: 600; }
.vm-check i { font-style: normal; font-size: 12px; color: #94a3b8; }
/* ============================================================
   营销报表（六章）
   ============================================================ */
.mk-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.mk-meta { font-size: 12.5px; color: #94a3b8; margin-left: auto; }

.mk-empty {
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  border-radius: 9px; padding: 12px 15px; font-size: 13px; margin-bottom: 16px;
}
.mk-empty i { margin-right: 7px; }

.mk-chapter {
  background: #fff; border: 1px solid #eef2f9; border-radius: 12px;
  padding: 22px 24px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.mk-ch-title {
  font-size: 15px; font-weight: 800; color: #1e293b;
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #f1f5f9;
  display: flex; align-items: center; gap: 10px;
}
.mk-ch-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(135deg,#6366f1,#8b5cf6);
  color: #fff; font-size: 13px; font-weight: 700;
}

.mk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.mk-stat {
  background: #fbfdff; border: 1px solid #eef2f9; border-radius: 10px;
  padding: 16px; text-align: center;
}
.mk-stat-v { font-size: 26px; font-weight: 800; color: #6366f1; line-height: 1.1; }
.mk-stat-v i { font-style: normal; font-size: 12px; color: #94a3b8; margin-left: 3px; }
.mk-stat-l { font-size: 12.5px; color: #64748b; margin-top: 7px; }
.mk-stat-s { font-size: 11.5px; color: #a3aec0; margin-top: 3px; }

.mk-note { font-size: 12.5px; color: #94a3b8; line-height: 1.8; margin-top: 14px; }

.mk-brand { display: flex; flex-direction: column; gap: 12px; }
.mk-brand-row { display: flex; gap: 14px; font-size: 13.5px; }
.mk-brand-row label { flex: 0 0 90px; color: #64748b; font-weight: 600; }
.mk-brand-row span { color: #1e293b; }

.mk-hero { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-bottom: 20px; }
.mk-hero-num { text-align: center; min-width: 160px; }
.mk-hero-num b { font-size: 46px; font-weight: 800; color: #6366f1; line-height: 1; }
.mk-hero-num b i { font-style: normal; font-size: 20px; }
.mk-hero-num span { display: block; font-size: 12.5px; color: #94a3b8; margin-top: 8px; }
.mk-hero-side { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 9px; }
.mk-hero-row { display: flex; justify-content: space-between; font-size: 13px; color: #64748b; padding: 7px 0; border-bottom: 1px dashed #f1f5f9; }
.mk-hero-row b { color: #1e293b; font-weight: 700; }

.mk-dists { display: flex; flex-direction: column; gap: 9px; }
.mk-dist { display: flex; align-items: center; gap: 11px; font-size: 12.5px; }
.mk-dist-l { flex: 0 0 48px; color: #475569; font-weight: 600; }
.mk-bar { flex: 1; height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.mk-bar > i { display: block; height: 100%; border-radius: 4px; }
.mk-dist-c { flex: 0 0 56px; text-align: right; color: #64748b; }
.mk-dist-r { flex: 0 0 52px; text-align: right; font-weight: 700; color: #334155; }

.mk-table-wrap { overflow-x: auto; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mk-table th {
  background: #f8fafc; color: #64748b; font-weight: 700;
  padding: 10px 8px; text-align: center; border-bottom: 1px solid #eef2f9;
  white-space: nowrap;
}
.mk-table td { padding: 9px 8px; text-align: center; color: #475569; border-bottom: 1px solid #f8fafc; }
.mk-table tbody tr:hover { background: #fbfdff; }
.mk-td-name { text-align: left !important; color: #1e293b !important; font-weight: 600; }
.mk-td-plat { text-align: left !important; color: #94a3b8 !important; font-size: 11.5px; }
.mk-td-empty { color: #b6c2d3; padding: 24px 0 !important; }
.mk-table tr.mk-self { background: #fffbeb; }
.mk-table tr.mk-self td { color: #92400e; font-weight: 700; }

.mk-sent-wrap { }
.mk-sent { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: #f1f5f9; }
.mk-sent > i { display: block; height: 100%; }
.mk-sent > i.p { background: #34d399; }
.mk-sent > i.n { background: #cbd5e1; }
.mk-sent > i.g { background: #f87171; }
.mk-sent-legend { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 12px; font-size: 12.5px; color: #64748b; }
.mk-sent-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; }
.mk-sent-idx { margin-left: auto; }
.mk-sent-idx b { color: #6366f1; font-size: 16px; }

.mk-foot { text-align: center; font-size: 12px; color: #b6c2d3; padding: 18px 0 8px; }

@media (max-width: 640px) {
  .mk-chapter { padding: 16px 14px; }
  .mk-hero-num b { font-size: 36px; }
  .mk-brand-row { flex-direction: column; gap: 4px; }
  .mk-brand-row label { flex: none; }
}
/* ============================================================
   提示词中心
   ============================================================ */
.pc-msg {
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857;
  border-radius: 9px; padding: 12px 15px; font-size: 13px; margin-bottom: 14px;
}
.pc-msg i { margin-right: 7px; }

.pc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 16px; }
.pc-stat {
  background: #fff; border: 1px solid #eef2f9; border-radius: 10px;
  padding: 14px; text-align: center;
}
.pc-stat b { display: block; font-size: 24px; font-weight: 800; color: #6366f1; }
.pc-stat span { font-size: 12.5px; color: #94a3b8; }

.pc-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.pc-field label { display: block; font-size: 12.5px; color: #64748b; font-weight: 600; margin-bottom: 6px; }
.pc-input, .pc-select {
  width: 100%; height: 36px; border: 1px solid #dbe3ef; border-radius: 8px;
  padding: 0 11px; font-size: 13px; color: #1e293b; background: #fff; outline: none;
}
.pc-input:focus, .pc-select:focus { border-color: #93b4f7; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }

.pc-group { margin-bottom: 18px; }
.pc-group:last-child { margin-bottom: 0; }
.pc-group-head {
  display: flex; align-items: center; gap: 9px; margin-bottom: 8px;
  padding-bottom: 6px; border-bottom: 1px dashed #eef2f9;
}
.pc-group-name { font-size: 13px; font-weight: 700; color: #334155; }
.pc-group-count { font-size: 11.5px; color: #a3aec0; }

.pc-row {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 8px; font-size: 13px;
  transition: .15s;
}
.pc-row:hover { background: #fbfdff; }
.pc-row.off { opacity: .45; }
.pc-row.mine { background: #f7f9ff; }
.pc-tpl { flex: 1; color: #334155; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.pc-tag {
  flex: 0 0 auto; font-size: 10.5px; padding: 1px 6px; border-radius: 4px;
  background: #eef2ff; color: #4f46e5; font-weight: 700;
}
.pc-tag.sys { background: #f1f5f9; color: #94a3b8; }
.pc-w { flex: 0 0 auto; font-size: 11.5px; color: #a3aec0; }
.pc-acts { flex: 0 0 auto; display: flex; gap: 8px; min-width: 80px; justify-content: flex-end; }
.pc-act { font-size: 12px; color: #6366f1; text-decoration: none; }
.pc-act:hover { text-decoration: underline; }
.pc-act.danger { color: #dc2626; }
.pc-lock { font-style: normal; font-size: 11px; color: #cbd5e1; }

.pc-pv {
  display: flex; gap: 10px; align-items: baseline;
  padding: 7px 10px; font-size: 13px; color: #475569;
  border-bottom: 1px dashed #f8fafc;
}
.pc-pv:last-child { border-bottom: 0; }
.pc-pv span {
  flex: 0 0 20px; font-size: 11px; font-weight: 700; color: #a3aec0;
}

@media (max-width: 640px) {
  .pc-tpl { font-size: 11.5px; }
  .pc-w { display: none; }
}
/* 账号权益：未开通项 */
.qy-off { opacity: .55; }
.qy-off .top { margin-bottom: 0; }
.quota-tag {
  display: inline-block; font-size: 10.5px; padding: 1px 6px;
  border-radius: 4px; margin-left: 5px; font-weight: 600;
  background: #f1f5f9; color: #94a3b8;
}
/* ============================================================
   发布队列
   ============================================================ */
.pq-msg {
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857;
  border-radius: 9px; padding: 12px 15px; font-size: 13px; margin-bottom: 14px;
}
.pq-msg i { margin-right: 7px; }

.pq-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin-bottom: 16px; }
.pq-stat {
  background: #fff; border: 1px solid #eef2f9; border-radius: 10px;
  padding: 14px; text-align: center;
}
.pq-stat b { display: block; font-size: 24px; font-weight: 800; line-height: 1.1; }
.pq-stat span { font-size: 12.5px; color: #94a3b8; margin-top: 4px; display: block; }

.pq-table-wrap { overflow-x: auto; }
.pq-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pq-table th {
  background: #f8fafc; color: #64748b; font-weight: 700;
  padding: 10px 8px; text-align: left; border-bottom: 1px solid #eef2f9; white-space: nowrap;
}
.pq-table td { padding: 9px 8px; color: #475569; border-bottom: 1px solid #f8fafc; }
.pq-table tbody tr:hover { background: #fbfdff; }
.pq-td-name { color: #1e293b !important; font-weight: 600; }
.pq-td-err { color: #b91c1c !important; font-size: 11.5px; }
.pq-td-time { color: #a3aec0 !important; font-size: 11.5px; white-space: nowrap; }
.pq-td-act { white-space: nowrap; }
.pq-act { font-size: 12px; color: #6366f1; text-decoration: none; margin-right: 8px; }
.pq-act:hover { text-decoration: underline; }
.pq-act.danger { color: #dc2626; }
.pq-empty { text-align: center !important; color: #b6c2d3 !important; padding: 30px 0 !important; }

.pq-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 5px;
  white-space: nowrap;
}
/* ============================================================
   团队管理
   ============================================================ */
.tm-msg {
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857;
  border-radius: 9px; padding: 12px 15px; font-size: 13px; margin-bottom: 14px;
}
.tm-msg i { margin-right: 7px; }
.tm-warn {
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af;
  border-radius: 9px; padding: 12px 15px; font-size: 13px; margin-bottom: 14px;
}
.tm-warn i { margin-right: 7px; }

.tm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tm-stat {
  background: #fff; border: 1px solid #eef2f9; border-radius: 10px;
  padding: 14px; text-align: center;
}
.tm-stat b { display: block; font-size: 22px; font-weight: 800; color: #6366f1; }
.tm-stat span { font-size: 12.5px; color: #94a3b8; margin-top: 4px; display: block; }

.tm-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.tm-field label { display: block; font-size: 12.5px; color: #64748b; font-weight: 600; margin-bottom: 6px; }
.tm-input {
  width: 100%; height: 36px; border: 1px solid #dbe3ef; border-radius: 8px;
  padding: 0 11px; font-size: 13px; color: #1e293b; background: #fff; outline: none;
}
.tm-input:focus { border-color: #93b4f7; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }

.tm-table-wrap { overflow-x: auto; }
.tm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tm-table th {
  background: #f8fafc; color: #64748b; font-weight: 700;
  padding: 12px 10px; text-align: left; border-bottom: 1px solid #eef2f9;
}
.tm-table td { padding: 12px 10px; color: #475569; border-bottom: 1px solid #f8fafc; }
.tm-table tbody tr:hover { background: #fbfdff; }
.tm-owner-row { background: #fffdf7; }
.tm-td-name { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #1e293b !important; }
.tm-avatar {
  width: 28px; height: 28px; border-radius: 8px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex: 0 0 auto;
}
.tm-td-user { color: #94a3b8 !important; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.tm-td-act { white-space: nowrap; }
.tm-tag {
  font-size: 11px; padding: 1px 7px; border-radius: 5px; font-weight: 700;
  background: #eef2ff; color: #4f46e5;
}
.tm-tag.gold { background: #fef3c7; color: #b45309; }
.tm-sel {
  height: 28px; border: 1px solid #dbe3ef; border-radius: 6px;
  font-size: 12px; padding: 0 6px; margin-right: 8px; background: #fff; cursor: pointer;
}
.tm-act { font-size: 12px; color: #6366f1; text-decoration: none; margin-right: 9px; }
.tm-act:hover { text-decoration: underline; }
.tm-act.danger { color: #dc2626; }
.tm-empty { text-align: center !important; color: #b6c2d3 !important; padding: 28px 0 !important; }

.tm-perm { width: 100%; border-collapse: collapse; font-size: 13px; max-width: 560px; }
.tm-perm th {
  background: #f8fafc; color: #64748b; font-weight: 700;
  padding: 10px; border-bottom: 1px solid #eef2f9; text-align: center;
}
.tm-perm th:first-child { text-align: left; }
.tm-perm td { padding: 9px 10px; border-bottom: 1px solid #f8fafc; text-align: center; color: #475569; }
.tm-perm td:first-child { text-align: left; font-weight: 600; color: #334155; }
/* ============================================================
   城市分站
   ============================================================ */
.cs-msg { background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;border-radius:9px;padding:12px 15px;font-size:13px;margin-bottom:14px }
.cs-msg i { margin-right:7px }
.cs-err { background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;border-radius:9px;padding:12px 15px;font-size:13px;margin-bottom:14px }
.cs-err i { margin-right:7px }

.cs-stats { display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;margin-bottom:16px }
.cs-stat { background:#fff;border:1px solid #eef2f9;border-radius:10px;padding:14px;text-align:center }
.cs-stat b { display:block;font-size:22px;font-weight:800;color:#6366f1 }
.cs-stat span { font-size:12.5px;color:#94a3b8;margin-top:4px;display:block }

.cs-block { margin-bottom:16px }
.cs-label { display:block;font-size:12.5px;color:#64748b;font-weight:600;margin-bottom:8px }
.cs-chips { display:flex;flex-wrap:wrap;gap:8px }
.cs-chip { display:inline-flex;align-items:center;gap:5px;cursor:pointer }
.cs-chip input { display:none }
.cs-chip span {
  display:inline-block;padding:5px 12px;border:1px solid #e2e8f0;border-radius:18px;
  font-size:12.5px;color:#475569;background:#fff;transition:.14s;
}
.cs-chip:hover span { border-color:#c7d2fe }
.cs-chip input:checked + span { background:#eef2ff;border-color:#6366f1;color:#4f46e5;font-weight:600 }

.cs-row { display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px }
.cs-field label { display:block;font-size:12.5px;color:#64748b;font-weight:600;margin-bottom:6px }
.cs-input { width:100%;height:36px;border:1px solid #dbe3ef;border-radius:8px;padding:0 11px;font-size:13px;outline:none }
.cs-input:focus { border-color:#93b4f7;box-shadow:0 0 0 3px rgba(59,130,246,.1) }

.cs-table-wrap { overflow-x:auto }
.cs-table { width:100%;border-collapse:collapse;font-size:12.5px }
.cs-table th { background:#f8fafc;color:#64748b;font-weight:700;padding:10px 8px;text-align:left;border-bottom:1px solid #eef2f9;white-space:nowrap }
.cs-table td { padding:9px 8px;color:#475569;border-bottom:1px solid #f8fafc }
.cs-table tbody tr:hover { background:#fbfdff }
.cs-td-city { font-weight:700;color:#1e293b !important }
.cs-td-title { color:#334155 !important }
.cs-td-act { white-space:nowrap }
.cs-act { font-size:12px;color:#6366f1;text-decoration:none;margin-right:8px }
.cs-act:hover { text-decoration:underline }
.cs-act.danger { color:#dc2626 }
.cs-empty { text-align:center !important;color:#b6c2d3 !important;padding:30px 0 !important }
/* ============================================================
   媒体发稿包
   ============================================================ */
.mp-note {
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  border-radius: 9px; padding: 13px 16px; font-size: 13px; line-height: 1.8; margin-bottom: 16px;
}
.mp-note i { margin-right: 7px; }

.mp-select {
  height: 38px; border: 1px solid #dbe3ef; border-radius: 8px;
  padding: 0 11px; font-size: 13px; background: #fff; outline: none; width: 100%;
}
.mp-select:focus { border-color: #93b4f7; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }

.mp-sec { margin-bottom: 24px; }
.mp-sec:last-child { margin-bottom: 0; }
.mp-sec-h {
  font-size: 13.5px; font-weight: 800; color: #1e293b; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid #f1f5f9;
}
.mp-sec-h span { font-weight: 400; font-size: 12px; color: #94a3b8; margin-left: 8px; }
.mp-title {
  font-size: 13.5px; color: #334155; padding: 7px 0;
  border-bottom: 1px dashed #f8fafc;
}
.mp-lead {
  font-size: 13.5px; color: #475569; line-height: 1.9;
  background: #f8fafc; border-radius: 8px; padding: 13px 16px; border: 1px solid #eef2f7;
}
.mp-body {
  font-size: 13px; color: #4b5563; line-height: 1.95; white-space: pre-wrap;
  background: #fcfdff; border: 1px solid #eef2f7; border-radius: 8px; padding: 14px 16px;
  max-height: 340px; overflow-y: auto;
}
.mp-check { font-size: 13px; color: #475569; padding: 6px 0; line-height: 1.8; }
.mp-check i { color: #6366f1; margin-right: 7px; }

.mp-table-wrap { overflow-x: auto; }
.mp-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mp-table th {
  background: #f8fafc; color: #64748b; font-weight: 700;
  padding: 10px 8px; text-align: left; border-bottom: 1px solid #eef2f9;
}
.mp-table td { padding: 10px 8px; color: #475569; border-bottom: 1px solid #f8fafc; line-height: 1.7; vertical-align: top; }
.mp-td-type { font-weight: 700; color: #1e293b !important; }
.mp-td-ex { color: #64748b !important; font-size: 12px; }
.mp-td-price { color: #b45309 !important; font-weight: 600; }
/* ============================================================
   AI 智能体客服
   ============================================================ */
.ag-msg-ok { background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;border-radius:9px;padding:12px 15px;font-size:13px;margin-bottom:14px }
.ag-msg-ok i { margin-right:7px }

.ag-stats { display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-bottom:16px }
.ag-stat { background:#fff;border:1px solid #eef2f9;border-radius:10px;padding:14px;text-align:center }
.ag-stat b { display:block;font-size:22px;font-weight:800;color:#6366f1 }
.ag-stat span { font-size:12.5px;color:#94a3b8;margin-top:4px;display:block }

.ag-row { display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px }
.ag-field label { display:block;font-size:12.5px;color:#64748b;font-weight:600;margin-bottom:6px }
.ag-input { width:100%;height:36px;border:1px solid #dbe3ef;border-radius:8px;padding:0 11px;font-size:13px;outline:none }
.ag-input:focus { border-color:#93b4f7;box-shadow:0 0 0 3px rgba(59,130,246,.1) }

.ag-code {
  width:100%;border:1px solid #dbe3ef;border-radius:8px;padding:12px 14px;
  font-family:ui-monospace,Consolas,monospace;font-size:12px;line-height:1.8;
  background:#f8fafc;color:#334155;resize:vertical;outline:none;
}

.ag-table-wrap { overflow-x:auto }
.ag-table { width:100%;border-collapse:collapse;font-size:12.5px }
.ag-table th { background:#f8fafc;color:#64748b;font-weight:700;padding:10px 8px;text-align:left;border-bottom:1px solid #eef2f9 }
.ag-table td { padding:9px 8px;color:#475569;border-bottom:1px solid #f8fafc }
.ag-table tbody tr:hover { background:#fbfdff }
.ag-td-vid { color:#94a3b8 !important;font-family:ui-monospace,Consolas,monospace;font-size:11.5px }
.ag-td-msg { color:#334155 !important }
.ag-td-time { color:#a3aec0 !important;font-size:11.5px }
.ag-empty { text-align:center !important;color:#b6c2d3 !important;padding:28px 0 !important }
/* ============================================================
   创作工坊
   ============================================================ */
.cst-msg { background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;border-radius:9px;padding:12px 15px;font-size:13px;margin-bottom:14px }
.cst-msg i { margin-right:7px }
.cst-err { background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;border-radius:9px;padding:12px 15px;font-size:13px;margin-bottom:14px }
.cst-err i { margin-right:7px }

.cst-tabs { display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px }
.cst-tab {
  display:inline-flex;align-items:center;gap:7px;padding:10px 20px;border-radius:10px;
  border:1.5px solid #e5eaf3;background:#fff;color:#475569;font-size:13.5px;
  font-weight:600;text-decoration:none;transition:.15s;
}
.cst-tab:hover { border-color:#c7d2fe }
.cst-tab.on { background:#eef2ff;border-color:#6366f1;color:#4f46e5 }
.cst-tab i { font-size:13px }

.cst-row { display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px }
.cst-field label { display:block;font-size:12.5px;color:#64748b;font-weight:600;margin-bottom:6px }
.cst-input {
  width:100%;height:38px;border:1px solid #dbe3ef;border-radius:8px;
  padding:0 12px;font-size:13px;outline:none;background:#fff;
}
.cst-input:focus { border-color:#93b4f7;box-shadow:0 0 0 3px rgba(59,130,246,.1) }

.cst-result {
  background:#fff;border:1px solid #eef2f9;border-radius:12px;
  padding:20px 22px;margin-top:16px;
}
.cst-res-h {
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  padding-bottom:14px;margin-bottom:16px;border-bottom:2px solid #f1f5f9;
}
.cst-res-h b { font-size:15.5px;color:#1e293b;font-weight:800;flex:1;min-width:200px }
.cst-res-h span { font-size:12.5px;color:#94a3b8 }

.cst-table-wrap { overflow-x:auto }
.cst-table { width:100%;border-collapse:collapse;font-size:12.5px }
.cst-table th {
  background:#f8fafc;color:#64748b;font-weight:700;
  padding:10px 9px;text-align:left;border-bottom:1px solid #eef2f9;white-space:nowrap;
}
.cst-table td { padding:10px 9px;color:#475569;border-bottom:1px solid #f8fafc;line-height:1.75;vertical-align:top }
.cst-t { color:#6366f1 !important;font-weight:700;white-space:nowrap }
.cst-speak { color:#1e293b !important }
.cst-cap { color:#64748b !important;font-size:12px }

.cst-extra { margin-top:14px;font-size:13px;color:#475569;line-height:1.9 }
.cst-extra b { color:#1e293b;margin-right:6px }
.cst-pub { display:inline-block;margin-right:14px;font-size:12.5px;color:#64748b }
.cst-pub i { font-style:normal;color:#6366f1;font-weight:700;margin-right:4px }

.cst-cover {
  background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;
  border-radius:12px;padding:26px 22px;text-align:center;
  font-size:21px;font-weight:800;line-height:1.5;margin-bottom:18px;
}
.cst-pages { display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px }
.cst-page {
  background:#fbfdff;border:1px solid #eef2f9;border-radius:10px;padding:14px;position:relative;
}
.cst-pg-no {
  position:absolute;top:-8px;left:12px;background:#6366f1;color:#fff;
  font-size:11px;font-weight:700;width:20px;height:20px;border-radius:6px;
  display:flex;align-items:center;justify-content:center;
}
.cst-pg-head { font-size:13.5px;font-weight:700;color:#1e293b;margin:6px 0 8px }
.cst-pg-body { font-size:12.5px;color:#475569;line-height:1.85 }
.cst-tag {
  display:inline-block;background:#eef2ff;color:#4f46e5;
  font-size:12px;padding:2px 9px;border-radius:12px;margin-right:5px;
}

.cst-md {
  font-size:13.5px;color:#374151;line-height:1.95;
  max-height:520px;overflow-y:auto;background:#fcfdff;
  border:1px solid #eef2f7;border-radius:9px;padding:16px 18px;
}

.cst-his {
  display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:8px;
  text-decoration:none;transition:.14s;
}
.cst-his:hover { background:#fbfdff }
.cst-his.on { background:#eef2ff }
.cst-his-t { flex:1;font-size:13px;color:#334155 }
.cst-his-d { font-size:11.5px;color:#a3aec0 }