/* =====================================================================
   元演矩阵 media.imcmic.com
   视觉令牌对齐元演官网 imcmic.com 首页（home.css 浅色重定义版）：
     --bg #fafafa / --surface #fff / --line #e8e8e6 / --text #0f1115
     --accent #f59e0b / --gold #c9a063 / --dark #14110d
   字体栈、16px 圆角白卡、金色径向 hero、标题前 4px 金条均为官网特征。
   ===================================================================== */

:root {
  --bg: #fafafa;
  --bg-soft: #f5f5f4;
  --surface: #ffffff;
  --line: #e8e8e6;
  --text: #0f1115;
  --text-2: #3d434d;
  --muted: #6b7280;
  --hint: #9aa0aa;
  --accent: #f59e0b;
  --accent-b: #fbbf24;
  --accent-deep: #d97706;
  --accent-soft: rgba(245, 158, 11, .12);
  --accent-border: rgba(245, 158, 11, .35);
  --grad: linear-gradient(120deg, #f59e0b, #fbbf24);
  --dark: #14110d;
  --gold: #c9a063;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 34px -20px rgba(15, 17, 21, .28);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------------------------------------------------------- 演示数据提示条 */
.demo-bar { background: #fff6e3; border-bottom: 1px solid #f0d9a8; color: #6b5326; font-size: 12px; line-height: 1.7; }
.demo-bar .wrap { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.demo-bar a { color: #8a5d0c; text-decoration: underline; text-underline-offset: 2px; }
.demo-tag { flex-shrink: 0; background: #f0c777; color: #4a3408; font-weight: 700; border-radius: 5px; padding: 1px 7px; font-size: 11px; }
@media (max-width: 640px) { .demo-bar { font-size: 11.5px; } }

/* ---------------------------------------------------------- 顶栏 / 抽屉 */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; line-height: 0; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.brand-txt small { font-size: 10.5px; color: var(--hint); letter-spacing: .3px; }
.topnav { display: flex; align-items: center; gap: 3px; margin-left: 8px; flex: 1; }
.topnav a {
  padding: 7px 11px; border-radius: 8px; color: var(--text-2);
  font-size: 13.5px; white-space: nowrap;
}
.topnav a:hover { background: var(--bg-soft); color: var(--text); text-decoration: none; }
.topnav a.on { color: var(--accent-deep); font-weight: 600; background: var(--accent-soft); }
.topact { display: flex; gap: 8px; flex-shrink: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 15px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-size: 13.5px;
  font-weight: 500; cursor: pointer; white-space: nowrap; transition: .16s ease;
}
.btn:hover { background: var(--bg-soft); border-color: #d8d8d4; text-decoration: none; }
.btn-primary {
  background: var(--grad); color: #fff; border: none;
  box-shadow: 0 4px 14px -4px rgba(245, 158, 11, .55);
}
.btn-primary:hover { background: linear-gradient(120deg, #f0900b, #f5b21a); text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--text); }
.btn-lg { padding: 11px 20px; font-size: 14.5px; border-radius: 10px; }
.navtoggle {
  display: none; border: 1px solid var(--line); background: var(--surface);
  width: 36px; height: 36px; border-radius: 9px; cursor: pointer; color: var(--text);
}
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 330px);
  height: 100dvh; background: var(--surface); z-index: 120;
  border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(0, 0, 0, .12);
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0;
  background: var(--surface);
}
.drawer-close { border: 0; background: transparent; font-size: 26px; cursor: pointer; color: var(--muted); line-height: 1; }
.drawer nav { display: flex; flex-direction: column; padding: 12px 14px; }
.drawer nav a { padding: 11px 12px; color: var(--text); border-radius: 9px; font-size: 15px; }
.drawer nav a:hover { background: var(--bg-soft); text-decoration: none; }
.drawer nav a.on { color: var(--accent-deep); background: var(--accent-soft); }

/* ---------------------------------------------------------- 面包屑 */
.crumb { border-bottom: 1px solid var(--line); background: var(--surface); }
.crumb .wrap { display: flex; gap: 8px; align-items: center; padding-top: 11px; padding-bottom: 11px; font-size: 12.5px; color: var(--hint); }
.crumb a { color: var(--muted); }
.crumb b { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------- Hero */
.hero {
  background: radial-gradient(900px 380px at 50% -6%, rgba(245, 158, 11, .14), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; padding: 54px 22px 46px; align-items: start; }
.hero-main { min-width: 0; }
.hero-badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  color: var(--accent-deep); font-size: 12px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { margin: 0; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.2; letter-spacing: -1.2px; font-weight: 800; }
.hero h1 .hl { color: var(--accent); }
.hero-lead { font-size: 16px; line-height: 1.8; color: var(--text-2); margin: 16px 0 8px; max-width: 640px; }
.hero-sub { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 22px; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.statstrip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; width: 100%;
}
.statwrap { padding-top: 26px; padding-bottom: 2px; }
.statstrip > div { background: var(--surface); padding: 16px 18px; }
/* 数据条与紧邻的内容块留出间距，避免满宽后两卡片粘在一起 */
.statstrip + .panel,
.statstrip + .hlist,
.statstrip + .hlist-mini,
.statstrip + .results-note { margin-top: 18px; }
.statstrip b { display: block; font-size: 23px; font-weight: 700; line-height: 1.25; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.statstrip span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.hero-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 22px;
}
.hero-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.hero-panel-head h3 { margin: 0; font-size: 15.5px; font-weight: 700; }
.hero-panel-head span { font-size: 11.5px; color: var(--hint); }
.hp-q { font-size: 13.5px; color: var(--text-2); margin: 0 0 4px; }
.hp-a { font-size: 15px; color: var(--text); margin: 0 15px; font-weight: 500; line-height: 1.7; }
.hp-a b { color: var(--accent-deep); }
.hp-row { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.hp-row b { color: var(--text); font-weight: 600; flex-shrink: 0; min-width: 64px; }
.hp-foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--hint); line-height: 1.7; }

/* ---------------------------------------------------------- 区块通用 */
.sec { padding: 46px 0; border-bottom: 1px solid var(--line); }
.sec-soft { background: var(--bg-soft); }
.sechead { max-width: 800px; margin: 0 0 26px; }
.kicker { display: block; font-size: 12.5px; color: var(--accent-deep); font-weight: 600; letter-spacing: .4px; margin-bottom: 7px; }
.sechead h2, .scene-head h2 {
  margin: 0 0 9px; font-size: 26px; line-height: 1.35; font-weight: 700; letter-spacing: -.4px;
}
.sechead h2::before, .scene-head h2::before {
  content: ''; display: inline-block; width: 4px; height: 16px;
  background: var(--accent); border-radius: 2px; vertical-align: -2px; margin-right: 9px;
}
.sechead p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75; }
.secactions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.secnote { font-size: 12px; color: var(--hint); margin: 16px 0 0; }

.feat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; display: flex; flex-direction: column;
}
.feat-no { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.feat h3 { margin: 8px 0 8px; font-size: 17px; font-weight: 700; }
.feat p { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); line-height: 1.75; flex: 1; }
.feat a { font-size: 13.5px; font-weight: 600; }

.platgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.platcard {
  display: flex; flex-direction: column; gap: 4px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  color: var(--text); position: relative; overflow: hidden; transition: .18s ease;
}
.platcard::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--pc); }
.platcard:hover { border-color: var(--accent-border); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.plat-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 9px; background: var(--pc); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 8px;
}
.platcard b { font-size: 16px; }
.plat-n { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.plat-n small { font-size: 12px; font-weight: 400; color: var(--muted); }
.plat-arrow { font-size: 12.5px; color: var(--accent-deep); font-weight: 600; margin-top: 6px; }

.disc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.disc3 > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.disc3 h3 { margin: 0 0 8px; font-size: 15.5px; }
.disc3 p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.scenegrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.scenechip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  padding: 12px 14px; color: var(--text); font-size: 13.5px; font-weight: 500;
}
.scenechip span { color: var(--hint); }
.scenechip:hover { border-color: var(--accent-border); color: var(--accent-deep); text-decoration: none; }

.cta-sec { background: var(--dark); border-bottom: none; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0 0 6px; font-size: 24px; color: #f5f1ea; }
.cta-inner p { margin: 0; font-size: 14px; color: #b6a890; }

/* ---------------------------------------------------------- 主持人卡片列表 */
.hlist { display: flex; flex-direction: column; gap: 8px; }
.hcard {
  display: flex; align-items: center; gap: 14px; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; color: var(--text); transition: .16s ease;
}
.hcard:hover { border-color: var(--accent-border); box-shadow: var(--shadow); text-decoration: none; transform: translateX(2px); }
.ava {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px; background: var(--avac);
  color: #4a3a22; font-size: 18px; font-weight: 700; line-height: 1;
}
.ava-sm { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.ava-lg { width: 76px; height: 76px; border-radius: 18px; font-size: 32px; }
.rk {
  width: 26px; flex-shrink: 0; text-align: center; font-size: 15px;
  font-weight: 700; color: var(--hint); font-variant-numeric: tabular-nums;
}
.hcard:has(.rk:nth-child(1)) { }
.hcard-mid { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.hcard-name { font-size: 15px; font-weight: 650; display: flex; align-items: center; gap: 7px; }
.hcard-sub { font-size: 12px; color: var(--muted); }
.hcard-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 3px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 11px; color: var(--text-2); }
.vip { display: inline-block; font-size: 11px; color: #0f8a4a; background: #e9f7ef; border-radius: 5px; padding: 1px 6px; font-weight: 500; }
.ppill {
  display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 11px;
  color: var(--pc); border: 1px solid currentColor; background: color-mix(in srgb, var(--pc) 7%, #fff);
  line-height: 1.5; white-space: nowrap;
}
.hcard-val, .hcard-score { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; min-width: 104px; }
.hcard-val b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.hcard-val span, .hcard-score span { font-size: 11px; color: var(--hint); }
.hcard-score { min-width: 78px; }
.hcard-score b { font-size: 19px; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.hcard-go { color: var(--hint); font-size: 17px; flex-shrink: 0; }
.hlist-mini .hcard { padding: 9px 11px; gap: 9px; }
.hlist-mini .hcard-val, .hlist-mini .hcard-score, .hlist-mini .hcard-go { display: none; }
.hlist-mini .hcard-name { font-size: 13.5px; }

/* ---------------------------------------------------------- 页面头 / 面板 */
.phead { background: var(--surface); border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.phead h1 { margin: 0 0 8px; font-size: clamp(25px, 3.2vw, 34px); line-height: 1.3; letter-spacing: -.7px; font-weight: 800; }
.phead > .wrap > p { margin: 0 0 6px; font-size: 13.5px; color: var(--muted); }
.phead .intro { max-width: 900px; font-size: 13.5px !important; color: var(--text-2) !important; line-height: 1.8; margin-top: 12px !important; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .9fr); gap: 22px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.panel h3 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.panel p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin: 0 0 12px; }
.panel-note { font-size: 12.5px !important; color: var(--hint) !important; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.panel-quiet { background: var(--bg-soft); }
.dimlist { list-style: none; padding: 0; margin: 0; }
.dimlist li { padding: 9px 0; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); line-height: 1.6; }
.dimlist li:first-child { border-top: 0; }
.dimlist b { display: block; color: var(--text); font-size: 13.5px; font-weight: 650; }

.platlist { display: flex; flex-direction: column; gap: 9px; }
.platrow {
  display: flex; align-items: center; gap: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; color: var(--text);
}
.platrow:hover { border-color: var(--accent-border); text-decoration: none; }
.platrow-mid { display: flex; flex-direction: column; flex: 1; }
.platrow-mid b { font-size: 15.5px; }
.platrow-mid span { font-size: 12.5px; color: var(--muted); }
.platrow-go { color: var(--hint); font-size: 18px; }

/* ---------------------------------------------------------- 筛选 / 结果 */
.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 18px;
}
.fld { display: flex; flex-direction: column; gap: 5px; min-width: 132px; flex: 1; }
.fld > span { font-size: 12px; color: var(--muted); font-weight: 500; }
.fld i { color: #d92b3a; font-style: normal; }
.fld select, .fld input, .fld textarea, .searchbox input {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text); outline: none; font-size: 13.5px;
}
.fld select:focus, .fld input:focus, .fld textarea:focus, .searchbox input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fld textarea { resize: vertical; line-height: 1.7; }
.filters .btn { flex: 0 0 auto; }
.fld-full { flex-basis: 100%; min-width: 100%; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 13px; color: var(--hint); }
.results-head b { color: var(--text); font-size: 14.5px; }
.viewswitch { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.viewswitch button { border: 0; background: var(--surface); padding: 5px 12px; cursor: pointer; font-size: 12.5px; color: var(--muted); }
.viewswitch button.on { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 20px 0 0; }
.pager button {
  min-width: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text-2); cursor: pointer; font-size: 13px;
}
.pager button:hover { border-color: var(--accent-border); }
.pager button.on { background: var(--grad); color: #fff; border-color: transparent; }
.pager button:disabled { opacity: .45; cursor: default; }
.results-note { font-size: 12px; color: var(--hint); margin: 16px 0 0; }
.empty { color: var(--hint); font-size: 13px; }

/* 表格视图（JS 切换） */
.hlist.table-view { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.hlist.table-view .hcard { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 9px 14px; }
.hlist.table-view .hcard:last-child { border-bottom: 0; }
.hlist.table-view .hcard:hover { transform: none; }
.hlist.table-view .hcard-tags { display: none; }

/* ---------------------------------------------------------- 表格 */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 13px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--bg-soft); color: var(--muted); font-weight: 600; font-size: 12px; position: sticky; top: 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fffcf5; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tname { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.formula { margin-bottom: 18px; }
.cell-note { display: block; font-size: 11px; color: var(--hint); }
td code { font-size: 12.5px; background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; }
.up { color: #c0392b; font-weight: 600; }
.down { color: #12805c; font-weight: 600; }

/* ---------------------------------------------------------- 榜单 / 场景 / 搜索 */
.scene-block { margin-bottom: 34px; }
.scene-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.scene-head h2 { font-size: 21px; margin: 0; }
.scene-head span { font-size: 12.5px; color: var(--muted); }
.searchbox { display: flex; gap: 10px; max-width: 720px; }
.searchbox input { padding: 12px 14px; font-size: 15px; }
.searchbox .btn { padding: 0 24px; }
.quicklinks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 26px; font-size: 12.5px; color: var(--hint); }
.quicklinks a { padding: 4px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); }
.quicklinks a:hover { border-color: var(--accent-border); text-decoration: none; }

/* ---------------------------------------------------------- 档案页 */
.profile-top { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.profile-id { flex: 1; min-width: 220px; }
.profile-id h1 { margin: 0 0 5px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.6px; }
.profile-id p { margin: 0; font-size: 13.5px; color: var(--muted); }
.profile-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.profile-score {
  display: flex; flex-direction: column; align-items: center; min-width: 118px;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  border-radius: 14px; padding: 12px 16px;
}
.profile-score b { font-size: 32px; line-height: 1.1; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.profile-score span { font-size: 12px; color: var(--text-2); }
.profile-score em { font-style: normal; font-size: 11px; color: var(--hint); margin-top: 3px; }
.kv { display: flex; gap: 14px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 13.5px; }
.kv b { min-width: 82px; flex-shrink: 0; color: var(--muted); font-weight: 500; }
.kv span { color: var(--text); }
.kv small { color: var(--hint); }
.ministat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ministat > div { background: var(--surface); padding: 12px; }
.ministat b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; }
.ministat span { font-size: 11.5px; color: var(--hint); }

/* ---------------------------------------------------------- 合作工作台 / 表单 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.steps span { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.steps b { display: block; font-size: 16px; margin: 5px 0; }
.steps p { margin: 0; font-size: 13px; color: var(--muted); }
.picklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.pick { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.pick:hover { border-color: var(--accent-border); background: #fffcf5; }
.pick input { accent-color: var(--accent); flex-shrink: 0; }
.pick span { display: flex; flex-direction: column; min-width: 0; }
.pick b { font-size: 13.5px; }
.pick small { font-size: 11.5px; color: var(--hint); }
.cnt { display: inline-block; min-width: 20px; text-align: center; background: var(--accent-soft); color: var(--accent-deep); border-radius: 999px; font-size: 12px; padding: 1px 6px; }
.cart { min-height: 70px; max-height: 230px; overflow-y: auto; margin-bottom: 16px; }
.cart-item { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.cart-item span { flex: 1; }
.cart-item button { border: 0; background: transparent; color: var(--hint); cursor: pointer; font-size: 16px; line-height: 1; }
.collab-form, .join-form { display: flex; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.collab-form .fld, .join-form .fld { min-width: 140px; }
.checkline { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--muted); }
.checkline input { accent-color: var(--accent); margin-top: 3px; }
.form-note { font-size: 11.5px !important; color: var(--hint) !important; margin: 12px 0 0 !important; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--dark); color: #f5f1ea; padding: 11px 20px; border-radius: 10px;
  font-size: 13.5px; opacity: 0; pointer-events: none; transition: .22s ease; z-index: 200;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------------------------------------------------- 数据中心 */
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar { display: grid; grid-template-columns: 88px 1fr 62px; align-items: center; gap: 10px; font-size: 12.5px; }
.bar span { color: var(--text-2); }
.bar i { display: block; height: 9px; border-radius: 6px; background: var(--grad); }
.bar b { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; font-size: 14.5px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+'; display: inline-block; width: 20px; color: var(--accent); font-weight: 700; }
.faq details[open] summary::before { content: '−'; }
.faq p { margin: 8px 0 0 20px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.legal { max-width: 860px; }
.legal-block { margin-bottom: 26px; }
.legal-block h2 { font-size: 18px; margin: 0 0 8px; }
.legal-block h2::before { content: ''; display: inline-block; width: 4px; height: 15px; background: var(--accent); border-radius: 2px; vertical-align: -2px; margin-right: 8px; }
.legal-block p { font-size: 14px; color: var(--text-2); line-height: 1.9; margin: 0; }

/* ---------------------------------------------------------- 页脚 */
.foot { background: var(--dark); color: #b6a890; padding: 38px 0 20px; margin-top: 10px; }
.footgrid { display: grid; grid-template-columns: minmax(0, 1.9fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot-logo {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1px solid rgba(201, 160, 99, .55); border-radius: 9px; color: var(--gold); font-size: 12px; font-weight: 700;
}
.foot-brand b { color: #f5f1ea; font-size: 16px; }
.foot p { font-size: 12.5px; line-height: 1.85; margin: 0 0 10px; }
.foot-note { color: #938876 !important; font-size: 11.5px !important; }
.foot h4 { color: #f5f1ea; font-size: 13.5px; margin: 2px 0 12px; }
.footgrid > div > a { display: block; font-size: 12.5px; color: #b6a890; padding: 4px 0; }
.footgrid a:hover { color: var(--gold); }
.footbot { border-top: 1px solid rgba(255, 255, 255, .09); margin-top: 26px; padding-top: 16px; font-size: 11.5px; color: #938876; line-height: 1.8; }
.footbot a { color: #b6a890; }

/* ---------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
  .topnav a { padding: 7px 8px; font-size: 12.5px; }
  .topact .btn { padding: 7px 11px; font-size: 12.5px; }
  .hero-grid { gap: 26px; }
  .platgrid, .feat3, .disc3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .topnav, .topact { display: none; }
  .navtoggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; padding: 38px 22px 34px; }
  .hero-panel { max-width: 100%; }
  .two-col { grid-template-columns: 1fr; }
  .footgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statstrip { max-width: 100%; }
  .picklist { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 14px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 34px 0; }
  .hero h1 { font-size: 29px; }
  .hero-lead { font-size: 14.5px; }
  .statstrip { grid-template-columns: repeat(2, 1fr); }
  .platgrid, .feat3, .disc3, .steps { grid-template-columns: 1fr; }
  .scenegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hcard { gap: 10px; padding: 11px 12px; flex-wrap: wrap; }
  .hcard-mid { flex-basis: calc(100% - 62px); }
  .hcard-val, .hcard-score { min-width: 0; align-items: flex-start; margin-left: 54px; }
  .hcard-val b { font-size: 15px; }
  .hcard-score b { font-size: 16px; }
  .hcard-go { display: none; }
  .footgrid { grid-template-columns: 1fr; gap: 20px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .filters { padding: 14px; }
  .fld { min-width: calc(50% - 6px); }
  .filters .btn { flex: 1; }
  .profile-score { min-width: 100%; flex-direction: row; justify-content: space-around; align-items: baseline; gap: 8px; }
  .results-head { flex-direction: column; align-items: flex-start; }
  .bar { grid-template-columns: 76px 1fr 54px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
