/* ============================================================
   Teazy — отдельный МОБИЛЬНЫЙ макет (app-like).
   Превью: /m. Структура — по утверждённому референсу: шапка с
   городом, сегмент пола, чипы-категории, лента карточек-объявлений,
   премиум-баннер, «как это работает», фиксированная нижняя таб-панель.
   Стили изолированы (префикс tzm-), наши токены (purple/pink/Onest).
   Подключается ПОСЛЕ main.min.css (берём оттуда шрифт/палитру).
   ============================================================ */

:root {
  --tzm-text: #1a1b1c;
  --tzm-muted: #77849d;
  --tzm-muted-2: #9aa1b2;
  --tzm-line: #eef0f5;
  --tzm-bg: #f1f4f9;
  --tzm-card: #fff;
  --tzm-purple: var(--purple, #6242fb);
  --tzm-purple-tint: var(--purple-light, #efecff);
  --tzm-pink: var(--pink, #ff70bd);
  --tzm-pink-2: #ff2e8b;
  --tzm-online: #29cc6a;
  --tzm-amber: #d9920a;
  --tzm-radius: 18px;
  --tzm-radius-sm: 14px;
  --tzm-shadow: 0 4px 18px rgba(20, 23, 40, 0.06);
  --tzm-tabbar-h: 64px;
}

* { box-sizing: border-box; }

.tzm-body {
  margin: 0;
  font-family: var(--font-family, "Onest", "Inter", sans-serif);
  background: var(--tzm-bg);
  color: var(--tzm-text);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
}
.tzm-body a { text-decoration: none; color: inherit; }
.tzm-body img { max-width: 100%; display: block; }
.tzm-body h1, .tzm-body h2, .tzm-body h3, .tzm-body p { margin: 0; }

.tzm-wrap { max-width: 540px; margin: 0 auto; padding: 0 14px; }

/* ───────── Шапка ───────── */
.tzm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 14px rgba(20, 23, 40, 0.06);
}
/* Контрастная градиентная полоса снизу шапки (в тон бренду) */
.tzm-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tzm-pink), var(--tzm-purple));
}
.tzm-header__row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
}
/* Лого — фирменный градиентный текст (розовый → фиолетовый) */
.tzm-logo {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--tzm-pink), var(--tzm-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Чип города — единственный яркий акцент шапки: градиентная кнопка-CTA */
.tzm-city {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  max-width: 190px;
  padding: 0 15px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--tzm-pink), var(--tzm-purple));
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(98, 66, 251, 0.30);
  cursor: pointer;
}
.tzm-city svg { flex: 0 0 auto; width: 15px; height: 15px; }
.tzm-city span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tzm-city:active { transform: translateY(1px); }
/* Бургер на светлой шапке — мягкий фиолетовый tint */
.tzm-header .tzm-iconbtn { background: var(--tzm-purple-tint); color: var(--tzm-purple); }
.tzm-header .tzm-iconbtn:active { background: #e4e0ff; }
/* Иконки-действия в шапке (избранное, бургер) */
.tzm-iconbtn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 11px;
  background: var(--tzm-purple-tint);
  color: var(--tzm-purple);
  cursor: pointer;
  position: relative;
}
.tzm-iconbtn svg { width: 20px; height: 20px; }
.tzm-iconbtn:active { transform: translateY(1px); }
.tzm-burger__dot {
  position: absolute; top: 7px; right: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--tzm-pink-2); border: 1.5px solid #fff;
}

/* ───────── Бургер-меню (выезжающая панель справа) ───────── */
.tzm-menu { position: fixed; inset: 0; z-index: 110; display: none; }
.tzm-menu.is-open { display: block; }
.tzm-menu__ovl { position: absolute; inset: 0; background: rgba(20, 23, 40, 0.45); animation: tzmSugFade 0.2s ease; }
.tzm-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(360px, 86%); background: #fff; display: flex; flex-direction: column;
  box-shadow: -10px 0 34px rgba(20, 23, 40, 0.2);
  animation: tzmMenuIn 0.28s cubic-bezier(.22,1,.36,1);
}
@keyframes tzmMenuIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.tzm-menu__head {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 18px 14px; border-bottom: 1px solid var(--tzm-line);
}
.tzm-menu__close { width: 36px; height: 36px; border: none; border-radius: 50%; background: #f1f3f8; color: var(--tzm-muted); font-size: 23px; line-height: 1; cursor: pointer; }
.tzm-menu__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 18px calc(env(safe-area-inset-bottom, 0px) + 24px); }
.tzm-menu__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px;
  background: linear-gradient(120deg, var(--tzm-pink), var(--tzm-purple)); color: #fff; font-size: 15.5px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(98, 66, 251, 0.28);
}
.tzm-menu__cta svg { width: 18px; height: 18px; }
.tzm-menu__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.tzm-menu__btn { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px; border: 1.5px solid var(--tzm-line); font-size: 14.5px; font-weight: 700; color: var(--tzm-text); }
.tzm-menu__btn--solid { background: var(--tzm-purple-tint); border-color: transparent; color: var(--tzm-purple); }
.tzm-menu__btn:active { transform: translateY(1px); }
.tzm-menu__group { margin-top: 16px; border-top: 1px solid var(--tzm-line); padding-top: 6px; }
.tzm-menu__item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 4px;
  border: none; background: none; font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--tzm-text); text-align: left; cursor: pointer;
}
.tzm-menu__item > span { flex: 1; min-width: 0; }
.tzm-menu__ico { width: 19px; height: 19px; color: var(--tzm-purple); flex: 0 0 auto; }
.tzm-menu__emoji { flex: 0 0 auto; width: 19px; font-size: 18px; line-height: 1; text-align: center; }
.tzm-menu__chev { width: 15px; height: 15px; color: var(--tzm-muted-2); flex: 0 0 auto; }
.tzm-menu__item b { color: var(--tzm-purple); font-weight: 700; }
.tzm-menu__item:active { color: var(--tzm-purple); }
.tzm-menu__group--muted { margin-top: 8px; }
.tzm-menu__link { display: block; padding: 11px 4px; font-size: 14.5px; font-weight: 500; color: var(--tzm-muted); }
.tzm-menu__link:active { color: var(--tzm-purple); }
.tzm-menu__foot { margin-top: 18px; font-size: 12px; color: var(--tzm-muted-2); line-height: 1.4; }
/* Кнопка расширенного поиска в шапке (открывает модалку) */
.tzm-header__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--tzm-purple-tint);
  color: var(--tzm-purple);
  cursor: pointer;
}
.tzm-header__filter svg { width: 19px; height: 19px; }
.tzm-header__filter:active { transform: translateY(1px); }

