/* flowifluid.com｜福禄 fluid
   颜色和节目画面一致，只在数据上表达意思：
   橙 = 派发、分歧（钱在走）；灰 = 均衡、不在阶段里；浅蓝 = 酝酿；蓝 = 承接占优、确认（钱在进）。
   红绿只给涨跌。其余一律墨色。 */

:root {
  color-scheme: light dark;
  --paper: #ffffff;
  --paper-2: #f2f4f8;
  --ink: #0f1d36;
  --text: #283247;
  --muted: #5e687b;
  --rule: #dde3ec;
  --cover-red: #a3122a;
  --focus: #2f6fdb;

  --out: #e0742c;   --out-soft: #fbe3cf;  --out-ink: #bf5a17;
  --even: #8e98a8;  --even-soft: #e7eaf0; --even-ink: #555f70;
  --brew: #3aa7d2;  --brew-soft: #d4eef8; --brew-ink: #156a8e;
  --in: #2f6fdb;    --in-soft: #d8e5fc;   --in-ink: #1c4fa8;
  --up: #1e8a4c;    --down: #cc3a2f;      --down-soft: #f4c4be; --down-ink: #8f231b;

  /* 雷达屏：首屏和“怎么做出来的”那一段，深浅色模式都一样 */
  --night: #0b1730;
  --night-2: #112244;
  --night-ink: #eef3fb;
  --night-muted: #a3b2c9;
  --night-line: rgba(163, 178, 201, .2);
  --r-diverge: #ff9a52;
  --r-brew: #84d6f2;
  --r-confirm: #4f8fff;
  --r-other: #5e6b82;

  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC",
          "Source Han Sans SC", system-ui, sans-serif;
  --display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
             "Source Han Sans SC", system-ui, sans-serif;
  --wrap: 1160px;
  --measure: 40rem;
  --topbar-h: 56px;
  --dock-h: 0px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1528;
    --paper-2: #0f1a31;
    --ink: #eef3fb;
    --text: #cdd6e4;
    --muted: #97a4b9;
    --rule: #22304b;
    --focus: #8fb6ff;
    --out: #ff9248;  --out-soft: rgba(255, 146, 72, .17);  --out-ink: #ffb07a;
    --even: #7b879b; --even-soft: rgba(123, 135, 155, .2); --even-ink: #b8c1cf;
    --brew: #7cd1ef; --brew-soft: rgba(124, 209, 239, .15); --brew-ink: #a6e2f6;
    --in: #4d8dff;   --in-soft: rgba(77, 141, 255, .2);    --in-ink: #94b9ff;
    --up: #3cc47a;   --down: #ff6b5e; --down-soft: rgba(255, 107, 94, .32); --down-ink: #ffb1aa;
    --night: #08112a;
    --night-2: #0d1a38;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { scroll-padding-top: calc(var(--topbar-h) + 8px); scroll-padding-bottom: calc(var(--dock-h) + 8px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--dock-h);
}

