/* Диво Остров · экран «Навигация на карте» — вёрстка по макету */

:root {
  --bg: #F4F4F2;
  --ink: #16171B;
  --muted: #9C9DA2;
  --line: #E7E7E9;
  --accent: #C7EF3B;
  --extreme: #FF8A00;
  --family: #BADA55;
}

* { box-sizing: border-box; }
/* [hidden] должен побеждать любые классовые display-правила — иначе элемент
   с одновременно заданным классом (display:flex и т.п.) и атрибутом hidden
   всё равно останется видимым (совпадение специфичности, автор-CSS бьёт UA-стиль). */
[hidden] { display: none !important; }

html, body, .app { height: 100%; margin: 0; overflow: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; color: inherit; }

.app { position: relative; height: 100%; }

/* ── Экраны (Карта / Активности / Мой день) ───────────────────────────── */

.screen {
  position: absolute; inset: 0;
  display: none; flex-direction: column;
}
.screen--active { display: flex; }

/* ── Шапка ─────────────────────────────────────────────────────────────── */

.topbar { flex: 0 0 auto; padding: 14px 18px 4px; }
.topbar__title { margin: 0; font-size: 29px; font-weight: 600; line-height: 1.24; letter-spacing: -0.01em; }

.dates {
  margin-top: 8px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding: 0 2px 4px;
  scrollbar-width: none;
}
.dates::-webkit-scrollbar { display: none; }