/* ───────── Сегмент пола ───────── */
.tzm-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 14px 0 12px;
  padding: 4px;
  background: #e9ecf3;
  border-radius: 999px;
}
.tzm-seg__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--tzm-muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.tzm-seg__btn svg { width: 15px; height: 15px; }
.tzm-seg__btn.is-active {
  background: var(--tzm-purple);
  color: #fff;
  box-shadow: 0 6px 16px rgba(98, 66, 251, 0.32);
}

/* ───────── Чипы-категории (горизонтальный скролл) ───────── */
/* Категории — переносом (Avito-стиль), не горизонтальный скролл */
.tzm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 18px;
}
.tzm-chip {
  --tzm-acc: var(--tzm-purple);
  --tzm-acc-tint: var(--tzm-purple-tint);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid #e6e9f0;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--tzm-text);
  cursor: pointer;
  white-space: nowrap;
}
.tzm-chip__ico { font-size: 15px; line-height: 1; }
.tzm-chip.is-active {
  background: var(--tzm-acc);
  border-color: var(--tzm-acc);
  color: #fff;
  box-shadow: 0 6px 16px var(--tzm-acc-tint);
}
.tzm-chip--pink   { --tzm-acc: var(--tzm-pink-2); --tzm-acc-tint: #ffd9ec; }
.tzm-chip--purple { --tzm-acc: #6242fb; --tzm-acc-tint: #e2dcff; }
.tzm-chip--indigo { --tzm-acc: #4254d6; --tzm-acc-tint: #dfe3fb; }
.tzm-chip--amber  { --tzm-acc: #d9920a; --tzm-acc-tint: #ffeccb; }
.tzm-chip--mint   { --tzm-acc: #12a874; --tzm-acc-tint: #d4f3e7; }

/* ───────── Заголовок ленты ───────── */
/* Отступ листинга от цветной плашки поиска (раньше его не было — крошки прижимались) */
.tzm-section { padding-top: 18px; }
/* Секция листинга (контролы + лента) — идёт под баннером выбора */
.tzm-board__list { margin-top: 10px; }

/* Хлебные крошки (страницы разделов) */
.tzm-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1;
}
/* .tzm-body a { color: inherit } перебивает по специфичности — поднимаем её */
.tzm-body .tzm-crumbs__a { color: var(--tzm-muted); font-weight: 500; transition: color 0.15s ease; }
.tzm-body .tzm-crumbs__a:hover, .tzm-body .tzm-crumbs__a:active { color: var(--tzm-purple); }
/* Текущая страница — акцентным цветом */
.tzm-crumbs__cur { color: var(--tzm-purple); font-weight: 700; }
.tzm-crumbs__sep { color: #cbd1de; font-size: 12px; line-height: 1; }

/* Строка заголовка: H1 + счётчик онлайн справа */
.tzm-board__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 14px;
}
.tzm-board__title { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.tzm-board__top .tzm-stat--online { font-size: 13px; color: var(--tzm-muted); }

/* H2 раздела (по полу+категории) + ссылка «смотреть все» — дерево ПС */
.tzm-board__seo {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 4px 0 14px;
}
.tzm-board__h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.tzm-board__h2count { font-size: 14px; font-weight: 700; color: var(--tzm-muted-2); }
.tzm-board__seolink {
  font-size: 13px;
  font-weight: 700;
  color: var(--tzm-purple);
  white-space: nowrap;
}
.tzm-board__seolink:active { opacity: 0.7; }

/* Два счётчика: объявлений · онлайн */
.tzm-board__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 7px 0 14px;
  font-size: 13px;
  color: var(--tzm-muted);
}
.tzm-stat { display: inline-flex; align-items: center; gap: 6px; }
.tzm-stat b { color: var(--tzm-text); font-weight: 700; }
.tzm-stat--online::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tzm-online);
  box-shadow: 0 0 0 3px rgba(41, 204, 106, 0.18);
}

/* Управление лентой: сортировка + «только онлайн» */
.tzm-board__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.tzm-sort {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: #e9ecf3;
  border-radius: 999px;
}
.tzm-sort__btn {
  height: 32px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--tzm-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.tzm-sort__btn.is-active {
  background: #fff;
  color: var(--tzm-purple);
  box-shadow: 0 2px 8px rgba(20, 23, 40, 0.1);
}
/* Кнопка расширенного фильтра рядом с сортировкой (открывает модалку) */
.tzm-filterbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: var(--tzm-purple-tint);
  color: var(--tzm-purple);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.tzm-filterbtn svg { width: 17px; height: 17px; }
.tzm-filterbtn:active { transform: translateY(1px); }
/* Тогл «только онлайн» */
.tzm-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tzm-muted);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.tzm-online input { position: absolute; opacity: 0; pointer-events: none; }
.tzm-online__dot {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #d4d8e2;
  transition: background 0.18s ease;
  flex: 0 0 auto;
}
.tzm-online__dot::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}
.tzm-online input:checked ~ .tzm-online__dot { background: var(--tzm-online); }
.tzm-online input:checked ~ .tzm-online__dot::after { transform: translateX(16px); }
.tzm-online input:checked ~ * { color: var(--tzm-text); }

/* Строка поиска + кнопка расширенного поиска */
.tzm-search-row { display: flex; gap: 10px; margin: 0 0 14px; }
.tzm-search {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 14px;
  background: #fafbfd;
  border: 1.5px solid #e6e9f0;
  border-radius: 14px;
}
.tzm-search:focus-within { border-color: var(--tzm-purple); box-shadow: 0 0 0 3px rgba(98, 66, 251, 0.12); }
/* Строка поиска города: поле + кнопка геолокации */
.tzm-citysearch { display: flex; align-items: center; gap: 10px; }
.tzm-citysearch .tzm-search { flex: 1 1 auto; }
.tzm-geo {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: none; border-radius: 13px;
  background: var(--tzm-purple-tint); color: var(--tzm-purple); cursor: pointer;
}
.tzm-geo svg { width: 21px; height: 21px; }
.tzm-geo:active { transform: translateY(1px); }
.tzm-geo.is-busy { animation: tzmGeoSpin 0.8s linear infinite; opacity: 0.6; }
@keyframes tzmGeoSpin { to { transform: rotate(360deg); } }
.tzm-search__ico { flex: 0 0 auto; width: 18px; height: 18px; color: var(--tzm-muted-2); }
.tzm-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--tzm-text);
}
.tzm-search__input::placeholder { color: var(--tzm-muted-2); }
.tzm-advanced {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: var(--tzm-purple-tint);
  color: var(--tzm-purple);
  cursor: pointer;
}
.tzm-advanced svg { width: 20px; height: 20px; }
.tzm-advanced:active { transform: translateY(1px); }

