/* nouislider - 15.8.1 2026 */
.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{top:-100%;width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#FAFAFA;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}.noUi-connects{border-radius:3px}.noUi-connect{background:#3FB8AF}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#B8B8B8}[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#CCC}.noUi-marker-sub{background:#AAA}.noUi-marker-large{background:#AAA}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%,50%);transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0,-50%);transform:translate(0,-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0,50%);transform:translate(0,50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%,0);transform:translate(-50%,0);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0,-50%);transform:translate(0,-50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{-webkit-transform:translate(50%,0);transform:translate(50%,0);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{-webkit-transform:translate(0,-18px);transform:translate(0,-18px);top:auto;right:28px}

/* SHARED EARTH CONTROLS */
#slider-on-map {
  position: absolute;
  right: 70px;
  bottom: 10px;
  width: min(370px, calc(100% - 80px));
  height: 12px;
  z-index: 2;
  pointer-events: none;
}
#slider-pips {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: calc(100% - 20px);
  height: 12px;
  background-color: rgba(0,0,0,.5);
  pointer-events: auto;
  z-index: 3;
}
#earth-date-picker { /* Two-column grid, so the slider and speed selects match the widths of the date and time above them. Sits inside #slider-toggle-wrap */
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 6px;
  background: rgba(10,16,22,.88);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  padding: 6px 10px;
  pointer-events: auto;
  white-space: nowrap;
  cursor: auto;
}
#earth-date-picker .earth-picker-row {
  display: contents; /* Each row's two fields become cells of the popup's grid */
}
#earth-date-picker input[type="date"],
#earth-date-picker select {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  outline: none;
  height: 28px;
  box-sizing: border-box;
  vertical-align: middle;
  margin: 0;
  padding: 0 6px;
  width: 100%; /* Fill the grid column */
}
#earth-speed-select {
  min-width: 53px !important;
  height: 17px !important;
  font-size: 13px !important;
  line-height: 17px;
  padding: 0 8px 0 3px !important;
  text-align: right;
  text-align-last: right; /* Right-aligns the selected value shown in the select */
}
#earth-date-picker #earth-time-select { /* Right-aligned like #earth-speed-select below it */
  padding-right: 8px;
  text-align: right;
  text-align-last: right;
}
#earth-date-picker input[type="date"] { height: 32px; }
#earth-date-picker input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }
#earth-date-picker select option { background: #1a2530; color: #fff; }
#slider-pips-gap-hit-area {
  position: absolute;
  right: 10px;
  bottom: -6px;
  width: calc(100% - 20px);
  height: 18px;
  z-index: 2;
  pointer-events: auto;
}
.slider-pips-hit-area {
  position: absolute;
  bottom: 0;
  height: 12px;
  width: 10px;
  z-index: 2;
  pointer-events: auto;
  background-color: rgba(0,0,0,.5);
}
#slider-pips-hit-left { left: 0; border-radius: 4px 0 0 4px; }
#slider-pips-hit-right { right: -10px; width: 20px; border-radius: 0 4px 4px 0; }
#slider-on-map #slider-pips { border-radius: 0; border: none; box-shadow: none; }
#slider-on-map #slider-pips .noUi-value.impact-first-pip { transform: translateX(-8px); }
#slider-pips .noUi-value {
  color: #fff;
  font-size: 12px;
  min-width: 28px;
  margin-left: -14px;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-10px);
}
#slider-pips .noUi-value.impact-first-pip {
  margin-left: 0;
  text-align: left;
}
#slider-pips .noUi-value[data-value="6"],
#slider-pips .noUi-value[data-value="9"],
#slider-pips .noUi-value[data-value="12"],
#slider-pips .noUi-value[data-value="15"],
#slider-pips .noUi-value[data-value="18"],
#slider-pips .noUi-value[data-value="21"] {
  transform: translateX(0);
}
#slider-pips .noUi-pips-horizontal {
  padding-top: 5px;
  height: 75px;
}
#slider-pips .noUi-base { cursor: pointer; }
#slider-pips .noUi-handle {
  height: 17px;
  top: -3px;
  border: 1px solid #D9D9D9; /* In place of the shadow that faded out at the bottom */
  box-shadow: none;
}
#slider-pips .noUi-touch-area {
  height: 100%; /* Fits inside the handle's border. At 17px it covered the bottom border */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  border-radius: 3px;
}
#slider-pips.impact-slider-no-motion .noUi-origin,
#slider-pips.impact-slider-no-motion .noUi-connect {
  transition: none !important;
}
#slider-pips .noUi-handle:before,
#slider-pips .noUi-handle:after {
  display: none;
}
.noUi-marker-horizontal.noUi-marker-large {
  height: 10px;
  opacity: .8;
  margin-top: -4px;
}
.noUi-marker-normal { display: none; }
.dark #slider-pips { background-color: rgba(10,16,22,.7); }
body:has(#slider-on-map) #upIconTray #headerIcons .playPauseButton {
  display: block;
  float: left;
  margin-left: -10px;
  padding-top: 7px;
  padding-bottom: 4px;
  color: #aaa;
}
body:has(#slider-on-map) #upIconTray #headerIcons .playPauseButton:hover,
body:has(#slider-on-map) #upIconTray #headerIcons .playPauseButton:focus {
  color: #333;
}
body:has(#slider-on-map) #upIconTray #headerIcons .playPauseButton .material-icons {
  font-size: 36px;
  cursor: pointer;
  transform: translate(-3px, 1px);
}
body.dark:has(#slider-on-map) #upIconTray #headerIcons .playPauseButton:hover,
body.dark:has(#slider-on-map) #upIconTray #headerIcons .playPauseButton:focus {
  color: #fff;
}
#earthPlay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  z-index: 101;
}
#earthPlay img {
  width: 48px;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  cursor: pointer;
  transition: opacity .16s ease;
}
#earthPlay .earth-play-pause-icon {
  position: absolute;
  font-size: 48px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity .16s ease;
}
#earthPlay:hover img,
#earthPlay.is-hover img {
  opacity: 1;
  pointer-events: auto;
}
#earthPlay.is-playing:hover .earth-play-image,
#earthPlay.is-playing.is-hover .earth-play-image {
  opacity: 0;
  pointer-events: none;
}
#earthPlay.is-playing:hover .earth-play-pause-icon,
#earthPlay.is-playing.is-hover .earth-play-pause-icon {
  opacity: 1;
  pointer-events: auto;
}
/* /SHARED EARTH CONTROLS */

