/* ── DS SPORT · DESIGN SYSTEM ─────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy:      #0A0B10;
  --navy-mid:  #0D1829;
  --blue:      #00419E;
  --blue-lt:   #2563EB;
  --blue-bg:   rgba(0,65,158,0.25);
  --green:     #22D165;
  --green-lt:  rgba(34,209,101,0.15);
  --orange:    #F59E0B;
  --red:       #EF4444;
  --red-lt:    rgba(239,68,68,0.15);

  --white:     #FFFFFF;
  --bg:        #0A0B10;
  --surface:   #0D1829;
  --border:    rgba(255,255,255,0.08);
  --text-1:    #FFFFFF;
  --text-2:    rgba(255,255,255,0.55);
  --text-3:    rgba(255,255,255,0.30);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.30);
  --shadow-md: 0 4px 16px rgba(0,0,0,.50);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.70);

  --tab-h:    64px;
  --hdr-h:    56px;
  --app-max:  430px;
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text-1);
  background: var(--navy);
  height: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }

/* ── APP SHELL ──────────────────────────────────────────────────────────── */
#app {
  width: 100%;
  max-width: var(--app-max);
  margin: 0 auto;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 0 60px rgba(0,0,0,.4);
}

/* ── SCREEN ─────────────────────────────────────────────────────────────── */
.screen {
  position: absolute;
  inset: 0;
  background: var(--navy);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
  display: none;
  flex-direction: column;
}
.screen.active { display: flex; }
.screen--no-tabs {
  padding-bottom: env(safe-area-inset-bottom, 16px);
}
.screen--dark { background: var(--navy); }

/* ── PAGE TRANSITION ────────────────────────────────────────────────────── */
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes slideInLeft {
  from { transform: translateX(-30%); opacity: .4; }
  to   { transform: translateX(0);    opacity: 1; }
}
.screen.enter { animation: slideInRight .28s cubic-bezier(.4,0,.2,1) forwards; }
.screen.enter-back { animation: slideInLeft .28s cubic-bezier(.4,0,.2,1) forwards; }

/* ── STATUS BAR ─────────────────────────────────────────────────────────── */
.status-bar {
  height: 44px;
  padding: 0 var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.status-bar--dark  { background: var(--navy);   color: var(--white); }
.status-bar--light { background: var(--navy);   color: var(--white); }
.status-bar--trans { background: transparent;   color: var(--white); }
.status-bar__icons { display: flex; gap: 6px; align-items: center; }
.status-icons { display: flex; gap: 5px; align-items: center; }

/* ── HEADER ─────────────────────────────────────────────────────────────── */
.header {
  min-height: var(--hdr-h);
  padding: 0 var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  position: relative;
}
.header--white  { background: rgba(18,19,26,0.90); border-bottom: 1px solid var(--border); color: var(--white); }
.header--dark   { background: var(--navy);  color: var(--white); }
.header--navy   { background: var(--navy);  color: var(--white); }
.header--sticky { position: sticky; top: 0; z-index: 20; }
.header__back {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
  margin-left: -4px;
}
.header--dark .header__back { color: rgba(255,255,255,.8); }
.header__title {
  flex: 1;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
}
.header__action {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-2);
}
.header--dark .header__action { color: rgba(255,255,255,.8); }

/* ── TAB BAR ────────────────────────────────────────────────────────────── */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max);
  height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(0,65,158,0.50);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px 24px 0 0;
  display: flex;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -12px 32px rgba(0,0,0,.40);
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding-top: var(--sp-1);
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
.tab-item.active { color: var(--white); }
.tab-item svg { width: 24px; height: 24px; stroke-width: 1.8; }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 52px;
  padding: 0 var(--sp-5);
  border-radius: var(--r-full);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: opacity .15s, transform .1s;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { opacity: .82; transform: scale(.98); }
.btn--primary  { background: var(--blue);   color: var(--white); }
.btn--secondary{ background: transparent;   color: var(--white); border: 2px solid var(--blue-lt); }
.btn--ghost    { background: transparent;   color: var(--text-2); }
.btn--dark     { background: rgba(255,255,255,.12); color: var(--white); }
.btn--danger   { background: var(--red-lt); color: var(--red); }
.btn--sm { height: 40px; font-size: 14px; padding: 0 var(--sp-4); width: auto; }
.btn--xs { height: 32px; font-size: 13px; padding: 0 var(--sp-3); width: auto; border-radius: var(--r-sm); }

