:root {
  color-scheme: dark;
  --ink: #f6fbff;
  --muted: rgba(246, 251, 255, 0.72);
  --subtle: rgba(246, 251, 255, 0.52);
  --panel: rgba(9, 17, 28, 0.82);
  --panel-strong: rgba(6, 12, 20, 0.94);
  --stroke: rgba(255, 255, 255, 0.18);
  --cyan: #39d7ff;
  --green: #6ee7a8;
  --amber: #ffc857;
  --orange: #ff8b4a;
  --red: #ff4d4f;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
  font-family:
    "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #07111b;
}

body {
  color: var(--ink);
}

button {
  font: inherit;
}

.vision-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #07111b;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #dce8ef;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-container {
  overflow: hidden;
  outline-offset: 1px;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-tile {
  width: 256px;
  height: 256px;
}

.leaflet-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
  display: block;
}

.leaflet-zoom-animated {
  transform-origin: 0 0;
}

.leaflet-container {
  font-family: inherit;
}

.leaflet-control-attribution {
  display: none;
}

.leaflet-tile-pane img {
  filter: saturate(0.82) contrast(1.04) brightness(1.02);
}

.leaflet-hazard-pane {
  mix-blend-mode: multiply;
  filter: saturate(1.68) contrast(1.18);
}

.leaflet-rain-pane {
  mix-blend-mode: normal;
  filter: saturate(1.3) contrast(1.05) drop-shadow(0 0 18px rgba(0, 66, 255, 0.16));
}

.leaflet-thunder-pane {
  mix-blend-mode: multiply;
  filter: saturate(1.45) contrast(1.06) drop-shadow(0 0 14px rgba(255, 200, 87, 0.2));
}

.leaflet-strike-pane {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.68));
}

.leaflet-evacuation-pane {
  filter: drop-shadow(0 0 18px rgba(255, 77, 79, 0.34));
}

.leaflet-outage-pane {
  filter: drop-shadow(0 0 14px rgba(255, 200, 87, 0.38));
}

.leaflet-graphics-pane {
  filter: drop-shadow(0 0 14px rgba(57, 215, 255, 0.32));
}

.campus-marker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #06111c;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.campus-marker span {
  position: relative;
  width: 17px;
  height: 17px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(255, 77, 79, 0.22);
}

.campus-marker span::after {
  content: "";
  position: absolute;
  inset: -18px;
  border: 2px solid rgba(255, 77, 79, 0.5);
  border-radius: inherit;
  animation: pulseRing 1.9s ease-out infinite;
}

.campus-marker strong {
  display: block;
  max-width: 108px;
  padding: 5px 8px;
  overflow: hidden;
  color: #06111c;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.zone-label {
  pointer-events: none;
}

.zone-label span {
  display: grid;
  gap: 3px;
  align-items: center;
  justify-content: center;
  min-width: 158px;
  padding: 8px 10px;
  color: #06111c;
  background: var(--zone-color);
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.zone-label em {
  color: rgba(6, 17, 28, 0.72);
  font-size: 10px;
  line-height: 1;
  font-style: normal;
}

.lightning-strike-label,
.evacuation-mask-label,
.outage-label {
  pointer-events: none;
}

.lightning-strike-label span,
.evacuation-mask-label span,
.outage-label span {
  display: inline-grid;
  gap: 3px;
  min-width: 128px;
  padding: 7px 10px;
  color: #06111c;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
}

.lightning-strike-label span {
  background: #fff06a;
}

.evacuation-mask-label span {
  color: #fff;
  background: rgba(255, 77, 79, 0.92);
  border-color: rgba(255, 255, 255, 0.34);
}

.outage-label span {
  background: var(--amber);
}

.watch-zone {
  animation: zoneDash 9s linear infinite;
  filter: drop-shadow(0 0 9px rgba(6, 12, 20, 0.32));
}

.campus-range-ring {
  animation: ringDash 6s linear infinite;
}

.campus-outer-ring {
  animation: breatheRing 3.6s ease-in-out infinite;
}

.map-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 8, 15, 0.18), transparent 14%, transparent 86%, rgba(3, 8, 15, 0.16)),
    linear-gradient(0deg, rgba(3, 8, 15, 0.22), transparent 16%, transparent 86%, rgba(3, 8, 15, 0.17));
}

.map-grid,
.map-scanline,
.map-focus-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.map-grid {
  opacity: 0.055;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 82%, transparent);
}

.map-scanline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(57, 215, 255, 0.14), transparent);
  display: none;
}

.map-focus-overlay {
  z-index: 2;
}

.focus-ring {
  position: absolute;
  left: 50.2%;
  top: 51.6%;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow:
    0 0 0 10px rgba(57, 215, 255, 0.12),
    0 0 36px rgba(57, 215, 255, 0.42);
}

.focus-ring::before,
.focus-ring::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
}

.focus-ring::before {
  left: 50%;
  top: -20px;
  bottom: -20px;
  width: 2px;
  transform: translateX(-50%);
}

.focus-ring::after {
  top: 50%;
  left: -20px;
  right: -20px;
  height: 2px;
  transform: translateY(-50%);
}

