/* ═══════════════════════════════════════════════════════════
   print.css —— 打印 / 导出讲稿（Cmd/Ctrl + P）
   展厅所有场景按顺序展开为一份可打印的 A4 讲解稿
   ═══════════════════════════════════════════════════════════ */

@page{ size:A4; margin:14mm 12mm; }

@media print{
  :root{ --c-text:#111; --c-text-mute:#555; --c-paper:#fff; --c-ink:#fff; }

  html,body{
    height:auto !important; overflow:visible !important;
    background:#fff !important; color:#111 !important;
    font-size:11pt;
  }
  body::before,body::after{ display:none !important; }

  /* 隐藏交互外壳 */
  #topbar,#bottombar,#drawer,#drawerMask,#panel,#panelMask,
  #speechLayer,#toast,#boot,.btn-more,.wall-form,#btnEnter,.tb-actions{ display:none !important; }

  #app{ height:auto; }
  #stage{ position:static !important; overflow:visible !important; height:auto !important; }

  /* 所有场景全部展开 */
  .scene{
    position:static !important; inset:auto !important;
    opacity:1 !important; visibility:visible !important; transform:none !important;
    overflow:visible !important; padding:0 0 10mm !important;
    page-break-after:always; break-after:page;
    color:#111 !important;
  }
  .scene:last-child{ page-break-after:auto; break-after:auto; }
  .scene--cover{ display:block !important; text-align:center; padding-top:40mm !important; }
  .rv{ opacity:1 !important; animation:none !important; }

  /* 标题改黑 */
  .cover-title,.scene-title,.gate-title,.ex-name,.pn-name,.sp-title{
    color:#111 !important; -webkit-text-fill-color:#111 !important;
    background:none !important; text-shadow:none !important;
  }
  .cover-sub,.cover-slogan,.gate-lede,.scene-lede,.ex-en,.ci-one{ color:#333 !important; }
  .eyebrow,.gate-zone,.tl-year,.concept-n,.stat-num,.stat-unit{ color:#8a1f18 !important; }

  /* 展板改白底黑字 */
  .exhibit{
    background:#fff !important; box-shadow:none !important;
    border:1px solid #999 !important; page-break-inside:avoid; break-inside:avoid;
    display:block !important; padding:4mm !important;
  }
  .exhibit::before,.exhibit::after{ display:none !important; }
  .ex-figure{ aspect-ratio:16/10; max-width:70mm; margin-bottom:3mm; }
  .ex-oneline{ background:#f2f2f2 !important; border-left:3px solid #8a1f18 !important; color:#111 !important; }
  .bookcover{ background:#fff !important; border:1px solid #999 !important; }
  .bc-title,.bc-sub,.bc-org,.bc-date{ color:#111 !important; }
  .bc-seal{ background:#8a1f18 !important; }

  .stat,.layer,.concept,.struct-item,.bookmark,.quote,.mapwrap,.tl-item,.cabinet-item{
    background:#fff !important; border:1px solid #bbb !important; color:#111 !important;
    box-shadow:none !important; page-break-inside:avoid; break-inside:avoid;
  }
  .stat::before,.layer::before{ background:#8a1f18 !important; }
  .stat-lbl,.stat-src,.layer-d,.concept-d,.si-sub,.bookmark p{ color:#333 !important; }
  .bookmark{ border-left:4px solid #8a1f18 !important; }
  .bookmark::before{ background:#8a1f18 !important; color:#fff !important; }
  .quote{ border:1px solid #bbb !important; }
  .quote::before{ color:#8a1f18 !important; }

  .cabinet-grid{ grid-template-columns:repeat(3,1fr) !important; }
  .cabinet-item{ display:block !important; }
  .ci-fig{ max-height:32mm; }
  .ci-name{ color:#111 !important; }

  .merge-badge{ border:2px solid #8a1f18 !important; background:#fff !important; }
  .merge-badge .mb-t{ color:#8a1f18 !important; text-shadow:none !important; }
  .merge-badge::before{ display:none !important; }
  .key-ring{ background:#fff !important; border:1px solid #8a1f18 !important; box-shadow:none !important; }
  .key-ring::after{ display:none !important; }
  .key-ico,.key-name,.key-year{ color:#8a1f18 !important; text-shadow:none !important; }
  .key-desc{ max-height:none !important; opacity:1 !important; color:#333 !important; }

  .wall{ display:none !important; }
  img{ max-height:60mm; object-fit:contain; }
  .ph{ background:#f4f4f4 !important; border:1px dashed #999; }
  .ph::after{ color:#666 !important; }
}
