/* ============================================================
   print.css — 打印 / 导出 PDF
   ============================================================ */
@media print {
  :root {
    --paper: #ffffff;
    --paper-2: #ffffff;
    --paper-3: #f0f0f0;
    --ink: #111111;
    --ink-soft: #333333;
    --muted: #555555;
    --line: #dddddd;
    --line-2: #cccccc;
  }

  body {
    background: #fff !important;
    color: #111 !important;
  }
  .cursor-glow, .noise, header.nav, .floating, .progress,
  .toolbar, .hero-actions, .modal-mask, .issue-bar,
  .mobile-note, .copy-box-tools, .gold .copy-btn,
  .topic-card::before, .topic-card .topic-ref,
  .tl-toggle, .foot-bottom, .float-mini {
    display: none !important;
  }

  .gradient-text { color: #111 !important; background: none !important; -webkit-background-clip: initial !important; }

  .glass, .hero-card, .topic-card, .tl-card, .gold, .todo-card,
  .stat, .principle, .meta-card, .meta-panel, .copy-box, .quote, .tabs {
    background: #fff !important;
    color: #111 !important;
    border-color: #ddd !important;
    box-shadow: none !important;
  }

  .tab-panel { display: block !important; }
  .tab { display: none !important; }
  .topic-card .topic-more, .tl-card .tl-desc { display: block !important; }

  a, a:hover { color: #111 !important; text-decoration: none !important; }

  .section { padding: 18px 0 !important; page-break-inside: avoid; }

  /* 每个 tl-item 强制分页 */
  .tl-item { page-break-inside: avoid; }
  .gold { page-break-inside: avoid; }
  .topic-card { page-break-inside: avoid; }
}