/* ───────── Карточка объявления ─────────
   Три зоны: 1) личность (аватар+имя+рейтинг) → 2) объявление (под разделителем)
   → 3) действия. Структура нарочно разнесена, чтобы текст объявления шёл на всю
   ширину карточки, а не лепился к фото. */
.tzm-feed { display: flex; flex-direction: column; gap: 14px; }
.tzm-ad {
  background: var(--tzm-card);
  border-radius: var(--tzm-radius);
  box-shadow: var(--tzm-shadow);
  padding: 14px 15px;
}

/* Зона 1: личность */
.tzm-ad__person { display: flex; align-items: center; gap: 12px; }
.tzm-ad__ava {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--tzm-purple-tint);
}
.tzm-ad__ava img { width: 100%; height: 100%; object-fit: cover; }
.tzm-ad__online {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--tzm-online);
  border: 2.5px solid #fff;
}
.tzm-ad__id { flex: 1; min-width: 0; }
.tzm-ad__name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--tzm-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tzm-ad__sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  font-size: 12.5px;
}
.tzm-ad__sub .tzm-ad__sep { color: #c7cdda; }
/* Звёзды-счётчик (как в Telegram): иконка + накопленное число подаренных звёзд */
.tzm-ad__stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f5a623;
  font-weight: 700;
}
.tzm-ad__stars svg { width: 14px; height: 14px; }
.tzm-ad__stars b { color: var(--tzm-text); }
.tzm-ad__place { display: inline-flex; align-items: center; gap: 3px; color: var(--tzm-muted); font-weight: 500; }
.tzm-ad__place svg { width: 12px; height: 12px; }
.tzm-ad__vip {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #7a4a00;
  background: linear-gradient(90deg, #ffd9ec, #ffe8c2);
}
/* Бейдж «проверено» — зелёная галочка */
.tzm-ad__ver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #def3e6;
  color: #0e9468;
  font-size: 10px;
  font-weight: 900;
}
.tzm-ad__time {
  flex: 0 0 auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f3f8;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--tzm-muted-2);
  white-space: nowrap;
}

