/* сарафан — главная и выбор города (design/canvas/H1-Home-Mobile-Photo, H2-Home-Desktop-Photo, Pick-2…4) */
body.home {
  min-height: 100dvh; background: var(--bg);
  --ink-card: #0F1E3A;                          /* тёмная плашка «Нет вашего города?» */
  --chip-on: #0F1E3A; --chip-on-text: #FFFFFF;  /* выбранная страна в «Скоро» */
  --credit: #A7B2C6;                            /* подпись к фото внизу */
}
:root[data-theme="dark"] body.home { --ink-card: #1C3160; --chip-on: #EAF0FA; --chip-on-text: #0B1426; --credit: #6D7C99; }
.home a { color: inherit; }
h2.label-up { margin: 0; }
.chev { color: var(--muted); flex-shrink: 0; display: flex; }
.live-chip, .soon-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.live-chip { background: var(--live-bg); color: var(--live-text); }
.live-chip i { width: 6px; height: 6px; border-radius: 3px; background: var(--good); }
.soon-chip { background: var(--soft); color: var(--muted); }

/* ── шапка: голубая в обеих темах (фирменная плашка) ───────────── */
.hero { position: relative; overflow: hidden; background: #5E93F0; color: #0F1E3A; border-radius: 0 0 28px 28px; }
.hero-pin { position: absolute; right: -54px; top: -18px; width: 220px; height: 140px; opacity: .18; pointer-events: none; }
.hero-in { position: relative; padding: calc(14px + env(safe-area-inset-top)) 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.topbar { display: flex; align-items: center; gap: 22px; }
.logo { display: flex; color: #0F1E3A; }
.logo img { height: 24px; width: auto; display: block; }
.top-links { margin-left: auto; display: none; align-items: center; gap: 22px; }
.top-links a { font-size: 14px; font-weight: 600; color: #0F1E3A; }
.tg-btn { height: 38px; padding: 0 14px; border-radius: 19px; background: #0F1E3A; color: #FFFFFF !important; display: flex; align-items: center; gap: 7px; font-size: 13.5px !important; }
.hero-text, .hero-row { display: flex; flex-direction: column; gap: 14px; }
.hero-title { display: flex; flex-direction: column; gap: 6px; }
.hero h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.hero p { margin: 0; font-size: 15px; line-height: 1.45; max-width: 560px; }
/* формат: «Чат» или «Карта» */
.view-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 18px; background: rgba(255, 255, 255, .35); }
.view-seg button { padding: 9px 12px; border: 0; border-radius: 14px; background: transparent; color: #0F1E3A; display: flex; flex-direction: column; gap: 1px; text-align: left; line-height: 1.2; cursor: pointer; }
.view-seg button b { font-size: 15px; display: flex; align-items: center; gap: 6px; }
.view-seg button span { font-size: 12px; color: #1E3564; }
.view-seg button[aria-checked="true"] { background: #FFFFFF; box-shadow: 0 2px 8px rgba(15, 30, 58, .14); }
.view-seg button[aria-checked="true"] span { color: #5A6782; }
/* поиск; на телефоне поле открывает экран поиска */
.search-btn { height: 50px; padding: 0 6px 0 16px; border-radius: 16px; background: #FFFFFF; display: flex; align-items: center; gap: 10px; color: #5A6782; font-size: 15px; box-shadow: 0 6px 18px rgba(15, 30, 58, .14); }
.search-btn:focus-within { outline: 2px solid #0F1E3A; outline-offset: 2px; }
.search-btn > svg { flex-shrink: 0; }
.search-btn input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 15px var(--font); color: #0F1E3A; }
.search-btn input::placeholder { color: #5A6782; }
.search-btn .go { display: none; height: 44px; padding: 0 18px; border-radius: 12px; background: #0F1E3A; color: #FFFFFF; border: 0; font-weight: 700; font-size: 14px; flex-shrink: 0; }
/* «Я уже на месте» — маленький прицел в поле поиска */
.locate-ic { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: #EEF3FB; color: #0F1E3A; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.locate-ic:hover { background: #E4EEFD; }
.resume-pill, .postcards { display: none; }

/* ── тело главной ─────────────────────────────────────────── */
.home-body { padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 22px; }
.section { display: flex; flex-direction: column; gap: 10px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-head span { font-size: 12px; color: var(--muted); }

/* «Продолжить» — последний разговор */
.resume-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.resume-card .art { width: 44px; height: 44px; border-radius: 12px; }
.resume-card .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.resume-card .txt span { font-size: 12px; color: var(--muted); }
.resume-card .txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* «Локации»: на телефоне — фото на всю карточку, название и цифры поверх */
.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.loc { position: relative; height: 150px; border-radius: 20px; overflow: hidden; background: var(--photo); }
.loc.wide { grid-column: 1 / -1; }
.home .loc-link { display: block; height: 100%; border-radius: inherit; color: #FFFFFF; }
.loc-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* вся карточка — ссылка */
.loc-link:focus-visible { outline: none; }
.loc-link:focus-visible::after { outline: 3px solid var(--accent-text); outline-offset: -3px; }
.loc-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.loc-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(15, 30, 58, .72)); display: flex; flex-direction: column; line-height: 1.3; }
.loc-name { display: flex; flex-direction: column; }
.loc-name b { font-size: 17px; }
.loc-name span { font-size: 12px; opacity: .85; }
.loc-tag, .loc-more { display: none; }
.loc-stats { font-size: 11.5px; opacity: .85; margin-top: 2px; }
.loc-stats b { font-weight: 400; }
.loc-btns { display: none; } /* телефон: вся карточка — ссылка, «Спросить» и «Карта» — только на компьютере */
.loc-btns button { border: 0; display: flex; align-items: center; font-weight: 700; white-space: nowrap; }
@media (hover: hover) {
  .loc-img { transition: transform .3s ease; }
  .loc:hover .loc-img { transform: scale(1.04); }
  .resume-card:hover, .soon-city:hover { border-color: var(--accent-mid); }
}

/* «Скоро»: фильтр по стране и города-открытки с колокольчиком */
.soon-head { display: flex; flex-direction: column; gap: 10px; }
.soon-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.soon-filter::-webkit-scrollbar { display: none; }
.soon-filter button { flex-shrink: 0; height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.soon-filter button[aria-pressed="true"] { background: var(--chip-on); border-color: var(--chip-on); color: var(--chip-on-text); }
.suggest-link { display: none; }
.soon-list { display: flex; flex-wrap: wrap; gap: 8px; }
.soon-city { height: 40px; padding: 0 12px 0 5px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.soon-city .art { width: 30px; height: 30px; border-radius: 15px; }
.soon-txt b { font-weight: 600; }
.soon-txt span { display: none; }
.soon-bell { display: flex; color: #9AA8C3; }
.soon-bell svg { width: 15px; height: 15px; }

/* «Нет вашего города?» */
.suggest-dark { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--ink-card); color: #FFFFFF; }
.suggest-dark .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.suggest-dark b { font-size: 15px; }
.suggest-dark span { font-size: 13px; line-height: 1.35; opacity: .75; }
.suggest-dark button { flex-shrink: 0; height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--accent); color: #0F1E3A; font-size: 14px; font-weight: 700; }

/* как это работает */
#how:focus { outline: none; }
.how { margin: 0; padding: 18px; list-style: none; display: grid; gap: 16px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.how-step { display: flex; gap: 12px; align-items: flex-start; }
.how-step .n { width: 30px; height: 30px; flex-shrink: 0; border-radius: 15px; background: var(--accent-soft); color: var(--accent-text); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.how-step .t { display: flex; flex-direction: column; gap: 3px; }
.how-step .t b { font-size: 15px; }
.how-step .t span { font-size: 13.5px; line-height: 1.45; color: var(--ink2); }
.foot { padding: 0 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--muted); text-align: center; }
.foot .credit { font-size: 10px; color: var(--credit); }

/* ── внутренние экраны: страна, поиск, «скоро» ─────────────── */
.page { max-width: 560px; margin: 0 auto; padding: calc(12px + env(safe-area-inset-top)) 16px 32px; display: flex; flex-direction: column; gap: 18px; }
.back-link { align-self: flex-start; height: 44px; display: flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; color: var(--accent-text); font-weight: 600; font-size: 15px; }
.page-head { display: flex; align-items: center; gap: 12px; }
.page-head .art { width: 52px; height: 52px; border-radius: 26px; }
.page-head h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.page-head span { font-size: 14px; color: var(--muted); }
.big-city { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(15, 30, 58, .08); }
.big-city .art { width: 100%; height: 130px; }
.big-city .row { display: flex; align-items: center; gap: 12px; padding: 14px; }
.big-city .txt { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.big-city .txt .nm { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; }
.big-city .txt span.sub { font-size: 13px; color: var(--muted); }
.big-city .open { height: 44px; padding: 0 18px; border-radius: 14px; background: var(--accent); color: #0F1E3A; font-weight: 700; display: flex; align-items: center; }

.list-card { display: flex; flex-direction: column; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.list-row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 0; background: none; width: 100%; text-align: left; color: var(--text); }
.list-row + .list-row { border-top: 1px solid var(--line); }
.list-row:hover { background: var(--soft); }
.list-row .art { width: 44px; height: 44px; border-radius: 22px; }
.list-row .art.sq { width: 48px; height: 48px; border-radius: 14px; }
.list-row .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.list-row .txt b { font-size: 16px; font-weight: 600; }
.list-row .txt span { font-size: 13px; color: var(--muted); }
.list-row .txt b mark, .list-row .txt span mark { background: none; color: var(--accent-text); font-weight: 800; }

.suggest-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; background: var(--accent-soft); }
.suggest-card .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.suggest-card b { font-size: 15px; }
.suggest-card span { font-size: 13px; color: var(--ink2); }
.btn-dark { height: 44px; padding: 0 16px; border-radius: 14px; border: 0; background: #0F1E3A; color: #FFFFFF; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.btn-soft { height: 48px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-main { height: 52px; padding: 0 20px; border-radius: 16px; border: 0; background: var(--accent); color: #0F1E3A; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }

.search-bar { display: flex; align-items: center; gap: 8px; }
.search-field { flex: 1; height: 52px; padding: 0 8px 0 16px; border-radius: 16px; background: var(--panel); border: 1.5px solid var(--accent); display: flex; align-items: center; gap: 10px; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px var(--font); color: var(--text); }
.search-field button { width: 36px; height: 36px; border-radius: 18px; border: 0; background: var(--soft); color: var(--muted); display: flex; align-items: center; justify-content: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: none; color: var(--text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.recent { display: flex; gap: 8px; flex-wrap: wrap; }
.recent a { height: 40px; padding: 0 14px 0 5px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.recent .art { width: 30px; height: 30px; border-radius: 15px; }
.empty-card { padding: 16px; border-radius: 20px; background: var(--panel); border: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.empty-card b { font-size: 16px; }
.empty-card span { font-size: 14px; color: var(--muted); line-height: 1.45; }

.soon-hero { position: relative; }
.soon-hero .art { width: 100%; height: 190px; border-radius: 28px; }
.soon-hero .badge-logo { position: absolute; left: 16px; bottom: -22px; width: 64px; height: 64px; border-radius: 20px; background: var(--panel); box-shadow: 0 6px 18px rgba(15, 30, 58, .18); display: flex; align-items: center; justify-content: center; }
.soon-text { margin-top: 30px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.soon-text h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.soon-text p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.stack { display: flex; flex-direction: column; gap: 8px; }
/* «А пока — уже работает» на экране города «скоро» */
.live-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(15, 30, 58, .06); }
.live-card .art { width: 64px; height: 64px; border-radius: 16px; }
.live-card .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.live-card .name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.live-card .name { font-size: 18px; font-weight: 700; }
.live-card .sub { font-size: 13px; color: var(--muted); }

/* форма заявки */
.modal { position: fixed; inset: 0; z-index: 20; background: rgba(15, 30, 58, .45); display: flex; align-items: flex-end; justify-content: center; }
.modal-card { width: 100%; max-width: 480px; background: var(--panel); border-radius: 24px 24px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.modal-card h2 { margin: 0; font-size: 20px; font-weight: 800; }
.modal-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.modal-card input, .modal-card textarea { font: 400 15px var(--font); padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); resize: vertical; }
.modal-card .row2 { display: flex; gap: 8px; }
.modal-card .row2 > * { flex: 1; }

/* переключатель темы на голубой шапке: луна в светлой теме, солнце в тёмной; в Telegram — тема Telegram */
.theme-btn { border: 0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; }
.theme-btn.on-blue { width: 40px; height: 40px; border-radius: 20px; margin-left: auto; background: rgba(255, 255, 255, .3); color: #0F1E3A; }
.theme-btn .sun, [data-theme="dark"] .theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: block; }

/* ── десктоп (H2-Home-Desktop-Photo) ───────────────────────── */
@media (min-width: 900px) {
  .hero { border-radius: 0 0 36px 36px; }
  .hero-pin { display: none; }
  .hero-in { max-width: 1440px; margin: 0 auto; padding: 18px 64px 0; gap: 34px; }
  .logo img { height: 26px; }
  .top-links { display: flex; }
  .theme-btn.on-blue { width: 38px; height: 38px; border-radius: 19px; margin-left: 0; }
  .hero-main { display: grid; grid-template-columns: minmax(0, 720px); column-gap: 30px; }
  .hero-text { padding-bottom: 28px; }
  .hero-title { gap: 14px; }
  .hero h1 { font-size: 52px; letter-spacing: -.03em; line-height: 1; }
  .hero p { font-size: 17px; }
  .hero-row { flex-direction: row; align-items: center; gap: 12px; margin-top: 4px; }
  .view-seg { width: 360px; flex-shrink: 0; }
  .search-btn { flex: 1; min-width: 0; max-width: 520px; height: 56px; }
  .search-btn .go { display: flex; align-items: center; }
  .resume-pill { align-self: flex-start; max-width: 100%; height: 40px; padding: 0 14px 0 6px; border-radius: 20px; background: rgba(255, 255, 255, .35); display: flex; align-items: center; gap: 8px; font-size: 14px; color: #0F1E3A; }
  .resume-pill:hover { background: rgba(255, 255, 255, .5); }
  .resume-pill .art { width: 30px; height: 30px; border-radius: 15px; }
  .resume-pill .lbl { color: #1E3564; flex-shrink: 0; }
  .resume-pill b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .resume-pill > svg { width: 16px; height: 16px; flex-shrink: 0; }
  .resume-card { display: none; }

  .home-body { max-width: 1440px; margin: 0 auto; padding: 24px 64px 28px; }
  /* карточки: фото слева, цифры, «Спросить» и «Карта» справа; две колонки, когда хватает места */
  .loc-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 12px; }
  .loc, .loc.wide { grid-column: auto; height: auto; display: flex; align-items: center; gap: 16px; padding: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(15, 30, 58, .05); overflow: visible; }
  .home .loc-link { flex: 1; min-width: 0; height: auto; display: flex; align-items: center; gap: 16px; color: var(--text); }
  .loc-img { position: static; width: 150px; height: 100px; border-radius: 14px; }
  .loc-info { position: static; flex: 1; min-width: 0; padding: 0; background: none; gap: 6px; line-height: 1.35; }
  .loc-name { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
  .loc-name b { font-size: 20px; }
  .loc-name span { font-size: 13px; color: var(--muted); opacity: 1; }
  .loc-tag { display: block; font-size: 13.5px; color: var(--ink2); }
  .loc-stats { margin: 0; font-size: 12.5px; color: var(--muted); opacity: 1; }
  .loc-stats b { color: var(--text); font-weight: 600; }
  .loc-more { display: inline; }
  .loc-btns { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
  .loc-btns button { height: 38px; padding: 0 16px; border-radius: 12px; gap: 6px; font-size: 14px; }
  .loc-btns svg { width: 16px; height: 16px; }
  .loc-ask { background: var(--accent); color: #0F1E3A; }
  .loc-btns .loc-map { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }

  .soon-head { flex-direction: row; align-items: center; gap: 12px; }
  .soon-filter { overflow: visible; flex-wrap: wrap; margin: 0; padding: 0; }
  .soon-filter button { height: 30px; padding: 0 11px; border-radius: 15px; font-size: 12.5px; }
  .suggest-link { display: block; margin-left: auto; padding: 0; border: 0; background: none; color: var(--accent-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
  .soon-section ~ .suggest-dark { display: none; } /* на компьютере — ссылка «Предложить» в строке «Скоро» */
  .soon-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .soon-city { position: relative; height: auto; padding: 0; border: 0; border-radius: 0; background: none; flex-direction: column; align-items: stretch; gap: 6px; white-space: normal; }
  .soon-city .art { width: 100%; height: 104px; border-radius: 14px; }
  .soon-txt { display: flex; flex-direction: column; line-height: 1.3; }
  .soon-txt b { font-size: 14px; font-weight: 700; }
  .soon-txt span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
  .soon-bell { position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 13px; background: #FFFFFF; color: #0F1E3A; align-items: center; justify-content: center; }
  .soon-bell svg { width: 14px; height: 14px; }

  .how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 20px 22px; }
  .foot { max-width: 1440px; margin: 0 auto; padding: 0 64px 28px; flex-direction: row; flex-wrap: wrap; gap: 4px 12px; text-align: left; }
  .foot .credit { order: 2; margin-left: auto; }
  .page { padding-top: 32px; }
  .modal { align-items: center; }
  .modal-card { border-radius: 24px; }
}
@media (min-width: 900px) and (hover: hover) {
  .loc { transition: box-shadow .2s ease; }
  .loc:hover { box-shadow: 0 8px 24px rgba(15, 30, 58, .1); }
  .loc:hover .loc-img { transform: none; }
  .loc-link:hover .loc-name b, .soon-city:hover b { color: var(--accent-text); }
}
/* открытки в шапке — только там, где им хватает места справа от текста */
@media (min-width: 1260px) {
  .hero-main { grid-template-columns: minmax(0, 720px) 1fr; }
  .postcards { display: block; position: relative; height: 300px; }
  .postcard { position: absolute; padding: 9px 9px 32px; border-radius: 10px; background: #FFFFFF; box-shadow: 0 12px 30px rgba(15, 30, 58, .22); transform: rotate(var(--r)); }
  .postcard .art { width: 206px; height: 148px; border-radius: 6px; }
  .postcard span { position: absolute; left: 12px; bottom: 8px; font-size: 14px; font-weight: 700; color: #0F1E3A; }
}
/* крупным открыткам (H2, 1 окт.) нужно ~530 px справа от текста; уже — уменьшаем все три целиком */
@media (min-width: 1260px) and (max-width: 1419px) {
  .postcards { transform: scale(.72); transform-origin: left top; }
}
@media (prefers-reduced-motion: reduce) {
  .loc, .loc-img { transition: none !important; }
  .loc:hover .loc-img { transform: none; }
}
/* обёртка для WebP-версии фото (cityPic) не участвует в раскладке */
.pic { display: contents; }