img, svg, canvas { display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 14px;
  background: var(--ink); color: var(--paper); border-radius: 6px;
}
.skip:focus { top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--topbar-h);
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.has-hero .topbar {
  color: var(--night-ink); background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
.has-hero .topbar.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--rule);
}
.topbar-row {
  max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-cjk { font-family: var(--display); font-weight: 900; font-size: 20px; letter-spacing: .03em; }
.brand-latin { font-weight: 500; font-size: 17px; letter-spacing: .01em; }
.topnav { display: flex; align-items: center; gap: 22px; font-size: 15px; white-space: nowrap; }
.topnav a { color: inherit; text-decoration: none; opacity: .85; padding: 6px 0; }
.topnav a:hover { opacity: 1; }
.topnav a[aria-current="page"] { opacity: 1; font-weight: 700; box-shadow: inset 0 -2px 0 currentColor; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 8px;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none;
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 85%, var(--paper)); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-disabled { background: var(--paper-2); color: var(--muted); border-color: var(--rule); cursor: default; }
.btn-solid { background: var(--night-ink); color: var(--night); }
.btn-solid:hover { background: #fff; }
.btn-line { background: transparent; color: var(--night-ink); border-color: rgba(238, 243, 251, .5); }
.btn-line:hover { border-color: var(--night-ink); }
.btn-scope {
  background: rgba(132, 214, 242, .08); color: var(--night-ink); border-color: rgba(132, 214, 242, .45);
  min-height: 42px; padding: 8px 16px; font-size: 15px;
}
.btn-scope:hover { border-color: var(--r-brew); }
.btn-scope[aria-pressed="true"] { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }

/* ---------- 首屏：雷达 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--night); color: var(--night-ink);
  padding: 24px 0 40px;
}
.has-hero .hero { margin-top: calc(-1 * var(--topbar-h)); padding-top: calc(var(--topbar-h) + 20px); }
.hero-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "q" "scope" "panel" "lead" "actions";
}
.hero-q {
  grid-area: q; margin: 0 0 18px;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(44px, 12.4vw, 104px); line-height: 1.04; letter-spacing: -.015em;
  color: var(--night-ink);
}
.hero-lead { grid-area: lead; margin: 22px 0 0; font-size: 17px; color: var(--night-muted); max-width: 30em; }
.hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.radar-scope {
  grid-area: scope; position: relative; width: 100%; aspect-ratio: 1 / 1; justify-self: center;
  max-width: min(100%, calc(100svh - 300px)); min-width: 260px;
  touch-action: manipulation; cursor: crosshair;
  background:
    radial-gradient(circle at 50% 50%, rgba(79, 143, 255, .09) 0, rgba(79, 143, 255, 0) 62%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 calc(12.5% - 1px), rgba(163, 178, 201, .12) calc(12.5% - 1px) 12.5%);
  border-radius: 50%;
}
.radar-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.radar-scope.is-live { background: none; }
.radar-labels { position: absolute; inset: 0; pointer-events: none; }
.radar-labels span {
  position: absolute; transform: translate(-50%, -50%);
  font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .04em; white-space: nowrap;
  color: var(--night-ink); padding: 4px 7px; border-radius: 999px;
  background: rgba(11, 23, 48, .72); border: 1px solid rgba(163, 178, 201, .28);
  transition: opacity .35s;
}
.radar-labels .col-label {
  transform: translate(-50%, 0); text-align: center; background: none; border: 0; padding: 0;
  font-size: 13px; line-height: 1.35;
}
.radar-labels .col-label b { display: block; font-family: var(--display); font-weight: 900; font-size: 15px; }
.radar-labels .col-label i { display: block; font-style: normal; color: var(--night-muted); font-weight: 500; font-size: 12px; }
.radar-labels [data-mode="cols"] { opacity: 0; }
.radar-scope.is-cols .radar-labels [data-mode="rings"] { opacity: 0; }
.radar-scope.is-cols .radar-labels [data-mode="cols"] { opacity: 1; }

.radar-panel { grid-area: panel; margin-top: 18px; }
.radar-cap { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: var(--night-muted); }
.radar-cap time { color: var(--night-ink); font-weight: 700; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip {
  --c: var(--r-other);
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px;
  font: inherit; font-size: 15px; color: var(--night-ink); text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1.5px solid rgba(163, 178, 201, .22); border-radius: 10px;
  transition: background-color .15s, border-color .15s;
}
.chip:hover { border-color: var(--c); }
.chip .swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 10px var(--c); }
.chip span { flex: 1; font-weight: 700; }
.chip b { font-family: var(--display); font-weight: 900; font-size: 18px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
@keyframes chip-hint {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  45% { border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); }
}
.chips.is-hint .chip { animation: chip-hint 1s ease-in-out 1 both; }
.chips.is-hint .chip:nth-child(2) { animation-delay: .16s; }
.chips.is-hint .chip:nth-child(3) { animation-delay: .32s; }
.chips.is-hint .chip:nth-child(4) { animation-delay: .48s; }
.chip.s-diverge { --c: var(--r-diverge); }
.chip.s-brew { --c: var(--r-brew); }
.chip.s-confirm { --c: var(--r-confirm); }
.chip.s-other { --c: var(--r-other); }
html:not(.js) .radar-readout, html:not(.js) .btn-scope { display: none; }
.radar-readout { margin: 14px 0 12px; min-height: 3.4em; font-size: 16px; line-height: 1.7; color: var(--night-ink); }
.radar-readout b { font-family: var(--display); font-weight: 900; }

/* ---------- 版块 ---------- */
.band { padding: 72px 0; background: var(--paper); }
.band-alt { background: var(--paper-2); }
.band-night { background: var(--night); color: var(--night-ink); }
.sec-head { max-width: var(--measure); margin: 0 0 36px; }
.sec-head h2 {
  margin: 0 0 12px; font-family: var(--display); font-weight: 900;
  font-size: clamp(30px, 7vw, 50px); line-height: 1.18; letter-spacing: -.01em; color: var(--ink);
}
.sec-head p { margin: 0; color: var(--muted); }
.band-night .sec-head h2 { color: var(--night-ink); }
.band-night .sec-head p { color: var(--night-muted); }
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec-head-row > div:first-child { max-width: var(--measure); }
.sec-more { margin: 36px 0 0; font-weight: 700; }

/* ---------- 评分尺 ---------- */
.gauge { --band-c: var(--in-ink); max-width: 920px; }
.gauge[data-band="out"] { --band-c: var(--out-ink); }
.gauge[data-band="even"] { --band-c: var(--ink); }
.gauge-top { display: flex; align-items: flex-end; gap: 4px 22px; flex-wrap: wrap; }
.gauge-num {
  margin: 0; min-width: 2.6ch;
  font-family: var(--display); font-weight: 900; font-size: clamp(72px, 19vw, 128px);
  line-height: .86; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--band-c);
}
.gauge-say { flex: 1 1 16rem; min-height: 5.2em; padding-bottom: 4px; }
.gauge-band { margin: 0 0 4px; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1.3; color: var(--band-c); }
.gauge-note { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.gauge-scale { position: relative; margin-top: 26px; }
.gauge-pins { position: relative; height: calc(var(--rows, 3) * 28px + 10px); }
.pin {
  --row: 0;
  position: absolute; bottom: -6px; left: calc(var(--v) * 1%); transform: translateX(-50%);
  height: calc((var(--row) + 1) * 28px + 6px);
  display: flex; flex-direction: column; align-items: center;
  padding: 0; margin: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
  pointer-events: none;
}
.pin-label, .pin-dot { pointer-events: auto; }
.pin.row-1 { --row: 1; }
.pin.row-2 { --row: 2; }
.pin.row-3 { --row: 3; }
.pin-label {
  order: 0; white-space: nowrap; font-size: 13px; line-height: 20px; padding: 1px 7px;
  color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 6px;
  font-variant-numeric: tabular-nums; transition: background-color .15s, color .15s, border-color .15s;
}
.pin-label b { font-weight: 700; }
.pin::after { content: ""; order: 1; flex: 1; width: 1px; background: var(--muted); opacity: .55; }
.pin-dot { order: 2; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--paper); }
.pin:hover .pin-label { border-color: var(--ink); }
.pin[aria-pressed="true"] .pin-label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.band-alt .pin-label { background: var(--paper-2); }
.band-alt .pin-dot { box-shadow: 0 0 0 2px var(--paper-2); }
.gauge-track { position: relative; height: 60px; touch-action: pan-y; cursor: ew-resize; border-radius: 10px; }
.gauge-track:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.gauge-zones { display: flex; height: 100%; border-radius: 10px; overflow: hidden; }
.z { display: flex; align-items: center; justify-content: center; font-size: 15px; transition: background-color .2s, color .2s; }
.z b { font-weight: 700; white-space: nowrap; }
.z-out { flex: 0 0 40%; background: var(--out-soft); color: var(--out-ink); }
.z-even { flex: 0 0 15%; background: var(--even-soft); color: var(--even-ink); }
.z-in { flex: 0 0 45%; background: var(--in-soft); color: var(--in-ink); }
.gauge[data-band="out"] .z-out { background: var(--out); color: #fff; }
.gauge[data-band="even"] .z-even { background: var(--even); color: #fff; }
.gauge[data-band="in"] .z-in { background: var(--in); color: #fff; }
.gauge-needle {
  position: absolute; top: -10px; bottom: -10px; left: calc(var(--val, 70.8) * 1%);
  width: 4px; margin-left: -2px; border-radius: 2px; background: var(--ink);
  box-shadow: 0 0 0 2px var(--paper); pointer-events: none;
  transition: left .45s cubic-bezier(.2, .8, .2, 1);
}
.gauge-needle::after {
  content: ""; position: absolute; left: 50%; bottom: -12px; width: 22px; height: 22px; margin-left: -11px;
  border-radius: 50%; background: var(--paper); border: 4px solid var(--ink);
}
.gauge.is-dragging .gauge-needle { transition: none; }
.gauge-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0;
  pointer-events: none; -webkit-appearance: none; appearance: none;
}
.gauge-ticks { position: relative; height: 22px; margin-top: 16px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gauge-ticks span { position: absolute; top: 0; left: calc(var(--t) * 1%); transform: translateX(-50%); line-height: 22px; }
.gauge-ticks span:first-child { transform: none; }
.gauge-ticks span:last-child { transform: translateX(-100%); }

/* ---------- 三个阶段 ---------- */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.stage { --c: var(--even); position: relative; padding: 4px 0 26px 30px; }
.stage::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--c);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 50% 100%, 0 calc(100% - 8px));
}
.stage + .stage::before { clip-path: polygon(0 0, 50% 8px, 100% 0, 100% calc(100% - 8px), 50% 100%, 0 calc(100% - 8px)); }
.s-diverge { --c: var(--out); --c-ink: var(--out-ink); }
.s-brew { --c: var(--brew); --c-ink: var(--brew-ink); }
.s-confirm { --c: var(--in); --c-ink: var(--in-ink); }
.stage h3 { margin: 0 0 2px; font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1.3; color: var(--c-ink); }
.stage-say { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.stage-cond { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.stages-note { max-width: var(--measure); margin: 8px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- 阶段时间线 ---------- */
.tl {
  margin-top: 44px; padding: 20px 16px 18px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--rule);
}
.band-alt .tl { background: var(--paper); }
.doc .tl { background: var(--paper-2); border-color: transparent; }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 22px; }
.tl-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: 19px; color: var(--ink); }
.tl-tabs { display: inline-flex; padding: 3px; gap: 3px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--rule); }
.doc .tl-tabs { background: var(--paper); }
.tl-tab {
  font: inherit; font-size: 15px; font-weight: 700; min-height: 38px; padding: 6px 14px;
  border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer;
}
.tl-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tl-body { position: relative; padding-top: 34px; }
.tl-strip { position: relative; height: 54px; border-radius: 8px; background: var(--even-soft); overflow: hidden; }
.tl-span {
  --c: var(--even); --c-soft: var(--even-soft); --c-ink: var(--even-ink);
  position: absolute; top: 0; bottom: 0; left: calc(var(--l) * 1%); width: calc(var(--w) * 1%);
  display: flex; align-items: center; justify-content: center;
  background: var(--c-soft); box-shadow: inset 0 4px 0 var(--c);
}
.tl-span b { font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--c-ink); white-space: nowrap; }
.tl-span.s-diverge { --c: var(--out); --c-soft: var(--out-soft); --c-ink: var(--out-ink); }
.tl-span.s-brew { --c: var(--brew); --c-soft: var(--brew-soft); --c-ink: var(--brew-ink); }
.tl-span.s-confirm { --c: var(--in); --c-soft: var(--in-soft); --c-ink: var(--in-ink); }
.tl-span.fuzzy {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.tl-span.open {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 72%, transparent 100%);
}
.tl-dates, .tl-axis { position: relative; height: 22px; font-size: 13px; line-height: 22px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-dates { margin-top: 6px; color: var(--text); font-weight: 700; }
.tl-axis { margin-top: 6px; border-top: 1px solid var(--rule); height: 28px; line-height: 30px; }
.tl-dates span, .tl-axis span { position: absolute; top: 0; left: calc(var(--x) * 1%); transform: translateX(-50%); white-space: nowrap; }
.tl-axis span::before { content: ""; position: absolute; left: 50%; top: -1px; width: 1px; height: 6px; background: var(--muted); }
.tl-dates .edge-l, .tl-axis .edge-l { transform: none; }
.tl-dates .edge-r, .tl-axis .edge-r { transform: translateX(-100%); }
.tl-axis .edge-l::before { left: 0; }
.tl-axis .edge-r::before { left: 100%; }
.tl-caption { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }
.tl-scrub { position: absolute; left: 0; right: 0; top: 0; height: 88px; touch-action: pan-y; cursor: ew-resize; }
.tl-scrub:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.tl-cursor {
  position: absolute; top: 26px; height: 62px; left: calc(var(--x, 50) * 1%);
  width: 2px; margin-left: -1px; background: var(--ink); pointer-events: none;
}
.tl-cursor span {
  position: absolute; left: 50%; top: -26px; transform: translateX(-50%);
  font-size: 12.5px; font-weight: 700; line-height: 22px; padding: 0 8px; border-radius: 6px; white-space: nowrap;
  background: var(--ink); color: var(--paper); font-variant-numeric: tabular-nums;
}
.tl-cursor.edge-l span { left: 0; transform: none; }
.tl-cursor.edge-r span { left: auto; right: 0; transform: none; }
.tl-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.tl-readout { margin: 16px 0 0; min-height: 3.4em; font-size: 16px; line-height: 1.7; color: var(--text); }
.tl-readout b { font-family: var(--display); font-weight: 900; color: var(--ink); }
.tl-readout .st { font-weight: 900; }
.tl-readout .st-diverge { color: var(--out-ink); }
.tl-readout .st-brew { color: var(--brew-ink); }
.tl-readout .st-confirm { color: var(--in-ink); }

/* ---------- 往期的两张图 ---------- */
.proofs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.proof { margin: 0; }
.proof-meta { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.proof-meta time { font-weight: 700; color: var(--text); margin-right: .25em; }
.proof h3 { margin: 0 0 18px; font-family: var(--display); font-weight: 900; font-size: 23px; line-height: 1.4; color: var(--ink); }
.stack { margin: 0 0 18px; }
.stack-label { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--text); }
.stack-bar { display: flex; gap: 3px; height: 46px; }
.seg {
  flex: var(--p) 1 0; min-width: 0; display: flex; align-items: center; padding: 0 10px;
  border-radius: 6px; color: #fff; font-size: 15px; overflow: hidden;
}
.seg b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.k-in { background: var(--in); }
.k-even { background: var(--even); }
.k-out { background: var(--out); }
.k-down { background: var(--down); }
.k-down-soft { background: var(--down-soft); color: var(--down-ink); }
.k-up { background: var(--up); }
.k-idle { background: var(--even-soft); color: var(--even-ink); }
.stack-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.stack-legend li { display: inline-flex; align-items: center; gap: 6px; }
.stack-legend i { width: 10px; height: 10px; border-radius: 3px; }
.stack-legend .k-in, .stack-legend .k-even, .stack-legend .k-out, .stack-legend .k-down,
.stack-legend .k-down-soft, .stack-legend .k-up, .stack-legend .k-idle { background: none; color: inherit; }
.stack-legend .k-in i { background: var(--in); }
.stack-legend .k-even i { background: var(--even); }
.stack-legend .k-out i { background: var(--out); }
.stack-legend .k-down i { background: var(--down); }
.stack-legend .k-down-soft i { background: var(--down-soft); }
.stack-legend .k-up i { background: var(--up); }
.stack-legend .k-idle i { background: var(--even-soft); box-shadow: inset 0 0 0 1px var(--rule); }
.stack-legend b { color: var(--text); font-variant-numeric: tabular-nums; }
.proof-take {
  margin: 22px 0 0; padding-left: 14px; border-left: 4px solid var(--ink);
  font-family: var(--display); font-weight: 900; font-size: 20px; line-height: 1.5; color: var(--ink);
}
.js .proof .stack-bar { clip-path: inset(0 100% 0 0); }
.js .proof.is-in .stack-bar { clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.25, .8, .25, 1); }
.js .proof.is-in .stack + .stack .stack-bar { transition-delay: .35s; }

