/* ПОПУТКА — карта: спокойная подложка (почти ч/б), метки контуром и голубым акцентом. */

.leaflet-container { font-family: var(--font-body); background: #EEF0F4; }
.leaflet-tile-pane { filter: grayscale(.9) brightness(1.04) contrast(.94); }
.leaflet-control-attribution {
  font-size: 10px !important; background: rgba(255, 255, 255, .7) !important; border-radius: 8px 0 0 0;
  margin-bottom: var(--sheet-h, 0px) !important; transition: margin-bottom .22s ease;
}
.leaflet-div-icon { background: none; border: none; }

/* я */
.mk-me { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(30, 34, 48, .35); position: relative; }
.mk-me::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; background: rgba(77, 168, 255, .22);
  animation: me-ring 2s ease-out infinite; z-index: -1; }
@keyframes me-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* заявка у водителя — цена «таблеткой» */
.mk-price {
  position: absolute; left: 0; bottom: 8px; transform: translateX(-50%);
  padding: 6px 11px; border-radius: var(--r-pill); white-space: nowrap;
  background: #fff; color: var(--graphite); font-weight: 700; font-size: 13px;
  border: 1.5px solid var(--graphite); box-shadow: 0 4px 12px rgba(30, 34, 48, .2);
  transition: transform .12s ease;
}
.mk-price::after {
  content: ''; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: inherit;
  border-right: inherit; border-bottom: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 3px 0;
}
.mk-price.route { background: var(--accent); color: #fff; border-color: var(--accent); }
.mk-price.sel { background: var(--graphite); color: #fff; border-color: var(--graphite); transform: translateX(-50%) scale(1.12); }
.mk-price.new { animation: pop .4s ease; }
@keyframes pop { 0% { transform: translateX(-50%) scale(.4); } 70% { transform: translateX(-50%) scale(1.15); } 100% { transform: translateX(-50%) scale(1); } }

/* «машу рукой» — моя заявка */
.mk-wave { width: 46px; height: 46px; border-radius: 50%; background: var(--graphite); color: #fff;
  display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(30, 34, 48, .35); position: relative; }
.mk-wave::before, .mk-wave::after { content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--accent); animation: ring 1.8s ease-out infinite; }
.mk-wave::after { animation-delay: .9s; }
.mk-wave svg { animation: wave 1.6s ease-in-out infinite; transform-origin: 70% 90%; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 30% { transform: rotate(10deg); } 45% { transform: rotate(-8deg); } }

/* точки поездки */
.mk-pick { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: 0 4px 12px rgba(30, 34, 48, .3); }
.mk-to { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--graphite); display: grid; place-items: center;
  border: 2px solid var(--graphite); box-shadow: 0 4px 12px rgba(30, 34, 48, .2); }
.mk-car { width: 44px; height: 44px; border-radius: 50%; background: var(--graphite); color: #fff; display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: 0 6px 16px rgba(30, 34, 48, .4); transition: transform .2s ease; }
.mk-dim { opacity: .55; }

/* Плавное движение машины между точками */
.leaflet-marker-icon.glide { transition: transform 1s linear; }
