/* Build 695: a premium first-use path and centered first-save celebration. */

html body .app-shell #homeStarter.home-starter-section {
  display: none !important;
}

html body .app-shell .map-stage.home-focus #homeDashboard.home-dashboard.is-empty-home:not(.is-hydrating) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: min(calc(100% - 32px), 680px) !important;
  min-height: 100svh !important;
  margin-inline: auto !important;
  margin-block: 0 !important;
  padding: clamp(108px, 15vh, 150px) 0 clamp(42px, 8vh, 76px) !important;
  gap: 0 !important;
}

html body .app-shell .map-stage.home-focus #homeDashboard.home-dashboard.is-empty-home:not(.is-hydrating) > #homeStarter.home-starter-section {
  position: relative !important;
  isolation: isolate !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: min(100%, 620px) !important;
  min-height: 500px !important;
  margin: 0 auto !important;
  padding: clamp(32px, 4vw, 40px) clamp(30px, 6vw, 64px) !important;
  gap: clamp(16px, 2vw, 20px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(13, 105, 96, 0.12) !important;
  border-radius: 36px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(111, 219, 187, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 254, 250, 0.99), rgba(247, 252, 248, 0.98)) !important;
  box-shadow:
    0 34px 80px rgba(8, 65, 68, 0.12),
    0 3px 12px rgba(8, 65, 68, 0.045),
    inset 0 1px rgba(255, 255, 255, 0.96) !important;
}

html body .app-shell .map-stage.home-focus #homeStarter.home-starter-section::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  width: min(170px, 36%) !important;
  height: 3px !important;
  border-radius: 0 0 999px 999px !important;
  background: linear-gradient(90deg, #25a980, #74d5ad) !important;
  transform: translateX(-50%) !important;
}

html body .app-shell .map-stage.home-focus #homeDashboard.is-empty-home:not(.is-hydrating) > :is(
  #homeMemoryOfDay,
  .home-action-section,
  #homeOnThisDay,
  #homeJourney,
  #homeTimelineStrip,
  .home-mappi-bottom-note
) {
  display: none !important;
}

html body .app-shell .map-stage.home-focus.has-empty-home .hero-copy,
html body .app-shell .map-stage.home-focus.has-empty-home .bottom-nav,
html body .app-shell .map-stage.home-focus.has-empty-home .topbar-actions,
html body .app-shell .map-stage.home-focus.has-empty-home .avatar-button,
html body .app-shell .map-stage.home-focus.has-empty-home .home-background,
html body .app-shell .map-stage.home-focus.has-empty-home .pin-network,
html body .app-shell .map-stage.home-focus.has-empty-home .spotlight-cards,
html body .app-shell .map-stage.home-focus.has-empty-home .favorite-notes,
html body .app-shell .map-stage.home-focus.has-empty-home #categoryMenu .app-menu-section:first-of-type {
  display: none !important;
}

html body main.app-shell section.map-stage.home-focus.has-empty-home header.topbar > .topbar-actions,
html body main.app-shell section.map-stage.home-focus.has-empty-home header.topbar > .topbar-left {
  display: none !important;
}

html body .app-shell .map-stage.home-focus.has-empty-home .topbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: center !important;
  justify-items: center !important;
}

html body .app-shell .map-stage.home-focus.has-empty-home .topbar::after {
  content: "" !important;
  display: none !important;
}

html body .app-shell .map-stage.home-focus.has-empty-home .brand {
  justify-self: center !important;
}

html body .app-shell #homeStarter .home-starter-visual {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 102px !important;
  aspect-ratio: 1 !important;
  margin-inline: auto !important;
  border: 1px solid rgba(16, 139, 119, 0.09) !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg, rgba(235, 250, 243, 0.92), rgba(219, 244, 233, 0.72)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.92) !important;
}

html body .app-shell #homeStarter .home-starter-visual::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border: 1px solid rgba(11, 126, 111, 0.07);
  border-radius: 50%;
}

