:root {
  --ink: #0e1b2c;
  --ink-2: #40536e;
  --ink-3: #7c8ba1;
  --line: #e6ebf2;
  --bg: #eef2f7;
  --card: #ffffff;
  --pri: #0a5fd6;
  --pri-d: #083f92;
  --sea: #0b6f8f;
  --ok: #0f9d58;
  --warn: #d97706;
  --bad: #d43f3f;
  --r: 16px;
  --shadow: 0 1px 2px rgba(14, 27, 44, .05), 0 8px 24px -12px rgba(14, 27, 44, .18);
  --app-w: 560px;
  --gutter: 14px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

[hidden] { display: none !important; }

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

body {
  background:
    radial-gradient(900px 400px at 50% -140px, #d7e6fb 0%, transparent 70%),
    var(--bg);
}

.app {
  max-width: var(--app-w);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  position: relative;
}

/* ---------------- 响应式 ---------------- */
@media (min-width: 760px) {
  :root { --app-w: 640px; --gutter: 18px; }
  body {
    background:
      radial-gradient(1100px 520px at 50% -180px, #dbe8fb 0%, transparent 65%),
      var(--bg);
  }
  .view { padding: 18px var(--gutter) calc(84px + env(safe-area-inset-bottom)); gap: 16px; }
  .brand-text h1 { font-size: 17px; }
}

@media (min-width: 1100px) {
  :root { --app-w: 920px; --gutter: 22px; }
  .app {
    box-shadow: 0 0 0 1px rgba(14, 27, 44, .04), 0 30px 80px -40px rgba(14, 27, 44, .28);
    border-radius: 24px;
    margin: 18px auto;
    min-height: calc(100vh - 36px);
  }
  .topbar { border-radius: 24px 24px 22px 22px; }
  .grid2 { grid-template-columns: repeat(3, 1fr); }
  .pc-grid { grid-template-columns: repeat(3, 1fr); }
  .act, .mrow { transition: background .15s ease; }
  .mrow:hover { background: #f7faff; }
  .btn:hover { filter: brightness(1.03); }
  .tabbar { bottom: 18px; border-radius: 0 0 24px 24px; }
}

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #08284f 0%, #0a4a8f 52%, #0b6f8f 100%);
  color: #fff;
  padding: calc(18px + env(safe-area-inset-top)) 18px 22px;
  border-radius: 0 0 22px 22px;
}
.topbar-glow {
  position: absolute;
  width: 260px; height: 260px;
  right: -90px; top: -140px;
  background: radial-gradient(circle, rgba(120, 200, 255, .38), transparent 66%);
  pointer-events: none;
}
.topbar-inner { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.brand { display: flex; gap: 11px; align-items: center; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  display: grid; place-items: center;
  font-size: 19px; font-weight: 700;
  letter-spacing: 0;
  backdrop-filter: blur(6px);
}
.brand-text { min-width: 0; }
.brand-text h1 {
  margin: 0;
  font-size: 16px; font-weight: 650; letter-spacing: .2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-text p { margin: 2px 0 0; font-size: 12px; color: rgba(255, 255, 255, .72); }

.me-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.me-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 0 3px rgba(110, 231, 168, .22); }

/* ---------------- 内容 ---------------- */
.view {
  flex: 1;
  padding: 16px var(--gutter) calc(78px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero {
  background: linear-gradient(135deg, #ffffff, #f7fafe);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-top { display: flex; align-items: center; justify-content: space-between; }
.hero-term { font-size: 12px; color: var(--ink-3); letter-spacing: .5px; }
.hero-num { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 2px; }
.hero-num b { font-size: 40px; line-height: 1; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.hero-num span { font-size: 13px; color: var(--ink-2); }
.hero-sub { font-size: 12.5px; color: var(--ink-3); }
.hero-actions { display: flex; gap: 8px; margin-top: 14px; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; text-align: center;
}
.mini-stat b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; }
.mini-stat span { font-size: 11.5px; color: var(--ink-3); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 0;
}
.card-hd h2 { margin: 0; font-size: 14.5px; font-weight: 650; letter-spacing: .2px; }
.card-bd { padding: 12px 16px 16px; }
.card-hd .link { font-size: 12.5px; color: var(--pri); cursor: pointer; background: none; border: 0; font-family: inherit; padding: 0; }

/* ---------------- 按钮 ---------------- */
.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 11px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 16px;
  cursor: pointer;
  transition: transform .06s ease, filter .15s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px;
}
.btn:active { transform: scale(.985); }
.btn-pri { background: linear-gradient(180deg, #1170e8, #0a5fd6); color: #fff; box-shadow: 0 6px 16px -8px rgba(10, 95, 214, .8); }
.btn-ghost { background: #f1f5fa; color: var(--pri-d); border-color: #e2eaf5; }
.btn-line { background: #fff; color: var(--ink-2); border-color: #dfe6ef; }
.btn-danger { background: #fdf0f0; color: var(--bad); border-color: #f6dede; }
.btn-block { width: 100%; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 12.5px; border-radius: 9px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.row-btns { display: flex; gap: 8px; }
.row-btns > .btn { flex: 1; }

/* ---------------- 表单 ---------------- */
.field { margin-bottom: 13px; }
.field > label { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; font-weight: 550; }
.field > label .req { color: var(--bad); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid #dfe6ef;
  border-radius: 11px;
  background: #fbfcfe;
  padding: 11px 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  min-height: 44px;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: #9cc2f5;
  box-shadow: 0 0 0 3px rgba(10, 95, 214, .1);
  background: #fff;
}
.textarea { min-height: 70px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { font-size: 11.5px; color: var(--ink-3); margin-top: 5px; }

.check { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--pri); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip-opt {
  border: 1px solid #dfe6ef; background: #fbfcfe; color: var(--ink-2);
  border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer;
  font-family: inherit; min-height: 34px;
}
.chip-opt.on { background: #e8f1fe; border-color: #a9c9f6; color: var(--pri-d); font-weight: 600; }

/* ---------------- 活动 ---------------- */
.act { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.act:last-child { border-bottom: 0; }
.act-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.act h3 { margin: 0; font-size: 15px; font-weight: 650; }
.act-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.act-meta b { color: var(--ink-2); font-weight: 550; }
.act-foot { display: flex; align-items: center; gap: 10px; margin-top: 11px; }
.bar { flex: 1; height: 6px; background: #edf1f7; border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, #35a3e8, #0a5fd6); border-radius: 99px; transition: width .3s; }
.bar-txt { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

.tag { font-size: 11px; padding: 3px 8px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.tag-ok { background: #e8f7ee; color: #0b7a45; }
.tag-warn { background: #fff4e5; color: #b45309; }
.tag-bad { background: #fdecec; color: #b93030; }
.tag-info { background: #eaf2fe; color: #0a4c9e; }
.tag-mute { background: #f1f4f8; color: #64748b; }

/* ---------------- 会员卡 ---------------- */
.mcard {
  position: relative;
  border-radius: 18px;
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(400px 200px at 110% -30%, rgba(120, 220, 255, .5), transparent 60%),
    linear-gradient(140deg, #06213f 0%, #0a4a8f 55%, #0d7a8f 100%);
  box-shadow: 0 14px 30px -16px rgba(8, 40, 79, .85);
  overflow: hidden;
}
.mcard::after {
  content: "";
  position: absolute; right: -30px; bottom: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, .06);
}
.mcard .mc-club { font-size: 11.5px; letter-spacing: 2px; opacity: .78; }
.mcard .mc-id {
  font-size: 30px; font-weight: 700; letter-spacing: 1.5px; margin: 10px 0 2px;
  font-variant-numeric: tabular-nums;
}
.mcard .mc-name { font-size: 17px; font-weight: 600; }
.mcard .mc-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; font-size: 12px; }
.mcard .mc-row span { opacity: .72; }
.mcard .mc-row b { font-weight: 600; }
.mcard .mc-exp { display: flex; gap: 18px; }

.empty { text-align: center; padding: 30px 18px; color: var(--ink-3); font-size: 13.5px; }
.empty .big { font-size: 30px; display: block; margin-bottom: 8px; opacity: .5; }

/* ---------------- 列表 ---------------- */
.list-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px dashed #eef1f6;
  font-size: 13.5px;
}
.list-row:last-child { border-bottom: 0; }
.list-row .k { color: var(--ink-3); flex: 0 0 auto; width: 74px; }
.list-row .v { color: var(--ink); flex: 1; word-break: break-all; }

.mrow {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-bottom: 1px solid #f1f4f8; cursor: pointer;
}
.mrow:last-child { border-bottom: 0; }
.mrow .avatar {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px;
  background: #eaf1fd; color: var(--pri-d);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.mrow .info { flex: 1; min-width: 0; }
.mrow .info b { display: block; font-size: 14px; font-weight: 600; }
.mrow .info small {
  display: block;
  color: var(--ink-3);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- 统计 ---------------- */
.seg { display: flex; background: #eef2f8; border-radius: 11px; padding: 3px; gap: 3px; }
.seg button {
  flex: 1; border: 0; background: transparent; padding: 8px 4px; border-radius: 9px;
  font-size: 13px; font-family: inherit; color: var(--ink-2); cursor: pointer;
}
.seg button.on { background: #fff; color: var(--pri-d); font-weight: 650; box-shadow: 0 1px 4px rgba(14, 27, 44, .1); }

.dist { margin-bottom: 12px; }
.dist-hd { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; color: var(--ink-2); }
.dist-bar { height: 7px; background: #eef2f8; border-radius: 99px; overflow: hidden; }
.dist-bar > i { display: block; height: 100%; background: linear-gradient(90deg, #57b0ea, #0a5fd6); border-radius: 99px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.stat-box { background: #f8fafd; border: 1px solid #eaf0f8; border-radius: 12px; padding: 11px 13px; }
.stat-box b { display: block; font-size: 21px; font-variant-numeric: tabular-nums; }
.stat-box span { font-size: 11.5px; color: var(--ink-3); }

/* ---------------- 底部导航 ---------------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--app-w);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 50;
}
.tab {
  min-width: 0;
  border: 0; background: none; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 0 7px; color: #93a1b5; font-size: 10px; cursor: pointer;
}
.tab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab.on { color: var(--pri); }
.tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* ---------------- 弹层 ---------------- */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(8, 20, 36, .45);
  z-index: 100; display: flex; align-items: flex-end; justify-content: center;
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: var(--app-w); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 20px 20px 0 0;
  padding: 8px 18px calc(22px + env(safe-area-inset-bottom));
  animation: up .22s cubic-bezier(.2, .8, .3, 1);
}
@media (min-width: 760px) {
  .sheet-mask { align-items: center; padding: 20px; }
  .sheet { border-radius: 20px; max-height: 82vh; }
}
@keyframes up { from { transform: translateY(30px); opacity: .6; } }
.sheet-grip { width: 36px; height: 4px; background: #e3e9f1; border-radius: 99px; margin: 6px auto 12px; }
.sheet h3 { margin: 0 0 4px; font-size: 16px; }
.sheet .sub { font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 12px);
  background: rgba(14, 27, 44, .94); color: #fff;
  padding: 10px 16px; border-radius: 11px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  z-index: 200; max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.fadein { animation: fadein .25s ease; }
@keyframes fadein { from { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .fadein { animation: none; }
  html { scroll-behavior: auto; }
}

@media (min-width: 560px) {
  .app { box-shadow: 0 0 60px rgba(14, 27, 44, .08); }
}

/* ---------------- 会员卡批量导出 ---------------- */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.pc {
  border: 1px solid #0a4c9e;
  border-radius: 10px;
  padding: 10px 12px;
  background: linear-gradient(160deg, #ffffff, #f3f8ff);
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  break-inside: avoid;
}
.pc-hd { font-size: 9px; color: #0a4c9e; letter-spacing: .5px; }
.pc-id { font-size: 17px; font-weight: 700; color: #08284f; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.pc-name { font-size: 13px; font-weight: 600; color: #1a2333; }
.pc-name span { font-size: 10px; font-weight: 400; color: #7c8ba1; margin-left: 4px; }
.pc-ft { display: flex; justify-content: space-between; font-size: 8.5px; color: #5b6a80; }

@media print {
  @page { size: A4; margin: 10mm; }
  .topbar, .tabbar, .no-print { display: none !important; }
  body { background: #fff !important; }
  .app { max-width: none; box-shadow: none; }
  .view { padding: 0; gap: 0; }
  .pc-grid { grid-template-columns: repeat(2, 1fr); gap: 5mm; }
  .pc { min-height: 32mm; border-width: 1.5px; }
  .pc-id { font-size: 19px; }
}

/* ---------------- 视觉细节 ---------------- */
::selection { background: #cfe3ff; color: #08284f; }
html { scroll-behavior: smooth; }

.card { transition: box-shadow .2s ease, transform .2s ease; }
@media (hover: hover) {
  .card:hover { box-shadow: 0 2px 4px rgba(14, 27, 44, .06), 0 16px 34px -20px rgba(14, 27, 44, .26); }
}

.stat-box { background: linear-gradient(180deg, #fbfdff, #f3f8fe); }

.hero { position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute; right: -50px; top: -70px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 95, 214, .10), transparent 62%);
  pointer-events: none;
}

.btn:focus-visible, .input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 2px solid #9cc2f5; outline-offset: 2px;
}

.tag { letter-spacing: .2px; }

/* 宽屏时名册行更像表格 */
@media (min-width: 1100px) {
  .mrow { padding: 12px 18px; }
  .mrow .info small { font-size: 12px; }
  .mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ---------------- 等级徽章 ---------------- */
.lvl {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  padding: 1px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff3d1, #ffe2a1);
  color: #8a5a00;
  border: 1px solid rgba(180, 120, 0, .18);
  vertical-align: middle;
  letter-spacing: .3px;
  white-space: nowrap;
}
.mcard .lvl {
  background: rgba(255, 233, 170, .92);
  border-color: rgba(255, 255, 255, .35);
  font-size: 12px;
  padding: 2px 9px;
}

/* ---------------- 身份标签 ---------------- */
.idtag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
  padding: 1px 6px;
  border-radius: 5px;
  vertical-align: middle;
  white-space: nowrap;
  background: rgba(0, 0, 0, .05);
  color: var(--ink-2);
  border: 1px solid rgba(0, 0, 0, .06);
}
.idtag-undergrad { background: #e8f1ff; color: #1b5fbf; border-color: #cfe2ff; }
.idtag-master    { background: #eaf7ee; color: #1f7a3d; border-color: #d3ecd9; }
.idtag-phd       { background: #f2ecff; color: #5b3bb5; border-color: #e0d5fb; }
.idtag-alumni    { background: #fff4e5; color: #9a5b00; border-color: #ffe2bd; }
.idtag-teacher   { background: #fdecec; color: #b02a2a; border-color: #f8d4d4; }
.mcard .idtag {
  background: rgba(255, 255, 255, .85);
  color: #14507f;
  border-color: rgba(255, 255, 255, .5);
  font-size: 11px;
}

.idtag-manager   { background: #e9f3f5; color: #0f6b7a; border-color: #cfe6ea; }

/* ---------------- 圈子 ---------------- */
.post {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.post:last-child { border-bottom: 0; }
.post-hd {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.pcat {
  font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 6px;
  background: #eef3fa; color: #3a5a80;
}
.pcat-coach { background: #e8f1ff; color: #1b5fbf; }
.pcat-seek  { background: #eaf7ee; color: #1f7a3d; }
.pcat-gear  { background: #fff4e5; color: #9a5b00; }
.pcat-talk  { background: #f2ecff; color: #5b3bb5; }
.ptime { font-size: 11.5px; color: var(--ink-3); }
.post-title {
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; gap: 8px; align-items: baseline;
}
.pmuted { font-weight: 400; font-size: 12px; color: var(--ink-3); }
.price { color: #c2410c; font-weight: 700; font-size: 14px; }
.post-text {
  margin: 6px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-word;
}
.post-meta {
  display: flex; gap: 10px; align-items: center; margin-top: 6px;
  font-size: 12.5px; color: var(--ink-3);
}
.post-contact {
  margin-top: 8px; font-size: 12.5px; color: var(--ink-2);
  background: #f5f8fc; border-radius: 8px; padding: 6px 10px;
  word-break: break-all;
}
.post-imgs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.post-imgs img {
  width: 88px; height: 88px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); background: #f2f5f9;
}
.post-more {
  margin-top: 8px; font-size: 12.5px; color: var(--pri);
  text-align: right; cursor: pointer;
}

/* 帖子作者行 + 举报 */
.post-author {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
  font-size: 12.5px; color: var(--ink-3);
}
.post-author .pname { color: var(--ink-2); font-weight: 600; }
.post-author .pnum {
  font-size: 11px; padding: 1px 6px; border-radius: 5px;
  background: #eef3fa; color: #3a5a80; font-variant-numeric: tabular-nums;
}
.preport {
  margin-left: auto;
  border: 0; background: none; font-family: inherit;
  font-size: 12px; color: var(--ink-3); cursor: pointer; padding: 2px 4px;
}
.preport:active { color: var(--bad); }
.post-ft {
  display: flex; align-items: center; margin-top: 8px;
}
.post-ft .post-more { margin-left: auto; margin-top: 0; }

/* 评论区 */
.cmt-hd {
  margin: 16px 0 6px; font-size: 13px; font-weight: 600; color: var(--ink);
  border-top: 1px solid var(--line); padding-top: 12px;
}
.cmt { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.cmt:last-child { border-bottom: 0; }
.cmt-top { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.cmt-top b { color: var(--ink-2); font-weight: 600; }
.cmt-time { margin-left: auto; color: var(--ink-3); font-size: 11.5px; }
.cmt-body { margin-top: 3px; font-size: 13.5px; line-height: 1.65; color: var(--ink); word-break: break-word; }
.cmt-input { display: flex; gap: 8px; margin-top: 10px; }
.cmt-input .input { flex: 1; }
.cmt-input .btn { flex: 0 0 auto; }
#cmtList { max-height: 46vh; overflow-y: auto; }

/* 看大图 */
.viewer {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 14, 26, .92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px; animation: fade .15s ease;
}
.viewer img {
  max-width: 100%; max-height: 82vh; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff;
}
.viewer-tip { margin-top: 14px; color: rgba(255,255,255,.65); font-size: 12.5px; }

/* ---------------- 荣誉墙 ---------------- */
.mini-title {
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  margin: 2px 0 8px;
}
.honor {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.honor:last-child { border-bottom: 0; }
.honor-hd {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.honor-hd b { font-size: 14px; color: var(--ink); }
.honor-when {
  font-size: 11.5px; color: var(--ink-3);
  background: #f1f5fa; border-radius: 5px; padding: 1px 6px;
}
.honor-body {
  margin-top: 5px; font-size: 13px; line-height: 1.75;
  color: var(--ink-2); white-space: pre-line; word-break: break-word;
}

/* 权益长文折叠 */
.notice-body {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

/* 首页荣誉墙：每条最多 3 行，完整内容在「全部」里看 */
.honor-body.honor-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------- 首页荣誉墙（横向卡片） ---------------- */
.honors-sec { margin: 14px 0 0; }
.sec-hd {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 4px 8px;
}
.sec-hd h2 { margin: 0; font-size: 15px; letter-spacing: .2px; }
.honor-scroll {
  display: flex; gap: 10px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}
.honor-scroll::-webkit-scrollbar { display: none; }
.honor-card {
  flex: 0 0 84%;
  max-width: 320px;
  scroll-snap-align: start;
  background: linear-gradient(160deg, #fffdf6, #fff);
  border: 1px solid #f0e6cf;
  border-radius: 14px;
  padding: 12px 14px 13px;
  box-shadow: 0 1px 2px rgba(14,27,44,.04), 0 8px 20px -14px rgba(146,110,20,.35);
}
.hc-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.hc-cup { font-size: 14px; }
.hc-when {
  font-size: 11px; color: #8a6a1f; background: #fbf1d8;
  border-radius: 5px; padding: 1px 7px;
}
.hc-title {
  font-size: 14px; font-weight: 650; color: var(--ink); line-height: 1.4;
  margin-bottom: 6px;
}
.hc-body { font-size: 12.5px; line-height: 1.65; color: var(--ink-2); }
.hc-more { color: var(--ink-3); }
.empty.compact { padding: 12px 0; font-size: 13px; }

/* 备案号 */
.icp-line {
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-3);
  padding: 2px 0 4px;
}
.icp-line a { color: var(--ink-3); text-decoration: none; }
.icp-line a:hover { color: var(--ink-2); }
