/* Compact only the existing auxiliary statistics; keep record tables intact. */
html:root body [data-seo-snapshot]{box-sizing:border-box;width:min(1200px,calc(100% - 24px));max-width:calc(100% - 24px);margin:18px auto;padding:12px;min-width:0;}
html:root body .c28-stat-scroll{overflow:visible;min-width:0;max-width:100%;}
html:root body table.c28-stat-matrix{display:block!important;width:100%!important;min-width:0!important;border:0;border-collapse:separate;table-layout:auto;}
html:root body .c28-stat-matrix thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
html:root body .c28-stat-matrix tbody{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;width:100%;min-width:0;}
html:root body .c28-stat-matrix tr.c28-stat-card{display:grid!important;grid-template-columns:max-content minmax(0,1fr);gap:2px 4px;min-width:0;padding:7px 8px;margin:0;border:1px solid var(--c-line);border-radius:5px;background:var(--c-surface)!important;}
html:root body .c28-stat-matrix td{display:block!important;min-width:0;padding:0!important;margin:0;border:0!important;white-space:normal!important;line-height:1.4;text-align:left;color:var(--c-text)!important;font-size:11.5px;font-variant-numeric:tabular-nums;}
html:root body .c28-stat-matrix [data-stat-field="sum"]{grid-column:1/-1;font-size:17px;line-height:1.25;font-weight:700;}
html:root body .c28-stat-matrix [data-stat-field="sum"]::before{content:"和值 ";font-size:11px;font-weight:400;color:var(--c-muted);}
html:root body .c28-stat-matrix [data-stat-field="count"]::after{content:" 次";color:var(--c-muted);}
html:root body .c28-stat-matrix [data-stat-field="share"]{text-align:right;}
html:root body .c28-stat-matrix [data-stat-field="share"]::before{content:"· ";color:var(--c-muted);}
html:root body .c28-stat-matrix [data-stat-field="omit"]{grid-column:1/-1;font-size:11px;overflow-wrap:anywhere;}
html:root body .c28-stat-matrix [data-stat-field="omit"]::before{content:"遗漏 ";color:var(--c-muted);}
html:root body [data-trends-app]{display:flex;flex-direction:column;min-width:0;}
html:root body [data-trends-app]>.panel.prose{order:9;margin-top:18px;}
html:root body [data-trends-app]>.chart-grid,html:root body [data-trends-app]>.chart-grid>*{min-width:0;}
@media(max-width:1100px){html:root body .c28-stat-matrix tbody{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:600px){html:root body .c28-stat-matrix tbody{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}html:root body .c28-stat-matrix tr.c28-stat-card{padding:6px;}html:root body [data-seo-snapshot]{padding:10px;}}
@media(max-width:359px){html:root body .c28-stat-matrix tbody{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){html:root body [data-backtest].metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}html:root body [data-backtest]>.metric{padding:10px 8px;min-width:0;}html:root body [data-backtest]>.metric strong{font-size:clamp(24px,6vw,32px);}html:root body [data-backtest]>.metric small{font-size:12px;white-space:normal;}html:root body .omission-grid{grid-template-columns:repeat(4,minmax(0,1fr));}html:root body .omission-grid>.omission-cell{min-width:0;padding-inline:5px;}}