/* Overlay slider labels over bar (#slider-on-map, on the map or under it) */
#slider-on-map #slider-pips { border: none; box-shadow: none; }
#slider-on-map #slider-pips .noUi-pips-horizontal {
  padding-top: 0;
  top: 0;
  height: 12px;
}
#slider-on-map #slider-pips .noUi-value,
#slider-on-map #slider-pips .noUi-value[data-value="6"],
#slider-on-map #slider-pips .noUi-value[data-value="9"],
#slider-on-map #slider-pips .noUi-value[data-value="12"],
#slider-on-map #slider-pips .noUi-value[data-value="15"],
#slider-on-map #slider-pips .noUi-value[data-value="18"],
#slider-on-map #slider-pips .noUi-value[data-value="21"] {
  top: 50%;
  transform: translate(-50%, -50%);
  margin-left: 0;
  min-width: auto;
  font-size: 10px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 0 3px rgba(0,0,0,0.9);
}
#slider-on-map #slider-pips .noUi-value.impact-first-pip {
  transform: translate(0, -50%);
  text-align: left;
}
#slider-on-map #slider-pips .noUi-marker { display: none; }
/* /Overlay slider labels */

/* Slider toggle button (lower-right of #mainEarthDisplay) */
#slider-toggle-wrap {
  position: absolute;
  z-index: 100;
  right: 6px;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 8px;
  margin-right: 3px;
  border-radius: 6px;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color .15s;
}
#slider-toggle-wrap:hover,
#slider-toggle-wrap:focus-visible { background-color: rgba(85,85,85,.6); outline: none; } /* Transparent #555 */
#mainEarthDisplay #slider-toggle-wrap { /* Matches the .earth-bar zoom + and - buttons */
  box-sizing: border-box;
  height: 32px;
  min-width: 32px;
  padding: 0 6px; /* 6px + 20px icon + 6px = 32px wide when the date is hidden */
  justify-content: center;
  margin-right: 5px; /* 2px left of the base 3px */
  border-radius: 6px;
  background-color: #555;
}
#mainEarthDisplay #slider-toggle-wrap:hover,
#mainEarthDisplay #slider-toggle-wrap:focus-visible { background-color: #666; }
/* With #earth-date-picker open, it's a full-width row before or after the date and clock */
#slider-toggle-wrap.earth-picker-open,
#mainEarthDisplay #slider-toggle-wrap.earth-picker-open {
  display: grid;
  grid-template-columns: 1fr auto;
  height: auto;
  padding: 6px;
  z-index: 1000; /* Above #earth-picker-backdrop */
}
#mainEarthDisplay #slider-toggle-wrap.earth-picker-open:hover { background-color: #555; }
#slider-toggle-wrap.earth-picker-open #slider-toggle-date { grid-column: 1; justify-self: end; }
#slider-toggle-wrap.earth-picker-open #slider-toggle-btn { grid-column: 2; }
#slider-toggle-wrap.earth-picker-open #earth-date-picker { grid-column: 1 / -1; }
#slider-toggle-btn { color: #c4c4c4; opacity: 1; } /* A little whiter than the other .earthCircleIcons (#aaa) before hover */
#slider-toggle-wrap:hover #slider-toggle-btn,
#slider-toggle-wrap:focus-visible #slider-toggle-btn { color: #fff; opacity: 1; } /* Clock icon turns white anywhere over the wrap */
#slider-toggle-date {
  margin-left: 3px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
  line-height: 1;
}
.earth-zoom-controls .earth-control-zoom { margin-top: 16px; margin-right: -9px; }
#mainEarthDisplay .earth-zoom-controls .earth-control-zoom { top: -1px; } /* Up 1px. The wrap is pinned by an inline bottom, so margin-top would not move it */
/* Darker zoom + and - and slider toggle in dark mode */
.dark #mainEarthDisplay .earth-bar a,
.dark #mainEarthDisplay #slider-toggle-wrap,
.dark #mainEarthDisplay #slider-toggle-wrap.earth-picker-open:hover { background-color: #333; }
.dark #mainEarthDisplay .earth-bar a:hover,
.dark #mainEarthDisplay #slider-toggle-wrap:hover,
.dark #mainEarthDisplay #slider-toggle-wrap:focus-visible { background-color: #444; }
.earthCircleIcons {
  cursor: pointer;
  color: #aaa;
  line-height: 1;
  opacity: 0.85;
}
.earthCircleIcons:hover { opacity: 1; color: #fff; }
.earthCircleIcons .material-icons { font-size: 20px; vertical-align: middle; }
/* Close X for #mainEarthDisplay: a larger dark circle with a larger X */
#earthClose {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #555;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
#earthClose:hover { background-color: #333; }
#earthClose .material-icons { font-size: 22px; line-height: 1; display: block; -webkit-text-stroke: 1.2px #fff; } /* Block, so the X centers in the circle. The stroke outlines the X. */
/* /Slider toggle button */

/* Full 3-day slider below #mainEarthDisplay */
#slider-full {
  position: relative;
  background: #f0f0f0;
  border-top: 1px solid #ccc;
  padding: 6px 8px 36px;
  box-sizing: border-box;
}
.dark #slider-full { background: #1a2530; border-top-color: #333; }
#slider-full-days {
  display: flex;
  margin-bottom: 6px;
  padding: 0 14px; /* Lines up with the hours on the track */
}
.slider-full-day {
  position: relative;
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #555;
  padding: 2px 0;
}
/* The lines around the middle day, directly above the ones on the track, 9px outward from the thirds. The day names stay centered. */
.slider-full-day:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ccc;
}
.slider-full-day:first-child::after { right: 8px; }
.slider-full-day:nth-child(2)::after { right: -10px; }
.dark .slider-full-day { color: #aaa; }
.dark .slider-full-day:not(:last-child)::after { background: #444; }
#slider-full-track {
  background: rgba(0,0,0,.12);
  border: 1px solid #ccc;
}
.dark #slider-full-track { background: rgba(255,255,255,.08); border-color: #444; }
#slider-full-track .noUi-connect { background: #3FB8AF; }
/* The hours sit 14px in from each end of the bar */
#slider-full-track .noUi-base { cursor: pointer; width: calc(100% - 28px); margin-left: 14px; }
#slider-full-track .noUi-pips-horizontal {
  left: 14px;
  width: calc(100% - 28px);
  padding-top: 6px;
  height: 50px;
}
#slider-full-track .noUi-value {
  font-size: 10px;
  color: #555;
}
.dark #slider-full-track .noUi-value { color: #aaa; }
#slider-full-track .noUi-marker-horizontal.noUi-marker-large { height: 8px; margin-top: -2px; cursor: pointer; position: absolute; }
#slider-full-track .noUi-marker-horizontal.noUi-marker-large::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -10px;
  right: -10px;
  bottom: -8px;
}
#slider-full-track .noUi-marker-normal { display: none; }
/* Day divider lines on the full slider */
#slider-full-track::before,
#slider-full-track::after {
  content: '';
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 1px;
  background: rgba(0,0,0,.2);
  z-index: 0; /* Under the handle */
  pointer-events: none;
}
#slider-full-track::before { left: calc(14px + (100% - 28px) / 3 - 9px); }
#slider-full-track::after { left: calc(14px + (100% - 28px) * 2 / 3 + 9px); }
/* Narrow: no hour labels under the track. The Small Slider's track is one day, with no lines between days (createFullSlider() in nouislider.min.js). */
#slider-full.slider-full-narrow { padding-bottom: 6px; }
#slider-full.slider-full-narrow #slider-full-track .noUi-pips-horizontal { display: none; }
/* The hour shows in the handle instead, in place of its grip lines */
#slider-full.slider-full-narrow #slider-full-track .noUi-handle {
  height: 20px;
  top: -2px; /* Stays centered on the track */
  border-color: #333;
  background: #333;
  box-shadow: none;
}
#slider-full.slider-full-narrow #slider-full-track .noUi-handle::before,
#slider-full.slider-full-narrow #slider-full-track .noUi-handle::after { display: none; }
#slider-full.slider-full-narrow #slider-full-track .noUi-touch-area {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  cursor: grab;
}
#slider-full.slider-full-narrow #slider-full-track .noUi-touch-area::after { content: attr(data-hour); } /* Set by createFullSlider() in nouislider.min.js */
#slider-full.slider-full-one-day .slider-full-day::after { display: none; }
#slider-full.slider-full-one-day #slider-full-track::before,
#slider-full.slider-full-one-day #slider-full-track::after { display: none; }
/* /Full 3-day slider */
