/* Memory Echo and Life Chapters: final premium home treatment. */

html body .app-shell .map-stage.home-focus #homeOnThisDay,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay,
html body .app-shell .map-stage.home-focus #homeJourney,
html body main.app-shell section.map-stage.home-focus #homeJourney {
  isolation: isolate;
}

/* Memory Echo is one discovered keepsake, not another dashboard card. */
html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "reason action"
    "body action"
    "progress progress" !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 174px !important;
  padding: 19px 20px 16px !important;
  gap: 10px 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  border-radius: 22px !important;
  color: #123948 !important;
  background:
    linear-gradient(112deg, rgba(255, 253, 248, 0.98), rgba(242, 251, 248, 0.97) 60%, color-mix(in srgb, var(--echo-accent, #1a9f80) 9%, #eff8f5)) !important;
  box-shadow:
    0 20px 44px rgba(14, 76, 82, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  transform: translateZ(0) !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card::before,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 4px !important;
  border-radius: 22px 0 0 22px !important;
  background: var(--echo-accent, #1a9f80) !important;
  opacity: 0.82 !important;
  pointer-events: none !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card::after,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card::after {
  content: "" !important;
  position: absolute !important;
  top: -58px !important;
  right: 66px !important;
  width: 150px !important;
  height: 150px !important;
  border-radius: 50% !important;
  background: color-mix(in srgb, var(--echo-accent, #1a9f80) 9%, transparent) !important;
  filter: blur(18px) !important;
  pointer-events: none !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-reason-stack,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-reason-stack {
  grid-area: reason !important;
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  gap: 7px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-reason,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-reason {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 5px 9px !important;
  border: 1px solid color-mix(in srgb, var(--echo-accent, #1a9f80) 24%, white) !important;
  border-radius: 999px !important;
  color: #0c5a62 !important;
  background: color-mix(in srgb, var(--echo-accent, #1a9f80) 10%, white) !important;
  font-size: 0.67rem !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-simplified,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-simplified {
  min-height: 158px !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-simplified .memory-echo-reason,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-simplified .memory-echo-reason {
  min-height: 24px !important;
  padding: 4px 8px !important;
  border-color: color-mix(in srgb, var(--echo-accent, #1a9f80) 15%, white) !important;
  color: #58737b !important;
  background: color-mix(in srgb, var(--echo-accent, #1a9f80) 5%, white) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-why,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-why,
html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-why-now,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-why-now {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #57727b !important;
  font-size: 0.72rem !important;
  font-style: normal !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-why-now,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-why-now {
  color: #789097 !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-body,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-body {
  grid-area: body !important;
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  align-items: center !important;
  min-width: 0 !important;
  gap: 15px !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-thumb,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-thumb {
  position: relative !important;
  display: block !important;
  width: 112px !important;
  height: 88px !important;
  min-width: 112px !important;
  min-height: 88px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 3px solid rgba(255, 255, 255, 0.94) !important;
  border-radius: 16px !important;
  background: #dfeeea !important;
  box-shadow: 0 10px 22px rgba(9, 70, 78, 0.14) !important;
  transform: none !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-thumb img,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-thumb img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 7s ease !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-thumb.is-clickable {
  cursor: pointer !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-thumb.is-clickable:hover img,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-thumb.is-clickable:hover img {
  transform: scale(1.04) !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-copy-main,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-copy-main {
  display: grid !important;
  min-width: 0 !important;
  gap: 5px !important;
  text-align: left !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-copy-main strong,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-copy-main strong {
  margin: 0 !important;
  overflow: hidden !important;
  color: #0a3f50 !important;
  font-size: clamp(1.05rem, 2vw, 1.28rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.12 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-copy-main small,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-copy-main small {
  display: -webkit-box !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #526e77 !important;
  font-size: 0.8rem !important;
  font-weight: 570 !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-relive,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-relive {
  grid-area: action !important;
  position: relative !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 108px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0c5366, #159879) !important;
  box-shadow: 0 11px 22px rgba(6, 74, 84, 0.18) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-relive:hover,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-relive:hover {
  box-shadow: 0 14px 28px rgba(6, 74, 84, 0.24) !important;
  transform: translateY(-2px) !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-progress,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-progress {
  grid-area: progress !important;
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  height: 2px !important;
  margin-top: 2px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: rgba(12, 83, 102, 0.09) !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-progress > span,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-progress > span {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, var(--echo-accent, #1a9f80), #1783a2) !important;
  transform-origin: left !important;
  animation: premiumEchoProgress 9s linear infinite !important;
}

@keyframes premiumEchoProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* The first-account Echo keeps Mappi cleanly framed and intentionally small. */
html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-empty-mappi,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-empty-mappi {
  background: linear-gradient(145deg, #dff5ef, #dcecf8) !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-empty-mappi img,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-empty-mappi img {
  object-fit: contain !important;
  object-position: center 38% !important;
  transform: scale(0.92) !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "reason"
    "body"
    "action" !important;
  justify-items: stretch !important;
  min-height: 218px !important;
  gap: 12px !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-reason-stack,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-reason-stack {
  justify-content: center !important;
  justify-self: center !important;
  width: min(100%, 580px) !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-body,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-body {
  grid-template-columns: 112px minmax(0, 390px) !important;
  justify-content: center !important;
  width: 100% !important;
}

html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-relive,
html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-relive {
  justify-self: center !important;
  width: auto !important;
  min-width: 184px !important;
}

/* Life Chapters becomes a consistent horizontal shelf of storybooks. */
html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-shelf,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-shelf {
  position: relative !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-row,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-row {
  display: grid !important;
  grid-auto-columns: minmax(304px, 342px) !important;
  grid-auto-flow: column !important;
  align-items: stretch !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 4px 2px 14px !important;
  gap: 15px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  overscroll-behavior-inline: contain !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-row::-webkit-scrollbar,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-row::-webkit-scrollbar {
  display: none !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-card,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-card {
  position: relative !important;
  display: grid !important;
  grid-template-rows: 184px auto !important;
  align-content: start !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden !important;
  scroll-snap-align: start !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 22px !important;
  color: #123948 !important;
  background: rgba(255, 253, 248, 0.97) !important;
  box-shadow:
    0 18px 38px rgba(12, 67, 78, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  transform: translateZ(0) !important;
  transition: transform 220ms ease, box-shadow 220ms ease !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-card::before,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  z-index: 5 !important;
  width: 4px !important;
  border-radius: 22px 0 0 22px !important;
  background: var(--chapter-accent, #169778) !important;
  opacity: 0.88 !important;
  pointer-events: none !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-card::after,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-card::after {
  display: none !important;
  content: none !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-card:hover,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-card:hover {
  box-shadow: 0 23px 46px rgba(12, 67, 78, 0.16) !important;
  transform: translateY(-3px) !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-cover,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-cover {
  position: relative !important;
  width: 100% !important;
  height: 184px !important;
  min-height: 184px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #dbeee9, #d9eaf4) !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-cover > img,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-cover > img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: saturate(0.94) contrast(1.03) !important;
  transform: scale(1.001) !important;
  transition: transform 7s ease !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-card:hover .life-chapter-cover > img,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-card:hover .life-chapter-cover > img {
  transform: scale(1.045) !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-cover::after,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-cover::after {
  content: "" !important;
  position: absolute !important;
  inset: 34% 0 0 !important;
  z-index: 1 !important;
  background: linear-gradient(180deg, transparent, rgba(3, 28, 39, 0.2) 34%, rgba(3, 28, 39, 0.84)) !important;
  pointer-events: none !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-count-badge,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-count-badge {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: baseline !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 27px !important;
  padding: 5px 9px !important;
  gap: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.36) !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: rgba(3, 31, 42, 0.64) !important;
  box-shadow: 0 7px 18px rgba(2, 26, 36, 0.18) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-count-badge strong,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-count-badge strong,
html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-count-badge small,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-count-badge small {
  margin: 0 !important;
  color: inherit !important;
  font-size: 0.65rem !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-cover-caption,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-cover-caption {
  position: absolute !important;
  right: 16px !important;
  bottom: 14px !important;
  left: 16px !important;
  z-index: 3 !important;
  display: grid !important;
  min-width: 0 !important;
  padding: 0 !important;
  gap: 4px !important;
  color: #fff !important;
  text-align: left !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-cover-caption > span,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-cover-caption > span {
  color: rgba(236, 255, 250, 0.88) !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-cover-caption > strong,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-cover-caption > strong {
  margin: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: 820 !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-cover-caption > small,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-cover-caption > small {
  overflow: hidden !important;
  color: rgba(244, 253, 255, 0.86) !important;
  font-size: 0.7rem !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-copy,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-copy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "meta previews"
    "actions actions" !important;
  align-items: center !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 14px !important;
  gap: 13px !important;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.99), color-mix(in srgb, var(--chapter-accent, #169778) 5%, #f7fbf9)) !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-meta,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-meta {
  grid-area: meta !important;
  display: grid !important;
  min-width: 0 !important;
  gap: 3px !important;
  text-align: left !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-meta > span,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-meta > span {
  overflow: hidden !important;
  color: #174b58 !important;
  font-size: 0.73rem !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-meta > small,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-meta > small {
  overflow: hidden !important;
  color: #728990 !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-preview-row,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-preview-row {
  grid-area: previews !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  min-width: 0 !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 0 0 7px !important;
  gap: 0 !important;
  overflow: visible !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-preview,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-preview {
  position: relative !important;
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  margin-left: -7px !important;
  overflow: hidden !important;
  border: 2px solid #fff !important;
  border-radius: 10px !important;
  background: #dceee8 !important;
  box-shadow: 0 6px 13px rgba(5, 57, 67, 0.12) !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-preview:first-child,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-preview:first-child {
  margin-left: 0 !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-preview img,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-preview img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-actions,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-actions {
  grid-area: actions !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-actions button,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  border-radius: 12px !important;
  font-size: 0.72rem !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-relive,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-relive {
  border: 1px solid rgba(255, 255, 255, 0.36) !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0c5366, #159879) !important;
  box-shadow: 0 8px 18px rgba(7, 77, 84, 0.16) !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-relive > span,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-relive > span {
  display: none !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-relive > em,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-relive > em {
  margin-left: 5px !important;
  color: inherit !important;
  font-style: normal !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-open,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-open {
  border: 1px solid rgba(13, 82, 96, 0.14) !important;
  color: #174c59 !important;
  background: rgba(231, 245, 241, 0.84) !important;
  box-shadow: none !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-scroll,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-scroll {
  z-index: 8 !important;
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: rgba(5, 53, 66, 0.86) !important;
  box-shadow: 0 8px 20px rgba(5, 53, 66, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* New-account Life Chapters is an elegant blank storybook, not sample clutter. */
html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-empty,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-empty {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(214px, 0.8fr) minmax(0, 1.2fr) !important;
  grid-template-areas:
    "starter copy"
    "starter action" !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 214px !important;
  padding: 22px !important;
  gap: 10px 26px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(230, 247, 241, 0.96)) !important;
  box-shadow: 0 18px 38px rgba(12, 67, 78, 0.1) !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-starter-grid,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-starter-grid {
  grid-area: starter !important;
  position: relative !important;
  display: block !important;
  width: 210px !important;
  height: 160px !important;
  margin: 0 auto !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-starter-card,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-starter-card {
  position: absolute !important;
  top: 6px !important;
  left: 28px !important;
  display: block !important;
  width: 154px !important;
  height: 142px !important;
  overflow: hidden !important;
  border: 3px solid rgba(255, 255, 255, 0.94) !important;
  border-radius: 17px !important;
  background: #dceee8 !important;
  box-shadow: 0 14px 28px rgba(8, 65, 76, 0.14) !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-starter-card.starter-1,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-starter-card.starter-1 {
  transform: translateX(-24px) rotate(-7deg) scale(0.9) !important;
  opacity: 0.76 !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-starter-card.starter-2,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-starter-card.starter-2 {
  z-index: 2 !important;
  transform: none !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-starter-card.starter-3,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-starter-card.starter-3 {
  transform: translateX(24px) rotate(7deg) scale(0.9) !important;
  opacity: 0.76 !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-starter-card img,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-starter-card img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-starter-card::after,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-starter-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 42% 0 0 !important;
  background: linear-gradient(transparent, rgba(3, 34, 43, 0.78)) !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-starter-card strong,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-starter-card strong {
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  left: 10px !important;
  z-index: 2 !important;
  overflow: hidden !important;
  color: #fff !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-empty-copy,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-empty-copy {
  grid-area: copy !important;
  display: grid !important;
  min-width: 0 !important;
  gap: 6px !important;
  text-align: left !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-empty-copy > span,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-empty-copy > span {
  color: #14836f !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-empty-copy > strong,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-empty-copy > strong {
  color: #0b4352 !important;
  font-size: clamp(1.06rem, 2vw, 1.28rem) !important;
  font-weight: 820 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-empty-copy > small,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-empty-copy > small {
  max-width: 33rem !important;
  color: #58747c !important;
  font-size: 0.78rem !important;
  font-weight: 570 !important;
  line-height: 1.45 !important;
}

html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-empty-action,
html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-empty-action {
  grid-area: action !important;
  justify-self: start !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 10px 15px !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0c5366, #159879) !important;
  box-shadow: 0 10px 20px rgba(7, 77, 84, 0.17) !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
}

@media (max-width: 720px), (hover: none) and (pointer: coarse) and (max-width: 1024px) {
  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "reason reason"
      "body body"
      "action action"
      "progress progress" !important;
    min-height: 0 !important;
    padding: 16px !important;
    gap: 11px !important;
    border-radius: 20px !important;
  }

  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-reason-stack,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-reason-stack {
    width: 100% !important;
  }

  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-why-now,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-why-now {
    display: none !important;
  }

  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-body,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-body {
    grid-template-columns: 94px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-thumb,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-thumb {
    width: 94px !important;
    height: 80px !important;
    min-width: 94px !important;
    min-height: 80px !important;
    border-radius: 14px !important;
  }

  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-copy-main strong,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-copy-main strong {
    font-size: 0.98rem !important;
  }

  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-copy-main small,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-copy-main small {
    font-size: 0.72rem !important;
  }

  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-relive,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-relive {
    justify-self: center !important;
    width: min(100%, 188px) !important;
    min-height: 40px !important;
  }

  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty {
    min-height: 0 !important;
  }

  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-body,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-feature-card.is-empty .memory-echo-body {
    grid-template-columns: 94px minmax(0, 1fr) !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-row,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-row {
    grid-auto-columns: min(82vw, 304px) !important;
    gap: 12px !important;
    padding: 3px 1px 12px !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-card,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-card {
    grid-template-rows: 166px auto !important;
    border-radius: 20px !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-cover,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-cover {
    height: 166px !important;
    min-height: 166px !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-copy,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-copy {
    padding: 12px !important;
    gap: 11px !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-preview,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-preview {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-scroll,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-scroll {
    display: none !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-empty,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-empty {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "starter"
      "copy"
      "action" !important;
    min-height: 0 !important;
    padding: 18px 15px !important;
    gap: 11px !important;
    border-radius: 20px !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-starter-grid,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-starter-grid {
    width: 174px !important;
    height: 124px !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-starter-card,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-starter-card {
    top: 4px !important;
    left: 24px !important;
    width: 126px !important;
    height: 112px !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-empty-copy,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-empty-copy {
    justify-items: center !important;
    text-align: center !important;
  }

  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-empty-action,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-empty-action {
    justify-self: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-progress > span,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-progress > span {
    animation: none !important;
    transform: scaleX(1) !important;
  }

  html body .app-shell .map-stage.home-focus #homeOnThisDay .memory-echo-thumb img,
  html body main.app-shell section.map-stage.home-focus #homeOnThisDay .memory-echo-thumb img,
  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-cover > img,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-cover > img,
  html body .app-shell .map-stage.home-focus #homeJourney .life-chapter-card,
  html body main.app-shell section.map-stage.home-focus #homeJourney .life-chapter-card {
    transition: none !important;
  }
}
