/*
 * BondMai Marketplace Home v2
 * Apple HIG interaction quality × Airbnb warmth × Linear clarity × restrained Bento.
 * Loaded last as a scoped migration layer while the legacy bundle is being retired.
 */

body:has(.appShell.view-market) {
  margin: 0;
  background: var(--bm-color-bg) !important;
  color: var(--bm-color-text) !important;
}

body:has(.appShell.view-market) .appShell.view-market {
  --bm-home-max: 1280px;
  --bm-home-gutter: clamp(20px, 4vw, 48px);
  --bm-section-gap: clamp(72px, 8vw, 108px);
  min-height: 100vh !important;
  overflow-x: clip !important;
  background:
    radial-gradient(circle at 8% 4%, rgba(220, 242, 238, .74), transparent 29rem),
    radial-gradient(circle at 93% 16%, rgba(247, 239, 229, .9), transparent 31rem),
    linear-gradient(180deg, #fbfcfa 0%, var(--bm-color-bg) 36%, var(--bm-color-bg) 100%) !important;
  color: var(--bm-color-text) !important;
  font-family: var(--bm-font-sans) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

body:has(.appShell.view-market) .appShell.view-market,
body:has(.appShell.view-market) .appShell.view-market *,
body:has(.appShell.view-market) .appShell.view-market *::before,
body:has(.appShell.view-market) .appShell.view-market *::after {
  box-sizing: border-box;
}

body:has(.appShell.view-market) .appShell.view-market :where(button, input, select, textarea) {
  font: inherit !important;
}

body:has(.appShell.view-market) .appShell.view-market :where(button, a, input, select, textarea):focus-visible {
  outline: 0 !important;
  box-shadow: var(--bm-shadow-focus) !important;
}

body:has(.appShell.view-market) .appShell.view-market button { cursor: pointer; }

/* App bar */
body:has(.appShell.view-market) .appShell.view-market .topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
  width: 100% !important;
  min-height: 76px !important;
  margin: 0 auto !important;
  padding: 10px max(calc((100vw - var(--bm-home-max)) / 2), var(--bm-home-gutter)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(221, 227, 223, .72) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.84) !important;
  backdrop-filter: var(--bm-glass-blur) !important;
  -webkit-backdrop-filter: var(--bm-glass-blur) !important;
  box-shadow: 0 10px 28px rgba(26, 44, 40, .035) !important;
}

body:has(.appShell.view-market) .appShell.view-market .brand {
  min-width: max-content !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 3px 10px 3px 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: var(--bm-color-text) !important;
  box-shadow: none !important;
  text-align: left !important;
}

body:has(.appShell.view-market) .appShell.view-market .brand:hover {
  background: color-mix(in srgb, var(--bm-color-primary) 7%, transparent) !important;
}

body:has(.appShell.view-market) .appShell.view-market .logoMark {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid rgba(15, 118, 110, .14) !important;
  border-radius: 14px !important;
  background: linear-gradient(145deg, #dff5f1, #bfe6df) !important;
  color: var(--bm-color-mint-800) !important;
  font-family: var(--bm-font-display) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: -.04em !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9) !important;
}

body:has(.appShell.view-market) .appShell.view-market .brand > span:last-child { display: grid !important; gap: 1px !important; }
body:has(.appShell.view-market) .appShell.view-market .brand strong {
  display: block !important;
  color: var(--bm-color-text-strong) !important;
  font-family: var(--bm-font-display) !important;
  font-size: 17px !important;
  line-height: 1.1 !important;
  font-weight: 720 !important;
  letter-spacing: -.03em !important;
}
body:has(.appShell.view-market) .appShell.view-market .brand small {
  display: block !important;
  color: var(--bm-color-text-muted) !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 550 !important;
}

body:has(.appShell.view-market) .appShell.view-market .tabs {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 2px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.appShell.view-market) .appShell.view-market .tabs button {
  position: relative !important;
  min-width: 0 !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--bm-color-text-muted) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 560 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: background var(--bm-transition-fast), color var(--bm-transition-fast), transform var(--bm-transition-fast) !important;
}
body:has(.appShell.view-market) .appShell.view-market .tabs button:hover { background: var(--bm-color-surface-soft) !important; color: var(--bm-color-text) !important; }
body:has(.appShell.view-market) .appShell.view-market .tabs button.active { background: transparent !important; color: var(--bm-color-primary) !important; }
body:has(.appShell.view-market) .appShell.view-market .tabs button.active::after {
  content: ""; position: absolute; right: 12px; bottom: 5px; left: 12px; height: 2px; border-radius: 999px; background: var(--bm-color-primary); opacity: .82;
}

body:has(.appShell.view-market) .appShell.view-market .loginStatusChip {
  min-width: 0 !important; margin-left: auto !important; padding: 4px 6px 4px 4px !important;
  border: 1px solid var(--bm-color-border) !important; border-radius: 14px !important;
  background: var(--bm-color-surface) !important; box-shadow: none !important;
}

