
body.home-page.home-v71 {
  --st71-primary: #6d35a8;
  --st71-primary-2: #8b3dff;
  --st71-text: #1f1235;
  --st71-muted: #6f6680;
  --st71-bg: #fbf8ff;
  --st71-card: #fff;
  --st71-border: rgba(109, 53, 168, 0.12);
  background:
    radial-gradient(circle at 18% 0%, rgba(139, 61, 255, 0.10), transparent 32%),
    radial-gradient(circle at 92% 14%, rgba(109, 53, 168, 0.09), transparent 30%),
    var(--st71-bg);
  color: var(--st71-text);
}

body.home-page.home-v71 .st-home-v71 {
  min-height: 100vh;
  background: transparent;
}

body.home-page.home-v71 .st71-header {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  gap: 12px;
  padding: calc(max(var(--tg-top-inset, 0px), 18px) + 2px) 20px 10px;
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 20;
}

body.home-page.home-v71 .st71-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--st71-border);
  color: var(--st71-primary);
  box-shadow: 0 10px 28px rgba(31, 18, 53, 0.10);
  position: relative;
}

body.home-page.home-v71 .st71-header-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page.home-v71 .st71-notification-btn span {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--st71-primary-2);
}

body.home-page.home-v71 .st71-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
}

body.home-page.home-v71 .st71-logo {
  width: min(156px, 38vw);
  height: auto;
  display: block;
}

body.home-page.home-v71 .st71-page {
  padding: 0 16px calc(104px + env(safe-area-inset-bottom));
  max-width: 460px;
  margin: 0 auto;
}

body.home-page.home-v71 .st71-search-section {
  margin: 6px 0 16px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--st71-border);
  box-shadow: 0 14px 36px rgba(31, 18, 53, 0.10);
}

body.home-page.home-v71 .st71-search {
  min-height: 56px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 0 52px;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(109, 53, 168, 0.10);
  padding: 5px 6px 5px 14px;
}

body.home-page.home-v71 .st71-search-icon svg,
body.home-page.home-v71 .search-submit-inline svg,
body.home-page.home-v71 .st71-filter-btn svg,
body.home-page.home-v71 .st71-chip svg,
body.home-page.home-v71 .st71-location svg,
body.home-page.home-v71 .st71-actions svg,
body.home-page.home-v71 .st71-photo-count svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page.home-v71 .st71-search-icon {
  color: var(--st71-primary);
  display: inline-flex;
}

body.home-page.home-v71 .st71-search-input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--st71-text);
  font-size: 15px;
  font-weight: 700;
}

body.home-page.home-v71 .st71-search-input::placeholder {
  color: rgba(31, 18, 53, 0.50);
}

body.home-page.home-v71 .search-submit-inline {
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  padding: 0;
  border: 0;
}

body.home-page.home-v71 .st71-filter-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--st71-primary), var(--st71-primary-2));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(109, 53, 168, 0.30);
}

body.home-page.home-v71 .st71-chips-section {
  margin: 0 -16px 18px 0;
  overflow: hidden;
}

body.home-page.home-v71 .st71-chips-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 16px 4px 0;
  scrollbar-width: none;
}

body.home-page.home-v71 .st71-chips-row::-webkit-scrollbar { display: none; }

body.home-page.home-v71 .st71-filter-chip {
  flex: 0 0 auto;
  min-height: 46px;
  border-radius: 17px;
  border: 1px solid var(--st71-border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--st71-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(31, 18, 53, 0.06);
}

body.home-page.home-v71 .st71-filter-chip .chip-symbol {
  width: 18px;
  height: 18px;
  display: inline-block;
  color: currentColor;
}

body.home-page.home-v71 .st71-filter-chip[data-quick-filter="all"] .chip-symbol::before { content: "▦"; }
body.home-page.home-v71 .st71-filter-chip[data-quick-filter="boys"] .chip-symbol::before { content: "♂"; }
body.home-page.home-v71 .st71-filter-chip[data-quick-filter="girls"] .chip-symbol::before { content: "♀"; }
body.home-page.home-v71 .st71-filter-chip[data-quick-filter="apartment"] .chip-symbol::before { content: "▥"; }
body.home-page.home-v71 .st71-filter-chip[data-quick-filter="today"] .chip-symbol::before { content: "□"; }

body.home-page.home-v71 .st71-filter-chip.is-active {
  background: linear-gradient(135deg, var(--st71-primary), var(--st71-primary-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(109, 53, 168, 0.26);
}

body.home-page.home-v71 .st71-section-header {
  margin: 0 0 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

body.home-page.home-v71 .st71-section-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--st71-text);
}

body.home-page.home-v71 .st71-section-header p {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--st71-muted);
}

body.home-page.home-v71 .st71-see-all {
  border: 0;
  background: transparent;
  color: var(--st71-primary);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

body.home-page.home-v71 .st71-list {
  display: grid;
  gap: 14px;
}

body.home-page.home-v71 .st71-card {
  max-height: 260px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--st71-card);
  border: 1px solid rgba(109, 53, 168, 0.08);
  box-shadow: 0 16px 36px rgba(31, 18, 53, 0.10);
  padding: 12px;
  display: grid;
  gap: 10px;
}

body.home-page.home-v71 .st71-card-main {
  min-height: 0;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 12px;
}

body.home-page.home-v71 .st71-image-wrap {
  position: relative;
  min-height: 160px;
  border-radius: 20px;
  overflow: hidden;
  background: #f1ecf8;
}

body.home-page.home-v71 .st71-image {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}

body.home-page.home-v71 .st71-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--st71-primary);
}