/* Зона 2: само объявление (отдельный блок под разделителем) */
.tzm-ad__post {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--tzm-line);
}
/* Значок-категория: эмодзи + название, акцент по типу предложения */
.tzm-ad__cat {
  --tzm-acc: var(--tzm-purple);
  --tzm-acc-tint: var(--tzm-purple-tint);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px 0 8px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--tzm-acc-tint);
  color: var(--tzm-acc);
  font-size: 12px;
  font-weight: 700;
}
.tzm-ad__cat-ico { font-size: 13px; line-height: 1; }
.tzm-ad__cat--pink   { --tzm-acc: #d61f78; --tzm-acc-tint: #ffe0ef; }
.tzm-ad__cat--purple { --tzm-acc: #6242fb; --tzm-acc-tint: #e8e3ff; }
.tzm-ad__cat--indigo { --tzm-acc: #3a48c4; --tzm-acc-tint: #e2e6fb; }
.tzm-ad__cat--amber  { --tzm-acc: #b9760a; --tzm-acc-tint: #ffefcf; }
.tzm-ad__cat--mint   { --tzm-acc: #0e9468; --tzm-acc-tint: #d6f4e8; }
.tzm-ad__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tzm-text);
}
.tzm-ad__text {
  display: -webkit-box;
  margin-top: 5px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--tzm-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Подвал карточки: две кнопки — «Посмотреть анкету» (контур) + «Написать» (заливка) */
.tzm-ad__foot { display: flex; gap: 9px; margin-top: 13px; }
.tzm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.tzm-btn svg { width: 16px; height: 16px; }
.tzm-btn:active { transform: translateY(1px); }
.tzm-btn--ghost {
  flex: 1;
  min-width: 0;
  background: var(--tzm-purple-tint);
  color: var(--tzm-purple);
  -webkit-text-fill-color: var(--tzm-purple);
}
.tzm-btn--solid {
  flex: 0 0 auto;
  background: var(--tzm-purple);
  color: #fff;
  -webkit-text-fill-color: #fff;
}
/* Стоимость действия в звёздах (бейдж на кнопке) */
.tzm-btn__cost {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  margin-left: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 800;
  color: #ffe08a;
  -webkit-text-fill-color: #ffe08a;
}

/* Фильтрация (категория + онлайн + поиск) — единым классом из JS (tzmRefresh) */
.tzm-ad.is-hidden { display: none !important; }

/* Пустое состояние ленты (JS вешает .is-empty, когда фильтры ничего не оставили) */
.tzm-feed__empty {
  display: none;
  padding: 28px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--tzm-muted);
  background: var(--tzm-card);
  border-radius: var(--tzm-radius);
  box-shadow: var(--tzm-shadow);
}
.tzm-feed.is-empty .tzm-feed__empty { display: block; }

/* Кнопка «Показать все объявления раздела» (под лентой) */
.tzm-board__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  margin-top: 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--tzm-purple);
  color: var(--tzm-purple);
  font-size: 15px;
  font-weight: 700;
}
.tzm-board__more svg { width: 18px; height: 18px; }
.tzm-board__more:active { transform: translateY(1px); }

/* Активные фильтры (чипы с ×) над лентой */
.tzm-active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tzm-chiprm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: var(--tzm-purple-tint);
  color: var(--tzm-purple);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.tzm-chiprm span { font-size: 15px; line-height: 1; opacity: 0.7; }
.tzm-chiprm:active { transform: translateY(1px); }

/* ───────── Премиум-баннер ───────── */
.tzm-promo {
  position: relative;
  overflow: hidden;
  margin: 18px 0;
  padding: 20px;
  border-radius: var(--tzm-radius);
  background: linear-gradient(125deg, var(--tzm-purple) 0%, #8a4ff0 55%, var(--tzm-pink) 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(98, 66, 251, 0.3);
}
.tzm-promo__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tzm-promo__faces { display: flex; align-items: center; }
.tzm-promo__faces img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  margin-left: -12px;
}
.tzm-promo__faces img:first-child { margin-left: 0; }
.tzm-promo__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  margin-left: -12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 800;
  border: 2.5px solid rgba(255, 255, 255, 0.55);
}
.tzm-promo__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.tzm-promo__title { margin-top: 14px; font-size: 21px; font-weight: 800; line-height: 1.22; letter-spacing: -0.3px; }
.tzm-promo__sub { margin-top: 8px; font-size: 13.5px; line-height: 1.45; opacity: 0.92; }
.tzm-promo__cta { display: flex; gap: 10px; margin-top: 16px; }
.tzm-promo__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}
/* color дублируем text-fill: тема (main.min.css) местами зануляет -webkit-text-fill-color,
   из-за чего светлый текст «пропадал» — фиксируем явно. */
.tzm-promo__btn--light { background: #fff; color: #6242fb; -webkit-text-fill-color: #6242fb; }
.tzm-promo__btn--dark { background: #7a1746; color: #fff; -webkit-text-fill-color: #fff; }
.tzm-promo__btn:active { transform: translateY(1px); }

/* ───────── Как это работает ───────── */
.tzm-how { margin: 26px 0 8px; }
.tzm-how__title { font-size: 21px; font-weight: 800; text-align: center; letter-spacing: -0.3px; }
.tzm-how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.tzm-how__item {
  background: var(--tzm-card);
  border-radius: var(--tzm-radius-sm);
  padding: 18px 14px;
  box-shadow: var(--tzm-shadow);
  text-align: center;
}
.tzm-how__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--tzm-purple-tint);
  color: var(--tzm-purple);
}
.tzm-how__ico svg { width: 22px; height: 22px; }
.tzm-how__item:nth-child(even) .tzm-how__ico { background: #ffe6f2; color: var(--tzm-pink-2); }
.tzm-how__name { font-size: 14.5px; font-weight: 700; }
.tzm-how__text { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--tzm-muted); }

/* ───────── Нижняя таб-панель ───────── */
.tzm-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  height: calc(var(--tzm-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #fff;
  box-shadow: 0 -2px 16px rgba(20, 23, 40, 0.08);
}
.tzm-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tzm-muted-2);
}
.tzm-tab svg { width: 23px; height: 23px; }
.tzm-tab.is-active { color: var(--tzm-purple); }