body:has(.appShell.view-market) .appShell.view-market > .themeToggle,
body:has(.appShell.view-market) .appShell.view-market > .languageToggle {
  position: fixed !important;
  top: 28px !important;
  z-index: 140 !important;
  min-height: 44px !important;
  border: 1px solid rgba(221, 227, 223, .88) !important;
  background: rgba(255, 255, 255, .88) !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
  box-shadow: 0 7px 24px rgba(16, 23, 20, .07) !important;
}
body:has(.appShell.view-market) .appShell.view-market > .themeToggle {
  right: max(calc((100vw - var(--bm-home-max)) / 2 + 148px), calc(var(--bm-home-gutter) + 148px)) !important;
  min-width: 68px !important;
  padding: 0 13px !important;
  border-radius: 14px !important;
  color: var(--bm-color-text-muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
body:has(.appShell.view-market) .appShell.view-market > .languageToggle {
  right: max(calc((100vw - var(--bm-home-max)) / 2 + 14px), calc(var(--bm-home-gutter) + 14px)) !important;
  min-width: 126px !important;
  padding: 3px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2px !important;
  border-radius: 14px !important;
}
body:has(.appShell.view-market) .appShell.view-market > .languageToggle button {
  min-width: 0 !important; min-height: 36px !important; padding: 0 8px !important;
  border: 0 !important; border-radius: 10px !important; background: transparent !important;
  color: var(--bm-color-text-muted) !important; font-size: 10px !important; font-weight: 700 !important; box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market > .languageToggle button.active { background: var(--bm-color-text) !important; color: var(--bm-color-surface) !important; }

/* Hero */
body:has(.appShell.view-market) .appShell.view-market .heroLuxuryV5 {
  position: relative !important;
  isolation: isolate !important;
  width: min(calc(100% - (var(--bm-home-gutter) * 2)), var(--bm-home-max)) !important;
  min-height: 620px !important;
  margin: 30px auto 0 !important;
  padding: clamp(38px, 5vw, 68px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr) !important;
  align-items: center !important;
  gap: clamp(44px, 6vw, 82px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(209, 221, 214, .92) !important;
  border-radius: 36px !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 37%, rgba(255,255,255,.54) 58%, rgba(255,255,255,.16) 100%),
    radial-gradient(circle at 9% 94%, rgba(189, 229, 222, .55), transparent 25rem),
    url("./images/bondmai-airport-travelers-hero.png") center right / cover no-repeat,
    linear-gradient(128deg, #f7f3ec 0%, #edf5f1 54%, #e2efeb 100%) !important;
  color: var(--bm-color-text) !important;
  box-shadow: 0 28px 80px rgba(34, 59, 93, .11), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroLuxuryV5::before {
  content: "" !important; position: absolute !important; inset: auto auto -190px -110px !important; z-index: -2 !important;
  width: 470px !important; height: 470px !important; border-radius: 50% !important; background: rgba(255, 255, 255, .45) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroLuxuryV5::after {
  content: "" !important; position: absolute !important; top: 24px !important; right: 28px !important; z-index: -2 !important;
  width: 168px !important; height: 168px !important; border: 1px solid rgba(34, 59, 93, .08) !important; border-radius: 46px !important;
  background: linear-gradient(90deg, rgba(34,59,93,.05) 1px, transparent 1px), linear-gradient(rgba(34,59,93,.05) 1px, transparent 1px) !important;
  background-size: 18px 18px !important; transform: rotate(8deg) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroLuxuryGlow {
  position: absolute !important; top: -160px !important; right: -120px !important; z-index: -1 !important;
  width: 440px !important; height: 440px !important; border-radius: 50% !important;
  background: radial-gradient(circle, rgba(232, 93, 104, .14), transparent 68%) !important; filter: blur(6px) !important; pointer-events: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroLuxuryCopy { min-width: 0 !important; max-width: 690px !important; color: var(--bm-color-text) !important; }
body:has(.appShell.view-market) .appShell.view-market .heroKicker {
  width: fit-content !important; min-height: 34px !important; margin: 0 0 20px !important; padding: 0 12px !important;
  display: inline-flex !important; align-items: center !important; gap: 8px !important;
  border: 1px solid rgba(15, 118, 110, .17) !important; border-radius: 999px !important;
  background: rgba(255, 255, 255, .72) !important; color: var(--bm-color-mint-800) !important;
  font-size: 12px !important; line-height: 1 !important; font-weight: 760 !important; letter-spacing: .06em !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroHeadline {
  max-width: 710px !important; margin: 0 !important; color: var(--bm-color-text-strong) !important;
  font-family: var(--bm-font-display) !important; letter-spacing: -.055em !important; text-wrap: balance !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroTitleEn {
  display: block !important; color: var(--bm-color-text-strong) !important; font-family: var(--bm-font-display) !important;
  font-size: clamp(50px, 5.2vw, 76px) !important; line-height: .97 !important; font-weight: 760 !important; letter-spacing: -.06em !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroTitleEnSecond { margin-top: 3px !important; color: var(--bm-color-primary) !important; }
body:has(.appShell.view-market) .appShell.view-market .heroTitleZh {
  display: block !important; max-width: 620px !important; margin-top: 20px !important; color: var(--bm-color-passport) !important;
  font-family: var(--bm-font-sans) !important; font-size: clamp(22px, 2.1vw, 31px) !important; line-height: 1.28 !important;
  font-weight: 690 !important; letter-spacing: -.035em !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroLead {
  max-width: 625px !important; margin: 22px 0 0 !important; color: var(--bm-color-text-muted) !important;
  font-size: clamp(15px, 1.25vw, 18px) !important; line-height: 1.72 !important; font-weight: 450 !important;
}

body:has(.appShell.view-market) .appShell.view-market .heroSpotlightSearch {
  width: min(100%, 760px) !important; margin: 30px 0 0 !important; padding: 7px !important;
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; align-items: stretch !important; gap: 7px !important;
  border: 1px solid rgba(209, 218, 213, .92) !important; border-radius: 22px !important;
  background: rgba(255, 255, 255, .92) !important; box-shadow: 0 14px 40px rgba(34, 59, 93, .1), inset 0 1px 0 #fff !important;
  backdrop-filter: blur(16px) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroSpotlightGrid {
  min-width: 0 !important; display: grid !important; grid-template-columns: minmax(210px, 1.45fr) minmax(130px, .8fr) minmax(126px, .72fr) !important; gap: 3px !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroSearchField {
  min-width: 0 !important; min-height: 62px !important; padding: 10px 14px !important;
  display: flex !important; flex-direction: column !important; justify-content: center !important; gap: 2px !important;
  border: 0 !important; border-radius: 16px !important; background: transparent !important; color: var(--bm-color-text) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroSearchField + .heroSearchField { border-left: 1px solid var(--bm-color-divider) !important; border-radius: 0 !important; }
body:has(.appShell.view-market) .appShell.view-market .heroSearchField:focus-within {
  border-left-color: transparent !important; border-radius: 14px !important; background: var(--bm-color-mint-50) !important;
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, .13) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroSearchField > span {
  color: var(--bm-color-text-subtle) !important; font-size: 11px !important; line-height: 1.2 !important; font-weight: 700 !important; letter-spacing: .03em !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroSearchField :where(input, select) {
  width: 100% !important; min-height: 28px !important; padding: 0 !important; border: 0 !important; outline: 0 !important;
  background: transparent !important; color: var(--bm-color-text-strong) !important; font-size: 14px !important; line-height: 1.35 !important; font-weight: 650 !important; box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroSearchField input::placeholder { color: var(--bm-color-ink-400) !important; }
body:has(.appShell.view-market) .appShell.view-market .heroSearchSubmit {
  min-width: 134px !important; min-height: 62px !important; margin: 0 !important; padding: 0 22px !important;
  border: 0 !important; border-radius: 16px !important; background: var(--bm-color-accent) !important; color: #fff !important;
  font-size: 14px !important; line-height: 1 !important; font-weight: 760 !important; letter-spacing: -.01em !important;
  box-shadow: 0 13px 28px rgba(232, 93, 104, .23) !important; transition: transform var(--bm-transition-fast), background var(--bm-transition-fast), box-shadow var(--bm-transition-fast) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroSearchSubmit:hover { transform: translateY(-1px) !important; background: var(--bm-color-accent-hover) !important; box-shadow: 0 17px 34px rgba(232,93,104,.3) !important; }

body:has(.appShell.view-market) .appShell.view-market .heroPopularRow,
body:has(.appShell.view-market) .appShell.view-market .heroCountryPills {
  margin-top: 14px !important; display: flex !important; align-items: center !important; gap: 7px !important; flex-wrap: wrap !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroPopularRow { color: var(--bm-color-text-subtle) !important; font-size: 12px !important; }
body:has(.appShell.view-market) .appShell.view-market .heroPopularRow > span { margin-right: 2px !important; font-weight: 700 !important; }
body:has(.appShell.view-market) .appShell.view-market .heroPopularRow button,
body:has(.appShell.view-market) .appShell.view-market .heroCountryPills button {
  min-height: 32px !important; margin: 0 !important; padding: 0 10px !important; display: inline-flex !important; align-items: center !important; gap: 6px !important;
  border: 1px solid rgba(200, 209, 204, .92) !important; border-radius: 999px !important; background: rgba(255, 255, 255, .6) !important;
  color: var(--bm-color-text-muted) !important; font-size: 11px !important; font-weight: 620 !important; box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroPopularRow button:hover,
body:has(.appShell.view-market) .appShell.view-market .heroCountryPills button:hover { border-color: rgba(15,118,110,.28) !important; background: rgba(255,255,255,.92) !important; color: var(--bm-color-text) !important; }

body:has(.appShell.view-market) .appShell.view-market .heroLuxuryVisual {
  position: relative !important; min-width: 0 !important; align-self: stretch !important;
  display: flex !important; flex-direction: column !important; justify-content: center !important; padding: 12px 0 10px !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroImageCard {
  position: relative !important; width: 100% !important; min-height: 430px !important; margin: 0 !important; overflow: hidden !important;
  border: 7px solid rgba(255,255,255,.9) !important; border-radius: 30px !important; background: var(--bm-color-surface) !important;
  box-shadow: 0 24px 58px rgba(34,59,93,.17) !important; transform: rotate(.7deg) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroImageCard::after {
  content: "" !important; position: absolute !important; inset: 0 !important;
  background: linear-gradient(180deg, transparent 54%, rgba(16,23,20,.3) 100%) !important; pointer-events: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroImageCard img {
  width: 100% !important; height: 100% !important; min-height: 430px !important; display: block !important;
  object-fit: cover !important; object-position: 51% 48% !important; filter: saturate(.96) contrast(1.02) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroPhotoCaption {
  position: absolute !important; right: 16px !important; bottom: 14px !important; z-index: 2 !important;
  min-height: 30px !important; padding: 0 10px !important; display: inline-flex !important; align-items: center !important;
  border: 1px solid rgba(255,255,255,.28) !important; border-radius: 999px !important; background: rgba(16,23,20,.5) !important;
  color: #fff !important; font-size: 10px !important; font-weight: 650 !important; backdrop-filter: blur(12px) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroGlassMatch {
  position: relative !important; z-index: 4 !important; width: calc(100% - 42px) !important; margin: -92px 0 0 -32px !important; padding: 18px !important;
  border: 1px solid rgba(221,227,223,.94) !important; border-radius: 22px !important; background: rgba(255,255,255,.96) !important;
  color: var(--bm-color-text) !important; box-shadow: var(--bm-shadow-ai) !important; backdrop-filter: blur(20px) saturate(1.08) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroMatchTop { display: grid !important; grid-template-columns: auto minmax(0,1fr) auto !important; align-items: center !important; gap: 10px !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMatchOrb,
body:has(.appShell.view-market) .appShell.view-market .aiAssistOrb {
  width: 38px !important; height: 38px !important; display: inline-grid !important; place-items: center !important; border-radius: 13px !important;
  background: linear-gradient(145deg, var(--bm-color-mint-600), var(--bm-color-passport)) !important; color: #fff !important;
  font-size: 11px !important; line-height: 1 !important; font-weight: 800 !important; box-shadow: 0 8px 22px rgba(15,118,110,.22) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroMatchTop small,
body:has(.appShell.view-market) .appShell.view-market .heroMatchTop strong { display: block !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMatchTop small { color: var(--bm-color-text-subtle) !important; font-size: 10px !important; line-height: 1.2 !important; font-weight: 700 !important; letter-spacing: .06em !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMatchTop strong { margin-top: 2px !important; color: var(--bm-color-text-strong) !important; font-size: 15px !important; line-height: 1.3 !important; font-weight: 720 !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMatchTop em {
  min-height: 28px !important; padding: 0 9px !important; display: inline-flex !important; align-items: center !important; border-radius: 999px !important;
  background: var(--bm-color-primary-container) !important; color: var(--bm-color-mint-800) !important; font-size: 10px !important; line-height: 1 !important; font-style: normal !important; font-weight: 760 !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroMatchRoute {
  margin-top: 14px !important; padding: 11px 12px !important; display: grid !important; grid-template-columns: auto auto auto minmax(0,1fr) !important;
  align-items: center !important; gap: 8px !important; border-radius: 14px !important; background: var(--bm-color-surface-soft) !important;
  color: var(--bm-color-text-muted) !important; font-size: 11px !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroMatchRoute > span { display: inline-flex !important; align-items: center !important; gap: 5px !important; white-space: nowrap !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMatchRoute > strong { justify-self: end !important; color: var(--bm-color-text) !important; font-size: 11px !important; font-weight: 680 !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMetricRow {
  margin-top: 13px !important; display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 8px !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroMetricRow > span { min-width: 0 !important; padding: 8px 9px !important; border-left: 1px solid var(--bm-color-divider) !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMetricRow > span:first-child { border-left: 0 !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMetricRow small,
body:has(.appShell.view-market) .appShell.view-market .heroMetricRow b { display: block !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMetricRow small { color: var(--bm-color-text-subtle) !important; font-size: 9px !important; line-height: 1.2 !important; font-weight: 650 !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMetricRow b { margin-top: 3px !important; overflow: hidden !important; color: var(--bm-color-text) !important; font-size: 12px !important; line-height: 1.2 !important; font-weight: 720 !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMatchActions { margin-top: 14px !important; display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMiniStats {
  width: calc(100% - 12px) !important; margin: 13px 0 0 auto !important; padding: 11px 12px !important;
  display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 4px !important;
  border: 1px solid rgba(209,218,213,.84) !important; border-radius: 17px !important; background: rgba(255,255,255,.58) !important; backdrop-filter: blur(14px) !important;
}
body:has(.appShell.view-market) .appShell.view-market .heroMiniStats > span { min-width: 0 !important; padding: 3px 8px !important; border-left: 1px solid var(--bm-color-divider) !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMiniStats > span:first-child { border-left: 0 !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMiniStats :where(small,strong,em) { display: block !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMiniStats small { color: var(--bm-color-text-subtle) !important; font-size: 9px !important; font-weight: 650 !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMiniStats strong { margin-top: 2px !important; color: var(--bm-color-text) !important; font-size: 13px !important; font-weight: 740 !important; }
body:has(.appShell.view-market) .appShell.view-market .heroMiniStats em { margin-top: 1px !important; color: var(--bm-color-text-subtle) !important; font-size: 8px !important; font-style: normal !important; }
body:has(.appShell.view-market) .appShell.view-market .heroTrustPill {
  grid-column: 1 / -1 !important; justify-self: start !important; min-height: 38px !important; margin: -16px 0 0 !important; padding: 0 13px !important;
  display: inline-flex !important; align-items: center !important; gap: 8px !important; border: 1px solid rgba(34,59,93,.12) !important; border-radius: 999px !important;
  background: rgba(255,255,255,.65) !important; color: var(--bm-color-passport) !important; font-size: 11px !important; font-weight: 650 !important; box-shadow: none !important;
}

/* Shared controls and type */
body:has(.appShell.view-market) .appShell.view-market :where(.primaryButton,.softButton,.tinyButton,.profileLinkButton,.cardCta) {
  min-height: 42px !important; margin: 0 !important; padding: 0 15px !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 7px !important;
  border-radius: 13px !important; font-size: 12px !important; line-height: 1 !important; font-weight: 700 !important;
  text-decoration: none !important; box-shadow: none !important;
  transition: transform var(--bm-transition-fast), background var(--bm-transition-fast), border-color var(--bm-transition-fast), box-shadow var(--bm-transition-fast) !important;
}
body:has(.appShell.view-market) .appShell.view-market .primaryButton {
  border: 1px solid var(--bm-color-primary) !important; background: var(--bm-color-primary) !important; color: #fff !important;
}
body:has(.appShell.view-market) .appShell.view-market .primaryButton:hover {
  transform: translateY(-1px) !important; border-color: var(--bm-color-primary-hover) !important; background: var(--bm-color-primary-hover) !important;
  box-shadow: 0 10px 24px rgba(15,118,110,.18) !important;
}
body:has(.appShell.view-market) .appShell.view-market :where(.softButton,.profileLinkButton,.cardCta) {
  border: 1px solid var(--bm-color-border) !important; background: var(--bm-color-surface) !important; color: var(--bm-color-text) !important;
}
body:has(.appShell.view-market) .appShell.view-market :where(.softButton,.profileLinkButton,.cardCta):hover {
  transform: translateY(-1px) !important; border-color: var(--bm-color-border-hover) !important; background: var(--bm-color-surface-soft) !important;
}
body:has(.appShell.view-market) .appShell.view-market .tinyButton {
  min-height: 34px !important; padding: 0 11px !important; border: 0 !important; background: transparent !important; color: var(--bm-color-primary) !important;
}
body:has(.appShell.view-market) .appShell.view-market .tinyButton:hover { background: var(--bm-color-primary-container) !important; }

body:has(.appShell.view-market) .appShell.view-market .sectionHead,
body:has(.appShell.view-market) .appShell.view-market .marketPulseHead {
  margin: 0 0 28px !important; display: flex !important; align-items: end !important; justify-content: space-between !important; gap: 24px !important;
}
body:has(.appShell.view-market) .appShell.view-market .sectionHead > div:first-child,
body:has(.appShell.view-market) .appShell.view-market .marketPulseHead > div:first-child { max-width: 760px !important; }
body:has(.appShell.view-market) .appShell.view-market .sectionHead h2,
body:has(.appShell.view-market) .appShell.view-market .marketPulseHead h2 {
  margin: 0 !important; color: var(--bm-color-text-strong) !important; font-family: var(--bm-font-display) !important;
  font-size: var(--bm-type-section-size) !important; line-height: var(--bm-type-section-line) !important; font-weight: 720 !important; letter-spacing: -.045em !important;
}
body:has(.appShell.view-market) .appShell.view-market .sectionHead p,
body:has(.appShell.view-market) .appShell.view-market .marketPulseHead p {
  max-width: 700px !important; margin: 9px 0 0 !important; color: var(--bm-color-text-muted) !important; font-size: 14px !important; line-height: 1.65 !important;
}
body:has(.appShell.view-market) .appShell.view-market .eyebrow {
  width: fit-content !important; min-height: 30px !important; margin: 0 0 10px !important; padding: 0 10px !important;
  display: inline-flex !important; align-items: center !important; gap: 7px !important; border: 1px solid rgba(15,118,110,.14) !important;
  border-radius: 999px !important; background: var(--bm-color-mint-50) !important; color: var(--bm-color-mint-800) !important;
  font-size: 10px !important; line-height: 1 !important; font-weight: 760 !important; letter-spacing: .055em !important;
}

/* Marketplace canvas: remove old left rail and washed-out reveal */
body:has(.appShell.view-market) .appShell.view-market .workspace {
  width: 100% !important; margin: 0 !important; padding: 0 !important; display: block !important; background: transparent !important;
}
body:has(.appShell.view-market) .appShell.view-market .workspace > .rail { display: none !important; }
body:has(.appShell.view-market) .appShell.view-market .workspace > .panel {
  width: min(calc(100% - (var(--bm-home-gutter) * 2)), var(--bm-home-max)) !important; max-width: var(--bm-home-max) !important;
  margin: 0 auto !important; padding: 0 0 112px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .workspace > .panel > :where(section,.viewGrid) {
  margin-top: var(--bm-section-gap) !important; opacity: 1 !important; transform: none !important; animation: none !important; animation-timeline: auto !important;
}

/* Popular destinations / Bento */
body:has(.appShell.view-market) .appShell.view-market .marketPulse {
  position: relative !important; margin-top: 84px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; overflow: visible !important;
}
body:has(.appShell.view-market) .appShell.view-market .marketPulseActions { display: flex !important; align-items: center !important; gap: 9px !important; }
body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail {
  display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; grid-auto-rows: auto !important; gap: 14px !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationCard {
  position: relative !important; isolation: isolate !important; min-width: 0 !important; min-height: 132px !important;
  margin: 0 !important; padding: 22px !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important;
  justify-content: flex-end !important; gap: 10px !important; overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.34) !important; border-radius: 24px !important; background-color: var(--bm-color-passport) !important;
  background-size: cover !important; background-position: center !important; color: #fff !important; text-align: left !important;
  box-shadow: 0 12px 36px rgba(34,59,93,.12) !important; transition: transform var(--bm-transition-normal), box-shadow var(--bm-transition-normal), filter var(--bm-transition-normal) !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationCard::before {
  content: "" !important; position: absolute !important; inset: 0 !important; z-index: -1 !important;
  background: linear-gradient(180deg, rgba(8,18,16,.05) 20%, rgba(8,18,16,.74) 100%) !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationCard:hover { transform: translateY(-3px) !important; box-shadow: 0 20px 46px rgba(34,59,93,.18) !important; filter: saturate(1.03) !important; }
body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(1) { grid-column: span 1 !important; grid-row: span 1 !important; }
body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(2),
body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(3) { grid-column: span 1 !important; }
body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(4) { grid-column: span 1 !important; }
body:has(.appShell.view-market) .appShell.view-market .destinationCard.visual-tokyo {
  background-image: linear-gradient(135deg,rgba(16,23,20,.05),rgba(16,23,20,.18)), url("./images/traveler-hero.jpg") !important; background-position: 54% 54% !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationCard.visual-seoul {
  background-image: linear-gradient(135deg,rgba(19,52,48,.04),rgba(15,118,110,.18)), url("./images/bondmai-hero-handoff.webp") !important; background-position: 56% 58% !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationCard.visual-america {
  background-image: radial-gradient(circle at 78% 20%,rgba(232,93,104,.7),transparent 34%), linear-gradient(145deg,#1e3a5f,#152a45 70%) !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationCard.visual-europe {
  background-image: linear-gradient(135deg,rgba(89,55,34,.08),rgba(34,59,93,.34)), url("./images/traveler-hero.jpg") !important; background-position: 82% 46% !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationFlag {
  position: absolute !important; top: 18px !important; right: 18px !important; width: 40px !important; height: 40px !important;
  display: grid !important; place-items: center !important; border: 1px solid rgba(255,255,255,.26) !important; border-radius: 14px !important;
  background: rgba(255,255,255,.16) !important; font-size: 20px !important; backdrop-filter: blur(12px) !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationText { display: grid !important; gap: 1px !important; }
body:has(.appShell.view-market) .appShell.view-market .destinationText strong {
  color: #fff !important; font-family: var(--bm-font-display) !important; font-size: 25px !important; line-height: 1.05 !important; font-weight: 720 !important; letter-spacing: -.035em !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationText small { color: rgba(255,255,255,.74) !important; font-size: 11px !important; font-weight: 600 !important; }
body:has(.appShell.view-market) .appShell.view-market .destinationStats { width: 100% !important; display: flex !important; align-items: center !important; gap: 7px !important; flex-wrap: wrap !important; }
body:has(.appShell.view-market) .appShell.view-market .destinationStats > span {
  min-height: 27px !important; padding: 0 8px !important; display: inline-flex !important; align-items: center !important; gap: 3px !important;
  border: 1px solid rgba(255,255,255,.2) !important; border-radius: 999px !important; background: rgba(16,23,20,.22) !important;
  color: rgba(255,255,255,.82) !important; font-size: 9px !important; font-weight: 620 !important; backdrop-filter: blur(10px) !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationStats b { color: #fff !important; font-size: 10px !important; }

body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip {
  margin-top: 16px !important; padding: 12px 14px !important; display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  border: 1px solid var(--bm-color-border) !important; border-radius: 18px !important; background: rgba(255,255,255,.76) !important; box-shadow: var(--bm-shadow-1) !important;
}
body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip > span { min-width: 0 !important; padding: 2px 16px !important; border-left: 1px solid var(--bm-color-divider) !important; }
body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip > span:first-child { border-left: 0 !important; }
body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip small,
body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip strong { display: block !important; }
body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip small { color: var(--bm-color-text-subtle) !important; font-size: 10px !important; font-weight: 650 !important; }
body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip strong { margin-top: 2px !important; color: var(--bm-color-text-strong) !important; font-size: 18px !important; font-weight: 720 !important; }

body:has(.appShell.view-market) .appShell.view-market .marketPulseGrid {
  margin-top: 20px !important; display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px !important;
}
body:has(.appShell.view-market) .appShell.view-market :where(.pulseFeed,.pulseTrips) {
  min-width: 0 !important; padding: 20px !important; border: 1px solid var(--bm-color-border) !important; border-radius: 22px !important;
  background: rgba(255,255,255,.82) !important; box-shadow: var(--bm-shadow-1) !important;
}
body:has(.appShell.view-market) .appShell.view-market :where(.pulseFeed,.pulseTrips) h3 {
  margin: 0 0 10px !important; color: var(--bm-color-text-strong) !important; font-family: var(--bm-font-display) !important; font-size: 17px !important; font-weight: 700 !important;
}
body:has(.appShell.view-market) .appShell.view-market .pulseItem {
  min-width: 0 !important; padding: 12px 0 !important; display: grid !important; grid-template-columns: 38px minmax(0,1fr) auto !important;
  align-items: center !important; gap: 10px !important; border-top: 1px solid var(--bm-color-divider) !important;
}
body:has(.appShell.view-market) .appShell.view-market .pulseItem:first-of-type { border-top: 0 !important; }
body:has(.appShell.view-market) .appShell.view-market .pulseIcon {
  width: 38px !important; height: 38px !important; display: grid !important; place-items: center !important; border-radius: 13px !important;
  background: var(--bm-color-mint-50) !important; color: var(--bm-color-primary) !important; font-size: 18px !important;
}
body:has(.appShell.view-market) .appShell.view-market .pulseIcon.trip { background: var(--bm-color-passport-soft) !important; color: var(--bm-color-passport) !important; }
body:has(.appShell.view-market) .appShell.view-market .pulseItem strong,
body:has(.appShell.view-market) .appShell.view-market .pulseItem small,
body:has(.appShell.view-market) .appShell.view-market .pulseItem p { display: block !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body:has(.appShell.view-market) .appShell.view-market .pulseItem strong { color: var(--bm-color-text) !important; font-size: 13px !important; font-weight: 690 !important; }
body:has(.appShell.view-market) .appShell.view-market .pulseItem small { margin-top: 2px !important; color: var(--bm-color-text-subtle) !important; font-size: 10px !important; }
body:has(.appShell.view-market) .appShell.view-market .pulseItem p { margin: 3px 0 0 !important; color: var(--bm-color-text-muted) !important; font-size: 10px !important; }

/* Returning travelers / live departure board */
body:has(.appShell.view-market) .appShell.view-market .departureBoard {
  position: relative !important;
  margin-top: var(--bm-section-gap) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .boardSummary {
  min-width: max-content !important;
  padding: 7px 8px 7px 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.76) !important;
  color: var(--bm-color-text-muted) !important;
  box-shadow: var(--bm-shadow-1) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}
body:has(.appShell.view-market) .appShell.view-market .boardSummary strong {
  min-height: 31px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: var(--bm-color-primary-container) !important;
  color: var(--bm-color-on-primary-container) !important;
  font-size: 12px !important;
  font-weight: 760 !important;
}
body:has(.appShell.view-market) .appShell.view-market .departureGrid {
  margin-top: 22px !important;
  display: grid !important;
  grid-template-columns: minmax(0,1.38fr) minmax(290px,.72fr) !important;
  gap: 14px !important;
  align-items: stretch !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningCompactStack {
  min-width: 0 !important;
  display: grid !important;
  grid-template-rows: repeat(2,minmax(0,1fr)) !important;
  gap: 14px !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningTravelerCard {
  position: relative !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0,1fr) auto !important;
  align-items: start !important;
  gap: 16px !important;
  overflow: hidden !important;
  border: 1px solid var(--bm-color-border) !important;
  color: var(--bm-color-text) !important;
  text-align: left !important;
  box-shadow: var(--bm-shadow-1) !important;
  transition: transform var(--bm-transition-normal), border-color var(--bm-transition-normal), box-shadow var(--bm-transition-normal) !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningTravelerCard:hover {
  transform: translateY(-3px) !important;
  border-color: var(--bm-color-border-hover) !important;
  box-shadow: var(--bm-shadow-2) !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningTravelerCard.featured {
  min-height: 282px !important;
  padding: clamp(24px,3vw,34px) !important;
  align-content: center !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(189,229,222,.72), transparent 22rem),
    linear-gradient(145deg, #ffffff 0%, #f7fbf9 62%, #edf7f4 100%) !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningTravelerCard.featured::after {
  content: "" !important;
  position: absolute !important;
  right: -72px !important;
  bottom: -92px !important;
  width: 230px !important;
  height: 230px !important;
  border: 1px solid rgba(15,118,110,.09) !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 32px rgba(15,118,110,.035), 0 0 0 64px rgba(15,118,110,.022) !important;
  pointer-events: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningTravelerCard.compact {
  min-height: 134px !important;
  padding: 18px !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.84) !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningAvatar {
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(15,118,110,.12) !important;
  border-radius: 19px !important;
  background: var(--bm-color-mint-50) !important;
  color: var(--bm-color-primary) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
  font-size: 27px !important;
}
body:has(.appShell.view-market) .appShell.view-market .featured .returningAvatar {
  width: 74px !important;
  height: 74px !important;
  flex-basis: 74px !important;
  border-radius: 23px !important;
  font-size: 34px !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningBody {
  min-width: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 7px !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningBody > strong {
  color: var(--bm-color-text-strong) !important;
  font-family: var(--bm-font-display) !important;
  font-size: 19px !important;
  line-height: 1.15 !important;
  font-weight: 720 !important;
  letter-spacing: -.025em !important;
}
body:has(.appShell.view-market) .appShell.view-market .featured .returningBody > strong { font-size: 27px !important; }
body:has(.appShell.view-market) .appShell.view-market .returningBody > p {
  margin: 0 !important;
  color: var(--bm-color-text-muted) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}
body:has(.appShell.view-market) .appShell.view-market .departBadge {
  width: fit-content !important;
  min-height: 25px !important;
  padding: 0 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid rgba(232,93,104,.14) !important;
  border-radius: 999px !important;
  background: var(--bm-color-accent-soft) !important;
  color: var(--bm-color-accent) !important;
  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 760 !important;
  letter-spacing: .04em !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningMeta {
  margin-top: 4px !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex-wrap: wrap !important;
}
body:has(.appShell.view-market) .appShell.view-market .returningMeta span {
  min-height: 27px !important;
  padding: 0 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: var(--bm-color-surface-soft) !important;
  color: var(--bm-color-text-muted) !important;
  font-size: 10px !important;
  font-weight: 650 !important;
}
body:has(.appShell.view-market) .appShell.view-market .acceptedTags {
  margin-top: 2px !important;
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}
body:has(.appShell.view-market) .appShell.view-market .acceptedTags span {
  color: var(--bm-color-text-subtle) !important;
  font-size: 9px !important;
  font-weight: 620 !important;
}
body:has(.appShell.view-market) .appShell.view-market .acceptedTags span::before { content: "·" !important; margin-right: 5px !important; color: var(--bm-color-primary) !important; }
body:has(.appShell.view-market) .appShell.view-market .cardCta {
  position: relative !important;
  z-index: 1 !important;
  align-self: center !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.78) !important;
  color: var(--bm-color-primary) !important;
  font-size: 10px !important;
  font-weight: 720 !important;
  white-space: nowrap !important;
}
body:has(.appShell.view-market) .appShell.view-market .routeFollowPanel {
  grid-column: 1 / -1 !important;
  min-height: 66px !important;
  padding: 12px 14px 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  border: 1px solid rgba(15,118,110,.14) !important;
  border-radius: 18px !important;
  background: var(--bm-color-mint-50) !important;
  color: var(--bm-color-text-muted) !important;
  font-size: 12px !important;
}
body:has(.appShell.view-market) .appShell.view-market .routeFollowPanel strong { color: var(--bm-color-text-strong) !important; }

/* Product discovery */
body:has(.appShell.view-market) .appShell.view-market :where(.trendBoard,.featuredWishStrip,.trustedMembersPanel) {
  margin-top: var(--bm-section-gap) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .trendGrid {
  margin-top: 22px !important;
  display: grid !important;
  grid-template-columns: minmax(0,1.35fr) repeat(2,minmax(0,.82fr)) !important;
  gap: 14px !important;
}
body:has(.appShell.view-market) .appShell.view-market .trendCard {
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: var(--bm-shadow-1) !important;
  transition: transform var(--bm-transition-normal), border-color var(--bm-transition-normal), box-shadow var(--bm-transition-normal) !important;
}
body:has(.appShell.view-market) .appShell.view-market .trendCard:hover { transform: translateY(-4px) !important; border-color: var(--bm-color-border-hover) !important; box-shadow: var(--bm-shadow-2) !important; }
body:has(.appShell.view-market) .appShell.view-market .productVisual {
  position: relative !important;
  min-height: 164px !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.12)),
    url("./images/bondmai-product-still-life.png") 8% 56% / 260% auto no-repeat,
    linear-gradient(145deg, var(--bm-color-cream), #e9f2ef) !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredProductCard .productVisual { min-height: 214px !important; }
body:has(.appShell.view-market) .appShell.view-market .productVisual::before,
body:has(.appShell.view-market) .appShell.view-market .productVisual::after {
  content: "" !important;
  position: absolute !important;
  pointer-events: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .productVisual::before {
  right: 10% !important;
  bottom: -24% !important;
  width: 34% !important;
  aspect-ratio: 1 !important;
  border-radius: 28% 32% 24% 36% !important;
  background: linear-gradient(145deg, rgba(255,255,255,.34), rgba(255,255,255,.06)) !important;
  box-shadow: -34px -20px 0 rgba(15,118,110,.06), 34px -34px 0 rgba(34,59,93,.04) !important;
  transform: rotate(-12deg) !important;
}
body:has(.appShell.view-market) .appShell.view-market .productVisual::after {
  inset: auto 0 0 !important;
  height: 45% !important;
  background: linear-gradient(180deg, transparent, rgba(34,59,93,.07)) !important;
}
body:has(.appShell.view-market) .appShell.view-market .productVisual-1 { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.12)), url("./images/bondmai-product-still-life.png") 39% 54% / 260% auto no-repeat, linear-gradient(145deg,#f7efe5,#f3e6e4) !important; }
body:has(.appShell.view-market) .appShell.view-market .productVisual-2 { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.12)), url("./images/bondmai-product-still-life.png") 83% 56% / 260% auto no-repeat, linear-gradient(145deg,#eaf1f7,#edf6f3) !important; }
body:has(.appShell.view-market) .appShell.view-market .rankBadge {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  z-index: 2 !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255,255,255,.66) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.78) !important;
  color: var(--bm-color-text-strong) !important;
  box-shadow: 0 6px 18px rgba(16,23,20,.08) !important;
  backdrop-filter: blur(12px) !important;
  font-size: 12px !important;
  font-weight: 780 !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredProductCard .rankBadge { background: var(--bm-color-accent) !important; color: #fff !important; }
body:has(.appShell.view-market) .appShell.view-market .productContent { padding: 19px 19px 21px !important; }
body:has(.appShell.view-market) .appShell.view-market .productContent > strong {
  display: block !important;
  overflow: hidden !important;
  color: var(--bm-color-text-strong) !important;
  font-family: var(--bm-font-display) !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredProductCard .productContent > strong { font-size: 20px !important; }
body:has(.appShell.view-market) .appShell.view-market .productContent > p { margin: 6px 0 0 !important; color: var(--bm-color-text-subtle) !important; font-size: 11px !important; }
body:has(.appShell.view-market) .appShell.view-market .productStats {
  margin-top: 17px !important;
  padding-top: 15px !important;
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 10px !important;
  border-top: 1px solid var(--bm-color-divider) !important;
}
body:has(.appShell.view-market) .appShell.view-market .productStats span { min-width: 0 !important; color: var(--bm-color-text-subtle) !important; font-size: 9px !important; }
body:has(.appShell.view-market) .appShell.view-market .productStats b { display: block !important; margin-top: 3px !important; overflow: hidden !important; color: var(--bm-color-text) !important; font-size: 11px !important; text-overflow: ellipsis !important; white-space: nowrap !important; }

/* Featured requests */
body:has(.appShell.view-market) .appShell.view-market .featuredWishScroller {
  margin-top: 22px !important;
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 14px !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard {
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: var(--bm-shadow-1) !important;
  transition: transform var(--bm-transition-normal), box-shadow var(--bm-transition-normal), border-color var(--bm-transition-normal) !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard:hover { transform: translateY(-3px) !important; border-color: var(--bm-color-border-hover) !important; box-shadow: var(--bm-shadow-2) !important; }
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard.single { max-width: 760px !important; }
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard .wishVisual {
  position: relative !important;
  min-height: 176px !important;
  padding: 16px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 82% 12%, rgba(255,255,255,.9), transparent 12rem),
    linear-gradient(145deg, #e8f2ef, var(--bm-color-cream)) !important;
  box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard .wishVisual > img {
  width: 100% !important;
  height: 176px !important;
  object-fit: cover !important;
  border-radius: 17px !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard .wishVisualPlaceholder {
  position: absolute !important;
  inset: 18px !important;
  display: grid !important;
  place-content: center !important;
  justify-items: center !important;
  gap: 6px !important;
  border: 1px solid rgba(255,255,255,.58) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.36) !important;
  color: var(--bm-color-text) !important;
  backdrop-filter: blur(8px) !important;
}
body:has(.appShell.view-market) .appShell.view-market .wishVisualPlaceholder strong { font-family: var(--bm-font-display) !important; font-size: 30px !important; font-weight: 760 !important; letter-spacing: -.05em !important; }
body:has(.appShell.view-market) .appShell.view-market .wishVisualPlaceholder span { color: var(--bm-color-text-muted) !important; font-size: 10px !important; }
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard .wishVisualClues { position: relative !important; z-index: 2 !important; display: flex !important; gap: 5px !important; flex-wrap: wrap !important; }
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard .wishVisualClues span {
  min-height: 24px !important;
  padding: 0 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.8) !important;
  color: var(--bm-color-text-muted) !important;
  font-size: 8px !important;
  backdrop-filter: blur(8px) !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard .wishVisual > small { position: absolute !important; right: 16px !important; bottom: 12px !important; left: 16px !important; z-index: 2 !important; overflow: hidden !important; color: var(--bm-color-text-muted) !important; font-size: 9px !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body:has(.appShell.view-market) .appShell.view-market .requestContent { padding: 20px !important; }
body:has(.appShell.view-market) .appShell.view-market .requestContent > .status {
  width: fit-content !important;
  min-height: 25px !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: var(--bm-color-mint-50) !important;
  color: var(--bm-color-mint-800) !important;
  font-size: 9px !important;
  font-weight: 720 !important;
}
body:has(.appShell.view-market) .appShell.view-market .requestContent > strong {
  display: block !important;
  margin-top: 10px !important;
  color: var(--bm-color-text-strong) !important;
  font-family: var(--bm-font-display) !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 710 !important;
  letter-spacing: -.02em !important;
}
body:has(.appShell.view-market) .appShell.view-market .requestContent > p { min-height: 34px !important; margin: 6px 0 0 !important; color: var(--bm-color-text-muted) !important; font-size: 10px !important; line-height: 1.6 !important; }
body:has(.appShell.view-market) .appShell.view-market .requestMeta {
  margin-top: 15px !important;
  padding-top: 14px !important;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 10px 12px !important;
  border-top: 1px solid var(--bm-color-divider) !important;
}
body:has(.appShell.view-market) .appShell.view-market .requestMeta span { min-width: 0 !important; color: var(--bm-color-text-subtle) !important; font-size: 9px !important; }
body:has(.appShell.view-market) .appShell.view-market .requestMeta b { display: block !important; margin-top: 2px !important; overflow: hidden !important; color: var(--bm-color-text) !important; font-size: 10px !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body:has(.appShell.view-market) .appShell.view-market .requestActions { margin-top: 17px !important; display: flex !important; align-items: center !important; gap: 8px !important; }
body:has(.appShell.view-market) .appShell.view-market .requestActions > * { flex: 1 1 0 !important; }

/* Trust-first traveler profiles */
body:has(.appShell.view-market) .appShell.view-market .trustedMemberGrid {
  margin-top: 22px !important;
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 14px !important;
}
body:has(.appShell.view-market) .appShell.view-market .trustedMemberCard {
  min-width: 0 !important;
  min-height: 220px !important;
  padding: 22px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0,1fr) !important;
  align-content: start !important;
  gap: 15px !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(189,229,222,.38), transparent 14rem),
    rgba(255,255,255,.88) !important;
  box-shadow: var(--bm-shadow-1) !important;
}
body:has(.appShell.view-market) .appShell.view-market .trustedMemberCard.single { max-width: 760px !important; }
body:has(.appShell.view-market) .appShell.view-market .memberAvatar {
  width: 52px !important;
  height: 52px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(15,118,110,.14) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg,var(--bm-color-mint-100),#fff) !important;
  color: var(--bm-color-mint-800) !important;
  font-family: var(--bm-font-display) !important;
  font-size: 18px !important;
  font-weight: 760 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
}
body:has(.appShell.view-market) .appShell.view-market .travelerTrustContent { min-width: 0 !important; }
body:has(.appShell.view-market) .appShell.view-market .travelerTrustHead { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 10px !important; }
body:has(.appShell.view-market) .appShell.view-market .travelerTrustHead strong { display: block !important; overflow: hidden !important; color: var(--bm-color-text-strong) !important; font-size: 14px !important; font-weight: 710 !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body:has(.appShell.view-market) .appShell.view-market .travelerTrustHead small { display: block !important; margin-top: 3px !important; color: var(--bm-color-text-subtle) !important; font-size: 9px !important; }
body:has(.appShell.view-market) .appShell.view-market .verifiedBadge {
  min-width: max-content !important;
  min-height: 25px !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: var(--bm-color-success-soft) !important;
  color: var(--bm-color-success) !important;
  font-size: 8px !important;
  font-weight: 740 !important;
}
body:has(.appShell.view-market) .appShell.view-market .trustSignalRow {
  margin-top: 17px !important;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 9px !important;
}
body:has(.appShell.view-market) .appShell.view-market .trustSignalRow span {
  min-width: 0 !important;
  padding: 9px 10px !important;
  border: 1px solid var(--bm-color-divider) !important;
  border-radius: 12px !important;
  background: rgba(247,247,244,.7) !important;
  color: var(--bm-color-text-subtle) !important;
  font-size: 8px !important;
}
body:has(.appShell.view-market) .appShell.view-market .trustSignalRow b { display: block !important; margin-top: 2px !important; overflow: hidden !important; color: var(--bm-color-text) !important; font-size: 10px !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body:has(.appShell.view-market) .appShell.view-market .profileLinkButton {
  min-height: 34px !important;
  margin-top: 14px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 11px !important;
  background: var(--bm-color-surface) !important;
  color: var(--bm-color-primary) !important;
  font-size: 9px !important;
  font-weight: 720 !important;
  box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .profileLinkButton.compact { min-height: 28px !important; margin: 0 !important; padding: 0 8px !important; font-size: 8px !important; }

/* Traveler and AI recommendation workspace */
body:has(.appShell.view-market) .appShell.view-market .marketplaceRecommendationGrid {
  margin-top: var(--bm-section-gap) !important;
  display: grid !important;
  grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr) !important;
  gap: 22px !important;
  align-items: start !important;
}
body:has(.appShell.view-market) .appShell.view-market :where(.marketTravelerSection,.aiRecommendationSection) {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 28px !important;
  box-shadow: var(--bm-shadow-1) !important;
}
body:has(.appShell.view-market) .appShell.view-market .marketTravelerSection { background: rgba(255,255,255,.82) !important; }
body:has(.appShell.view-market) .appShell.view-market .aiRecommendationSection {
  position: sticky !important;
  top: 104px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.92), transparent 17rem),
    linear-gradient(145deg,var(--bm-color-mint-50),#f8fbf9 70%) !important;
  border-color: rgba(15,118,110,.16) !important;
  box-shadow: var(--bm-shadow-ai) !important;
}
body:has(.appShell.view-market) .appShell.view-market .marketplaceRecommendationGrid .sectionHead { margin-bottom: 16px !important; }
body:has(.appShell.view-market) .appShell.view-market .marketplaceRecommendationGrid .sectionHead h2 { font-size: 25px !important; }
body:has(.appShell.view-market) .appShell.view-market .filters {
  margin: 0 0 16px !important;
  padding: 3px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 14px !important;
  background: var(--bm-color-surface-soft) !important;
}
body:has(.appShell.view-market) .appShell.view-market .filters::-webkit-scrollbar { display: none !important; }
body:has(.appShell.view-market) .appShell.view-market .filters button {
  min-width: max-content !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--bm-color-text-muted) !important;
  font-size: 10px !important;
  font-weight: 680 !important;
  box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .filters button.active { background: var(--bm-color-surface) !important; color: var(--bm-color-text-strong) !important; box-shadow: var(--bm-shadow-1) !important; }
body:has(.appShell.view-market) .appShell.view-market .tripList,
body:has(.appShell.view-market) .appShell.view-market .matchList { display: grid !important; gap: 12px !important; }
body:has(.appShell.view-market) .appShell.view-market .tripCard {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 18px !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0,1fr) !important;
  gap: 14px !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 20px !important;
  background: var(--bm-color-surface) !important;
  box-shadow: none !important;
  transition: transform var(--bm-transition-normal), border-color var(--bm-transition-normal), box-shadow var(--bm-transition-normal) !important;
}
body:has(.appShell.view-market) .appShell.view-market .tripCard:hover { transform: translateY(-2px) !important; border-color: var(--bm-color-border-hover) !important; box-shadow: var(--bm-shadow-1) !important; }
body:has(.appShell.view-market) .appShell.view-market .tripCard > .avatar {
  width: 48px !important;
  height: 48px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(15,118,110,.13) !important;
  border-radius: 16px !important;
  background: var(--bm-color-mint-50) !important;
  color: var(--bm-color-mint-800) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}
body:has(.appShell.view-market) .appShell.view-market .cardTop { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 12px !important; }
body:has(.appShell.view-market) .appShell.view-market .cardTop h3 { margin: 0 !important; color: var(--bm-color-text-strong) !important; font-family: var(--bm-font-display) !important; font-size: 15px !important; font-weight: 710 !important; }
body:has(.appShell.view-market) .appShell.view-market .cardTop p { margin: 4px 0 0 !important; color: var(--bm-color-text-muted) !important; font-size: 10px !important; }
body:has(.appShell.view-market) .appShell.view-market .cardActions { display: flex !important; align-items: center !important; gap: 6px !important; }
body:has(.appShell.view-market) .appShell.view-market .status {
  min-height: 26px !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: var(--bm-color-surface-soft) !important;
  color: var(--bm-color-text-muted) !important;
  font-size: 8px !important;
  font-weight: 720 !important;
  white-space: nowrap !important;
}
body:has(.appShell.view-market) .appShell.view-market :where(.status.active,.status.matched,.status.new) { background: var(--bm-color-success-soft) !important; color: var(--bm-color-success) !important; }
body:has(.appShell.view-market) .appShell.view-market .miniMeta {
  margin-top: 12px !important;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 7px !important;
}
body:has(.appShell.view-market) .appShell.view-market .miniMeta span { min-width: 0 !important; display: flex !important; align-items: center !important; gap: 5px !important; overflow: hidden !important; color: var(--bm-color-text-muted) !important; font-size: 9px !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body:has(.appShell.view-market) .appShell.view-market .miniMeta svg { width: 13px !important; height: 13px !important; color: var(--bm-color-primary) !important; }
body:has(.appShell.view-market) .appShell.view-market .meter { height: 5px !important; margin-top: 12px !important; overflow: hidden !important; border-radius: 999px !important; background: var(--bm-color-surface-soft) !important; }
body:has(.appShell.view-market) .appShell.view-market .meter > span { display: block !important; height: 100% !important; border-radius: inherit !important; background: linear-gradient(90deg,var(--bm-color-primary),var(--bm-color-mint-300)) !important; }
body:has(.appShell.view-market) .appShell.view-market .tagRow { margin-top: 10px !important; display: flex !important; gap: 5px !important; flex-wrap: wrap !important; }
body:has(.appShell.view-market) .appShell.view-market .tagRow > span { min-height: 23px !important; padding: 0 7px !important; display: inline-flex !important; align-items: center !important; border-radius: 999px !important; background: var(--bm-color-surface-soft) !important; color: var(--bm-color-text-muted) !important; font-size: 8px !important; font-weight: 630 !important; }
body:has(.appShell.view-market) .appShell.view-market .tripCard .note { margin: 10px 0 0 !important; color: var(--bm-color-text-muted) !important; font-size: 9px !important; line-height: 1.55 !important; }
body:has(.appShell.view-market) .appShell.view-market .routeFollowInline {
  margin-top: 11px !important;
  padding: 9px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  border-radius: 12px !important;
  background: var(--bm-color-mint-50) !important;
  color: var(--bm-color-text-muted) !important;
  font-size: 8px !important;
}
body:has(.appShell.view-market) .appShell.view-market .tinyButton {
  min-width: max-content !important;
  min-height: 29px !important;
  padding: 0 8px !important;
  border: 1px solid rgba(15,118,110,.14) !important;
  border-radius: 9px !important;
  background: rgba(255,255,255,.76) !important;
  color: var(--bm-color-primary) !important;
  font-size: 8px !important;
  font-weight: 710 !important;
  box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .travelerTrustBadge { margin-top: 10px !important; }
body:has(.appShell.view-market) .appShell.view-market .searchInput {
  width: 100% !important;
  height: 48px !important;
  margin: 0 0 14px !important;
  padding: 0 15px 0 42px !important;
  border: 1px solid rgba(15,118,110,.16) !important;
  border-radius: 15px !important;
  background: rgba(255,255,255,.84) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 15px center !important;
  color: var(--bm-color-text) !important;
  box-shadow: none !important;
  font-size: 12px !important;
}
body:has(.appShell.view-market) .appShell.view-market .searchInput::placeholder { color: var(--bm-color-text-subtle) !important; }
body:has(.appShell.view-market) .appShell.view-market .matchCard {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 14px !important;
  display: grid !important;
  grid-template-columns: 72px minmax(0,1fr) !important;
  gap: 13px !important;
  border: 1px solid rgba(15,118,110,.14) !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .matchCard > .wishVisual {
  position: relative !important;
  width: 72px !important;
  min-height: 92px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg,var(--bm-color-cream),var(--bm-color-mint-100)) !important;
}
body:has(.appShell.view-market) .appShell.view-market .matchCard > .wishVisual > img { width: 100% !important; height: 100% !important; min-height: 92px !important; object-fit: cover !important; }
body:has(.appShell.view-market) .appShell.view-market .matchCard .wishVisualPlaceholder { position: absolute !important; inset: 0 !important; display: grid !important; place-content: center !important; justify-items: center !important; gap: 2px !important; text-align: center !important; }
body:has(.appShell.view-market) .appShell.view-market .matchCard .wishVisualPlaceholder strong { font-size: 18px !important; }
body:has(.appShell.view-market) .appShell.view-market .matchCard .wishVisualPlaceholder span,
body:has(.appShell.view-market) .appShell.view-market .matchCard .wishVisualClues,
body:has(.appShell.view-market) .appShell.view-market .matchCard .wishVisualGallery,
body:has(.appShell.view-market) .appShell.view-market .matchCard > .wishVisual > small { display: none !important; }
body:has(.appShell.view-market) .appShell.view-market .matchMain { min-width: 0 !important; }
body:has(.appShell.view-market) .appShell.view-market .matchMain h3 { margin: 8px 0 0 !important; overflow: hidden !important; color: var(--bm-color-text-strong) !important; font-family: var(--bm-font-display) !important; font-size: 14px !important; font-weight: 710 !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body:has(.appShell.view-market) .appShell.view-market .matchMain > p { margin: 5px 0 0 !important; color: var(--bm-color-text-muted) !important; font-size: 9px !important; line-height: 1.55 !important; }
body:has(.appShell.view-market) .appShell.view-market .aiBox {
  margin-top: 10px !important;
  padding: 9px 10px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  border: 1px solid rgba(15,118,110,.1) !important;
  border-radius: 12px !important;
  background: var(--bm-color-mint-50) !important;
  color: var(--bm-color-mint-800) !important;
  font-size: 9px !important;
  line-height: 1.5 !important;
}
body:has(.appShell.view-market) .appShell.view-market .aiBox svg { width: 14px !important; height: 14px !important; flex: 0 0 14px !important; }
body:has(.appShell.view-market) .appShell.view-market .matchInsight {
  margin-top: 10px !important;
  padding: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  border-radius: 12px !important;
  background: var(--bm-color-passport-soft) !important;
}
body:has(.appShell.view-market) .appShell.view-market .matchInsight strong,
body:has(.appShell.view-market) .appShell.view-market .matchInsight span { display: block !important; }
body:has(.appShell.view-market) .appShell.view-market .matchInsight strong { color: var(--bm-color-passport) !important; font-size: 10px !important; font-weight: 730 !important; }
body:has(.appShell.view-market) .appShell.view-market .matchInsight span { margin-top: 2px !important; color: var(--bm-color-text-subtle) !important; font-size: 8px !important; }
body:has(.appShell.view-market) .appShell.view-market .reasonPills { margin-top: 8px !important; display: flex !important; gap: 5px !important; flex-wrap: wrap !important; }
body:has(.appShell.view-market) .appShell.view-market .reasonPills span { min-height: 23px !important; padding: 0 7px !important; display: inline-flex !important; align-items: center !important; border: 1px solid rgba(15,118,110,.1) !important; border-radius: 999px !important; background: rgba(255,255,255,.7) !important; color: var(--bm-color-text-muted) !important; font-size: 8px !important; }
body:has(.appShell.view-market) .appShell.view-market .alternativeTrips { margin-top: 7px !important; display: grid !important; gap: 4px !important; }
body:has(.appShell.view-market) .appShell.view-market .alternativeTrips span { color: var(--bm-color-text-muted) !important; font-size: 8px !important; }
body:has(.appShell.view-market) .appShell.view-market .alternativeTrips small { margin-left: 4px !important; color: var(--bm-color-text-subtle) !important; }
body:has(.appShell.view-market) .appShell.view-market .matchFooter {
  margin-top: 12px !important;
  padding-top: 11px !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex-wrap: wrap !important;
  border-top: 1px solid var(--bm-color-divider) !important;
}
body:has(.appShell.view-market) .appShell.view-market .matchFooter > span { flex: 1 1 170px !important; color: var(--bm-color-text-muted) !important; font-size: 8px !important; }
body:has(.appShell.view-market) .appShell.view-market .compactSelect {
  min-width: 116px !important;
  height: 34px !important;
  padding: 0 28px 0 9px !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 10px !important;
  background-color: var(--bm-color-surface) !important;
  color: var(--bm-color-text) !important;
  font-size: 8px !important;
}
body:has(.appShell.view-market) .appShell.view-market .matchFooter .primaryButton { min-height: 34px !important; padding: 0 11px !important; font-size: 8px !important; }

/* Empty and onboarding states */
body:has(.appShell.view-market) .appShell.view-market .marketEmptyState {
  min-height: 150px !important;
  padding: 28px !important;
  display: grid !important;
  place-content: center !important;
  justify-items: center !important;
  gap: 8px !important;
  border: 1px dashed var(--bm-color-border-hover) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.56) !important;
  color: var(--bm-color-text-muted) !important;
  text-align: center !important;
}
body:has(.appShell.view-market) .appShell.view-market .marketEmptyState strong { color: var(--bm-color-text-strong) !important; font-size: 14px !important; }
body:has(.appShell.view-market) .appShell.view-market .marketEmptyState p { max-width: 440px !important; margin: 0 !important; color: var(--bm-color-text-muted) !important; font-size: 10px !important; line-height: 1.6 !important; }
body:has(.appShell.view-market) .appShell.view-market .onboardingPanel {
  margin-top: var(--bm-section-gap) !important;
  padding: 28px !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.78) !important;
  box-shadow: var(--bm-shadow-1) !important;
}
body:has(.appShell.view-market) .appShell.view-market .onboardingGrid { margin-top: 20px !important; display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 12px !important; }
body:has(.appShell.view-market) .appShell.view-market .onboardingCard { min-width: 0 !important; padding: 18px !important; border: 1px solid var(--bm-color-border) !important; border-radius: 18px !important; background: var(--bm-color-surface) !important; box-shadow: none !important; }

/* Floating AI and mobile actions */
body:has(.appShell.view-market) .appShell.view-market .aiAssistButton {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 150 !important;
  width: 58px !important;
  height: 58px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255,255,255,.58) !important;
  border-radius: 19px !important;
  background: linear-gradient(145deg,var(--bm-color-primary),var(--bm-color-mint-500)) !important;
  color: #fff !important;
  box-shadow: 0 18px 45px rgba(15,118,110,.26) !important;
}
body:has(.appShell.view-market) .appShell.view-market .aiAssistButton:hover { transform: translateY(-3px) scale(1.02) !important; }
body:has(.appShell.view-market) .appShell.view-market .aiAssistOrb { display: inline-grid !important; place-items: center !important; font-family: var(--bm-font-display) !important; font-weight: 800 !important; letter-spacing: -.04em !important; }
body:has(.appShell.view-market) .appShell.view-market .aiAssistPreview {
  position: fixed !important;
  right: 24px !important;
  bottom: 92px !important;
  z-index: 149 !important;
  width: min(330px,calc(100vw - 48px)) !important;
  padding: 16px !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 18px !important;
  background: var(--bm-glass-bg) !important;
  color: var(--bm-color-text) !important;
  backdrop-filter: var(--bm-glass-blur) !important;
  box-shadow: var(--bm-shadow-3) !important;
}
body:has(.appShell.view-market) .appShell.view-market .mobileActionBar { display: none !important; }

/* Footer */
body:has(.appShell.view-market) .appShell.view-market .siteFooter {
  width: min(calc(100% - (var(--bm-home-gutter) * 2)), var(--bm-home-max)) !important;
  margin: 0 auto 28px !important;
  padding: 26px !important;
  border: 1px solid var(--bm-color-border) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.68) !important;
  color: var(--bm-color-text-muted) !important;
  box-shadow: var(--bm-shadow-1) !important;
}
body:has(.appShell.view-market) .appShell.view-market .siteFooter a { color: var(--bm-color-text-muted) !important; text-decoration: none !important; }
body:has(.appShell.view-market) .appShell.view-market .siteFooter a:hover { color: var(--bm-color-primary) !important; }

/* Dark mode */
[data-theme="dark"] body:has(.appShell.view-market) .appShell.view-market,
body:has(.appShell.view-market) .appShell.view-market[data-theme="dark"] {
  background:
    radial-gradient(circle at 8% 4%, rgba(15,118,110,.16), transparent 29rem),
    radial-gradient(circle at 93% 16%, rgba(198,147,63,.09), transparent 31rem),
    var(--bm-color-bg) !important;
}
[data-theme="dark"] body:has(.appShell.view-market) .appShell.view-market :where(.topbar,.liveStatsStrip,.pulseFeed,.pulseTrips,.returningTravelerCard.compact,.trendCard,.featuredWishCard,.trustedMemberCard,.marketTravelerSection,.siteFooter) { background-color: rgba(26,33,30,.88) !important; }
[data-theme="dark"] body:has(.appShell.view-market) .appShell.view-market .returningTravelerCard.featured { background: radial-gradient(circle at 100% 0,rgba(15,118,110,.24),transparent 22rem),linear-gradient(145deg,#1a211e,#17221e) !important; }
[data-theme="dark"] body:has(.appShell.view-market) .appShell.view-market .aiRecommendationSection { background: radial-gradient(circle at 100% 0,rgba(98,198,184,.12),transparent 17rem),linear-gradient(145deg,#17241f,#161d1a) !important; }
[data-theme="dark"] body:has(.appShell.view-market) .appShell.view-market .boardSummary,
[data-theme="dark"] body:has(.appShell.view-market) .appShell.view-market .cardCta,
[data-theme="dark"] body:has(.appShell.view-market) .appShell.view-market .searchInput,
[data-theme="dark"] body:has(.appShell.view-market) .appShell.view-market .matchCard { background-color: rgba(26,33,30,.9) !important; }
[data-theme="dark"] body:has(.appShell.view-market) .appShell.view-market .trustSignalRow span { background: rgba(32,40,36,.84) !important; }

/* Responsive */
@media (max-width: 1180px) {
  body:has(.appShell.view-market) .appShell.view-market .topbar { padding-right: 10px !important; }
  body:has(.appShell.view-market) .appShell.view-market > .themeToggle,
  body:has(.appShell.view-market) .appShell.view-market > .languageToggle { display: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroLuxuryV5 { grid-template-columns: minmax(0,1fr) minmax(330px,.82fr) !important; gap: 38px !important; }
  body:has(.appShell.view-market) .appShell.view-market .marketplaceRecommendationGrid { grid-template-columns: minmax(0,1fr) minmax(330px,.82fr) !important; }
}

@media (max-width: 980px) {
  body:has(.appShell.view-market) .appShell.view-market { --bm-home-gutter: 20px; --bm-section-gap: 72px; }
  body:has(.appShell.view-market) .appShell.view-market .topbar { position: relative !important; top: auto !important; flex-wrap: wrap !important; }
  body:has(.appShell.view-market) .appShell.view-market .tabs { order: 3 !important; width: 100% !important; justify-content: flex-start !important; overflow-x: auto !important; scrollbar-width: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .tabs::-webkit-scrollbar { display: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroLuxuryV5 { min-height: 0 !important; grid-template-columns: 1fr !important; padding: 42px !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroLuxuryVisual { width: min(100%,700px) !important; margin: 0 auto !important; }
  body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail { grid-auto-rows: 122px !important; }
  body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(1) { grid-column: span 7 !important; }
  body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(2),
  body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(3) { grid-column: span 5 !important; }
  body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(4) { grid-column: span 7 !important; }
  body:has(.appShell.view-market) .appShell.view-market .departureGrid { grid-template-columns: 1fr !important; }
  body:has(.appShell.view-market) .appShell.view-market .returningCompactStack { grid-template-columns: repeat(2,minmax(0,1fr)) !important; grid-template-rows: auto !important; }
  body:has(.appShell.view-market) .appShell.view-market .trendGrid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body:has(.appShell.view-market) .appShell.view-market .featuredProductCard { grid-column: 1 / -1 !important; display: grid !important; grid-template-columns: 1.1fr .9fr !important; }
  body:has(.appShell.view-market) .appShell.view-market .featuredProductCard .productVisual { min-height: 240px !important; }
  body:has(.appShell.view-market) .appShell.view-market .featuredWishScroller,
  body:has(.appShell.view-market) .appShell.view-market .trustedMemberGrid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body:has(.appShell.view-market) .appShell.view-market .marketplaceRecommendationGrid { grid-template-columns: 1fr !important; }
  body:has(.appShell.view-market) .appShell.view-market .aiRecommendationSection { position: relative !important; top: auto !important; }
}

@media (max-width: 760px) {
  body:has(.appShell.view-market) .appShell.view-market { --bm-home-gutter: 14px; --bm-section-gap: 60px; padding-bottom: 82px !important; }
  body:has(.appShell.view-market) .appShell.view-market .topbar { min-height: 58px !important; margin-top: 10px !important; border-radius: 19px !important; }
  body:has(.appShell.view-market) .appShell.view-market .brand { min-height: 44px !important; }
  body:has(.appShell.view-market) .appShell.view-market .logoMark { width: 38px !important; height: 38px !important; flex-basis: 38px !important; }
  body:has(.appShell.view-market) .appShell.view-market .brand small { display: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .loginStatusChip { margin-left: 0 !important; }
  body:has(.appShell.view-market) .appShell.view-market .tabs { display: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroLuxuryV5 { margin-top: 14px !important; padding: 28px 20px 24px !important; gap: 30px !important; border-radius: 28px !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroTitleEn { font-size: clamp(2.55rem,13vw,4rem) !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroTitleZh { font-size: 18px !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroLead { font-size: 13px !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroSpotlightGrid { grid-template-columns: 1fr !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroSearchProduct { grid-column: auto !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroSearchSubmit { width: 100% !important; min-height: 50px !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroPopularRow { align-items: flex-start !important; overflow-x: auto !important; flex-wrap: nowrap !important; scrollbar-width: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroPopularRow::-webkit-scrollbar { display: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroLuxuryVisual { display: none !important; min-height: auto; }
  body:has(.appShell.view-market) .appShell.view-market .heroImageCard { display: none; min-height: 0; }
  body:has(.appShell.view-market) .appShell.view-market .heroGlassMatch { right: auto !important; bottom: auto !important; left: auto !important; width: 100% !important; margin: 0 !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroMiniStats { display: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroTrustPill { position: relative !important; right: auto !important; bottom: auto !important; grid-column: 1 !important; margin-top: -10px !important; }
  body:has(.appShell.view-market) .appShell.view-market .sectionHead,
  body:has(.appShell.view-market) .appShell.view-market .marketPulseHead { align-items: flex-start !important; flex-direction: column !important; }
  body:has(.appShell.view-market) .appShell.view-market .marketPulseActions { width: 100% !important; }
  body:has(.appShell.view-market) .appShell.view-market .marketPulseActions > * { flex: 1 1 0 !important; }
  body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail { display: grid !important; grid-template-columns: 1fr 1fr !important; grid-auto-rows: 156px !important; }
  body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(n) { grid-column: auto !important; grid-row: auto !important; }
  body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(1) { grid-column: 1 / -1 !important; min-height: 214px !important; }
  body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(4) { grid-column: 1 / -1 !important; }
  body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px 0 !important; }
  body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip > span:nth-child(3) { border-left: 0 !important; }
  body:has(.appShell.view-market) .appShell.view-market .marketPulseGrid { grid-template-columns: 1fr !important; }
  body:has(.appShell.view-market) .appShell.view-market .returningCompactStack { grid-template-columns: 1fr !important; }
  body:has(.appShell.view-market) .appShell.view-market .returningTravelerCard.featured { min-height: 0 !important; padding: 24px !important; }
  body:has(.appShell.view-market) .appShell.view-market .returningTravelerCard { grid-template-columns: auto minmax(0,1fr) !important; }
  body:has(.appShell.view-market) .appShell.view-market .returningTravelerCard .cardCta { display: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .routeFollowPanel { align-items: flex-start !important; flex-direction: column !important; }
  body:has(.appShell.view-market) .appShell.view-market .trendGrid,
  body:has(.appShell.view-market) .appShell.view-market .featuredWishScroller,
  body:has(.appShell.view-market) .appShell.view-market .trustedMemberGrid { grid-template-columns: 1fr !important; }
  body:has(.appShell.view-market) .appShell.view-market .featuredProductCard { grid-column: auto !important; display: block !important; }
  body:has(.appShell.view-market) .appShell.view-market .featuredProductCard .productVisual { min-height: 210px !important; }
  body:has(.appShell.view-market) .appShell.view-market :where(.marketTravelerSection,.aiRecommendationSection) { padding: 18px !important; border-radius: 23px !important; }
  body:has(.appShell.view-market) .appShell.view-market .tripCard { grid-template-columns: 42px minmax(0,1fr) !important; padding: 14px !important; }
  body:has(.appShell.view-market) .appShell.view-market .tripCard > .avatar { width: 42px !important; height: 42px !important; }
  body:has(.appShell.view-market) .appShell.view-market .cardTop { flex-direction: column !important; }
  body:has(.appShell.view-market) .appShell.view-market .matchCard { grid-template-columns: 58px minmax(0,1fr) !important; }
  body:has(.appShell.view-market) .appShell.view-market .matchCard > .wishVisual { width: 58px !important; }
  body:has(.appShell.view-market) .appShell.view-market .aiAssistButton,
  body:has(.appShell.view-market) .appShell.view-market .aiAssistPreview { display: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .mobileActionBar {
    position: fixed !important;
    right: 10px !important;
    bottom: max(10px,env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    z-index: 170 !important;
    min-height: 64px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    gap: 4px !important;
    border: 1px solid rgba(221,227,223,.86) !important;
    border-radius: 21px !important;
    background: var(--bm-glass-bg) !important;
    backdrop-filter: var(--bm-glass-blur) !important;
    box-shadow: var(--bm-shadow-3) !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .mobileActionBar button { min-width: 0 !important; min-height: 50px !important; flex: 1 1 0 !important; padding: 4px !important; border: 0 !important; border-radius: 15px !important; background: transparent !important; color: var(--bm-color-text-muted) !important; box-shadow: none !important; font-size: 9px !important; }
  body:has(.appShell.view-market) .appShell.view-market .mobileActionBar button.active { background: var(--bm-color-primary-container) !important; color: var(--bm-color-on-primary-container) !important; }
  body:has(.appShell.view-market) .appShell.view-market .siteFooter { margin-bottom: 96px !important; padding: 20px !important; }
}

@media (max-width: 520px) {
  body:has(.appShell.view-market) .appShell.view-market .topbar { width: calc(100% - 20px) !important; margin-right: 10px !important; margin-left: 10px !important; padding: 6px !important; }
  body:has(.appShell.view-market) .appShell.view-market .loginStatusChip { max-width: 138px !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroLuxuryV5 { width: calc(100% - 20px) !important; margin-right: 10px !important; margin-left: 10px !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroCountryPills { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroCountryPills button { width: 100% !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroLuxuryVisual { display: none !important; min-height: auto; }
  body:has(.appShell.view-market) .appShell.view-market .heroImageCard { display: none; min-height: 0; }
  body:has(.appShell.view-market) .appShell.view-market .heroMatchTop em { display: none !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroMetricRow { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body:has(.appShell.view-market) .appShell.view-market .heroMetricRow > span:last-child { grid-column: 1 / -1 !important; }
  body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail { grid-template-columns: 1fr !important; }
  body:has(.appShell.view-market) .appShell.view-market .destinationCard:nth-child(n) { grid-column: auto !important; min-height: 176px !important; }
  body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip { padding: 10px 6px !important; }
  body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip > span { padding: 3px 10px !important; }
  body:has(.appShell.view-market) .appShell.view-market .sectionHead h2,
  body:has(.appShell.view-market) .appShell.view-market .marketPulseHead h2 { font-size: 28px !important; }
  body:has(.appShell.view-market) .appShell.view-market .boardSummary { align-self: flex-start !important; }
  body:has(.appShell.view-market) .appShell.view-market .returningAvatar { width: 48px !important; height: 48px !important; flex-basis: 48px !important; border-radius: 16px !important; }
  body:has(.appShell.view-market) .appShell.view-market .featured .returningAvatar { width: 56px !important; height: 56px !important; flex-basis: 56px !important; }
  body:has(.appShell.view-market) .appShell.view-market .featured .returningBody > strong { font-size: 22px !important; }
  body:has(.appShell.view-market) .appShell.view-market .requestMeta { grid-template-columns: 1fr 1fr !important; }
  body:has(.appShell.view-market) .appShell.view-market .trustedMemberCard { padding: 18px !important; }
  body:has(.appShell.view-market) .appShell.view-market .matchFooter { align-items: stretch !important; flex-direction: column !important; }
  body:has(.appShell.view-market) .appShell.view-market .matchFooter > * { width: 100% !important; }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.appShell.view-market) .appShell.view-market *,
  body:has(.appShell.view-market) .appShell.view-market *::before,
  body:has(.appShell.view-market) .appShell.view-market *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Small semantic additions introduced by the v2 component copy */
body:has(.appShell.view-market) .appShell.view-market .heroMatchStatus {
  margin: 10px 0 0 !important;
  color: var(--bm-color-text-subtle) !important;
  font-size: 9px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

/* Legacy-layout neutralizers discovered during browser regression capture */
body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail > .destinationCard {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}
body:has(.appShell.view-market) .appShell.view-market :where(.departureBoard,.trendBoard,.featuredWishStrip,.trustedMembersPanel) {
  display: block !important;
  grid-template-columns: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .sectionHead.tight {
  width: auto !important;
  min-height: 0 !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard .wishVisual::after {
  display: none !important;
  content: none !important;
}

/* Remove two legacy content substitutions from the old homepage bundle. */
body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip > .sectionHead h2 {
  font-size: var(--bm-type-section-size) !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip > .sectionHead h2::after {
  display: none !important;
  content: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishCard .wishVisual > small {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bm-color-text-muted) !important;
  line-height: 1.35 !important;
}
body:has(.appShell.view-market) .appShell.view-market .trustedMemberCard::after {
  display: none !important;
  content: none !important;
}

/* ========================================================================== 
   BondMai Home v2.1 — real-data layout correction
   Fixes legacy grid leakage and keeps sparse marketplace data visually balanced.
   ========================================================================== */

body:has(.appShell.view-market) .appShell.view-market {
  --bm-home-max: 1320px;
  --bm-section-gap: clamp(56px, 5.5vw, 80px);
}

/* The legacy bundle leaves several homepage containers as grids. Reset them
   before applying the v2 composition so rows do not acquire phantom height. */
body:has(.appShell.view-market) .appShell.view-market .workspace > .panel,
body:has(.appShell.view-market) .appShell.view-market .marketPulse,
body:has(.appShell.view-market) .appShell.view-market :where(.departureBoard,.trendBoard,.featuredWishStrip,.trustedMembersPanel) {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  align-items: initial !important;
}

body:has(.appShell.view-market) .appShell.view-market .workspace > .panel {
  padding-bottom: 88px !important;
}

body:has(.appShell.view-market) .appShell.view-market .workspace > .panel > :where(section,.viewGrid) {
  width: 100% !important;
  min-width: 0 !important;
  margin-top: var(--bm-section-gap) !important;
}

body:has(.appShell.view-market) .appShell.view-market .marketPulse {
  margin-top: 72px !important;
}

body:has(.appShell.view-market) .appShell.view-market :where(.sectionHead,.marketPulseHead) {
  width: 100% !important;
  min-width: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

/* Popular destinations: fill the full canvas and adapt to the real card count. */
body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail:has(> .destinationCard:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: 228px !important;
  gap: 14px !important;
}
body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail:has(> .destinationCard:nth-child(3):last-child) > .destinationCard:nth-child(1) {
  grid-column: auto !important;
  grid-row: auto !important;
}
body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail:has(> .destinationCard:nth-child(3):last-child) > .destinationCard:nth-child(2) {
  grid-column: auto !important;
  grid-row: auto !important;
}
body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail:has(> .destinationCard:nth-child(3):last-child) > .destinationCard:nth-child(3) {
  grid-column: auto !important;
  grid-row: auto !important;
}

body:has(.appShell.view-market) .appShell.view-market .destinationCard {
  height: 100% !important;
  max-width: none !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationStats > span {
  min-height: 29px !important;
  padding-inline: 9px !important;
  font-size: 10px !important;
}
body:has(.appShell.view-market) .appShell.view-market .destinationStats b { font-size: 11px !important; }

body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip,
body:has(.appShell.view-market) .appShell.view-market .marketPulseGrid {
  width: 100% !important;
  max-width: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
}
body:has(.appShell.view-market) .appShell.view-market .marketPulseGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: auto !important;
  align-items: stretch !important;
}
body:has(.appShell.view-market) .appShell.view-market .marketPulseGrid > :where(.pulseFeed,.pulseTrips) {
  width: 100% !important;
  max-width: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: stretch !important;
}
body:has(.appShell.view-market) .appShell.view-market .pulseItem strong { font-size: 14px !important; }
body:has(.appShell.view-market) .appShell.view-market .pulseItem small,
body:has(.appShell.view-market) .appShell.view-market .pulseItem p { font-size: 11px !important; }

/* One live departure should become a deliberate two-cell Bento, not an empty grid. */
body:has(.appShell.view-market) .appShell.view-market .departureBoard.single .departureGrid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr) !important;
  grid-template-rows: minmax(260px, auto) !important;
  gap: 14px !important;
}
body:has(.appShell.view-market) .appShell.view-market .departureBoard.single .returningTravelerCard.featured {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-height: 260px !important;
}
body:has(.appShell.view-market) .appShell.view-market .departureBoard.single .routeFollowPanel {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-height: 260px !important;
  padding: 28px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex-direction: column !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.9), transparent 15rem),
    linear-gradient(145deg, var(--bm-color-mint-50), var(--bm-color-cream)) !important;
  box-shadow: var(--bm-shadow-1) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}
body:has(.appShell.view-market) .appShell.view-market .departureBoard.single .routeFollowPanel .softButton {
  width: 100% !important;
  margin-top: 12px !important;
}

/* Product cards were inheriting a legacy 34px thumbnail column. */
body:has(.appShell.view-market) .appShell.view-market .trendGrid {
  align-items: stretch !important;
}
body:has(.appShell.view-market) .appShell.view-market .trendCard,
body:has(.appShell.view-market) .appShell.view-market .trendCard.featuredProductCard {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  padding: 0 !important;
  align-items: initial !important;
}
body:has(.appShell.view-market) .appShell.view-market .trendCard .productVisual,
body:has(.appShell.view-market) .appShell.view-market .trendCard.featuredProductCard .productVisual {
  width: 100% !important;
  min-width: 0 !important;
  height: 184px !important;
  min-height: 184px !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
body:has(.appShell.view-market) .appShell.view-market .trendCard.featuredProductCard .productVisual {
  height: 210px !important;
  min-height: 210px !important;
}
body:has(.appShell.view-market) .appShell.view-market .productContent > strong { font-size: 18px !important; }
body:has(.appShell.view-market) .appShell.view-market .featuredProductCard .productContent > strong { font-size: 21px !important; }
body:has(.appShell.view-market) .appShell.view-market .productContent > p { font-size: 12px !important; }
body:has(.appShell.view-market) .appShell.view-market .productStats span { font-size: 11px !important; }
body:has(.appShell.view-market) .appShell.view-market .productStats b { font-size: 13px !important; }

/* Sparse sections use the whole canvas instead of leaving two empty columns. */
body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip.single .featuredWishScroller,
body:has(.appShell.view-market) .appShell.view-market .trustedMembersPanel.single .trustedMemberGrid {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip.single .featuredWishCard.single {
  width: 100% !important;
  max-width: none !important;
  min-height: 320px !important;
  display: grid !important;
  grid-template-columns: minmax(310px, .78fr) minmax(0, 1.22fr) !important;
  grid-template-rows: minmax(320px, auto) !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip.single .featuredWishCard.single .wishVisual {
  height: 100% !important;
  min-height: 320px !important;
  border-right: 1px solid var(--bm-color-divider) !important;
}
body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip.single .featuredWishCard.single .requestContent {
  align-self: center !important;
  padding: clamp(28px, 4vw, 48px) !important;
}
body:has(.appShell.view-market) .appShell.view-market .requestContent > strong { font-size: 22px !important; }
body:has(.appShell.view-market) .appShell.view-market .requestContent > p { min-height: 0 !important; font-size: 12px !important; }
body:has(.appShell.view-market) .appShell.view-market .requestMeta {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
body:has(.appShell.view-market) .appShell.view-market .requestMeta span { font-size: 11px !important; }
body:has(.appShell.view-market) .appShell.view-market .requestMeta b { font-size: 13px !important; }

body:has(.appShell.view-market) .appShell.view-market .trustedMembersPanel.single .trustedMemberCard.single {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 24px 28px !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  align-items: center !important;
}
body:has(.appShell.view-market) .appShell.view-market .trustedMembersPanel.single .memberAvatar {
  width: 64px !important;
  height: 64px !important;
}
body:has(.appShell.view-market) .appShell.view-market .trustedMembersPanel.single .travelerTrustContent {
  display: grid !important;
  grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
}
body:has(.appShell.view-market) .appShell.view-market .trustedMembersPanel.single .trustSignalRow {
  margin-top: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
body:has(.appShell.view-market) .appShell.view-market .trustSignalRow span { font-size: 10px !important; }
body:has(.appShell.view-market) .appShell.view-market .trustSignalRow b { font-size: 12px !important; }
body:has(.appShell.view-market) .appShell.view-market .trustedMembersPanel.single .profileLinkButton {
  margin-top: 0 !important;
  white-space: nowrap !important;
}

/* The lower area is discovery content, not a dashboard. Stack the two sections
   and give each item a responsive card grid so one column cannot become twice
   as tall as the other. */
body:has(.appShell.view-market) .appShell.view-market .marketplaceRecommendationGrid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: var(--bm-section-gap) !important;
  align-items: start !important;
}
body:has(.appShell.view-market) .appShell.view-market :where(.marketTravelerSection,.aiRecommendationSection) {
  width: 100% !important;
  max-width: none !important;
  position: relative !important;
  top: auto !important;
  padding: clamp(26px, 3vw, 36px) !important;
}
body:has(.appShell.view-market) .appShell.view-market .marketTravelerSection .tripList,
body:has(.appShell.view-market) .appShell.view-market .aiRecommendationSection .matchList {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 14px !important;
}
body:has(.appShell.view-market) .appShell.view-market .tripCard,
body:has(.appShell.view-market) .appShell.view-market .matchCard {
  height: 100% !important;
}
body:has(.appShell.view-market) .appShell.view-market .cardTop h3 { font-size: 16px !important; }
body:has(.appShell.view-market) .appShell.view-market .cardTop p { font-size: 11px !important; }
body:has(.appShell.view-market) .appShell.view-market .status { font-size: 10px !important; }
body:has(.appShell.view-market) .appShell.view-market .miniMeta span,
body:has(.appShell.view-market) .appShell.view-market .tripCard .note { font-size: 10px !important; }
body:has(.appShell.view-market) .appShell.view-market .tagRow > span,
body:has(.appShell.view-market) .appShell.view-market .routeFollowInline,
body:has(.appShell.view-market) .appShell.view-market .tinyButton,
body:has(.appShell.view-market) .appShell.view-market .profileLinkButton.compact { font-size: 9px !important; }
body:has(.appShell.view-market) .appShell.view-market .matchMain h3 { font-size: 16px !important; }
body:has(.appShell.view-market) .appShell.view-market .matchMain > p,
body:has(.appShell.view-market) .appShell.view-market .aiBox { font-size: 11px !important; }
body:has(.appShell.view-market) .appShell.view-market .matchInsight strong { font-size: 12px !important; }
body:has(.appShell.view-market) .appShell.view-market .reasonPills span,
body:has(.appShell.view-market) .appShell.view-market .alternativeTrips span,
body:has(.appShell.view-market) .appShell.view-market .matchFooter > span { font-size: 9px !important; }

@media (max-width: 1120px) {
  body:has(.appShell.view-market) .appShell.view-market .marketTravelerSection .tripList,
  body:has(.appShell.view-market) .appShell.view-market .aiRecommendationSection .matchList {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .trustedMembersPanel.single .travelerTrustContent {
    grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr) !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .trustedMembersPanel.single .profileLinkButton {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
  }
}

@media (max-width: 820px) {
  body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail:has(> .destinationCard:nth-child(3):last-child) {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 220px 170px !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail:has(> .destinationCard:nth-child(3):last-child) > .destinationCard:nth-child(1) {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail:has(> .destinationCard:nth-child(3):last-child) > .destinationCard:nth-child(2) {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail:has(> .destinationCard:nth-child(3):last-child) > .destinationCard:nth-child(3) {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .departureBoard.single .departureGrid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .departureBoard.single .routeFollowPanel {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-height: 0 !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip.single .featuredWishCard.single {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip.single .featuredWishCard.single .wishVisual {
    min-height: 230px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--bm-color-divider) !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .trustedMembersPanel.single .travelerTrustContent {
    grid-template-columns: 1fr !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .trustedMembersPanel.single .trustSignalRow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .marketTravelerSection .tripList,
  body:has(.appShell.view-market) .appShell.view-market .aiRecommendationSection .matchList {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  body:has(.appShell.view-market) .appShell.view-market {
    --bm-section-gap: 48px;
  }
  body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail:has(> .destinationCard:nth-child(3):last-child) {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, 176px) !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .pulseCountryRail:has(> .destinationCard:nth-child(3):last-child) > .destinationCard:nth-child(n) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .requestMeta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Direct specificity override for the former sticky recommendation sidebar. */
body:has(.appShell.view-market) .appShell.view-market .aiRecommendationSection {
  position: relative !important;
  top: auto !important;
}

/* Match-card placement must be explicit. The old bundle auto-placed later
   children into the thumbnail column, producing narrow vertical panels. */
body:has(.appShell.view-market) .appShell.view-market .matchCard > .wishVisual {
  grid-column: 1 !important;
  grid-row: 1 !important;
}
body:has(.appShell.view-market) .appShell.view-market .matchCard > .matchMain {
  grid-column: 2 !important;
  grid-row: 1 !important;
}
body:has(.appShell.view-market) .appShell.view-market .matchCard > :where(.aiBox,.matchInsight,.reasonPills,.alternativeTrips,.travelerTrustBadge,.matchFooter) {
  grid-column: 1 / -1 !important;
}

@media (max-width: 680px) {
  /* Search-first hero remains usable instead of turning the CTA into a large circle. */
  body:has(.appShell.view-market) .appShell.view-market .heroSpotlightSearch {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 8px !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .heroSpotlightGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .heroSearchProduct {
    grid-column: 1 / -1 !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .heroSearchField:nth-child(3) {
    display: flex !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .heroSearchSubmit {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
  }

  body:has(.appShell.view-market) .appShell.view-market .marketPulseGrid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .marketPulseGrid > :where(.pulseFeed,.pulseTrips) {
    width: 100% !important;
    max-width: none !important;
  }
  /* The compact mobile overview intentionally keeps the demand feed only. */
  body:has(.appShell.view-market) .appShell.view-market .marketPulseGrid > .pulseFeed {
    grid-column: 1 !important;
  }

  body:has(.appShell.view-market) .appShell.view-market .liveStatsStrip {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    grid-auto-rows: auto !important;
  }

  /* Product cards become compact editorial rows on phones. */
  body:has(.appShell.view-market) .appShell.view-market .trendGrid {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: none !important;
    grid-auto-rows: auto !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .trendCard,
  body:has(.appShell.view-market) .appShell.view-market .trendCard.featuredProductCard {
    width: 100% !important;
    height: auto !important;
    min-height: 158px !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: 116px minmax(0, 1fr) !important;
    grid-template-rows: minmax(158px, auto) !important;
    overflow: hidden !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .trendCard .productVisual,
  body:has(.appShell.view-market) .appShell.view-market .trendCard.featuredProductCard .productVisual {
    width: 116px !important;
    height: 100% !important;
    min-height: 158px !important;
    border-right: 1px solid var(--bm-color-divider) !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .trendCard .productContent {
    align-self: center !important;
    min-width: 0 !important;
    padding: 18px !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .productContent > strong,
  body:has(.appShell.view-market) .appShell.view-market .featuredProductCard .productContent > strong {
    font-size: 16px !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .productStats {
    gap: 6px !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .productStats span { font-size: 9px !important; }
  body:has(.appShell.view-market) .appShell.view-market .productStats b { font-size: 11px !important; }

  /* Remove the legacy 270px scroller clamp so the single request is readable. */
  body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip.single .featuredWishScroller {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
    grid-template-rows: auto !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip.single .featuredWishCard.single {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip.single .featuredWishCard.single .wishVisual {
    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .featuredWishStrip.single .featuredWishCard.single .requestContent {
    width: 100% !important;
    padding: 22px !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .requestContent > strong { font-size: 19px !important; }

  /* A phone card uses one full-width content flow after its compact header. */
  body:has(.appShell.view-market) .appShell.view-market .matchCard {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-content: start !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .matchCard > :where(.aiBox,.matchInsight,.reasonPills,.alternativeTrips,.travelerTrustBadge,.matchFooter) {
    width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 / -1 !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .matchFooter {
    align-items: stretch !important;
    flex-direction: column !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .matchFooter > * {
    width: 100% !important;
  }
}

body:has(.appShell.view-market) .appShell.view-market .alternativeTrips {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

@media (max-width: 680px) {
  body:has(.appShell.view-market) .appShell.view-market .aiRecommendationSection .matchList {
    display: flex !important;
    align-items: stretch !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 2px 20px 10px 2px !important;
    scroll-snap-type: x mandatory !important;
    overscroll-behavior-inline: contain !important;
    scrollbar-width: none !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .aiRecommendationSection .matchList::-webkit-scrollbar {
    display: none !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .aiRecommendationSection .matchCard {
    flex: 0 0 calc(100% - 18px) !important;
    scroll-snap-align: start !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .matchFooter > span {
    flex: 0 0 auto !important;
    min-height: 0 !important;
  }
  body:has(.appShell.view-market) .appShell.view-market .reasonPills > span:nth-child(n + 4) {
    display: none !important;
  }
}

/* ========================================================================== 
   BondMai Home V2.2 — editorial consolidation
   Apple HIG × Airbnb × Linear × restrained Bento
   This block replaces the V2.1 lower-home composition without adding a new
   stylesheet layer. All selectors are limited to the marketplace view.
   ========================================================================== */

.appShell.view-market .marketPulseV22 {
  margin-bottom: 24px !important;
}

.appShell.view-market .marketPulseV22 .liveStatsStrip {
  margin-top: 12px !important;
}

.appShell.view-market .marketPulseFootnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 10px 4px 0;
  color: var(--bm-color-text-secondary, #5e6d6a);
  font-size: 12px;
  line-height: 1.55;
}

.appShell.view-market .marketPulseFootnote .profileLinkButton {
  flex: 0 0 auto;
}

/* --- Consolidated demand section ---------------------------------------- */

.appShell.view-market .marketDemandShowcase {
  position: relative;
  margin: 28px 0 34px;
  padding: 0;
}

.appShell.view-market .marketDemandShowcase .sectionHead {
  margin-bottom: 16px;
}

.appShell.view-market .marketDemandGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .78fr);
  gap: 16px;
  align-items: stretch;
}

.appShell.view-market .featuredDemandCard,
.appShell.view-market .demandTrendRail {
  border: 1px solid color-mix(in srgb, var(--bm-color-border, #d9e4e1) 88%, transparent);
  border-radius: 26px;
  background: var(--bm-color-surface, #fff);
  box-shadow: 0 16px 42px rgba(24, 56, 52, .08);
  overflow: hidden;
}

.appShell.view-market .featuredDemandCard {
  display: grid;
  grid-template-columns: minmax(170px, .72fr) minmax(0, 1.45fr);
  min-height: 286px;
}

.appShell.view-market .featuredDemandVisual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 24px;
  color: #163a36;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, .9), transparent 34%),
    linear-gradient(145deg, #e4f7f1 0%, #f7f1e8 100%);
  border-right: 1px solid rgba(14, 95, 83, .09);
  isolation: isolate;
}

.appShell.view-market .featuredDemandVisual::before,
.appShell.view-market .featuredDemandVisual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
}

.appShell.view-market .featuredDemandVisual::before {
  width: 148px;
  height: 148px;
  right: -54px;
  bottom: -42px;
  border: 24px solid rgba(20, 137, 119, .09);
}

.appShell.view-market .featuredDemandVisual::after {
  width: 68px;
  height: 68px;
  top: 26px;
  right: 26px;
  background: rgba(255, 255, 255, .58);
  filter: blur(1px);
}

.appShell.view-market .demandCountryFlag {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 28px rgba(15, 61, 54, .12);
  font-size: 24px;
}

.appShell.view-market .featuredDemandVisual > div {
  display: grid;
  gap: 5px;
}

.appShell.view-market .featuredDemandVisual small {
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(22, 58, 54, .58);
}

.appShell.view-market .featuredDemandVisual strong {
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.035em;
}

.appShell.view-market .featuredDemandVisual span:not(.demandCountryFlag):not(.countryFlag) {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(22, 58, 54, .72);
}

.appShell.view-market .featuredDemandBody {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px 30px;
}

.appShell.view-market .featuredDemandBody > .status {
  align-self: flex-start;
  margin-bottom: 10px;
}

.appShell.view-market .featuredDemandBody h3 {
  margin: 0;
  color: var(--bm-color-text-primary, #142422);
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.appShell.view-market .featuredDemandBody > p {
  margin: 8px 0 18px;
  color: var(--bm-color-text-secondary, #63716e);
  font-size: 14px;
  line-height: 1.55;
}

.appShell.view-market .featuredDemandMeta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.appShell.view-market .featuredDemandMeta > span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(16, 92, 80, .08);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bm-color-surface-alt, #f6faf8) 94%, white);
  color: var(--bm-color-text-tertiary, #75827f);
  font-size: 10px;
}

.appShell.view-market .featuredDemandMeta b {
  overflow: hidden;
  color: var(--bm-color-text-primary, #172825);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appShell.view-market .featuredDemandActions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.appShell.view-market .featuredDemandActions > button {
  min-width: 132px;
}

.appShell.view-market .demandTrendRail {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.appShell.view-market .demandTrendHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid var(--bm-color-divider, #e8eeec);
}

.appShell.view-market .demandTrendHead span {
  color: var(--bm-color-text-primary, #172825);
  font-size: 15px;
  font-weight: 750;
}

.appShell.view-market .demandTrendHead small {
  color: var(--bm-color-text-tertiary, #83908d);
  font-size: 10px;
}

.appShell.view-market .demandTrendItem {
  display: grid;
  grid-template-columns: 28px 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 68px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid var(--bm-color-divider, #e9efed);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.appShell.view-market .demandTrendItem:hover {
  transform: translateX(3px);
  background: color-mix(in srgb, var(--bm-color-primary-soft, #e9f7f3) 65%, transparent);
}

.appShell.view-market .demandTrendItem:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bm-color-primary, #0f766e) 32%, transparent);
  outline-offset: 2px;
  border-radius: 12px;
}

.appShell.view-market .demandTrendRank {
  color: var(--bm-color-text-tertiary, #8b9693);
  font-family: Outfit, Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.appShell.view-market .demandTrendIcon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--bm-color-surface-alt, #f2f8f6);
  font-size: 17px;
}

.appShell.view-market .demandTrendCopy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.appShell.view-market .demandTrendCopy strong {
  overflow: hidden;
  color: var(--bm-color-text-primary, #172825);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appShell.view-market .demandTrendCopy small {
  color: var(--bm-color-text-tertiary, #7b8986);
  font-size: 10px;
}

.appShell.view-market .demandTrendItem > b {
  color: var(--bm-color-primary, #0f766e);
  font-size: 11px;
  white-space: nowrap;
}

.appShell.view-market .demandTrendCta {
  min-height: 42px;
  margin-top: auto;
  padding: 10px 6px 0;
  border: 0;
  background: transparent;
  color: var(--bm-color-primary, #0f766e);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.appShell.view-market .demandTrendEmpty {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 150px;
  color: var(--bm-color-text-tertiary, #7b8986);
  font-size: 12px;
  text-align: center;
}

/* --- AI spotlight -------------------------------------------------------- */

.appShell.view-market .aiMatchSpotlight {
  position: relative;
  isolation: isolate;
  margin: 34px 0;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 32px;
  overflow: hidden;
  background: #0c3038;
  box-shadow: 0 26px 70px rgba(9, 45, 51, .2);
  color: #f7fbfa;
}

.appShell.view-market .aiMatchBackdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 86% 0%, rgba(71, 214, 190, .22), transparent 30%),
    radial-gradient(circle at 5% 105%, rgba(118, 178, 255, .16), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, .025), transparent 52%);
}

.appShell.view-market .aiMatchSpotlight::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -145px;
  z-index: -1;
  border: 32px solid rgba(255, 255, 255, .045);
  border-radius: 999px;
}

.appShell.view-market .aiMatchHeader {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 22px;
}

.appShell.view-market .aiMatchHeader > div {
  max-width: 660px;
}

.appShell.view-market .aiMatchHeader .eyebrow {
  color: #83e5d3 !important;
}

.appShell.view-market .aiMatchHeader h2 {
  margin: 6px 0 8px;
  color: #fff;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.appShell.view-market .aiMatchHeader p {
  margin: 0;
  max-width: 620px;
  color: rgba(236, 247, 245, .72);
  font-size: 14px;
  line-height: 1.65;
}

.appShell.view-market .aiMatchSearch {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(310px, 100%);
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.appShell.view-market .aiMatchSearch .glyph {
  flex: 0 0 auto;
  color: #8fe5d5;
}

.appShell.view-market .aiMatchSearch input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 13px !important;
}

.appShell.view-market .aiMatchSearch input::placeholder {
  color: rgba(236, 247, 245, .55);
}

.appShell.view-market .aiMatchLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(250px, .66fr);
  gap: 16px;
  align-items: stretch;
}

.appShell.view-market .aiMatchPrimary {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .075);
}

.appShell.view-market .aiMatchPrimaryLabel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 10px;
  color: rgba(237, 248, 246, .75);
  font-size: 11px;
}

.appShell.view-market .aiMatchPrimaryLabel b {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(91, 222, 197, .16);
  color: #9cf1e1;
  font-size: 10px;
}

.appShell.view-market .aiMatchPrimary .matchCard {
  display: grid !important;
  grid-template-columns: 90px minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  gap: 12px 14px !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 18px !important;
  border: 0 !important;
  border-radius: 19px !important;
  background: #fbfdfc !important;
  box-shadow: 0 18px 44px rgba(0, 22, 25, .24) !important;
  color: #172825 !important;
}

.appShell.view-market .aiMatchPrimary .matchCard > .wishVisual {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 90px !important;
  height: 112px !important;
  min-height: 112px !important;
  border: 1px solid rgba(16, 92, 80, .09) !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, #e1f4ef, #f5eee5) !important;
}

.appShell.view-market .aiMatchPrimary .wishVisualClues,
.appShell.view-market .aiMatchPrimary .wishVisual > small,
.appShell.view-market .aiMatchPrimary .alternativeTrips {
  display: none !important;
}

.appShell.view-market .aiMatchPrimary .wishVisualPlaceholder {
  width: 100% !important;
  height: 100% !important;
  min-height: 112px !important;
  border: 0 !important;
  background: transparent !important;
}

.appShell.view-market .aiMatchPrimary .wishVisualPlaceholder strong {
  font-size: 22px !important;
}

.appShell.view-market .aiMatchPrimary .matchMain {
  grid-column: 2 !important;
  min-width: 0 !important;
}

.appShell.view-market .aiMatchPrimary .matchMain h3 {
  margin: 8px 0 4px !important;
  color: #142422 !important;
  font-family: Outfit, Inter, sans-serif !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
}

.appShell.view-market .aiMatchPrimary .matchMain p {
  margin: 0 !important;
  color: #687571 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.appShell.view-market .aiMatchPrimary .matchCard > :where(.aiBox,.matchInsight,.reasonPills,.travelerTrustBadge,.matchFooter) {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
}

.appShell.view-market .aiMatchPrimary .aiBox {
  min-height: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(15, 118, 110, .1) !important;
  border-radius: 13px !important;
  background: #eef8f5 !important;
  color: #31524d !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

.appShell.view-market .aiMatchPrimary .matchInsight {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.appShell.view-market .aiMatchPrimary .matchInsight strong {
  color: #123c36 !important;
}

.appShell.view-market .aiMatchPrimary .reasonPills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.appShell.view-market .aiMatchPrimary .reasonPills > span:nth-child(n + 4) {
  display: none !important;
}

.appShell.view-market .aiMatchPrimary .travelerTrustBadge {
  margin: 0 !important;
  padding: 9px 10px !important;
  border-radius: 12px !important;
}

.appShell.view-market .aiMatchPrimary .matchFooter {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding-top: 2px !important;
}

.appShell.view-market .aiMatchPrimary .matchFooter > span {
  min-width: 0 !important;
  color: #53635f !important;
  font-size: 11px !important;
}

.appShell.view-market .aiMatchPrimary .matchFooter .compactSelect {
  min-width: 116px !important;
  height: 38px !important;
  border-radius: 11px !important;
  font-size: 10px !important;
}

.appShell.view-market .aiMatchPrimary .matchFooter .primaryButton {
  min-width: 104px !important;
  height: 38px !important;
}

.appShell.view-market .aiMatchPrimary .matchFooter > .profileLinkButton {
  display: none !important;
}

.appShell.view-market .aiMatchQueue {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 24px;
  background: rgba(255, 255, 255, .07);
}

.appShell.view-market .aiMatchQueueHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px 10px;
  color: rgba(240, 250, 248, .78);
}

.appShell.view-market .aiMatchQueueHead strong {
  font-size: 12px;
}

.appShell.view-market .aiMatchQueueHead span {
  font-size: 10px;
}

.appShell.view-market .aiMatchQueueCard {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 68px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.appShell.view-market .aiMatchQueueCard + .aiMatchQueueCard {
  margin-top: 8px;
}

.appShell.view-market .aiMatchQueueCard:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .12);
}

.appShell.view-market .aiMatchQueueFlag {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .1);
  font-size: 18px;
}

.appShell.view-market .aiMatchQueueCopy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.appShell.view-market .aiMatchQueueCopy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appShell.view-market .aiMatchQueueCopy small {
  overflow: hidden;
  color: rgba(235, 247, 245, .62);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appShell.view-market .aiMatchQueueCard > b {
  color: #9cf1e1;
  font-size: 11px;
  white-space: nowrap;
}

.appShell.view-market .aiMatchQueueEmpty {
  display: grid;
  gap: 6px;
  min-height: 108px;
  place-content: center;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, .14);
  border-radius: 15px;
  color: rgba(240, 250, 248, .68);
  text-align: center;
}

.appShell.view-market .aiMatchQueueEmpty strong {
  color: #fff;
  font-size: 12px;
}

.appShell.view-market .aiMatchQueueEmpty span {
  font-size: 10px;
  line-height: 1.5;
}

.appShell.view-market .aiMatchIntegrityNote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(116, 232, 211, .16);
  border-radius: 13px;
  background: rgba(80, 205, 183, .08);
  color: rgba(229, 248, 244, .72);
  font-size: 9px;
  line-height: 1.5;
}

.appShell.view-market .aiMatchIntegrityNote .glyph {
  flex: 0 0 auto;
  color: #89e7d5;
}

.appShell.view-market .aiMatchExploreButton {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding-top: 12px;
  border: 0;
  background: transparent;
  color: #9cf1e1;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.appShell.view-market .aiMatchDisclaimer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(233, 247, 244, .58);
  font-size: 10px;
  line-height: 1.5;
}

.appShell.view-market .aiMatchDisclaimer .glyph {
  flex: 0 0 auto;
  color: #7edcca;
}

.appShell.view-market .aiMatchEmpty {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .07);
}

.appShell.view-market .aiMatchEmptyIcon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(132, 231, 212, .12);
  color: #9cf1e1;
}

.appShell.view-market .aiMatchEmpty strong {
  color: #fff;
  font-size: 15px;
}

.appShell.view-market .aiMatchEmpty p {
  margin: 4px 0 0;
  color: rgba(236, 247, 245, .65);
  font-size: 11px;
  line-height: 1.55;
}

/* --- Trust first --------------------------------------------------------- */

.appShell.view-market .trustTravelerShowcase {
  margin: 34px 0;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--bm-color-border, #d9e4e1) 88%, transparent);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(55, 190, 165, .09), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--bm-color-surface, #fff) 95%, #f2f8f5), color-mix(in srgb, var(--bm-color-cream, #f8f3e9) 60%, white));
  box-shadow: 0 15px 40px rgba(26, 58, 53, .06);
}

.appShell.view-market .trustTravelerShowcase .sectionHead {
  align-items: flex-end;
  margin-bottom: 18px;
}

.appShell.view-market .trustTravelerShowcase .sectionHead h2 {
  max-width: 720px;
}

.appShell.view-market .trustFirstEmpty {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 20px 28px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(15, 118, 110, .09);
  border-radius: 22px;
  background: rgba(255, 255, 255, .74);
}

.appShell.view-market .trustFirstEmptyLead {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.appShell.view-market .trustFirstShield {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #e6f6f1;
  color: #0f766e;
}

.appShell.view-market .trustFirstEmptyLead strong {
  display: block;
  margin-bottom: 5px;
  color: var(--bm-color-text-primary, #172825);
  font-size: 17px;
}

.appShell.view-market .trustFirstEmptyLead p {
  margin: 0;
  color: var(--bm-color-text-secondary, #64736f);
  font-size: 12px;
  line-height: 1.65;
}

.appShell.view-market .trustFirstCriteria {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  grid-column: 2;
  grid-row: 1;
}

.appShell.view-market .trustFirstCriteria span {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, .08);
  border-radius: 14px;
  background: #f5faf8;
  color: #53645f;
  font-size: 10px;
  line-height: 1.35;
}

.appShell.view-market .trustFirstCriteria b {
  color: #0f766e;
  font-family: Outfit, Inter, sans-serif;
  font-size: 12px;
}

.appShell.view-market .trustFirstActions {
  display: flex;
  gap: 10px;
  grid-column: 1 / -1;
}

.appShell.view-market .trustTravelerGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.appShell.view-market .trustTravelerCardV22 {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
}

.appShell.view-market .trustTravelerAvatar {
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
}

.appShell.view-market .trustTravelerCopy {
  min-width: 0;
}

.appShell.view-market .trustTravelerName {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.appShell.view-market .trustTravelerName > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.appShell.view-market .trustTravelerName strong {
  color: var(--bm-color-text-primary, #172825);
  font-size: 14px;
}

.appShell.view-market .trustTravelerName small {
  color: var(--bm-color-text-tertiary, #7d8a87);
  font-size: 9px;
}

.appShell.view-market .trustTravelerName > span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #e5f6f1;
  color: #0f766e;
  font-size: 8px;
  font-weight: 700;
}

.appShell.view-market .trustTravelerSignals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0;
}

.appShell.view-market .trustTravelerSignals span {
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 10px;
  background: #f5faf8;
  color: #7a8784;
  font-size: 8px;
}

.appShell.view-market .trustTravelerSignals b {
  overflow: hidden;
  color: #243a36;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Final decision CTA -------------------------------------------------- */

.appShell.view-market .homepageFinalCta {
  position: relative;
  margin: 36px 0 12px;
  padding: 30px;
  border: 1px solid rgba(15, 118, 110, .12);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 0%, rgba(63, 188, 164, .14), transparent 34%),
    linear-gradient(135deg, #f7fbf9 0%, #f7f1e8 100%);
  box-shadow: 0 18px 46px rgba(28, 60, 55, .07);
}

.appShell.view-market .homepageFinalCta::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -92px;
  top: -110px;
  border: 28px solid rgba(15, 118, 110, .055);
  border-radius: 999px;
}

.appShell.view-market .homepageFinalCopy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.appShell.view-market .homepageFinalCopy > span {
  color: var(--bm-color-primary, #0f766e);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.appShell.view-market .homepageFinalCopy h2 {
  margin: 8px 0;
  color: var(--bm-color-text-primary, #172825);
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.appShell.view-market .homepageFinalCopy p {
  margin: 0;
  color: var(--bm-color-text-secondary, #61716d);
  font-size: 14px;
  line-height: 1.65;
}

.appShell.view-market .homepageFinalActions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.appShell.view-market .homepageFinalAction {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 20px;
  text-align: left;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.appShell.view-market .homepageFinalAction:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(20, 60, 53, .12);
}

.appShell.view-market .homepageFinalAction:focus-visible {
  outline: 3px solid rgba(15, 118, 110, .28);
  outline-offset: 3px;
}

.appShell.view-market .homepageFinalAction.buyer {
  background: #0f766e;
  color: #fff;
}

.appShell.view-market .homepageFinalAction.traveler {
  border-color: rgba(15, 118, 110, .12);
  background: rgba(255, 255, 255, .8);
  color: #15342f;
}

.appShell.view-market .homepageFinalAction > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .15);
}

.appShell.view-market .homepageFinalAction.traveler > span {
  background: #e8f6f2;
  color: #0f766e;
}

.appShell.view-market .homepageFinalAction > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.appShell.view-market .homepageFinalAction strong {
  font-size: 15px;
}

.appShell.view-market .homepageFinalAction small {
  color: inherit;
  font-size: 10px;
  line-height: 1.45;
  opacity: .72;
}

.appShell.view-market .homepageFinalAction > b {
  font-size: 11px;
  white-space: nowrap;
}

.appShell.view-market .homepageFinalNote {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 13px;
  color: var(--bm-color-text-tertiary, #7d8986);
  font-size: 10px;
  line-height: 1.55;
}

/* Do not expose the old long dashboard sections when a stale DOM snapshot is
   restored by a browser extension or BFCache. The V2.2 React tree no longer
   renders these nodes, but this guard prevents duplicate legacy blocks. */
.appShell.view-market .marketplaceRecommendationGrid,
.appShell.view-market .trendBoard + .featuredWishStrip,
.appShell.view-market .trustedMembersPanel + .marketplaceRecommendationGrid {
  max-width: 100%;
}

@media (max-width: 980px) {
  .appShell.view-market .marketDemandGrid,
  .appShell.view-market .aiMatchLayout {
    grid-template-columns: minmax(0, 1fr);
  }

  .appShell.view-market .demandTrendRail {
    min-height: 0;
  }

  .appShell.view-market .demandTrendCta,
  .appShell.view-market .aiMatchExploreButton {
    margin-top: 8px;
  }

  .appShell.view-market .trustFirstEmpty {
    grid-template-columns: minmax(0, 1fr);
  }

  .appShell.view-market .trustFirstCriteria {
    grid-column: 1;
    grid-row: auto;
  }

  .appShell.view-market .trustTravelerGrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .appShell.view-market .marketPulseFootnote {
    align-items: flex-start;
    flex-direction: column;
  }

  .appShell.view-market .featuredDemandCard {
    grid-template-columns: minmax(0, 1fr);
  }

  .appShell.view-market .featuredDemandVisual {
    min-height: 176px;
    border-right: 0;
    border-bottom: 1px solid rgba(14, 95, 83, .09);
  }

  .appShell.view-market .featuredDemandBody {
    padding: 22px;
  }

  .appShell.view-market .aiMatchSpotlight {
    padding: 22px;
    border-radius: 26px;
  }

  .appShell.view-market .aiMatchHeader {
    align-items: stretch;
    flex-direction: column;
  }

  .appShell.view-market .aiMatchSearch {
    width: 100%;
  }

  .appShell.view-market .aiMatchPrimary .matchFooter {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .appShell.view-market .aiMatchPrimary .matchFooter .compactSelect {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .appShell.view-market .trustTravelerShowcase,
  .appShell.view-market .homepageFinalCta {
    padding: 22px;
    border-radius: 24px;
  }

  .appShell.view-market .trustTravelerShowcase .sectionHead {
    align-items: flex-start;
    flex-direction: column;
  }

  .appShell.view-market .homepageFinalActions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 540px) {
  .appShell.view-market .marketDemandShowcase {
    margin-top: 22px;
  }

  .appShell.view-market .featuredDemandMeta,
  .appShell.view-market .trustFirstCriteria {
    grid-template-columns: minmax(0, 1fr);
  }

  .appShell.view-market .featuredDemandActions,
  .appShell.view-market .trustFirstActions {
    align-items: stretch;
    flex-direction: column;
  }

  .appShell.view-market .featuredDemandActions > button,
  .appShell.view-market .trustFirstActions > button {
    width: 100%;
  }

  .appShell.view-market .demandTrendItem {
    grid-template-columns: 24px 34px minmax(0, 1fr);
  }

  .appShell.view-market .demandTrendItem > b {
    display: none;
  }

  .appShell.view-market .aiMatchSpotlight {
    margin-inline: -2px;
    padding: 18px;
  }

  .appShell.view-market .aiMatchPrimary {
    padding: 8px;
  }

  .appShell.view-market .aiMatchPrimary .matchCard {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    padding: 14px !important;
  }

  .appShell.view-market .aiMatchPrimary .matchCard > .wishVisual {
    width: 64px !important;
    height: 84px !important;
    min-height: 84px !important;
  }

  .appShell.view-market .aiMatchPrimary .wishVisualPlaceholder {
    min-height: 84px !important;
  }

  .appShell.view-market .aiMatchPrimary .matchMain h3 {
    font-size: 17px !important;
  }

  .appShell.view-market .aiMatchPrimary .matchFooter {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .appShell.view-market .aiMatchPrimary .matchFooter > * {
    width: 100% !important;
  }

  .appShell.view-market .aiMatchEmpty {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .appShell.view-market .aiMatchEmpty .primaryButton {
    width: 100%;
  }

  .appShell.view-market .trustFirstEmpty {
    padding: 16px;
  }

  .appShell.view-market .trustFirstEmptyLead {
    flex-direction: column;
  }

  .appShell.view-market .homepageFinalAction {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .appShell.view-market .homepageFinalAction > b {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .appShell.view-market .demandTrendItem,
  .appShell.view-market .aiMatchQueueCard,
  .appShell.view-market .homepageFinalAction {
    transition: none !important;
  }
}

/* V2.2 cascade hardening against legacy marketplace selectors. */
.appShell.view-market .marketPulseFootnote > span {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  white-space: normal !important;
}

.appShell.view-market .marketPulseFootnote > .profileLinkButton {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  grid-column: auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.appShell.view-market .aiMatchHeader .eyebrow {
  color: #83e5d3 !important;
}

.appShell.view-market .aiMatchHeader h2 {
  color: #ffffff !important;
}

.appShell.view-market .aiMatchHeader p {
  color: rgba(236, 247, 245, .72) !important;
}

.appShell.view-market .aiMatchQueueHead strong,
.appShell.view-market .aiMatchQueueCard strong {
  color: #ffffff !important;
}

.appShell.view-market .aiMatchQueueCard small {
  color: rgba(235, 248, 245, .66) !important;
}

@media (max-width: 760px) {
  .appShell.view-market .marketPulseFootnote {
    align-items: flex-start;
  }

  .appShell.view-market .marketPulseFootnote > .profileLinkButton {
    width: auto !important;
  }
}
