/* 1.11.0 话题页矩阵、话题时间线、人物页。底色仍是暖米白，分问题和话题只用低饱和的少量点缀。
   标题不超过 MiSans 已托管的 600，避免浏览器把没有的字重描粗。 */
.topic-page,.person-page,.tv-panel{font-synthesis:none}
.topic-page b,.topic-page strong,.person-page b,.person-page strong,.tv-panel b,.tv-panel strong{font-weight:600}

.view-switch{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 0}
.view-switch a{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid var(--rule-2);border-radius:999px;background:transparent;font-family:var(--f-ui);font-size:14px;font-weight:500;line-height:1;color:var(--soft);text-decoration:none}
.view-switch a:hover{border-color:var(--head);color:var(--head)}
.view-switch a[aria-current="true"]{border-color:var(--head);background:var(--head);color:var(--ground)}

.tv-panel{display:none;margin:8px 0 28px}
html[data-topic-view="matrix"] .topic-page .angle-bar,
html[data-topic-view="matrix"] .topic-page .clip-feed,
html[data-topic-view="matrix"] .topic-page .topic-pager,
html[data-topic-view="matrix"] .topic-page .clip-cta,
html[data-topic-view="timeline"] .topic-page .angle-bar,
html[data-topic-view="timeline"] .topic-page .clip-feed,
html[data-topic-view="timeline"] .topic-page .topic-pager,
html[data-topic-view="timeline"] .topic-page .clip-cta{display:none}
html[data-topic-view="matrix"] [data-panel="matrix"],
html[data-topic-view="timeline"] [data-panel="timeline"],
html[data-topic-view="groups"] [data-panel="groups"]{display:block}
html[data-topic-view="groups"] .topic-page .angle-bar,
html[data-topic-view="groups"] .topic-page .clip-feed,
html[data-topic-view="groups"] .topic-page .topic-pager,
html[data-topic-view="groups"] .topic-page .clip-cta{display:none}

.tv-wait,.tv-note,.tv-empty{margin:0 0 12px;font-family:var(--f-ui);font-size:14px;line-height:1.5;color:var(--soft)}
.tv-note b{color:var(--head)}
.tv-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px}
.tv-chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.tv-chips::-webkit-scrollbar{display:none}
.tv-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid var(--rule-2);border-radius:999px;background:transparent;font-family:var(--f-ui);font-size:13px;line-height:1.2;color:var(--soft);cursor:pointer}
.tv-chip i{width:8px;height:8px;border-radius:50%;background:var(--c,var(--rule-2))}
.tv-chip[aria-pressed="true"]{border-color:var(--head);color:var(--head);background:var(--sheet)}
.tv-ord{margin-left:auto;min-height:32px;padding:0 10px;border:1px solid var(--rule-2);border-radius:999px;background:transparent;font-family:var(--f-ui);font-size:13px;font-weight:500;color:var(--soft);cursor:pointer}

.mx-wrap{overflow:auto;max-height:72vh;border:1px solid var(--rule);border-radius:12px;background:var(--sheet)}
.mx{border-collapse:separate;border-spacing:0;min-width:100%;font-family:var(--f-ui)}
.mx th,.mx td{padding:8px 10px;border-bottom:1px solid var(--rule);vertical-align:middle;background:var(--sheet)}
.mx thead th{position:sticky;top:0;z-index:3;background:var(--ground);font-size:13px;font-weight:500;line-height:1.35;color:var(--soft);text-align:left}
.mx .who{position:sticky;left:0;z-index:2;min-width:168px;max-width:240px;text-align:left;background:var(--ground)}
.mx thead .who{z-index:4}
.mx .who a{display:flex;align-items:center;gap:8px;color:var(--head);font-weight:500;text-decoration:none}
.mx .who small{margin-left:auto;color:var(--faint);font-weight:400}
.mx td{text-align:center;min-width:88px}
.mx .col-i{display:block;width:18px;height:3px;margin-bottom:6px;border-radius:2px;background:var(--c,var(--mark))}
.tv-av{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--c,var(--rule-2));color:var(--ground);font-size:12px;font-weight:600;line-height:1}
.tv-pn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tv-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;max-width:160px;margin:0 auto}
.tv-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:var(--c,var(--soft));cursor:pointer}
.tv-dot.is-sq{border-radius:2px}
.tv-dot.is-dm{border-radius:1px;transform:rotate(45deg) scale(.85)}
.tv-dot.is-lk{background:transparent;box-shadow:inset 0 0 0 1.5px var(--c,var(--soft))}
.tv-dot[aria-current="true"]{outline:2px solid var(--head);outline-offset:2px}
.tv-detail{margin-top:12px;padding:14px 16px;border:1px solid var(--rule);border-left:3px solid var(--mark);border-radius:12px;background:var(--sheet)}
.tv-detail p{margin:0 0 8px}
.tv-detail p:last-child{margin:0}
.tv-detail-text{font-size:16px;line-height:1.6;color:var(--head)}
.tv-detail a{font-weight:500}

