/* ============================================================
   银智研策 · 银行智能化战略与落地深度研究平台（手机版）
   移动端优先样式  —— 主色: 藏蓝 #0b2a5b / 点缀金 #c8a24a
   ============================================================ */
:root {
  --navy-900: #081c3f;
  --navy-800: #0b2a5b;
  --navy-700: #103a7c;
  --navy-600: #1e5db7;
  --navy-100: #e8eefb;
  --gold: #c8a24a;
  --gold-soft: #f6edd9;
  --bg: #f2f4fa;
  --card: #ffffff;
  --line: #e3e7f0;
  --text: #1c2733;
  --text-2: #5b6b7e;
  --text-3: #93a0b2;
  --danger: #b03a2e;
  --ok: #1e8e6a;
  --shadow: 0 6px 18px rgba(11, 42, 91, .07);
  --radius: 14px;
  --tab-h: 58px;
  --sat: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { font-size: 15px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy-600); text-decoration: none; }
img { max-width: 100%; }

#app { max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--bg); }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 4px;
  height: 50px; padding: 0 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .tb-back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-right: 2px; font-size: 18px;
  color: var(--text); border-radius: 8px;
}
.topbar .tb-back:active { background: var(--navy-100); }
.topbar .tb-title {
  flex: 1; min-width: 0;
  font-size: 16.5px; font-weight: 600; color: var(--navy-900);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar .tb-sub { font-size: 11.5px; color: var(--text-3); font-weight: 400; margin-top: -2px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin: 12px 12px 6px;
  padding: 22px 18px 18px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(120% 160% at 100% -20%, rgba(200,162,74,.55) 0%, transparent 46%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 62%, #16468f 100%);
  box-shadow: 0 10px 24px rgba(11,42,91,.28);
}
.hero .hero-brand {
  display: inline-block; font-size: 11px; letter-spacing: 2px;
  padding: 3px 10px; border-radius: 20px;
  color: var(--gold); background: rgba(255,255,255,.12);
  border: 1px solid rgba(200,162,74,.55);
}
.hero h1 { margin: 12px 0 4px; font-size: 21px; line-height: 1.35; font-weight: 700; letter-spacing: .5px; }
.hero .hero-sub { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.82); }
.hero .hero-date { margin-top: 12px; font-size: 11px; color: rgba(255,255,255,.65); display: flex; gap: 10px; align-items: center; }

/* ---------- 通用卡片与区块 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 10px 12px;
  padding: 14px 14px 10px;
}
.block-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 0 10px;
}
.block-title h2 { font-size: 15.5px; margin: 0; color: var(--navy-900); display: flex; align-items: center; gap: 6px; }
.block-title h2::before { content: ""; width: 4px; height: 15px; border-radius: 2px; background: linear-gradient(var(--gold), var(--navy-600)); }
.block-title .more { font-size: 12px; color: var(--text-3); }
.section-pad { padding: 6px 12px 12px; }

/* ---------- 搜索 ---------- */
.searchbar {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 8px 14px;
  margin: 10px 12px 2px;
  box-shadow: var(--shadow);
}
.searchbar input {
  flex: 1; min-width: 0; border: 0; outline: 0; font-size: 14.5px;
  background: transparent; color: var(--text); font-family: inherit;
}
.searchbar input::placeholder { color: var(--text-3); }
.searchbar button {
  border: 0; background: var(--navy-800); color: #fff;
  font-size: 13px; border-radius: 16px; padding: 5px 14px;
  font-family: inherit;
}
.searchbar button:active { background: var(--navy-600); }

/* ---------- 动态列表项 ---------- */
.list-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 2px; border-bottom: 1px solid var(--line);
}
.list-item:last-child { border-bottom: 0; }
.list-item .li-title { font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.45; }
a.list-item:active { opacity: .72; }
.list-item .li-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-3); flex-wrap: wrap; }