/* ───────── Модалка расширенного поиска (полноэкранная) ───────── */
.tzm-noscroll { overflow: hidden; }
.tzm-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  background: #fff;
}
.tzm-modal.is-open { display: flex; }
/* В полноэкранном режиме оверлей не нужен — белая панель закрывает весь экран */
.tzm-modal__overlay { display: none; }
.tzm-modal__box {
  width: 100%;
  max-width: 560px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  animation: tzmModalIn 0.22s ease;
}
@keyframes tzmModalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.tzm-modal__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 14px;
  border-bottom: 1px solid var(--tzm-line);
}
.tzm-modal__title { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.tzm-modal__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f1f3f8;
  color: var(--tzm-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.tzm-modal__close:active { transform: scale(0.94); }
.tzm-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 4px 16px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.tzm-modal__foot {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
  border-top: 1px solid var(--tzm-line);
  box-shadow: 0 -6px 20px rgba(20, 23, 40, 0.05);
}
.tzm-modal__reset {
  height: 50px;
  padding: 0 18px;
  border: 1.5px solid #e6e9f0;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--tzm-muted);
  cursor: pointer;
}
.tzm-modal__apply {
  flex: 1;
  height: 50px;
  border: none;
  border-radius: 999px;
  background: var(--tzm-purple);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.tzm-modal__apply:active, .tzm-modal__reset:active { transform: translateY(1px); }

/* Поля фильтра */
.tzm-field { display: flex; flex-direction: column; gap: 8px; }
.tzm-field__label { font-size: 13px; font-weight: 600; color: var(--tzm-muted); }
.tzm-select {
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid #e6e9f0;
  border-radius: 14px;
  background: #fafbfd;
  font-family: inherit;
  font-size: 15px;
  color: var(--tzm-text);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2377849d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Контейнеры осей/фасетов — просто блоки с аккордеон-секциями внутри */
#tzmAttrs:empty, #tzmFacets:empty { display: none; }

/* ───────── Аккордеон-секция фильтра (Avito-стиль) ───────── */
.tzm-acc { border-bottom: 1px solid var(--tzm-line); }
.tzm-toggles + .tzm-acc, .tzm-acc:last-child { border-bottom: none; }
.tzm-acc__head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px 0;
  border: none;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.tzm-acc__name { flex: 0 0 auto; font-size: 15px; font-weight: 600; color: var(--tzm-text); }
.tzm-acc__sum {
  margin-left: auto;
  max-width: 58%;
  font-size: 13.5px;
  color: var(--tzm-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
.tzm-acc.is-set .tzm-acc__sum { color: var(--tzm-purple); font-weight: 600; }
.tzm-acc__arr { flex: 0 0 auto; width: 15px; height: 15px; color: var(--tzm-muted-2); transition: transform 0.2s ease; }
.tzm-acc.is-open .tzm-acc__arr { transform: rotate(90deg); }
.tzm-acc__body { display: none; padding-bottom: 16px; }
.tzm-acc.is-open .tzm-acc__body { display: block; animation: tzmSugFade 0.18s ease; }
.tzm-acc__rangeval { font-size: 13px; color: var(--tzm-muted); margin-bottom: 12px; }
.tzm-acc__rangeval b { color: var(--tzm-text); font-weight: 700; }

/* Блок быстрых тогглов под аккордеоном */
.tzm-toggles { padding-top: 10px; display: flex; flex-direction: column; gap: 4px; }

/* Группа фильтра (заголовок + контролы) и опции-чипы (пол/категория/фасеты) */
.tzm-fgroup { display: flex; flex-direction: column; gap: 9px; }
.tzm-fgroup__label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--tzm-muted-2);
}
.tzm-fopts { display: flex; flex-wrap: wrap; gap: 7px; }
.tzm-fopt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 13px;
  border: 1.5px solid #e6e9f0;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--tzm-text);
  cursor: pointer;
  white-space: nowrap;
}
.tzm-fopt.is-active {
  background: var(--tzm-purple);
  border-color: var(--tzm-purple);
  color: #fff;
}

/* Одиночный ползунок (цена) — обычный поток, не absolute (специфичность ↑) */
.tzm-range__input.tzm-range__single { position: static; width: 100%; pointer-events: auto; }

/* Двойной ползунок «Возраст» */
.tzm-range { position: relative; height: 34px; display: flex; align-items: center; }
.tzm-range__input {
  position: absolute;
  width: 100%;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.tzm-range__input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: #e6e9f0; }
.tzm-range__input::-moz-range-track { height: 4px; border-radius: 4px; background: #e6e9f0; }
.tzm-range__input::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto;
  width: 22px; height: 22px; margin-top: -9px;
  border-radius: 50%; background: var(--tzm-purple); border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(98, 66, 251, 0.4); cursor: pointer;
}
.tzm-range__input::-moz-range-thumb {
  pointer-events: auto;
  width: 22px; height: 22px;
  border-radius: 50%; background: var(--tzm-purple); border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(98, 66, 251, 0.4); cursor: pointer;
}

/* Тогл «только онлайн» строкой (label слева, переключатель справа) */
.tzm-online--row {
  justify-content: space-between;
  width: 100%;
  font-size: 15px;
  color: var(--tzm-text);
}

/* ───────── Город: кнопка в фильтре + пикер ───────── */
.tzm-citybtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid #e6e9f0;
  border-radius: 14px;
  background: #fafbfd;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--tzm-text);
  cursor: pointer;
}
.tzm-citybtn svg { width: 16px; height: 16px; color: var(--tzm-muted-2); }

.tzm-citybody { gap: 14px; }
.tzm-citysect__t {
  margin: 4px 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tzm-muted);
}
.tzm-citylist { display: flex; flex-direction: column; }
.tzm-cityitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  padding: 0 4px;
  border: none;
  border-bottom: 1px solid var(--tzm-line);
  background: transparent;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--tzm-text);
  cursor: pointer;
  text-align: left;
}
.tzm-cityitem:last-child { border-bottom: none; }
.tzm-cityitem__chk { width: 18px; height: 18px; color: var(--tzm-purple); opacity: 0; }
.tzm-cityitem.is-active { color: var(--tzm-purple); font-weight: 700; }
.tzm-cityitem.is-active .tzm-cityitem__chk { opacity: 1; }
.tzm-cityitem:active { background: var(--tzm-purple-tint); }

/* Популярные города — чипами (быстрый доступ к топу) */
.tzm-citychips { display: flex; flex-wrap: wrap; gap: 8px; }
.tzm-citychip {
  height: 38px;
  padding: 0 16px;
  border: 1.5px solid var(--tzm-line);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--tzm-text);
  cursor: pointer;
}
.tzm-citychip.is-active { background: var(--tzm-purple); border-color: var(--tzm-purple); color: #fff; }
.tzm-citychip:active { transform: translateY(1px); }
.tzm-citylist__empty { padding: 24px 4px; text-align: center; color: var(--tzm-muted); font-size: 14px; }

/* ───────── Главная: герой (город + поиск) ───────── */
.tzm-intro { padding-bottom: 8px; }
.tzm-hero { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 18px; }
.tzm-hero__city {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 16px;
  border: none;
  border-radius: 16px;
  background: var(--tzm-purple-tint);
  color: var(--tzm-purple);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
}
.tzm-hero__city svg { width: 20px; height: 20px; flex: 0 0 auto; }
.tzm-hero__city-txt { font-weight: 500; }
.tzm-hero__city-txt b { font-weight: 800; }
.tzm-hero__chev { margin-left: auto; width: 16px; height: 16px; }
.tzm-hero__search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid #e6e9f0;
  border-radius: 16px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--tzm-muted-2);
  cursor: pointer;
  text-align: left;
}
.tzm-hero__search svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--tzm-muted-2); }