.tv-legend{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 10px;font-family:var(--f-ui);font-size:12px;color:var(--faint)}
.tv-legend i{display:inline-block;width:8px;height:8px;margin-right:4px;vertical-align:middle;border-radius:50%;background:var(--soft)}
.tv-legend i.hollow{background:transparent;box-shadow:inset 0 0 0 1.5px var(--soft)}

.dens{display:flex;align-items:flex-end;gap:3px;min-height:48px;margin:0 0 16px;overflow-x:auto}
.dens button{flex:1 0 8px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;min-width:8px;height:48px;padding:0;border:0;background:transparent;cursor:pointer}
.dens i{display:block;width:100%;max-width:18px;border-radius:2px 2px 0 0;background:var(--head);opacity:.72}
.dens span{font-family:var(--f-ui);font-size:10px;color:var(--faint)}
.mo{margin:0 0 22px}
.mo h3{display:flex;align-items:baseline;gap:8px;margin:0 0 10px;padding-bottom:6px;border-bottom:1px solid var(--rule);font-family:var(--f-ui);font-size:15px;font-weight:600;color:var(--head)}
.mo h3 small{font-weight:400;color:var(--faint)}
.te{display:grid;grid-template-columns:64px 14px minmax(0,1fr);gap:8px 10px;margin:0 0 14px}
.te .tdt{font-family:var(--f-ui);font-size:12px;line-height:1.3;color:var(--faint);text-align:right}
.te .tdt b{display:block;color:var(--head);font-weight:600}
.te .td{width:9px;height:9px;margin-top:4px;border-radius:50%;background:var(--c,var(--soft));justify-self:center}
.te.is-locked .td{background:transparent;box-shadow:inset 0 0 0 1.5px var(--c,var(--soft))}
.tbx{min-width:0;padding-bottom:10px;border-bottom:1px solid var(--rule)}
.tm{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;margin-bottom:4px;font-family:var(--f-ui);font-size:13px;color:var(--soft)}
.tm a{font-weight:600;color:var(--head);text-decoration:none}
.tm .ang{color:var(--soft)}
.gq{margin:0;font-size:16px;line-height:1.6;color:var(--head)}
.gf{margin-top:6px;font-family:var(--f-ui);font-size:13px}
.gf a{font-weight:500}

