/* Onest — self-hosted variable font, weights 400–800, split into four subsets. */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/onest-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gm-accent: #F59E0B;
  --kind-dps_post: #2563EB;
  --kind-dps_ambush: #7C3AED;
  --kind-camera: #DC2626;
  --kind-camera_tripod: #EA580C;

  --sheet-bg: #20262E;
  --modal-bg: #21272F;
  --consent-text-bg: #1B2027;
  --geo-bg: #171C22;
  --vote-yes: #18A550;
  --vote-no: #39414B;
  --me: #1A8CFF;
  --ok: #4ADE80;
  --warn: #F0B429;
  --map-dev-bg: #F1EEE7;

  --pin-size: 36px;
  --fab-size: 72px;
  --kind-btn-min: 64px;
  --tap-min: 44px;
  --pending-opacity: 0.55;

  --gm-radius-control: 14px;
  --gm-radius-card: 18px;
  --gm-radius-sheet: 24px;
  --gm-radius-round: 999px;

  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: var(--map-dev-bg);
  /* Явный цвет текста обязателен. При color-scheme: dark и светлом фоне карты узел без
     собственного color получает БЕЛЫЙ системный текст поверх кремового фона — именно так
     первый экран (гео-оверлей) оказался нечитаем на живом телефоне. Дефолт делаем тёмным:
     все тёмные панели (#gm-place, #gm-sheet, #gm-consent, #gm-geo, #gm-toast) свой цвет
     задают сами, а вот следующий забытый узел останется читаемым. */
  color: #171B20;
  font-family: inherit;
}

#map {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  background: var(--map-dev-bg);
}

[hidden] {
  display: none !important;
}

/* ── Хром самого Leaflet ──────────────────────────────────────────────────────────────
   Контролы вендора приходят со своим светлым оформлением: белые плашки и тач-цели 30px
   посреди тёмного UI. Атрибуция вдобавок по умолчанию встаёт в ПРАВЫЙ нижний угол, где
   стоит 72-пиксельный FAB, и подпирается им — при том что она обязательна по условиям
   поставщика тайлов. Позицию переносит initMap, оформление — эти правила. */
.leaflet-control-attribution {
  padding: 3px 10px;
  border-radius: var(--gm-radius-round);
  background: rgb(32 38 46 / 78%);
  color: #AEB8C4;
  font-family: inherit;
  font-size: 0.62rem;
  line-height: 1.6;
}

.leaflet-control-attribution a {
  color: #D7DEE7;
}

.leaflet-bar {
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--gm-radius-control);
  box-shadow: 0 8px 20px rgb(0 0 0 / 22%);
  overflow: hidden;
}

.leaflet-control-zoom a {
  width: var(--tap-min);
  height: var(--tap-min);
  border: 0;
  background: rgb(32 38 46 / 88%);
  color: #F8FAFC;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: var(--tap-min);
}

.leaflet-control-zoom a + a {
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.leaflet-control-zoom a:hover,
.leaflet-control-zoom a:focus {
  background: rgb(45 53 63 / 94%);
  color: #FFFFFF;
}

button,
[role="button"],
input,
select,
textarea {
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  font: inherit;
}

button {
  touch-action: manipulation;
}

#gm-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 24px));
  z-index: 500;
  display: grid;
  place-items: center;
  width: var(--fab-size);
  height: var(--fab-size);
  padding: 0;
  border: 0;
  border-radius: var(--gm-radius-round);
  background: var(--gm-accent);
  box-shadow: 0 12px 30px rgb(23 27 32 / 28%);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

#gm-fab:active {
  transform: scale(0.96);
  box-shadow: 0 8px 20px rgb(23 27 32 / 24%);
}

#gm-fab:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

#gm-fab svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #171B20;
  stroke-width: 2.6;
  stroke-linecap: round;
}

#gm-place,
#gm-sheet,
#gm-consent,
#gm-geo,
#gm-toast,
#gm-stale,
#gm-pin {
  position: fixed;
  z-index: 600;
}

/* Индикатор устаревания. Полоска сверху, а не тост: это СОСТОЯНИЕ («связи нет, отметки на
   экране могли погаснуть»), а тост живёт 3,2 с и исчезает вместе с предупреждением. */
