/* 财AI · 财富实验室 — design system. Dark aurora + glass. 红涨绿跌 (Chinese convention). */
:root {
  --bg: #07080f;
  --bg2: #0c0e1a;
  --panel: rgba(255, 255, 255, .035);
  --panel2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #e9ecf5;
  --soft: #aab1c5;
  --mute: #6f7790;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --mint: #34f5c5;
  --amber: #f5b73b;
  --up: #ff4d6a;
  --down: #18c88f;
  --grad: linear-gradient(100deg, #a78bfa 0%, #22d3ee 50%, #34f5c5 100%);
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --num: "DIN Alternate", "Bahnschrift", "SF Pro Display", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB",
          "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 15.5px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
.prose a, .faq a, .lead a, .note a, .muted a { color: var(--cyan); }
.prose a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
b, strong { font-weight: 650; }
small { font-size: .8em; }
.muted { color: var(--mute); }
.small { font-size: .85rem; }
.r { text-align: right; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: #fff; color: #000; padding: 6px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }

/* ---------- background aurora ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg .grid {
  position: absolute; inset: -2px; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.o1 { width: 620px; height: 620px; left: -160px; top: -220px; background: radial-gradient(circle, #5b3df5 0%, transparent 65%); animation: drift 22s ease-in-out infinite alternate; }
.o2 { width: 560px; height: 560px; right: -180px; top: -120px; background: radial-gradient(circle, #0ea5c6 0%, transparent 65%); animation: drift 26s ease-in-out infinite alternate-reverse; }
.o3 { width: 520px; height: 520px; left: 35%; top: 520px; background: radial-gradient(circle, #0f8f74 0%, transparent 65%); opacity: .28; animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(60px,40px,0) scale(1.12); } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
       background: rgba(7, 8, 15, .72); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 32px; height: 32px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: 18px; letter-spacing: .02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.logo-text small { font-size: 11px; color: var(--soft); letter-spacing: .25em; }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { padding: 7px 12px; border-radius: 10px; color: var(--soft); font-size: 14.5px; transition: .2s; }
.nav a:hover { color: #fff; background: var(--panel2); }
.nav a[aria-current] { color: #fff; background: rgba(124, 92, 255, .16); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .35); }
.pill { margin-left: auto; padding: 6px 14px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line2); color: var(--soft); white-space: nowrap; transition: .2s; }
.pill:hover { border-color: #ff2e4d; color: #fff; box-shadow: 0 0 24px -6px #ff2e4d; }
.pill-xhs::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff2442; margin-right: 7px; box-shadow: 0 0 8px #ff2442; }
.burger { display: none; margin-left: 4px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 23px; }
.burger[aria-expanded="true"] i:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 19px; transform: rotate(-45deg); }

/* ticker marquee */
.ticker { overflow: hidden; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft);
          -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
                  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a, .ticker-track .dup a { display: inline-flex; gap: 8px; align-items: center; padding: 7px 22px; white-space: nowrap; border-right: 1px solid var(--line); }
.ticker-track .dup { display: flex; }
.ticker-track b { color: var(--text); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--mute); padding-top: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-style: normal; opacity: .5; }

/* ---------- numbers ---------- */
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--soft); }
.delta, .count, .big-n, .count-int { font-family: var(--num); font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -.01em; }
.delta.big { font-size: 26px; }
.count.xl { font-size: 40px; line-height: 1; }
.count.xxl { font-size: clamp(48px, 7vw, 72px); line-height: 1; }
.count.up.xl, .count.up.xxl { text-shadow: 0 0 32px rgba(255, 77, 106, .35); }
.count.down.xl, .count.down.xxl { text-shadow: 0 0 32px rgba(24, 200, 143, .35); }
.big-n { font-size: 26px; }
.big-n small { font-size: 14px; margin-left: 3px; color: var(--soft); font-weight: 500; }

