.topic-live-map { position: relative; }
.topic-map-viewport { width: 100%; height: clamp(19rem, 55vw, 29rem); background: #e7ecec; }
.topic-live-map[data-editable-map] .topic-map-viewport { height: 18rem; }
.topic-live-map[data-editable-map] .maplibregl-canvas-container:not(.maplibregl-interactive):hover,
.topic-live-map[data-editable-map] .maplibregl-canvas { cursor: crosshair; }
.topic-live-map[data-style="mono"] .maplibregl-canvas { filter: grayscale(1); }
.topic-map-status { position: absolute; inset: .6rem 3rem auto .6rem; padding: .4rem; background: var(--paper, white); }
.topic-map-pin {
  display: grid; place-items: center; padding: 0; width: 28px; height: 28px;
  min-height: 0; border: 2px solid white; border-radius: 50%; overflow: visible;
  background: #9c2528; color: white; font: bold 16px/1 Helvetica, Arial, sans-serif;
}
.topic-map-pin:is(:hover, :focus-visible) { background: #7d1d20; color: white; }
.topic-map-pin svg { display: none; }
.topic-map-pin[data-icon="pin"] { width: 30px; height: 38px; border: 0; }
.topic-map-pin[data-icon="pin"],
.topic-live-map[data-style="mono"] .topic-map-pin[data-icon="pin"] { background: transparent; }
.topic-map-pin[data-icon="pin"] span { display: none; }
.topic-map-pin[data-icon="pin"] svg { display: block; width: 100%; height: 100%; overflow: visible; }
.topic-map-pin svg path { fill: #9c2528; stroke: white; stroke-width: 1.5; }
.topic-map-pin svg circle { fill: white; }
.topic-live-map[data-style="mono"] .topic-map-pin svg path { fill: #303030; }
.topic-live-map[data-style="mono"] .topic-map-pin { background: #303030; }
.topic-map-pin[data-icon="dot"] { width: 17px; height: 17px; }
.topic-map-instruction { margin: 0 0 .35rem; }
.topic-live-map .maplibregl-popup-content, .topic-live-map .maplibregl-ctrl-attrib { color: #242424; }