#gm-stale {
  top: max(12px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  z-index: 880;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  padding: 7px 14px;
  border: 1px solid rgb(240 180 41 / 34%);
  border-radius: var(--gm-radius-round);
  background: rgb(32 38 46 / 94%);
  color: var(--warn);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 10px 26px rgb(0 0 0 / 26%);
}

/* Пины отметок на карте (Приложение А: круг 36px, цвет по виду, белый глиф, тень;
   pending — 55% прозрачности + белый пунктир 2px).
   Скоуп через .leaflet-marker-icon обязателен: без него box-shadow/border-radius протекут
   на статический центр-пин #gm-pin режима постановки, у которого своя геометрия. */
.leaflet-marker-icon .gm-pin {
  box-sizing: border-box;
  width: var(--pin-size);
  height: var(--pin-size);
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(0 0 0 / 35%);
}

.leaflet-marker-icon .gm-pin svg {
  width: 22px;
  height: 22px;
}

/* Признак «не подтверждено» на самой карте. Пока карантин выключен
   (MARK_PENDING_MIN_TRUST=0, решение владельца №4) такие пины приходят только из seed,
   но при включении карантина в Фазе 3 это единственное отличие pending от live. */
.leaflet-marker-icon .gm-pin--pending {
  opacity: var(--pending-opacity);
  border: 2px dashed #FFFFFF;
}

@keyframes gm-pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.7;
  }
  70% {
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes gm-toast {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes gm-up {
  from {
    transform: translateY(26px);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes gm-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#gm-consent {
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, calc(env(safe-area-inset-bottom) + 16px));
  z-index: 800;
  width: min(430px, calc(100vw - 32px));
  margin-inline: auto;
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: var(--gm-radius-card);
  background: var(--modal-bg);
  color: #F8FAFC;
  box-shadow:
    0 0 0 100vmax rgb(10 14 18 / 58%),
    0 22px 60px rgb(0 0 0 / 42%);
}

#gm-consent.gm-up {
  animation: gm-up 220ms ease-out both;
}

.gm-consent-title {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#gm-consent-text {
  height: 180px;
  padding: 14px 15px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgb(255 255 255 / 6%);
  border-radius: var(--gm-radius-control);
  background: var(--consent-text-bg);
  color: #D7DEE7;
  font-size: 0.875rem;
  line-height: 1.55;
  white-space: pre-wrap;
  scrollbar-color: #56606D transparent;
}

#gm-consent-text:focus-visible {
  outline: 2px solid var(--gm-accent);
  outline-offset: 2px;
}

.gm-consent-note {
  margin: 12px 2px 0;
  color: #98A3B1;
  font-size: 0.75rem;
  line-height: 1.4;
}

.gm-consent-status {
  margin: 8px 2px 0;
  color: var(--warn);
  font-size: 0.8rem;
  line-height: 1.4;
}

.gm-consent-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

#gm-consent button {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: var(--gm-radius-control);
  font-weight: 700;
  cursor: pointer;
}

#gm-consent .gm-btn--accent {
  border: 1px solid transparent;
  background: var(--gm-accent);
  color: #171B20;
  box-shadow: 0 8px 22px rgb(245 158 11 / 24%);
}

#gm-consent .gm-btn--quiet {
  border: 1px solid rgb(255 255 255 / 8%);
  background: transparent;
  color: #B9C2CE;
}

#gm-consent button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

#gm-consent button:disabled {
  cursor: wait;
  opacity: 0.55;
}

/* ── Кнопки: контрактный класс обязан работать НА ЛЮБОМ экране ────────────────────────
   .gm-btn--accent/--quiet были стилизованы ТОЛЬКО в скоупе #gm-consent, поэтому те же
   классы на гео-оверлее давали серые нативные кнопки (видно на живом телефоне). База —
   по классу, экранная специфика (ширина, порядок) — в скоупе экрана. #gm-fab перекрывает
   эти свойства собственными правилами по id и остаётся круглым: закреплено E2E. */
.gm-btn--accent,
.gm-btn--quiet {
  min-height: 50px;
  padding: 12px 18px;
  border-radius: var(--gm-radius-control);
  font-weight: 700;
  cursor: pointer;
}

.gm-btn--accent {
  border: 1px solid transparent;
  background: var(--gm-accent);
  color: #171B20;
  box-shadow: 0 8px 22px rgb(245 158 11 / 24%);
}

.gm-btn--quiet {
  border: 1px solid rgb(255 255 255 / 8%);
  background: transparent;
  color: #B9C2CE;
}

