/* Final first-run alignment overrides, loaded after the main theme. */
html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-memories-empty.premium-empty-preview,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-memories-empty.premium-empty-preview {
  display: grid !important;
  grid-template-columns: 1fr !important;
  place-items: center !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 10px !important;
  min-height: 150px !important;
  padding: 20px 18px !important;
  text-align: center !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-stack,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-stack {
  position: relative !important;
  width: 84px !important;
  height: 62px !important;
  flex: none !important;
  margin: 0 auto 2px !important;
  transform: none !important;
  transform-origin: center !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-stack span,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-stack span {
  position: absolute !important;
  width: 56px !important;
  height: 50px !important;
  border: 2px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 14px !important;
  box-shadow: 0 9px 18px rgba(7, 64, 82, 0.12) !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-stack span:nth-child(1),
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-stack span:nth-child(1) {
  top: 9px !important;
  left: 3px !important;
  transform: rotate(-8deg) !important;
  background: linear-gradient(145deg, #dff5ef, #cce7f3) !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-stack span:nth-child(2),
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-stack span:nth-child(2) {
  top: 9px !important;
  left: 25px !important;
  transform: rotate(8deg) !important;
  background: linear-gradient(145deg, #e4f2f7, #d7f3e5) !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-stack span:nth-child(3),
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-stack span:nth-child(3) {
  top: 1px !important;
  left: 14px !important;
  transform: none !important;
  background:
    radial-gradient(circle at 72% 25%, #ffd16a 0 4px, transparent 4.5px),
    linear-gradient(152deg, transparent 0 49%, rgba(26, 169, 120, 0.76) 50% 68%, rgba(8, 82, 109, 0.84) 69% 100%),
    linear-gradient(145deg, #e6faf4, #d5ecf7) !important;
  box-shadow: 0 11px 22px rgba(7, 64, 82, 0.16) !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-copy,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-copy {
  display: grid !important;
  place-items: center !important;
  gap: 5px !important;
  width: min(100%, 520px) !important;
  margin: 0 auto !important;
  justify-items: center !important;
  text-align: center !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-copy > small,
html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-copy > strong,
html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-copy > em,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-copy > small,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-copy > strong,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-copy > em {
  display: block !important;
  width: 100% !important;
  max-width: 34rem !important;
  margin: 0 auto !important;
  text-align: center !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-memory-empty-guidance,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-memory-empty-guidance {
  display: grid !important;
  grid-template-columns: 1fr !important;
  place-items: center !important;
  gap: 9px !important;
  padding: 14px 18px !important;
  text-align: center !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon {
  display: grid !important;
  place-items: center !important;
  width: 50px !important;
  height: 50px !important;
  flex: none !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 16px !important;
  color: #fff !important;
  background: linear-gradient(145deg, #0b5265, #18a77c) !important;
  box-shadow:
    0 10px 22px rgba(7, 76, 84, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon .mappi-glyph-cards,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon .mappi-glyph-cards {
  position: relative !important;
  width: 30px !important;
  height: 26px !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon .mappi-glyph-cards::before,
html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon .mappi-glyph-cards::after,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon .mappi-glyph-cards::before,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon .mappi-glyph-cards::after {
  width: 21px !important;
  height: 17px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 6px !important;
  background: linear-gradient(145deg, #f7fffc, #cfeee5) !important;
  box-shadow: 0 4px 9px rgba(3, 47, 61, 0.18) !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon .mappi-glyph-cards::before,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon .mappi-glyph-cards::before {
  transform: translate(-4px, -3px) rotate(-7deg) !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon .mappi-glyph-cards::after,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-empty-guidance-icon .mappi-glyph-cards::after {
  background:
    radial-gradient(circle at 72% 27%, #ffd16a 0 2px, transparent 2.5px),
    linear-gradient(150deg, transparent 0 49%, #22a77c 50% 68%, #177997 69% 100%),
    #e6faf4 !important;
  transform: translate(5px, 4px) rotate(5deg) !important;
}

html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-memory-empty-guidance > span:last-child,
html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-memory-empty-guidance > span:last-child {
  display: grid !important;
  place-items: center !important;
  gap: 3px !important;
  width: min(100%, 520px) !important;
  text-align: center !important;
}

@media (max-width: 680px) {
  html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-memories-empty.premium-empty-preview,
  html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-memories-empty.premium-empty-preview {
    min-height: 154px !important;
    padding: 18px 14px !important;
  }

  html body .app-shell .map-stage.home-focus #homeTimelineStrip .recent-memory-empty-guidance,
  html body main.app-shell section.map-stage.home-focus #homeTimelineStrip .recent-memory-empty-guidance {
    justify-content: center !important;
    justify-items: center !important;
    padding: 13px 14px !important;
  }
}