html body .app-shell #homeStarter .home-starter-visual img {
  display: block !important;
  width: 88px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 12px 16px rgba(5, 63, 71, 0.13)) !important;
}

html body .app-shell #homeStarter .home-starter-copy {
  display: grid !important;
  justify-items: center !important;
  min-width: 0 !important;
  width: 100% !important;
  gap: 10px !important;
  text-align: center !important;
}

html body .app-shell #homeStarter .home-starter-eyebrow {
  color: #16816f !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

html body .app-shell #homeStarter h2 {
  max-width: 15ch !important;
  margin: 0 !important;
  color: #123f48 !important;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem) !important;
  font-weight: 780 !important;
  letter-spacing: -0.052em !important;
  line-height: 1.02 !important;
  text-wrap: balance !important;
}

html body .app-shell #homeStarter .home-starter-copy > p {
  max-width: 42ch !important;
  margin: 0 !important;
  color: #5f777b !important;
  font-size: clamp(0.95rem, 1.6vw, 1.06rem) !important;
  font-weight: 520 !important;
  line-height: 1.52 !important;
}

html body .app-shell #homeStarter .home-starter-actions {
  display: grid !important;
  width: min(100%, 330px) !important;
  gap: 4px !important;
  margin-top: 5px !important;
}

html body .app-shell #homeStarter :is(.home-starter-primary, .home-starter-secondary) {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) 24px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border-radius: 17px !important;
  font: inherit !important;
  font-size: 0.95rem !important;
  font-weight: 740 !important;
  line-height: 1.15 !important;
  cursor: pointer !important;
}

html body .app-shell #homeStarter .home-starter-primary {
  justify-self: center !important;
  width: min(100%, 308px) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  background: linear-gradient(135deg, #0a5863 0%, #0c8279 58%, #25a873 100%) !important;
  box-shadow: 0 15px 28px rgba(5, 105, 96, 0.2), inset 0 1px rgba(255, 255, 255, 0.18) !important;
}

html body .app-shell #homeStarter .home-starter-primary span:nth-child(2) {
  text-align: center !important;
}

html body .app-shell #homeStarter .home-starter-primary span:last-child {
  justify-self: end !important;
}

html body .app-shell #homeStarter .home-starter-secondary {
  grid-template-columns: 24px minmax(0, 1fr) !important;
  justify-self: center !important;
  width: auto !important;
  min-width: 200px !important;
  min-height: 44px !important;
  padding-block: 8px !important;
  color: #2c6768 !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .app-shell #homeStarter .home-starter-assurance {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  justify-content: center !important;
  color: #7b8d8d !important;
  font-size: 0.74rem !important;
  font-weight: 620 !important;
  line-height: 1.3 !important;
}

html body .app-shell #homeStarter :is(button, a):focus-visible,
html body .first-time-onboarding-card button:focus-visible,
html body .memory-editor .first-memory-details-toggle:focus-visible {
  outline: 3px solid rgba(55, 210, 175, 0.48) !important;
  outline-offset: 3px !important;
}

/* The welcome overlay now teaches one decision instead of three steps. */
html body .first-time-onboarding .first-time-onboarding-progress {
  display: none !important;
}

html body .first-time-onboarding .first-time-onboarding-card {
  min-height: 0 !important;
  max-height: min(720px, calc(100dvh - 32px)) !important;
  padding: clamp(24px, 4vw, 40px) !important;
  gap: 18px !important;
}

html body .first-time-onboarding .first-time-onboarding-copy {
  gap: 10px !important;
}

html body .first-time-onboarding .first-time-onboarding-copy h2 {
  max-width: 14ch !important;
  margin-inline: auto !important;
  text-wrap: balance !important;
}

html body .first-time-onboarding .first-time-onboarding-copy > p {
  max-width: 38ch !important;
  margin-inline: auto !important;
  color: #55747a !important;
  font-weight: 540 !important;
  line-height: 1.5 !important;
}