/* ---------- badges / buttons ---------- */
.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line2); color: var(--soft); background: var(--panel); white-space: nowrap; }
.k-ai { color: #7ff0ff; border-color: rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .08); }
.k-q { color: #c8b8ff; border-color: rgba(124, 92, 255, .45); background: rgba(124, 92, 255, .1); }
.k-b { color: var(--soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 14px; font-weight: 650; font-size: 15px; transition: .25s; border: 1px solid transparent; cursor: pointer; }
.btn.primary { color: #07080f; background: var(--grad); box-shadow: 0 10px 40px -10px rgba(34, 211, 238, .55); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(34, 211, 238, .75); color: #000; }
.btn.ghost { border-color: var(--line2); color: var(--text); background: var(--panel); }
.btn.ghost:hover { border-color: rgba(34, 211, 238, .55); background: rgba(34, 211, 238, .07); }

/* ---------- cards ---------- */
.card { position: relative; display: block; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
        border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: border-color .3s, transform .3s, box-shadow .3s; }
a.card:hover { border-color: var(--line2); transform: translateY(-3px); box-shadow: var(--shadow); }
.glass { background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--line2);
         border-radius: 24px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08); }
.glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); opacity: 0; transition: .35s;
                -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.glow:hover::before { opacity: .9; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); font-weight: 650; margin-bottom: 14px; }
.glow-text { text-shadow: 0 0 18px rgba(34, 211, 238, .5); }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 850; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 22px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 8s ease-in-out infinite alternate; }
@keyframes shine { to { background-position: 100% 0; } }
.lead { font-size: 17.5px; color: var(--soft); max-width: 680px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 34px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.stats div { padding: 14px 16px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats dt { font-size: 12px; color: var(--mute); }
.stats dd { margin: 2px 0 0; font-size: 26px; line-height: 1.2; }
.stats dd small { font-size: 13px; color: var(--soft); margin-left: 3px; }
.hero-card { padding: 28px; position: relative; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; background: radial-gradient(circle, rgba(34,211,238,.35), transparent 70%); filter: blur(20px); }
.hc-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--soft); margin-right: auto; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(52, 245, 197, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,245,197,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(52,245,197,0); } }
.hc-title { font-size: 18px; font-weight: 650; margin-bottom: 10px; }
.hc-num { margin-bottom: 14px; }
.hc-spark { width: 100%; height: 80px; margin: 10px 0 14px; display: block; }
.hc-link { color: var(--cyan); font-weight: 600; font-size: 14.5px; }
.hc-link:hover { color: var(--mint); }

