/*
 * MyMappi v688 — traveler beta candidate.
 * Honest trip-date suggestions and a private, tappable World Passport.
 */

html body .active-trip-dialog,
html body .trip-entry-dialog {
  --active-trip-ink: #073f4c;
  --active-trip-muted: #58787d;
}

html body .app-shell .trip-import-metadata-hint {
  display: block !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(16, 127, 111, 0.12) !important;
  border-radius: 14px !important;
  color: #496f73 !important;
  background: rgba(236, 248, 242, 0.84) !important;
  font-size: 0.68rem !important;
  font-weight: 610 !important;
  line-height: 1.45 !important;
}

html body .app-shell .trip-import-date-suggestion {
  display: flex !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 11px 13px !important;
  align-items: flex-start !important;
  gap: 9px !important;
  border: 1px solid rgba(15, 139, 116, 0.15) !important;
  border-radius: 15px !important;
  color: #476f72 !important;
  background:
    linear-gradient(145deg, rgba(240, 250, 244, 0.95), rgba(229, 246, 240, 0.88)) !important;
  font-size: 0.68rem !important;
  font-weight: 610 !important;
  line-height: 1.45 !important;
}

html body .app-shell .trip-import-date-suggestion[hidden] {
  display: none !important;
}

html body .app-shell .trip-import-date-suggestion > svg {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  color: #0b8b78 !important;
  stroke-width: 2.2 !important;
}

html body .app-shell .trip-import-date-confirmation {
  display: flex !important;
  box-sizing: border-box !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  align-items: center !important;
  gap: 10px !important;
  border: 1px solid rgba(11, 105, 101, 0.13) !important;
  border-radius: 14px !important;
  color: #234f56 !important;
  background: rgba(255, 255, 251, 0.9) !important;
  font-size: 0.72rem !important;
  font-weight: 690 !important;
  line-height: 1.35 !important;
  cursor: pointer !important;
}