html body .first-time-onboarding .first-time-onboarding-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: min(100%, 380px) !important;
  margin-inline: auto !important;
  gap: 10px !important;
}

html body .first-time-onboarding .first-time-onboarding-actions button {
  width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  border-radius: 17px !important;
}

html body .first-time-onboarding #firstTimeOnboardingPrimary {
  order: -1 !important;
}

/* First memory and active-trip capture ask only for the essentials first. */
html body .app-shell #memoryForm.memory-editor .first-memory-details-toggle {
  box-sizing: border-box !important;
  align-items: center !important;
  grid-template-columns: 24px minmax(0, 1fr) 22px !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 2px 0 0 !important;
  padding: 11px 15px !important;
  border: 1px solid rgba(8, 123, 114, 0.16) !important;
  border-radius: 17px !important;
  color: #0a6267 !important;
  background: rgba(241, 251, 247, 0.92) !important;
  font: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 740 !important;
  text-align: left !important;
}

html body .app-shell #memoryForm.memory-editor .first-memory-details-toggle:not([hidden]) {
  display: grid !important;
}

html body .app-shell #memoryForm.memory-editor .first-memory-details-toggle span:last-child {
  justify-self: end !important;
  transition: transform 180ms ease !important;
}

html body .app-shell #memoryForm.memory-editor.details-open .first-memory-details-toggle span:last-child {
  transform: rotate(180deg) !important;
}

html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-editor-progress,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-flow-step,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-flow-place > .two-col,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) #memoryPeopleChips,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-flow-place > .location-confidence,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-flow-story > .memory-story-field,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-flow-story > .mappi-story-tip,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-flow-story > .favorite-toggle,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-flow-feeling,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-media-advanced,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-optional-fields,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .editor-actions .save-step {
  display: none !important;
}

html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) {
  gap: 12px !important;
}

html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-flow-panel {
  margin: 0 !important;
}

html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-flow-story,
html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-flow-media {
  padding-block: 16px !important;
}

html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .memory-title-field input {
  min-height: 56px !important;
}

html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .editor-actions {
  padding-top: 4px !important;
}

html body .app-shell #memoryForm.memory-editor.is-progressive-capture:not(.details-open) .editor-actions .save-memory-note {
  margin-block: 0 8px !important;
}

/* The first save becomes a centered milestone before the full map takes over. */
html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup[data-kind="success"] {
  position: fixed !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  z-index: 1800 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: auto auto auto auto !important;
  justify-items: stretch !important;
  box-sizing: border-box !important;
  width: min(410px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 32px) !important;
  margin: 0 !important;
  padding: 28px 26px 24px !important;
  gap: 10px 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(215, 255, 242, 0.24) !important;
  border-radius: 30px !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 50% -16%, rgba(121, 244, 197, 0.32), transparent 44%),
    radial-gradient(circle at 100% 8%, rgba(86, 200, 226, 0.18), transparent 40%),
    linear-gradient(145deg, rgba(3, 40, 52, 0.985), rgba(7, 91, 82, 0.975) 62%, rgba(10, 76, 103, 0.97)) !important;
  box-shadow:
    0 36px 90px rgba(2, 25, 37, 0.34),
    0 12px 30px rgba(8, 127, 108, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.18) !important;
  transform: translate(-50%, calc(-50% + 18px)) scale(0.98) !important;
  transform-origin: 50% 50% !important;
  backdrop-filter: blur(22px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.08) !important;
}

html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup[data-kind="success"]::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  width: 118px !important;
  height: 3px !important;
  border-radius: 0 0 999px 999px !important;
  background: linear-gradient(90deg, #62dab0, #c2ffe6, #62cbdc) !important;
  transform: translateX(-50%) !important;
}

html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup[data-kind="success"].show {
  transform: translate(-50%, -50%) scale(1) !important;
}

