/* Homepage v3 (owner t185u) — same design language as the monthly 专题 page (.kbg-agg2). */
body.kbg-home-v3 #mainContent.kbg-home-main{display:block;width:100%;max-width:100%;padding:0;margin:0}
.kbg-home{--ink:#16202c;--mut:#5d6774;--line:#e4e1da;--bg:#f6f4ef;--card:#fff;--brand:#14213d;--acc:#006c93;--gold:#b7791f;
 --ff:-apple-system,BlinkMacSystemFont,"Hiragino Sans","PingFang SC","Hiragino Kaku Gothic ProN","Microsoft YaHei","Noto Sans SC",sans-serif;
 max-width:1000px;margin:0 auto;padding:14px 14px 28px;color:var(--ink);font:15px/1.65 var(--ff);-webkit-text-size-adjust:100%;overflow-wrap:anywhere;container-type:inline-size;container-name:hm}
.kbg-home *,.kbg-home *::before,.kbg-home *::after{box-sizing:border-box}
.kbg-home :is(p,span,a,b,em,small,strong,h2,h3,div,button,select,dt,dd,li,time,label,nav,section,aside){font-family:var(--ff)!important}
.kbg-home .hm-code{font:700 12.5px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;color:#fff;background:var(--brand);border-radius:5px;padding:0 6px;white-space:nowrap;flex-shrink:0}
.kbg-home a{color:inherit;text-decoration:none}
.kbg-home [hidden]{display:none!important}
.kbg-home h2{margin:0;padding:0;border:0;background:none}
.kbg-home h2::before,.kbg-home h2::after{content:none!important;display:none!important}
.kbg-home p{margin:0}
/* hero */
.kbg-home .hm-hero{background:linear-gradient(135deg,#14213d 0%,#1d3557 60%,#0f4c5c 100%);color:#fff;border-radius:14px;padding:22px 18px 18px}
.kbg-home .hm-kicker{font-size:11.5px;letter-spacing:.12em;color:#c9d6ea;font-weight:700}
.kbg-home .hm-title{font-size:24px!important;line-height:1.35!important;font-weight:800;color:#fff!important;margin:8px 0 10px!important}
.kbg-home .hm-sub{font-size:14px;color:#dbe4f1;line-height:1.7}
/* t241u (owner '改'): line 2 at ~70% of line 1, slightly lighter, one line on 375-390px; the kicker and
   line 1 never overflow the hero (they shrink with the container and may wrap as a last resort) */
.kbg-home .hm-kicker{max-width:100%;overflow-wrap:anywhere}
.kbg-home .hm-title-1,.kbg-home .hm-title-2{display:block;max-width:100%;overflow-wrap:anywhere}
.kbg-home .hm-title-2{font-size:.7em;font-weight:700;color:#c9d6ea;margin-top:2px}
@container hm (max-width:440px){
 .kbg-home .hm-kicker{font-size:min(11.5px,3.1cqi);letter-spacing:.05em}
 .kbg-home .hm-title{font-size:min(24px,7.4cqi)!important}
}
.kbg-home .hm-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 0;padding:0}
.kbg-home .hm-kpis div{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:8px 10px}
.kbg-home .hm-kpis dt{font-size:11.5px;color:#b9c7dc;margin:0}
.kbg-home .hm-kpis dd{margin:0;font:800 22px/1.25 var(--ff);color:#fff}
.kbg-home .hm-kpis dd small{font-size:12px;font-weight:600;margin-left:2px;color:#c9d6ea}
.kbg-home .hm-kpis .hm-kpi-date{font-size:17px;line-height:1.6}
.kbg-home .hm-ctas{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.kbg-home .hm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:10px;border:1px solid rgba(255,255,255,.35);color:#fff;font-weight:700;font-size:14.5px;background:transparent;cursor:pointer}
.kbg-home .hm-btn-pri{background:var(--gold);border-color:var(--gold);color:#fff}
.kbg-home .hm-btn:focus-visible,.kbg-home a:focus-visible,.kbg-home button:focus-visible,.kbg-home select:focus-visible{outline:3px solid #7cc4e4;outline-offset:2px}
/* sections */
.kbg-home .hm-sec{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px 14px;margin-top:14px}
.kbg-home .hm-sec-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;margin-bottom:10px}
.kbg-home .hm-h{font-size:18px!important;line-height:1.4!important;font-weight:800;color:var(--ink)!important}
.kbg-home .hm-note,.kbg-home .hm-eyebrow{font-size:12.5px;color:var(--mut)}
.kbg-home .hm-eyebrow{font-weight:700;letter-spacing:.04em;color:var(--acc)}
.kbg-home .hm-more{display:inline-block;margin-top:12px;color:var(--acc);font-weight:700;font-size:14px}
/* grades (same palette as 专题) */
.kbg-home .hm-g{display:inline-block;min-width:24px;padding:1px 5px;border-radius:5px;text-align:center;font:800 12.5px/1.5 system-ui,sans-serif!important;background:#ece8dd;color:#5a5344}
.kbg-home .hm-g-s,.kbg-home .hm-g-ap{background:#0d6e4f;color:#fff}
.kbg-home .hm-g-a,.kbg-home .hm-g-bp{background:#3c8d6e;color:#fff}
.kbg-home .hm-g-b{background:#b8d6c6;color:#163d2d}
.kbg-home .hm-g-c{background:#f0d9a8;color:#5a3d00}
.kbg-home .hm-g-d{background:#e9b9ad;color:#5c1a0c}
/* topic */
.kbg-home .hm-topic{border-color:#d9c79f;background:linear-gradient(180deg,#fffaf0,#fff 70%)}
.kbg-home .hm-topic .hm-h a{color:var(--ink)}
.kbg-home .hm-funnel{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.kbg-home .hm-funnel li{margin:0;background:#f3efe4;border-radius:8px;padding:6px 4px;text-align:center}
.kbg-home .hm-funnel li:last-child{background:var(--brand);color:#fff}
.kbg-home .hm-funnel b{display:block;font-size:17px;line-height:1.3}
.kbg-home .hm-funnel span{font-size:11px;opacity:.85}
.kbg-home .hm-topic-mix{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:12px;font-size:13px;color:var(--mut)}
.kbg-home .hm-topic-mix span{display:inline-flex;align-items:center;gap:4px}
.kbg-home .hm-topic-mix b{color:var(--ink)}
.kbg-home .hm-topic-top{list-style:none;margin:10px 0 0;padding:0;counter-reset:t}
.kbg-home .hm-topic-top li{margin:0;border-top:1px solid var(--line)}
.kbg-home .hm-topic-top a{display:flex;align-items:center;gap:8px;padding:9px 0}
/* top cards */
.kbg-home .hm-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.kbg-home .hm-cards>*,.kbg-home .hm-card-h,.kbg-home .hm-row-top{min-width:0}
.kbg-home .hm-card{position:relative;display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:12px;padding:12px 12px 10px 44px;background:#fff;transition:border-color .15s}
.kbg-home .hm-card:hover{border-color:var(--acc)}
.kbg-home .hm-rank{position:absolute;left:12px;top:12px;width:24px;height:24px;border-radius:50%;background:var(--bg);color:var(--brand);font:800 13px/24px var(--ff);text-align:center}
.kbg-home .hm-card-h{display:flex;align-items:center;gap:8px;min-width:0}
.kbg-home .hm-card-s{display:flex;align-items:baseline;gap:8px}
.kbg-home .hm-card-s b{font-size:24px;line-height:1.1;color:var(--brand)}
.kbg-home .hm-card-s em{font-style:normal;font-size:11.5px;color:var(--mut)}
/* feed */
.kbg-home .hm-tools{display:flex;flex-direction:column;gap:8px;margin-bottom:6px;position:sticky;top:0;z-index:3;background:#fff;padding:6px 0}
.kbg-home .hm-seg{display:grid;grid-template-columns:repeat(4,1fr);background:var(--bg);border-radius:10px;padding:3px;gap:3px}
.kbg-home .hm-seg button{min-height:38px;border:0;border-radius:8px;background:transparent;color:var(--mut);font-weight:700;font-size:14px;cursor:pointer;padding:0 4px}
.kbg-home .hm-seg button[aria-pressed=true]{background:#fff;color:var(--brand);box-shadow:0 1px 3px rgba(20,33,61,.15)}
.kbg-home .hm-filters{display:grid;grid-template-columns:1fr 1.4fr;gap:8px}
.kbg-home .hm-filters label{margin:0}
.kbg-home .hm-filters select{width:100%;min-height:40px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 10px;font-size:14px;color:var(--ink)}
.kbg-home .hm-list{list-style:none;margin:0;padding:0}
.kbg-home .hm-row{margin:0;border-top:1px solid var(--line)}
.kbg-home .hm-row:first-child{border-top:0}
.kbg-home .hm-row-a{display:flex;flex-direction:column;gap:3px;padding:11px 2px}
.kbg-home .hm-row-a:hover .hm-name{color:var(--acc)}
.kbg-home .hm-row-top{display:flex;align-items:center;gap:8px;min-width:0}
.kbg-home .hm-name{font-size:15.5px;font-weight:700;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kbg-home .hm-row-score{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto}
.kbg-home .hm-row-score b{font-size:17px;color:var(--brand);font-variant-numeric:tabular-nums}
.kbg-home .hm-row-meta{display:flex;flex-wrap:wrap;gap:2px 0;font-size:12.5px;color:var(--mut)}
.kbg-home .hm-row-meta>*+*::before{content:"·";margin:0 6px;color:#b5b9bf}
.kbg-home .hm-row-act{font-size:13.5px;color:#3a4552;line-height:1.55}
.kbg-home .hm-feed.is-busy .hm-list{opacity:.45;transition:opacity .15s}
.kbg-home .hm-loadmore{width:100%;margin-top:10px;border:1px solid var(--line);color:var(--brand);background:var(--bg)}
.kbg-home .hm-empty{padding:18px 0;color:var(--mut);text-align:center}
.kbg-home .hm-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:12px;font-size:14px}
.kbg-home .hm-pager a,.kbg-home .hm-pager span{min-width:38px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px;border-radius:8px;border:1px solid var(--line)}
.kbg-home .hm-pager span[aria-current]{background:var(--brand);color:#fff;border-color:var(--brand)}
.kbg-home .hm-pager .hm-dots{border:0}
.kbg-home .hm-fine{margin-top:10px!important;font-size:12px;color:var(--mut)}
/* archive */
.kbg-home .hm-arc-m{display:grid;grid-template-columns:62px 1fr;gap:8px;padding:8px 0;border-top:1px solid var(--line)}
.kbg-home .hm-arc-m:first-child{border-top:0}
.kbg-home .hm-arc-k{font:700 13px/30px ui-monospace,Menlo,monospace!important;color:var(--mut)}
.kbg-home .hm-arc-v{display:flex;flex-wrap:wrap;gap:6px}
.kbg-home .hm-chip{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--line);font-size:13px;background:#fff}
.kbg-home .hm-chip-picks{background:#fff7e6;border-color:#e8d3a3;font-weight:700}
.kbg-home .hm-chip:hover{border-color:var(--acc);color:var(--acc)}
/* method */
.kbg-home .hm-steps{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:10px;counter-reset:s}
.kbg-home .hm-steps li{margin:0;position:relative;padding:0 0 0 34px;counter-increment:s}
.kbg-home .hm-steps li::before{content:counter(s);position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:50%;background:var(--brand);color:#fff;font:800 13px/24px var(--ff);text-align:center}
.kbg-home .hm-steps b{display:block;font-size:15px}
.kbg-home .hm-steps span{font-size:13.5px;color:#3a4552}
/* AI */
.kbg-home .hm-ai{display:flex;flex-direction:column;gap:12px;background:linear-gradient(135deg,#0f2a3d,#14213d);color:#fff;border:0}
.kbg-home .hm-ai .hm-h{color:#fff!important;margin:4px 0 6px!important}
.kbg-home .hm-ai p{color:#dbe4f1;font-size:14px}
.kbg-home .hm-ai .hm-eyebrow{color:#7cc4e4}
/* legal */
.kbg-home .hm-legal{margin-top:14px;padding:12px 4px 0;font-size:12px;color:var(--mut);line-height:1.7}
.kbg-home .hm-legal p+p{margin-top:6px}
.kbg-home .hm-legal a{text-decoration:underline}
@container hm (min-width:620px){
 .kbg-home .hm-hero{padding:30px 30px 26px}
 .kbg-home .hm-title{font-size:32px!important}
 .kbg-home .hm-sub{font-size:15px;max-width:40em}
 .kbg-home .hm-kpis{grid-template-columns:repeat(4,1fr)}
 .kbg-home .hm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kbg-home .hm-tools{flex-direction:row;align-items:center;justify-content:space-between}
 .kbg-home .hm-seg{min-width:320px}
 .kbg-home .hm-filters{min-width:340px}
 .kbg-home .hm-sec{padding:20px 22px}
 .kbg-home .hm-row-a{display:grid;grid-template-columns:1fr auto;grid-template-areas:"top meta" "act act";column-gap:16px}
 .kbg-home .hm-row-top{grid-area:top}.kbg-home .hm-row-meta{grid-area:meta;justify-content:flex-end;align-self:center}.kbg-home .hm-row-act{grid-area:act}
 .kbg-home .hm-ai{flex-direction:row;align-items:center;justify-content:space-between}
 .kbg-home .hm-ai .hm-btn{flex-shrink:0}
 .kbg-home .hm-steps{grid-template-columns:1fr 1fr}
}
@container hm (min-width:900px){.kbg-home .hm-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.kbg-home .hm-steps{grid-template-columns:repeat(4,1fr)}}
/* v3.1 (owner t188u): tabs, metric chips */
.kbg-home .hm-tablist{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:-2px -2px 8px;padding:2px}
.kbg-home .hm-tablist::-webkit-scrollbar,.kbg-home .hm-chips::-webkit-scrollbar{display:none}
.kbg-home .hm-tablist [role=tab]{flex:0 0 auto;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--mut);font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap}
.kbg-home .hm-tablist [role=tab][aria-selected=true]{background:var(--brand);border-color:var(--brand);color:#fff}
.kbg-home .hm-rule{margin:0 0 10px!important}
.kbg-home .hm-note-pill{display:inline-block;margin-left:auto;padding:1px 8px;border-radius:999px;background:#fff4dc;color:#7a4b00;font-size:12px;font-weight:700;white-space:nowrap}
.kbg-home .hm-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px}
.kbg-home .hm-chips button{flex:0 0 auto;min-height:36px;padding:0 13px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--mut);font-weight:700;font-size:13.5px;cursor:pointer;white-space:nowrap}
.kbg-home .hm-chips button[aria-pressed=true]{background:var(--brand);border-color:var(--brand);color:#fff}
.kbg-home .hm-metric{color:var(--brand);font-weight:700}
@container hm (min-width:620px){.kbg-home .hm-chips{flex-wrap:wrap;overflow:visible}.kbg-home .hm-tools:has(.hm-chips){flex-direction:column;align-items:stretch}.kbg-home .hm-tools:has(.hm-chips) .hm-filters{max-width:420px}}
/* t240u 即时异动 (admin only; inserted by the footer probe, never in the cached HTML). Tier colours = mail v2. */
.kbg-home .hm-live{border-color:#f3c3a6;background:linear-gradient(180deg,#fff6ef,#fff 75%)}
.kbg-home .hm-live-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px}
.kbg-home .hm-live-list{list-style:none;margin:8px 0 0;padding:0}
.kbg-home .hm-live-row{margin:0;padding:9px 0;border-top:1px solid var(--line);min-width:0}
.kbg-home .hm-live-top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}
.kbg-home .hm-live-badge{font-size:12px;font-weight:800;line-height:1.6;color:#fff;background:#d9480f;border-radius:5px;padding:0 6px;white-space:nowrap;flex-shrink:0}
.kbg-home .hm-live-ss .hm-live-badge{background:#b42318}
.kbg-home .hm-live-nm{min-width:0}
.kbg-home .hm-live-name{font-weight:700;color:var(--ink);min-width:0;overflow-wrap:anywhere}
.kbg-home .hm-live-day{margin-left:auto;font-size:12.5px;font-weight:700;color:#d9480f;white-space:nowrap}
.kbg-home .hm-live-bot{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px;margin-top:3px;font-size:13px;color:var(--mut)}
.kbg-home .hm-live-why{min-width:0;overflow-wrap:anywhere}
.kbg-home .hm-live-go{color:var(--acc);font-weight:700;white-space:nowrap}
.kbg-home .hm-live-wait{color:var(--mut);white-space:nowrap}
.kbg-home .hm-live-hist{margin-top:8px;border-top:1px solid var(--line);padding-top:8px;font-size:13px}
.kbg-home .hm-live-hist summary{cursor:pointer;color:var(--mut);font-weight:700}
.kbg-home .hm-live-hist ul{list-style:none;margin:6px 0 0;padding:0}
.kbg-home .hm-live-hist li{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;padding:4px 0;min-width:0}
.kbg-home .hm-live-hd{color:var(--mut);font-size:12.5px;min-width:0;overflow-wrap:anywhere}

/* t254u / t332u: 研究发布后表现 strip — 发布以来 and each matured horizon, peak beside current/at-horizon */
.kbg-home .hm-tr{border:2px solid #334155}
.kbg-home .hm-tr .hm-h a{color:var(--ink)}
.kbg-home .hm-tr-block{margin:10px 0 0}
.kbg-home .hm-tr-k{margin:0;font-size:14px;font-weight:800}
.kbg-home .hm-tr-n{margin:2px 0 0;font-size:12px;color:var(--mut);line-height:1.55}
.kbg-home .hm-tr-m{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0 8px}
.kbg-home .hm-tr-m a{display:block;border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:#fff;min-width:0}
.kbg-home .hm-tr-m .q{display:block;font-size:11.5px;color:var(--mut)}
.kbg-home .hm-tr-m b{display:block;font-size:22px;line-height:1.3;font-variant-numeric:tabular-nums}
.kbg-home .hm-tr-m .s{display:block;font-size:11.5px;color:var(--mut);line-height:1.45}
.kbg-home .hm-tr-m .t-up{color:#c0262d}.kbg-home .hm-tr-m .t-dn{color:#1d7a46}
.kbg-home .hm-tr-note{font-size:12.5px;color:var(--mut);margin:0 0 6px}
@media (max-width: 420px){
  .kbg-home .hm-tr-m b{font-size:18px}
}

.kbg-home .hm-kpi-note{margin:8px 0 0;padding:0;list-style:none;font-size:11.5px;line-height:1.6;color:#b9c7dc}.kbg-home .hm-kpi-note li{margin:0}

/* t348u: research cohorts + top peak list on the homepage panel */
.kbg-home .hm-tr-lede{margin:4px 0 0;font-size:13px;color:var(--mut)}
.kbg-home .hm-tr-list{list-style:none;margin:6px 0 4px;padding:0;border-top:1px solid var(--line)}
.kbg-home .hm-tr-list li{display:grid;grid-template-columns:22px repeat(3,minmax(0,1fr));gap:2px 8px;align-items:start;padding:8px 0;border-bottom:1px solid var(--line)}
.kbg-home .hm-tr-list .r{grid-row:1/4;font-size:12px;color:var(--mut);padding-top:2px;font-variant-numeric:tabular-nums}
.kbg-home .hm-tr-list .nm{grid-column:2/-1;font-weight:700;font-size:14px;min-width:0}
.kbg-home .hm-tr-list .nm a{color:var(--ink);text-decoration:none;border-bottom:1px dotted #94a3b8}
.kbg-home .hm-tr-list .c{display:block;min-width:0;font-variant-numeric:tabular-nums}
.kbg-home .hm-tr-list .c i{display:block;font-style:normal;font-size:10.5px;color:var(--mut)}
.kbg-home .hm-tr-list .c b{display:block;font-size:15px;line-height:1.3}
.kbg-home .hm-tr-list .c em{display:block;font-style:normal;font-size:10.5px;color:var(--mut);line-height:1.35}
.kbg-home .hm-tr-list .t-up{color:#c0262d}.kbg-home .hm-tr-list .t-dn{color:#1d7a46}
.kbg-home .hm-tr-rank .hm-more{display:inline-block;margin-top:2px}
.kbg-home .hm-tr-early{opacity:.92}
.kbg-home .hm-tr-list .pk{grid-column:2/-1}
.kbg-home .hm-tr-list .pk i,.kbg-home .hm-tr-list .pk b,.kbg-home .hm-tr-list .pk em{display:inline;margin-right:6px}
.kbg-home .hm-tr-list .pk b{font-size:15px}
