/* Build 758: OM Journey V2 — clear worlds, human discovery and a complete return journey. */

/* Keep the world switch as compact and steady as the 2D/3D map instrument.
   The selected-world caption below explains the initials without making the
   permanent control compete with the map. */
html body main.app-shell section.map-stage.map-focus .map-scope-switch {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: minmax(44px, 1fr) !important;
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  gap: 2px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  transform: none !important;
}

html body main.app-shell section.map-stage.map-focus .map-scope-switch button {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  width: 100% !important;
  min-width: 44px !important;
  height: 100% !important;
  min-height: 44px !important;
  align-items: center !important;
  align-content: center !important;
  gap: 1px !important;
  place-items: center !important;
  padding: 0 !important;
  border-radius: 12px !important;
  text-align: center !important;
}

html body .map-scope-abbreviation {
  display: grid !important;
  width: auto;
  height: auto;
  place-items: center;
  border-radius: 0;
  color: rgba(226, 251, 244, 0.82);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.035em;
}

html body main.app-shell section.map-stage.map-focus .map-scope-switch button[aria-pressed="true"] .map-scope-abbreviation {
  color: #08675f;
  background: transparent;
}

/* The drawer grows into a deliberate, safe-area-aware discovery surface. */
html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-discovery-bar:not([hidden]) {
  bottom: calc(var(--bottom-nav-height, 78px) + env(safe-area-inset-bottom, 0px) + 16px) !important;
  display: grid !important;
  width: min(780px, calc(100vw - 24px)) !important;
  max-height: min(620px, calc(100dvh - var(--bottom-nav-height, 78px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 164px)) !important;
  gap: 11px !important;
  padding: 12px 13px 13px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scroll-behavior: smooth !important;
  scrollbar-gutter: stable !important;
  border-radius: 24px !important;
}

html body .our-map-tray-head {
  position: sticky !important;
  z-index: 4 !important;
  top: -12px !important;
  margin: -2px -3px 0 !important;
  padding: 3px 3px 5px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(250, 255, 253, 0.99) 78%, rgba(250, 255, 253, 0)) !important;
}

html body .our-map-discovery-copy strong {
  white-space: normal !important;
}

html body .our-map-discovery-copy small {
  max-width: 40rem !important;
  white-space: normal !important;
}

html body .our-map-worlds-note {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  min-height: 44px;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(13, 132, 115, 0.12);
  border-radius: 15px;
  color: #557273;
  background: linear-gradient(135deg, rgba(229, 248, 241, 0.92), rgba(247, 252, 250, 0.95));
  font-size: 0.61rem;
  line-height: 1.35;
}

html body .our-map-worlds-note > span:first-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 11px;
  color: #087c70;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(6, 94, 86, 0.1);
  font-size: 0.9rem;
  font-weight: 950;
}

html body .our-map-worlds-note strong {
  color: #174b50;
  font-weight: 900;
}

html body .our-map-intent-picker {
  display: grid;
  min-width: 0;
  gap: 8px;
}

html body .our-map-intent-heading {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

html body .our-map-intent-heading h3 {
  margin: 0;
  color: #123f46;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

html body #ourMapAllNearby {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  min-width: max-content;
  min-height: 44px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(14, 128, 114, 0.18);
  border-radius: 14px;
  color: #356465;
  background: #edf8f4;
  font-size: 0.61rem;
  font-weight: 850;
  cursor: pointer;
}

html body #ourMapAllNearby > small {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding-inline: 4px;
  border-radius: 999px;
  color: #527674;
  background: rgba(201, 230, 222, 0.72);
  font-size: 0.52rem;
  font-weight: 920;
}

html body #ourMapAllNearby[aria-pressed="true"] {
  border-color: rgba(14, 128, 114, 0.56);
  color: #ffffff;
  background: linear-gradient(145deg, #087d72, #18aa93);
  box-shadow: 0 7px 16px rgba(5, 94, 87, 0.19);
}

html body #ourMapAllNearby[aria-pressed="true"] > small {
  color: #0a665f;
  background: rgba(231, 255, 247, 0.94);
}

html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-mood-choices {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  overflow: visible !important;
  padding: 0 !important;
}

