/* Today's Memory: one adaptive, photo-first information panel. */
html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy {
  position: absolute !important;
  right: auto !important;
  bottom: clamp(14px, 2.2vw, 20px) !important;
  left: 50% !important;
  z-index: 7 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto auto !important;
  grid-template-areas:
    "title action"
    "meta action"
    "note action" !important;
  align-items: center !important;
  justify-items: start !important;
  box-sizing: border-box !important;
  width: min(500px, calc(100% - 34px)) !important;
  max-width: min(500px, calc(100% - 34px)) !important;
  min-height: 0 !important;
  padding: 12px 12px 12px 17px !important;
  gap: 4px 13px !important;
  overflow: hidden !important;
  border: 1px solid rgba(232, 255, 249, 0.25) !important;
  border-radius: 21px !important;
  color: #f8fffc !important;
  background:
    radial-gradient(circle at 12% -20%, rgba(255, 255, 255, 0.19), transparent 42%),
    linear-gradient(135deg, rgba(2, 35, 48, 0.84), rgba(5, 91, 83, 0.72)) !important;
  box-shadow:
    0 18px 38px rgba(1, 22, 30, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  text-align: left !important;
  text-shadow: 0 2px 13px rgba(0, 0, 0, 0.18) !important;
  transform: translateX(-50%) !important;
  backdrop-filter: blur(18px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
  pointer-events: none !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy::before,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy::before {
  position: absolute !important;
  top: 14px !important;
  bottom: 14px !important;
  left: 7px !important;
  width: 3px !important;
  content: "" !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ff7b72, var(--today-memory-accent, #18a978)) !important;
  box-shadow: 0 0 14px color-mix(in srgb, var(--today-memory-accent, #18a978) 38%, transparent) !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-title,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-title {
  grid-area: title !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(1.06rem, 2vw, 1.38rem) !important;
  font-weight: 920 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row {
  grid-area: meta !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  justify-self: start !important;
  text-align: left !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row > small,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row > small {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  gap: 3px !important;
  color: rgba(239, 255, 251, 0.88) !important;
  font-size: 0.72rem !important;
  font-weight: 720 !important;
  line-height: 1.18 !important;
  text-align: left !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-place-date,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-place-date {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  gap: 5px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html body #homeMemoryOfDay .today-memory-place-marker {
  position: relative !important;
  display: inline-block !important;
  width: 8px !important;
  min-width: 8px !important;
  height: 8px !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% 50% 50% 0 !important;
  background: #f86568 !important;
  box-shadow: 0 0 0 3px rgba(248, 101, 104, 0.13) !important;
  transform: rotate(-45deg) !important;
}

html body #homeMemoryOfDay .today-memory-place-text {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body #homeMemoryOfDay .today-memory-meta-separator {
  flex: 0 0 auto !important;
  color: rgba(255, 255, 255, 0.42) !important;
}

html body #homeMemoryOfDay .today-memory-date-full,
html body #homeMemoryOfDay .today-memory-date-compact {
  flex: 0 0 auto !important;
  font-weight: 790 !important;
  white-space: nowrap !important;
}

html body #homeMemoryOfDay .today-memory-date-full { display: inline !important; }
html body #homeMemoryOfDay .today-memory-date-compact { display: none !important; }

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-mood-chip,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-mood-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-height: 20px !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 3px 8px !important;
  gap: 4px !important;
  border: 1px solid color-mix(in srgb, var(--memory-mood-color, #18a978) 42%, rgba(255, 255, 255, 0.32)) !important;
  border-radius: 999px !important;
  color: #f7fffc !important;
  background: color-mix(in srgb, var(--memory-mood-color, #18a978) 24%, rgba(1, 34, 44, 0.52)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  font-size: 0.61rem !important;
  font-weight: 860 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-shadow: none !important;
  white-space: nowrap !important;
}

html body #homeMemoryOfDay .today-memory-mood-prefix {
  color: rgba(246, 255, 252, 0.67) !important;
  font-size: 0.5rem !important;
  font-weight: 810 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

html body #homeMemoryOfDay .today-memory-mood-divider {
  color: rgba(255, 255, 255, 0.42) !important;
}

html body #homeMemoryOfDay .today-memory-mood-value {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-note,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-note {
  grid-area: note !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 18px !important;
  max-height: 1.45em !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 5px !important;
  border: 0 !important;
  color: rgba(250, 255, 253, 0.82) !important;
  font: inherit !important;
  font-size: 0.7rem !important;
  font-weight: 590 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

html body #homeMemoryOfDay .today-memory-note-mark {
  flex: 0 0 auto !important;
  color: #ff8a7d !important;
  font-family: Georgia, serif !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  line-height: 0.8 !important;
  transform: translateY(2px) !important;
}

html body #homeMemoryOfDay .today-memory-note-text {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-note.is-expanded,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-note.is-expanded {
  max-height: 3.2em !important;
  align-items: flex-start !important;
}

html body #homeMemoryOfDay .today-memory-note.is-expanded .today-memory-note-text {
  display: -webkit-box !important;
  white-space: normal !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button {
  grid-area: action !important;
  align-self: center !important;
  justify-self: end !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 14px !important;
  color: #103842 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(224, 250, 243, 0.93)) !important;
  box-shadow:
    0 10px 22px rgba(0, 25, 34, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  font-size: 0.72rem !important;
  font-weight: 920 !important;
  pointer-events: auto !important;
}

/* Dark photographs receive a light glass panel and inverse action. */
html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-copy,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-copy {
  border-color: rgba(255, 255, 255, 0.58) !important;
  color: #103b43 !important;
  background:
    radial-gradient(circle at 12% -20%, rgba(255, 255, 255, 0.88), transparent 44%),
    linear-gradient(135deg, rgba(250, 255, 252, 0.92), rgba(219, 245, 238, 0.86)) !important;
  box-shadow:
    0 18px 38px rgba(1, 22, 30, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.84) !important;
  text-shadow: none !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-title,
html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-meta-row > small,
html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-note,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-title,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-meta-row > small,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-note {
  color: #103b43 !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-meta-separator,
html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-mood-prefix,
html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-mood-divider {
  color: rgba(16, 59, 67, 0.55) !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-mood-chip {
  color: #0d4148 !important;
  background: color-mix(in srgb, var(--memory-mood-color, #18a978) 16%, rgba(255, 255, 255, 0.8)) !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-main.caption-over-dark .today-memory-relive-button {
  border-color: rgba(4, 70, 70, 0.32) !important;
  color: #f6fffc !important;
  background: linear-gradient(145deg, #0b7d75, #075766) !important;
  box-shadow: 0 10px 22px rgba(0, 45, 53, 0.22) !important;
}

@media (max-width: 760px) {
  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy {
    bottom: 10px !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    grid-template-rows: auto auto auto !important;
    grid-template-areas:
      "title action"
      "meta action"
      "note action" !important;
    width: min(340px, calc(100% - 20px)) !important;
    max-width: min(340px, calc(100% - 20px)) !important;
    min-height: 88px !important;
    max-height: 106px !important;
    padding: 9px 9px 9px 14px !important;
    gap: 3px 8px !important;
    border-radius: 17px !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy::before,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy::before {
    top: 11px !important;
    bottom: 11px !important;
    left: 6px !important;
    width: 2px !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-title,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-title {
    font-size: clamp(0.96rem, 4.35vw, 1.08rem) !important;
    line-height: 1.04 !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row > small,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row > small {
    gap: 2px !important;
    font-size: 0.61rem !important;
    line-height: 1.12 !important;
  }

  html body #homeMemoryOfDay .today-memory-copy .today-memory-place-date { gap: 4px !important; }
  html body #homeMemoryOfDay .today-memory-date-full { display: none !important; }
  html body #homeMemoryOfDay .today-memory-date-compact { display: inline !important; }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-mood-chip,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-mood-chip {
    min-height: 17px !important;
    padding: 2px 6px !important;
    gap: 3px !important;
    font-size: 0.54rem !important;
  }

  html body #homeMemoryOfDay .today-memory-mood-prefix {
    font-size: 0.44rem !important;
    letter-spacing: 0.07em !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-note,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-note {
    display: flex !important;
    min-height: 16px !important;
    max-height: 16px !important;
    gap: 4px !important;
    font-size: 0.62rem !important;
    line-height: 1.1 !important;
  }

  html body #homeMemoryOfDay .today-memory-note-mark {
    font-size: 1rem !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 14px !important;
    font-size: 0 !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button::before,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button::before {
    display: none !important;
    content: none !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span {
    font-size: 1.08rem !important;
    line-height: 1 !important;
  }

  html body #homeMemoryOfDay .today-memory-note.is-expanded .today-memory-note-text {
    display: block !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 350px) {
  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    padding-right: 8px !important;
    padding-left: 13px !important;
    gap: 2px 7px !important;
  }
}

/* Build 631: keep the full Relive action polished on web and the compact
   arrow optically centered on smaller screens. */
@media (min-width: 761px) {
  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy {
    padding-right: 120px !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button {
    right: 12px !important;
    width: auto !important;
    min-width: 94px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 14px 0 15px !important;
    gap: 8px !important;
    border-radius: 999px !important;
    font-size: 0.74rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    transform: translateY(-0.5px) !important;
  }
}

@media (max-width: 760px) {
  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button {
    gap: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy {
    transition: none !important;
  }
}

/* Today's Memory v3: calm, centered, and photo-first. */
html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto !important;
  grid-template-areas:
    "title"
    "meta"
    "note" !important;
  align-content: center !important;
  align-items: center !important;
  justify-items: center !important;
  padding: 12px 54px 11px !important;
  gap: 4px !important;
  border-color: rgba(224, 255, 247, 0.23) !important;
  background: linear-gradient(145deg, rgba(3, 42, 52, 0.88), rgba(5, 73, 72, 0.82)) !important;
  box-shadow:
    0 14px 30px rgba(1, 24, 31, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  text-align: center !important;
  text-shadow: none !important;
  backdrop-filter: blur(16px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.08) !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy::before,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy::before {
  display: none !important;
  content: none !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-title,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-title {
  width: 100% !important;
  max-width: 100% !important;
  justify-self: center !important;
  color: #ffffff !important;
  text-align: center !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row {
  width: 100% !important;
  justify-self: stretch !important;
  text-align: center !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row > small,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row > small {
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: center !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-place-date,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-place-date {
  width: fit-content !important;
  max-width: 100% !important;
  justify-content: center !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-mood-chip,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-mood-chip {
  align-self: center !important;
  justify-content: center !important;
  min-height: 16px !important;
  padding: 1px 0 !important;
  border: 0 !important;
  color: rgba(247, 255, 252, 0.9) !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: center !important;
}

html body #homeMemoryOfDay .today-memory-mood-chip::before {
  display: block !important;
  width: 5px !important;
  height: 5px !important;
  flex: 0 0 5px !important;
  content: "" !important;
  border-radius: 50% !important;
  background: var(--memory-mood-color, #18a978) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--memory-mood-color, #18a978) 16%, transparent) !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-note,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-note {
  justify-content: center !important;
  text-align: center !important;
}

html body #homeMemoryOfDay .today-memory-note-mark {
  display: none !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button {
  position: absolute !important;
  top: 50% !important;
  right: 11px !important;
  bottom: auto !important;
  left: auto !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-color: rgba(229, 255, 248, 0.26) !important;
  border-radius: 50% !important;
  color: #f5fffc !important;
  background: rgba(224, 255, 247, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13) !important;
  font-size: 0 !important;
  transform: translateY(-50%) !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span {
  font-size: 1rem !important;
  line-height: 1 !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-copy,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-copy {
  border-color: rgba(224, 255, 247, 0.23) !important;
  color: #ffffff !important;
  background: linear-gradient(145deg, rgba(3, 42, 52, 0.88), rgba(5, 73, 72, 0.82)) !important;
  box-shadow:
    0 14px 30px rgba(1, 24, 31, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-title,
html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-meta-row > small,
html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-note,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-title,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-meta-row > small,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-note {
  color: #ffffff !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-mood-chip,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-mood-chip {
  color: rgba(247, 255, 252, 0.9) !important;
  background: transparent !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-relive-button,
html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-main.caption-over-dark .today-memory-relive-button {
  border-color: rgba(229, 255, 248, 0.26) !important;
  color: #f5fffc !important;
  background: rgba(224, 255, 247, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13) !important;
}

@media (max-width: 760px) {
  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy {
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "title"
      "meta" !important;
    min-height: 72px !important;
    max-height: 88px !important;
    padding: 10px 54px 9px !important;
    gap: 4px !important;
    border-radius: 18px !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-title,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-title {
    font-size: clamp(0.92rem, 4.1vw, 1.04rem) !important;
    line-height: 1.06 !important;
  }

  html body #homeMemoryOfDay .today-memory-place-marker {
    display: none !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row > small,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-meta-row > small {
    gap: 3px !important;
    font-size: 0.61rem !important;
    line-height: 1.1 !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-mood-chip,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy .today-memory-mood-chip {
    min-height: 14px !important;
    padding: 0 !important;
    gap: 4px !important;
    font-size: 0.55rem !important;
  }

  html body #homeMemoryOfDay .today-memory-mood-prefix {
    font-size: 0.46rem !important;
    letter-spacing: 0.06em !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-note,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-note,
  html body #homeMemoryOfDay .today-memory-chip-row {
    display: none !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button {
    right: 10px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }
}

@media (max-width: 350px) {
  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy {
    padding-right: 50px !important;
    padding-left: 50px !important;
    gap: 3px !important;
  }
}

/* Final Build 631 web/mobile Relive alignment overrides. */
@media (min-width: 761px) {
  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-copy {
    padding-right: 120px !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button {
    right: 12px !important;
    width: auto !important;
    min-width: 94px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 14px 0 15px !important;
    gap: 8px !important;
    border-radius: 999px !important;
    font-size: 0.74rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    transform: translateY(-0.5px) !important;
  }
}

@media (max-width: 760px) {
  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button {
    gap: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.has-today-memory .today-memory-relive-button > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    transform: none !important;
  }
}