.date {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 40px;
  padding: 4px;
  border: none;
  background: none;
  border-radius: 150px;
  transition: background .15s, color .15s;
}
.date__num { font-size: 16px; font-weight: 300; line-height: 1.48; }
.date__day { font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.4; }
.date__mark { width: 4px; height: 4px; border-radius: 50%; margin-top: 2px; background: transparent; }
.date--on { background: var(--ink); color: #fff; padding-bottom: 8px; }
.date--on .date__day { color: rgba(255,255,255,.7); }
.date--on .date__mark { background: var(--accent); }

/* ── Карта ─────────────────────────────────────────────────────────────── */

.stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: #E9E9E7; }
.map { position: absolute; inset: 0; }

/* подложка ymaps 2.1 — обесцвечиваем, метки остаются цветными */
.map [class*="-ground-pane"] { filter: grayscale(1) contrast(.94) brightness(1.06); }
/* копирайт не должен скрываться под шторкой — поднимаем над ней */
.map [class*="-copyrights-pane"] { bottom: 218px !important; }

.map-fallback {
  position: absolute;
  inset: 16px auto auto 16px;
  right: 16px;
  max-width: 320px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.map-fallback__title { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.map-fallback__text { margin: 0 0 14px; font-size: 13px; line-height: 1.4; color: #5B5C61; }
.map-fallback__retry {
  border: none; background: var(--ink); color: #fff;
  padding: 10px 20px; border-radius: 24px; font-weight: 600; font-size: 14px;
}

.map-tools {
  position: absolute; right: 14px; top: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.map-tool {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  transition: opacity .15s;
  text-decoration: none;
}
.map-tool svg { width: 22px; height: 22px; fill: currentColor; }
.map-tool--busy { opacity: .55; }

/* Метки на карте — приглушённый цветной значок по категории + пиктограмма
   по типу аттракциона (проще ориентироваться, чем по однородным точкам). */
.pin { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pin__icon {
  position: relative;
  width: 30px; height: 30px; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,255,255,.95), 0 1px 4px rgba(0,0,0,.28);
  flex: 0 0 auto;
  transition: transform .15s;
}
.pin__icon::after {
  content: ''; position: absolute; inset: 6px;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.pin--extreme .pin__icon { background: #F6D2A3; }
.pin--extreme .pin__icon::after { background: #8A5A22; }
.pin--family .pin__icon { background: #D9E4B3; }
.pin--family .pin__icon::after { background: #57662A; }
.pin--on .pin__icon { transform: scale(1.15); }
.pin--dim .pin__icon { opacity: .35; }

.pin-icon--coaster .pin__icon::after { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 18c1.5-3 3-9 5-9s1.5 6 3.5 6 1.5-9 3.5-9 2 8 4 8 2-3 4-3' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 18c1.5-3 3-9 5-9s1.5 6 3.5 6 1.5-9 3.5-9 2 8 4 8 2-3 4-3' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }

.pin-icon--tower .pin__icon::after { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2c2.8 2.6 4 6.4 4 10a4 4 0 0 1-8 0c0-3.6 1.2-7.4 4-10Z' fill='black'/><path d='M8.5 14.5c-2 1-3 3-3 5.8 2-.7 3.3-1.8 4.3-3.6M15.5 14.5c2 1 3 3 3 5.8-2-.7-3.3-1.8-4.3-3.6' fill='black'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2c2.8 2.6 4 6.4 4 10a4 4 0 0 1-8 0c0-3.6 1.2-7.4 4-10Z' fill='black'/><path d='M8.5 14.5c-2 1-3 3-3 5.8 2-.7 3.3-1.8 4.3-3.6M15.5 14.5c2 1 3 3 3 5.8-2-.7-3.3-1.8-4.3-3.6' fill='black'/></svg>"); }

.pin-icon--pendulum .pin__icon::after { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.5v8.5' stroke='black' stroke-width='2.3' stroke-linecap='round'/><path d='M12 6h5.5M12 6H6.5' stroke='black' stroke-width='2.1' stroke-linecap='round'/><path d='M17.5 6l2.2 11M6.5 6l-2.2 11' stroke='black' stroke-width='2.1' stroke-linecap='round'/><circle cx='19.9' cy='18' r='1.8' fill='black'/><circle cx='4.1' cy='18' r='1.8' fill='black'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.5v8.5' stroke='black' stroke-width='2.3' stroke-linecap='round'/><path d='M12 6h5.5M12 6H6.5' stroke='black' stroke-width='2.1' stroke-linecap='round'/><path d='M17.5 6l2.2 11M6.5 6l-2.2 11' stroke='black' stroke-width='2.1' stroke-linecap='round'/><circle cx='19.9' cy='18' r='1.8' fill='black'/><circle cx='4.1' cy='18' r='1.8' fill='black'/></svg>"); }

.pin-icon--spin .pin__icon::after { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4.5 12a7.5 7.5 0 0 1 13-5.1M19.5 12a7.5 7.5 0 0 1-13 5.1' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/><path d='M17 3.5v3.8h-3.8M7 20.5v-3.8h3.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4.5 12a7.5 7.5 0 0 1 13-5.1M19.5 12a7.5 7.5 0 0 1-13 5.1' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/><path d='M17 3.5v3.8h-3.8M7 20.5v-3.8h3.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }

.pin-icon--wheel .pin__icon::after { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='7.5' fill='none' stroke='black' stroke-width='2.4'/><path d='M12 4.5v15M4.5 12h15' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='7.5' fill='none' stroke='black' stroke-width='2.4'/><path d='M12 4.5v15M4.5 12h15' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>"); }

.pin-icon--carousel .pin__icon::after { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 5 10h14Z' fill='black'/><circle cx='12' cy='2' r='1.3' fill='black'/><path d='M4 20c0-2 3.5-3.5 8-3.5s8 1.5 8 3.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 5 10h14Z' fill='black'/><circle cx='12' cy='2' r='1.3' fill='black'/><path d='M4 20c0-2 3.5-3.5 8-3.5s8 1.5 8 3.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/></svg>"); }

.pin-icon--boat .pin__icon::after { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 14c1 4 5.5 7 10 7s9-3 10-7Z' fill='black'/><path d='M12 14V5' stroke='black' stroke-width='2.2' stroke-linecap='round'/><path d='M12 5l5 2.5-5 2.5Z' fill='black'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 14c1 4 5.5 7 10 7s9-3 10-7Z' fill='black'/><path d='M12 14V5' stroke='black' stroke-width='2.2' stroke-linecap='round'/><path d='M12 5l5 2.5-5 2.5Z' fill='black'/></svg>"); }

.pin-icon--plane .pin__icon::after { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 2.3c.7 0 1.2.6 1.2 1.3v5.9l6.8 4.3v1.9l-6.8-2.1v4.5l2.2 1.6v1.7L12 20.2l-4.4 1.2v-1.7l2.2-1.6v-4.5L3 15.7v-1.9l6.8-4.3V3.6c0-.7.5-1.3 1.2-1.3Z' fill='black'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 2.3c.7 0 1.2.6 1.2 1.3v5.9l6.8 4.3v1.9l-6.8-2.1v4.5l2.2 1.6v1.7L12 20.2l-4.4 1.2v-1.7l2.2-1.6v-4.5L3 15.7v-1.9l6.8-4.3V3.6c0-.7.5-1.3 1.2-1.3Z' fill='black'/></svg>"); }

.pin-icon--car .pin__icon::after { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3.5' y='11' width='17' height='7.5' rx='3.75' fill='black'/><circle cx='8' cy='19.8' r='1.8' fill='black'/><circle cx='16' cy='19.8' r='1.8' fill='black'/><path d='M8 11V8a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3.5' y='11' width='17' height='7.5' rx='3.75' fill='black'/><circle cx='8' cy='19.8' r='1.8' fill='black'/><circle cx='16' cy='19.8' r='1.8' fill='black'/><path d='M8 11V8a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/></svg>"); }

.pin-icon--star .pin__icon::after { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3l2.5 5.6 6.1.6-4.6 4.1 1.3 6-5.3-3.1-5.3 3.1 1.3-6-4.6-4.1 6.1-.6Z' fill='black'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3l2.5 5.6 6.1.6-4.6 4.1 1.3 6-5.3-3.1-5.3 3.1 1.3-6-4.6-4.1 6.1-.6Z' fill='black'/></svg>"); }

.pin__label {
  display: none;
  font-size: 12px; font-weight: 600; color: var(--ink);
  background: #fff; padding: 4px 9px; border-radius: 9px;
  box-shadow: 0 2px 6px rgba(0,0,0,.16);
}
.pin--on .pin__label,
.pin--hit .pin__label { display: inline-block; }

/* ── Нижняя шторка ─────────────────────────────────────────────────────── */

.sheet {
  position: absolute; left: 0; right: 0; bottom: 74px;
  z-index: 5;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,.10);
  padding: 8px 18px 14px;
  max-height: 250px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: max-height .25s ease;
}
.sheet--open { max-height: 76vh; }

.sheet__grip {
  position: relative;
  width: 56px; height: 22px; border: none; background: none; padding: 0;
  display: block; margin: 0 auto 6px; flex: 0 0 auto;
  visibility: visible;
  touch-action: none;
}
.sheet__grip::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 4px; border-radius: 2px;
  background: #DADBDD;
}
.sheet__grip--off { visibility: hidden; }

.sheet__search { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }

.field {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--ink);
  box-shadow: 0 8px 8px rgba(62,19,77,.07);
  border-radius: 150px; padding: 12px 24px;
}
.field__mic, .field__clear {
  flex: 0 0 auto; width: 20px; height: 20px; padding: 0;
  border: none; background: none; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.field__mic svg, .field__clear svg { width: 20px; height: 20px; fill: currentColor; }
.field__mic--rec { color: var(--ink); }
.field__input {
  flex: 1; min-width: 0; border: none; background: none; outline: none;
  font-size: 16px; color: var(--ink);
}
.field__input::placeholder { color: #9C9DA2; }
.field__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.filters {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--ink); background: #fff; color: var(--ink);
  box-shadow: 0 8px 8px rgba(62,19,77,.07);
  display: flex; align-items: center; justify-content: center;
}
.filters svg { width: 19px; height: 19px; }

.chips {
  flex: 0 0 auto;
  margin-top: 14px; display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1px solid #F5F3F7; background: #fff; color: var(--ink);
  box-shadow: 0 8px 8px rgba(62,19,77,.07);
  padding: 9px 16px; border-radius: 20px; font-size: 14px; font-weight: 600;
  white-space: nowrap;
}
.chip--on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }

.sheet__body { margin-top: 12px; min-height: 0; overflow-y: auto; display: none; }
.sheet--open .sheet__body { display: block; }

/* Список результатов на карте — те же карточки-плитки, что в «Активностях». */
.results { list-style: none; margin: 0; padding: 0 0 2px; display: flex; flex-direction: column; gap: 16px; }
.results__head {
  padding: 6px 4px 2px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; color: var(--muted);
}

.empty { padding: 22px 4px; text-align: center; }
.empty__title { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.empty__text { margin: 0; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ── Карточка аттракциона (превью → разворот свайпом) ─────────────────── */

.attraction {
  position: absolute; left: 0; right: 0; bottom: 74px; z-index: 6;
  height: var(--attraction-preview-h, 380px);
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 34px rgba(0,0,0,.16);
  overflow: hidden;
  transition: height .28s cubic-bezier(.32,.72,0,1);
}
.attraction[hidden] { display: none; }
.attraction--dragging { transition: none; }
.attraction--expanded { height: var(--attraction-expanded-h, 88vh); }

.attraction__scroll { height: 100%; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
.attraction--expanded .attraction__scroll { overflow-y: auto; }

.attraction__hero {
  position: relative; height: 20px; flex: 0 0 auto;
  touch-action: none;
}
.attraction__grip {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 36px; height: 4px; border-radius: 2px; border: none;
  background: var(--line); padding: 0;
}

.attraction__body { padding: 0 18px 24px; touch-action: pan-y; }
.attraction__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.attraction__headInfo { min-width: 0; }
.attraction__headActions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.attraction__title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.attraction__subtitle {
  margin: 6px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.attraction__walk { display: inline-flex; align-items: center; gap: 4px; }
.attraction__walk svg { width: 14px; height: 14px; }

.attraction__fav,
.attraction__route {
  width: 38px; height: 38px; border-radius: 50%; border: none; flex: 0 0 auto;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.attraction__fav svg,
.attraction__route svg { width: 18px; height: 18px; }
.attraction__fav--on { color: var(--extreme); }
.attraction__fav--on svg { fill: var(--extreme); }

.attraction__desc { margin: 18px 0; font-size: 14px; line-height: 1.4; color: var(--muted); }

.attraction__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px;
  margin-bottom: 18px;
}
.stat { display: flex; align-items: center; gap: 10px; }
.stat__icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.stat__icon svg { width: 18px; height: 18px; }
.stat__value { font-size: 15px; font-weight: 500; }

.accordion { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.accordion[hidden] { display: none; }
.accordion__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 16px; border: none; background: none; font-size: 16px; font-weight: 700;
}
.accordion__head svg { width: 18px; height: 18px; transition: transform .2s; flex: 0 0 auto; }
.accordion--open .accordion__head svg { transform: rotate(180deg); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height .2s ease; }
.accordion--open .accordion__body { max-height: 240px; overflow-y: auto; }
.accordion__body p { margin: 0; padding: 0 16px 15px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.attraction__buy {
  display: block; margin-bottom: 18px; text-align: center; text-decoration: none;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  padding: 15px; border-radius: 16px;
}
#attractionBuy { margin-bottom: 0; }

/* ── Нижняя навигация ──────────────────────────────────────────────────── */

.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  height: 74px; background: var(--ink);
  display: flex; align-items: center; justify-content: space-around;
  padding: 0 6px;
}
.tab {
  border: none; background: none; color: #9698A0;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tab svg { width: 30px; height: 30px; }
.tab--main { color: var(--accent); }

/* ── Тост ──────────────────────────────────────────────────────────────── */

.toast {
  position: absolute; left: 50%; bottom: 92px; z-index: 20;
  transform: translateX(-50%);
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 10px; font-size: 13px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
  max-width: 80%; text-align: center;
}
.toast.toast--on { opacity: 1; }

/* ── Экран «Активности» ───────────────────────────────────────────────── */

.activities__search {
  flex: 0 0 auto; margin-top: 10px; padding: 0 18px;
  display: flex; align-items: center; gap: 10px;
}

#chipsActivities { flex: 0 0 auto; padding: 12px 18px 4px; margin: 0; }

.activities__promo { display: flex; gap: 12px; padding: 0 18px 14px; flex: 0 0 auto; }
.promo {
  flex: 1 1 0; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 700; font-size: 15px; padding: 13px; border-radius: 14px;
}

.cards {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  padding: 14px 18px calc(74px + 18px);
  display: flex; flex-direction: column; gap: 16px;
}

.empty--screen { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 32px 74px; }

/* Карточка-плитка аттракциона (Активности / Мой день) */
.acard {
  flex: 0 0 auto;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.acard__media { position: relative; height: 260px; background: var(--bg); }
.acard__photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.acard__pills {
  position: absolute; left: 12px; top: 12px; right: 54px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.pill {
  background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.acard__fav {
  position: absolute; right: 12px; top: 12px;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(22,23,27,.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.acard__fav svg { width: 18px; height: 18px; }
.acard__fav--on { color: var(--extreme); }
.acard__fav--on svg { fill: var(--extreme); }
.acard__body { padding: 14px; }
.acard__name { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.acard__buy {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 13px 18px; border-radius: 14px; font-weight: 600; font-size: 15px;
}
.acard__price { font-weight: 700; }
.acard__price--mock::after { content: '*'; opacity: .6; }

/* ── Панель фильтров ───────────────────────────────────────────────────── */

.filterSheet { position: absolute; inset: 0; z-index: 30; }
.filterSheet[hidden] { display: none; }
.filterSheet__backdrop { position: absolute; inset: 0; background: rgba(22,23,27,.4); }
.filterSheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh;
  background: #fff; border-radius: 20px 20px 0 0;
  display: flex; flex-direction: column;
  box-shadow: 0 -10px 34px rgba(0,0,0,.2);
}
.filterSheet__body { overflow-y: auto; padding: 4px 18px 12px; }

.filter__section { padding: 16px 0; border-top: 1px solid var(--line); }
.filter__section:first-child { border-top: none; }
.filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filter__head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.filter__clear { border: none; background: none; color: var(--muted); font-size: 13px; font-weight: 600; padding: 0; }

.filter__range { display: flex; align-items: center; gap: 14px; }
.filter__range input[type="range"] { flex: 1; accent-color: var(--ink); }
.filter__rangeValue { font-size: 14px; font-weight: 600; white-space: nowrap; }
.filter__hint { margin: 10px 0 0; font-size: 12px; color: var(--muted); line-height: 1.4; }

.filterSheet__actions {
  flex: 0 0 auto; display: flex; gap: 10px;
  padding: 12px 18px calc(74px + 12px); border-top: 1px solid var(--line);
}
.fbtn {
  flex: 1; padding: 14px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 700; font-size: 15px;
}
.fbtn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
