/* AI 阅读工作台：桌面侧栏让内容从首屏开始，家纺页继续使用独立布局。 */
@media (min-width: 1080px) {
  body.is-ai-view .shell { width: auto; max-width: 1460px; margin: 0 auto 0 224px; padding: 32px 32px 72px; }
  body.is-ai-view .hero { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 208px; padding: 28px 16px; border: 0; border-right: 1px solid var(--news-line); background: var(--news-surface); overflow-y: auto; animation: none; }
  body.is-ai-view .hero-headline { align-items: center; gap: 10px; }
  body.is-ai-view .hero-logo { width: 36px; height: 36px; border-radius: 9px; }
  body.is-ai-view .hero-tag { margin: 0; font-size: 8px; letter-spacing: .08em; }
  body.is-ai-view .hero h1 { max-width: 125px; margin: 3px 0 0; font-size: 17px; line-height: 1.4; letter-spacing: -.035em; text-wrap: pretty; }
  body.is-ai-view .hero-sub { display: none; }
  body.is-ai-view .main-tabs { gap: 10px; margin-top: 20px; }
  body.is-ai-view .main-tabs .main-tab { flex: 1 1 auto; min-width: 0; font-size: 12px; padding-bottom: 9px; }
  body.is-ai-view .ai-reader-nav { position: fixed; inset: 174px auto auto 8px; z-index: 21; display: flex; flex-direction: column; width: 192px; gap: 5px; padding: 0; margin: 0; border: 0; overflow: visible; }
  body.is-ai-view .ai-reader-nav button { display: flex; align-items: center; min-height: 44px; padding: 10px 17px; border: 0; border-radius: 7px; text-align: left; font-size: 14px; font-weight: 550; }
  body.is-ai-view .ai-reader-nav button.active { box-shadow: inset 3px 0 var(--news-accent); }
  body.is-ai-view .ai-metrics { margin-top: 437px; border-top: 1px solid var(--news-line); }
  body.is-ai-view .ai-metrics-summary { min-height: 40px; padding: 12px 0 8px; justify-content: space-between; font-size: 10px; }
  body.is-ai-view .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  body.is-ai-view .stat { min-height: 61px; padding: 9px; border-radius: 5px; }
  body.is-ai-view .stat .k { font-size: 9px; }
  body.is-ai-view .stat .v { margin-top: 4px; font-size: 18px; }
  body.is-ai-view #aiNewsWrap { padding-top: 0; }
  body.is-ai-view .theme-toggle-wrap { top: 15px; right: 26px; }
  body.is-ai-view .aie-heading { padding-top: 0; border-top: 0; padding-right: 170px; min-height: 76px; }
  body.is-ai-view .aie-freshness { margin-top: 42px; }
  body.is-ai-view .model-leaderboards { margin-top: 0; }
}
@media (max-width: 1079px) {
  body.is-ai-view .shell { width: calc(100% - 36px); padding-top: 20px; }
  body.is-ai-view .hero { padding: 0 0 12px; }
  body.is-ai-view .hero-headline { gap: 10px; }
  body.is-ai-view .hero-logo { width: 35px; height: 35px; }
  body.is-ai-view .hero h1 { font-size: 21px; }
  body.is-ai-view .hero-tag { font-size: 8px; }
  body.is-ai-view .hero-sub { display: none; }
  body.is-ai-view .main-tabs { margin-top: 10px; }
  body.is-ai-view .ai-reader-nav { margin-bottom: 17px; padding-bottom: 10px; scrollbar-width: none; }
  body.is-ai-view .ai-reader-nav::-webkit-scrollbar { display: none; }
  body.is-ai-view .ai-reader-nav button { font-size: 14px; padding: 10px 13px; }
  body.is-ai-view #aiNewsWrap { padding-top: 12px; }
  body.is-ai-view:not([data-ai-reader-view="sources"]) .ai-metrics { display: none; }
  body.is-ai-view .theme-toggle-wrap { top: 14px; right: 16px; }
  body.is-ai-view .theme-toggle-btn { width: 33px; min-height: 33px; padding: 6px; }
  body.is-ai-view .theme-label { display: none; }
}
@media (max-width: 480px) {
  body.is-ai-view .shell { width: calc(100% - 28px); }
  body.is-ai-view .hero h1 { max-width: 225px; font-size: 19px; }
}
