/* MediaDose / EFT — интерактивная карта «Таможня»
   Компонент не требует библиотек и наследует CSS-переменные сайта, если они есть. */

.eft-body .md-ground-zero-map {
  --background: var(--bg);
  --card: var(--panel);
  --muted: #111720;
  --foreground: var(--text);
  --muted-foreground: var(--muted);
  --border: var(--line);
  --viz-series-1: var(--acid);
  --viz-series-2: var(--cyan);
  --viz-series-3: var(--warn);
  --viz-series-5: #e96e60;
}

.eft-ground-zero-map-shell {
  width: min(1680px, calc(100% - 48px));
  margin: 0 auto 5rem;
}

@media (max-width: 700px) {
  .eft-ground-zero-map-shell { width: 100%; }
  .eft-ground-zero-map-shell .md-ground-zero-map { border-right: 0; border-left: 0; border-radius: 0; }
}

.md-ground-zero-map {
  --md-bg: var(--background, #050710);
  --md-surface: var(--card, #0c1218);
  --md-surface-2: var(--muted, #111a22);
  --md-text: var(--foreground, #f4f6ec);
  --md-muted: var(--muted-foreground, #89958f);
  --md-border: var(--border, #26312f);
  --md-lime: var(--viz-series-1, #c5eb76);
  --md-cyan: var(--viz-series-2, #31d5de);
  --md-amber: var(--viz-series-3, #f2b45d);
  --md-yellow: #ffd35d;
  --md-violet: #b69cf6;
  --md-danger: var(--viz-series-5, #e96e60);
  --md-shadow: 0 22px 65px rgba(0, 0, 0, .42);
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: clamp(680px, 82vh, 940px);
  min-height: 680px;
  overflow: hidden;
  color: var(--md-text);
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--md-cyan) 7%, transparent), transparent 36%),
    var(--md-bg);
  border: 1px solid var(--md-border);
  border-radius: 20px;
  box-shadow: var(--md-shadow);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  isolation: isolate;
}

.md-ground-zero-map *,
.md-ground-zero-map *::before,
.md-ground-zero-map *::after { box-sizing: border-box; }

.md-ground-zero-map button,
.md-ground-zero-map input { font: inherit; }

.md-map-toolbar {
  z-index: 4;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px 11px 18px;
  border-bottom: 1px solid var(--md-border);
  background: color-mix(in srgb, var(--md-surface) 92%, transparent);
  backdrop-filter: blur(18px);
}

.md-map-brand {
  min-width: 180px;
  display: grid;
  gap: 2px;
}

.md-map-kicker {
  color: var(--md-lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.md-map-brand strong {
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.md-map-search {
  position: relative;
  flex: 1 1 360px;
  max-width: 520px;
  min-width: 180px;
}

.md-map-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: var(--md-muted);
  pointer-events: none;
}

.md-map-search input {
  width: 100%;
  height: 40px;
  padding: 0 38px 0 38px;
  color: var(--md-text);
  background: color-mix(in srgb, var(--md-surface-2) 78%, transparent);
  border: 1px solid var(--md-border);
  border-radius: 11px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.md-map-search input::placeholder { color: color-mix(in srgb, var(--md-muted) 82%, transparent); }

.md-map-search input:focus {
  border-color: color-mix(in srgb, var(--md-cyan) 72%, var(--md-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--md-cyan) 14%, transparent);
  background: var(--md-surface-2);
}

.md-search-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--md-muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.md-search-clear[hidden] { display: none; }
.md-search-clear:hover { color: var(--md-text); background: color-mix(in srgb, var(--md-text) 8%, transparent); }

.md-map-toolbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.md-map-icon-button,
.md-map-text-button {
  height: 38px;
  display: inline-grid;
  place-items: center;
  gap: 7px;
  color: var(--md-text);
  background: color-mix(in srgb, var(--md-surface-2) 76%, transparent);
  border: 1px solid var(--md-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .14s ease, background .14s ease, transform .14s ease;
}

.md-map-icon-button { width: 38px; padding: 0; }
.md-map-text-button { grid-auto-flow: column; padding: 0 12px; font-size: 12px; font-weight: 780; }
.md-map-icon-button svg, .md-map-text-button svg { width: 17px; height: 17px; }

.md-map-icon-button:hover,
.md-map-text-button:hover {
  background: color-mix(in srgb, var(--md-cyan) 9%, var(--md-surface-2));
  border-color: color-mix(in srgb, var(--md-cyan) 52%, var(--md-border));
}

.md-map-icon-button:active,
.md-map-text-button:active { transform: translateY(1px); }

.md-map-icon-button:focus-visible,
.md-map-text-button:focus-visible,
.md-layer-toggle:focus-visible,
.md-point-item:focus-visible,
.md-quick-filter:focus-visible {
  outline: 2px solid var(--md-cyan);
  outline-offset: 2px;
}

.md-sidebar-toggle { display: none; }

.md-map-layout {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
}

.md-map-main {
  min-width: 0;
  min-height: 0;
  padding: 12px;
  background:
    linear-gradient(transparent 39px, color-mix(in srgb, var(--md-border) 24%, transparent) 40px),
    linear-gradient(90deg, transparent 39px, color-mix(in srgb, var(--md-border) 24%, transparent) 40px),
    #02050a;
  background-size: 40px 40px;
}

.md-map-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #02050a;
  border: 1px solid color-mix(in srgb, var(--md-border) 88%, transparent);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.018), inset 0 0 70px rgba(0,0,0,.42);
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.md-map-viewport.is-dragging { cursor: grabbing; }

.md-level-switch {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  max-width: min(430px, calc(100% - 24px));
  padding: 5px;
  background: rgba(4, 8, 12, .84);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  backdrop-filter: blur(12px);
}

.md-level-button {
  min-height: 38px;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 5px 9px;
  color: var(--md-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 820;
  cursor: pointer;
}

.md-level-button-label { line-height: 1.05; }
.md-level-button-count {
  color: color-mix(in srgb, currentColor 68%, transparent);
  font-size: 7px;
  font-weight: 760;
  letter-spacing: .04em;
}

.md-level-button:hover { color: var(--md-text); background: rgba(255,255,255,.06); }
.md-level-button[aria-pressed="true"] {
  color: #07100c;
  background: var(--md-lime);
  border-color: color-mix(in srgb, var(--md-lime) 76%, #fff);
}

.md-ground-zero-map.is-level-detail .md-map-viewport {
  border-color: color-mix(in srgb, var(--md-lime) 42%, var(--md-border));
}

.md-level-current {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 6px 9px;
  color: var(--md-text);
  background: rgba(4, 8, 12, .76);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  font-size: 9px;
  font-weight: 760;
  pointer-events: none;
}

.md-map-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  outline: none;
}

.md-map-svg image { pointer-events: none; }

.md-map-vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 52px rgba(0, 0, 0, .28);
}

.md-map-status {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  padding: 7px 9px;
  color: var(--md-muted);
  background: rgba(4, 8, 12, .78);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  backdrop-filter: blur(10px);
  font-size: 10px;
  line-height: 1.2;
  pointer-events: none;
}

.md-map-status strong { color: var(--md-text); font-variant-numeric: tabular-nums; }

.md-map-tooltip {
  position: absolute;
  z-index: 10;
  width: max-content;
  max-width: min(290px, calc(100% - 24px));
  padding: 9px 11px;
  color: var(--md-text);
  background: rgba(5, 9, 13, .94);
  border: 1px solid color-mix(in srgb, var(--md-cyan) 34%, var(--md-border));
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0,0,0,.42);
  backdrop-filter: blur(12px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .1s ease, transform .1s ease;
}

.md-map-tooltip.is-visible { opacity: 1; transform: translateY(0); }
.md-map-tooltip strong { display: block; font-size: 12px; line-height: 1.3; }
.md-map-tooltip span { display: block; margin-top: 3px; color: var(--md-muted); font-size: 10px; }

.md-map-sidebar {
  z-index: 8;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border-left: 1px solid var(--md-border);
  background: color-mix(in srgb, var(--md-surface) 95%, var(--md-bg));
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--md-muted) 35%, transparent) transparent;
}

.md-sidebar-inner { min-height: 100%; padding: 15px; }

.md-sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.md-sidebar-heading strong { font-size: 13px; }
.md-sidebar-heading span { color: var(--md-muted); font-size: 10px; }

.md-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.md-quick-filter {
  min-height: 30px;
  padding: 5px 9px;
  color: var(--md-muted);
  background: color-mix(in srgb, var(--md-surface-2) 70%, transparent);
  border: 1px solid var(--md-border);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 780;
  cursor: pointer;
}

.md-quick-filter:hover { color: var(--md-text); border-color: color-mix(in srgb, var(--md-cyan) 46%, var(--md-border)); }

.md-layer-list { display: grid; gap: 6px; }

.md-layer-toggle {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  color: var(--md-text);
  background: color-mix(in srgb, var(--md-surface-2) 72%, transparent);
  border: 1px solid var(--md-border);
  border-radius: 9px;
  text-align: left;
  cursor: pointer;
  transition: opacity .14s ease, border-color .14s ease, background .14s ease;
}

.md-layer-toggle:hover { border-color: color-mix(in srgb, var(--layer-color) 48%, var(--md-border)); }
.md-layer-toggle[aria-pressed="false"] { opacity: .43; }
.md-layer-toggle[aria-pressed="false"] .md-layer-dot { filter: grayscale(.9); }

.md-layer-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--layer-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--layer-color) 14%, transparent);
}

.md-layer-label { min-width: 0; font-size: 11px; font-weight: 760; line-height: 1.2; }
.md-layer-count { color: var(--md-muted); font-size: 9px; font-variant-numeric: tabular-nums; }

.md-sidebar-divider {
  height: 1px;
  margin: 14px 0;
  background: var(--md-border);
}

.md-selection-card {
  padding: 13px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--selection-color, var(--md-cyan)) 9%, transparent), transparent 56%),
    color-mix(in srgb, var(--md-surface-2) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--selection-color, var(--md-cyan)) 28%, var(--md-border));
  border-radius: 12px;
}

.md-selection-empty { color: var(--md-muted); font-size: 11px; line-height: 1.5; }

.md-selection-badge {
  width: fit-content;
  margin-bottom: 7px;
  padding: 4px 7px;
  color: var(--selection-color, var(--md-cyan));
  background: color-mix(in srgb, var(--selection-color, var(--md-cyan)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--selection-color, var(--md-cyan)) 28%, transparent);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 880;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.md-selection-card h3 { margin: 0; font-size: 15px; line-height: 1.25; letter-spacing: -.015em; }
.md-selection-card p { margin: 7px 0 0; color: var(--md-muted); font-size: 10px; line-height: 1.48; }

.md-selection-meta {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
}

.md-selection-meta div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  font-size: 9px;
  line-height: 1.35;
}

.md-selection-meta dt { color: var(--md-muted); }
.md-selection-meta dd { margin: 0; color: var(--md-text); }

.md-selection-actions { margin-top: 11px; display: flex; gap: 7px; }
.md-selection-actions .md-map-text-button { height: 32px; padding-inline: 10px; }

.md-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.md-results-head strong { font-size: 12px; }
.md-results-head span { color: var(--md-muted); font-size: 9px; }

.md-point-list {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
}

.md-point-item {
  width: 100%;
  min-height: 43px;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  color: var(--md-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  text-align: left;
  cursor: pointer;
}

.md-point-item:hover {
  background: color-mix(in srgb, var(--item-color) 7%, var(--md-surface-2));
  border-color: color-mix(in srgb, var(--item-color) 26%, var(--md-border));
}

.md-point-item.is-selected {
  background: color-mix(in srgb, var(--item-color) 10%, var(--md-surface-2));
  border-color: color-mix(in srgb, var(--item-color) 45%, var(--md-border));
}

.md-point-color { width: 8px; height: 8px; border-radius: 50%; background: var(--item-color); }
.md-point-copy { min-width: 0; }
.md-point-title { display: block; overflow: hidden; color: var(--md-text); font-size: 10px; font-weight: 760; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.md-point-kind { display: block; margin-top: 2px; color: var(--md-muted); font-size: 8px; line-height: 1.2; }
.md-point-arrow { color: var(--md-muted); font-size: 13px; }

.md-no-results {
  padding: 16px 10px;
  color: var(--md-muted);
  border: 1px dashed var(--md-border);
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.md-map-footer {
  z-index: 3;
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  color: var(--md-muted);
  background: color-mix(in srgb, var(--md-surface) 94%, var(--md-bg));
  border-top: 1px solid var(--md-border);
  font-size: 9px;
  line-height: 1.35;
}

.md-map-footer span:last-child { margin-left: auto; white-space: nowrap; }

.md-sidebar-scrim { display: none; }

/* SVG overlay */
.md-svg-marker { color: var(--md-text); cursor: pointer; outline: none; opacity: .84; }
.md-svg-marker:hover, .md-svg-marker:focus-visible, .md-svg-marker.is-selected { opacity: 1; }
.md-svg-marker.is-hidden,
.md-boss-zone.is-hidden,
.md-hazard-zone.is-hidden { display: none; }
.md-svg-marker.is-filtered-out { opacity: .14; }
.md-svg-marker [data-pin-core] { transition: filter .13s ease, opacity .13s ease; }
.md-svg-marker .md-hit { fill: transparent; stroke: none; pointer-events: all; }
.md-svg-marker .md-pin-back { fill: rgba(2, 6, 9, .92); stroke: currentColor; stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.md-svg-marker .md-pin-fill { fill: currentColor; stroke: #020509; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.md-svg-marker .md-pin-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.md-svg-marker .md-pin-dark-line { fill: none; stroke: #020509; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.md-svg-marker .md-selected-ring { fill: none; stroke: currentColor; stroke-width: 2; opacity: 0; vector-effect: non-scaling-stroke; }

.md-svg-marker:hover [data-pin-core],
.md-svg-marker:focus-visible [data-pin-core],
.md-svg-marker.is-selected [data-pin-core] {
  filter: drop-shadow(0 0 4px currentColor) drop-shadow(0 0 9px color-mix(in srgb, currentColor 38%, transparent));
}

.md-svg-marker.is-selected .md-selected-ring { opacity: 1; animation: md-map-pulse 1.7s ease-out infinite; }

.md-kind-landmarks { color: var(--md-text); }
.md-kind-pmcSpawns,
.md-kind-extractsPmc { color: var(--md-lime); }
.md-kind-scavSpawns,
.md-kind-extractsScav { color: var(--md-cyan); }
.md-kind-extractsShared { color: var(--md-text); }
.md-kind-transits { color: var(--md-amber); }
.md-kind-switches { color: var(--md-amber); }
.md-kind-questPoints { color: var(--md-yellow); }
.md-kind-lockedDoors { color: var(--md-violet); }
.md-kind-hazards { color: var(--md-danger); }
.md-kind-bossZones { color: var(--md-danger); }

.md-boss-zone { color: var(--md-danger); cursor: pointer; outline: none; }
.md-boss-zone ellipse:first-child {
  fill: color-mix(in srgb, var(--md-danger) 7%, transparent);
  stroke: var(--md-danger);
  stroke-width: 2;
  stroke-dasharray: 9 9;
  opacity: .24;
  vector-effect: non-scaling-stroke;
}
.md-boss-zone .md-zone-hit { fill: transparent; stroke: transparent; pointer-events: all; }
.md-boss-zone:hover ellipse:first-child,
.md-boss-zone:focus-visible ellipse:first-child,
.md-boss-zone.is-selected ellipse:first-child { opacity: 1; filter: drop-shadow(0 0 5px rgba(233,110,96,.72)); }

.md-hazard-zone { color: var(--md-danger); cursor: pointer; outline: none; }
.md-hazard-zone polygon:first-child {
  fill: color-mix(in srgb, var(--md-danger) 16%, transparent);
  stroke: var(--md-danger);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
  opacity: .58;
  vector-effect: non-scaling-stroke;
}
.md-hazard-zone .md-zone-hit { fill: transparent; stroke: transparent; pointer-events: all; }
.md-hazard-zone:hover polygon:first-child,
.md-hazard-zone:focus-visible polygon:first-child,
.md-hazard-zone.is-selected polygon:first-child { opacity: 1; filter: drop-shadow(0 0 4px rgba(233,110,96,.8)); }

@keyframes md-map-pulse {
  0% { r: 13px; opacity: .95; }
  70%, 100% { r: 21px; opacity: 0; }
}

.md-ground-zero-map.is-fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  border: 0;
  border-radius: 0;
}

.md-ground-zero-map.is-fullscreen .md-map-main { padding: 8px; }

@media (max-width: 1120px) {
  .md-ground-zero-map { height: clamp(660px, 84vh, 900px); }
  .md-map-layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .md-map-text-button .md-button-label { display: none; }
  .md-map-text-button { width: 38px; padding: 0; }
}

@media (max-width: 900px) {
  .md-ground-zero-map {
    height: min(760px, 88vh);
    min-height: 560px;
    border-radius: 14px;
  }

  .md-map-toolbar { min-height: 60px; gap: 8px; padding: 9px 10px; }
  .md-map-brand { min-width: 118px; }
  .md-map-brand strong { font-size: 15px; }
  .md-map-kicker { font-size: 8px; }
  .md-map-search { max-width: none; min-width: 90px; }
  .md-map-search input { height: 36px; }
  .md-map-icon-button, .md-map-text-button { width: 36px; height: 36px; border-radius: 9px; }
  .md-sidebar-toggle { display: inline-grid; }
  .md-map-layout { display: block; min-height: 0; }
  .md-map-main { height: 100%; padding: 8px; }

  .md-map-sidebar {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(88vw, 360px);
    transform: translateX(104%);
    transition: transform .2s ease;
    border-left: 1px solid var(--md-border);
    box-shadow: -22px 0 48px rgba(0,0,0,.5);
  }

  .md-ground-zero-map.is-sidebar-open .md-map-sidebar { transform: translateX(0); }

  .md-sidebar-scrim {
    position: absolute;
    inset: 0;
    z-index: 7;
    display: block;
    background: rgba(0,0,0,.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .md-ground-zero-map.is-sidebar-open .md-sidebar-scrim { opacity: 1; pointer-events: auto; }
  .md-map-footer span:last-child { display: none; }
}

@media (max-width: 640px) {
  .md-ground-zero-map { height: min(700px, 90vh); min-height: 520px; }
  .md-map-brand { min-width: 98px; }
  .md-map-brand strong { font-size: 14px; }
  .md-map-kicker { letter-spacing: .1em; }
  .md-map-toolbar { flex-wrap: wrap; }
  .md-map-search { order: 3; flex-basis: 100%; }
  .md-map-toolbar-actions { margin-left: auto; }
  .md-map-icon-button[data-action="zoom-out"],
  .md-map-icon-button[data-action="zoom-in"] { display: none; }
  .md-map-status span:last-child { display: none; }
  .md-map-footer { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .md-ground-zero-map *,
  .md-ground-zero-map *::before,
  .md-ground-zero-map *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Стили только для standalone-превью index.html. На сайте их можно не подключать. */
.md-demo-page {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  color: #f4f6ec;
  background: #03050b;
}

.md-demo-page .md-demo-shell { width: min(1720px, 100%); margin: 0 auto; }

@media (max-width: 700px) {
  .md-demo-page { padding: 0; }
  .md-demo-page .md-ground-zero-map { border-left: 0; border-right: 0; border-radius: 0; }
}

.md-boss-zone.is-filtered-out { opacity: .14; }
.md-hazard-zone.is-filtered-out { opacity: .14; }

@media (max-width: 640px) {
  .md-level-switch { top: 8px; right: 8px; max-width: calc(100% - 16px); }
  .md-level-button { min-height: 34px; padding-inline: 7px; font-size: 8px; }
  .md-level-button-count { font-size: 6px; }
  .md-level-current { display: none; }
}
