.time-slider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.time-slider input[type="range"] {
  flex: 1;
  min-width: 0;
}

.time-slider output {
  min-width: 8.5em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.time-slider button {
  white-space: nowrap;
}

.capture-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
}

.sort-button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-frame {
  position: relative;
  margin-top: 16px;
  border: 1px solid #ccc;
  background: #e8edf1;
  overflow: hidden;
}

#map {
  display: block;
  width: 100%;
  height: 480px;
  touch-action: none;
  cursor: grab;
}

#map.dragging {
  cursor: grabbing;
}

.zoom-controls {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zoom-controls button {
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
}

.legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.85em;
}

.legend-scale {
  flex: 1;
  height: 10px;
  border: 1px solid #aaa;
}

.legend-temperature {
  flex: 1;
  min-width: 0;
}

.legend-temperature-bar,
.legend-temperature-labels {
  display: grid;
  width: 100%;
}

.legend-temperature-bar {
  height: 14px;
  border: 1px solid #777;
}

.legend-temperature-labels {
  margin-top: 3px;
  font-size: 0.72rem;
  line-height: 1;
  text-align: center;
}

.legend-temperature-unit {
  font-size: 0.85rem;
  white-space: nowrap;
}

#status.error {
  color: #b00020;
}

#status {
  margin-top: 12px;
}

.table-wrap {
  max-height: 480px;
  overflow: auto;
}

#stationTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
}

#stationTable th,
#stationTable td {
  padding: 4px 8px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  white-space: nowrap;
}

#stationTable tbody tr {
  cursor: pointer;
}

#stationTable tbody tr:hover,
#stationTable tbody tr.selected {
  background: #eef3f7;
}
.brand-plus {
  font-family: "Dancing Script", cursive;
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: 0;
}

@font-face {
  font-family: "Dancing Script";
  src: url("/fonts/DancingScript-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