.person-page{padding-top:18px;padding-bottom:40px}
.pstats{display:flex;flex-wrap:wrap;gap:14px 22px;margin:14px 0}
.pstats div{min-width:64px}
.pstats b{display:block;font-size:22px;font-weight:600;line-height:1.1;color:var(--head)}
.pstats span{font-family:var(--f-ui);font-size:12px;color:var(--faint)}
.pcap{display:flex;justify-content:space-between;gap:12px;margin:0 0 8px;font-family:var(--f-ui);font-size:13px;color:var(--soft)}
.pcap b{font-weight:600;color:var(--head)}
.stack{display:flex;height:14px;overflow:hidden;border-radius:7px;background:var(--rule)}
.stack button{flex:1 1 8px;min-width:8px;padding:0;border:0;background:var(--c,var(--soft));cursor:pointer}
.stack button[aria-pressed="true"]{outline:2px solid var(--head);outline-offset:2px}
.mm{position:relative;height:78px;margin:8px 0 18px;overflow:hidden;border-bottom:1px solid var(--rule)}
.mm .tick{position:absolute;top:0;bottom:18px;border-left:1px solid var(--rule)}
.mm .tick span{position:absolute;bottom:0;left:2px;font-family:var(--f-ui);font-size:10px;line-height:1.2;color:var(--faint);white-space:nowrap}
.mm .mmd{position:absolute;width:9px;height:9px;margin:-4px 0 0 -4px;padding:0;border:0;border-radius:50%;background:var(--c,var(--soft));cursor:pointer}
.person-fallback .tv-item{padding:14px 0;border-bottom:1px solid var(--rule)}
.person-fallback .tv-who{margin:0;font-weight:600}
.person-fallback .tv-who a{text-decoration:none;color:var(--head)}
.person-fallback .tv-topic,.person-fallback .tv-angle,.person-fallback .tv-date,.person-fallback .tv-lock{margin:4px 0 0;font-family:var(--f-ui);font-size:13px;color:var(--soft)}
.person-fallback .tv-text{margin:8px 0 0;font-size:16px;line-height:1.6}
.person-plain{margin-top:28px}
.person-plain h2{font-size:18px;font-weight:600}
.person-fallback[hidden],.person-enhanced[hidden]{display:none}

.gcat{margin:0 0 28px;padding-top:8px;border-top:1px solid var(--rule)}
.gcat h3{margin:0;font-size:20px;font-weight:600;line-height:1.35}
.gcat header{display:flex;gap:10px;align-items:baseline;margin-bottom:8px}
.gcat .ci{font-family:var(--f-ui);font-size:13px;font-weight:600;color:var(--mark-ink)}
.gdv{margin:0 0 12px;padding:8px 12px;border:1px solid var(--rule);border-radius:8px;background:var(--sheet);font-size:14px;line-height:1.5;color:var(--soft)}
.gdv b{color:var(--head)}
.gcols{display:flex;gap:12px;align-items:flex-start;overflow-x:auto}
.gcol{flex:1 0 240px;min-width:220px}
.gcol h4{margin:0 0 4px;font-size:16px;font-weight:600}
.gcol .gn{margin:0 0 8px;font-size:13px;line-height:1.5;color:var(--soft)}
.gcard{display:block;width:100%;margin:0 0 8px;padding:12px;border:1px solid var(--rule);border-radius:10px;background:var(--sheet);text-align:left;cursor:pointer;font:inherit;color:inherit}
.gcard .gh{display:flex;justify-content:space-between;gap:8px;font-family:var(--f-ui);font-size:13px}
.gcard .gh b{font-weight:600}
.gmiss{margin:8px 0 0;font-size:13px;color:var(--faint)}
.tv-drawer{position:fixed;top:60px;right:0;bottom:0;z-index:30;width:min(420px,100%);padding:16px 18px 28px;border-left:1px solid var(--rule);background:var(--ground);overflow:auto;box-shadow:-8px 0 24px rgba(20,19,17,.06)}
.tv-drawer[hidden]{display:none}
.tv-drawer-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-family:var(--f-ui);font-size:13px;color:var(--soft)}
.tv-drawer-bar button{width:36px;height:36px;border:1px solid var(--rule-2);border-radius:50%;background:transparent;cursor:pointer}
.te{cursor:pointer}
@media (max-width:720px){
  .gcols{display:block}
  .gcol{min-width:0}
  .tv-drawer{top:auto;left:0;right:0;height:72vh;border-left:0;border-top:1px solid var(--rule);border-radius:16px 16px 0 0}
}

@media (max-width:720px){
  .mx .who{min-width:112px;max-width:140px}
  .mx td{min-width:72px;padding:8px 6px}
  .te{grid-template-columns:46px 12px minmax(0,1fr);gap:6px}
  .pstats b{font-size:20px}
  .tv-ord{margin-left:0}
}
