/* Today's saved memories are keepsakes, not photo-only lightboxes. This final
   layer owns only the actual Today carousel; other Home invitations, drafts,
   saved-place prompts and the first-keepsake experience retain their layouts.
   The repeated Home ID matches the existing brand layer's specificity. */
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .today-memory-card.home-today-keepsake {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  grid-auto-rows: auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 18px !important;
  gap: 16px !important;
  overflow: visible !important;
  border: 1px solid #d7e5e5 !important;
  border-radius: 24px !important;
  color: #00243f !important;
  background: #fffefd !important;
  box-shadow: 0 8px 24px #00243f0b !important;
  text-align: left !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake :is(.memory-day-topline, .today-memory-main, .today-memory-copy, .today-memory-footer, .today-memory-switcher) {
  position: static !important;
  inset: auto !important;
  grid-area: auto !important;
  order: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #00243f !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
  text-shadow: none !important;
  translate: none !important;
  transform: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake::before,
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake::after,
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake :is(.today-memory-main, .today-memory-photo, .today-memory-copy, .today-memory-cover-open, .today-memory-text-fallback)::before,
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake :is(.today-memory-main, .today-memory-photo, .today-memory-copy, .today-memory-cover-open, .today-memory-text-fallback)::after {
  content: none !important;
  display: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .memory-day-topline {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px 14px !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .home-kicker {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 7px !important;
  border: 0 !important;
  color: #326967 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: .6875rem !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .home-kicker .section-title-text {
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: normal !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .home-kicker .section-title-icon {
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .memory-day-slide-count {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 4px 9px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #526b77 !important;
  background: #f0f6f3 !important;
  box-shadow: none !important;
  font-size: .6875rem !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake :is(.today-memory-name-pill, .today-memory-date-pill, .today-memory-photo-label) {
  display: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  gap: 18px !important;
  isolation: auto !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-cover-open {
  position: relative !important;
  display: block !important;
  grid-area: auto !important;
  order: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 44px !important;
  max-width: none !important;
  height: auto !important;
  min-height: 44px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #e8f4ef !important;
  box-shadow: none !important;
  cursor: pointer !important;
  touch-action: pan-y !important;
  translate: none !important;
  transform: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-photo {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 300px !important;
  aspect-ratio: 8 / 5 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #e8f4ef !important;
  box-shadow: none !important;
  transform: none !important;
}

/* The saved focus remains the source of truth. Only the frame is bounded;
   no image is stretched, animated across its crop, or redrawn in a canvas. */
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-photo-frame {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: var(--today-photo-position, center center) !important;
  border-radius: 18px !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
  transition: opacity 140ms ease !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-photo-backdrop {
  display: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-text-fallback {
  position: relative !important;
  display: grid !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 128px !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 12px !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #eef8f3, #e3f3ef) !important;
  box-shadow: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-text-fallback-mappi {
  position: static !important;
  display: block !important;
  width: 86px !important;
  height: 100px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-copy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: none !important;
  grid-template-areas: none !important;
  align-content: start !important;
  align-items: start !important;
  justify-items: stretch !important;
  gap: 10px !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake :is(.today-memory-title, .today-memory-meta-row, .today-memory-chip-row, .today-memory-note, .today-memory-relive-button) {
  grid-area: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-title {
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
  color: #00243f !important;
  font-size: clamp(1.3rem, 3vw, 1.75rem) !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
  text-align: left !important;
  text-shadow: none !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: unset !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-meta-row,
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-meta-row > small {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  align-self: start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 7px 10px !important;
  overflow: visible !important;
  border: 0 !important;
  color: #526b77 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: .8125rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: normal !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake :is(.today-memory-place-date, .today-memory-place-text, .today-memory-date-full, .today-memory-mood-value) {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  color: #526b77 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-place-date {
  display: flex !important;
  flex: 0 1 auto !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: start !important;
  gap: 4px 7px !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-date-full {
  display: inline !important;
  flex: 0 1 auto !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-date-compact {
  display: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-meta-separator {
  display: inline !important;
  color: #97adaa !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-place-marker {
  flex: 0 0 7px !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 0 !important;
  border-color: #fffefd !important;
  background: #4f968a !important;
  box-shadow: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake :is(.today-memory-mood-chip, .today-memory-media-hint) {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  align-self: start !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  width: fit-content !important;
  min-height: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 3px 8px !important;
  gap: 5px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #326967 !important;
  background: #edf6f1 !important;
  box-shadow: none !important;
  font-size: .75rem !important;
  font-weight: 550 !important;
  line-height: 1.5 !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: normal !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake :is(.today-memory-mood-prefix, .today-memory-mood-divider) {
  display: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-mood-chip::before {
  content: "" !important;
  flex: 0 0 5px !important;
  width: 5px !important;
  height: 5px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: var(--memory-mood-color, #326967) !important;
  box-shadow: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-note {
  position: static !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
  min-height: 44px !important;
  max-height: none !important;
  padding: 3px 0 !important;
  gap: 6px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #526b77 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: .875rem !important;
  font-weight: 450 !important;
  line-height: 1.55 !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: normal !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-note-text {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  color: #526b77 !important;
  line-height: inherit !important;
  text-align: left !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: unset !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-note-mark {
  display: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-relive-button {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  align-items: center !important;
  align-self: start !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 44px !important;
  max-width: none !important;
  height: auto !important;
  min-height: 48px !important;
  max-height: none !important;
  padding: 11px 16px !important;
  gap: 12px !important;
  overflow: visible !important;
  border: 1px solid #cfe4db !important;
  border-radius: 14px !important;
  color: #00243f !important;
  background: #e8f5f0 !important;
  box-shadow: none !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: normal !important;
  translate: none !important;
  transform: none !important;
  animation: none !important;
  transition: background-color 140ms ease, border-color 140ms ease !important;
  pointer-events: auto !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-relive-button > span {
  position: static !important;
  display: inline !important;
  flex: 0 1 auto !important;
  align-self: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
  white-space: normal !important;
  transform: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-relive-button .today-memory-relive-icon {
  flex: 0 0 auto !important;
  font-size: 1.2em !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-footer {
  display: block !important;
  padding-top: 12px !important;
  border-top: 1px solid #e1ebe7 !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-switcher {
  display: block !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-switcher-scroll {
  position: static !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 2px !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #00243f !important;
  background: transparent !important;
  box-shadow: none !important;
  scroll-padding-inline: 2px !important;
  scrollbar-width: thin !important;
  transform: none !important;
  -webkit-overflow-scrolling: touch !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-choice {
  position: relative !important;
  display: grid !important;
  flex: 0 0 44px !important;
  box-sizing: border-box !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  border-radius: 12px !important;
  color: #526b77 !important;
  background: #f0f6f3 !important;
  box-shadow: none !important;
  font-size: .8125rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  transform: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-choice.active {
  border-color: #248578 !important;
  color: #00243f !important;
  background: #d8f1e8 !important;
  box-shadow: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-choice img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 9px !important;
  object-fit: cover !important;
  object-position: var(--home-photo-position, center) !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake :is(.today-memory-cover-open, .today-memory-relive-button, .today-memory-note, .today-memory-choice):focus-visible {
  outline: 3px solid #248578 !important;
  outline-offset: 3px !important;
}

@media (hover: hover) {
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-relive-button:hover {
    background: #def0e7 !important;
  }
}

@media (max-width: 350px) {
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .today-memory-card.home-today-keepsake {
    padding: 14px !important;
    gap: 12px !important;
  }
}

@media (min-width: 740px) {
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-main {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    grid-template-rows: auto !important;
    gap: 24px !important;
  }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-main.has-text-only {
    grid-template-columns: 128px minmax(0, 1fr) !important;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .today-memory-card.home-today-keepsake {
    padding: 14px 18px !important;
    gap: 12px !important;
  }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-main {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important;
    grid-template-rows: auto !important;
    gap: 18px !important;
  }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-main.has-text-only {
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-text-fallback {
    height: 96px !important;
    padding: 8px !important;
  }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-text-fallback-mappi {
    width: 66px !important;
    height: 80px !important;
  }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-photo {
    max-height: 220px !important;
  }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-copy {
    gap: 8px !important;
  }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-title {
    font-size: 1.3rem !important;
  }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake .today-memory-footer {
    padding-top: 10px !important;
  }
}

/* A slide swaps atomically; its reading region settles without blanking the
   header, paging rail or the whole Home section during the handoff. */
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake * {
  animation: none !important;
  animation-delay: 0s !important;
}

html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay.is-arriving-memory .home-today-keepsake .today-memory-main {
  animation: home-today-keepsake-arrive 160ms ease-out both !important;
}

@keyframes home-today-keepsake-arrive {
  from { filter: brightness(.97); }
  to { filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake *,
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay#homeMemoryOfDay .home-today-keepsake {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