html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-mood-choices button {
  grid-template-columns: 24px minmax(0, 1fr) auto !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  gap: 6px !important;
  padding: 5px 8px !important;
  border-radius: 15px !important;
  text-align: left !important;
}

html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-mood-choices button > span:first-child {
  display: grid !important;
  width: 24px !important;
  height: 24px !important;
  place-items: center !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.72rem !important;
}

html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-mood-choices button > b {
  overflow: hidden !important;
  font-size: 0.61rem !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-mood-choices button[aria-pressed="true"] > span:first-child {
  background: rgba(255, 255, 255, 0.2) !important;
}

html body :is(#ourMapAllNearby, .our-map-mood-choices button, #ourMapShowAllResults, #ourMapLiveSignInButton):focus-visible {
  outline: 3px solid rgba(6, 126, 113, 0.35) !important;
  outline-offset: 2px !important;
}

html body .our-map-live-sign-in[hidden] {
  display: none !important;
}

html body .our-map-live-sign-in {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(18, 128, 112, 0.17);
  border-radius: 16px;
  color: #174d50;
  background: linear-gradient(135deg, #e8f8f3, #f8fcfa);
  text-align: left;
  cursor: pointer;
}

html body .our-map-live-sign-in > span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(145deg, #087d72, #18aa93);
}

html body .our-map-live-sign-in > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

html body .our-map-live-sign-in strong,
html body .our-map-live-sign-in small {
  display: block;
}

html body .our-map-live-sign-in strong {
  font-size: 0.68rem;
  font-weight: 900;
}

html body .our-map-live-sign-in small {
  color: #687f80;
  font-size: 0.56rem;
  font-weight: 650;
  line-height: 1.3;
}

/* Ranked nearby cards: compact enough to scan, large enough to understand. */
html body .our-map-results {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(20, 112, 104, 0.1);
}

html body .our-map-results-heading {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html body .our-map-results-heading > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

html body .our-map-results-heading small {
  color: #0b8578;
  font-size: 0.51rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html body .our-map-results-heading h3 {
  margin: 0;
  color: #0e3d45;
  font-size: 0.82rem;
  font-weight: 920;
  line-height: 1.15;
}

html body #ourMapShowAllResults {
  min-width: max-content;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(15, 128, 112, 0.14);
  border-radius: 13px;
  color: #0b786e;
  background: #edf8f4;
  font-size: 0.59rem;
  font-weight: 880;
  cursor: pointer;
}

html body .our-map-result-list {
  display: grid;
  grid-auto-columns: clamp(244px, 72vw, 292px);
  grid-auto-flow: column;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(20, 125, 111, 0.24) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  list-style: none;
}

html body .our-map-results-empty {
  grid-column: 1;
  width: min(100%, 340px);
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(19, 128, 112, 0.2);
  border-radius: 16px;
  color: #6a8182;
  background: rgba(240, 249, 246, 0.76);
  font-size: 0.63rem;
  font-weight: 680;
  line-height: 1.4;
  scroll-snap-align: start;
}

html body .our-map-result-card {
  box-sizing: border-box;
  display: grid;
  min-width: 0;
  min-height: 178px;
  align-content: start;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(20, 119, 107, 0.14);
  border-radius: 19px;
  color: #153f46;
  background:
    radial-gradient(circle at 100% 0%, rgba(93, 222, 187, 0.16), transparent 38%),
    #ffffff;
  box-shadow: 0 10px 24px rgba(3, 58, 65, 0.09);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

html body .our-map-result-main {
  display: grid;
  min-width: 0;
  gap: 6px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

html body .our-map-result-source {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 26px;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border-radius: 999px;
  color: #08776d;
  background: #e7f7f2;
  font-size: 0.5rem;
  font-weight: 900;
}

html body .our-map-result-source.is-provider {
  color: #405f8c;
  background: #edf2fb;
}

html body .our-map-data-attribution {
  position: absolute;
  z-index: 719;
  top: 136px;
  left: clamp(18px, 3vw, 28px);
  max-width: min(250px, calc(100% - 36px));
  margin: 0;
  padding: 4px 7px;
  border: 1px solid rgba(9, 93, 89, 0.12);
  border-radius: 999px;
  color: #71868a;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 13px rgba(2, 42, 49, 0.08);
  font-size: 0.5rem;
  font-weight: 690;
  line-height: 1.3;
}

html body .our-map-data-attribution a {
  color: #176f72;
  font-weight: 820;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  html body .our-map-data-attribution {
    position: fixed;
    top: calc(124px + env(safe-area-inset-top, 0px));
    left: max(14px, env(safe-area-inset-left, 0px));
    max-width: calc(100vw - 28px);
  }
}

html body .our-map-result-title {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  color: #0e3a43;
  font-size: 0.86rem;
  font-weight: 920;
  line-height: 1.16;
}

html body .our-map-result-title strong,
html body .our-map-result-main > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .our-map-result-main > small {
  color: #617b7d;
  font-size: 0.56rem;
  font-weight: 720;
}

html body .our-map-result-main > b {
  color: #087d72;
  font-size: 0.58rem;
  font-weight: 900;
}

html body .our-map-result-card-topline,
html body .our-map-result-meta,
html body .our-map-result-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

html body .our-map-result-card-topline {
  justify-content: space-between;
}

html body .our-map-result-trust {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #08776d;
  background: #e7f7f2;
  font-size: 0.5rem;
  font-weight: 900;
}

html body .our-map-result-card h4 {
  margin: 0;
  overflow: hidden;
  color: #0e3a43;
  font-size: 0.86rem;
  font-weight: 920;
  line-height: 1.16;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .our-map-result-meta {
  flex-wrap: wrap;
  color: #617b7d;
  font-size: 0.56rem;
  font-weight: 720;
}

html body .our-map-result-why {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #4d6d70;
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html body .our-map-result-actions {
  align-self: end;
  margin-top: auto;
}

html body .our-map-result-actions button {
  min-height: 44px;
  flex: 1 1 0;
  padding: 0 10px;
  border: 1px solid rgba(15, 128, 112, 0.15);
  border-radius: 13px;
  color: #116f68;
  background: #edf8f4;
  font-size: 0.57rem;
  font-weight: 880;
  cursor: pointer;
}

html body .our-map-result-actions button.is-primary {
  border-color: #087d72;
  color: #ffffff;
  background: linear-gradient(145deg, #087d72, #18aa93);
}

html body .our-map-popup .our-map-popup-action-lane {
  display: grid;
  gap: 6px;
  margin-top: 9px;
  padding: 10px;
  border: 1px solid rgba(15, 128, 112, 0.14);
  border-radius: 14px;
  background: rgba(237, 248, 244, 0.88);
}

html body .our-map-popup .our-map-popup-action-lane > span {
  color: #0b7b70;
  font-size: 0.53rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

html body .our-map-popup .our-map-popup-action-lane > small {
  color: #617a7b;
  font-size: 0.57rem;
  line-height: 1.35;
}

html body .our-map-popup .our-map-popup-action-lane.is-private {
  border-color: rgba(13, 73, 84, 0.16);
  background: linear-gradient(145deg, rgba(13, 72, 82, 0.08), rgba(8, 124, 114, 0.1));
}

/* Account entry follows the existing dark account menu language. */
html body .our-map-contributions-entry {
  grid-template-columns: 40px minmax(0, 1fr) 20px !important;
  min-height: 62px !important;
  gap: 10px !important;
  text-align: left !important;
}

html body .our-map-contributions-entry-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  color: #dffff4;
  background: linear-gradient(145deg, rgba(33, 185, 151, 0.3), rgba(35, 133, 158, 0.24));
  font-size: 1rem;
  font-weight: 950;
}

html body .our-map-contributions-entry-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

html body .our-map-contributions-entry-copy strong,
html body .our-map-contributions-entry-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .our-map-contributions-entry-copy strong {
  color: #f2fffa;
  font-size: 0.75rem;
  font-weight: 850;
}

html body .our-map-contributions-entry-copy small {
  color: rgba(213, 242, 234, 0.58);
  font-size: 0.59rem;
  font-weight: 650;
}

/* Shared premium presentation for the return and contribution journeys. */
html body :is(.our-map-visit-prompt-dialog, .our-map-contributions-dialog) {
  width: min(520px, calc(100vw - 24px));
  max-width: 520px;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 27px;
  color: #123f46;
  background: transparent;
}

html body :is(.our-map-visit-prompt-dialog, .our-map-contributions-dialog)::backdrop {
  background: rgba(2, 24, 34, 0.66);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

html body :is(.our-map-visit-prompt-panel, .our-map-contributions-panel) {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
  gap: 14px;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(175, 224, 211, 0.76);
  border-radius: 27px;
  background:
    radial-gradient(circle at 8% 0%, rgba(98, 226, 190, 0.2), transparent 33%),
    #fbfffd;
  box-shadow: 0 28px 70px rgba(0, 27, 39, 0.38), inset 0 1px 0 #ffffff;
}

html body :is(.our-map-visit-prompt-panel, .our-map-contributions-panel) > header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
}

html body :is(.our-map-visit-prompt-mark, .our-map-contributions-mark) {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(145deg, #087d72, #18aa93);
  box-shadow: 0 8px 18px rgba(5, 94, 87, 0.22);
  font-size: 1.05rem;
  font-weight: 950;
}

html body :is(.our-map-visit-prompt-panel, .our-map-contributions-panel) header small {
  display: block;
  color: #0a8678;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html body :is(.our-map-visit-prompt-panel, .our-map-contributions-panel) header h2 {
  margin: 2px 0 0;
  color: #0c3942;
  font-size: 1.14rem;
  font-weight: 920;
  line-height: 1.15;
}

html body :is(#ourMapVisitPromptClose, #ourMapContributionsClose) {
  display: grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #42686a;
  background: #eaf6f1;
  cursor: pointer;
}

html body :is(.our-map-visit-prompt-panel, .our-map-contributions-panel) > p {
  margin: 0;
  color: #60787a;
  font-size: 0.7rem;
  line-height: 1.45;
}

html body .our-map-visit-prompt-place {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 64px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(15, 128, 112, 0.13);
  border-radius: 16px;
  background: #edf8f4;
}

html body .our-map-visit-prompt-place > span:first-child {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(14, 87, 83, 0.1);
}

html body .our-map-visit-prompt-place :is(small, strong) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .our-map-visit-prompt-place small {
  color: #66807f;
  font-size: 0.55rem;
}

html body .our-map-visit-prompt-place strong {
  color: #144d51;
  font-size: 0.75rem;
  font-weight: 900;
}

html body .our-map-visit-prompt-actions {
  display: grid;
  gap: 9px;
}

html body .our-map-visit-prompt-actions > button {
  min-height: 44px;
  border-radius: 16px;
  cursor: pointer;
}

html body .our-map-visit-prompt-actions > button:not(.is-later) {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 66px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(14, 128, 114, 0.16);
  text-align: left;
}

html body .our-map-visit-prompt-actions > button:not(.is-later) > span:first-child {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
}

html body .our-map-visit-prompt-actions > button:not(.is-later) > span:last-child {
  display: grid;
  gap: 2px;
}

html body .our-map-visit-prompt-actions strong,
html body .our-map-visit-prompt-actions small {
  display: block;
}

html body .our-map-visit-prompt-actions strong {
  font-size: 0.73rem;
  font-weight: 900;
}

html body .our-map-visit-prompt-actions small {
  font-size: 0.56rem;
  font-weight: 650;
  line-height: 1.3;
}

html body .our-map-visit-prompt-actions .is-private {
  color: #ffffff;
  background: linear-gradient(145deg, #0c4852, #087c72);
}

html body .our-map-visit-prompt-actions .is-private > span:first-child {
  background: rgba(255, 255, 255, 0.13);
}

html body .our-map-visit-prompt-actions .is-private small {
  color: rgba(237, 255, 249, 0.7);
}

html body .our-map-visit-prompt-actions .is-public {
  color: #155056;
  background: #e9f8f3;
}

html body .our-map-visit-prompt-actions .is-public > span:first-child {
  color: #08786e;
  background: #ffffff;
  font-size: 1rem;
  font-weight: 950;
}

html body .our-map-visit-prompt-actions .is-public small {
  color: #658080;
}

html body .our-map-visit-prompt-actions .is-public:disabled,
html body .our-map-visit-prompt-actions .is-public.is-unavailable {
  cursor: not-allowed;
  color: #607978;
  background: #eef5f2;
  border-color: rgba(75, 111, 107, 0.14);
  opacity: 0.82;
}

html body .our-map-visit-prompt-actions .is-public:disabled > span:first-child,
html body .our-map-visit-prompt-actions .is-public.is-unavailable > span:first-child {
  color: #66817f;
  background: rgba(255, 255, 255, 0.78);
}

html body .our-map-visit-prompt-actions .is-public:disabled small,
html body .our-map-visit-prompt-actions .is-public.is-unavailable small {
  color: #718987;
}

html body .our-map-visit-prompt-actions .is-later {
  border: 0;
  color: #547374;
  background: transparent;
  font-size: 0.66rem;
  font-weight: 850;
}

html body .our-map-contribution-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

html body .our-map-contribution-summary article {
  display: grid;
  min-width: 0;
  min-height: 72px;
  place-content: center;
  gap: 4px;
  padding: 9px;
  border: 1px solid rgba(15, 128, 112, 0.12);
  border-radius: 16px;
  background: #edf8f4;
  text-align: center;
}

html body .our-map-contribution-summary span {
  overflow: hidden;
  color: #607c7d;
  font-size: 0.55rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .our-map-contribution-summary strong {
  color: #0d7168;
  font-size: 1.15rem;
  font-weight: 930;
}

html body .our-map-contributions-section {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 112, 104, 0.1);
}

html body .our-map-contributions-section-heading small {
  color: #0a8678;
  font-size: 0.51rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

html body .our-map-contributions-section-heading h3 {
  margin: 2px 0 0;
  color: #123f46;
  font-size: 0.82rem;
  font-weight: 920;
}

html body .our-map-contributions-status,
html body .our-map-badges-empty,
html body .our-map-hidden-creators-status {
  margin: 0;
  padding: 11px;
  border-radius: 14px;
  color: #687f80;
  background: rgba(237, 248, 244, 0.82);
  font-size: 0.61rem;
  font-weight: 680;
  line-height: 1.4;
}

html body .our-map-hidden-creators-status.is-error {
  color: #8b4545;
  background: #fff3f1;
}

html body .our-map-contributions-retry[hidden] {
  display: none !important;
}

html body .our-map-contributions-retry {
  width: max-content;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(15, 128, 112, 0.16);
  border-radius: 13px;
  color: #0b786e;
  background: #edf8f4;
  font-size: 0.62rem;
  font-weight: 880;
  cursor: pointer;
}

html body .our-map-contributions-list,
html body .our-map-badges-list,
html body .our-map-hidden-creators-list {
  display: grid;
  gap: 8px;
}

html body .our-map-hidden-creator-card .our-map-contribution-card-place > i {
  color: #936b24;
  background: #fff9e8;
  font-weight: 950;
}

html body .our-map-contribution-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(15, 128, 112, 0.12);
  border-radius: 15px;
  color: #174b50;
  background: #f2faf7;
}

html body .our-map-contribution-card {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(15, 128, 112, 0.12);
  border-radius: 15px;
  color: #174b50;
  background: #f2faf7;
}

html body .our-map-contribution-card-place {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

html body .our-map-contribution-card-place > i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: #ffffff;
  font-style: normal;
}

html body .our-map-contribution-card-place :is(strong, small),
html body .our-map-contribution-card-status :is(b, small) {
  display: block;
}

html body .our-map-contribution-card-place strong {
  font-size: 0.69rem;
  font-weight: 900;
}

html body .our-map-contribution-card :is(small) {
  color: #658080;
  font-size: 0.55rem;
  line-height: 1.35;
}

html body .our-map-contribution-card-status b {
  color: #0c776e;
  font-size: 0.61rem;
  font-weight: 900;
}

html body .our-map-contribution-card.is-declined .our-map-contribution-card-status b {
  color: #a65454;
}

html body .our-map-contribution-card > button {
  width: max-content;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(15, 128, 112, 0.16);
  border-radius: 12px;
  color: #08766d;
  background: #ffffff;
  font-size: 0.58rem;
  font-weight: 880;
  cursor: pointer;
}

html body .our-map-contributions-empty {
  margin: 0;
  padding: 12px;
  border: 1px dashed rgba(15, 128, 112, 0.17);
  border-radius: 14px;
  color: #678080;
  font-size: 0.61rem;
  line-height: 1.4;
}

html body .our-map-badge-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(209, 167, 76, 0.2);
  border-radius: 15px;
  color: #624d21;
  background: linear-gradient(135deg, #fff9e8, #fffdfa);
}

html body .our-map-contributions-panel > footer {
  display: flex;
  justify-content: flex-end;
}

html body #ourMapContributionsDone {
  min-width: 108px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(145deg, #087d72, #18aa93);
  font-size: 0.67rem;
  font-weight: 900;
  cursor: pointer;
}

html body :is(
  #ourMapVisitPromptClose,
  #ourMapContributionsClose,
  #ourMapVisitPrivateMemory,
  #ourMapVisitPublicStory,
  #ourMapVisitNotYet,
  #ourMapContributionsDone,
  #ourMapContributionsRetry,
  #ourMapContributionsButton
):focus-visible {
  outline: 3px solid rgba(24, 170, 147, 0.42);
  outline-offset: 2px;
}

@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  html body main.app-shell section.map-stage.map-focus .map-scope-switch {
    position: fixed !important;
    top: calc(72px + env(safe-area-inset-top, 0px)) !important;
    left: max(14px, env(safe-area-inset-left, 0px)) !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    grid-template-rows: minmax(44px, 1fr) !important;
    transform: none !important;
  }

  html body main.app-shell section.map-stage.map-focus .map-scope-switch button {
    min-height: 44px !important;
  }

  html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-discovery-bar:not([hidden]) {
    top: auto !important;
    bottom: calc(var(--bottom-nav-height, 78px) + env(safe-area-inset-bottom, 0px) + 12px) !important;
    width: calc(100vw - max(20px, env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px))) !important;
    max-height: min(66dvh, calc(100dvh - var(--bottom-nav-height, 78px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 160px)) !important;
    padding: 11px 10px 13px !important;
    border-radius: 23px !important;
  }

  html body .our-map-tray-head {
    top: -11px !important;
    margin-inline: -1px !important;
  }

  html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-mood-choices {
    display: flex !important;
    gap: 7px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 1px 1px 5px !important;
    scroll-padding-inline: 1px !important;
    scroll-snap-type: inline proximity !important;
    scrollbar-width: none !important;
  }

  html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-mood-choices::-webkit-scrollbar {
    display: none !important;
  }

  html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-mood-choices button {
    width: auto !important;
    min-width: max-content !important;
    min-height: 48px !important;
    padding-inline: 9px !important;
    scroll-snap-align: start !important;
  }

  html body .our-map-result-list {
    grid-auto-columns: min(82vw, 288px);
  }

  html body :is(.our-map-visit-prompt-dialog, .our-map-contributions-dialog) {
    width: calc(100vw - max(20px, env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px)));
  }

  html body :is(.our-map-visit-prompt-panel, .our-map-contributions-panel) {
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 20px);
    padding: 17px 15px calc(17px + env(safe-area-inset-bottom, 0px));
    border-radius: 24px;
  }
}

@media (max-width: 380px) {
  html body main.app-shell section.map-stage.map-focus .map-scope-switch {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
  }

  html body main.app-shell section.map-stage.map-focus .map-scope-switch button {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-inline: 0 !important;
    text-align: center !important;
  }

  html body .map-scope-abbreviation {
    display: grid !important;
  }

  html body .our-map-worlds-note {
    grid-template-columns: 28px minmax(0, 1fr);
    padding-inline: 8px;
  }

  html body .our-map-intent-heading {
    align-items: flex-start;
  }

  html body .our-map-intent-heading h3 {
    padding-top: 5px;
  }

  html body #ourMapAllNearby {
    padding-inline: 8px;
  }

  html body :is(.our-map-visit-prompt-panel, .our-map-contributions-panel) > header {
    grid-template-columns: 40px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  html body :is(.our-map-visit-prompt-mark, .our-map-contributions-mark) {
    width: 40px;
    height: 40px;
  }
}

@media (max-height: 680px) and (max-width: 720px) {
  html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-discovery-bar:not([hidden]) {
    max-height: calc(100dvh - var(--bottom-nav-height, 78px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 160px) !important;
  }

  html body .our-map-worlds-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body main.app-shell section.map-stage.map-focus.our-map-mode .our-map-discovery-bar:not([hidden]),
  html body .our-map-result-list,
  html body :is(.our-map-mood-choices, .our-map-result-list) * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