html body .app-shell .trip-import-date-confirmation > input {
  width: 19px !important;
  height: 19px !important;
  margin: 0 !important;
  flex: 0 0 19px !important;
  accent-color: #087d73 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport {
  display: grid !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(16px, 2.2vw, 24px) !important;
  gap: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(17, 115, 108, 0.14) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 96% 4%, rgba(70, 212, 171, 0.15), transparent 32%),
    linear-gradient(145deg, rgba(255, 254, 248, 0.98), rgba(239, 249, 244, 0.96)) !important;
  box-shadow:
    0 16px 34px rgba(8, 62, 67, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading-icon {
  display: grid !important;
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid rgba(15, 128, 116, 0.16) !important;
  border-radius: 16px !important;
  color: #087c77 !important;
  background: linear-gradient(145deg, #f8f9ed, #dff3e9) !important;
  box-shadow: 0 8px 18px rgba(5, 77, 75, 0.09) !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading-icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 2 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading > div {
  display: grid !important;
  min-width: 0 !important;
  gap: 2px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading small {
  color: #168477 !important;
  font-size: 0.6rem !important;
  font-weight: 820 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading h3 {
  margin: 0 !important;
  color: #083f4b !important;
  font-size: clamp(1rem, 2.3vw, 1.25rem) !important;
  font-weight: 810 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.1 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading p {
  margin: 2px 0 0 !important;
  color: #58777b !important;
  font-size: 0.7rem !important;
  font-weight: 570 !important;
  line-height: 1.4 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading > strong {
  display: grid !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 9px !important;
  place-items: center !important;
  border: 1px solid rgba(11, 121, 108, 0.13) !important;
  border-radius: 999px !important;
  color: #0a655f !important;
  background: rgba(233, 247, 239, 0.88) !important;
  font-size: 0.84rem !important;
  font-weight: 830 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-map {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  min-height: 190px !important;
  aspect-ratio: 2 / 1 !important;
  overflow: hidden !important;
  place-items: center !important;
  border: 1px solid rgba(19, 109, 112, 0.13) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.78), transparent 26%),
    linear-gradient(145deg, #dff3f0 0%, #d3ecec 48%, #c8e7e1 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -20px 40px rgba(43, 146, 137, 0.06) !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-map::before {
  position: absolute !important;
  inset: 0 !important;
  content: "" !important;
  opacity: 0.42 !important;
  background-image:
    linear-gradient(rgba(21, 115, 116, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 115, 116, 0.07) 1px, transparent 1px) !important;
  background-size: 12.5% 25% !important;
  pointer-events: none !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-map > svg {
  position: absolute !important;
  inset: 6% 3% !important;
  width: 94% !important;
  height: 88% !important;
  overflow: visible !important;
  filter: drop-shadow(0 4px 8px rgba(27, 91, 90, 0.08)) !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-land {
  fill: url("#worldPassportLand") !important;
  stroke: rgba(255, 255, 255, 0.68) !important;
  stroke-width: 2.2 !important;
  vector-effect: non-scaling-stroke !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-markers {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-marker {
  position: absolute !important;
  left: var(--passport-x) !important;
  top: var(--passport-y) !important;
  display: grid !important;
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 2px solid rgba(255, 255, 255, 0.94) !important;
  border-radius: 50% !important;
  color: #0b5158 !important;
  background: rgba(255, 254, 246, 0.96) !important;
  box-shadow:
    0 7px 16px rgba(4, 70, 73, 0.2),
    0 0 0 4px rgba(47, 189, 157, 0.12) !important;
  font: inherit !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-marker > span {
  display: block !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", emoji !important;
  font-size: 1.02rem !important;
  line-height: 1 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-marker > small {
  position: absolute !important;
  right: -5px !important;
  bottom: -4px !important;
  display: grid !important;
  min-width: 19px !important;
  height: 19px !important;
  padding: 0 4px !important;
  place-items: center !important;
  border: 2px solid #f8fbf3 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #0a7e78 !important;
  font-size: 0.54rem !important;
  font-weight: 830 !important;
  line-height: 1 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-marker:hover,
html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-marker:focus-visible,
html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-marker.is-selected {
  z-index: 2 !important;
  background: #fffdf3 !important;
  box-shadow:
    0 9px 20px rgba(4, 70, 73, 0.24),
    0 0 0 5px rgba(241, 104, 113, 0.2) !important;
  transform: translate(-50%, -50%) scale(1.08) !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-empty-map {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  color: #426d71 !important;
  background: rgba(255, 254, 248, 0.84) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-align: center !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-detail {
  display: grid !important;
  box-sizing: border-box !important;
  min-height: 78px !important;
  padding: 13px !important;
  grid-template-columns: 46px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  border: 1px solid rgba(14, 112, 105, 0.12) !important;
  border-radius: 19px !important;
  color: #153f48 !important;
  background: rgba(255, 255, 251, 0.86) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-detail-flag {
  display: grid !important;
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid rgba(16, 125, 112, 0.1) !important;
  border-radius: 15px !important;
  background: #eef7ef !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", emoji !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-detail-copy {
  display: grid !important;
  min-width: 0 !important;
  gap: 3px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-detail-copy > strong {
  color: #0b4852 !important;
  font-size: 0.85rem !important;
  font-weight: 810 !important;
  line-height: 1.2 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-detail-copy > p {
  margin: 0 !important;
  color: #496a6e !important;
  font-size: 0.65rem !important;
  font-weight: 590 !important;
  line-height: 1.35 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-chapter-list {
  display: flex !important;
  margin-top: 3px !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-chapter-list > span {
  display: inline-flex !important;
  min-height: 24px !important;
  padding: 4px 7px !important;
  align-items: center !important;
  border-radius: 999px !important;
  color: #32666a !important;
  background: #edf7f1 !important;
  font-size: 0.56rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-view-button {
  display: inline-flex !important;
  min-width: 126px !important;
  min-height: 44px !important;
  padding: 9px 13px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #075e67, #08755e) !important;
  box-shadow: 0 8px 17px rgba(5, 106, 99, 0.18) !important;
  font: inherit !important;
  font-size: 0.7rem !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-view-button > span,
html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport .memory-lane-country-flag,
html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport .memory-lane-country-name {
  padding: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-view-button svg {
  width: 15px !important;
  height: 15px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-country-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport .memory-lane-country-chip {
  min-height: 44px !important;
  padding: 8px 12px 8px 10px !important;
  border-color: rgba(18, 126, 108, 0.13) !important;
  font: inherit !important;
  font-size: 0.68rem !important;
  font-weight: 740 !important;
  cursor: pointer !important;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport .memory-lane-country-chip:hover,
html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport .memory-lane-country-chip:focus-visible,
html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport .memory-lane-country-chip.is-selected {
  border-color: rgba(8, 126, 111, 0.28) !important;
  color: #0a5c61 !important;
  background: rgba(220, 244, 233, 0.96) !important;
  box-shadow: 0 0 0 3px rgba(35, 177, 143, 0.08) !important;
}

@media (max-width: 640px) {
  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport {
    padding: 15px !important;
    gap: 13px !important;
    border-radius: 22px !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading {
    grid-template-columns: 42px minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading p {
    font-size: 0.66rem !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-map {
    min-height: 176px !important;
    aspect-ratio: 1.72 / 1 !important;
    border-radius: 19px !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-marker {
    width: 44px !important;
    height: 44px !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-detail {
    padding: 12px !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-detail-flag {
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-view-button {
    width: 100% !important;
    grid-column: 1 / -1 !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-country-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport .memory-lane-country-chip {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 390px) {
  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-heading p {
    max-width: 25ch !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-country-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-marker,
  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport .memory-lane-country-chip {
    transition: none !important;
  }
}

/*
 * World Passport refinement.
 * The passport is a compact country ledger, not a second map.
 */

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport.world-passport-card {
  display: grid !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(16px, 2vw, 20px) !important;
  gap: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(15, 96, 91, 0.13) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(78, 202, 167, 0.1), transparent 34%),
    linear-gradient(145deg, #fffdf8 0%, #f5faf5 100%) !important;
  box-shadow:
    0 12px 28px rgba(7, 60, 64, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-heading {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 11px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-heading-icon {
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid rgba(15, 128, 116, 0.14) !important;
  border-radius: 14px !important;
  color: #087c77 !important;
  background: linear-gradient(145deg, #fffdf4, #e2f2e8) !important;
  box-shadow: none !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-heading-icon svg {
  width: 21px !important;
  height: 21px !important;
  stroke-width: 2 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-heading > div {
  display: grid !important;
  min-width: 0 !important;
  gap: 2px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-heading small {
  margin: 0 !important;
  color: #17796f !important;
  font-size: 0.58rem !important;
  font-weight: 790 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-heading h3 {
  margin: 0 !important;
  color: #073f4c !important;
  font-size: clamp(0.98rem, 2vw, 1.16rem) !important;
  font-weight: 790 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-heading p {
  display: block !important;
  margin: 1px 0 0 !important;
  color: #496d72 !important;
  font-size: 0.69rem !important;
  font-weight: 590 !important;
  line-height: 1.38 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-heading > strong {
  display: inline-flex !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 34px !important;
  padding: 7px 11px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(10, 112, 102, 0.12) !important;
  border-radius: 999px !important;
  color: #0b615e !important;
  background: rgba(232, 246, 238, 0.88) !important;
  font-size: 0.66rem !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  gap: 9px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card.is-single-country .world-passport-country-list {
  grid-template-columns: minmax(0, 1fr) !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-card {
  display: grid !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 72px !important;
  padding: 10px !important;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  border: 1px solid rgba(15, 96, 91, 0.11) !important;
  border-radius: 16px !important;
  color: #174a50 !important;
  background: rgba(255, 255, 251, 0.88) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  font: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-flag {
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid rgba(15, 96, 91, 0.09) !important;
  border-radius: 14px !important;
  color: inherit !important;
  background: #f3f7ee !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", emoji !important;
  font-size: 1.28rem !important;
  line-height: 1 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-copy {
  display: grid !important;
  min-width: 0 !important;
  padding: 0 !important;
  gap: 3px !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-copy > strong {
  overflow: hidden !important;
  color: #0b4650 !important;
  font-size: 0.78rem !important;
  font-weight: 780 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-copy > small {
  overflow: hidden !important;
  color: #55757a !important;
  font-size: 0.64rem !important;
  font-weight: 610 !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-action {
  display: inline-flex !important;
  min-width: 112px !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border: 1px solid rgba(10, 109, 102, 0.1) !important;
  border-radius: 12px !important;
  color: #0b746d !important;
  background: #eaf6ef !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-action > span {
  padding: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
  font-size: 0.64rem !important;
  font-weight: 730 !important;
  line-height: 1 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-action > span:last-child {
  display: grid !important;
  place-items: center !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-action svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2.1 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-card:hover,
html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-card:focus-visible {
  border-color: rgba(8, 126, 111, 0.27) !important;
  background: #fffef9 !important;
  box-shadow:
    0 8px 18px rgba(7, 79, 77, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
  transform: translateY(-1px) !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-card:focus-visible {
  outline: 3px solid rgba(239, 111, 113, 0.24) !important;
  outline-offset: 2px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-empty {
  display: grid !important;
  min-height: 78px !important;
  padding: 12px !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 11px !important;
  border: 1px solid rgba(15, 96, 91, 0.1) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 251, 0.82) !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-empty > span {
  display: grid !important;
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  place-items: center !important;
  border-radius: 14px !important;
  color: #0b7a71 !important;
  background: #e8f5ed !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-empty > span svg {
  width: 21px !important;
  height: 21px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-empty > div {
  display: grid !important;
  min-width: 0 !important;
  gap: 3px !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-empty strong {
  color: #0b4650 !important;
  font-size: 0.78rem !important;
  font-weight: 780 !important;
  line-height: 1.2 !important;
}

html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-empty p {
  display: block !important;
  margin: 0 !important;
  color: #55757a !important;
  font-size: 0.66rem !important;
  font-weight: 590 !important;
  line-height: 1.4 !important;
}

@media (max-width: 640px) {
  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .memory-lane-world-passport.world-passport-card {
    padding: 14px !important;
    gap: 12px !important;
    border-radius: 20px !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-card {
    min-height: 68px !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-action {
    width: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-action > span:first-child {
    display: none !important;
  }
}

@media (max-width: 390px) {
  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-heading {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }

  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-heading > strong {
    width: max-content !important;
    grid-column: 2 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body main.app-shell > section.map-stage.memories-focus > section.memory-database-page.side-panel .world-passport-card .world-passport-country-card {
    transition: none !important;
  }
}