/* ---------- sections ---------- */
.sec { padding: 46px 0; }
.sec-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head .eyebrow { width: 100%; margin-bottom: -6px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0; }
.more { margin-left: auto; color: var(--soft); font-size: 14px; white-space: nowrap; }
.more:hover { color: var(--cyan); }
.page-head { padding: 40px 0 22px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 850; letter-spacing: -.02em; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.reveal.pre { opacity: 0; transform: translateY(26px); }
.reveal { transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }

/* ---------- experiment cards ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.exp-card { padding: 24px 24px 20px; overflow: hidden; }
.ec-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.ec-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 16px; color: #fff;
           background: linear-gradient(135deg, rgba(124,92,255,.45), rgba(34,211,238,.35)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.ec-icon.lg { width: 44px; height: 44px; font-size: 21px; border-radius: 13px; }
.exp-card h3 { font-size: 21px; font-weight: 750; margin-bottom: 4px; }
.ec-tag { color: var(--soft); font-size: 14.5px; min-height: 2.9em; }
.ec-num { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.ec-sub { color: var(--mute); font-size: 13px; }
.ec-spark { width: 100%; height: 64px; margin: 10px 0 8px; display: block; }
.ec-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 12px; }
.ec-stats div { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.ec-stats dt { font-size: 11.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-stats dd { margin: 0; font-family: var(--num); font-weight: 700; font-size: 15px; }
.ec-go { color: var(--cyan); font-size: 14px; font-weight: 600; }

/* ---------- charts ---------- */
.chart-card { margin: 0 0 18px; padding: 18px 18px 12px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); }
.chart-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.chart-head figcaption { font-weight: 650; color: var(--text); font-size: 15px; }
.ranges { margin-left: auto; display: flex; gap: 4px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.ranges button, .filters button { white-space: nowrap; font: inherit; font-size: 12.5px; color: var(--soft); background: transparent; border: 0; padding: 4px 10px; border-radius: 7px; cursor: pointer; }
.ranges button.on, .filters button.on { background: rgba(124, 92, 255, .25); color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { font: inherit; font-size: 12.5px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; transition: .2s; }
.chip b { font-family: var(--num); font-variant-numeric: tabular-nums; font-weight: 700; min-width: 0; }
.chip.bench { color: var(--soft); }
.chip.off { opacity: .38; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #888; }
.chart { position: relative; width: 100%; }
.chart-lg { height: 420px; } .chart-md { height: 340px; } .chart-sm { height: 190px; }
.chart noscript { display: grid; place-items: center; height: 100%; color: var(--mute); }
.chart-note { color: var(--mute); font-size: 12.5px; margin: 8px 0 0; }

/* ---------- heat matrix ---------- */
.heat { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--panel); overflow-x: auto; }
.hm-grid { display: grid; grid-template-columns: 88px 1fr; gap: 6px 12px; align-items: center; min-width: 560px; }
.hm-label { font-size: 13px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.hm-label:hover { color: #fff; }
.hm-month { color: var(--mute); font-size: 12px; }
.hm-row { display: flex; gap: 4px; }
.hm-day { flex: 1 1 0; text-align: center; font-size: 10.5px; color: var(--mute); font-family: var(--num); }
.hm-day.wk { opacity: .55; }
.hm-cell { flex: 1 1 0; aspect-ratio: 1; max-height: 30px; border-radius: 5px; background: rgba(255,255,255,.04); transition: transform .15s; }
.hm-cell:hover { transform: scale(1.25); outline: 1px solid rgba(255,255,255,.6); z-index: 2; }
.h-na { background: rgba(255,255,255,.035); }
.h-0 { background: rgba(170, 177, 197, .22); }
.h-u1 { background: rgba(255, 77, 106, .28); } .h-u2 { background: rgba(255, 77, 106, .5); } .h-u3 { background: rgba(255, 77, 106, .75); } .h-u4 { background: #ff4d6a; box-shadow: 0 0 12px rgba(255,77,106,.6); }
.h-d1 { background: rgba(24, 200, 143, .28); } .h-d2 { background: rgba(24, 200, 143, .5); } .h-d3 { background: rgba(24, 200, 143, .75); } .h-d4 { background: #18c88f; box-shadow: 0 0 12px rgba(24,200,143,.6); }
.hm-scale { display: flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 12px; color: var(--mute); flex-wrap: wrap; }
.hm-scale i { width: 14px; height: 14px; border-radius: 3px; }
.hm-scale em { font-style: normal; margin-left: auto; }

/* month calendar */
.cals { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.cal { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--panel); }
.cal h4 { font-size: 14px; color: var(--soft); margin-bottom: 10px; }
.cal-wd, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-wd span { font-size: 11px; color: var(--mute); text-align: center; }
.cal-cell { aspect-ratio: 1; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--num); line-height: 1.1; }
.cal-cell b { font-size: 12px; font-weight: 600; opacity: .85; }
.cal-cell small { font-size: 10px; font-weight: 700; color: #fff; }
a.cal-cell:hover { outline: 1px solid rgba(255,255,255,.6); }
.cal-cell.h-na b { opacity: .35; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { font-weight: 600; color: var(--mute); font-size: 12.5px; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(255,255,255,.025); }
.tbl td.r, .tbl th.r { text-align: right; font-family: var(--num); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr.bench td { color: var(--soft); }
.tbl td small { display: block; color: var(--mute); font-size: 12px; margin-top: 2px; }
.tbl tr.why td { padding-top: 0; color: var(--soft); font-size: 13.5px; }
.tbl tr.cash td { color: var(--soft); }
.dot-s { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #888; margin-right: 8px; vertical-align: 1px; }
.lb .rank { font-family: var(--num); color: var(--mute); width: 34px; }
.lb td a { display: block; font-size: 12px; }
.lb-cell { width: 34%; min-width: 120px; }
.lb-bar { width: 100%; height: 14px; display: block; }

/* ---------- trades ---------- */
.trades { display: grid; gap: 10px; }
.trade { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; background: var(--panel); transition: border-color .2s; }
.trade:hover { border-color: var(--line2); }
.trade:target { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.t-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.t-side { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.t-side.buy { color: var(--up); background: rgba(255, 77, 106, .12); }
.t-side.sell { color: var(--down); background: rgba(24, 200, 143, .12); }
.t-side.short { color: #ffb84d; background: rgba(255, 184, 77, .12); }
.t-sym { font-family: var(--num); font-size: 16px; letter-spacing: .02em; }
.t-name { color: var(--soft); font-size: 13px; }
.lev { font-size: 11px; font-weight: 700; color: #ffb84d; border: 1px solid rgba(255,184,77,.4); border-radius: 5px; padding: 0 5px; }
.t-meta { margin-left: auto; display: flex; gap: 8px; align-items: center; font-size: 12.5px; }
.t-exp { color: var(--cyan); }
.t-acct { color: var(--mute); }
.t-nums { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--mute); margin-top: 6px; font-family: var(--num); }
.t-hash { font-family: var(--mono); color: #7f8bb3; cursor: help; }
.t-reason { margin: 8px 0 0; color: var(--soft); font-size: 14px; line-height: 1.65; }
.ai-mark { font-style: normal; font-size: 10.5px; font-weight: 800; color: #07080f; background: var(--grad); border-radius: 4px; padding: 1px 5px; margin-right: 7px; vertical-align: 1px; }
.t-day h3 { display: flex; align-items: baseline; gap: 10px; font-size: 15px; margin: 18px 0 8px; color: var(--soft); }
.t-day h3 small { color: var(--mute); font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); position: sticky; top: 104px; z-index: 5; backdrop-filter: blur(12px); }
.filters button { font-size: 13.5px; padding: 6px 12px; }
.t-search { margin-left: auto; font: inherit; font-size: 13.5px; color: var(--text); background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 9px; padding: 6px 12px; width: 180px; }

/* ---------- AI wall ---------- */
.ai-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-card { display: flex; flex-direction: column; }
.ai-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ai-top .t-side { margin-left: auto; }
.ai-badge { font-size: 11px; font-weight: 800; color: #07080f; background: var(--grad); border-radius: 6px; padding: 2px 7px; }
.ai-card blockquote { margin: 0 0 14px; color: var(--text); font-size: 14.5px; line-height: 1.75; flex: 1; }
.ai-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--mute); }
.ai-foot a { color: var(--cyan); white-space: nowrap; }

/* ---------- day cards, posts, principles ---------- */
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.day-card { display: flex; gap: 14px; align-items: center; padding: 14px 16px; }
.dc-date { flex: none; width: 58px; height: 62px; border-radius: 12px; background: linear-gradient(160deg, rgba(124,92,255,.3), rgba(34,211,238,.18)); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11.5px; color: var(--soft); line-height: 1.1; }
.dc-date b { font-family: var(--num); font-size: 24px; color: #fff; }
.dc-date small { font-size: 10.5px; }
.dc-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dc-body b { font-size: 14.5px; font-weight: 650; }
.dc-body small { color: var(--mute); font-size: 12px; }
.month { font-size: 18px; margin: 30px 0 12px; color: var(--soft); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card h3 { font-size: 18px; font-weight: 700; margin: 10px 0 8px; }
.post-card p { color: var(--soft); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pc-top time { margin-left: auto; color: var(--mute); font-size: 12.5px; }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pr h3 { font-size: 18px; margin: 6px 0; }
.pr p { color: var(--soft); font-size: 14.5px; margin: 0; }
.pr-n { font-family: var(--num); font-weight: 800; font-size: 13px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .1em; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); }
.faq-item summary { cursor: pointer; padding: 16px 18px; font-weight: 650; list-style: none; display: flex; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--cyan); transition: .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item div { padding: 0 18px 16px; color: var(--soft); }

/* CTA */
.cta { display: flex; align-items: center; gap: 30px; padding: 34px; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 0% 0%, rgba(255, 36, 66, .18), transparent 70%), radial-gradient(500px 200px at 100% 100%, rgba(34, 211, 238, .16), transparent 70%); pointer-events: none; }
.cta h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.cta p { color: var(--soft); margin: 0; }
.cta-actions { display: flex; gap: 10px; margin-left: auto; flex: none; }

/* ---------- experiment page ---------- */
.exp-head h1 { margin-top: 6px; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
.tile { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; background: var(--panel); display: flex; flex-direction: column; gap: 4px; }
.tile > span:first-child { font-size: 12.5px; color: var(--mute); }
.tile .count.xl { font-size: 30px; }
.rules { counter-reset: r; list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.rules li { counter-increment: r; position: relative; padding: 14px 16px 14px 56px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); color: var(--soft); }
.rules li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 16px; top: 14px; font-family: var(--num); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.note { margin: 14px 0; }
.note h3 { font-size: 16px; }
.note p { color: var(--soft); margin: 0; }
.finds { color: var(--soft); margin-top: 16px; padding-left: 20px; }
.finds li { margin-bottom: 6px; }

/* AI hub */
.vs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 18px; }
.vs-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.vs-main .count { margin-left: auto; }
.vs-list { display: grid; gap: 6px; }
.vs-item { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 14px; }
.vs-item.bench span { color: var(--soft); }
.exp-grid.two { margin-top: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step h3 { font-size: 17px; margin: 6px 0; }
.step p { color: var(--soft); font-size: 14px; margin: 0; }

/* ---------- daily / posts ---------- */
.day-block { margin-bottom: 18px; }
.db-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.db-head h2 { font-size: 20px; margin: 0; }
.day-block h3 { font-size: 15px; color: var(--soft); margin: 18px 0 10px; }
.day-block > p { color: var(--soft); }
.pager { display: flex; justify-content: space-between; gap: 10px; margin: 30px 0 10px; }
.pager a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.pager a:hover { border-color: var(--cyan); }
.post .page-head { padding-bottom: 10px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); margin: 10px 0 26px; font-size: 14px; }
.toc b { width: 100%; font-size: 12.5px; color: var(--mute); letter-spacing: .1em; }
.toc a { color: var(--soft); }
.toc a:hover { color: var(--cyan); }
.exp-mini { display: flex; align-items: center; gap: 14px; margin: 6px 0 16px; padding: 14px 18px; }
.exp-mini div { display: flex; flex-direction: column; }
.exp-mini small { color: var(--soft); }
.exp-mini .btn { margin-left: auto; padding: 8px 14px; font-size: 14px; }
.prose { font-size: 16.5px; line-height: 1.95; color: #d7dbe8; }
.prose h2 { font-size: 25px; font-weight: 800; margin: 44px 0 14px; color: #fff; padding-left: 14px; border-left: 3px solid; border-image: var(--grad) 1; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; color: #fff; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: #fff; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 3px solid var(--cyan); background: rgba(34,211,238,.06); border-radius: 0 12px 12px 0; color: var(--soft); }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.prose th { color: var(--mute); font-weight: 600; font-size: 13px; }
.prose .chart-card { margin: 1.6em 0; }
.prose .table-wrap { margin: 1.2em 0; }
.prose .table-wrap table { display: table; margin: 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 5px; }
.prose .tldr { padding: 18px 20px; border-radius: var(--r-sm); background: linear-gradient(135deg, rgba(124,92,255,.14), rgba(34,211,238,.08)); border: 1px solid rgba(124,92,255,.3); }
.prose .tldr b:first-child { display: block; color: var(--cyan); font-size: 13px; letter-spacing: .15em; margin-bottom: 6px; }
.prose .tldr ul { margin: 0; }
.disclaimer { margin-top: 30px; font-size: 13.5px; color: var(--soft); }
.nf { text-align: center; padding: 100px 0 60px; }
.nf h1 { font-size: clamp(34px, 6vw, 60px); }
.nf .lead { margin: 0 auto; }
.nf .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.foot { margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .05)); padding: 44px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { font-size: 13px; color: var(--mute); letter-spacing: .15em; margin-bottom: 12px; }
.foot-grid > div:not(.foot-brand) a { display: block; color: var(--soft); font-size: 14px; padding: 3px 0; }
.foot-grid > div a:hover { color: #fff; }
.foot-brand p { color: var(--soft); font-size: 14px; margin: 12px 0 6px; max-width: 360px; }
.foot-legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }
.foot-legal p { margin-bottom: 6px; }

/* ---------- share card (3:4 for 小红书) ---------- */
body.share .top, body.share .foot, body.share .crumbs { display: none; }
.share-wrap { padding: 20px 0 40px; display: flex; flex-direction: column; align-items: center; }
.share-card { width: 540px; flex: none; aspect-ratio: 3 / 4; border-radius: 28px; padding: 30px 28px; position: relative; overflow: hidden; display: flex; flex-direction: column;
              background: radial-gradient(420px 300px at 0% 0%, rgba(124,92,255,.55), transparent 70%), radial-gradient(420px 320px at 100% 100%, rgba(34,211,238,.4), transparent 70%), #0b0d18;
              border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.sc-head { display: flex; align-items: center; gap: 10px; }
.sc-head .logo-mark { width: 38px; height: 38px; }
.sc-head div { display: flex; flex-direction: column; line-height: 1.2; }
.sc-head div b { font-size: 16px; } .sc-head div small { color: var(--soft); font-size: 12px; }
.sc-date { margin-left: auto; text-align: right; font-family: var(--num); font-size: 26px; font-weight: 800; line-height: 1; display: flex; flex-direction: column; }
.sc-date small { font-size: 12px; color: var(--soft); font-weight: 500; margin-top: 4px; font-family: var(--sans); }
.share-card h1 { font-size: 27px; font-weight: 850; margin: 22px 0 16px; line-height: 1.3; }
.sc-rows { display: grid; gap: 10px; }
.sc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.sc-row > div:first-child { display: flex; align-items: center; gap: 10px; }
.sc-row > div:first-child small { color: var(--soft); font-size: 11.5px; }
.sc-row .ec-icon { width: 30px; height: 30px; font-size: 14px; }
.sc-n { text-align: right; display: flex; flex-direction: column; }
.sc-n em { font-style: normal; font-family: var(--num); font-weight: 800; font-size: 24px; line-height: 1.1; }
.sc-n small { font-size: 11px; color: var(--soft); }
.share-card blockquote { margin: 14px 0 0; font-size: 13px; color: var(--soft); line-height: 1.6; }
.share-card blockquote .ai-badge { margin-right: 6px; }
.sc-foot { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--soft); border-top: 1px solid rgba(255,255,255,.1); }
.sc-foot b { font-size: 20px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 850; }
.sc-foot small { color: var(--mute); font-size: 11px; }
.share-tip { margin-top: 14px; text-align: center; padding: 0 14px; }
/* the card is laid out at a fixed 540px design width and zoomed to fit, so phone screenshots keep the exact 3:4 layout */
@media (max-width: 580px) { .share-card { zoom: .9; } }
@media (max-width: 520px) { .share-card { zoom: .8; } }
@media (max-width: 470px) { .share-card { zoom: .74; } }
@media (max-width: 420px) { .share-card { zoom: .68; } }
@media (max-width: 380px) { .share-card { zoom: .64; } }
@media (max-width: 350px) { .share-card { zoom: .58; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .ai-wall, .post-grid, .day-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav a { padding: 7px 9px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; margin: 0; padding: 10px 16px 18px; background: rgba(7,8,15,.97); border-bottom: 1px solid var(--line);
         transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 10px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .pill { margin-left: auto; }
  .exp-grid, .vs-grid, .pr-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta-actions { margin-left: 0; }
  .filters { top: 98px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap, .narrow { width: calc(100% - 28px); }
  .hero { padding: 36px 0 20px; }
  .lead { font-size: 16px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(3) { border-right: 0; }
  .stats div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .stats dd { font-size: 22px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .ai-wall, .post-grid, .day-grid, .steps { grid-template-columns: 1fr; }
  .chart-lg { height: 320px; } .chart-md { height: 280px; }
  .count.xl { font-size: 34px; }
  .ec-stats { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 32px 0; }
  .pill-xhs { display: none; }
  .t-meta { margin-left: 0; width: 100%; }
  .t-search { width: 100%; margin-left: 0; }
  .prose { font-size: 16px; }
  .hm-grid { grid-template-columns: 64px 1fr; }
  .exp-mini { flex-wrap: wrap; }
  .exp-mini .btn { margin-left: 0; }
  .cta { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
}
@media print {
  .bg, .top, .foot, .ticker { display: none; }
  body { background: #fff; color: #000; }
}