/* ───────── Главная: навигация по категориям ───────── */
.tzm-catnav {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -14px;
  padding: 2px 14px 4px;
}
.tzm-catnav::-webkit-scrollbar { display: none; }
.tzm-catnav__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border: 1.5px solid #e6e9f0;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--tzm-text);
  white-space: nowrap;
}
.tzm-catnav__item:active { background: var(--tzm-purple-tint); border-color: var(--tzm-purple-tint); }
.tzm-catnav__item--all { background: var(--tzm-purple); border-color: var(--tzm-purple); color: #fff; }
.tzm-catnav__ico { font-size: 15px; line-height: 1; }

@media (min-width: 560px) {
  /* На широких экранах превью карточки чуть просторнее */
  .tzm-ad__photo { width: 96px; height: 96px; }
}

/* Появление: используется бургер-меню, аккордеоном и шторками фильтра */
@keyframes tzmSugFade { from { opacity: 0; } to { opacity: 1; } }

/* ───────── Панель «Все категории» (сегмент пола + список категорий) ───────── */
/* Drill-down: окно — позиционирующий контейнер, экраны (.tzm-catview) лежат друг
   на друге, активный показан со слайдом (вперёд — справа, назад — слева). */
.tzm-catwrap {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.tzm-catview {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  min-height: 0;
}
.tzm-catview.is-active { display: flex; animation: tzmCatFwd 0.22s ease; }
.tzm-catview.is-active.is-back { animation: tzmCatBack 0.22s ease; }
@keyframes tzmCatFwd  { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes tzmCatBack { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

/* Сегмент-переключатель пола (тот же стиль, что в разделах) — на корневом экране */
.tzm-catseg { flex: 0 0 auto; margin: 16px 16px 8px; }

/* Шапка подэкрана: «‹ Назад» + название категории */
.tzm-catsubhead {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tzm-line);
}
.tzm-catback {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 0; cursor: pointer; padding: 4px 6px 4px 0;
  color: var(--tzm-purple); font-size: 14px; font-weight: 700;
}
.tzm-catback svg { width: 16px; height: 16px; }
.tzm-catsubhead__t { font-size: 16px; font-weight: 800; color: var(--tzm-text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Прокручиваемая область экрана */
.tzm-catscroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 16px calc(env(safe-area-inset-bottom, 0px) + 24px);
}
.tzm-catsec__ico { flex: 0 0 auto; font-size: 17px; line-height: 1; }
.tzm-catpane { display: none; }
.tzm-catpane.is-active { display: block; }
.tzm-catpane__all {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--tzm-purple-tint);
  color: var(--tzm-purple);
  font-size: 15px;
  font-weight: 800;
}
.tzm-catpane__all .tzm-catrow__arr { margin-left: auto; color: var(--tzm-purple); }

/* Строка категории/подкатегории — единый вид для <a> и <button> */
.tzm-catrow {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 12px;
  border-radius: 12px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--tzm-text);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
}
.tzm-catrow__ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--tzm-bg);
  font-size: 16px;
  line-height: 1;
}
.tzm-catrow__name { flex: 1; min-width: 0; }
.tzm-catrow__cnt {
  flex: 0 0 auto;
  font-size: 12px; font-weight: 700;
  color: var(--tzm-muted-2);
  background: var(--tzm-bg);
  border-radius: 20px;
  padding: 2px 8px;
}
.tzm-catrow__arr { flex: 0 0 auto; width: 15px; height: 15px; color: var(--tzm-muted-2); }
.tzm-catrow:active { background: var(--tzm-bg); }
@media (hover: hover) {
  .tzm-catrow:hover { background: var(--tzm-bg); }
}