.map-callout {
  position: absolute;
  display: grid;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-left: 8px solid var(--cyan);
  background: rgba(6, 12, 20, 0.86);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.map-callout span {
  color: var(--subtle);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.map-callout strong {
  color: var(--ink);
  font-size: clamp(14px, 1.15vw, 20px);
  line-height: 1.05;
  font-weight: 900;
  white-space: nowrap;
}

.campus-callout {
  left: calc(50.2% + 54px);
  top: calc(51.6% - 12px);
}

.river-callout {
  left: 58%;
  top: 29%;
  border-left-color: var(--amber);
}

.topbar,
.status-panel,
.layer-panel,
.legend-panel,
.timeline-panel,
.archive-panel,
.source-strip {
  position: absolute;
  z-index: 3;
}

@keyframes pulseRing {
  0% {
    opacity: 0.9;
    transform: scale(0.55);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes scanMap {
  0% {
    transform: translateY(-20%);
  }
  100% {
    transform: translateY(720%);
  }
}

@keyframes ringDash {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -72;
  }
}

@keyframes zoneDash {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -54;
  }
}

@keyframes breatheRing {
  0%,
  100% {
    opacity: 0.58;
  }
  50% {
    opacity: 0.92;
  }
}

.topbar {
  top: 18px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}

.brand-stack {
  display: grid;
  gap: 10px;
  width: min(34vw, 430px);
}

.brand-lockup {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 16px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.evacuation-panel {
  padding: 10px 13px;
  border: 1px solid var(--stroke);
  border-left: 10px solid var(--green);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.evacuation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.evacuation-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 7px 10px;
  color: #06111c;
  background: var(--green);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.evacuation-head strong {
  overflow: hidden;
  font-size: clamp(19px, 1.65vw, 28px);
  line-height: 1.05;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.evacuation-panel p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1.35;
  font-weight: 800;
}

.evacuation-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.2;
}

.evacuation-meta a {
  color: var(--cyan);
  text-decoration: none;
}

.evacuation-panel.level-0 {
  border-left-color: var(--green);
}

.evacuation-panel.level-0 .evacuation-head span {
  background: var(--green);
}

.evacuation-panel.level-3 {
  border-left-color: var(--amber);
}

.evacuation-panel.level-3 .evacuation-head span {
  background: var(--amber);
}

.evacuation-panel.level-4 {
  border-left-color: var(--orange);
  background: rgba(42, 20, 9, 0.94);
}

.evacuation-panel.level-4 .evacuation-head span {
  background: var(--orange);
}

.evacuation-panel.level-5 {
  border-left-color: var(--red);
  background: rgba(47, 8, 10, 0.96);
}

.evacuation-panel.level-5 .evacuation-head span {
  color: #fff;
  background: var(--red);
}

.widget-body {
  overflow: hidden;
  background: transparent;
}

.evacuation-widget {
  display: grid;
  place-items: stretch;
  width: 100vw;
  height: 100vh;
  min-width: 320px;
  min-height: 180px;
  padding: clamp(10px, 2vw, 22px);
  background: linear-gradient(115deg, rgba(5, 12, 21, 0.96), rgba(11, 26, 39, 0.88));
}

.evacuation-panel.widget {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: clamp(14px, 3vw, 32px);
  border-left-width: clamp(10px, 1.4vw, 18px);
  box-shadow: none;
}

.evacuation-kicker {
  color: var(--subtle);
  font-size: clamp(13px, 2vw, 24px);
  line-height: 1;
  font-weight: 900;
}

.evacuation-panel.widget .evacuation-head {
  margin-top: clamp(10px, 2vw, 20px);
}

.evacuation-panel.widget .evacuation-head span {
  min-width: clamp(108px, 18vw, 220px);
  padding: clamp(8px, 1.5vw, 16px);
  font-size: clamp(15px, 2.4vw, 34px);
}

.evacuation-panel.widget .evacuation-head strong {
  font-size: clamp(32px, 7.6vw, 92px);
}

.evacuation-panel.widget p {
  margin-top: clamp(10px, 1.8vw, 22px);
  font-size: clamp(18px, 3vw, 42px);
  line-height: 1.24;
}

.evacuation-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(10px, 1.8vw, 20px) 0 0;
  padding: 0;
  list-style: none;
}

.evacuation-areas li {
  padding: 6px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: clamp(12px, 1.8vw, 22px);
  line-height: 1.2;
  font-weight: 900;
}

.evacuation-panel.widget .evacuation-meta {
  margin-top: auto;
  padding-top: clamp(10px, 1.5vw, 18px);
  font-size: clamp(10px, 1.4vw, 17px);
}

.brand-lockup p,
.brand-lockup h1 {
  margin: 0;
}

.brand-lockup p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.brand-lockup h1 {
  margin-top: 2px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.live-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(110, 231, 168, 0.16), 0 0 30px rgba(110, 231, 168, 0.8);
}

.quick-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(108px, 1fr));
  gap: 8px;
  margin: 0;
  max-width: 430px;
}