/* ---------- 怎么做出来的 ---------- */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.pipeline li { position: relative; padding: 0 0 34px 68px; }
.pipeline li::before {
  content: ""; position: absolute; left: 25px; top: 58px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--night-line), var(--night-line));
}
.pipeline li:last-child::before { display: none; }
.pl-step {
  position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 24px; color: var(--night);
  background: var(--night-ink);
}
.pipeline h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 52px; color: var(--night-ink); }
.pl-num { margin: 2px 0 6px; color: var(--night-muted); font-size: 15px; }
.pl-num b { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1.1; letter-spacing: -.01em; color: var(--night-ink); margin-right: 4px; font-variant-numeric: tabular-nums; }
.pl-text { margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--night-muted); }

/* ---------- 节目墙 ---------- */
.rail {
  --pad: max(16px, calc((100% - var(--wrap)) / 2 + 16px));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 360px); gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 6px var(--pad) 18px; scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.rail-ctrl { display: none; gap: 8px; }
.rail-btn {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer;
}
.rail-btn svg { width: 22px; height: 22px; }
.rail-btn:hover { border-color: var(--ink); }
.rail-btn:disabled { opacity: .35; cursor: default; border-color: var(--rule); }
.cover {
  scroll-snap-align: start; container-type: inline-size;
  position: relative; display: flex; flex-direction: column; aspect-ratio: 16 / 10;
  padding: 5% 6% 4.6%; border-radius: 12px; overflow: hidden; text-decoration: none;
  background: #fff; color: #0f1d36; box-shadow: 0 0 0 1px rgba(15, 29, 54, .1);
}
.cover-top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding-bottom: 2.4cqi; border-bottom: 2px solid #0f1d36;
  font-size: 13px; font-size: 3.7cqi; line-height: 1.4; color: #0f1d36; white-space: nowrap;
}
.cover-brand b { font-weight: 900; }
.cover-date { font-variant-numeric: tabular-nums; color: #5e687b; }
.cover-hook {
  margin-top: auto; padding-top: 3cqi;
  font-family: var(--display); font-weight: 900; font-size: 28px; font-size: 9cqi; line-height: 1.2; letter-spacing: -.01em;
  color: #0f1d36;
}
.cover-sub { margin-top: 1.8cqi; font-family: var(--display); font-weight: 700; font-size: 17px; font-size: 5.4cqi; line-height: 1.35; color: #a3122a; }
.cover-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 3cqi;
  font-size: 13px; font-size: 3.7cqi; color: #5e687b;
}
.cover-tag { padding: .2em .7em; border-radius: 999px; background: #0f1d36; color: #fff; font-weight: 700; }
.cover:hover .cover-foot > span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.cover:focus-visible { outline-offset: 3px; }

/* ---------- 在哪儿找到我们 ---------- */
.route { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.route li { position: relative; padding: 26px 8px 0 0; }
.route li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 4px var(--paper);
}
.route li::after { content: ""; position: absolute; left: 14px; right: 0; top: 6px; height: 2px; background: var(--ink); opacity: .35; }
.route li:last-child::after { display: none; }
.route b { display: block; font-family: var(--display); font-weight: 900; font-size: 16px; line-height: 1.4; color: var(--ink); }
.route span { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); }
.stations { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.station {
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
  padding: 20px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule);
}
.station h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--ink); }
.station h3 svg { width: 28px; height: 28px; flex: none; }
.station .role { margin: 0; color: var(--text); }
.station .status { margin: 2px 0 14px; font-size: 14px; color: var(--muted); }
.station-actions { display: flex; flex-wrap: wrap; gap: 10px; align-self: end; }
.station-actions .btn { white-space: normal; text-align: center; }
.station .qr { display: none; }
.band:not(.band-alt) .station { background: var(--paper-2); border-color: transparent; }
.stations-note { max-width: var(--measure); margin: 24px 0 0; font-size: 15px; color: var(--muted); }

