/* ==========================================================
 * app.css · 全站样式
 * 主题色 #E0433B ｜ PC 优先（≥1200px）｜ 字号偏大（对标洞见研报）
 * 图标一律内联 SVG，禁止 emoji
 * ========================================================== */

:root {
  --brand: #E0433B;
  --brand-dark: #C0342D;
  --brand-soft: #FDECEA;
  --ink: #1A1A1A;
  --ink-2: #4A4A4A;
  --ink-3: #868686;
  --line: #E8E8E8;
  --line-2: #F2F2F2;
  --bg: #F5F6F8;
  --white: #fff;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --w: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: var(--w); max-width: 100%; margin: 0 auto; padding: 0 24px; }

/* ══════ 顶部导航 ══════ */
.hd {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.hd-top { height: 62px; display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 17px; height: 17px; }
.logo-txt { font-size: 18px; font-weight: 700; letter-spacing: .3px; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a {
  padding: 7px 14px; border-radius: 6px;
  font-size: 15px; color: var(--ink-2); white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--line-2); color: var(--ink); }
.nav a.on { color: var(--brand); font-weight: 600; background: var(--brand-soft); }

.hd-right { display: flex; align-items: center; gap: 12px; flex: none; }
.btn-user {
  height: 34px; padding: 0 16px; border-radius: 17px;
  border: 1px solid var(--brand); background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 500;
}
.btn-user:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost {
  height: 34px; padding: 0 16px; border-radius: 17px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ══════ 大搜索（对标洞见研报居中大搜索框）══════ */
.hero {
  background: linear-gradient(180deg, #FFF5F4 0%, var(--bg) 100%);
  padding: 46px 0 40px;
  text-align: center;
}
.hero h1 { margin: 0 0 9px; font-size: 30px; font-weight: 700; letter-spacing: .5px; }
/* ★ 方案 D 第①层：定位句（行业研究与研报图表知识库）
   ⚠️ 不要写 `.hero p {}` —— 它的优先级高于下面的类选择器，会盖掉这两条样式 */
.hero-tag {
  margin: 0 0 8px; color: var(--ink-2); font-size: 16px;
  font-weight: 500; letter-spacing: .8px;
}
/* ★ 方案 D 第②层：数据行（真实数字 + 内容范围）
   ★ 可扩展：以后要加「XX 万份报告」等数字，直接在本行插一个
     <b class="hero-stat">…</b> 即可，无需改结构 */
.hero-sub { margin: 0 0 26px; color: var(--ink-3); font-size: 14px; }
/* ★ 首页真实数据亮点（4.6 万+ 张研报图表）—— 用真实可核验的数字建立信任 */
.hero-stat {
  color: var(--brand); font-size: 18px; font-weight: 700;
  font-variant-numeric: tabular-nums; margin-right: 2px;
}
.search-big {
  display: flex; gap: 0; max-width: 680px; margin: 0 auto;
  background: #fff; border: 2px solid var(--brand); border-radius: 26px;
  padding: 4px; box-shadow: 0 4px 20px rgba(224,67,59,.10);
}
.search-big input {
  flex: 1; border: 0; outline: 0; background: transparent;
  padding: 0 18px; font-size: 15px; color: var(--ink); min-width: 0;
}
.search-big input::placeholder { color: #B4B4B4; }
.search-big button {
  height: 40px; padding: 0 32px; border: 0; border-radius: 20px;
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 500; flex: none;
}
.search-big button:hover { background: var(--brand-dark); }

.hot-words { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hot-words span { color: var(--ink-3); font-size: 13px; }
.hot-words a {
  padding: 3px 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; font-size: 13px; color: var(--ink-2);
}
.hot-words a:hover { border-color: var(--brand); color: var(--brand); }

/* ══════ 首页区块 ══════ */
.sec { margin: 26px 0; }
.sec-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.sec-hd h2 {
  margin: 0; font-size: 19px; font-weight: 700;
  display: flex; align-items: center; gap: 9px;
}
.sec-hd h2::before {
  content: ''; width: 4px; height: 17px; background: var(--brand); border-radius: 2px;
}
.sec-more { color: var(--ink-3); font-size: 13px; display: flex; align-items: center; gap: 4px; }
.sec-more:hover { color: var(--brand); }
.sec-more svg { width: 13px; height: 13px; }

/* ══════ 首页：快讯 / 研读 平行双栏（对标格隆汇网页版）════════ */
.para { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.para-card { overflow: hidden; }
.para-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px 12px; border-bottom: 1px solid var(--line-2);
}
.para-hd h2 {
  margin: 0; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; gap: 9px;
}
.para-hd h2::before {
  content: ''; width: 4px; height: 16px; background: var(--brand); border-radius: 2px;
}

/* 快讯条目（首页版：整块可点） */
.news-item {
  display: flex; gap: 12px; padding: 12px 22px;
  border-bottom: 1px solid var(--line-2);
  transition: background .15s;
}
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: #FAFAFB; }
.news-time {
  flex: none; width: 40px; color: var(--ink-3); font-size: 12px;
  font-variant-numeric: tabular-nums; padding-top: 2px;
}
.news-body { flex: 1; min-width: 0; display: block; }
.news-title {
  font-size: 14px; font-weight: 500; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item:hover .news-title { color: var(--brand); }
.news-sum {
  margin-top: 3px; font-size: 12.5px; color: var(--ink-3); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 研读条目（首页版：左图右文） */
.study-list { padding: 0; }
.study-row {
  display: flex; gap: 13px; padding: 13px 22px;
  border-bottom: 1px solid var(--line-2); transition: background .15s;
}
.study-row:last-child { border-bottom: 0; }
.study-row:hover { background: #FAFAFB; }
.study-thumb {
  flex: none; width: 92px; height: 68px; border-radius: 6px;
  background: #F5F5F6; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.study-thumb img { width: 100%; height: 100%; object-fit: cover; }
.study-row-body { flex: 1; min-width: 0; display: block; }
.study-row-t {
  display: block; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.study-row:hover .study-row-t { color: var(--brand); }
.study-row-d {
  display: -webkit-box; margin-top: 3px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3);
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.study-row-m {
  display: flex; align-items: center; gap: 8px; margin-top: 5px;
  font-size: 12px; color: #A8A8A8;
}
.study-row-m em { font-style: normal; }

/* 首页图表区 */
.home-grid .chart-grid {
  grid-template-columns: repeat(4, 1fr); padding: 16px 22px 20px; gap: 12px;
}
.home-grid .chart-card .chart-label { min-height: 36px; font-size: 12.5px; }

@media (max-width: 1200px) {
  .para { grid-template-columns: 1fr; }
  .home-grid .chart-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ══════ 派生封面（与小程序 utils/cover.js 同一套逻辑）══════════
 * 不生成任何图片，只按标题哈希出配色 + 关键词文字，0 存储 0 流量
 * ============================================================ */
.rep-cover {
  flex: none; width: 92px; height: 118px; border-radius: 6px;
  background: #F2F3F5; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; padding: 8px; text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.rep-cover:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.10); }
.rep-cover img { width: 100%; height: 100%; object-fit: cover; }

.dc-word {
  display: block; font-size: 14px; font-weight: 700; line-height: 1.3;
  word-break: break-all; letter-spacing: .5px;
}
.dc-cat {
  display: inline-block; font-size: 10.5px; line-height: 1;
  padding: 2px 5px; border: 1px solid; border-radius: 3px; opacity: .85;
}

/* 详情页大封面 */
.detail-flex { display: flex; gap: 24px; align-items: flex-start; }
.detail-hd-main { flex: 1; min-width: 0; }
.detail-cover {
  flex: none; width: 128px; height: 172px; border-radius: 8px; overflow: hidden;
  background: #F2F3F5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px; padding: 12px; text-align: center;
}
.detail-cover img { width: 100%; height: 100%; object-fit: contain; }
.dc-word-lg { display: block; font-size: 19px; font-weight: 700; line-height: 1.3; word-break: break-all; }
.dc-cat-lg { display: inline-block; font-size: 12px; line-height: 1; padding: 3px 8px; border: 1px solid; border-radius: 4px; opacity: .85; }

@media (max-width: 980px) {
  .detail-flex { flex-direction: column; }
  .detail-cover { width: 100px; height: 134px; }
}

.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* 首页：左快讯 + 右报告 */
.home-grid { display: grid; grid-template-columns: 1fr 400px; gap: 18px; align-items: start; }

/* ══════ 快讯 / 研读 列表（洞察中心用）══════ */
.news-list { padding: 4px 22px; }
/* ★ .news-item / .news-time / .news-body / .news-title / .news-sum
     的样式已在上面「首页平行双栏」处统一定义，这里不再重复定义，避免两套规则打架。 */
.news-src {
  margin-top: 6px; display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--ink-3);
}
.src-tag {
  padding: 1px 8px; background: var(--line-2); border-radius: 3px;
  font-size: 12px; color: var(--ink-2);
}

/* 研读卡片 */
.study-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.study-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s, box-shadow .15s;
}
.study-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.study-author { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.study-ava {
  width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; flex: none;
}
.study-text {
  font-size: 14px; line-height: 1.7; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.study-title {
  font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.study-img {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-2);
}
.study-img img {
  width: 100%; border-radius: 6px; background: #FAFAFA;
  max-height: 200px; object-fit: cover;
}

/* ══════ 报告列表（左侧筛选 + 右列表）═══════════════ */
.page-main {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 226px 1fr; overflow: hidden;
}
.side { border-right: 1px solid var(--line); padding: 20px 0 30px; }
.side-hd {
  padding: 0 20px 14px; font-size: 13px; color: var(--ink-3);
  display: flex; align-items: center; justify-content: space-between;
}
.side-reset { color: var(--brand); cursor: pointer; font-size: 13px; }
.side-reset:hover { text-decoration: underline; }
.fgroup { padding: 0 20px 18px; }
.fgroup h4 {
  margin: 0 0 9px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  display: flex; align-items: center; gap: 6px;
}
.fgroup h4::before {
  content: ''; width: 3px; height: 11px; background: var(--brand); border-radius: 2px;
}
.fopt {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 0; font-size: 13px; color: var(--ink-2); cursor: pointer;
  line-height: 1.5;
}
.fopt:hover { color: var(--brand); }
.fopt input { accent-color: var(--brand); margin: 0; flex: none; cursor: pointer; }
.fopt .n { margin-left: auto; color: #BEBEBE; font-size: 12px; font-variant-numeric: tabular-nums; }
.fopt.sel { color: var(--brand); font-weight: 500; }
/* ★ 后端暂不支持的筛选项：明确禁用 + 标注，不做「点了没反应」的假交互 */
.fopt.dis { color: #B8B8B8; cursor: not-allowed; }
.fopt.dis:hover { color: #B8B8B8; }
.fopt.dis input { cursor: not-allowed; }
.fgroup h4 .soon {
  font-style: normal; font-weight: 400; font-size: 11px; color: #B0B0B0;
  background: #F4F5F6; border-radius: 3px; padding: 1px 6px; margin-left: 7px;
}

.list-wrap { padding: 18px 24px 26px; min-width: 0; }
.list-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 13px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px;
}
.list-count { font-size: 13px; color: var(--ink-3); }
.list-count b { color: var(--brand); font-weight: 600; }
.sort-tabs { display: flex; gap: 2px; }
.sort-tabs a {
  padding: 4px 12px; font-size: 13px; color: var(--ink-3); border-radius: 5px;
}
.sort-tabs a:hover { background: var(--line-2); }
.sort-tabs a.on { color: var(--brand); font-weight: 500; background: var(--brand-soft); }

/* 报告条目 */
.rep {
  display: flex; gap: 15px; padding: 17px 0;
  border-bottom: 1px solid var(--line-2);
}
.rep:last-child { border-bottom: 0; }
/* ★ .rep-cover 样式已在「派生封面」区块统一定义（旧的无图片 SVG 占位版已删除，
     避免同名两套规则打架）—— 同根因已踩 3 次，改一处必搜同类。 */
.rep-main { flex: 1; min-width: 0; }
.rep-title {
  font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rep-title:hover { color: var(--brand); }
.rep-tags { display: flex; align-items: center; gap: 7px; margin: 8px 0 7px; flex-wrap: wrap; }
.tag {
  padding: 1px 8px; border-radius: 3px; font-size: 12px;
  background: var(--line-2); color: var(--ink-2);
}
.tag-red { background: var(--brand-soft); color: var(--brand); }
.tag-blue { background: #EAF2FD; color: #1D5FBF; }
.rep-meta {
  font-size: 13px; color: var(--ink-3);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.rep-meta .dot { color: #D0D0D0; }
.rep-meta a:hover { color: var(--brand); }
.rep-acts { margin-top: 9px; display: flex; gap: 8px; }
.act {
  display: inline-flex; align-items: center; gap: 5px;
  height: 28px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 5px; font-size: 13px; color: var(--ink-2); background: #fff;
}
.act:hover { border-color: var(--brand); color: var(--brand); }
.act svg { width: 13px; height: 13px; }

/* ══════ 分页 ══════ */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 26px 0 6px; }
.pager button {
  min-width: 34px; height: 34px; padding: 0 10px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px;
}
.pager button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.pager button.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }
.pager button:disabled { opacity: .42; cursor: not-allowed; }

/* ══════ 图表数据中心 ══════ */
.chart-toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 0 24px 16px; border-bottom: 1px solid var(--line-2);
}
.chip {
  padding: 5px 14px; border-radius: 15px; border: 1px solid var(--line);
  background: #fff; font-size: 13px; color: var(--ink-2);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }

.chart-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 24px 26px;
}
.chart-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: box-shadow .15s, border-color .15s;
}
.chart-card:hover { border-color: var(--brand); box-shadow: 0 4px 16px rgba(224,67,59,.10); }
.chart-img {
  width: 100%; aspect-ratio: 4/3; background: #FAFAFA;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.chart-img img { width: 100%; height: 100%; object-fit: contain; }
.chart-meta { padding: 10px 12px 12px; }
.chart-label {
  font-size: 13px; line-height: 1.5; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 39px;
}
.chart-sub { margin-top: 6px; font-size: 12px; color: var(--ink-3); display: flex; gap: 6px; }
.chart-sub a { color: var(--brand); }
.chart-sub a:hover { text-decoration: underline; }

/* ══════ 报告详情 ══════ */
.crumb { font-size: 13px; color: var(--ink-3); margin: 18px 0 12px; display: flex; gap: 7px; align-items: center; }
.crumb a:hover { color: var(--brand); }
.crumb .sepc { color: #D0D0D0; }

.detail-hd { padding: 26px 30px 22px; border-bottom: 1px solid var(--line-2); }
.detail-title { margin: 0 0 13px; font-size: 24px; font-weight: 700; line-height: 1.45; }
.detail-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.detail-acts { margin-top: 17px; display: flex; gap: 10px; }
.btn-main {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 26px; border-radius: 19px; border: 0;
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 500;
}
.btn-main:hover { background: var(--brand-dark); }
.btn-main svg { width: 15px; height: 15px; }
.btn-line {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 22px; border-radius: 19px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 15px;
}
.btn-line:hover { border-color: var(--brand); color: var(--brand); }

.detail-body { padding: 24px 30px 34px; }
.blk-t {
  margin: 0 0 12px; font-size: 16px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.blk-t::before { content: ''; width: 3px; height: 14px; background: var(--brand); border-radius: 2px; }
.abs {
  font-size: 14px; line-height: 1.85; color: var(--ink-2);
  background: var(--line-2); border-radius: var(--radius); padding: 16px 18px;
  white-space: pre-wrap;
}
.info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 34px;
  font-size: 14px;
}
.info-row {
  display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-2);
}
.info-row .k { flex: none; width: 74px; color: var(--ink-3); }
.info-row .v { flex: 1; min-width: 0; color: var(--ink); word-break: break-all; }

/* ══════ 快讯详情 ══════ */
.article { padding: 30px 40px 40px; }
.art-title { margin: 0 0 14px; font-size: 25px; font-weight: 700; line-height: 1.45; }
.art-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.art-body { margin-top: 22px; font-size: 15px; line-height: 2; color: var(--ink-2); white-space: pre-wrap; }
.art-imgs { margin-top: 20px; display: grid; gap: 12px; }
.art-imgs img { border-radius: var(--radius); width: 100%; }

/* ══════ 灯箱 ══════ */
.lb {
  position: fixed; inset: 0; background: rgba(0,0,0,.86); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 36px;
}
.lb[hidden] { display: none; }
.lb-box { max-width: 1080px; width: 100%; background: #fff; border-radius: var(--radius-lg); overflow: hidden; max-height: 100%; display: flex; flex-direction: column; }
.lb-hd { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.lb-t { font-size: 15px; font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-x { width: 30px; height: 30px; border: 0; background: var(--line-2); border-radius: 6px; color: var(--ink-2); flex: none; display: flex; align-items: center; justify-content: center; }
.lb-x:hover { background: #E4E4E4; }
.lb-x svg { width: 15px; height: 15px; }
.lb-imgwrap { flex: 1; overflow: auto; background: #FAFAFA; padding: 16px; text-align: center; }
.lb-imgwrap img { max-width: 100%; height: auto; margin: 0 auto; }
.lb-ft { padding: 13px 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-3); }
.lb-ft a { color: var(--brand); }
.lb-ft a:hover { text-decoration: underline; }

/* ══════ 会员 ══════ */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 22px; text-align: center; position: relative;
}
.plan.hot { border-color: var(--brand); box-shadow: 0 4px 20px rgba(224,67,59,.12); }
.plan-flag {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12px;
  padding: 2px 14px; border-radius: 0 0 8px 8px;
}
.plan-name { font-size: 16px; font-weight: 600; }
.plan-price { margin: 12px 0 4px; font-size: 32px; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 15px; font-weight: 400; }
.plan-unit { font-size: 13px; color: var(--ink-3); min-height: 20px; }
.plan-btn {
  margin-top: 18px; width: 100%; height: 38px; border-radius: 19px;
  border: 1px solid var(--brand); background: #fff; color: var(--brand); font-size: 15px;
}
.plan.hot .plan-btn { background: var(--brand); color: #fff; }
.plan-btn:hover { background: var(--brand); color: #fff; }

/* ══════ 公司/机构列表 ══════ */
.org-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 22px 24px 28px; }
.org-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 14px;
  display: flex; align-items: center; gap: 11px; transition: border-color .15s;
}
.org-card:hover { border-color: var(--brand); }
.org-ava {
  width: 34px; height: 34px; border-radius: 7px; flex: none;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.org-n { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-c { font-size: 12px; color: var(--ink-3); flex: none; }

/* ══════ 状态 ══════ */
.empty { padding: 60px 20px; text-align: center; color: var(--ink-3); font-size: 14px; }
.empty svg { width: 42px; height: 42px; color: #D5D5D5; margin: 0 auto 12px; display: block; }
.loading { padding: 44px; text-align: center; color: var(--ink-3); font-size: 14px; }
.spin {
  width: 22px; height: 22px; margin: 0 auto 10px;
  border: 2px solid var(--line); border-top-color: var(--brand);
  border-radius: 50%; animation: sp .7s linear infinite;
}
@keyframes sp { to { transform: rotate(360deg); } }
.err-box {
  margin: 20px; padding: 20px; background: #FEF2F2; border: 1px solid #F5C6C6;
  border-radius: var(--radius); color: #A32D2D; font-size: 14px;
}
.err-box b { display: block; margin-bottom: 5px; font-size: 15px; }

/* ══════ 页脚 ══════ */
.ft {
  margin-top: 40px; background: #fff; border-top: 1px solid var(--line);
  padding: 30px 0 26px; font-size: 13px; color: var(--ink-3);
}
.ft-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ft-links { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-links a:hover { color: var(--brand); }
.ft-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); line-height: 1.8; }

/* ══════ 响应式 ══════ */
@media (max-width: 1400px) { :root { --w: 1200px; } }
@media (max-width: 1200px) {
  .home-grid { grid-template-columns: 1fr; }
  .chart-grid { grid-template-columns: repeat(3, 1fr); }
  .org-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
  .wrap { padding: 0 16px; }
  .nav { overflow-x: auto; }
  .page-main { grid-template-columns: 1fr; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); }
  .study-grid, .chart-grid { grid-template-columns: repeat(2, 1fr); }
  .org-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 23px; }
  .detail-title, .art-title { font-size: 20px; }
}
/* ══════ 轻提示 toast（替代生硬的 alert）══════
 * ★ 只用于「如实说明功能未开放」，不做假的成功提示 */
.toast {
  position: fixed; left: 50%; bottom: 48px;
  transform: translateX(-50%) translateY(10px);
  background: rgba(28,28,30,.92); color: #fff;
  font-size: 14px; line-height: 1.5; padding: 11px 20px;
  border-radius: 8px; max-width: 78vw; text-align: center;
  opacity: 0; pointer-events: none; z-index: 9999;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