.quick-metrics div {
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.quick-metrics dt,
.quick-metrics dd {
  margin: 0;
}

.quick-metrics dt {
  color: var(--subtle);
  font-size: 12px;
  line-height: 1;
}

.quick-metrics dd {
  margin-top: 7px;
  color: var(--ink);
  font-size: clamp(14px, 1.16vw, 19px);
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

.quick-metrics dd small {
  display: block;
  margin-top: 4px;
  color: var(--subtle);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
}

.status-panel {
  display: none;
  right: 28px;
  top: 132px;
  width: min(31vw, 430px);
  min-width: 330px;
  padding: 22px;
  border: 1px solid var(--stroke);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.phase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 16px;
}

.phase-badge {
  display: inline-flex;
  align-items: center;
  min-width: 76px;
  justify-content: center;
  padding: 7px 10px;
  color: #06111c;
  background: var(--green);
  font-weight: 900;
  line-height: 1;
}

.phase-badge.past {
  background: #9ec4ff;
}

.phase-badge.forecast {
  background: var(--cyan);
}

.phase-badge.now {
  background: var(--green);
}

#timeDisplay {
  display: block;
  margin-top: 16px;
  font-size: clamp(60px, 8vw, 118px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
}

#dateDisplay {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.25;
  font-weight: 700;
}

.risk-panel {
  margin-top: 22px;
  padding: 15px 16px;
  border-left: 8px solid var(--green);
  background: rgba(255, 255, 255, 0.08);
}

.risk-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.risk-panel strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.25;
}

.risk-low {
  border-color: var(--green);
}

.risk-watch {
  border-color: var(--amber);
}

.risk-warning {
  border-color: var(--orange);
}

.risk-danger {
  border-color: var(--red);
}

.control-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.control-button,
.segment,
.layer-switch,
.archive-button {
  border: 1px solid var(--stroke);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.control-button {
  min-height: 42px;
  padding: 9px 12px;
  font-weight: 800;
}

.control-button:hover,
.segment:hover,
.layer-switch:hover,
.archive-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.segment {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--muted);
  font-weight: 800;
}

.segment.is-active,
.layer-switch.is-on {
  color: #06111c;
  border-color: transparent;
  background: var(--cyan);
}

.layer-panel {
  display: none;
  left: 28px;
  top: 282px;
  width: min(28vw, 360px);
  padding: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.panel-title {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.layer-switches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.layer-switch {
  min-height: 38px;
  padding: 8px 8px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.legend-panel {
  left: 22px;
  bottom: 70px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: auto;
  max-width: calc(100vw - 44px);
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  background: rgba(6, 12, 20, 0.76);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.depth-legend,
.rain-legend,
.thunder-legend {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  grid-template-columns: none;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.depth-legend li,
.rain-legend li,
.thunder-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.depth-legend span,
.rain-legend span,
.thunder-legend span {
  width: 16px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--legend-color);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.timeline-panel {
  left: 22px;
  right: 22px;
  bottom: 16px;
  padding: 8px 11px 10px;
  border: 1px solid var(--stroke);
  background: rgba(6, 12, 20, 0.78);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.timeline-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 900;
}

.timeline-head span:nth-child(2) {
  text-align: center;
}

.timeline-head span:nth-child(3) {
  text-align: right;
}

.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12px, 1fr);
  gap: 3px;
  margin-top: 6px;
  height: 12px;
}

.timeline-dot {
  position: relative;
  min-width: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.timeline-dot.past {
  background: rgba(158, 196, 255, 0.34);
}

.timeline-dot.now {
  background: rgba(110, 231, 168, 0.62);
}

.timeline-dot.forecast {
  background: rgba(57, 215, 255, 0.4);
}

.timeline-dot.is-active {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.archive-panel {
  display: none;
  right: 28px;
  bottom: 90px;
  width: min(31vw, 430px);
}

.archive-button {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  font-weight: 900;
}

.archive-list {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--stroke);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.archive-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.archive-item {
  width: 100%;
  margin-top: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
  cursor: pointer;
}

.source-strip {
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  display: none;
  gap: 14px;
  width: max-content;
  max-width: calc(100vw - 56px);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 900px), (max-height: 680px) {
  html,
  body {
    overflow: auto;
  }

  .vision-shell {
    min-height: 940px;
  }

  .topbar {
    left: 14px;
    right: 14px;
    top: 14px;
    flex-direction: column;
    gap: 10px;
  }

  .quick-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-stack {
    width: auto;
  }

  .quick-metrics div {
    padding: 11px;
  }

  .quick-metrics dd {
    font-size: 14px;
  }

  .status-panel,
  .layer-panel,
  .legend-panel,
  .archive-panel,
  .timeline-panel {
    left: 14px;
    right: 14px;
    width: auto;
    min-width: 0;
  }

  .status-panel {
    top: 198px;
  }

  .layer-panel {
    top: 560px;
  }

  .legend-panel {
    bottom: 120px;
    grid-template-columns: 1fr;
  }

  .archive-panel {
    bottom: 250px;
  }

  .timeline-panel {
    bottom: 40px;
  }

  .source-strip {
    display: none;
  }

  .map-focus-overlay {
    display: none;
  }
}