/* ── OAUTH BUTTONS ──────────────────────────────────────────────────────── */
.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 22px;
  transition: background .15s;
  cursor: pointer;
  flex-shrink: 0;
}
.oauth-btn:active { background: var(--navy-mid); }

/* ── CARD ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card--shadow { box-shadow: var(--shadow-sm); }
.card--border { border: 1px solid var(--border); }
.card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
}
.card__body { padding: var(--sp-4); }

/* ── GYM / TRAINER CARD ─────────────────────────────────────────────────── */
.venue-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.venue-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  position: relative;
}
.venue-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; opacity: .3;
}
.venue-card__badges {
  position: absolute;
  top: var(--sp-3); left: var(--sp-3);
  display: flex; gap: var(--sp-1);
}
.venue-card__body { padding: var(--sp-3) var(--sp-4) var(--sp-4); }
.venue-card__name { font-size: 16px; font-weight: 700; }
.venue-card__addr { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.venue-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--sp-3);
}
.venue-card__price { font-size: 15px; font-weight: 700; color: var(--green); }
.venue-card__price span { font-size: 12px; font-weight: 400; color: var(--text-3); }

/* ── TRAINER CARD ───────────────────────────────────────────────────────── */
.trainer-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.trainer-card__top { display: flex; gap: var(--sp-3); align-items: flex-start; }
.trainer-card__info { flex: 1; min-width: 0; }
.trainer-card__name { font-size: 16px; font-weight: 700; }
.trainer-card__spec { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.trainer-card__desc { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.trainer-card__meta {
  display: flex; align-items: center; justify-content: space-between;
}

/* ── CHIP / BADGE ───────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  background: var(--navy-mid);
  color: var(--text-2);
  border: 1.5px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.chip.active, .chip:active {
  background: rgba(255,255,255,0.88);
  color: var(--navy);
  border-color: transparent;
}
.chip--green  { background: var(--green-lt); color: var(--green);  border-color: transparent; }
.chip--orange { background: rgba(245,158,11,0.15); color: var(--orange); border-color: transparent; }
.chip--navy   { background: var(--navy-mid); color: var(--white);  border-color: transparent; }

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge--blue   { background: var(--blue);  color: var(--white); }
.badge--green  { background: var(--green); color: var(--navy); }
.badge--navy   { background: var(--navy-mid); color: var(--white); }
.badge--orange { background: var(--orange); color: var(--navy); }
.badge--outline { background: transparent; color: var(--blue-lt); border: 1.5px solid var(--blue-lt); }

/* ── RATING ─────────────────────────────────────────────────────────────── */
.rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; color: var(--text-1);
}
.rating__star { color: var(--orange); font-size: 14px; }
.rating__count { font-weight: 400; color: var(--text-3); font-size: 12px; }

/* ── AVATAR ─────────────────────────────────────────────────────────────── */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  background: var(--navy-mid);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--blue-lt);
}
.avatar--sm { width: 36px; height: 36px; font-size: 14px; }
.avatar--md { width: 52px; height: 52px; font-size: 20px; }
.avatar--lg { width: 72px; height: 72px; font-size: 28px; }
.avatar--xl { width: 96px; height: 96px; font-size: 36px; }
.avatar--pro { position: relative; }
.avatar--pro::after {
  content: 'PRO';
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  font-size: 8px; font-weight: 800; letter-spacing: .05em;
  padding: 1px 5px; border-radius: var(--r-full);
}

