/* Print / poster mode styles for SimCity map */

@media print {
  .sc-layer-controls,
  #overlay-panel,
  .sc-panel,
  .sc-building-count,
  .sc-legend,
  .sc-footer,
  .sc-loading-overlay,
  #sc-export-btn {
    display: none !important;
  }
  .sc-header {
    background: #fff !important;
    border-bottom: 2px solid #1b2a4a !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .sc-header-title, .sc-header-subtitle {
    color: #1b2a4a !important;
  }
  .sc-map-wrap {
    position: static !important;
    height: 100vh !important;
  }
  #sc-map {
    height: calc(100vh - 60px) !important;
  }
  body {
    margin: 0 !important;
  }
  @page {
    size: landscape;
    margin: 0;
  }
}

/* ?mode=poster query param — keep overlay panel + layer controls visible */
body.poster-mode .sc-panel,
body.poster-mode .sc-building-count,
body.poster-mode .sc-legend,
body.poster-mode .sc-footer,
body.poster-mode .sc-loading-overlay {
  display: none !important;
}

body.poster-mode .sc-header {
  background: rgba(13, 20, 38, 0.98) !important;
}

body.poster-mode .sc-map-wrap {
  top: 50px !important;
  bottom: 0 !important;
}
