/* ===================================================================
   v15 门户版：全站页头页脚、首页、资讯、单页
   配色按首页设计稿：品牌红 #E60012 + 黑白中性色，标题 Manrope、正文 Inter（字体文件在 assets/fonts/）。
   v15.7 起配色和字体可以在后台"站点设置 → 外观"切换，页面 <head> 里的 #fcn-theme 会覆盖下面的颜色、字体变量。
   v15.4 起全站页面只需要加载这一个样式表（style.css 只给还没升级数据库时的旧版报价页用）。
   =================================================================== */
/* v15：自带字体（不依赖 Google Fonts，国内服务器也能正常加载）。英文数字用 Inter / Manrope，中文自动使用系统字体 */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  --brand-red: #E60012;
  --brand-red-dark: #B8000E;
  --navy: #0B0B0F;
  --text-dark: #18181B;
  --gray-bg: #F7F7F8;
  --border-light: #E4E4E7;
  --font-sans: "Inter", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --font-display: "Manrope", "Inter", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  /* 警示红（已敲入、出错提示）固定为红色，不跟随配色方案 */
  --danger: #B8000E;
  --danger-bg: #FFEBED;
}


* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }
:root {
  --black: #0B0B0F;
  /* 深色块（页脚、指数条、深色按钮）的颜色，跟随配色方案；文字用的 --black 始终是近黑色 */
  --dark: #0B0B0F;
  /* v15.7 字号：小字（15.5px 及以下）统一加大的像素数，后台"外观 → 字号"设置；标题和大数字不变 */
  --fs-bump: 0px;
  /* v15.9 页面最大宽度（后台"外观 → 页面宽度"）：标准 1280 / 宽 1440 / 超宽 1600 */
  --wrap: 1440px;
  --brand-rgb: 230, 0, 18;
  /* 点缀色：栏目英文小标题、短线、光晕；默认等于主色，"石墨黑 · 香槟金"方案里是金色 */
  --accent: var(--brand-red);
  /* v15.7 年化票息数字的颜色：默认跟随主色，后台"外观 → 票息颜色"可以单独设成红色或自定义 */
  --coupon: var(--brand-red);
  --ink: #18181B;
  --ink-2: #3F3F46;
  --mute: #71717A;
  --line: #E4E4E7;
  --line-2: #F1F1F3;
  --bg-alt: #F7F7F8;
  --red-50: #FFEBED;
  --red-300: #FF4D5C;
  --radius: 16px;
  --shadow: 0 4px 12px rgba(11, 11, 15, .06), 0 2px 4px rgba(11, 11, 15, .04);
  --shadow-hover: 0 16px 32px rgba(11, 11, 15, .10), 0 4px 8px rgba(11, 11, 15, .04);
  --shadow-red: 0 8px 24px rgba(230, 0, 18, .25);
  /* 涨跌色：默认红涨绿跌，站点设置里可以改成绿涨红跌（body 上的 mk-green-up） */
  --mk-red: #E60012;
  --mk-green: #007A48;
  --mk-up: var(--mk-red);
  --mk-down: var(--mk-green);
  --mk-up-dark: #FF4D5C;
  --mk-down-dark: #2BD48A;
  --mk-up-bg: #FFEBED;
  --mk-down-bg: #E3F5EC;
}
body.mk-green-up {
  --mk-up: var(--mk-green);
  --mk-down: var(--mk-red);
  --mk-up-dark: #2BD48A;
  --mk-down-dark: #FF4D5C;
  --mk-up-bg: #E3F5EC;
  --mk-down-bg: #FFEBED;
}
body.site-v15 { background: #fff; color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.site-v15.site-boxed { background: var(--line-2); }
.site-v15 h1, .site-v15 h2, .site-v15 h3, .hm-title, .tk-price, .tk-sym, .hs-title, .hs-coupon, .qt-coupon, .etf-sym, .etf-price, .ec-day strong, .ft-name, .site-logo-text, .nw-lead h3 { font-family: var(--font-display); }
.site-wrap { max-width: var(--wrap, 1440px); margin: 0 auto; padding: 0 24px; }
.up { color: var(--mk-up); }
.down { color: var(--mk-down); }
.flat { color: var(--mute); }
.num { font-variant-numeric: tabular-nums; }

/* ---------------- 页头 ---------------- */
.site-header { position: relative; z-index: 50; }
.site-strip { background: var(--dark); color: #fff; font-size: calc(12px + var(--fs-bump, 0px)); }
.site-strip-inner { display: flex; flex-wrap: wrap; gap: 6px 26px; padding-top: 7px; padding-bottom: 7px; }
.strip-item { display: inline-flex; gap: 8px; align-items: baseline; white-space: nowrap; font-variant-numeric: tabular-nums; }
.strip-name { color: #A1A1AA; }
.strip-price { font-weight: 600; }
.site-strip .up { color: var(--mk-up-dark); }
.site-strip .down { color: var(--mk-down-dark); }
.site-strip .flat { color: #A1A1AA; }

.site-bar { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.site-bar-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-logo { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.site-logo img { height: 38px; width: auto; display: block; }
.site-logo-text { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--black); }
.site-nav { flex: 1 1 auto; display: flex; align-items: center; gap: 20px; min-width: 0; }
.site-nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; flex: 1 1 auto; flex-wrap: wrap; }
.site-nav-item { position: relative; }
.site-nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 10px;
  font-size: calc(14.5px + var(--fs-bump, 0px)); font-weight: 600; white-space: nowrap; color: var(--ink-2); text-decoration: none;
  background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: 8px;
}
.site-nav-link:hover, .site-nav-item:focus-within > .site-nav-link { color: var(--brand-red); }
.site-nav-item.is-active > .site-nav-link { color: var(--brand-red); }
.site-caret { transition: transform .2s; }
.site-sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 180px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.site-sub a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); font-size: calc(14px + var(--fs-bump, 0px)); text-decoration: none; white-space: nowrap; }
.site-sub a:hover, .site-sub a.is-active { background: var(--bg-alt); color: var(--brand-red); }
.site-nav-item.has-kids:hover > .site-sub, .site-nav-item.has-kids:focus-within > .site-sub, .site-nav-item.is-open > .site-sub {
  opacity: 1; visibility: visible; transform: none;
}
.site-nav-item.has-kids:hover .site-caret, .site-nav-item.is-open .site-caret { transform: rotate(180deg); }
.site-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.site-search {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; width: 200px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--mute); background: #fff;
}
.site-search:focus-within { border-color: var(--dark); }
.site-search input { border: 0; outline: 0; font: inherit; font-size: calc(13.5px + var(--fs-bump, 0px)); width: 100%; background: transparent; color: var(--ink); }
.site-menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1100px) {
  .site-bar-inner { flex-wrap: wrap; gap: 12px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
  .site-menu-btn { display: inline-flex; }
  .site-nav { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 12px; }
  .site-nav.is-open { display: flex; }
  .site-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav-link { width: 100%; justify-content: space-between; height: 48px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .site-sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .site-nav-item.is-open > .site-sub { display: block; }
  .site-nav-item.has-kids:hover > .site-sub { display: none; }
  .site-nav-item.has-kids.is-open:hover > .site-sub { display: block; }
  .site-tools { flex-wrap: wrap; }
  .site-search { flex: 1 1 200px; width: auto; }
}

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--dark); color: #D4D4D8; margin-top: 64px; }
.site-boxed .site-footer { margin-top: 0; }
.ft-top { display: flex; flex-wrap: wrap; gap: 36px 56px; padding: 52px 0 36px; }
.ft-brand { flex: 2 1 300px; display: flex; flex-direction: column; gap: 14px; }
.ft-name { font-size: 24px; font-weight: 800; color: #fff; }
.ft-intro { margin: 0; color: #A1A1AA; font-size: calc(14px + var(--fs-bump, 0px)); line-height: 1.7; max-width: 360px; }
.ft-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: calc(14px + var(--fs-bump, 0px)); }
.ft-contacts li { display: flex; gap: 10px; align-items: center; color: #D4D4D8; }
.ft-contacts svg { color: #A1A1AA; flex: 0 0 auto; }
.ft-contacts a { color: #D4D4D8; text-decoration: none; }
.ft-contacts a:hover { color: #fff; }
.ft-qrs { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.ft-qr { margin: 0; text-align: center; font-size: calc(12px + var(--fs-bump, 0px)); color: #A1A1AA; }
.ft-qr img { width: 88px; height: 88px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; display: block; margin-bottom: 6px; }
.ft-col { flex: 1 1 130px; display: flex; flex-direction: column; gap: 11px; font-size: calc(14px + var(--fs-bump, 0px)); }
.ft-col-title { color: #fff; font-weight: 700; padding-bottom: 4px; text-decoration: none; }
.ft-col a { color: #A1A1AA; text-decoration: none; }
.ft-col a:hover { color: #fff; }
.ft-bottom { border-top: 1px solid #27272A; padding: 22px 0 30px; display: flex; flex-direction: column; gap: 10px; font-size: calc(12px + var(--fs-bump, 0px)); color: #A1A1AA; line-height: 1.75; }
.ft-bottom p { margin: 0; }
.ft-disclaimer strong { color: #E4E4E7; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ft-legal a { color: #A1A1AA; text-decoration: none; }
.ft-legal a:hover { color: #fff; }

/* ---------------- 首页通用 ---------------- */
.home-main { padding: 32px 0 0; }
.home-main > .site-wrap { display: flex; flex-direction: column; gap: 56px; }
.hm-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.hm-eyebrow { display: block; font-size: calc(12px + var(--fs-bump, 0px)); font-weight: 700; letter-spacing: .12em; color: var(--accent); margin-bottom: 4px; }
.hm-title { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.hm-title-lg { font-size: 36px; }
.hm-sub { display: block; font-size: calc(13px + var(--fs-bump, 0px)); color: var(--mute); margin-top: 4px; font-weight: 400; }
.hm-more { font-weight: 600; font-size: calc(14px + var(--fs-bump, 0px)); color: var(--brand-red); text-decoration: none; white-space: nowrap; }
.hm-more:hover { text-decoration: underline; }
.hm-empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--mute); font-size: calc(14px + var(--fs-bump, 0px)); text-align: center; background: var(--bg-alt); }
.pill-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-tab {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); font: inherit; font-size: calc(14px + var(--fs-bump, 0px)); font-weight: 600; cursor: pointer;
}
.pill-tab:hover { border-color: var(--dark); }
.pill-tab[aria-selected="true"], .pill-tab.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }

/* 市场追踪器 */
.tk-panel[hidden] { display: none; }
.tk-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .tk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tk-card {
  display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: box-shadow .2s, transform .2s;
}
a.tk-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.tk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tk-sym { font-weight: 800; font-size: calc(15px + var(--fs-bump, 0px)); }
.tk-name { font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-spark { width: 100%; height: 44px; display: block; }
.tk-spark polyline { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tk-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tk-price { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tk-chg { font-size: calc(14px + var(--fs-bump, 0px)); font-weight: 700; font-variant-numeric: tabular-nums; }
.tk-note { margin: 12px 0 0; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }

/* 广告位 */
.ad-banner { display: block; border-radius: var(--radius); overflow: hidden; line-height: 0; }
.ad-banner img { width: 100%; height: auto; display: block; }

/* 首页 FCN 模拟盘卡片 */
.hs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hs-grid { grid-template-columns: minmax(0, 1fr); } }
.hs-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; text-decoration: none; color: var(--ink); transition: box-shadow .2s, border-color .2s;
}
.hs-card:hover { box-shadow: var(--shadow-hover); border-color: transparent; }
.hs-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }
.hs-status { font-size: calc(12px + var(--fs-bump, 0px)); font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); white-space: nowrap; }
.hs-status.st-ko { background: var(--dark); color: #fff; }
.hs-status.st-warn { background: #fff4e0; color: #8a5300; }
.hs-status.st-ki { background: var(--danger-bg); color: var(--danger); }
.hs-title { font-size: 19px; font-weight: 800; line-height: 1.3; }
/* 三个数字固定三列、底部对齐，不再因为数字长短不同而换行（v15.5） */
.hs-card { container-type: inline-size; }
.hs-figs { display: grid; grid-template-columns: minmax(max-content, 1.3fr) minmax(max-content, .9fr) minmax(max-content, 1fr); grid-template-rows: auto auto; grid-auto-flow: column; column-gap: 10px; row-gap: 2px; }
.hs-fig { display: contents; }
.hs-fig > * { min-width: 0; }
.hs-fig > :last-child { align-self: baseline; }
.hs-fig small { font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); white-space: nowrap; }
.hs-fig strong { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.3; }
.hs-fig .hs-coupon { font-size: 22px; font-size: clamp(19px, 9.5cqi, 26px); font-weight: 800; color: var(--coupon); line-height: 1.15; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hs-progress { margin-top: auto; }
@container (max-width: 280px) {
  .hs-figs { column-gap: 8px; }
  .hs-fig .hs-coupon { font-size: 20px; }
  .hs-fig strong { font-size: calc(14px + var(--fs-bump, 0px)); }
  .hs-terms span { padding: 3px 6px; }
}
.hs-terms { display: flex; flex-wrap: wrap; gap: 6px; }
.hs-terms span { font-size: calc(12px + var(--fs-bump, 0px)); padding: 4px 8px; border-radius: 8px; background: var(--bg-alt); color: var(--ink-2); white-space: nowrap; }
.hs-progress { display: flex; flex-direction: column; gap: 6px; }
.hs-progress-meta { display: flex; justify-content: space-between; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }
.hs-bar { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.hs-bar span { display: block; height: 100%; background: var(--dark); border-radius: 999px; }

/* 行业动态 */
.nw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.nw-lead { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.nw-cover { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--line-2); aspect-ratio: 16 / 9; max-height: 300px; width: 100%; }
.nw-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.nw-lead:hover .nw-cover img, .nw-item:hover .nw-thumb img { transform: scale(1.03); }
.nw-cover-blank { display: flex; align-items: center; justify-content: center; color: #A1A1AA; font-size: 40px; font-weight: 800; letter-spacing: .04em; }
.nw-cat { font-size: calc(12px + var(--fs-bump, 0px)); font-weight: 700; color: var(--brand-red); }
.nw-lead h3 { margin: 0; font-size: 23px; font-weight: 800; line-height: 1.35; }
.nw-lead:hover h3, .nw-item:hover .nw-item-title { color: var(--brand-red); }
.nw-lead p { margin: 0; color: var(--ink-2); font-size: calc(15px + var(--fs-bump, 0px)); line-height: 1.7; }
.nw-meta { font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }
.nw-list { display: flex; flex-direction: column; }
.nw-item { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
.nw-item:first-child { padding-top: 0; }
.nw-thumb { flex: 0 0 128px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.nw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.nw-item-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nw-item-title { font-weight: 700; font-size: calc(15.5px + var(--fs-bump, 0px)); line-height: 1.45; }

/* 首页 FCN 报价 */
.qt-panel { padding: 32px; border-radius: 24px; background: var(--bg-alt); }
.qt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.qt-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s; }
.qt-card:hover { box-shadow: var(--shadow-hover); }
.qt-card-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--brand-red); color: #fff; font-weight: 700; font-size: calc(14px + var(--fs-bump, 0px)); }
.qt-card-head span { font-weight: 400; font-size: calc(12px + var(--fs-bump, 0px)); opacity: .9; }
.qt-stocks { padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.qt-stock { display: flex; justify-content: space-between; gap: 10px; font-size: calc(14px + var(--fs-bump, 0px)); }
.qt-stock b { font-weight: 700; white-space: nowrap; }
.qt-stock span { color: var(--mute); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qt-foot { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-top: 1px solid var(--line-2); }
.qt-foot small { font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); display: block; }
.qt-coupon { font-size: 24px; font-weight: 800; color: var(--coupon); font-variant-numeric: tabular-nums; }
.qt-tenor { font-size: calc(15px + var(--fs-bump, 0px)); font-weight: 700; text-align: right; }
.qt-terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.qt-terms span { font-size: calc(12.5px + var(--fs-bump, 0px)); padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.qt-terms b { color: var(--ink); }

/* 涨跌榜 */
.mv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.mv-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.mv-head h3, .mv-title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.mv-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mv-row { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-top: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-size: calc(14px + var(--fs-bump, 0px)); }
.mv-row:hover { background: var(--bg-alt); }
.mv-row.mv-th { border-top: 0; background: var(--bg-alt); font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); padding-top: 9px; padding-bottom: 9px; }
.mv-rank { flex: 0 0 22px; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }
.mv-name { flex: 1 1 auto; min-width: 0; display: flex; gap: 10px; align-items: baseline; }
.mv-name b { white-space: nowrap; }
.mv-name span { font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-price { flex: 0 0 96px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.mv-chg { flex: 0 0 92px; text-align: right; }
.chg-pill { display: inline-block; min-width: 76px; padding: 3px 8px; border-radius: 6px; text-align: center; font-weight: 700; font-size: calc(13px + var(--fs-bump, 0px)); color: #fff; font-variant-numeric: tabular-nums; }
.chg-pill.up { background: var(--mk-up); color: #fff; }
.chg-pill.down { background: var(--mk-down); color: #fff; }
.chg-pill.flat { background: var(--line); color: var(--ink-2); }

/* 财报日历 */
.ec-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.ec-day {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; min-height: 74px;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; text-align: left;
}
.ec-day:hover { border-color: var(--ink); }
.ec-day small { font-size: calc(12px + var(--fs-bump, 0px)); font-weight: 700; color: var(--mute); }
.ec-day strong { font-size: 18px; font-weight: 800; }
.ec-day span { font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }
.ec-day[aria-selected="true"] { border-color: var(--brand-red); background: var(--red-50); }
.ec-day[aria-selected="true"] small { color: var(--brand-red-dark); }
.ec-day.is-today strong::after { content: "今天"; font-size: calc(11px + var(--fs-bump, 0px)); font-weight: 700; color: #fff; background: var(--brand-red); border-radius: 4px; padding: 1px 5px; margin-left: 6px; vertical-align: 3px; }
.ec-panel[hidden] { display: none; }
.ec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ec-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); }
.ec-logo { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--ink-2); letter-spacing: -.02em; }
.ec-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ec-body b { font-size: calc(15px + var(--fs-bump, 0px)); }
.ec-body b span { font-weight: 400; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); margin-left: 4px; }
.ec-body small { font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }
.ec-slot { flex: 0 0 auto; font-size: calc(12px + var(--fs-bump, 0px)); font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); }
.ec-slot.bmo { background: #fff4e0; color: #8a5300; }
.ec-slot.amc { background: #e9eefb; color: #23408e; }

/* 热门 ETF */
.etf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .etf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .etf-grid { grid-template-columns: minmax(0, 1fr); } }
.etf-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius); background: var(--dark); color: #fff; text-decoration: none; }
.etf-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.etf-sym { font-size: 20px; font-weight: 800; }
.etf-tag { font-size: calc(12px + var(--fs-bump, 0px)); padding: 3px 10px; border-radius: 999px; border: 1px solid #3F3F46; color: #E4E4E7; }
.etf-name { font-size: calc(12px + var(--fs-bump, 0px)); color: #A1A1AA; }
.etf-card .tk-spark { height: 56px; }
.etf-card .up { color: var(--mk-up-dark); }
.etf-card .down { color: var(--mk-down-dark); }
.etf-card .flat { color: #A1A1AA; }
.etf-bottom { display: flex; justify-content: space-between; align-items: baseline; }
.etf-price { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------------- 资讯列表 / 详情 / 单页 ---------------- */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero .site-wrap { padding-top: 36px; padding-bottom: 28px; }
.page-hero h1 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.01em; }
.page-hero p { margin: 8px 0 0; color: var(--mute); font-size: calc(14px + var(--fs-bump, 0px)); }
.crumbs { font-size: calc(13px + var(--fs-bump, 0px)); color: var(--mute); margin-bottom: 10px; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--brand-red); }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cat-tabs a { text-decoration: none; display: inline-flex; align-items: center; }
.content-layout { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 32px; }
.content-main { flex: 999 1 560px; min-width: 0; }
.content-side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 24px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; }
.side-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: calc(14px + var(--fs-bump, 0px)); line-height: 1.5; }
.side-links a { color: var(--ink-2); text-decoration: none; }
.side-links a:hover { color: var(--brand-red); }
.side-links small { display: block; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }
.nl-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
.nl-item:first-child { padding-top: 0; }
.nl-thumb { flex: 0 0 220px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-alt); }
.nl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nl-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nl-body h2 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.4; }
.nl-item:hover h2 { color: var(--brand-red); }
.nl-body p { margin: 0; color: var(--ink-2); font-size: calc(14.5px + var(--fs-bump, 0px)); line-height: 1.7; }
.nl-badge { display: inline-block; font-size: calc(11px + var(--fs-bump, 0px)); font-weight: 700; color: #fff; background: var(--brand-red); border-radius: 4px; padding: 1px 6px; margin-right: 6px; vertical-align: 2px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; padding: 28px 0 0; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: calc(14px + var(--fs-bump, 0px)); color: var(--ink-2); text-decoration: none; }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--dark); border-color: var(--dark); color: #fff; }

.article-head h1 { margin: 0 0 12px; font-size: 32px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: calc(13px + var(--fs-bump, 0px)); color: var(--mute); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-summary { margin: 22px 0 0; padding: 16px 20px; border-radius: 12px; background: var(--bg-alt); color: var(--ink-2); font-size: calc(15px + var(--fs-bump, 0px)); line-height: 1.75; }
.article-body { padding-top: 22px; font-size: 16.5px; line-height: 1.9; color: #24272d; overflow-wrap: anywhere; }
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.1em; }
.article-body h2 { font-size: 23px; margin: 1.8em 0 .7em; line-height: 1.4; }
.article-body h3 { font-size: 19px; margin: 1.6em 0 .6em; line-height: 1.45; }
.article-body h4 { font-size: 17px; margin: 1.4em 0 .5em; }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; display: block; margin: 1.2em auto; }
.article-body figure { margin: 1.4em 0; }
.article-body figcaption { text-align: center; font-size: calc(13px + var(--fs-bump, 0px)); color: var(--mute); margin-top: -.6em; }
.article-body blockquote { margin: 1.4em 0; padding: 12px 20px; border-left: 3px solid var(--brand-red); background: var(--bg-alt); color: var(--ink-2); border-radius: 0 10px 10px 0; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.article-body li { margin-bottom: .4em; }
.article-body a { color: var(--brand-red); }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: calc(14.5px + var(--fs-bump, 0px)); display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.article-body th { background: var(--bg-alt); }
.article-body pre { background: var(--dark); color: #e6e8ec; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: calc(13.5px + var(--fs-bump, 0px)); line-height: 1.6; }
.article-body code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
.article-disclaimer { margin-top: 28px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); font-size: calc(12.5px + var(--fs-bump, 0px)); color: var(--mute); line-height: 1.7; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.article-nav a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-size: calc(14px + var(--fs-bump, 0px)); line-height: 1.5; }
.article-nav a:hover { border-color: var(--ink); }
.article-nav small { display: block; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); margin-bottom: 4px; }
.article-nav .next { text-align: right; }

/* 报价页 / 模拟盘页 / 搜索页 在 v15 中被包在全站页头页脚之间 */
.site-boxed .page { min-height: 0; }

@media (max-width: 860px) {
  .nw-grid, .mv-grid { grid-template-columns: minmax(0, 1fr); }
  .ec-days { grid-template-columns: repeat(5, minmax(84px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .qt-panel { padding: 20px; border-radius: 18px; }
  .hm-title { font-size: 24px; }
  .hm-title-lg { font-size: 28px; }
  .home-main > .site-wrap { gap: 44px; }
  .nl-thumb { flex-basis: 120px; }
  .nl-body h2 { font-size: 16.5px; }
  .nl-body p { display: none; }
  .article-head h1 { font-size: 25px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
}
@media (max-width: 520px) {
  .site-wrap { padding: 0 16px; }
  .tk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tk-card { padding: 12px; }
  .tk-price { font-size: 16px; }
  .mv-row { padding: 10px 12px; }
  .mv-price { flex-basis: 76px; }
  .mv-chg { flex-basis: 80px; }
  .chg-pill { min-width: 68px; }
  .nw-thumb { flex-basis: 100px; height: 66px; }
}

/* 简繁切换按钮、链接悬停：设计稿的胶囊按钮风格 */
.site-v15 .zh-variant-btn { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: calc(13.5px + var(--fs-bump, 0px)); font-weight: 600; font-family: inherit; cursor: pointer; white-space: nowrap; }
.site-v15 .zh-variant-btn:hover { border-color: var(--dark); color: var(--black); }
.hm-more:hover { color: var(--brand-red-dark); text-decoration: none; }
a.hs-card:hover, a.qt-card:hover { transform: translateY(-1px); }
.hs-card, .qt-card { transition: box-shadow .22s cubic-bezier(.2,.8,.2,1), transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s; }

/* ---- 设计稿对齐（v15.1）：页头按钮、美东时间、FCN 报价表格 ---- */
.strip-clock { margin-left: auto; color: #A1A1AA; white-space: nowrap; font-variant-numeric: tabular-nums; }
.site-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--brand-red); color: #fff; font-weight: 600; font-size: calc(14.5px + var(--fs-bump, 0px)); text-decoration: none; white-space: nowrap; transition: background .22s, box-shadow .22s, transform .22s; }
.site-cta:hover { background: var(--brand-red-dark); box-shadow: var(--shadow-red); transform: translateY(-1px); color: #fff; }
.qt-tools { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.qt-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.qt-table-wrap[hidden] { display: none; }
.qt-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: calc(14px + var(--fs-bump, 0px)); }
.qt-table th { text-align: left; color: var(--mute); font-size: calc(12px + var(--fs-bump, 0px)); font-weight: 600; padding: 14px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.qt-table td { padding: 14px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; font-variant-numeric: tabular-nums; }
.qt-table tr:last-child td { border-bottom: 0; }
.qt-table th:first-child, .qt-table td:first-child { padding-left: 18px; }
.qt-table th:last-child, .qt-table td:last-child { padding-right: 18px; }
.qt-table tbody tr:hover td { background: var(--bg-alt); }
.qt-no { color: var(--mute); font-size: calc(12.5px + var(--fs-bump, 0px)); white-space: nowrap; }
.qt-basket a { font-weight: 700; color: var(--black); text-decoration: none; }
.qt-basket a:hover { color: var(--brand-red); }
.qt-basket small { display: block; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); margin-top: 2px; }
.qt-num { text-align: right !important; }
.qt-rate { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--coupon); white-space: nowrap; }
@media (max-width: 1100px) { .site-cta { height: 40px; padding: 0 18px; } }
.qt-common-m { display: none; margin: 12px 0 0; font-size: calc(12.5px + var(--fs-bump, 0px)); color: var(--ink-2); line-height: 1.8; }
.qt-common-m b { color: var(--black); }
@media (max-width: 640px) {
  .qt-table { min-width: 0; }
  .qt-table .qt-common, .qt-table .qt-no { display: none; }
  .qt-table th:nth-child(2), .qt-table td:nth-child(2) { padding-left: 14px; }
  .qt-common-m { display: block; }
}

/* 网站名称双色（FCNtech：FCN 红色） */
.brand-accent { color: var(--accent); }
.ft-name .brand-accent { color: var(--red-300); }

/* ===================================================================
   v15.4 FCN 子栏目：FCN 报价 / FCN 模拟盘 / 历史报价（与首页同一套视觉）
   =================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.fx-page { background: #fff; }
.fx-muted { color: var(--mute); font-size: calc(13px + var(--fs-bump, 0px)); }

/* 页面头部 */
.fx-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.fx-hero .site-wrap { padding-top: 22px; padding-bottom: 30px; }
.fx-hero-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.fx-hero .crumbs { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.fx-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.fx-tab { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font-size: calc(14px + var(--fs-bump, 0px)); font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.fx-tab:hover { color: var(--black); background: var(--bg-alt); }
.fx-tab.is-active { background: var(--dark); color: #fff; }
.fx-hero-main { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.fx-hero-text { min-width: 0; flex: 1 1 480px; }
.fx-title { margin: 0; font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--black); overflow-wrap: anywhere; }
.fx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 12px; font-size: calc(14px + var(--fs-bump, 0px)); color: var(--mute); }
.fx-meta b { color: var(--black); font-weight: 700; }
.fx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fx-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: calc(14px + var(--fs-bump, 0px)); font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}
.fx-btn:hover { border-color: var(--dark); }
.fx-btn-red { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.fx-btn-red:hover { background: var(--brand-red-dark); border-color: var(--brand-red-dark); box-shadow: var(--shadow-red); transform: translateY(-1px); }
.fx-btn:disabled { opacity: .7; cursor: wait; }

/* 主体 + 右侧栏 */
.fx-body { padding-top: 32px; }
.fx-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 40px; padding-top: 32px; }
.fx-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.fx-side { flex: 1 1 300px; max-width: 360px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 960px) { .fx-side { max-width: none; } }
.fx-section { min-width: 0; }
.fx-section-head { margin-bottom: 16px; }
.fx-section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.fx-h2 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--black); }
.fx-intro { margin: 0; font-size: 16px; line-height: 1.8; color: var(--ink-2); padding: 18px 22px; background: var(--bg-alt); border-radius: var(--radius); }
.fx-hint { margin: 12px 0 0; font-size: calc(13px + var(--fs-bump, 0px)); color: var(--mute); }
.fx-alert { padding: 14px 18px; border-radius: 12px; background: var(--danger-bg); color: var(--danger); font-size: calc(14px + var(--fs-bump, 0px)); line-height: 1.7; margin-bottom: 24px; }

/* 报价卡片 */
.fx-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.fx-pick { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .22s, transform .22s; }
.fx-pick:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.fx-pick-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 0; }
.fx-pick-no { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--dark); color: #fff; font-size: calc(12.5px + var(--fs-bump, 0px)); font-weight: 700; white-space: nowrap; }
.fx-pick-kind { font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }
.fx-pick-stocks { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; }
.fx-pick .stock-tag { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: calc(14px + var(--fs-bump, 0px)); }
.fx-pick .stock-ticker { font-weight: 700; white-space: nowrap; color: var(--black); }
.fx-pick .stock-label { color: var(--mute); text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: auto; }
.fx-pick .stock-label-full { font-weight: 600; }
.fx-pick a.stock-tag.has-detail { background: var(--red-50); }
.fx-pick a.stock-tag.has-detail .stock-ticker { color: var(--brand-red-dark); }
.fx-pick a.stock-tag.has-detail:hover { background: #FFDCE0; }
.stock-more { flex: 0 0 auto; font-size: calc(11px + var(--fs-bump, 0px)); font-weight: 700; color: #fff; background: var(--brand-red); border-radius: 999px; padding: 2px 8px; }
.fx-pick-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 14px 18px 16px; border-top: 1px solid var(--line-2); background: #FCFCFD; }
.fx-pick-foot small { display: block; font-size: calc(11.5px + var(--fs-bump, 0px)); color: var(--mute); margin-bottom: 2px; }
.fx-coupon { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--coupon); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fx-tenor { text-align: right; }
.fx-tenor b { font-size: 16px; color: var(--black); }

/* 共同条款 */
.fx-terms { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fx-term { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.fx-term:nth-child(odd) { border-right: 1px solid var(--line-2); }
.fx-term:nth-last-child(-n+2):nth-child(odd), .fx-term:last-child { border-bottom: 0; }
.fx-term dt { font-size: calc(14px + var(--fs-bump, 0px)); color: var(--ink-2); font-weight: 600; }
.fx-term dt small { display: block; font-size: calc(11.5px + var(--fs-bump, 0px)); color: var(--mute); font-weight: 400; margin-top: 1px; }
.fx-term dd { margin: 0; font-weight: 700; color: var(--black); text-align: right; font-variant-numeric: tabular-nums; }
.fx-term dd.is-pct { color: var(--ink); font-family: var(--font-display); font-size: 17px; }
@media (max-width: 640px) {
  .fx-terms { grid-template-columns: minmax(0, 1fr); }
  .fx-term:nth-child(odd) { border-right: 0; }
  .fx-term:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px solid var(--line-2); }
}

/* 产品说明 */
.fx-features { margin: 0; padding: 0; list-style: none; counter-reset: fx; display: flex; flex-direction: column; gap: 10px; }
.fx-features li { counter-increment: fx; position: relative; padding: 14px 18px 14px 56px; border-radius: 12px; background: var(--bg-alt); font-size: calc(15px + var(--fs-bump, 0px)); line-height: 1.75; color: var(--ink-2); }
.fx-features li::before { content: counter(fx); position: absolute; left: 18px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--dark); color: #fff; font-size: calc(12px + var(--fs-bump, 0px)); font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); }
.fx-disclaimer { padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; font-size: calc(13px + var(--fs-bump, 0px)); line-height: 1.8; color: var(--mute); }
.fx-disclaimer strong { display: block; color: var(--ink); font-size: calc(13.5px + var(--fs-bump, 0px)); margin-bottom: 4px; }
.fx-disclaimer p { margin: 0; }

/* 联系与开户咨询 */
.fx-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border-radius: 24px; background: var(--dark); color: #fff; }
.fx-contact .hm-eyebrow { color: var(--red-300); }
.fx-contact-text { flex: 1 1 260px; min-width: 0; }
.fx-contact-title { font-size: 20px; font-weight: 700; line-height: 1.5; }
.fx-contact-title a { color: #fff; }
.fx-contact-note { margin: 10px 0 0; font-size: calc(13px + var(--fs-bump, 0px)); color: #A1A1AA; }
.fx-qrs { display: flex; flex-wrap: wrap; gap: 14px; }
.fx-qr { margin: 0; text-align: center; font-size: calc(12.5px + var(--fs-bump, 0px)); color: #D4D4D8; }
.fx-qr img, .fx-qr-blank { width: 104px; height: 104px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; display: block; margin-bottom: 8px; }
.fx-qr-blank { background: #27272A; }

/* 右侧栏 */
.fx-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.fx-box-title { margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--black); }
.fx-box-sub { margin: 6px 0 14px; font-size: calc(12.5px + var(--fs-bump, 0px)); color: var(--mute); line-height: 1.6; }
.fx-search-box { background: var(--dark); border-color: var(--dark); }
.fx-search-box .fx-box-title { color: #fff; }
.fx-search-box .fx-box-sub { color: #A1A1AA; }
.fx-search { display: flex; gap: 8px; }
.fx-search input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px; border-radius: 999px; border: 0; font: inherit; font-size: calc(14px + var(--fs-bump, 0px)); background: #fff; color: var(--ink); outline: none; }
.fx-search input:focus { box-shadow: 0 0 0 3px rgba(255, 77, 92, .5); }
.fx-search button { flex: 0 0 auto; height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--brand-red); color: #fff; font: inherit; font-size: calc(14px + var(--fs-bump, 0px)); font-weight: 700; cursor: pointer; }
.fx-search button:hover { background: var(--brand-red-dark); }
.fx-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.fx-cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.fx-cal-nav:hover { border-color: var(--dark); color: var(--black); }
.fx-cal-week, .fx-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.fx-cal-week span { font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); padding-bottom: 4px; }
.fx-day { height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: calc(13.5px + var(--fs-bump, 0px)); color: #B4B4BB; font-variant-numeric: tabular-nums; }
a.fx-day.has-report { color: var(--brand-red-dark); background: var(--red-50); font-weight: 700; text-decoration: none; }
a.fx-day.has-report:hover { background: var(--brand-red); color: #fff; }
a.fx-day.is-current { background: var(--dark); color: #fff; }
.fx-side-ad { display: block; border-radius: var(--radius); overflow: hidden; line-height: 0; }

/* 表格（模拟盘标的 / 观察日、标的详情） */
.fx-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.fx-table { width: 100%; border-collapse: collapse; font-size: calc(14px + var(--fs-bump, 0px)); }
.fx-table th { text-align: left; font-size: calc(12px + var(--fs-bump, 0px)); font-weight: 600; color: var(--mute); padding: 12px 14px; background: var(--bg-alt); white-space: nowrap; }
.fx-table td { padding: 12px 14px; border-top: 1px solid var(--line-2); vertical-align: middle; font-variant-numeric: tabular-nums; }
.fx-table .num { text-align: right; }
.fx-table tr.is-future td { color: var(--mute); }
.fx-cell-sub { display: block; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); margin-top: 2px; }
.fx-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 40px; }
@media (max-width: 960px) { .fx-two { grid-template-columns: minmax(0, 1fr); } }

/* 模拟盘详情：关键数字 + 海报 */
.fx-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; }
.fx-stat { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-width: 0; }
.fx-stat small { display: block; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); margin-bottom: 6px; }
.fx-stat b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--black); line-height: 1.2; font-variant-numeric: tabular-nums; }
.fx-stat b.fx-coupon { font-size: 30px; color: var(--coupon); }
.fx-stat b.up { color: var(--mk-up); }
.fx-stat b.down { color: var(--mk-down); }
.fx-stat span { display: block; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); margin-top: 6px; line-height: 1.5; }
@media (max-width: 1100px) { .fx-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fx-stat:first-child { grid-column: span 2; } }
.fx-poster { overflow-x: auto; border-radius: 20px; background: var(--dark); box-shadow: var(--shadow-hover); line-height: 0; }
.fx-poster svg { display: block; min-width: 900px; width: 100%; height: auto; }
.fx-filter { margin-bottom: 20px; }
.fx-sim-grid .hs-card[hidden] { display: none; }
.fx-source-line { margin-top: 28px; }
.hs-status.st-run { background: #E9EEFB; color: #23408E; }
.hs-status.st-done { background: #E3F5EC; color: #00653B; }

/* 历史报价 */
.fx-bigsearch { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border: 2px solid var(--black); border-radius: 999px; color: var(--mute); background: #fff; }
.fx-bigsearch input { flex: 1 1 auto; min-width: 0; height: 44px; border: 0; outline: 0; font: inherit; font-size: 16px; background: transparent; color: var(--ink); }
.fx-bigsearch button { flex: 0 0 auto; height: 48px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--brand-red); color: #fff; font: inherit; font-size: calc(15px + var(--fs-bump, 0px)); font-weight: 700; cursor: pointer; }
.fx-bigsearch button:hover { background: var(--brand-red-dark); }
.fx-results, .fx-archive { display: flex; flex-direction: column; gap: 10px; }
.fx-result, .fx-arch { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.fx-result:hover, .fx-arch:hover { border-color: var(--dark); box-shadow: var(--shadow); }
.fx-result-date, .fx-arch-date { flex: 0 0 64px; display: flex; flex-direction: column; }
.fx-result-date b, .fx-arch-date b { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--black); line-height: 1.2; }
.fx-result-date small, .fx-arch-date small { font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }
.fx-result-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fx-result-row { display: flex; align-items: center; gap: 12px; font-size: calc(14px + var(--fs-bump, 0px)); }
.fx-result-stock { flex: 1 1 auto; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-result-stock mark, .fx-postlist mark { background: #FFE58F; color: inherit; border-radius: 3px; padding: 0 2px; }
.fx-result-tenor { flex: 0 0 auto; color: var(--mute); font-size: calc(13px + var(--fs-bump, 0px)); }
.fx-result-rate { flex: 0 0 76px; text-align: right; color: var(--coupon); font-family: var(--font-display); font-size: 17px; }
.fx-result-go { flex: 0 0 auto; color: #B4B4BB; }
.fx-arch-body { flex: 1 1 auto; min-width: 0; }
.fx-arch-stocks { font-weight: 600; font-size: calc(14.5px + var(--fs-bump, 0px)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--black); }
.fx-arch-body small { font-size: calc(12.5px + var(--fs-bump, 0px)); color: var(--mute); }
.fx-arch-rate { flex: 0 0 auto; text-align: right; }
.fx-arch-rate small { display: block; font-size: calc(11.5px + var(--fs-bump, 0px)); color: var(--mute); }
.fx-arch-rate b { font-family: var(--font-display); font-size: 20px; color: var(--coupon); font-weight: 800; }
.fx-postlist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fx-postlist li + li { border-top: 1px solid var(--line-2); }
.fx-postlist a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; text-decoration: none; color: var(--ink); font-size: calc(14.5px + var(--fs-bump, 0px)); }
.fx-postlist a:hover { background: var(--bg-alt); color: var(--brand-red); }
.fx-postlist small { color: var(--mute); white-space: nowrap; }

/* 标的详情弹窗（assets/js/stock-detail.js） */
html.sd-open, html.sd-open body { overflow: hidden; }
.sd-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(11, 11, 15, .56); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.sd-modal { width: 100%; max-width: 760px; max-height: calc(100vh - 64px); overflow-y: auto; background: #fff; border-radius: 24px; box-shadow: 0 24px 64px rgba(0, 0, 0, .3); outline: none; }
.fx-detail-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 64px 18px 26px; background: #fff; border-bottom: 1px solid var(--line); }
.fx-detail-head .cn { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--black); line-height: 1.3; }
.fx-detail-head .date { font-size: calc(12.5px + var(--fs-bump, 0px)); color: var(--mute); margin-top: 4px; }
.sd-close { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.sd-close:hover, .sd-close:focus-visible { border-color: var(--dark); outline: none; }
.fx-detail-body { padding: 6px 26px 28px; font-size: calc(14.5px + var(--fs-bump, 0px)); line-height: 1.8; color: var(--ink-2); }
.fx-detail-body h3 { margin: 22px 0 10px; font-size: calc(15px + var(--fs-bump, 0px)); font-weight: 800; color: var(--black); font-family: var(--font-display); }
.fx-detail-body p { margin: 0; }
.fx-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fx-metric { padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); }
.fx-metric small { display: block; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); }
.fx-metric b { font-size: 16px; color: var(--black); font-variant-numeric: tabular-nums; }
.fx-bullets { margin: 0; padding-left: 1.2em; }
.fx-bullets li { margin-bottom: 4px; }
.fx-source { margin-top: 20px !important; font-size: calc(12px + var(--fs-bump, 0px)); color: var(--mute); line-height: 1.7; }
@media (max-width: 640px) {
  .sd-overlay { padding: 0; align-items: stretch; }
  .sd-modal { max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .fx-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-detail-head { padding: 18px 60px 14px 18px; }
  .fx-detail-body { padding: 4px 18px 28px; }
}

@media (max-width: 640px) {
  .fx-title { font-size: 28px; }
  .fx-hero .site-wrap { padding-top: 16px; padding-bottom: 22px; }
  .fx-hero-top { margin-bottom: 16px; }
  .fx-tabs { width: 100%; justify-content: space-between; }
  .fx-tab { flex: 1 1 auto; justify-content: center; padding: 0 8px; font-size: calc(13.5px + var(--fs-bump, 0px)); }
  .fx-layout, .fx-body { padding-top: 24px; }
  .fx-main { gap: 32px; }
  .fx-contact { padding: 22px; border-radius: 18px; }
  .fx-qr img, .fx-qr-blank { width: 88px; height: 88px; }
  .fx-bigsearch { padding-left: 14px; }
  .fx-bigsearch button { padding: 0 16px; }
  .fx-result, .fx-arch { gap: 12px; padding: 14px; }
  .fx-result-tenor { display: none; }
  .fx-result-go { display: none; }
  .fx-arch-rate b { font-size: 17px; }
}

.fx-stat .hs-bar span { margin: 0; display: block; }

/* v15.6 悬浮对联广告：固定在内容区左右两侧的空白处（内容区最大宽度见 --wrap / .site-wrap） */
.fl-ad { position: fixed; top: var(--fl-top, 140px); width: var(--fl-w, 120px); z-index: 45; }
.fl-ad[hidden] { display: none; }
.fl-ad-left { left: max(8px, calc(50% - var(--wrap, 1440px) / 2 + 8px - var(--fl-w, 120px))); }
.fl-ad-right { right: max(8px, calc(50% - var(--wrap, 1440px) / 2 + 8px - var(--fl-w, 120px))); }
.fl-ad a, .fl-ad > img { display: block; }
.fl-ad img { display: block; width: 100%; height: auto; max-height: calc(100vh - var(--fl-top, 140px) - 16px); object-fit: contain; object-position: top; border-radius: 10px; box-shadow: 0 6px 20px rgba(11, 11, 15, .12); }
.fl-ad-x {
  position: absolute; top: -9px; right: -9px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(11, 11, 15, .78); color: #fff; font: 600 15px/22px var(--font-sans, sans-serif); cursor: pointer; text-align: center;
  opacity: .75; transition: opacity .15s;
}
.fl-ad-left .fl-ad-x { right: auto; left: -9px; }
.fl-ad:hover .fl-ad-x, .fl-ad-x:focus-visible { opacity: 1; }
@media (max-width: 899px) { .fl-ad { display: none !important; } }
@media print { .fl-ads { display: none; } }


/* =====================================================================
   v15.9 视觉精修：更有层次、更"高级"的细节（颜色全部跟随配色方案）
   ===================================================================== */
::selection { background: rgba(var(--brand-rgb), .16); }
html { scroll-padding-top: 84px; }
body.site-v15 { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
:focus-visible { outline: 2px solid rgba(var(--brand-rgb), .55); outline-offset: 2px; }

/* 页头吸顶：指数条滚走，导航栏留在顶部，毛玻璃 + 滚动后细阴影 */
.site-header { position: sticky; top: calc(-1 * var(--strip-h, 0px)); }
.site-bar { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); transition: box-shadow .25s, background .25s; }
.site-header.is-scrolled .site-bar { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 rgba(11, 11, 15, .04), 0 8px 24px -12px rgba(11, 11, 15, .18); border-bottom-color: transparent; }
.site-nav-link { transition: color .15s, background .15s; }

/* 栏目标题：英文小标题前加一条主色短线，标题字距收紧 */
.hm-eyebrow, .fx-hero .hm-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.hm-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.hm-title { letter-spacing: -.025em; }
.home-main > .site-wrap { gap: 72px; }
.home-main { padding-top: 40px; }

/* 卡片：更柔和的描边、统一的悬停浮起 */
.tk-card, .hs-card, .fx-pick, .ec-day, .fx-result, .fx-arch { border-color: rgba(11, 11, 15, .07); }
.tk-card { box-shadow: 0 1px 2px rgba(11, 11, 15, .04); }
a.tk-card:hover, .hs-card:hover, .fx-pick:hover, a.qt-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 11, 15, .04), 0 16px 32px -12px rgba(11, 11, 15, .16); }
.hs-card, .fx-pick { transition: box-shadow .25s, transform .25s, border-color .25s; }
.fx-result, .fx-arch { transition: box-shadow .2s, border-color .2s, transform .2s; }
.fx-result:hover, .fx-arch:hover { transform: translateY(-2px); }

/* 走势小图：折线下方渐变面积 */
.tk-spark .tk-area { stroke: none; }
.tk-spark polyline { stroke-width: 1.75; }

/* 没有封面图时：品牌色渐变占位，不再是灰块 */
.cover-ph {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px;
  width: 100%; height: 100%; padding: 18px 20px; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--brand-rgb), .55) 0%, rgba(var(--brand-rgb), 0) 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(var(--brand-rgb), .18) 0%, rgba(var(--brand-rgb), 0) 60%),
    linear-gradient(135deg, var(--dark) 0%, #1C1C24 100%);
}
.cover-ph::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(135deg, transparent 20%, #000 90%); mask-image: linear-gradient(135deg, transparent 20%, #000 90%);
}
.cover-ph > * { position: relative; }
.cover-ph span { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.cover-ph small { font-size: calc(11px + var(--fs-bump, 0px)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.nw-cover-blank.cover-ph span { font-size: 44px; }
.nw-cover-blank.cover-ph { padding: 28px 32px; }
.cover-ph-sm { padding: 10px 12px; justify-content: center; align-items: center; }
.cover-ph-sm span { font-size: calc(13px + var(--fs-bump, 0px)); font-weight: 700; letter-spacing: 0; text-align: center; }
.nl-thumb .cover-ph span { font-size: 22px; }
.nw-cover, .nw-thumb, .nl-thumb { box-shadow: inset 0 0 0 1px rgba(11, 11, 15, .05); }

/* 二级页面顶部：浅灰底上加一层很淡的主色光晕和点阵，代替纯色块 */
.fx-hero, .page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 320px at 88% -40%, rgba(var(--brand-rgb), .10), rgba(var(--brand-rgb), 0) 70%),
    linear-gradient(180deg, #F6F6F8 0%, #FBFBFC 100%);
}
.fx-hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(11, 11, 15, .10) 1px, transparent 1px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.fx-hero > *, .page-hero > * { position: relative; }

/* 热门 ETF 深色卡片：加一点主色光晕和细描边 */
.etf-card {
  background: radial-gradient(120% 80% at 100% 0%, rgba(var(--brand-rgb), .16), rgba(var(--brand-rgb), 0) 60%), var(--dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .25s, box-shadow .25s;
}
a.etf-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 36px -14px rgba(11, 11, 15, .45); }

/* FCN 报价面板、空状态 */
.qt-panel { background: linear-gradient(180deg, #F6F6F8, #F9F9FA); box-shadow: inset 0 0 0 1px rgba(11, 11, 15, .04); }
.hm-empty { border-style: solid; border-color: rgba(11, 11, 15, .06); background: #FAFAFB; }

/* 页脚：顶部一条主色渐变细线 */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, rgba(var(--brand-rgb), 0), rgba(var(--brand-rgb), .9) 50%, rgba(var(--brand-rgb), 0)); }

@media (max-width: 900px) {
  .home-main > .site-wrap { gap: 48px; }
  .nw-cover-blank.cover-ph span { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  a.tk-card:hover, .hs-card:hover, .fx-pick:hover, a.etf-card:hover, .fx-result:hover, .fx-arch:hover { transform: none; }
}
@media (max-width: 1100px) {
  /* 手机 / 平板：菜单展开在导航栏里，用实色背景，避免下面的内容透出来 */
  .site-bar, .site-header.is-scrolled .site-bar { background: #fff; }
}

/* ===================== v16.4 独立行情页 market.php ===================== */
.pill-tab[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.pill-tab small { margin-left: 2px; opacity: .6; font-size: .85em; font-variant-numeric: tabular-nums; }
.mk-main { padding-top: 36px; padding-bottom: 56px; }
.mk-sec + .mk-sec { margin-top: 48px; }
.mk-gap { margin-top: 24px; }
.mk-breadth { display: flex; align-items: center; gap: 12px; margin-top: 16px; max-width: 520px; font-size: calc(13px + var(--fs-bump, 0px)); color: var(--mute); }
.mk-breadth b { font-variant-numeric: tabular-nums; }
.mk-b-up b { color: var(--mk-up); }
.mk-b-down b { color: var(--mk-down); }
.mk-b-bar { flex: 1 1 auto; display: flex; height: 6px; border-radius: 99px; overflow: hidden; background: var(--line); }
.mk-b-bar i { display: block; height: 100%; }
.mk-b-bar i.up { background: var(--mk-up); }
.mk-b-bar i.down { background: var(--mk-down); }
.mk-b-bar i.flat { background: var(--line); }
.mk-tools { justify-content: flex-end; }
.mk-search { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--mute); }
.mk-search:focus-within { border-color: var(--brand-red); box-shadow: 0 0 0 3px var(--red-50); }
.mk-search input { width: 150px; border: 0; outline: 0; background: transparent; font: inherit; font-size: calc(14px + var(--fs-bump, 0px)); color: var(--ink); }
.mk-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: #fff; }
.mk-table { width: 100%; border-collapse: collapse; font-size: calc(14px + var(--fs-bump, 0px)); }
.mk-table th { position: sticky; top: 0; padding: 0; background: var(--bg-alt); font-size: calc(12px + var(--fs-bump, 0px)); font-weight: 600; color: var(--mute); text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.mk-table th:not([data-sort]) { padding: 11px 16px; }
.mk-table th button { width: 100%; padding: 11px 16px; border: 0; background: none; font: inherit; color: inherit; text-align: inherit; cursor: pointer; }
.mk-table th button:hover { color: var(--ink); }
.mk-table th button::after { content: "↕"; margin-left: 4px; opacity: .35; }
.mk-table th[aria-sort="ascending"] button::after { content: "↑"; opacity: 1; color: var(--brand-red); }
.mk-table th[aria-sort="descending"] button::after { content: "↓"; opacity: 1; color: var(--brand-red); }
.mk-table td { padding: 10px 16px; border-top: 1px solid var(--line-2); white-space: nowrap; vertical-align: middle; }
.mk-table tbody tr:first-child td { border-top: 0; }
.mk-table tbody tr:hover { background: var(--bg-alt); }
.mk-table .mk-num { text-align: right; font-variant-numeric: tabular-nums; }
.mk-table td.mk-num { font-weight: 600; }
.mk-table .mk-cat { color: var(--mute); font-size: calc(13px + var(--fs-bump, 0px)); }
.mk-name b { display: inline-block; min-width: 64px; margin-right: 10px; font-weight: 800; }
.mk-name span { color: var(--mute); font-size: calc(13px + var(--fs-bump, 0px)); }
.mk-chg.up, .mk-m.up { color: var(--mk-up); }
.mk-chg.down, .mk-m.down { color: var(--mk-down); }
.mk-chg.flat, .mk-m.flat { color: var(--mute); }
.mk-spark { width: 132px; }
.mk-spark .tk-spark { width: 120px; height: 32px; }
.mk-noresult { margin: 16px; }
.mk-disclaimer { margin-top: 40px; }
@media (max-width: 860px) {
  .mk-table .mk-cat, .mk-table .mk-spark { display: none; }
  .mk-tools { width: 100%; justify-content: flex-start; }
  .mk-search { flex: 1 1 100%; }
  .mk-search input { width: 100%; }
}
@media (max-width: 560px) {
  .mk-table th:nth-child(4), .mk-table td:nth-child(4), .mk-table th:nth-child(6), .mk-table td:nth-child(6) { display: none; }
  .mk-table td, .mk-table th:not([data-sort]), .mk-table th button { padding-left: 12px; padding-right: 12px; }
  .mk-name b { display: block; min-width: 0; margin: 0; }
}
.mk-more { margin-top: 14px; text-align: center; }
.mk-more[hidden] { display: none; }
