/* 亿媒汇在线刊例 —— 样式表 */
:root {
  --navy: #0e2a47;
  --navy-3: #1b4571;
  --blue: #1e6fd9;
  --blue-soft: #e8f0fc;
  --gold: #c9a227;
  --gold-soft: #f6edd4;
  --ink: #16202e;
  --grey: #64748b;
  --grey-2: #94a3b8;
  --line: #e3e9f0;
  --bg: #f5f7fa;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 32, 54, .04), 0 8px 24px rgba(16, 32, 54, .06);
  --shadow-lg: 0 2px 6px rgba(16, 32, 54, .06), 0 18px 44px rgba(16, 32, 54, .12);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ---------------------------------------------------------- 顶部导航 */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 18px rgba(14, 42, 71, .07);
}
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; width: auto; height: 58px; object-fit: contain; }
.topbar .spacer { flex: 1; }
.topnav { display: flex; gap: 4px; }
.topnav a { color: var(--navy); font-size: 14px; padding: 7px 12px; border-radius: 8px; }
.topnav a:hover { background: var(--gold-soft); color: var(--navy); text-decoration: none; }
.btn-dl {
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: 13px;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
}
.btn-dl:hover { background: #dcb63c; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 20px; cursor: pointer; padding: 4px 8px; }

/* ---------------------------------------------------------- Hero */
.hero {
  background:
    radial-gradient(1000px 420px at 12% -10%, rgba(30, 111, 217, .40), transparent 60%),
    radial-gradient(800px 380px at 88% 0%, rgba(201, 162, 39, .22), transparent 60%),
    linear-gradient(160deg, #0b2239 0%, var(--navy) 45%, #123a61 100%);
  color: #fff; padding: 62px 0 54px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 2px;
  color: var(--gold); border: 1px solid rgba(201, 162, 39, .45); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 20px;
}
.hero h1 { font-size: 46px; line-height: 1.18; margin: 0 0 14px; font-weight: 800; letter-spacing: -.5px; }
.hero .lead { font-size: 17px; color: #cddcec; max-width: 760px; margin: 0 0 12px; }
.hero .meta { font-size: 13px; color: #8fa8c2; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.act { padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; border: 0; font-family: inherit; cursor: pointer; }
.act-primary { background: var(--gold); color: var(--navy); }
.act-primary:hover { background: #dcb63c; text-decoration: none; }
.act-mobile { background: #fff; color: var(--navy); border: 1px solid #fff; }
.act-mobile:hover { background: #edf4fa; text-decoration: none; }
.act-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; background: none; }
.act-ghost:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.mobile-tip { max-width: 820px; margin: -24px 0 34px; color: #9fb6ce; font-size: 12.5px; }

.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.kpi {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius); padding: 18px 16px; text-align: center;
}
.kpi b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.kpi span { font-size: 12.5px; color: #a9c0d6; }

.plat-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.plat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  color: #fff; border-radius: 999px; padding: 6px 12px 6px 6px;
  font-size: 13px; cursor: pointer; font: inherit;
}
.plat-chip:hover { background: rgba(255,255,255,.18); }
.plat-chip img, .plat-chip .ico {
  width: 22px; height: 22px; border-radius: 6px; background: #fff; object-fit: contain; flex: none;
}

/* ---------------------------------------------------------- 区块 */
.section { padding: 54px 0; }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: 27px; margin: 0 0 8px; font-weight: 800; color: var(--navy); letter-spacing: -.3px; }
.section-head p { margin: 0; color: var(--grey); font-size: 14.5px; }
.rule { width: 46px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 14px; }

.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.about .prose p { margin: 0 0 14px; color: #33415c; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel h3 { margin: 0 0 14px; font-size: 16px; color: var(--navy); }
.timeline { list-style: none; margin: 0; padding: 0; max-height: 330px; overflow: auto; }
.timeline li { display: flex; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.timeline li:last-child { border: 0; }
.timeline b { color: var(--gold); flex: none; width: 44px; font-weight: 700; }
.timeline span { color: #46556e; }

.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.biz { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: .18s; border-top: 3px solid var(--navy-3); }
.biz:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.biz h4 { margin: 0 0 8px; font-size: 15.5px; color: var(--navy); }
.biz p { margin: 0; font-size: 13.5px; color: var(--grey); line-height: 1.6; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--gold-soft); color: #7a5f10; border: 1px solid #ecdcae; border-radius: 999px; padding: 5px 13px; font-size: 13px; }

/* ---------------------------------------------------------- 导航卡片 */
.nav-tools { position: sticky; top: 72px; z-index: 34; background: #eef2f7; padding: 4px 0 14px; margin-bottom: 8px; }
.nav-tools-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nav-search {
  flex: 1; min-width: 220px; font: inherit; font-size: 14px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; outline: none;
}
.nav-search:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.nav-tabs { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.nav-tab {
  flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; font-size: 13.5px; cursor: pointer; font: inherit; color: var(--navy);
}
.nav-tab.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav-hint { margin-top: 8px; font-size: 12.5px; color: var(--grey); }

.nav-section { margin-bottom: 36px; }
.nav-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px 18px; border-radius: 12px; color: #fff; }
.nav-section-head h3 { margin: 0; font-size: 18px; font-weight: 700; }
.nav-section-head .cnt { background: rgba(255, 255, 255, .22); border-radius: 999px; padding: 3px 12px; font-size: 12.5px; }
.nav-section-head .desc { font-size: 13px; opacity: .88; margin-left: auto; }

.plat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-bottom: 14px; }
.plat-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 8px 12px; cursor: pointer; font: inherit; color: inherit; text-align: center; transition: .16s;
}
.plat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c6d4e4; }
.plat-tile-ico { width: 40px; height: 40px; object-fit: contain; display: block; margin: 0 auto 8px; }
.plat-tile-name { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.plat-tile-num { font-size: 11.5px; color: var(--grey); margin-top: 4px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; cursor: pointer; transition: .18s; display: flex; flex-direction: column;
  min-height: 148px; text-align: left; font: inherit; color: inherit;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c6d4e4; }
.card-wide { width: 100%; min-height: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-bottom: 14px; }
.card-wide .card-top { margin-bottom: 0; }
.card-wide .dsc { flex: 1; min-width: 200px; }
.card-wide .foot { margin-top: 0; }
.card-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.card-ico { width: 42px; height: 42px; object-fit: contain; flex: none; border-radius: 10px; background: #f4f7fb; padding: 6px; }
.card-copy { min-width: 0; }
.card .badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .4px;
  color: var(--navy-3); background: var(--blue-soft); border-radius: 6px; padding: 1px 7px; margin-bottom: 4px;
}
.card .ttl { font-size: 15.5px; font-weight: 700; color: var(--navy); }
.card .dsc { font-size: 12.5px; color: var(--grey); line-height: 1.55; flex: 1; }
.card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 8px; }
.card .num { font-size: 12.5px; color: var(--grey-2); }
.card .num b { color: var(--navy); font-size: 15px; }
.card .price { background: var(--gold-soft); color: #7a5f10; border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 700; white-space: nowrap; }

/* ---------------------------------------------------------- 明细页 */
.detail-head { background: linear-gradient(150deg, #0b2239, var(--navy) 60%, #123a61); color: #fff; padding: 26px 0 22px; }
.crumb { font-size: 13px; color: #9fb6ce; margin-bottom: 10px; }
.crumb a { color: #cddcec; }
.detail-title { display: flex; gap: 16px; align-items: flex-start; }
.detail-ico { width: 52px; height: 52px; object-fit: contain; border-radius: 14px; background: #fff; padding: 8px; flex: none; }
.detail-head h2 { margin: 0 0 8px; font-size: 27px; font-weight: 800; }
.detail-head .sum { font-size: 14px; color: #bfd2e5; }
.detail-head .note { margin-top: 12px; font-size: 12.5px; color: #e2d3a0; background: rgba(201, 162, 39, .13); border-left: 3px solid var(--gold); padding: 9px 14px; border-radius: 0 8px 8px 0; }
.sibs { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 16px; padding-bottom: 4px; }
.sib {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  color: #fff; border-radius: 999px; padding: 6px 12px 6px 6px;
  font: inherit; font-size: 13px; cursor: pointer;
}
.sib img, .sib .ico { width: 20px; height: 20px; object-fit: contain; border-radius: 5px; background: #fff; }
.sib.on { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }
.detail-nav { position: sticky; top: 72px; z-index: 35; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 7px 22px rgba(14,42,71,.09); backdrop-filter: blur(12px); }
.detail-nav .wrap { min-height: 58px; display: flex; align-items: center; gap: 10px; }
.back-btn, .home-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 750; cursor: pointer; font-family: inherit; }
.back-btn { border: 1px solid #b68d14; color: var(--navy); background: var(--gold); box-shadow: 0 4px 12px rgba(201,162,39,.24); }
.back-btn:hover { background: #dcb63c; text-decoration: none; }
.home-btn { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.home-btn:hover { border-color: var(--navy-3); background: var(--bg); text-decoration: none; }
.detail-nav .tip { margin-left: auto; color: var(--grey); font-size: 12.5px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 20px 0 14px; box-shadow: var(--shadow); }
.toolbar input[type=search], .toolbar select { font: inherit; font-size: 13.5px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); outline: none; }
.toolbar input[type=search] { flex: 1 1 240px; min-width: 200px; }
.toolbar select { flex: 0 1 140px; max-width: 180px; }
.toolbar input[type=search]:focus, .toolbar select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.toolbar .count { font-size: 13px; color: var(--grey); margin-left: auto; white-space: nowrap; }
.toolbar .count b { color: var(--navy); }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.view-toggle .vt {
  border: 0; background: none; font: inherit; font-size: 13px; padding: 7px 12px; cursor: pointer; color: var(--grey);
}
.view-toggle .vt.on { background: var(--navy); color: #fff; }

.price-block { margin-bottom: 20px; }
.price-block h3 { font-size: 17px; color: var(--navy); margin: 0 0 10px; }

.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; box-shadow: var(--shadow); max-height: 72vh; }
.swipe-hint { display: none; color: var(--grey); font-size: 12px; margin: 6px 2px 8px; }
table { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; font-size: 13.5px; }
thead th { position: sticky; top: 0; z-index: 2; background: var(--navy); color: #fff; font-weight: 600; text-align: left; padding: 9px 12px; white-space: nowrap; }
thead th.sortable { cursor: pointer; user-select: none; }
thead th.sortable:hover { background: var(--navy-3); }
thead th .arrow { opacity: .4; margin-left: 4px; font-size: 11px; }
thead th.sorted .arrow { opacity: 1; color: var(--gold); }
tbody td {
  padding: 4px 10px; border-bottom: 1px solid var(--line); vertical-align: middle;
  line-height: 1.25; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis;
}
tbody tr { height: 40px; }
tbody tr:nth-child(even) { background: #f8fafc; }
tbody tr:hover { background: var(--blue-soft); }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.money, td.price-cell {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
  background: #fff6da;
}
tbody tr:nth-child(even) td.money, tbody tr:nth-child(even) td.price-cell { background: #fff1c2; }
tbody tr:hover td.money, tbody tr:hover td.price-cell { background: #ffe9a8; }
td.money .price-hl, td.price-cell .price-hl, .acct-row .price-hl {
  display: inline-block; color: #8a5a00; font-weight: 800; font-size: 14px;
  background: #f3d789; border-radius: 999px; padding: 2px 8px; min-width: 52px; text-align: center;
}
td.center { text-align: center; white-space: nowrap; }
td.clip, td.note-cell { max-width: 220px; color: #51657a; }
.cell-clip {
  display: block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.tag { display: inline-block; background: #eef2f7; color: #46556e; border-radius: 6px; padding: 2px 8px; font-size: 12px; }
td.avatar { width: 40px; padding: 4px 8px; }
img.acct-avatar, .acct-avatar-empty {
  width: 28px; height: 28px; border-radius: 8px; object-fit: cover;
  background: #e8eef5; display: block;
}
.acct-avatar-empty { flex: none; }
.acct-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.acct-row {
  display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; text-decoration: none; color: inherit;
}
.acct-row-body { min-width: 0; }
.acct-row-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.acct-row .acct-name { font-size: 15px; font-weight: 800; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-row-meta { margin-top: 4px; font-size: 12.5px; color: var(--grey); line-height: 1.45; white-space: normal; }
.acct-row-extra { margin-top: 4px; font-size: 12px; color: #51657a; line-height: 1.45; white-space: normal; }
.acct-row-extra b { color: #334155; font-weight: 700; margin-right: 4px; }
.acct-card-head { display: flex; align-items: center; gap: 10px; }
.acct-card-head .acct-avatar { flex: none; }

.pager { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 16px 0 8px; flex-wrap: wrap; }
.pager button { font: inherit; font-size: 13.5px; padding: 7px 14px; border: 1px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer; color: var(--ink); }
.pager button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.pager button:disabled { opacity: .45; cursor: not-allowed; }
.pager .pg { font-size: 13.5px; color: var(--grey); }

.empty, .loading { padding: 46px; text-align: center; color: var(--grey); }

.acct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 8px; }
.acct {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.acct-name { font-size: 16px; font-weight: 800; color: var(--navy); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.acct-meta { margin-top: 8px; font-size: 13px; color: var(--grey); }
.acct-prices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.acct-price {
  background: var(--gold-soft); border-radius: 10px; padding: 6px 10px; display: flex; flex-direction: column; gap: 1px;
}
.acct-price i { font-style: normal; font-size: 11px; color: #8a7020; }
.acct-price b { font-size: 14px; color: var(--navy); }
.acct-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; }

/* ---------------------------------------------------------- 富文本块 */
.block { margin-bottom: 26px; }
.block-title { display: inline-block; font-size: 16px; font-weight: 700; color: #fff; background: var(--navy-3); border-radius: 9px; padding: 8px 16px; margin-bottom: 12px; }
.notes-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.note-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; border-left: 3px solid var(--gold); }
.note-card h4 { margin: 0 0 7px; font-size: 15px; color: var(--navy); }
.note-card p { margin: 0; font-size: 13.5px; color: #46556e; line-height: 1.65; }
.tips { margin: 14px 0 0; padding-left: 20px; color: var(--grey); font-size: 13.5px; }
.tips li { margin-bottom: 5px; }

/* ---------------------------------------------------------- 联系 / 页脚 */
.contact { background: linear-gradient(150deg, #0b2239, var(--navy) 60%, #123a61); color: #fff; border-radius: var(--radius); padding: 34px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.contact h3 { margin: 0 0 10px; font-size: 24px; }
.contact p { margin: 0 0 18px; color: #c3d5e7; font-size: 14.5px; }
.contact-list { display: grid; gap: 10px; }
.contact-item { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .13); border-radius: 11px; padding: 12px 16px; }
.contact-item .k { font-size: 12.5px; color: #9fb6ce; width: 78px; flex: none; }
.contact-item .v { font-weight: 600; font-size: 14.5px; word-break: break-all; }
.contact-item .v a { color: #fff; }

footer { background: #0a1c2f; color: #7f94ac; padding: 26px 0; font-size: 13px; margin-top: 54px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
footer a { color: #a9c0d6; }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; border: 0; cursor: pointer; font-size: 18px; box-shadow: var(--shadow-lg); display: none; z-index: 40; }
.to-top.show { display: block; }

/* ---------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
  .cards, .biz-grid { grid-template-columns: repeat(3, 1fr); }
  .plat-grid { grid-template-columns: repeat(5, 1fr); }
  .acct-grid { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 900px), (pointer: coarse) {
  .acct-row { grid-template-columns: 44px 1fr; padding: 10px; }
  .acct-row .acct-avatar, .acct-row .acct-avatar-empty { width: 40px; height: 40px; }
}
html.kanli-mobile .acct-row { grid-template-columns: 48px 1fr; }
html.kanli-mobile .acct-row .acct-avatar,
html.kanli-mobile .acct-row .acct-avatar-empty { width: 44px; height: 44px; }
@media (max-width: 780px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 14px; }
  .topbar .wrap { height: 68px; }
  .brand-logo { height: 52px; }
  .menu-toggle { display: block; }
  .topnav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 10px 14px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .topnav.open { display: flex; }
  .topnav a { padding: 11px 12px; }
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 15px; }
  .kpis { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kpi b { font-size: 24px; }
  .plat-strip { gap: 6px; }
  .plat-chip { font-size: 12px; padding: 5px 10px 5px 5px; }
  .cards, .biz-grid, .notes-list { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: repeat(3, 1fr); }
  .acct-grid { grid-template-columns: 1fr; }
  .acct-row { grid-template-columns: 44px 1fr; padding: 10px; }
  .acct-row .acct-avatar, .acct-row .acct-avatar-empty { width: 40px; height: 40px; }
  .section { padding: 36px 0; }
  .section-head h2 { font-size: 22px; }
  .detail-head h2 { font-size: 21px; }
  .detail-ico { width: 42px; height: 42px; }
  .detail-nav { top: 68px; }
  .detail-nav .wrap { min-height: 58px; }
  .detail-nav .tip { display: none; }
  .back-btn, .home-btn { flex: 1; padding: 10px 12px; font-size: 13.5px; }
  .nav-tools { top: 68px; }
  .nav-section-head { flex-wrap: wrap; }
  .nav-section-head .desc { margin-left: 0; width: 100%; }
  .contact { grid-template-columns: 1fr; padding: 24px; }
  .toolbar .count { margin-left: 0; width: 100%; }
  .table-wrap { max-height: none; }
  .swipe-hint { display: block; }
  table { font-size: 12.5px; }
  tbody td, thead th { padding: 8px 10px; }
  thead th:first-child { position: sticky; left: 0; z-index: 4; box-shadow: 1px 0 0 rgba(255,255,255,.18); }
  tbody td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
  tbody tr:nth-child(even) td:first-child { background: #f8fafc; }
}
@media print {
  .topbar, .toolbar, .pager, .to-top, .detail-nav, .hero-actions { display: none !important; }
  .table-wrap { max-height: none; overflow: visible; box-shadow: none; }
  body { background: #fff; }
}
