.geographic-replay-map {
  position: relative;
  outline: 1px solid var(--line);
}

.geographic-replay-map > img {
  display: block;
  width: 100%;
  height: auto;
}

.event-card-layout .geographic-replay-map > img {
  border: 0;
}

.geographic-replay-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.geographic-replay-flown {
  fill: none;
  stroke: #d74d26;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.geographic-replay-marker {
  fill: #20312d;
  stroke: #fff;
  stroke-width: 6;
}

.geographic-replay-controls {
  padding-top: 10px;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
}

.geographic-replay-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.geographic-replay-actions button,
.geographic-replay-actions select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 12px;
  font: 500 13px var(--sans);
}

.geographic-replay-actions button[aria-disabled="true"] {
  cursor: progress;
}

.geographic-replay-actions button {
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

.geographic-replay-actions select {
  background: var(--paper);
  color: var(--ink);
}

.geographic-replay-actions label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.geographic-replay-scrubber {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  margin-top: 4px;
}

.geographic-replay-scrubber input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  accent-color: var(--accent);
}

.geographic-replay-readouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 10px 0 0;
  line-height: 1.4;
}

.geographic-replay-readouts .geographic-replay-clock {
  grid-column: 1 / -1;
}

.geographic-replay-readouts dt {
  color: var(--muted);
  font-size: 11px;
}

.geographic-replay-readouts dd {
  margin: 2px 0 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.geographic-replay-controls p {
  font: 12px/1.5 var(--sans);
  margin: 10px 0 0;
}

.geographic-replay-status:empty {
  display: none;
}

.geographic-replay-note {
  color: var(--muted);
}

.article-cover.geographic-replay .geographic-replay-controls {
  max-width: 720px;
  margin-inline: auto;
}

@media (max-width: 620px) {
  .event-lead .geographic-replay-controls {
    padding-inline: 18px;
  }
}