/* ── INPUT ──────────────────────────────────────────────────────────────── */
.input-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.input-label {
  font-size: 11px; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .06em;
}
.input {
  width: 100%; height: 52px;
  padding: 0 var(--sp-4);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 16px; color: var(--text-1);
  background: var(--navy-mid);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.input:focus { border-color: var(--blue-lt); box-shadow: 0 0 0 3px var(--blue-bg); }
.input::placeholder { color: var(--text-3); }
.input--phone { font-size: 18px; font-weight: 500; letter-spacing: .02em; }

/* ── DIVIDER ────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); }
.divider--text {
  display: flex; align-items: center; gap: var(--sp-3);
  color: var(--text-3); font-size: 12px; font-weight: 500;
}
.divider--text::before, .divider--text::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── LIST ITEM ──────────────────────────────────────────────────────────── */
.list-item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4);
  min-height: 58px;
  cursor: pointer;
  transition: background .12s;
  -webkit-tap-highlight-color: transparent;
}
.list-item:active { background: var(--navy-mid); }
.list-item__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--navy-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.list-item__body { flex: 1; min-width: 0; }
.list-item__title { font-size: 15px; font-weight: 500; }
.list-item__sub { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.list-item__right { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; color: var(--text-3); }

/* ── SECTION ────────────────────────────────────────────────────────────── */
.section { padding: var(--sp-4); }
.section__label {
  font-size: 11px; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: var(--sp-3);
}
.section__title { font-size: 22px; font-weight: 800; margin-bottom: var(--sp-2); }

/* ── TABS (inline switcher) ─────────────────────────────────────────────── */
.tabs { display: flex; border-bottom: 1px solid var(--border); background: var(--navy); flex-shrink: 0; }
.tabs__item {
  flex: 1;
  padding: var(--sp-3) var(--sp-2);
  font-size: 14px; font-weight: 600;
  color: var(--text-2);
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.tabs__item.active { color: var(--white); border-bottom-color: var(--blue-lt); }

/* ── SEGMENT CONTROL ────────────────────────────────────────────────────── */
.segment {
  display: flex;
  background: var(--navy-mid);
  border-radius: var(--r-md);
  padding: 3px;
  gap: 3px;
}
.segment__item {
  flex: 1;
  height: 36px;
  border-radius: calc(var(--r-md) - 3px);
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.segment__item.active {
  background: rgba(255,255,255,0.88);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* ── SEARCH BAR ─────────────────────────────────────────────────────────── */
.search-wrap {
  padding: var(--sp-3) var(--sp-4);
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  display: flex; gap: var(--sp-2); align-items: center;
  flex-shrink: 0;
}
.search-input {
  flex: 1; height: 42px;
  padding: 0 var(--sp-4) 0 40px;
  border: none;
  border-radius: var(--r-full);
  background: var(--navy-mid);
  font-size: 15px; color: var(--text-1);
  outline: none;
  position: relative;
}
.search-input::placeholder { color: var(--text-3); }
.search-box {
  flex: 1; position: relative;
}
.search-box__icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-3); pointer-events: none;
}
.search-btn {
  width: 42px; height: 42px;
  border-radius: var(--r-full);
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); flex-shrink: 0;
}

/* ── CHIPS ROW ──────────────────────────────────────────────────────────── */
.chips-row {
  display: flex; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  overflow-x: auto; scrollbar-width: none;
  background: transparent;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.chips-row::-webkit-scrollbar { display: none; }

/* ── BOTTOM PANEL ───────────────────────────────────────────────────────── */
.bottom-panel {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-4);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: var(--sp-4);
  flex-shrink: 0;
}
.bottom-panel__price { flex: 1; }
.bottom-panel__label { font-size: 11px; color: var(--text-3); }
.bottom-panel__value { font-size: 22px; font-weight: 800; }
.bottom-panel__cta { flex: 1; }

/* ── HERO (dark, for auth screens) ─────────────────────────────────────── */
.hero-dark {
  background: linear-gradient(160deg, var(--navy) 0%, #001a4e 100%);
  padding: var(--sp-8) var(--sp-6) var(--sp-10);
  display: flex; flex-direction: column;
  align-items: center; gap: var(--sp-3);
  text-align: center;
  flex-shrink: 0;
}
.hero-dark__logo {
  font-size: 28px; font-weight: 900;
  color: var(--white); letter-spacing: .06em;
}
.hero-dark__sub {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .12em;
}
.hero-dark__title {
  font-size: 22px; font-weight: 800;
  color: var(--white); line-height: 1.3;
  margin-top: var(--sp-2);
}

/* ── SPLASH SCREEN ──────────────────────────────────────────────────────── */
.splash {
  background: radial-gradient(ellipse at center, var(--blue) 0%, var(--navy) 70%);
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--sp-4);
}
.splash__logo {
  font-size: 36px; font-weight: 900;
  color: var(--white); letter-spacing: .08em;
  animation: fadeUp .6s ease both;
}
.splash__tagline {
  font-size: 14px; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .14em;
  animation: fadeUp .6s ease .15s both;
}
.splash__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-lt);
  margin-top: var(--sp-8);
  animation: pulse 1.2s ease infinite;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: .4; transform: scale(.8); }
  50%       { opacity: 1;  transform: scale(1); }
}

/* ── STEP INDICATOR ─────────────────────────────────────────────────────── */
.step-indicator {
  display: flex; gap: var(--sp-2);
  justify-content: center; padding: var(--sp-4) 0;
}
.step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); transition: background .2s, width .2s;
}
.step-dot.active { background: var(--blue-lt); width: 24px; border-radius: var(--r-full); }

