@media print {
  @page {
    margin: 14mm;
  }

  html,
  body {
    width: auto !important;
    min-width: 0 !important;
    color: #000 !important;
    background: #fff !important;
  }

  .ui3-backtop,
  .ui5-mobile-nav,
  .memory-mark__links,
  .global-nav__links,
  .global-nav__brand,
  .ui3-toast-region,
  .memory-viewer,
  .entry-gate,
  .memory-atmosphere,
  .memory-thread,
  .cinematic-lens,
  .cursor-glow,
  .touch-aura,
  .ambient-petals,
  .story-rail,
  .global-countdown,
  .global-nav__menu,
  .ui6-help-dialog,
  .page-status,
  dialog,
  .film__scroll-cue,
  .goodnight__button,
  .letter-button,
  .photo-slot__picker,
  .photo-slot__view,
  .motion-toggle,
  .memory-mark__actions {
    display: none !important;
  }

  .memory-mark,
  .global-nav {
    position: static !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  main {
    width: 100% !important;
    margin: 0 !important;
  }

  .film__sticky,
  .photo-reel__sticky,
  .constellation__sticky {
    position: static !important;
    height: auto !important;
    transform: none !important;
  }

  section,
  .calendar-workspace,
  .gallery-wall,
  .memories-journal,
  .memories-notes {
    break-inside: avoid;
  }

  .memories-journal,
  .memories-notes {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }

  img,
  svg {
    max-width: 100% !important;
  }
}