.gm-btn--accent:focus-visible,
.gm-btn--quiet:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.gm-btn--accent:disabled,
.gm-btn--quiet:disabled {
  cursor: wait;
  opacity: 0.55;
}

/* ── Гео-оверлей — первый экран, который видит новый пользователь ─────────────────────
   Приложение А: «--geo-bg на весь экран, круг-иконка, заголовок, „Разрешить“ accent +
   „Позже“». До этого у #gm-geo не было НИ ОДНОГО собственного правила: он попадал только
   в групповой position:fixed выше, вставал по месту в потоке поверх зум-контролов, фон не
   рисовался, а color-scheme: dark давал светлый системный текст поверх светлого фона
   карты — на реальном телефоне заголовок был нечитаем. Токен --geo-bg был объявлен и
   имел ноль потребителей: тот же класс дефекта, что F13 с пинами. */
#gm-geo {
  inset: 0;
  z-index: 780;
  display: grid;
  align-content: center;
  justify-items: center;
  padding:
    32px
    max(24px, env(safe-area-inset-right))
    max(32px, calc(env(safe-area-inset-bottom) + 32px))
    max(24px, env(safe-area-inset-left));
  background: var(--geo-bg);
  color: #F8FAFC;
  text-align: center;
  animation: gm-fade 0.2s ease-out both;
}

.gm-geo-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgb(245 158 11 / 12%);
}

.gm-geo-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--gm-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#gm-geo h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 5.6vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#gm-geo p {
  max-width: 32ch;
  margin: 0 0 28px;
  color: #AEB8C4;
  font-size: 0.95rem;
  line-height: 1.5;
}

.gm-geo-actions {
  display: grid;
  gap: 10px;
  width: min(320px, 100%);
}

#gm-place {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 700;
  width: min(480px, 100%);
  margin-inline: auto;
  padding:
    12px
    max(18px, env(safe-area-inset-right))
    max(18px, calc(env(safe-area-inset-bottom) + 18px))
    max(18px, env(safe-area-inset-left));
  border: 1px solid rgb(255 255 255 / 8%);
  border-bottom: 0;
  border-radius: var(--gm-radius-sheet) var(--gm-radius-sheet) 0 0;
  background: var(--sheet-bg);
  color: #F8FAFC;
  box-shadow: 0 -18px 48px rgb(0 0 0 / 32%);
  animation: gm-up 280ms cubic-bezier(.2, .8, .3, 1) both;
}

.gm-place-handle {
  display: block;
  width: 42px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: var(--gm-radius-round);
  background: rgb(255 255 255 / 22%);
}

.gm-place-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  text-align: center;
  letter-spacing: -0.02em;
}

#gm-place-hint {
  min-height: 20px;
  margin: 7px 0 16px;
  color: #AEB8C4;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
}

#gm-place-hint.gm-place-hint--warn {
  color: var(--warn);
}

#gm-place-kinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gm-place-kind {
  display: grid;
  place-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 104px;
  padding: 10px 8px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: var(--gm-radius-control);
  background: rgb(255 255 255 / 4%);
  color: #F8FAFC;
  font-weight: 650;
  cursor: pointer;
}

.gm-place-kind-icon {
  display: grid;
  place-items: center;
  width: var(--kind-btn-min);
  height: var(--kind-btn-min);
  border: 2px solid rgb(255 255 255 / 88%);
  border-radius: 16px;
  box-shadow: 0 7px 18px rgb(0 0 0 / 25%);
}

.gm-place-kind-icon svg {
  width: 34px;
  height: 34px;
}

.gm-place-kind-label {
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gm-place-kind:focus-visible,
.gm-place-cancel:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.gm-place-kind:disabled,
.gm-place-kind.gm-btn--disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.gm-place-cancel {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: var(--gm-radius-control);
  background: transparent;
  color: #B9C2CE;
  font-weight: 650;
  cursor: pointer;
}

#gm-pin.gm-center-pin {
  top: 50%;
  left: 50%;
  z-index: 650;
  width: 50px;
  height: 58px;
  transform: translate(-50%, -100%);
  pointer-events: none;
  filter: drop-shadow(0 8px 11px rgb(0 0 0 / 32%));
}

#gm-pin.gm-center-pin::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 1px;
  width: 48px;
  height: 48px;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  background: var(--sheet-bg);
  content: "";
}