/* 板块标签小圆点 */
.mdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.chip {
  display: inline-block; font-size: 10.5px; line-height: 1; padding: 3px 7px;
  border-radius: 10px; background: var(--navy-100); color: var(--navy-600);
  border: 1px solid transparent; white-space: nowrap;
}
.chip.gold { background: var(--gold-soft); color: #8a6a1d; }
.chip.red { background: #fbe9e6; color: var(--danger); }
.chip.gray { background: #eef1f5; color: var(--text-2); }

/* ---------- 板块宫格 ---------- */
.mod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 2px 12px 4px; }
.mod-card {
  position: relative; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 13px 12px 11px; overflow: hidden;
  border-top: 3px solid var(--mc, var(--navy-600));
}
.mod-card .mc-icon { font-size: 22px; }
.mod-card .mc-name { font-size: 14.5px; font-weight: 700; margin: 7px 0 2px; color: var(--navy-900); line-height: 1.3; }
.mod-card .mc-sub { font-size: 11px; color: var(--text-3); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mod-card .mc-count { position: absolute; top: 10px; right: 10px; font-size: 10.5px; color: var(--text-3); background: var(--bg); padding: 2px 7px; border-radius: 9px; }

/* ---------- 板块页 banner ---------- */
.mbanner {
  position: relative; margin: 12px 12px 6px; padding: 18px 16px 14px;
  border-radius: 18px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--mc, var(--navy-700)) 0%, color-mix(in srgb, var(--mc, var(--navy-700)) 72%, #000) 100%);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--mc, var(--navy-700)) 30%, transparent);
}
.mbanner .mbi { font-size: 26px; }
.mbanner h1 { margin: 8px 0 2px; font-size: 20px; }
.mbanner p { margin: 0; font-size: 12px; opacity: .88; }
.mbanner .mb-stats { margin-top: 10px; font-size: 11px; opacity: .8; display: flex; gap: 12px; }

/* 分类块 */
.cat-block { padding: 6px 12px 2px; }
.cat-head {
  display: flex; align-items: baseline; gap: 8px;
  margin: 10px 2px 4px;
}
.cat-head .ch-title { font-size: 14px; font-weight: 700; color: var(--navy-900); }
.cat-head .ch-n { font-size: 11px; color: var(--text-3); }
.cat-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* ---------- 文章详情 ---------- */
.article-wrap { background: #fff; margin: 0; border-radius: 0; min-height: 70vh; }
.art-head { padding: 18px 16px 8px; }
.art-head h1 { font-size: 19.5px; line-height: 1.45; margin: 6px 0 10px; color: var(--navy-900); }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.art-abs {
  margin: 12px 16px; padding: 12px 14px;
  background: linear-gradient(180deg, var(--navy-100), #f2f6ff);
  border-left: 3px solid var(--navy-600);
  border-radius: 8px; font-size: 13.5px; color: #31435c;
}
.art-body { padding: 2px 16px 14px; }
.art-body p { margin: 10px 0; font-size: 14.5px; color: #2a3442; text-align: justify; }
.art-body .h2 {
  font-size: 15.5px; font-weight: 700; color: var(--navy-900);
  margin: 20px 0 4px; padding-left: 9px; border-left: 3px solid var(--gold);
}
.point-list { list-style: none; margin: 8px 0; padding: 0; counter-reset: pt; }
.point-list li {
  position: relative; counter-increment: pt;
  padding: 7px 0 7px 30px; font-size: 14px; color: #2a3442;
  border-bottom: 1px dashed #edf0f6;
}
.point-list li:last-child { border-bottom: 0; }
.point-list li::before {
  content: counter(pt, decimal-leading-zero);
  position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--navy-800); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 20px; text-align: center;
}
.note-box {
  margin: 16px 16px 6px; padding: 12px 14px;
  background: var(--gold-soft); border-radius: 10px;
  font-size: 13px; color: #6d5620;
}
.note-box .nb-t { font-weight: 700; color: #8a6a1d; }
.source-card { margin: 12px 16px 16px; }
.source-card .src-row {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; padding: 9px 0; border-bottom: 1px dashed var(--line); word-break: break-all;
}
.source-card .src-row:last-child { border-bottom: 0; }
.source-card .src-row .lbl { flex: 0 0 60px; color: var(--text-3); font-size: 12px; padding-top: 1px; }
.art-actions {
  position: sticky; bottom: calc(var(--tab-h) + 6px); z-index: 20;
  display: flex; justify-content: flex-end; gap: 8px; padding: 4px 16px 6px;
  pointer-events: none;
}
.art-actions > * { pointer-events: auto; }
.fab-btn {
  border: 0; border-radius: 22px; padding: 9px 16px;
  background: var(--navy-800); color: #fff; font-size: 13px;
  font-family: inherit; box-shadow: 0 6px 14px rgba(11,42,91,.3);
  display: inline-flex; align-items: center; gap: 5px;
}
.fab-btn:active { background: var(--navy-600); }
.fab-btn.off { background: #fff; color: var(--navy-700); border: 1px solid var(--navy-600); box-shadow: 0 4px 10px rgba(11,42,91,.15); }

/* ---------- 检索页 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 4px 2px; }
.tag-cloud .chip { font-size: 12px; padding: 5px 11px; border-radius: 14px; }
.result-group { margin: 4px 12px; }
.result-group .rg-title {
  font-size: 12px; color: var(--text-3); margin: 12px 2px 2px;
  display: flex; align-items: center; gap: 6px;
}
.hit-num { text-align: center; color: var(--text-3); font-size: 12.5px; padding: 12px 0 0; }
.empty {
  text-align: center; color: var(--text-3); padding: 44px 20px; font-size: 13.5px;
}
.empty .e-ico { font-size: 40px; display: block; margin-bottom: 10px; opacity: .55; }

/* ---------- 我的 ---------- */
.me-head {
  margin: 12px 12px 6px; padding: 18px 16px; border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.me-head .mh-brand { font-size: 11px; letter-spacing: 2px; color: var(--gold); }
.me-head h1 { margin: 6px 0 4px; font-size: 17px; }
.me-head p { margin: 0; font-size: 11.5px; opacity: .8; }
.stat-row { display: flex; gap: 10px; margin: 8px 12px; }
.stat-box {
  flex: 1; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  padding: 12px 10px; text-align: center;
}
.stat-box .sb-n { font-size: 20px; font-weight: 800; color: var(--navy-800); }
.stat-box .sb-l { font-size: 11px; color: var(--text-3); }
.mini-list { padding: 4px 0; }
.mini-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
}
.mini-item:last-child { border-bottom: 0; }
.mini-item .mi-txt { flex: 1; min-width: 0; }
.mini-item .mi-title { font-size: 14px; color: var(--text); line-height: 1.4; }
.mini-item .mi-meta { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.mini-item .mi-x { color: var(--text-3); font-size: 16px; padding: 0 2px; border: 0; background: none; }
.danger-txt { color: var(--danger); }
.about-card { font-size: 13px; color: var(--text-2); }
.about-card .ab-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.about-card .ab-row:last-child { border-bottom: 0; }
.about-card .ab-l { color: var(--text-3); }

/* ---------- 页脚 & 底部栏 ---------- */
.appfoot { text-align: center; font-size: 10.5px; color: var(--text-3); padding: 18px 20px 80px; line-height: 1.7; }

#tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  max-width: 520px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  height: calc(var(--tab-h) + var(--sat));
  padding-bottom: var(--sat);
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
#tabbar .tab {
  flex: 1; text-align: center; padding: 6px 0 2px;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  color: var(--text-3); font-size: 20px;
}
#tabbar .tab span { font-size: 10px; letter-spacing: 1px; }
#tabbar .tab.active { color: var(--navy-800); }
#tabbar .tab.active span { font-weight: 700; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + 26px); z-index: 90;
  transform: translateX(-50%) translateY(16px);
  background: rgba(11,42,91,.94); color: #fff;
  font-size: 13px; padding: 9px 18px; border-radius: 22px;
  opacity: 0; transition: all .25s ease; pointer-events: none; max-width: 80%;
  text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,.22);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 通用 ---------- */
.note-empty { padding: 30px 16px; text-align: center; color: var(--text-3); font-size: 13px; }
.link-ext::after { content: " ↗"; font-size: 11px; }
.spin { display: inline-block; animation: rot 1s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

@media (min-width: 700px) {
  #app { box-shadow: 0 0 40px rgba(11,42,91,.08); }
  body { background: #dfe4ee; }
}

/* ---------- 试点场景申报表 ---------- */
.sv-unit {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; outline: 0; margin-top: 8px;
}
.sv-unit:focus { border-color: var(--navy-600); }
.sv-actions { display: flex; gap: 8px; margin: 12px 12px 4px; }
.sv-actions .btn {
  flex: 1; border: 0; border-radius: 22px; padding: 10px 6px; font-size: 13.5px;
  font-family: inherit; cursor: pointer; text-align: center;
}
.sv-actions .btn.pri { background: var(--navy-800); color: #fff; }
.sv-actions .btn.sec { background: #fff; color: var(--navy-700); border: 1px solid var(--navy-600); }
.sv-actions .btn.dng { background: #fff; color: var(--danger); border: 1px solid var(--danger); }
.sv-group { padding: 6px 12px 2px; }
.sv-rows { padding: 2px 0; }
.srow {
  display: flex; align-items: center; gap: 10px; padding: 9px 4px;
  border-bottom: 1px dashed #edf0f6; cursor: pointer;
}
.srow:last-child { border-bottom: 0; }
.srow input[type=checkbox] { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--navy-800); }
.srow .sname { flex: 1; font-size: 14px; color: var(--text); }
.srow .sname .sid {
  display: inline-block; min-width: 30px; margin-right: 6px; font-size: 11px; font-weight: 700;
  color: var(--navy-600); background: var(--navy-100); border-radius: 6px; text-align: center; padding: 1px 4px;
}
.srow .prio-tag { font-size: 11px; padding: 2px 8px; border-radius: 9px; background: #eef1f5; color: var(--text-3); }
.srow .prio-tag.h { background: #fbe9e6; color: var(--danger); }
.srow .prio-tag.m { background: var(--gold-soft); color: #8a6a1d; }
.smeta { display: flex; gap: 8px; padding: 0 4px 10px 32px; }
.smeta input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px;
  font-size: 13px; font-family: inherit; outline: 0;
}
.smeta select {
  flex: 0 0 74px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 4px;
  font-size: 13px; font-family: inherit; background: #fff;
}
.sv-picked { font-size: 12px; color: var(--text-3); padding: 2px 12px; }