body.home-page.home-v71 .st71-image-placeholder svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

body.home-page.home-v71 .st71-gender-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 7px 11px;
  border-radius: 13px;
  background: linear-gradient(135deg, #7d35c8, #9d54e7);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(56, 22, 86, 0.24);
}

body.home-page.home-v71 .st71-gender-badge.girls {
  background: linear-gradient(135deg, #b43ade, #cf6af1);
}

body.home-page.home-v71 .st71-photo-count {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(31, 18, 53, 0.70);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

body.home-page.home-v71 .st71-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.home-page.home-v71 .st71-price {
  margin: 0;
  color: var(--st71-text);
  font-size: clamp(20px, 5vw, 24px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
}

body.home-page.home-v71 .st71-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--st71-muted);
  font-size: 14px;
  font-weight: 800;
  min-width: 0;
}

body.home-page.home-v71 .st71-location svg {
  flex: 0 0 auto;
  color: var(--st71-primary);
}

body.home-page.home-v71 .st71-location span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home-page.home-v71 .st71-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  overflow: hidden;
  max-height: 88px;
}

body.home-page.home-v71 .st71-chip {
  min-width: 0;
  max-width: 100%;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 11px;
  background: #f5effb;
  color: #5e5470;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

body.home-page.home-v71 .st71-chip svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--st71-primary);
}

body.home-page.home-v71 .st71-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home-page.home-v71 .st71-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 10px;
  border-top: 1px solid rgba(109, 53, 168, 0.08);
  padding-top: 10px;
}

body.home-page.home-v71 .st71-save-btn,
body.home-page.home-v71 .st71-contact-btn {
  min-height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

body.home-page.home-v71 .st71-save-btn {
  border: 1px solid rgba(109, 53, 168, 0.16);
  background: #fff;
  color: var(--st71-primary);
}

body.home-page.home-v71 .st71-save-btn.is-saved {
  background: #f5effb;
}

body.home-page.home-v71 .st71-contact-btn {
  border: 0;
  background: linear-gradient(135deg, var(--st71-primary), var(--st71-primary-2));
  color: #fff;
  box-shadow: 0 10px 22px rgba(109, 53, 168, 0.24);
}

body.home-page.home-v71 .st71-card-skeleton .st71-image-wrap,
body.home-page.home-v71 .st71-skeleton-line,
body.home-page.home-v71 .st71-skeleton-chips span,
body.home-page.home-v71 .st71-actions span {
  background: linear-gradient(90deg, #f0e8f8 25%, #faf7ff 37%, #f0e8f8 63%);
  background-size: 400% 100%;
  animation: st71Pulse 1.2s ease-in-out infinite;
}

body.home-page.home-v71 .st71-skeleton-line { height: 22px; border-radius: 10px; }
body.home-page.home-v71 .st71-skeleton-price { width: 78%; height: 30px; }
body.home-page.home-v71 .st71-skeleton-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.home-page.home-v71 .st71-skeleton-chips span { width: 72px; height: 30px; border-radius: 11px; }
body.home-page.home-v71 .st71-actions span { height: 46px; border-radius: 16px; }

@keyframes st71Pulse {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

body.home-page.home-v71 .bottom-nav {
  left: 16px;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom) + 10px);
  width: min(430px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(109, 53, 168, 0.10);
  box-shadow: 0 12px 32px rgba(31, 18, 53, 0.12);
  backdrop-filter: blur(12px);
  padding: 6px;
}

@media (max-width: 374px) {
  body.home-page.home-v71 .st71-page { padding-left: 12px; padding-right: 12px; }
  body.home-page.home-v71 .st71-header { padding-left: 14px; padding-right: 14px; grid-template-columns: 48px 1fr 48px; }
  body.home-page.home-v71 .st71-header-icon { width: 44px; height: 44px; border-radius: 15px; }
  body.home-page.home-v71 .st71-card { padding: 10px; border-radius: 21px; }
  body.home-page.home-v71 .st71-card-main { grid-template-columns: 40% minmax(0, 1fr); gap: 10px; }
  body.home-page.home-v71 .st71-image-wrap, body.home-page.home-v71 .st71-image { min-height: 150px; }
  body.home-page.home-v71 .st71-price { font-size: 19px; }
  body.home-page.home-v71 .st71-chip { font-size: 11px; padding: 0 7px; }
}