html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup > span {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  margin: 0 0 3px !important;
  border-radius: 20px !important;
  color: #064f55 !important;
  background: linear-gradient(145deg, #effff8, #8bf2c8) !important;
  box-shadow:
    0 14px 30px rgba(2, 31, 42, 0.22),
    0 0 0 8px rgba(213, 255, 239, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.9) !important;
}

html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup strong {
  display: block !important;
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  justify-self: center !important;
  max-width: 18ch !important;
  margin: 0 !important;
  overflow: visible !important;
  color: #f8fffc !important;
  font-size: clamp(1.18rem, 3.4vw, 1.36rem) !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.08 !important;
  text-align: center !important;
  text-overflow: clip !important;
  white-space: normal !important;
  text-wrap: balance !important;
}

html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup small {
  display: block !important;
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  justify-self: center !important;
  max-width: 35ch !important;
  margin: 0 0 5px !important;
  overflow: visible !important;
  color: rgba(235, 255, 248, 0.76) !important;
  font-size: 0.79rem !important;
  font-weight: 620 !important;
  line-height: 1.45 !important;
  text-align: center !important;
  text-overflow: clip !important;
  white-space: normal !important;
  text-wrap: balance !important;
  -webkit-line-clamp: unset !important;
}

html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup .memory-confirmation-status {
  display: none !important;
}

html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup :is(.memory-confirmation-view, .memory-confirmation-secondary) {
  box-sizing: border-box !important;
  grid-row: 4 !important;
  align-self: center !important;
  justify-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 11px 13px !important;
  border-radius: 15px !important;
  font: inherit !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup .memory-confirmation-view {
  grid-column: 1 !important;
  color: #073f48 !important;
  border: 1px solid rgba(255, 255, 255, 0.54) !important;
  background: linear-gradient(135deg, #e7fff5, #8cf0c6) !important;
  box-shadow: 0 13px 24px rgba(2, 31, 42, 0.2), inset 0 1px rgba(255, 255, 255, 0.88) !important;
}

html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup .memory-confirmation-secondary {
  grid-column: 2 !important;
  border: 1px solid rgba(123, 226, 198, 0.26) !important;
  color: #effffc !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08) !important;
}

/* Empty Memory Lane offers three paths without making recovery controls loud. */
html body .app-shell .map-stage.memories-focus #memoryList .memory-lane-empty-actions,
html body main.app-shell section.map-stage.memories-focus #memoryList .memory-lane-empty-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: min(100%, 470px) !important;
  gap: 9px !important;
  margin-top: 4px !important;
}

html body .app-shell .map-stage.memories-focus #memoryList .memory-lane-empty-actions > button,
html body main.app-shell section.map-stage.memories-focus #memoryList .memory-lane-empty-actions > button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 13px !important;
  border-radius: 15px !important;
  font: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 760 !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

html body .app-shell .map-stage.memories-focus #memoryList .memory-lane-empty-actions > .primary-button,
html body main.app-shell section.map-stage.memories-focus #memoryList .memory-lane-empty-actions > .primary-button {
  grid-column: 1 / -1 !important;
}

html body .app-shell .map-stage.memories-focus #memoryList .memory-lane-empty-home,
html body main.app-shell section.map-stage.memories-focus #memoryList .memory-lane-empty-home {
  color: #55757a !important;
  border: 1px solid rgba(7, 96, 94, 0.12) !important;
  background: rgba(255, 255, 255, 0.58) !important;
}

