/* One quiet daily note. Every rule is scoped to the no-today-memory prompt;
   first memories, drafts, trips, saved places and actual Today photos retain
   their own layouts. Intrinsic sizing prevents rotation from inflating art. */
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-living-card.is-prompt.home-daily-invitation {
  box-sizing: border-box !important;
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: clamp(20px, 3vw, 30px) !important;
  overflow: hidden !important;
  border: 1px solid #ccdfdc !important;
  border-radius: 24px !important;
  background: radial-gradient(ellipse at 50% 0, #e1f5ed 0, transparent 52%), #fcfefa !important;
  box-shadow: 0 8px 24px rgba(0, 36, 63, .055), inset 0 1px 0 #fff !important;
  text-align: center !important;
}
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-daily-invitation::after {
  display: none !important;
  content: none !important;
}
html body #homeMemoryOfDay .home-daily-heading {
  display: grid;
  /* A single reading column keeps the copy on the card's true center axis.
     Decorative art never takes a side column away from enlarged words. */
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 0;
}
html body #homeMemoryOfDay .home-daily-heading-copy {
  width: 100%;
  min-width: 0;
  text-align: center;
}
html body #homeMemoryOfDay .home-daily-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin: 0 0 12px;
}
html body #homeMemoryOfDay .home-daily-kicker {
  color: #236a61;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}
html body #homeMemoryOfDay .home-daily-date {
  color: #537370;
  font-size: .72rem;
  font-weight: 550;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-daily-invitation .home-daily-heading h2 {
  max-width: 24ch;
  margin: 0 auto;
  color: var(--mymappi-text-primary, #123f46);
  font-family: inherit;
  font-size: clamp(1.55rem, 2.7vw, 1.95rem);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.13;
  text-wrap: balance;
  overflow-wrap: break-word;
  text-align: center;
  text-shadow: none !important;
}
html body #homeMemoryOfDay .home-daily-mappi {
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  place-items: center;
  align-self: center;
}
html body #homeMemoryOfDay .home-daily-mappi img {
  display: block;
  width: 64px;
  height: auto;
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
  filter: none;
}
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-daily-invitation .home-daily-description {
  display: block !important;
  max-width: 52ch !important;
  margin: 12px auto 0 !important;
  overflow: visible !important;
  color: #48696b !important;
  font-size: .88rem !important;
  font-weight: 450 !important;
  line-height: 1.55 !important;
  text-wrap: pretty;
  text-align: center !important;
  text-shadow: none !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}
html body #homeMemoryOfDay .home-daily-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-daily-invitation .home-living-action.home-daily-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  gap: 12px !important;
  border: 1px solid #00243f !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: #00243f !important;
  box-shadow: 0 4px 10px rgba(0, 36, 63, .07) !important;
  font: inherit !important;
  font-size: .82rem !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  white-space: normal !important;
  transform: none !important;
  filter: none !important;
  transition: background-color 140ms ease, border-color 140ms ease !important;
}
html body #homeMemoryOfDay .home-daily-action svg { flex: 0 0 16px; width: 16px; height: 16px; }
html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-daily-invitation .home-daily-action:focus-visible {
  outline: 3px solid #2a9a84 !important;
  outline-offset: 3px !important;
}
@media (hover: hover) {
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-daily-invitation .home-daily-action:hover {
    background: #103e52 !important;
    border-color: #103e52 !important;
  }
}
html body #homeMemoryOfDay .home-daily-private {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: #4c716c;
  font-size: .71rem;
  font-weight: 550;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}
html body #homeMemoryOfDay .home-daily-private svg { flex: 0 0 13px; width: 13px; height: 13px; }
@media (max-width: 360px) {
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-living-card.is-prompt.home-daily-invitation { padding: 18px !important; }
  html body #homeMemoryOfDay .home-daily-mappi img { width: 56px; max-height: 76px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-living-card.is-prompt.home-daily-invitation { padding: 12px 24px !important; }
  /* Mappi joins the compact metadata row, never a side column beside the
     headline. The complete text and action keep the card's center axis. */
  html body #homeMemoryOfDay .home-daily-mappi { flex: 0 0 24px; width: 24px; }
  html body #homeMemoryOfDay .home-daily-mappi img { width: 24px; max-height: 24px; }
  html body #homeMemoryOfDay .home-daily-topline { gap: 6px 8px; margin-bottom: 6px; }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-daily-invitation .home-daily-heading h2 { max-width: 30ch; font-size: 1.55rem; }
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-daily-invitation .home-daily-description { margin-top: 6px !important; }
  html body #homeMemoryOfDay .home-daily-bottom { gap: 6px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html body main.app-shell section.map-stage.home-focus #homeDashboard #homeMemoryOfDay .home-daily-invitation .home-daily-action { transition: none !important; }
}