/* 上线通知表单（site.json 里填了 notify_form_html 才会出现） */
.notify-wrap { flex-basis: 100%; }
.notify-wrap form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 6px; }
.notify-wrap input {
  flex: 1 1 12rem; font: inherit; font-size: 16px; color: var(--text); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 8px; padding: 8px 12px; min-height: 46px;
}
.notify-wrap button {
  font: inherit; font-weight: 700; color: var(--paper); background: var(--ink);
  border: 2px solid var(--ink); border-radius: 8px; padding: 8px 18px; min-height: 46px; cursor: pointer;
}

/* ---------- 文章页 ---------- */
.doc-head { background: var(--paper-2); padding: 52px 0 40px; border-bottom: 1px solid var(--rule); }
.doc-head h1 {
  margin: 0 0 16px; max-width: 16em; font-family: var(--display); font-weight: 900;
  font-size: clamp(34px, 8.4vw, 60px); line-height: 1.14; letter-spacing: -.01em; color: var(--ink);
}
.doc-head .lead { margin: 0; max-width: var(--measure); font-size: 18px; color: var(--text); }
.doc > .wrap { padding-top: 44px; padding-bottom: 80px; }
.doc .gauge { margin-bottom: 44px; }
.prose { max-width: var(--measure); }
.prose h2 { margin: 56px 0 12px; font-family: var(--display); font-weight: 900; font-size: 29px; line-height: 1.3; color: var(--ink); }
.doc > .wrap > .prose:first-child > h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 4px; font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.prose p { margin: 0 0 14px; }
.note, .updated { font-size: 15px; color: var(--muted); }
.updated { margin-top: 44px; }
.toc {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 16px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 15px;
}
.toc a { text-decoration: none; padding: 6px 12px; border-radius: 8px; background: var(--paper-2); color: var(--ink); }
.toc a:hover { background: var(--rule); }
.toc + .prose > h2:first-child { margin-top: 48px; }
ul.plain { margin: 0 0 14px; padding-left: 1.2em; }
ul.plain li { margin: 6px 0; }
.matrix-wrap { margin: 18px 0 20px; max-width: 46rem; overflow-x: auto; }
.matrix { width: 100%; border-collapse: separate; border-spacing: 6px; font-size: 16px; line-height: 1.6; margin: -6px; }
.matrix th, .matrix td { padding: 14px 14px; text-align: left; vertical-align: top; border-radius: 8px; }
.matrix thead th { font-weight: 900; font-family: var(--display); color: var(--ink); white-space: nowrap; padding-bottom: 6px; }
.matrix thead .mx-col-in { box-shadow: inset 0 -4px 0 var(--in); }
.matrix thead .mx-col-out { box-shadow: inset 0 -4px 0 var(--out); }
.matrix tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; padding-left: 0; }
.matrix td b { display: block; font-weight: 700; color: var(--ink); }
.matrix td span { display: block; font-size: 14px; color: var(--muted); }
.matrix .mx-in { background: var(--in-soft); }
.matrix .mx-out { background: var(--out-soft); }
.cases { list-style: none; margin: 24px 0 16px; padding: 0; }
.cases li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.cases li:first-child { border-top: 1px solid var(--rule); }
.cases b { color: var(--ink); }
.doc .stages { margin: 18px 0 0; max-width: 56rem; }
.doc .stages-note { margin-bottom: 8px; }
.doc .tl { margin-top: 16px; max-width: 56rem; }
.faq h3 { margin-top: 24px; }
.names { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 22px; margin: 14px 0 18px; }
.names dt { font-weight: 700; color: var(--ink); }
.names dd { margin: 0; }
.never { list-style: none; margin: 14px 0 18px; padding: 0; }
.never li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--rule); }
.never li:first-child { border-top: 1px solid var(--rule); }
.never li::before {
  content: ""; position: absolute; left: 4px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background:
    linear-gradient(45deg, transparent 43%, var(--cover-red) 43% 57%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, var(--cover-red) 43% 57%, transparent 57%);
}