/* ═════════ Фильтр: сетка полей + bottom-sheet (перенос прототипа) ═════════ */
.tzm-flt-sect { margin-top: 18px; }
.tzm-flt-sect:first-child { margin-top: 4px; }
.tzm-flt-sect__t { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--tzm-muted-2); margin: 0 2px 10px; }
.tzm-flds { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.tzm-fld { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px;
  padding: 9px 14px; border: none; border-radius: 14px; background: var(--tzm-field, #f3f5f9); text-align: left; cursor: pointer; font-family: inherit; position: relative; }
.tzm-fld__lbl { font-size: 12px; color: var(--tzm-muted); }
.tzm-fld__val { font-size: 15px; font-weight: 600; color: var(--tzm-muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 16px; }
.tzm-fld.is-set { background: var(--tzm-purple-tint); }
.tzm-fld.is-set .tzm-fld__val { color: var(--tzm-purple); }
.tzm-fld.is-set .tzm-fld__lbl { color: var(--tzm-purple); opacity: .75; }
.tzm-fld__arr { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; color: var(--tzm-muted-2); }
.tzm-fld:active { transform: scale(.99); }
.tzm-ftoggles { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }

/* Bottom-sheet выбора параметра (поверх модалки фильтра, z>модалки) */
.tzm-fsheet { position: fixed; inset: 0; z-index: 120; display: none; }
.tzm-fsheet.is-open { display: block; }
.tzm-fsheet__ovl { position: absolute; inset: 0; background: rgba(20,23,40,.45); animation: tzmSugFade .2s ease; }
.tzm-fsheet__box { position: absolute; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; background: #fff;
  border-radius: 22px 22px 0 0; max-height: 86vh; display: flex; flex-direction: column; animation: tzmFsUp .26s cubic-bezier(.22,1,.36,1); }
@keyframes tzmFsUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.tzm-fsheet__grip { width: 38px; height: 4px; border-radius: 4px; background: #e1e5ee; margin: 8px auto 0; }
.tzm-fsheet__head { display: flex; align-items: center; gap: 12px; padding: 12px 18px 10px; }
.tzm-fsheet__title { flex: 1; font-size: 18px; font-weight: 800; }
.tzm-fsheet__reset { border: none; background: none; color: var(--tzm-muted-2); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.tzm-fsheet__x { width: 32px; height: 32px; border: none; border-radius: 50%; background: #f1f3f8; color: var(--tzm-muted); font-size: 20px; cursor: pointer; }
.tzm-fsheet__body { padding: 8px 18px 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.tzm-fsheet__foot { padding: 12px 18px calc(env(safe-area-inset-bottom,0px) + 16px); border-top: 1px solid var(--tzm-line); }
.tzm-fsheet__apply { width: 100%; height: 52px; border: none; border-radius: 14px; background: var(--tzm-purple); color: #fff; font-family: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; }
.tzm-fsheet__apply:active { transform: translateY(1px); }

/* Чипы выбора */
.tzm-fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tzm-fchip { height: 42px; padding: 0 17px; border: 1.5px solid #e6e9f0; border-radius: 999px; background: #fff;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--tzm-text); cursor: pointer; }
.tzm-fchip.is-on { background: var(--tzm-purple); border-color: var(--tzm-purple); color: #fff; }

/* Плитки (силуэты телосложения / цвета волос) */
.tzm-ftiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.tzm-ftile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px 12px;
  border: 1.5px solid #e9ecf3; border-radius: 16px; background: #fafbfd; cursor: pointer; font-family: inherit; }
.tzm-ftile__fig { height: 66px; display: flex; align-items: flex-end; justify-content: center; }
.tzm-ftile__fig svg { height: 66px; width: auto; color: #aab4ca; transition: color .15s; }
.tzm-ftile__dot { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.08); }
.tzm-ftile__name { font-size: 13px; font-weight: 600; color: var(--tzm-text); text-align: center; line-height: 1.15; }
.tzm-ftile__chk { position: absolute; top: 8px; right: 8px; width: 19px; height: 19px; border: 2px solid #d4dae6; border-radius: 6px; background: #fff; transition: all .15s; }
.tzm-ftile.is-on { border-color: var(--tzm-purple); background: var(--tzm-purple-tint); }
.tzm-ftile.is-on .tzm-ftile__fig svg { color: var(--tzm-purple); }
.tzm-ftile.is-on .tzm-ftile__chk { background: var(--tzm-purple); border-color: var(--tzm-purple); }
.tzm-ftile.is-on .tzm-ftile__chk::after { content: ""; position: absolute; left: 4px; top: 0; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Барабан-пикер от/до + пресеты */
.tzm-fpresets { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.tzm-fpreset { height: 36px; padding: 0 14px; border: 1.5px solid #e6e9f0; border-radius: 999px; background: #fff;
  font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--tzm-text); cursor: pointer; }
.tzm-fpreset.is-on { background: var(--tzm-purple); border-color: var(--tzm-purple); color: #fff; }
.tzm-fwheel { display: flex; gap: 14px; position: relative; }
.tzm-fwheel__side { flex: 1; }
.tzm-fwheel__cap { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--tzm-muted-2); text-align: center; margin-bottom: 6px; }
.tzm-fwheel__col { position: relative; height: 200px; overflow-y: auto; scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch;
  padding: 80px 0; text-align: center; scrollbar-width: none; }
.tzm-fwheel__col::-webkit-scrollbar { display: none; }
.tzm-fwheel__item { height: 40px; line-height: 40px; scroll-snap-align: center; font-size: 18px; color: var(--tzm-muted-2); transition: color .12s, font-size .12s; }
.tzm-fwheel__item.is-c { color: var(--tzm-purple); font-weight: 800; font-size: 23px; }
.tzm-fwheel__band { position: absolute; left: 0; right: 0; top: 104px; height: 40px; border-top: 1.5px solid var(--tzm-line); border-bottom: 1.5px solid var(--tzm-line); pointer-events: none; }

/* Баннер «выбери город» — только на корне (teazy.one). Единый стиль с who-cta: спокойная
   светлая карточка, цвет-акцент только на иконке (фиолетовый кружок) и пилюле «Выбрать».
   Кликается целиком → открывает пикер (city-cta.ejs + teazy-mobile.js). */
.tz-citycta { display: flex; align-items: center; gap: 12px; width: 100%; margin: 12px 0 4px;
  padding: 14px 16px; border: 1px solid var(--tzm-line); border-radius: var(--tzm-radius); cursor: pointer;
  text-align: left; color: var(--tzm-text); background: var(--tzm-card); box-shadow: var(--tzm-shadow); }
.tz-citycta:active { transform: translateY(1px); }
.tz-citycta__ico { flex: none; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; background: var(--tzm-purple); color: #fff; }
.tz-citycta__ico svg { width: 22px; height: 22px; }
.tz-citycta__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tz-citycta__title { font-size: 16.5px; font-weight: 800; line-height: 1.2; color: var(--tzm-text); }
.tz-citycta__sub { font-size: 12.5px; line-height: 1.35; color: var(--tzm-muted); }
.tz-citycta__cta { flex: none; display: inline-flex; align-items: center; gap: 2px; margin-left: auto;
  padding: 8px 13px; border-radius: 999px; background: var(--tzm-purple-tint); color: var(--tzm-purple);
  font-size: 13px; font-weight: 800; white-space: nowrap; }
.tz-citycta__cta svg { width: 13px; height: 13px; }
@media (max-width: 380px) { .tz-citycta__cta { display: none; } }

/* Баннер «кого ищете» — на домашней города (поддомен). Спокойная светлая карточка (как
   остальной UI), цвет — только на гендерных пилюлях (тинт + цветной кружок). См. who-cta.ejs.
   NB: цвет текста пилюль поднимаем через .tzm-body, иначе `.tzm-body a {color:inherit}`
   (специфичнее одиночного класса) перебивает цвет ссылок. */
.tz-whocta { margin: 12px 0 4px; padding: 16px; border-radius: var(--tzm-radius); color: var(--tzm-text);
  background: var(--tzm-card); border: 1px solid var(--tzm-line); box-shadow: var(--tzm-shadow); }
.tz-whocta__head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
.tz-whocta__title { font-size: 16.5px; font-weight: 800; line-height: 1.15; color: var(--tzm-text); }
.tz-whocta__sub { font-size: 12.5px; line-height: 1.4; color: var(--tzm-muted); }
.tz-whocta__opts { display: flex; gap: 10px; }
.tz-whocta__opt { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px; border-radius: 13px; font-size: 15px; font-weight: 800; text-decoration: none;
  border: 1.5px solid transparent; transition: transform .12s ease, border-color .12s ease, background .12s ease; }
.tz-whocta__opt:active { transform: translateY(1px); }
/* .tzm-body — поднять специфичность над `.tzm-body a {color:inherit}` */
.tzm-body .tz-whocta__opt--f { color: var(--tzm-pink-2); background: #fff0f6; }
.tzm-body .tz-whocta__opt--m { color: var(--tzm-purple); background: var(--tzm-purple-tint); }
.tz-whocta__opt--f:hover { border-color: var(--tzm-pink-2); }
.tz-whocta__opt--m:hover { border-color: var(--tzm-purple); }
.tz-whocta__opt-ico { flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 15px; line-height: 1; }
.tz-whocta__opt--f .tz-whocta__opt-ico { background: var(--tzm-pink-2); }
.tz-whocta__opt--m .tz-whocta__opt-ico { background: var(--tzm-purple); }

/* Баннер «категории» — на странице раздела пола (/devushki). Карточка (вид who-cta):
   head-аннотация + СПИСОК категорий (первые 3 видны, остальные раскрываются вниз по
   «Все категории») + кнопка-тоггл. См. cats-cta.ejs. */
.tz-catscta { margin: 12px 0 4px; padding: 16px; border-radius: var(--tzm-radius);
  background: var(--tzm-card); border: 1px solid var(--tzm-line); box-shadow: var(--tzm-shadow); }
.tz-catscta__head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.tz-catscta__title { font-size: 16.5px; font-weight: 800; line-height: 1.15; color: var(--tzm-text); }
.tz-catscta__sub { font-size: 12.5px; line-height: 1.4; color: var(--tzm-muted); }
/* Единый список категорий: строка = иконка-кружок + подпись + шеврон. */
.tz-catscta__list { border-top: 1px solid var(--tzm-line); }
.tz-catscta__all[hidden] { display: none; }
.tz-catscta__row { display: flex; align-items: center; gap: 11px; padding: 12px 2px;
  border-bottom: 1px solid var(--tzm-line); text-decoration: none; color: var(--tzm-text); }
.tz-catscta__row:active { background: var(--tzm-purple-tint); }
.tz-catscta__row-ico { flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--tzm-purple-tint); font-size: 16px; line-height: 1; }
.tzm-body .tz-catscta__row-lbl { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--tzm-text); }
.tz-catscta__row-chev { flex: none; width: 15px; height: 15px; color: var(--tzm-muted-2); }
/* «Все категории» — тоггл во всю ширину, раскрывает остальные строки вниз */
.tz-catscta__more { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%;
  margin-top: 12px; padding: 11px; border-radius: 12px; border: 1.5px solid var(--tzm-line);
  background: #fff; color: var(--tzm-purple); font-size: 13.5px; font-weight: 800; cursor: pointer;
  transition: border-color .12s ease, transform .12s ease; }
.tz-catscta__more:hover { border-color: var(--tzm-purple); }
.tz-catscta__more:active { transform: translateY(1px); }
.tz-catscta__more svg { width: 15px; height: 15px; }
.tz-catscta__more-chev { transition: transform .18s ease; }
.tz-catscta__more[aria-expanded="true"] .tz-catscta__more-chev { transform: rotate(180deg); }

/* Баннер «уточнить поиск» — на странице категории (/devushki/<кат>). Карточка + чипы
   подкатегорий (активная выделена). См. partials/sections/subcats-cta.ejs. */
.tz-subcats { margin: 12px 0 4px; padding: 16px; border-radius: var(--tzm-radius);
  background: var(--tzm-card); border: 1px solid var(--tzm-line); box-shadow: var(--tzm-shadow); }
.tz-subcats__head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 12px; }
.tz-subcats__title { font-size: 16.5px; font-weight: 800; line-height: 1.15; color: var(--tzm-text); }
.tz-subcats__sub { font-size: 12.5px; line-height: 1.4; color: var(--tzm-muted); }
.tz-subcats__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-subcats__chip { padding: 8px 13px; border-radius: 999px; background: var(--tzm-purple-tint);
  font-size: 13px; font-weight: 700; text-decoration: none; line-height: 1.3;
  border: 1.5px solid transparent; transition: border-color .12s ease, transform .12s ease; }
.tz-subcats__chip:hover { border-color: var(--tzm-purple); }
.tz-subcats__chip:active { transform: translateY(1px); }
.tzm-body .tz-subcats__chip { color: var(--tzm-purple); }
.tz-subcats__chip.is-active { background: var(--tzm-purple); border-color: var(--tzm-purple); }
.tzm-body .tz-subcats__chip.is-active { color: #fff; }