/* ── ROLE CARD ──────────────────────────────────────────────────────────── */
.role-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.role-card.selected {
  border-color: var(--blue-lt);
  box-shadow: 0 0 0 4px var(--blue-bg);
}
.role-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: var(--sp-3);
}
.role-card__icon--blue   { background: var(--blue-bg); }
.role-card__icon--navy   { background: rgba(255,255,255,0.06); }
.role-card__label { font-size: 11px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.role-card__title { font-size: 20px; font-weight: 800; margin: var(--sp-1) 0 var(--sp-2); }
.role-card__desc { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ── STAT BLOCK ─────────────────────────────────────────────────────────── */
.stats-row { display: flex; gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat-item {
  flex: 1; background: var(--surface);
  display: flex; flex-direction: column; align-items: center;
  padding: var(--sp-4) var(--sp-2);
  gap: var(--sp-1);
}
.stat-item__value { font-size: 22px; font-weight: 800; color: var(--text-1); }
.stat-item__label { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }

/* ── BOOKING CARD ───────────────────────────────────────────────────────── */
.booking-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  display: flex; gap: var(--sp-3);
}
.booking-card__left { display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; min-width: 0; }
.booking-card__type { font-size: 15px; font-weight: 700; }
.booking-card__sport { font-size: 13px; color: var(--text-2); }
.booking-card__row { display: flex; align-items: center; gap: var(--sp-2); font-size: 13px; color: var(--text-2); }
.booking-card__row svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--text-3); }
.booking-card__price { font-size: 16px; font-weight: 800; color: var(--green); margin-top: auto; }

/* ── MAP PLACEHOLDER ────────────────────────────────────────────────────── */
.map-placeholder {
  flex: 1;
  background: radial-gradient(ellipse at center, var(--blue) 0%, var(--navy) 80%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: var(--sp-3);
  color: var(--text-2); font-size: 14px; text-align: center;
  position: relative;
  overflow: hidden;
}
.map-placeholder__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-placeholder__pin {
  font-size: 48px; z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.4));
}
.map-placeholder__label { z-index: 1; font-weight: 600; }

/* ── EMPTY STATE ────────────────────────────────────────────────────────── */
.empty-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-10) var(--sp-6);
  text-align: center; color: var(--text-3);
}
.empty-state__icon { font-size: 52px; opacity: .5; }
.empty-state__title { font-size: 17px; font-weight: 700; color: var(--text-2); }
.empty-state__sub { font-size: 14px; line-height: 1.5; }

/* ── YANDEX MAP ─────────────────────────────────────────────────────────── */
#ymap { width: 100%; flex: 1; min-height: 0; }
#ymap .ymaps-2-1-79-map { border-radius: 0; }
.ymaps-2-1-79-copyright { opacity: .5 !important; }

/* ── UTILITIES ──────────────────────────────────────────────────────────── */
.flex   { display: flex; }
.col    { flex-direction: column; }
.wrap   { flex-wrap: wrap; }
.center { align-items: center; }
.between{ justify-content: space-between; }
.gap-1  { gap: var(--sp-1); }
.gap-2  { gap: var(--sp-2); }
.gap-3  { gap: var(--sp-3); }
.gap-4  { gap: var(--sp-4); }
.p-4    { padding: var(--sp-4); }
.px-4   { padding-left: var(--sp-4); padding-right: var(--sp-4); }
.py-4   { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.mt-2   { margin-top: var(--sp-2); }
.mt-3   { margin-top: var(--sp-3); }
.mt-4   { margin-top: var(--sp-4); }
.mt-6   { margin-top: var(--sp-6); }
.mb-2   { margin-bottom: var(--sp-2); }
.mb-3   { margin-bottom: var(--sp-3); }
.mb-4   { margin-bottom: var(--sp-4); }
.f-bold { font-weight: 700; }
.f-semi { font-weight: 600; }
.t-sm   { font-size: 13px; }
.t-xs   { font-size: 11px; }
.t-lg   { font-size: 18px; }
.t-center { text-align: center; }
.t-muted  { color: var(--text-2); }
.t-blue   { color: var(--blue-lt); }
.t-white  { color: var(--white); }
.t-upper  { text-transform: uppercase; letter-spacing: .06em; }
.truncate { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w-full   { width: 100%; }
.flex-1   { flex: 1; }
.grid-2   { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.shrink-0 { flex-shrink: 0; }
.rounded  { border-radius: var(--r-full); }
.no-select{ -webkit-user-select: none; user-select: none; }