/* ---------- 刊尾 ---------- */
.colophon { background: var(--night); color: var(--night-muted); padding: 52px 0 44px; font-size: 15px; }
.colophon-in { display: grid; gap: 24px; }
.foot-brand { margin: 0; color: var(--night-ink); }
.foot-brand .brand-cjk { font-size: 24px; }
.foot-brand .brand-latin { font-size: 20px; }
.foot-motto { margin: 2px 0 0; letter-spacing: .06em; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-nav a { color: var(--night-ink); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-find { margin: 0; color: var(--night-ink); }
.fine { margin: 0; font-size: 13.5px; line-height: 1.9; }

/* ---------- 手机底部 ---------- */
.dock { display: none; }

@media (max-width: 719px) {
  :root { --dock-h: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .nav-wide { display: none; }
  .topnav { gap: 18px; font-size: 14.5px; }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    height: var(--dock-h); padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(11, 23, 48, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(163, 178, 201, .16);
  }
  .dock a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: #c9d4e6; font-size: 11.5px; line-height: 1.2; text-decoration: none;
  }
  .dock a[aria-current="page"] { color: #fff; font-weight: 700; }
  .dock svg { width: 23px; height: 23px; }
}

@media (max-width: 379px) {
  .brand-latin { display: none; }
  .chip { padding: 8px 10px; gap: 8px; font-size: 14px; }
  .chip b { font-size: 16px; }
}

@media (min-width: 720px) {
  .wrap, .topbar-row, .hero-in { padding-left: 28px; padding-right: 28px; }
  .rail { --pad: max(28px, calc((100% - var(--wrap)) / 2 + 28px)); }
  .band { padding: 104px 0; }
  .rail-ctrl { display: flex; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .stage { padding: 30px 26px 0 0; }
  .stage::before, .stage + .stage::before {
    left: 0; right: 8px; top: 0; bottom: auto; width: auto; height: 12px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
  }
  .stage:first-child::before { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
  .stages-note { margin-top: 26px; }
  .tl { padding: 26px 28px 22px; }
  .proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
  .pipeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .pipeline li { padding: 74px 0 0 0; }
  .pipeline li::before { left: 62px; right: -22px; top: 25px; bottom: auto; width: auto; height: 2px; }
  .pipeline li:last-child::before { display: none; }
  .pipeline h3 { line-height: 1.5; margin-bottom: 6px; }
  .stations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .station { padding: 24px 24px; }
  .colophon-in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
  .fine { grid-column: 1 / -1; }
  .route b { font-size: 18px; }
  .route span { font-size: 14px; }
}

@media (min-width: 1000px) {
  .hero { padding-bottom: 56px; }
  .hero-in {
    min-height: calc(100svh - var(--topbar-h) - 56px);
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); column-gap: 56px;
    grid-template-rows: 1fr auto auto auto auto 1fr;
    grid-template-areas: ". scope" "q scope" "lead scope" "panel scope" "actions scope" ". scope";
    align-items: start;
  }
  .hero-q { font-size: clamp(64px, 6.6vw, 104px); margin-bottom: 0; }
  .hero-lead { margin-top: 20px; font-size: 18px; }
  .radar-scope { align-self: center; max-width: min(100%, calc(100svh - 150px), 640px); }
  .radar-panel { margin-top: 26px; }
  .station .qr:not(:empty) { display: block; width: 116px; height: 116px; margin: 0 0 14px; padding: 8px; border-radius: 8px; background: #fff; }
  .station .qr svg { width: 100%; height: 100%; }
}

@media (min-width: 1200px) {
  .stations { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .matrix { font-size: 15px; }
  .matrix th, .matrix td { padding: 12px 10px; }
  .matrix thead th { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==================== v2：新闻 + 量价、查一只、今天全场、个股页 ==================== */
:root {
  --n-up: #3fca80; --n-down: #ff6f62;
  --ph: 230px;   /* 价格区高度 */
}
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }
.b-out { --b: var(--out); --b-ink: var(--out-ink); }
.b-even { --b: var(--even); --b-ink: var(--even-ink); }
.b-in { --b: var(--in); --b-ink: var(--in-ink); }
.story, .band-night { --up: var(--n-up); --down: var(--n-down); --muted: var(--night-muted); }
.story .b-out, .band-night .b-out { --b: var(--r-diverge); --b-ink: var(--r-diverge); }
.story .b-even, .band-night .b-even { --b: #8c98ad; --b-ink: #b4bfd0; }
.story .b-in, .band-night .b-in { --b: var(--r-confirm); --b-ink: #8fb4ff; }

/* ---------- 首屏：这期讲的那件事 ---------- */
.story {
  background:
    radial-gradient(120% 70% at 85% -10%, rgba(79, 143, 255, .18), transparent 60%),
    radial-gradient(90% 60% at -10% 10%, rgba(255, 154, 82, .10), transparent 55%),
    var(--night);
  padding-bottom: 48px;
}
.st-kicker { margin: 6px 0 10px; font-size: 14px; color: var(--night-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.st-kicker > span { white-space: nowrap; }
.st-tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 13px;
  color: var(--night); background: var(--r-brew);
}
.st-h {
  margin: 0; font-family: var(--display); font-weight: 900; color: var(--night-ink);
  font-size: clamp(27px, 7.3vw, 78px); line-height: 1.12; letter-spacing: -.01em; max-width: 15em; text-wrap: balance;
}
.st-sub { margin: 10px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 4.6vw, 30px); line-height: 1.35; color: #c9d5e8; }

.st-board {
  margin-top: 26px; padding: 12px 12px 14px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 34, 68, .92), rgba(11, 23, 48, .92));
  border: 1px solid var(--night-line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.st-tabs { display: flex; gap: 8px; margin: 0 0 10px; overflow-x: auto; scrollbar-width: none; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tab {
  flex: none; display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--night-muted); background: transparent; cursor: pointer;
  border: 1px solid var(--night-line);
}
.st-tab b { font-size: 17px; color: var(--night-ink); letter-spacing: .02em; }
.st-tab em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.st-tab[aria-selected="true"] { background: rgba(238, 243, 251, .1); border-color: rgba(238, 243, 251, .55); color: var(--night-ink); }
.st-tab:hover { border-color: rgba(238, 243, 251, .4); }
.st-more { margin: 12px 2px 0; font-size: 14.5px; }
.st-more a { color: var(--night-ink); }

.st-foot { margin-top: 30px; display: grid; gap: 22px; }
.st-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.st-points li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; }
.st-points b {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; color: var(--night); background: var(--night-ink);
}
.st-points p { margin: 0; color: var(--night-ink); font-size: 17px; line-height: 1.7; }
.st-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.st-next { margin: 0; font-size: 14.5px; color: var(--night-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.st-next span { font-weight: 700; color: var(--r-brew); }
.st-next time { color: var(--night-ink); font-weight: 700; }
.st-next a { color: var(--night-muted); }

/* ---------- 日线图 ---------- */
.kc {
  margin: 0; position: relative;
  --k-up: var(--up); --k-down: var(--down); --k-grid: var(--rule); --k-text: var(--muted); --k-ink: var(--ink);
  --k-pin: var(--ink); --k-pin-fg: var(--paper); --k-col: rgba(47, 111, 219, .09); --k-bg: var(--paper);
  --pz: calc(8px + var(--rows, 0) * 24px);
}
.story .kc {
  --k-grid: rgba(163, 178, 201, .13); --k-text: #8d9bb3; --k-ink: var(--night-ink);
  --k-pin: var(--night-ink); --k-pin-fg: var(--night); --k-col: rgba(132, 214, 242, .11); --k-bg: #0f2041;
}
.kc-read {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; min-height: 26px; margin: 0 2px 6px;
  font-size: 14px; line-height: 1.6; color: var(--k-text); font-variant-numeric: tabular-nums;
}
.kc-read b { color: var(--k-ink); }
.kc-read .up, .kc-read .down { font-weight: 700; }
.kc-r-d { min-width: 5.6em; }
.kc-r-f b { color: var(--b-ink); }
.kc-r-f::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--b); vertical-align: 1px; }
.kc-plot {
  position: relative; touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: crosshair;
  border-radius: 8px; outline-offset: 4px;
}
.kc-price { position: relative; height: calc(var(--ph) + var(--pz)); }
.kc-area { position: absolute; left: 0; right: 0; top: var(--pz); bottom: 0; }
.kc svg { width: 100%; height: 100%; overflow: visible; }
.kc-grid path { stroke: var(--k-grid); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.kc-last { stroke: var(--k-text); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; opacity: .7; }
.kc-wu, .kc-wd { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.kc-wu { stroke: var(--k-up); } .kc-wd { stroke: var(--k-down); }
.kc-bu { fill: var(--k-up); } .kc-bd { fill: var(--k-down); }
.kc-y span {
  position: absolute; left: 0; transform: translateY(-100%); padding: 0 6px 1px 0;
  font-size: 11.5px; line-height: 1.3; color: var(--k-text); font-variant-numeric: tabular-nums; pointer-events: none;
  padding-left: 2px; border-radius: 3px; background: color-mix(in srgb, var(--k-bg) 72%, transparent);
}
.kc-hi {
  position: absolute; white-space: nowrap; pointer-events: none;
  font-size: 12px; line-height: 1.2; color: var(--k-ink); font-weight: 700;
  padding: 2px 6px; border-radius: 4px; background: color-mix(in srgb, var(--k-bg) 80%, transparent);
}
.kc-hi-r { transform: translate(7px, -50%); }
.kc-hi-l { transform: translate(calc(-100% - 7px), -50%); }
.kc-stem {
  position: absolute; width: 0; border-left: 1px dashed var(--k-text); opacity: .55; pointer-events: none;
  top: calc(8px + var(--r) * 24px + 20px);
  height: calc(var(--pz) + (100% - var(--pz)) * var(--bt) - 8px - var(--r) * 24px - 23px);
}
.kc-pin {
  position: absolute; top: calc(8px + var(--r) * 24px); transform: translateX(-50%);
  width: 21px; height: 21px; padding: 0; border: 0; border-radius: 50%;
  font: 700 11.5px/21px var(--sans); text-align: center; color: var(--k-pin-fg); background: var(--k-pin);
  cursor: pointer; z-index: 2; transition: transform .18s, box-shadow .18s, background-color .18s;
}
.kc-pin:hover { transform: translateX(-50%) scale(1.12); }
.kc-pin[aria-pressed="true"] { background: var(--r-brew); color: var(--night); box-shadow: 0 0 0 4px rgba(132, 214, 242, .28); }
.kc-vol { position: relative; height: 46px; margin-top: 6px; }
.kc-vu { fill: var(--k-up); opacity: .5; } .kc-vd { fill: var(--k-down); opacity: .5; }
.kc-tag { position: absolute; left: 0; top: -2px; font-size: 11px; line-height: 1; color: var(--k-text); pointer-events: none; }
.kc-flow { position: relative; height: 26px; margin-top: 6px; padding-top: 14px; }
.kc-flow svg { height: 12px; display: block; border-radius: 2px; }
.kc-f-out { fill: var(--out); } .kc-f-even { fill: var(--even); } .kc-f-in { fill: var(--in); }
.story .kc-f-out { fill: var(--r-diverge); } .story .kc-f-even { fill: #66738c; } .story .kc-f-in { fill: var(--r-confirm); }
.kc-from {
  position: absolute; left: 0; bottom: 0; height: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; line-height: 1; color: var(--k-text); border: 1px dashed var(--k-grid); border-radius: 2px; white-space: nowrap; overflow: hidden;
}
.kc-x { position: relative; height: 20px; margin-top: 2px; }
.kc-x span {
  position: absolute; top: 4px; padding-left: 5px; font-size: 11.5px; line-height: 1.2; color: var(--k-text);
  border-left: 1px solid var(--k-grid); white-space: nowrap;
}
.kc-x span.edge-r { border-left: 0; padding: 0; }
.kc-col { position: absolute; top: 0; bottom: 20px; width: calc(100% / var(--n, 130)); min-width: 3px; transform: translateX(-50%); background: var(--k-col); pointer-events: none; }
.kc-cross { position: absolute; top: 0; bottom: 20px; width: 0; border-left: 1px solid var(--k-ink); opacity: .45; pointer-events: none; }

.js .kc .kc-area svg, .js .kc .kc-vol svg, .js .kc .kc-flow svg { clip-path: inset(0 100% 0 0); }
.js .kc.is-drawn .kc-area svg, .js .kc.is-drawn .kc-vol svg, .js .kc.is-drawn .kc-flow svg {
  clip-path: inset(0 0 0 0); transition: clip-path 1.15s cubic-bezier(.22, .7, .18, 1);
}
.js .kc .kc-hi, .js .kc .kc-pin, .js .kc .kc-stem { opacity: 0; }
.js .kc.is-drawn .kc-hi { opacity: 1; transition: opacity .4s .9s; }
.js .kc.pins-in .kc-pin { opacity: 1; transition: opacity .3s calc(var(--k) * 90ms), transform .18s, box-shadow .18s, background-color .18s; }
.js .kc.pins-in .kc-stem { opacity: .55; transition: opacity .3s; }

/* 新闻卡片：一张一张往右滑，和图上的数字对应 */
.nws {
  list-style: none; margin: 14px 0 0; padding: 0 0 6px; display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 84%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: thin;
}
.nw {
  scroll-snap-align: start; padding: 12px 14px 12px; border-radius: 12px; cursor: pointer;
  background: rgba(238, 243, 251, .04); border: 1px solid var(--night-line);
  transition: border-color .2s, background-color .2s;
}
.nw:hover { border-color: rgba(238, 243, 251, .32); }
.nw.is-on { border-color: var(--r-brew); background: rgba(132, 214, 242, .08); }
.nw-hit {
  display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13.5px; color: var(--night-muted);
}
.nw-k {
  width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: 11.5px; font-weight: 700; color: var(--night); background: var(--night-ink);
}
.nw.is-on .nw-k { background: var(--r-brew); }
.nw-title { margin: 7px 0 6px; font-size: 15.5px; line-height: 1.6; font-weight: 700; color: var(--night-ink); }
.nw-react { margin: 0 0 6px; font-size: 13.5px; line-height: 1.65; color: var(--night-muted); }
.nw-react .fl { color: var(--b-ink); }
.nw-src { margin: 0; font-size: 13px; line-height: 1.5; }
.nw-src a { color: var(--night-muted); text-decoration-color: rgba(163, 178, 201, .5); }
.nw-src a::after { content: " \2197"; }

/* ---------- 查一只 ---------- */
.finder { position: relative; max-width: 660px; margin: 0 0 26px; }
.finder-box {
  display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border-radius: 14px;
  background: var(--paper); border: 2px solid var(--ink); transition: box-shadow .15s;
}
.finder-box:focus-within { box-shadow: 0 0 0 4px var(--in-soft); }
.finder-ico { width: 22px; height: 22px; flex: none; color: var(--muted); }
.finder input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ink);
  font: inherit; font-size: 18px; padding: 10px 2px; -webkit-appearance: none; appearance: none;
}
.finder input::placeholder { color: var(--muted); opacity: .8; }
.finder input::-webkit-search-cancel-button { -webkit-appearance: none; }
.finder-go {
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 700; color: var(--paper); background: var(--ink);
}
.finder-list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 29, 54, .16); max-height: 380px; overflow: auto;
}
.finder-list li { display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 9px; cursor: pointer; }
.finder-list li[aria-selected="true"], .finder-list li:hover { background: var(--paper-2); }
.finder-list b { color: var(--ink); min-width: 3.6em; }
.finder-list span { color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.finder-list i { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }
.ft { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.ft-free { color: var(--in-ink); background: var(--in-soft); }
.ft-lock { color: var(--muted); background: var(--paper-2); border: 1px solid var(--rule); }
.finder-msg { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--rule); }
.finder-msg p { margin: 0 0 6px; }
.finder-msg p:last-child { margin: 0; }
.finder-msg b { color: var(--ink); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile {
  display: grid; gap: 4px; height: 100%; padding: 12px 13px 12px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: var(--paper); border: 1px solid var(--rule); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.band-alt .tile { background: var(--paper); }
.tile:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 29, 54, .08); }
.tile-top { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.tile-top b { font-size: 16px; color: var(--ink); letter-spacing: .02em; }
.tile-top span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-tag {
  margin-left: auto; flex: none; font-style: normal; font-size: 11px; font-weight: 700; line-height: 1.6;
  padding: 0 6px; border-radius: 4px; color: var(--paper); background: var(--ink);
}
.tile-mid { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tile-px { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile-chg { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.spark { width: 100%; height: 38px; margin: 2px 0; }
.spark polyline { fill: none; stroke-width: 1.7; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke: currentColor; }
.tile-flow { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.tile-flow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--b, var(--rule)); flex: none; }
.tile-flow b { color: var(--b-ink); }
.tile-flow.none::before { background: transparent; border: 1px solid var(--rule); }

/* ---------- 今天全场 ---------- */
.mk { display: grid; gap: 22px; align-items: center; }
.mk-scope { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 78vh; }
.mk-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-labels { position: absolute; inset: 0; pointer-events: none; }
.mk-l { position: absolute; white-space: nowrap; font-size: 12px; line-height: 1.2; color: var(--night-muted); transition: opacity .35s; }
.mk-l[data-for="scatter"] { opacity: 0; }
.mk-scope.is-scatter .mk-l[data-for="scatter"] { opacity: 1; }
.mk-scope.is-scatter .mk-l[data-for="rings"] { opacity: 0; }
.mk-ring { transform: translate(-50%, -50%); padding: 2px 8px; border-radius: 999px; font-weight: 700; color: var(--b-ink); background: rgba(8, 17, 42, .72); }
.mk-ax-x { transform: translateX(-50%); }
.mk-ax-x.is-first { transform: none; }
.mk-ax-x.is-last { transform: translateX(-100%); }
.mk-ax-y { transform: translate(-100%, -50%); }
.mk-q { white-space: nowrap; font-size: 12.5px; color: var(--night-ink); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.mk-q b { display: block; font-size: 18px; font-family: var(--display); font-weight: 900; }
.mk-q-rt { transform: translateX(-100%); text-align: right; }
.mk-q-rb { transform: translate(-100%, -100%); text-align: right; }
.mk-q-lb { transform: translateY(-100%); }
.mk-mark { font-size: 12px; line-height: 15px; font-weight: 700; color: var(--night-ink); text-shadow: 0 1px 3px rgba(0, 0, 0, .8), 0 0 6px rgba(8, 17, 42, .9); }
.mk-side { display: grid; gap: 16px; align-content: start; }
.mk-modes { display: inline-flex; padding: 4px; border-radius: 12px; border: 1px solid var(--night-line); background: rgba(238, 243, 251, .04); justify-self: start; }
.mk-mode {
  min-height: 42px; padding: 8px 16px; border: 0; border-radius: 9px; cursor: pointer; background: transparent;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--night-muted);
}
.mk-mode[aria-pressed="true"] { background: var(--night-ink); color: var(--night); }
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chip {
  display: inline-flex; align-items: baseline; gap: 8px; min-height: 42px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 15px; color: var(--night-ink); background: rgba(238, 243, 251, .04); border: 1px solid var(--night-line);
}
.mk-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--b); align-self: center; }
.mk-chip b { font-variant-numeric: tabular-nums; }
.mk-chip em { font-style: normal; color: var(--night-muted); font-size: 13px; }
.mk-chip[aria-pressed="true"] { border-color: var(--b); background: color-mix(in srgb, var(--b) 18%, transparent); }
.mk-quads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mq { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--night-line); }
.mq b { display: block; font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--night-ink); font-variant-numeric: tabular-nums; }
.mq span { display: block; font-size: 14.5px; font-weight: 700; color: var(--night-ink); }
.mq em { display: block; font-style: normal; font-size: 12.5px; color: var(--night-muted); }
.mq-up_in, .mq-down_in { box-shadow: inset 3px 0 0 var(--r-confirm); }
.mq-up_out, .mq-down_out { box-shadow: inset 3px 0 0 var(--r-diverge); }
.mk-read { margin: 0; color: var(--night-muted); font-size: 15.5px; }
.mk-read b { color: var(--night-ink); }

.movers { margin-top: 40px; display: grid; gap: 26px; }
.mv-col h3 { margin: 0 0 6px; font-size: 17px; color: var(--night-ink); }
.mv-col ol { list-style: none; margin: 0; padding: 0; }
.mv-col li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 10px 0;
  border-bottom: 1px solid var(--night-line); font-variant-numeric: tabular-nums;
}
.mv-t { min-width: 4.4em; color: var(--night-ink); letter-spacing: .02em; }
.mv-chg { min-width: 4.6em; font-weight: 700; }
.mv-vol { color: var(--night-muted); font-size: 14.5px; min-width: 5em; }
.mv-8k {
  margin-left: auto; font-size: 12.5px; font-weight: 700; padding: 1px 9px; border-radius: 999px;
  color: var(--night-ink); border: 1px solid rgba(238, 243, 251, .3); text-decoration: none;
}
a.mv-8k::after { content: " \2197"; font-weight: 400; }
a.mv-8k:hover { border-color: var(--night-ink); }
.mv-note { margin: 16px 0 0; font-size: 13px; line-height: 1.8; color: var(--night-muted); max-width: 52rem; }

/* ---------- 个股页 ---------- */
.stock-head { background: var(--paper-2); padding: 22px 0 22px; border-bottom: 1px solid var(--rule); }
.crumb { margin: 0 0 6px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; }
.crumb a { color: var(--muted); }
.stock-head h1 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; line-height: 1.15; }
.stock-head h1 b { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 10vw, 58px); color: var(--ink); letter-spacing: .01em; }
.stock-head h1 span { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 6vw, 34px); color: var(--ink); }
.stock-head h1 em { font-style: normal; font-size: 17px; font-weight: 500; color: var(--muted); }
.stock-px { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-variant-numeric: tabular-nums; }
.stock-px > b { font-size: 30px; color: var(--ink); }
.stock-px > span:not(.stock-when) { font-size: 18px; font-weight: 700; }
.stock-when { font-size: 14px; color: var(--muted); }
.stock-tag { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; color: var(--paper); background: var(--ink); text-decoration: none; }
.stock-body { padding-top: 22px; padding-bottom: 72px; }
.stock-body > .kc { padding: 12px 12px 8px; border: 1px solid var(--rule); border-radius: 16px; background: var(--paper); }
.cards { display: grid; gap: 12px; margin: 18px 0 0; }
.card { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--rule); background: var(--paper); }
.card h2 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.card-big { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.card-big b { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-big span { font-size: 17px; font-weight: 700; color: var(--ink); }
.c-flow.b-out, .c-flow.b-even, .c-flow.b-in { box-shadow: inset 0 4px 0 var(--b); }
.c-flow .card-big span { color: var(--b-ink, var(--ink)); }
.card-note { margin: 8px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.card-more { margin: 8px 0 0; font-size: 14.5px; font-weight: 700; }
.c-lock { background: var(--paper-2); border-style: dashed; }
.c-lock ul { margin: 4px 0 0; padding-left: 1.2em; color: var(--ink); font-size: 15.5px; line-height: 1.8; }
.card-soon { font-size: 12px; padding: 0 8px; border-radius: 999px; color: var(--muted); border: 1px solid var(--rule); background: var(--paper); }
.s-news h2, .s-eps h2, .s-find h2 { margin: 44px 0 14px; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1.3; color: var(--ink); }
.s-news .nws { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; gap: 10px; }
.s-news .nw { background: var(--paper); border-color: var(--rule); }
.s-news .nw.is-on { border-color: var(--in); background: var(--in-soft); }
.s-news .nw-hit { color: var(--muted); }
.s-news .nw-k { color: var(--paper); background: var(--ink); }
.s-news .nw.is-on .nw-k { background: var(--in); }
.s-news .nw-title { color: var(--ink); }
.s-news .nw-react { color: var(--muted); }
.s-news .nw-src a { color: var(--muted); }
.s-news .b-out .fl, .s-news .fl.b-out { color: var(--out-ink); }
.s-eps ol { list-style: none; margin: 0; padding: 0; }
.s-eps a { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.s-eps li:first-child a { border-top: 1px solid var(--rule); }
.s-eps time { flex: none; color: var(--muted); font-size: 14.5px; min-width: 5.8em; }
.s-eps a:hover span { text-decoration: underline; }
.s-find .finder { margin-bottom: 0; }
.s-data { margin: 40px 0 0; font-size: 13.5px; line-height: 1.8; color: var(--muted); max-width: 46rem; }
.doc .finder { margin-top: 4px; }
.tiers { margin-top: 36px; }

/* ---------- 尺寸 ---------- */
@media (min-width: 720px) {
  :root { --ph: 280px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-board { padding: 16px 18px 18px; }
  .nws { grid-auto-columns: minmax(280px, 44%); }
  .movers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-news .nws { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-scope { aspect-ratio: 5 / 4; }
}
@media (min-width: 1000px) {
  :root { --ph: 330px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nws { grid-auto-columns: minmax(300px, 31.5%); }
  .st-foot { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; column-gap: 40px; }
  .st-actions { align-self: start; }
  .st-next { grid-column: 1 / -1; }
  .mk { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 36px; }
  .s-news .nws { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .kc-vol { height: 36px; }
  .kc-read { font-size: 13px; gap: 0 10px; }
  .st-board { margin-left: -6px; margin-right: -6px; padding: 10px 8px 12px; border-radius: 14px; }
  .kc-pin { width: 20px; height: 20px; line-height: 20px; }
  .st-tab { padding: 7px 10px; gap: 6px; font-size: 13px; }
  .st-tab b { font-size: 15.5px; }
  .st-tab em { font-size: 13px; }
  .mk-q b { font-size: 15px; }
  .mk-q { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .kc .kc-area svg, .js .kc .kc-vol svg, .js .kc .kc-flow svg { clip-path: none; transition: none; }
  .js .kc .kc-hi, .js .kc .kc-pin, .js .kc .kc-stem { opacity: 1; transition: none; }
  .tile, .tile:hover { transition: none; transform: none; }
}
