/* 详情静态校准：原版 Typography 的 sm 为 12px/20px；排名使用等宽数字。
 * 平台标识使用原版 22px 正文行框，不继承排名次级文字样式。
 */
.lib-detail-stat-body>div:nth-child(-n+2)>p{font-variant-numeric:tabular-nums}
.lib-detail-stat-body>div:nth-child(-n+2)>p>span:not(.lib-detail-unknown){line-height:20px}
.lib-detail-stat-body .lib-platforms{height:22px;min-height:22px;line-height:22px}
.lib-detail-stat-body .lib-platforms>.lib-platform-mark{height:22px;line-height:22px;color:#000000e0;margin-left:0}

/* 两种真实入口：page来自正常直接URL；layer来自应用内打开。
 * 当前page组件800954：header p-4、无底边框、内容md:p-6。
 * layer沿用已有73px header + 48px内容上距；不改已校准的列宽/字体/图标。
 */
.lib-detail-page[data-ad-presentation="page"] .lib-detail-top{height:72px;min-height:72px;padding:16px;border-bottom:0;box-shadow:none;position:relative;top:auto}
.lib-detail-page[data-ad-presentation="page"] .lib-detail-grid{padding-top:24px}
.workspace-shell:has(.lib-detail-page[data-ad-presentation]) .expand-sidebar{display:none}
/* 第十二轮：原版详情层上没有右下角气泡；本地以层打开时也不显示研究说明按钮（独立页面照旧显示）。 */
.workspace-shell:has(.lib-detail-page[data-ad-presentation="layer"]) .support-launcher{display:none}