#gm-pin.gm-center-pin::after {
  position: absolute;
  z-index: 1;
  bottom: 4px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  background: var(--sheet-bg);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

#gm-pin.gm-center-pin svg {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 11px;
  width: 28px;
  height: 28px;
}

#gm-sheet {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 720;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: center;
  width: min(480px, 100%);
  margin-inline: auto;
  padding:
    12px
    max(18px, env(safe-area-inset-right))
    max(20px, calc(env(safe-area-inset-bottom) + 20px))
    max(18px, env(safe-area-inset-left));
  border: 1px solid rgb(255 255 255 / 8%);
  border-bottom: 0;
  border-radius: var(--gm-radius-sheet) var(--gm-radius-sheet) 0 0;
  background: var(--sheet-bg);
  color: #F8FAFC;
  box-shadow: 0 -18px 48px rgb(0 0 0 / 34%);
}

#gm-sheet.gm-up {
  animation: gm-up 280ms cubic-bezier(.2, .8, .3, 1) both;
}

.gm-sheet-handle {
  grid-column: 1 / -1;
  display: block;
  width: 42px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: var(--gm-radius-round);
  background: rgb(255 255 255 / 22%);
}

#gm-sheet-icon {
  grid-column: 1;
  grid-row: 2 / span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid rgb(255 255 255 / 88%);
  border-radius: 17px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 28%);
}

#gm-sheet-icon svg {
  width: 31px;
  height: 31px;
}

#gm-sheet-title {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: clamp(1.15rem, 5vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#gm-sheet-badge {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  max-width: 130px;
  padding: 5px 8px;
  border-radius: var(--gm-radius-round);
  color: var(--warn);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

#gm-sheet-badge.gm-badge-pending {
  border: 1px solid rgb(240 180 41 / 38%);
  background: rgb(240 180 41 / 11%);
}

#gm-sheet-meta {
  grid-column: 2 / -1;
  grid-row: 3;
  min-width: 0;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: #AEB8C4;
  font-size: 0.82rem;
  line-height: 1.4;
}

.gm-sheet-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.gm-sheet-actions button {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 11px 10px;
  border-radius: var(--gm-radius-control);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}

/* Контрактные классы .gm-btn--yes/--no (Приложение Б, index.html) были объявлены и не имели
   ни одного правила — цвет голоса держался только на id. Переезд id снял бы оформление молча. */
#gm-vote-yes,
.gm-btn--yes {
  border: 1px solid transparent;
  background: var(--vote-yes);
  box-shadow: 0 8px 22px rgb(24 165 80 / 22%);
}

#gm-vote-no,
.gm-btn--no {
  border: 1px solid rgb(255 255 255 / 8%);
  background: var(--vote-no);
}

.gm-sheet-actions button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.gm-sheet-actions button:disabled,
.gm-sheet-actions button.gm-btn--disabled {
  cursor: wait;
  opacity: 0.55;
}

#gm-sheet-voted {
  grid-column: 1 / -1;
  min-height: 52px;
  margin: 20px 0 0;
  padding: 14px 18px;
  border: 1px solid rgb(74 222 128 / 24%);
  border-radius: var(--gm-radius-control);
  background: rgb(74 222 128 / 10%);
  color: var(--ok);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

#gm-toast {
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(112px, calc(env(safe-area-inset-bottom) + 112px));
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(430px, calc(100vw - 32px));
  min-height: 54px;
  margin-inline: auto;
  padding: 12px 16px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--gm-radius-card);
  background: #20262E;
  box-shadow: 0 14px 36px rgb(0 0 0 / 32%);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
}

#gm-toast.gm-toast {
  animation: gm-toast 0.25s ease-out both;
}

.gm-toast__glyph {
  display: inline-grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: var(--gm-radius-round);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.gm-toast__glyph--ok {
  color: var(--ok);
}

.gm-toast__glyph--warn {
  color: var(--warn);
}

.gm-toast__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  #gm-consent.gm-up,
  #gm-sheet.gm-up,
  #gm-place,
  #gm-geo,
  #gm-toast.gm-toast {
    animation: none;
  }

  #gm-fab {
    transition: none;
  }

  /* Пульс маркера «я» задаётся инлайном в L.divIcon (geo.js), поэтому перебить его можно
     только !important — иначе единственная бесконечная анимация в интерфейсе игнорирует
     системную настройку «уменьшить движение». */
  .gm-pulse {
    animation: none !important;
  }
}