@media (max-width: 720px) {
  html body .app-shell .map-stage.home-focus #homeDashboard.home-dashboard.is-empty-home:not(.is-hydrating) {
    width: min(calc(100% - 24px), 520px) !important;
    min-height: 100svh !important;
    padding: max(94px, calc(env(safe-area-inset-top) + 80px)) 0 max(30px, env(safe-area-inset-bottom)) !important;
  }

  html body .app-shell #homeDashboard.home-dashboard.is-empty-home:not(.is-hydrating) > #homeStarter.home-starter-section {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 500px) !important;
    min-height: min(620px, calc(100svh - 124px)) !important;
    margin: 0 auto !important;
    padding: clamp(28px, 6vh, 40px) clamp(22px, 6vw, 34px) !important;
    gap: clamp(16px, 3.2vh, 23px) !important;
    border-radius: 30px !important;
  }

  html body .app-shell #homeStarter .home-starter-visual {
    width: 104px !important;
    aspect-ratio: 1 !important;
  }

  html body .app-shell #homeStarter .home-starter-visual img {
    width: 90px !important;
  }

  html body .app-shell #homeStarter .home-starter-copy {
    justify-items: center !important;
    gap: 12px !important;
    text-align: center !important;
  }

  html body .app-shell #homeStarter h2 {
    max-width: 14ch !important;
    font-size: clamp(1.82rem, 8.2vw, 2.45rem) !important;
    line-height: 1.04 !important;
  }

  html body .app-shell #homeStarter .home-starter-copy > p {
    max-width: 36ch !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  html body .app-shell #homeStarter .home-starter-actions {
    width: 100% !important;
    gap: 5px !important;
  }

  html body .app-shell #homeStarter .home-starter-assurance {
    justify-content: center !important;
    font-size: 0.7rem !important;
  }

  html body .first-time-onboarding .first-time-onboarding-card {
    width: min(100% - 24px, 500px) !important;
    max-height: calc(100dvh - 24px) !important;
    padding: 24px 20px 22px !important;
    overflow-y: auto !important;
  }

  html body .first-time-onboarding .first-time-onboarding-visual {
    min-height: 126px !important;
  }

  html body .first-time-onboarding .first-time-onboarding-visual img {
    max-height: 132px !important;
  }

  html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup {
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto auto auto !important;
    width: min(390px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 28px) !important;
    padding: 24px 20px 20px !important;
    gap: 9px 10px !important;
    border-radius: 28px !important;
  }
}

@media (max-width: 390px) {
  html body .app-shell #homeDashboard.home-dashboard.is-empty-home:not(.is-hydrating) > #homeStarter.home-starter-section {
    padding-inline: 16px !important;
  }

  html body .app-shell #homeStarter .home-starter-visual {
    width: 88px !important;
  }

  html body .app-shell #homeStarter .home-starter-visual img {
    width: 76px !important;
  }

  html body .app-shell #homeStarter :is(.home-starter-primary, .home-starter-secondary) {
    min-height: 48px !important;
    font-size: 0.88rem !important;
  }

  html body .app-shell #memorySaveConfirmation.memory-save-confirmation.has-followup .memory-confirmation-secondary {
    grid-column: 2 !important;
    grid-row: 4 !important;
    justify-self: stretch !important;
    margin: 0 !important;
  }
}

@media (max-width: 720px) and (max-height: 700px) {
  html body .app-shell #homeDashboard.home-dashboard.is-empty-home:not(.is-hydrating) > #homeStarter.home-starter-section {
    min-height: 0 !important;
    padding-block: 24px !important;
    gap: 13px !important;
  }

  html body .app-shell #homeStarter .home-starter-visual {
    width: 78px !important;
  }

  html body .app-shell #homeStarter .home-starter-visual img {
    width: 68px !important;
  }

  html body .app-shell #homeStarter h2 {
    font-size: clamp(1.6rem, 7vw, 2rem) !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html body .app-shell .map-stage.home-focus #homeDashboard.is-empty-home:not(.is-hydrating) > #homeStarter {
    animation: starterCardArrive 520ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
  }

  html body .app-shell #homeStarter .home-starter-visual img {
    animation: starterMappiFloat 4.8s ease-in-out 700ms infinite !important;
  }

  html body .app-shell #homeStarter :is(.home-starter-primary, .home-starter-secondary) {
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease !important;
  }

  html body .app-shell #homeStarter :is(.home-starter-primary, .home-starter-secondary):hover {
    transform: translateY(-2px) !important;
  }
}

@keyframes starterCardArrive {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes starterMappiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
