/* SherikTop product experience v2
   Shared, mobile-first design layer for home, post and profile. */

.experience-v2 {
  --product-purple: #6936c9;
  --product-purple-dark: #4b2398;
  --product-purple-soft: #f3edff;
  --product-ink: #20152d;
  --product-muted: #746b7e;
  --product-line: #e9e5ed;
  --product-bg: #f7f7f9;
  --product-card: #fff;
  --product-green: #16845b;
  --product-radius: 20px;
  --product-shadow: 0 10px 30px rgba(31, 21, 44, .07);
  min-height: 100dvh;
  background: var(--product-bg) !important;
  color: var(--product-ink);
}

.experience-v2::before,
.experience-v2::after { display: none !important; }

.experience-v2 .app-shell {
  width: min(100%, 560px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--product-bg);
}

.experience-v2 .product-eyebrow {
  margin: 0 0 5px;
  color: var(--product-purple);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Headers */
.experience-v2 .app-header.product-header,
.experience-v2 .app-header.product-subheader {
  position: relative !important;
  top: auto !important;
  z-index: 20;
  min-height: 64px !important;
  padding: max(10px, env(safe-area-inset-top)) 18px 10px !important;
  border: 0 !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 1px 0 var(--product-line) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.experience-v2 .app-header.product-header {
  grid-template-columns: 1fr !important;
  justify-items: start !important;
}

.experience-v2 .product-brand {
  display: flex;
  flex-direction: row !important;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.experience-v2 .brand-logo {
  display: flex;
  flex-direction: row !important;
  height: 38px !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 8px;
  max-width: none !important;
}

.experience-v2 .brand-logo-img {
  width: 50px !important;
  max-width: none !important;
  height: auto;
  filter: none !important;
}

.experience-v2 .product-wordmark {
  color: var(--product-ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.035em;
}

.experience-v2 .product-brand-note {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--product-purple-soft);
  color: var(--product-purple-dark);
  font-size: 11px;
  font-weight: 800;
}

.experience-v2 .app-header.product-subheader {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  text-align: center;
}

.experience-v2 .product-subheader .header-action {
  width: 42px;
  height: 42px;
  border: 1px solid var(--product-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  color: var(--product-ink);
}

.experience-v2 .product-subheader .header-action svg { width: 21px; height: 21px; }
.experience-v2 .product-subheader h1 { margin: 0; color: var(--product-ink); font-size: 17px !important; font-weight: 850; }
.experience-v2 .product-subheader p { margin: 2px 0 0; color: var(--product-muted) !important; font-size: 10px !important; font-weight: 650 !important; }

/* Home */
.experience-v2.home-page .content {
  width: 100%;
  padding: 0 14px calc(102px + env(safe-area-inset-bottom));
}

.experience-v2 .home-intro {
  padding: 22px 4px 15px;
}

.experience-v2 .home-intro h1 {
  max-width: 335px;
  margin: 0;
  color: var(--product-ink);
  font-size: clamp(24px, 7vw, 31px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.experience-v2 .home-intro > p:last-child {
  max-width: 340px;
  margin: 9px 0 0;
  color: var(--product-muted);
  font-size: 13px;
  line-height: 1.45;
}

.experience-v2.home-page .search-card,
html.is-telegram-webapp .experience-v2.home-page .search-card,
html.is-tg-fullscreen .experience-v2.home-page .search-card {
  position: sticky !important;
  top: 8px !important;
  z-index: 28;
  margin: 0 0 19px;
  padding: 5px;
  border: 1px solid var(--product-line);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 9px 26px rgba(31,21,44,.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.experience-v2.home-page .search-row {
  grid-template-columns: 22px minmax(0,1fr) 42px !important;
  min-height: 50px;
  gap: 8px;
  padding: 0 5px 0 12px;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

.experience-v2.home-page .search-row input { height: 46px; color: var(--product-ink); font-size: 16px; font-weight: 650; }
.experience-v2.home-page .search-row input::placeholder { color: #918999; }
.experience-v2.home-page .search-leading-icon { color: var(--product-purple); }
.experience-v2.home-page .search-leading-icon svg { width: 20px; height: 20px; }
.experience-v2.home-page .search-submit-inline { display: none !important; }
.experience-v2.home-page #filter-open {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--product-purple);
  box-shadow: none;
  color: #fff;
}

.experience-v2 .results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 0 3px 11px;
}

.experience-v2 .results-heading > div { display: grid; gap: 1px; }
.experience-v2 .results-heading strong { color: var(--product-ink); font-size: 16px; font-weight: 850; }
.experience-v2 .results-heading div span { color: var(--product-muted); font-size: 11px; }
.experience-v2 .live-indicator { display: inline-flex; align-items: center; gap: 5px; color: var(--product-green); font-size: 10px; font-weight: 750; }
.experience-v2 .live-indicator i { width: 6px; height: 6px; border-radius: 50%; background: #20a875; box-shadow: 0 0 0 4px rgba(32,168,117,.1); }

.experience-v2.home-page .cards { gap: 12px; }
.experience-v2.home-page .card {
  border: 1px solid var(--product-line);
  border-radius: var(--product-radius);
  background: var(--product-card);
  box-shadow: var(--product-shadow);
}

.experience-v2.home-page .card-main {
  grid-template-columns: minmax(116px, 37%) minmax(0,1fr);
  gap: 11px;
  padding: 9px 9px 0;
}

.experience-v2.home-page .image-wrap.compact-image {
  height: 170px;
  min-height: 170px;
  border-radius: 15px;
  background: #eeeaf2;
}

.experience-v2.home-page .image-wrap.compact-image .tag.audience {
  top: 8px;
  left: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 9.5px;
  box-shadow: none;
}

.experience-v2 .image-fav-btn { top: 7px; right: 7px; width: 32px; height: 32px; box-shadow: 0 4px 12px rgba(31,21,44,.14); }
.experience-v2 .photo-count { left: 7px; bottom: 7px; min-height: 25px; padding: 0 7px; font-size: 10px; }
.experience-v2.home-page .card-body { padding: 3px 3px 0 0; }
.experience-v2.home-page .card-body h3 { color: var(--product-ink); font-size: 14px; font-weight: 850; }
.experience-v2 .price-pill { min-height: 25px; padding: 0 8px; background: var(--product-purple-soft); color: var(--product-purple-dark); font-size: 10.5px; }
.experience-v2 .location-row { margin-bottom: 7px; color: #5f5667; font-size: 11px; }
.experience-v2.home-page .info-chips { gap: 4px; margin-bottom: 6px; }
.experience-v2.home-page .info-chips span { min-height: 24px; padding: 0 7px; background: #f5f3f7; color: #5d5366; font-size: 10px; font-weight: 750; }
.experience-v2.home-page .info-chips svg { width: 13px; height: 13px; color: var(--product-purple); }
.experience-v2.home-page .description { min-height: 32px; color: var(--product-muted); font-size: 10.5px; line-height: 1.35; -webkit-line-clamp: 2; }

.experience-v2.home-page .cta-row {
  grid-template-columns: 46px minmax(0,1fr);
  gap: 8px;
  margin: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--product-line);
}

.experience-v2.home-page .save-btn,
.experience-v2.home-page .card-cta { min-height: 44px; border-radius: 13px; font-size: 13px; box-shadow: none; }
.experience-v2.home-page .save-btn { width: 46px; padding: 0; border-color: var(--product-line); color: var(--product-purple); font-size: 0; }
.experience-v2.home-page .save-btn svg { margin: 0 !important; width: 21px; height: 21px; }
.experience-v2.home-page .card-cta { background: var(--product-purple); }

/* Post */
.experience-v2.post-page .content,
.experience-v2.profile-page .content {
  width: 100%;
  padding: 18px 14px calc(104px + env(safe-area-inset-bottom));
}

.experience-v2 .post-hero,
.experience-v2 .post-flow,
.experience-v2 .post-cta-panel {
  border: 1px solid var(--product-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--product-shadow);
}

.experience-v2 .post-hero {
  position: relative;
  overflow: hidden;
  padding: 23px 20px 18px;
}

.experience-v2 .post-hero::after {
  content: "";
  position: absolute;
  top: -58px;
  right: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--product-purple-soft);
}

.experience-v2 .post-hero-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 15px;
  background: var(--product-purple);
  color: #fff;
}

.experience-v2 .post-hero-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.experience-v2 .post-hero h2 { max-width: 290px; margin: 0; color: var(--product-ink); font-size: 25px; font-weight: 900; letter-spacing: -.03em; line-height: 1.08; }
.experience-v2 .post-hero > p:not(.product-eyebrow) { max-width: 330px; margin: 10px 0 0; color: var(--product-muted); font-size: 13px; line-height: 1.5; }
.experience-v2 .post-trust-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.experience-v2 .post-trust-row span { display: inline-flex; min-height: 29px; align-items: center; gap: 4px; padding: 0 9px; border-radius: 999px; background: #f2f8f5; color: var(--product-green); font-size: 10.5px; font-weight: 800; }
.experience-v2 .post-trust-row svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.experience-v2 .post-flow { margin-top: 12px; padding: 19px 16px 7px; }
.experience-v2 .section-heading { padding: 0 3px 5px; }
.experience-v2 .section-heading h2 { margin: 0; color: var(--product-ink); font-size: 18px; font-weight: 850; }
.experience-v2 .post-steps { display: grid; gap: 0; margin: 8px 0 0; padding: 0; counter-reset: none; }
.experience-v2 .post-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  gap: 12px;
  min-height: 78px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--product-line);
  border-radius: 0;
  background: transparent;
}
.experience-v2 .post-steps li:last-child { border-bottom: 0; }
.experience-v2 .post-steps li::before { display: none; }
.experience-v2 .step-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--product-purple-soft); color: var(--product-purple); }
.experience-v2 .step-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.experience-v2 .post-steps strong { display: block; margin: 1px 0 4px; color: var(--product-ink); font-size: 13px; font-weight: 850; }
.experience-v2 .post-steps span:not(.step-icon) { display: block; color: var(--product-muted); font-size: 11.5px; line-height: 1.4; }

.experience-v2 .post-cta-panel { display: grid; gap: 14px; margin-top: 12px; padding: 17px; }
.experience-v2 .post-cta-panel > div { display: grid; gap: 3px; }
.experience-v2 .post-cta-panel > div strong { color: var(--product-ink); font-size: 15px; }
.experience-v2 .post-cta-panel > div span { color: var(--product-muted); font-size: 11.5px; }
.experience-v2 .post-cta-panel .primary-link { display: flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; border-radius: 15px; background: var(--product-purple); box-shadow: none; color: #fff; font-size: 13px; font-weight: 850; }
.experience-v2 .post-cta-panel .primary-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Profile */
.experience-v2 .profile-page-intro { padding: 2px 3px 15px; }
.experience-v2 .profile-page-intro h2 { max-width: 300px; margin: 0; color: var(--product-ink); font-size: 24px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.experience-v2 .profile-loading { display: grid; grid-template-columns: 58px 1fr; gap: 13px; align-items: center; min-height: 92px; padding: 16px; border: 1px solid var(--product-line); border-radius: 20px; background: #fff; box-shadow: var(--product-shadow); }
.experience-v2 .loading-avatar { width: 58px; height: 58px; border-radius: 18px; background: #eeeaf2; }
.experience-v2 .loading-lines { display: grid; gap: 9px; }
.experience-v2 .loading-lines i { width: 58%; height: 10px; border-radius: 99px; background: #eeeaf2; }
.experience-v2 .loading-lines i:last-child { width: 38%; }
.experience-v2 .profile-loading .loading-avatar,
.experience-v2 .profile-loading .loading-lines i { background-image: linear-gradient(90deg,#eeeaf2 25%,#f8f6fa 50%,#eeeaf2 75%); background-size: 200% 100%; animation: product-shimmer 1.4s infinite; }

.experience-v2 .profile-card { display: block; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.experience-v2 .profile-card .loading-avatar,
.experience-v2 .profile-card .loading-lines { display: none; }
.experience-v2 .profile-hero { grid-template-columns: 58px minmax(0,1fr); gap: 13px; padding: 16px; border: 1px solid var(--product-line); border-radius: 20px; background: #fff; box-shadow: var(--product-shadow); }
.experience-v2 .profile-avatar { width: 58px; height: 58px; border-radius: 18px; box-shadow: none; }
.experience-v2 .profile-avatar-fallback { background: var(--product-purple); font-size: 18px; }
.experience-v2 .profile-hero h2 { color: var(--product-ink); font-size: 18px; font-weight: 850; }
.experience-v2 .profile-hero p { margin-top: 3px; color: var(--product-muted); font-size: 12px; }
.experience-v2 .profile-login-note { margin-top: 12px; padding: 16px; border: 1px solid #e7dcfb; border-radius: 20px; background: var(--product-purple-soft); box-shadow: none; }
.experience-v2 .profile-login-note strong { color: var(--product-ink); font-size: 14px; }
.experience-v2 .profile-login-note p { margin: 5px 0 12px; color: #675b73; font-size: 11.5px; line-height: 1.45; }
.experience-v2 .profile-login-note a { display: inline-flex; min-height: 39px; align-items: center; padding: 0 13px; border-radius: 12px; background: var(--product-purple); color: #fff; font-size: 11.5px; font-weight: 800; }
.experience-v2 .profile-action-grid { gap: 8px; margin-top: 12px; }
.experience-v2 .profile-action { grid-template-columns: 40px minmax(0,1fr) auto; min-height: 62px; padding: 9px 11px; border: 1px solid var(--product-line); border-radius: 17px; background: #fff; box-shadow: none; }
.experience-v2 .profile-action .icon { width: 20px; height: 20px; color: var(--product-purple); }
.experience-v2 .profile-action span { color: var(--product-ink); font-size: 12.5px; font-weight: 750; }
.experience-v2 .profile-action strong { padding: 5px 8px; background: var(--product-purple-soft); color: var(--product-purple-dark); font-size: 10.5px; }
.experience-v2 .profile-saved { margin-top: 12px; padding: 15px; border: 1px solid var(--product-line); border-radius: 20px; background: #fff; box-shadow: none; }
.experience-v2 .profile-saved h3 { margin-bottom: 10px; color: var(--product-ink); font-size: 15px; }
.experience-v2 .profile-saved-list { color: var(--product-muted); font-size: 12px; }
.experience-v2 .profile-saved-card { border-color: var(--product-line); border-radius: 15px; }

/* Shared bottom navigation */
.experience-v2 .bottom-nav {
  left: 50%;
  right: auto;
  bottom: max(8px, env(safe-area-inset-bottom), var(--tg-bottom-inset, 0px));
  width: min(calc(100% - 20px), 540px);
  min-height: 70px;
  margin: 0;
  padding: 6px;
  transform: translateX(-50%);
  border: 1px solid var(--product-line);
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 12px 40px rgba(31,21,44,.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.experience-v2 .bottom-nav .bottom-nav-item {
  min-height: 56px;
  gap: 3px;
  padding: 5px 3px;
  border-radius: 16px;
  color: #796f82;
  font-size: 10px;
  font-weight: 750;
}
.experience-v2 .bottom-nav .bottom-nav-item.is-active { background: var(--product-purple-soft); color: var(--product-purple-dark); }
.experience-v2 .bottom-nav .bottom-nav-icon,
.experience-v2 .bottom-nav .bottom-nav-icon svg { width: 21px; height: 21px; }
.experience-v2 .bottom-nav .bottom-nav-create { color: var(--product-purple); }
.experience-v2 .bottom-nav .bottom-nav-create .bottom-nav-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 12px; background: var(--product-purple); color: #fff; }
.experience-v2 .bottom-nav .bottom-nav-create.is-active .bottom-nav-icon { background: var(--product-purple-dark); }

/* Home marketplace composition — adapted to SherikTop's housing journey. */
.experience-v2 .app-header.product-header.market-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  min-height: 74px !important;
  align-items: center;
  justify-items: stretch !important;
  gap: 10px;
  padding-inline: 14px !important;
}

.experience-v2 .market-alert {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--product-line);
  border-radius: 14px;
  background: var(--product-purple-soft);
  color: var(--product-purple-dark);
}

.experience-v2 .market-alert svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.experience-v2 .market-alert i {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ef4f67;
}

.experience-v2 .product-brand.market-brand {
  width: auto;
  min-width: 0;
  justify-self: center;
  justify-content: center;
}

.experience-v2 .market-brand .brand-logo { gap: 0; }
.experience-v2 .market-brand .brand-logo-img { width: 88px !important; }
.experience-v2 .market-brand .product-wordmark { font-size: 17px; }

.experience-v2 .market-location {
  display: grid;
  grid-template-columns: 18px minmax(0, auto) 14px;
  min-height: 42px;
  align-items: center;
  gap: 5px;
  max-width: 122px;
  padding: 0 10px;
  border: 1px solid var(--product-line);
  border-radius: 14px;
  background: #fff;
  color: var(--product-ink);
  font-size: 11px;
  font-weight: 800;
}

.experience-v2 .market-location > svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--product-purple);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.experience-v2 .market-location .market-chevron { width: 14px; height: 14px; stroke: var(--product-muted); }
.experience-v2 .market-location span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.experience-v2.home-page .market-header + .content {
  padding-top: 14px;
}

.experience-v2.home-page .market-header + .content .search-card {
  margin-bottom: 12px;
}

.experience-v2 .quick-filters {
  display: flex;
  gap: 8px;
  margin: 0 -14px 14px;
  padding: 0 14px 2px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.experience-v2 .quick-filters::-webkit-scrollbar { display: none; }

.experience-v2 .popular-searches-panel[hidden],
.experience-v2 .filter-summary[hidden] {
  display: none !important;
  margin: 0 !important;
}

.experience-v2 .quick-filter {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  scroll-snap-align: start;
  border: 1px solid var(--product-line);
  border-radius: 999px;
  background: #fff;
  color: #625969;
  font-size: 11.5px;
  font-weight: 750;
}

.experience-v2 .quick-filter.is-active {
  border-color: var(--product-purple);
  background: var(--product-purple);
  color: #fff;
}

.experience-v2 .market-stat-card {
  position: relative;
  display: grid;
  min-height: 142px;
  align-items: center;
  margin-bottom: 10px;
  padding: 20px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 95% 5%, rgba(65, 217, 201, .40), transparent 45%),
    linear-gradient(135deg, #3e1b83 0%, #6f35d1 58%, #5b67e7 100%);
  box-shadow: 0 14px 30px rgba(73, 35, 145, .20);
  color: #fff;
}

.experience-v2 .market-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255,255,255,.06), transparent 46%);
  pointer-events: none;
}

.experience-v2 .market-stat-copy { position: relative; z-index: 2; min-width: 0; }
.experience-v2 .market-stat-copy p { margin: 0 0 4px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 650; }
.experience-v2 .market-stat-copy h2 { max-width: 255px; margin: 0; color: #fff; font-size: 21px; font-weight: 850; letter-spacing: -.025em; line-height: 1.15; }
.experience-v2 .market-stat-copy button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.experience-v2 .market-stat-copy button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.experience-v2 .market-stat-art { position: absolute; right: -9px; bottom: -14px; width: 145px; height: 145px; fill: none; stroke: rgba(255,255,255,.13); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }

.experience-v2 .market-post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 13px 14px;
  border: 1px solid var(--product-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31,21,44,.05);
}

.experience-v2 .market-post-card > div { display: grid; gap: 3px; min-width: 0; }
.experience-v2 .market-post-card strong { color: var(--product-ink); font-size: 12px; line-height: 1.3; }
.experience-v2 .market-post-card span { color: var(--product-muted); font-size: 10px; line-height: 1.35; }
.experience-v2 .market-post-card a { display: inline-flex; min-height: 42px; align-items: center; gap: 6px; padding: 0 12px; border-radius: 13px; background: var(--product-purple-soft); color: var(--product-purple-dark); font-size: 11px; font-weight: 850; white-space: nowrap; }
.experience-v2 .market-post-card a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.experience-v2 #results-anchor { scroll-margin-top: 86px; }

.experience-v2 a,
.experience-v2 button { touch-action: manipulation; }
.experience-v2 a:focus-visible,
.experience-v2 button:focus-visible,
.experience-v2 input:focus-visible { outline: 3px solid rgba(105,54,201,.28); outline-offset: 2px; }

@keyframes product-shimmer { to { background-position: -200% 0; } }

@media (min-width: 600px) {
  .experience-v2 .app-shell { border-inline: 1px solid var(--product-line); box-shadow: 0 0 60px rgba(31,21,44,.08); }
  .experience-v2.home-page .content,
  .experience-v2.post-page .content,
  .experience-v2.profile-page .content { padding-inline: 20px; }
}

@media (max-width: 355px) {
  .experience-v2 .app-header.product-header.market-header { grid-template-columns: 42px minmax(0, 1fr) 42px !important; gap: 7px; padding-inline: 10px !important; }
  .experience-v2 .market-location { width: 42px; grid-template-columns: 1fr; padding: 0; place-items: center; }
  .experience-v2 .market-location span,
  .experience-v2 .market-location .market-chevron { display: none; }
  .experience-v2 .market-brand .product-wordmark { font-size: 16px; }
  .experience-v2 .market-post-card { grid-template-columns: 1fr; }
  .experience-v2 .market-post-card a { justify-content: center; }
}

/* Compact mobile density: visually light while keeping 44px touch targets. */
@media (max-width: 599px) {
  .experience-v2 .app-header.product-header.market-header {
    min-height: 60px !important;
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    gap: 8px;
    padding-block: max(7px, env(safe-area-inset-top)) 7px !important;
    padding-inline: 12px !important;
  }

  .experience-v2 .market-alert {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .experience-v2 .market-alert svg { width: 19px; height: 19px; }
  .experience-v2 .market-alert i { top: 5px; right: 5px; width: 7px; height: 7px; }
  .experience-v2 .market-brand .brand-logo { height: 34px !important; gap: 0; }
  .experience-v2 .market-brand .brand-logo-img { width: 88px !important; }
  .experience-v2 .market-brand .product-wordmark { font-size: 16px; font-weight: 800; letter-spacing: -.025em; }

  .experience-v2 .market-location {
    min-height: 38px;
    grid-template-columns: 16px minmax(0, auto) 12px;
    gap: 4px;
    max-width: 112px;
    padding: 0 9px;
    border-radius: 12px;
    font-size: 10.5px;
    font-weight: 700;
  }

  .experience-v2 .market-location > svg { width: 16px; height: 16px; }
  .experience-v2.home-page .market-header + .content { padding-top: 10px; }

  .experience-v2.home-page .search-card,
  html.is-telegram-webapp .experience-v2.home-page .search-card,
  html.is-tg-fullscreen .experience-v2.home-page .search-card {
    padding: 3px;
    margin-bottom: 8px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(31,21,44,.07);
  }

  .experience-v2.home-page .search-row {
    min-height: 46px;
    grid-template-columns: 20px minmax(0,1fr) 40px !important;
    gap: 6px;
    padding-left: 10px;
    border-radius: 12px;
  }

  .experience-v2.home-page .search-leading-icon svg { width: 18px; height: 18px; }
  .experience-v2.home-page .search-row input {
    height: 42px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -.012em;
  }

  .experience-v2.home-page #filter-open {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .experience-v2 .quick-filters {
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 4px;
  }

  .experience-v2 .quick-filter {
    position: relative;
    min-height: 34px;
    padding: 0 13px;
    font-size: 10.5px;
    font-weight: 650;
  }

  .experience-v2 .quick-filter::after {
    content: "";
    position: absolute;
    inset: -5px 0;
  }

  .experience-v2 .market-stat-card {
    min-height: 118px;
    margin-bottom: 8px;
    padding: 15px 16px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(73,35,145,.16);
  }

  .experience-v2 .market-stat-copy p { margin-bottom: 2px; font-size: 10px; font-weight: 500; }
  .experience-v2 .market-stat-copy h2 { font-size: 18px; font-weight: 750; letter-spacing: -.018em; }
  .experience-v2 .market-stat-copy button {
    min-height: 40px;
    margin-top: 9px;
    padding: 0 12px;
    border-radius: 11px;
    font-size: 10.5px;
    font-weight: 700;
  }

  .experience-v2 .market-stat-art { right: -11px; bottom: -18px; width: 125px; height: 125px; stroke-width: 9; }

  .experience-v2 .market-post-card {
    min-height: 66px;
    gap: 8px;
    margin-bottom: 15px;
    padding: 10px 11px;
    border-radius: 15px;
  }

  .experience-v2 .market-post-card strong { font-size: 11px; font-weight: 750; }
  .experience-v2 .market-post-card span { font-size: 9.5px; }
  .experience-v2 .market-post-card a { min-height: 40px; padding: 0 10px; border-radius: 11px; font-size: 10px; font-weight: 750; }

  .experience-v2 .results-heading { margin-bottom: 9px; }
  .experience-v2 .results-heading strong { font-size: 15px; font-weight: 800; }
  .experience-v2 .results-heading div span { font-size: 10px; }
  .experience-v2 .live-indicator { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .experience-v2 .profile-loading .loading-avatar,
  .experience-v2 .profile-loading .loading-lines i { animation: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .experience-v2 .app-header,
  .experience-v2 .search-card,
  .experience-v2 .bottom-nav { background: #fff !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Home neutral palette — white/graphite foundation with restrained brand color. */
.experience-v2.home-page {
  --product-purple: #6d35a8;
  --product-purple-dark: #512580;
  --product-purple-soft: #f4eef9;
  --product-ink: #17181c;
  --product-muted: #717278;
  --product-line: #e6e6e9;
  --product-bg: #ffffff;
  --product-card: #ffffff;
  --product-green: #15966d;
  background: #fff !important;
}

.experience-v2.home-page .app-shell { background: #fff; }

.experience-v2.home-page .app-header.market-header {
  border-bottom-color: #ececef !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 1px 0 rgba(17,18,22,.04) !important;
}

.experience-v2.home-page .market-alert {
  border-color: #e9e7ec;
  background: #f7f5f9;
  color: var(--product-purple);
}

.experience-v2.home-page .market-location {
  border-color: #e4e4e7;
  background: #fff;
  color: #27282d;
}

.experience-v2.home-page .search-card,
html.is-telegram-webapp .experience-v2.home-page .search-card,
html.is-tg-fullscreen .experience-v2.home-page .search-card {
  border-color: #e7e7ea;
  background: #f7f7f8;
  box-shadow: 0 5px 16px rgba(20,20,24,.05);
}

.experience-v2.home-page .search-row { background: #f7f7f8; }
.experience-v2.home-page .search-row input { color: #1b1c20; }
.experience-v2.home-page .search-row input::placeholder { color: #85868b; }

.experience-v2.home-page .quick-filter {
  border-color: #e5e5e8;
  background: #f8f8f9;
  color: #5d5e64;
}

.experience-v2.home-page .quick-filter.is-active {
  border-color: #24252a;
  background: #24252a;
  color: #fff;
}

.experience-v2.home-page .market-stat-card {
  background:
    radial-gradient(circle at 98% 4%, rgba(109,53,168,.42), transparent 43%),
    linear-gradient(135deg, #17181d 0%, #25262d 62%, #30313a 100%);
  box-shadow: 0 10px 24px rgba(18,19,23,.14);
}

.experience-v2.home-page .market-stat-art { stroke: rgba(255,255,255,.10); }

.experience-v2.home-page .market-post-card {
  border-color: #e5e5e7;
  background: #f8f8f9;
  box-shadow: none;
}

.experience-v2.home-page .market-post-card a {
  background: #24252a;
  color: #fff;
}

.experience-v2.home-page .results-heading strong,
.experience-v2.home-page .card-body h3 { color: #17181c; }

.experience-v2.home-page .card {
  border-color: #e5e5e8;
  box-shadow: 0 6px 18px rgba(20,20,24,.06);
}

.experience-v2.home-page .image-wrap.compact-image .tag.audience {
  background: rgba(31,32,37,.92);
  color: #fff;
}

.experience-v2.home-page .info-chips span { background: #f5f5f6; color: #55565c; }
.experience-v2.home-page .location-row { color: #66676c; }

.experience-v2.home-page .card-cta {
  background: #24252a;
  color: #fff;
}

.experience-v2.home-page .save-btn {
  border-color: #e2e2e5;
  background: #fff;
  color: var(--product-purple);
}

/* Compact mobile tab bar — one shared component for browser and Mini App. */
.experience-v2 .bottom-nav {
  width: min(calc(100% - 24px), 516px);
  min-height: 64px;
  padding: 5px 8px;
  border-color: rgba(23,24,28,.09);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 28px rgba(20,20,24,.12), 0 1px 2px rgba(20,20,24,.04);
}

.experience-v2 .bottom-nav .bottom-nav-item {
  min-width: 0;
  min-height: 54px;
  gap: 2px;
  padding: 4px 6px 3px;
  border-radius: 15px;
  background: transparent;
  color: #74757b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  transition: color .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.experience-v2 .bottom-nav .bottom-nav-item > span:last-child {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.experience-v2 .bottom-nav .bottom-nav-icon {
  display: grid;
  width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 11px;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.experience-v2 .bottom-nav .bottom-nav-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.9;
}

.experience-v2 .bottom-nav .bottom-nav-item.is-active {
  background: transparent;
  color: var(--product-purple-dark);
}

.experience-v2 .bottom-nav .bottom-nav-item.is-active .bottom-nav-icon {
  background: var(--product-purple-soft);
  color: var(--product-purple);
}

.experience-v2 .bottom-nav .bottom-nav-create {
  color: #4f5056;
}

.experience-v2 .bottom-nav .bottom-nav-create .bottom-nav-icon,
.experience-v2 .bottom-nav .bottom-nav-create.is-active .bottom-nav-icon {
  width: 38px;
  height: 38px;
  margin-top: -7px;
  border-radius: 13px;
  background: #24252a;
  box-shadow: 0 5px 12px rgba(23,24,28,.18);
  color: #fff;
}

.experience-v2 .bottom-nav .bottom-nav-create .bottom-nav-icon svg {
  width: 23px;
  height: 23px;
}

.experience-v2 .bottom-nav .bottom-nav-create.is-active {
  color: var(--product-purple-dark);
}

.experience-v2 .bottom-nav .bottom-nav-create.is-active .bottom-nav-icon {
  background: var(--product-purple);
}

.experience-v2 .bottom-nav .bottom-nav-item:active {
  transform: scale(.97);
}

@media (max-width: 350px) {
  .experience-v2 .bottom-nav {
    width: calc(100% - 16px);
    padding-inline: 5px;
  }

  .experience-v2 .bottom-nav .bottom-nav-item {
    padding-inline: 2px;
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience-v2 .bottom-nav .bottom-nav-item,
  .experience-v2 .bottom-nav .bottom-nav-icon { transition: none; }
}

/* Win over legacy page-specific navigation selectors without !important. */
body.experience-v2 .bottom-nav {
  box-sizing: border-box;
  height: 64px;
  min-height: 64px;
  border-radius: 20px;
}

body.experience-v2 .bottom-nav .bottom-nav-item,
body.experience-v2 .bottom-nav .bottom-nav-item.is-active {
  min-height: 52px;
  border-radius: 14px;
  background: transparent;
}
