/* ── Pane toggle button (single/quad) ── */
.pane-toggle {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.pane-toggle:hover {
  background: rgba(30, 41, 59, 0.95);
}

/* ── Crosshair overlay ── */
.pane-crosshair {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  width: 0;
  height: 0;
}
.pane-crosshair::before,
.pane-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 1px;
}
/* vertical bar */
.pane-crosshair::before {
  width: 1.5px;
  height: 20px;
  left: -0.75px;
  top: -10px;
}
/* horizontal bar */
.pane-crosshair::after {
  width: 20px;
  height: 1.5px;
  left: -10px;
  top: -0.75px;
}

.crosshair-badge {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.7rem;
  font-family: monospace;
  padding: 1px 4px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1.3;
}
.crosshair-badge:empty {
  display: none;
}

/* ── Animation controls ── */
.pane-anim-btn {
  border: 1px solid #334155;
  background: rgba(15, 23, 42, 0.88);
  color: #e2e8f0;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  line-height: 1;
}
.pane-anim-btn:hover {
  background: rgba(30, 41, 59, 0.95);
}
.pane-anim-btn.playing {
  color: #38bdf8;
  border-color: #38bdf8;
}

.pane-anim-timestamp {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: monospace;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.pane-anim-slider {
  position: absolute;
  bottom: 30px;
  left: 8px;
  right: 8px;
  z-index: 7;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.pane-anim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #38bdf8;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  cursor: grab;
}
.pane-anim-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #38bdf8;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  cursor: grab;
}
.pane-anim-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
}
.pane-anim-slider::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
}

/* ── User location marker ── */
.user-location-marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #3b82f6 40%, rgba(59, 130, 246, 0.35) 100%);
  border: 2.5px solid #fff;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
  cursor: default;
}

/* ── Active alerts sidebar list ── */
.tornado-alert-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 260px;
  overflow-y: auto;
}
.tornado-alert-empty {
  color: #94a3b8;
  font-size: 0.82rem;
  margin: 0;
}
.tornado-alert-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tornado-alert-tag {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 1px 4px;
  border-radius: 3px;
  text-transform: uppercase;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alert-type-label {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  width: 52px;
}
.tornado-alert-link {
  font-size: 0.8rem;
  color: #93c5fd;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.tornado-alert-link:hover {
  text-decoration: underline;
  color: #60a5fa;
}

