:root {
  --color-primary: #007bff;
  --color-secondary: #6c757d;
  --color-background: #ffffff;
  --color-surface: #f8f9fa;
  --color-text-primary: #212529;
  --color-text-secondary: #6c757d;
  --color-text-title: #7ecefd;
  --color-border: #dee2e6;
  --color-shadow: rgba(0, 0, 0, 0.1);
  --theme-transition: all 0.3s ease;
  --color-hotbar: #007bff;
  --color-dark-one: #1d3045;
  --color-nav-bar: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --color-border-bottom: rgba(255, 255, 255, 0.1);
  --color-info-card-background: white;
  --color-info-card-panels: white;
  --color-info-card-icon-primary: #2196f3;
  --color-info-card-icon-secondary: #3498db;
  --color-info-card-icon-red: #e74c3c;
  --color-info-card-icon-alert: #ffc107;
  --changelog-backdrop: rgba(0, 0, 0, 0.8);
  --changelog-card-bg: #ffffff;
  --changelog-border: rgba(0, 0, 0, 0.1);
  --changelog-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --changelog-radius: 16px;
  --changelog-header-bg: #f8fafc;
  --changelog-accent: #3b82f6;
  --changelog-text: #1f2937;
  --changelog-text-muted: #6b7280;
  --changelog-hover: #f1f5f9;
  --border-color: black;
}

[data-theme=dark] {
  --color-primary: #4dabf7;
  --color-secondary: #adb5bd;
  --color-background: #121212;
  --color-surface: #1e1e1e;
  --color-text-primary: #ffffff;
  --color-text-secondary: #adb5bd;
  --color-border: #343a40;
  --color-shadow: rgba(0, 0, 0, 0.3);
  --color-hotbar: #ae84e484;
  --color-background: #121212;
  --color-nav-bar: linear-gradient(135deg, #2d3450 0%, #312e6d 100%);
  --color-border-bottom: rgba(255, 255, 255, 0.1);
  --color-info-card-background: #1e1e2f;
  --color-info-card-panels: #2a2a3d;
  --color-info-card-icon-primary: #e0e0e0;
  --color-info-card-icon-secondary: #6ca0ff;
  --color-info-card-icon-red: #e74c3c;
  --color-info-card-icon-alert: #ffc107;
  --changelog-card-bg: #1f2937;
  --changelog-border: rgba(255, 255, 255, 0.1);
  --changelog-header-bg: #111827;
  --changelog-text: #f9fafb;
  --changelog-text-muted: #9ca3af;
  --changelog-hover: #374151;
  --border-color: white;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --color-primary: #4dabf7;
    --color-secondary: #adb5bd;
    --color-background: #121212;
    --color-surface: #1e1e1e;
    --color-text-primary: #ffffff;
    --color-text-secondary: #adb5bd;
    --color-border: #343a40;
    --color-shadow: rgba(0, 0, 0, 0.3);
    --color-hotbar: #1c073784;
    --border-color: white;
  }
}
.roboto-100, .theme-toggle, * {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings: 100;
}

.roboto-400 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: 200;
}

html {
  width: 100vw;
  height: 100vh;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

* {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-background);
}

main {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.leaflet-popup-content {
  max-height: 220px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 12px;
}

title {
  visibility: hidden;
  height: 0;
}

.title {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.4rem;
  padding: 1%;
  color: var(--color-text-title);
  white-space: nowrap;
  text-align: center;
  align-self: center;
  position: relative;
}

@media screen and (max-width: 980px) {
  .title {
    padding: 3%;
  }
}
.navContainer {
  align-items: center;
  background: white;
  border-radius: 0px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  z-index: 4;
}

.nav-bar {
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  background: var(--color-nav-bar);
  padding: 0 10px;
  z-index: 6;
  width: 100vw;
  height: auto;
  overflow-x: auto;
}

.nav-bar::-webkit-scrollbar {
  height: 4px;
  visibility: visible;
}

.nav-bar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.nav-bar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.nav-group:last-child {
  border-right: none;
  z-index: 4;
}

.nav-group.active-group {
  background-color: rgba(102, 132, 192, 0.5450980392);
}

.nav-item {
  position: relative;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-height: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 4;
}

.nav-item:last-child {
  border-bottom: none;
  z-index: 4;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  z-index: 4;
}

.nav-item.selected {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 -3px 0 #fff;
  z-index: 4;
}

.nav-item.filter-selected {
  background: rgba(52, 152, 219, 0.3);
  box-shadow: inset 0 -3px 0 #3498db;
  z-index: 4;
}

.filter-icon {
  font-size: 0.8rem;
  opacity: 0.7;
  z-index: 4;
}

.filter-rows {
  display: none;
  position: absolute;
  top: auto;
  left: 0;
  width: 100%;
  flex-direction: column;
  background: var(--color-nav-bar);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 4;
  animation: slideDown 0.3s ease forwards;
}

.filter-rows.active {
  display: flex;
  z-index: 5;
  background: var(--color-nav-bar);
}

.filter-row {
  display: flex;
  z-index: 4;
}

.filter-column {
  display: flex;
  z-index: 4;
  flex-direction: column;
}

.filter-item {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 120px;
  text-align: center;
  z-index: 4;
}

.filter-item:last-child {
  border-right: none;
  z-index: 4;
}

.filter-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  z-index: 4;
}

.filter-item.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 600;
  z-index: 4;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.filter-rows .nav-group {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 200px;
}

.filter-rows .nav-group .nav-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px 6px 0 0;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.2rem;
  padding: 10px 15px;
  min-height: auto;
}

.filter-rows .nav-group .nav-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.filter-rows .nav-group .nav-item.filter-selected {
  background: rgba(52, 152, 219, 0.4);
}

.filter-rows .nav-group .filter-rows {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 6px 6px;
  border-top: none;
  min-width: auto;
}

.filter-rows .nav-group .filter-rows .filter-item {
  font-size: 1rem;
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.filter-rows .nav-group .filter-rows .filter-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
}

.filter-rows .nav-group .filter-rows .filter-item.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.nav-group.standalone {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  z-index: 4;
}

.nav-group.standalone .nav-item {
  border-bottom: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 4;
}

.nav-group.standalone .nav-item:last-child {
  border-right: none;
  z-index: 4;
}

.displayContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100%;
  top: 60px;
  padding-bottom: 0;
  box-sizing: border-box;
  background-color: var(--color-background);
}

.displayPadder {
  background-color: var(--color-background);
  width: 100%;
  height: 100%;
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}

@media screen and (max-width: 1300px) {
  body {
    position: absolute;
    overflow-x: hidden;
    background-color: var(--color-background);
  }
}
.mapContainer {
  position: relative;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  z-index: 2;
}

#map {
  width: 100%;
  height: 90%;
}

#discussion-container {
  width: 100%;
  height: 100%;
  max-height: 1100px !important;
  max-width: 850px;
  display: block;
  justify-content: center;
  align-self: center;
  margin: 0 auto;
  overflow: hidden;
}

#raw-text {
  position: absolute;
  font-size: 0.8rem;
  top: 5%;
  left: 10%;
  width: 80%;
  height: 100%;
  bottom: 0px;
  overflow: auto;
  padding: 20px;
  color: white;
  background-color: rgba(0, 0, 0, 0);
  font-family: monospace;
  white-space: pre-wrap;
  box-sizing: border-box;
}

#discussion-focn45 {
  width: 80%;
  height: 100%;
  max-height: 1100px !important;
  max-width: 850px;
  display: block;
  justify-content: center;
  align-self: center;
  margin: 0 auto;
}

.leaflet-popup-content-wrapper {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.leaflet-popup-content {
  padding: 0 !important;
  margin: 0 !important;
}

.leaflet-popup-close-button {
  right: 4px !important;
  top: 4px !important;
}

.leaflet-popup {
  max-width: none !important;
}

.leaflet-popup-content {
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
}

#layer_label {
  position: absolute;
  visibility: hidden;
  bottom: 8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 8px 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: auto;
  text-align: center;
  width: 80%;
  white-space: nowrap;
  overflow: hidden;
  overflow-x: scroll;
  text-overflow: "";
}

.theme-toggle {
  display: flex;
  position: absolute;
  top: 8px;
  right: 10px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-text-primary);
  border: none;
  border-radius: 100%;
  cursor: pointer;
  transition: var(--theme-transition);
  width: 44px;
  height: 44px;
  padding: 1rem;
  font-size: 3px;
  line-height: 1;
  z-index: 7;
  margin-left: 0;
  overflow: hidden;
  position: absolute;
}

.theme-toggle:hover {
  border-color: var(--color-primary);
}

.sun-icon,
.moon-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.sun-icon {
  z-index: 2;
}

.moon-icon {
  z-index: 1;
}

[data-theme=dark] .sun-icon {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) rotate(0deg);
}

[data-theme=dark] .moon-icon {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) rotate(90deg);
}

[data-theme=light] .sun-icon {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) rotate(-90deg);
}

[data-theme=light] .moon-icon {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) rotate(0deg);
}

.icon {
  width: 24px;
  height: 24px;
}

.image-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-overlay-container.active {
  opacity: 1;
  visibility: visible;
}

.image-overlay-container.hidden {
  opacity: 0;
  visibility: hidden;
}

.close-button {
  position: absolute;
  top: 4%;
  right: 4%;
  background: rgba(0, 0, 0, 0);
  border: none;
  color: #fff;
  font-size: 5rem;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  color: red;
}

.close-button:hover,
.close-button:focus {
  background: rgba(0, 0, 0, 0);
  color: rgba(255, 0, 0, 0.5882352941);
  transform: scale(1.1);
  outline: none;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  border: none;
  color: white;
  font-size: 40px;
  padding: 15px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
}

.nav-button:hover {
  background: color-mix(in srgb, var(--color-primary) 90%, rgb(0, 0, 0) 50%);
}

.nav-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-button.prev {
  left: 30px;
}

.nav-button.next {
  right: 30px;
}

.content-container {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  overflow-x: scroll;
}

.image-group {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}

.image-group.active {
  display: flex;
}

.image-group img {
  max-width: 300px;
  max-height: 400px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.iframe-container {
  display: none;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
}

.iframe-container.active {
  display: block;
}

.iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 980px) {
  .iframe-container {
    display: none;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
  .iframe {
    width: 100%;
    height: 100vh;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
  }
}
.content-type-selector {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 1001;
}

.type-button {
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.type-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.type-button.active {
  background-color: #007bff;
}

.region-filter-buttons {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 1001;
}

.region-filter-buttons.hidden {
  display: none;
}

.region-filter-buttons button {
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.region-filter-buttons button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.region-filter-buttons button.active {
  background-color: #007bff;
}

#imageLoader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  z-index: 1002;
}

.loader-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: 0 auto 20px;
}

#image-popup-pivotal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: "Roboto", sans-serif;
  padding: 10px;
  box-sizing: border-box;
}

#weather-loops {
  position: relative;
  width: 100%;
  height: 80%;
  max-width: min(90vw, 800px);
  max-height: min(90vh, 600px);
  background: #222;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  #weather-loops {
    max-width: 95vw;
    max-height: 95vh;
    padding: 8px;
    border-radius: 8px;
  }
}

.loop {
  width: 100%;
  height: auto;
  max-height: calc(100% - 120px);
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  visibility: hidden;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 1;
}
@media (max-width: 768px) {
  .loop {
    max-height: calc(100% - 140px);
    border-radius: 4px;
  }
}

#counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #eee;
  font-weight: 600;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.6);
  padding: 3px 8px;
  border-radius: 6px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  display: none;
}
@media (max-width: 768px) {
  #counter {
    font-size: 12px;
    bottom: 8px;
    right: 8px;
    padding: 2px 6px;
  }
}

#_message {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #eee;
  font-weight: 600;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.6);
  padding: 3px 8px;
  border-radius: 6px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

#pivotal-weather {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #ccc;
  font-size: 12px;
  visibility: hidden;
}

#loop-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: calc(100% - 40px);
  max-width: 600px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: rgba(30, 30, 30, 0.85);
  padding: 10px;
  border-radius: 12px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  color: #bbb;
  font-size: 12px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.control-btn {
  background: none;
  border: none;
  color: #ddd;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
}
.slider-container label {
  margin-bottom: 4px;
  font-weight: 500;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  text-align: center;
}

#cacheLimitRange,
#animationRange {
  width: 120px;
  height: 6px;
  border-radius: 5px;
  background: #444;
  cursor: pointer;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#__mainPreviousBtn,
#__mainNextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  border: none;
  color: white;
  font-size: 2rem;
  line-height: 10px;
  padding: 1.2rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 5px;
  transition: background 0.3s ease;
}

#__mainPreviousBtn {
  left: 10px;
  text-align: center;
}

#__mainNextBtn {
  right: 10px;
}

#__mainPreviousBtn:hover,
#__mainNextBtn:hover {
  background: var(--color-primary-hover, #0056b3);
}

#__toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--color-nav-bar);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 80%;
  overflow-y: hidden;
  overflow-x: scroll;
  font-size: 1.2rem;
}
#__toolbar > * {
  min-width: -moz-max-content;
  min-width: max-content;
}
#__toolbar::before {
  content: "";
  position: absolute;
  top: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.8s ease;
}
#__toolbar:hover::before {
  left: 100%;
}
#__toolbar #__button {
  position: relative;
  padding: 5px;
  font-size: 0.8rem;
  border: none;
  border-radius: 12px;
  width: 120px;
  height: 50px;
  background: var(--color-primary);
  color: white;
}
#__toolbar #__button:hover {
  background: var(--color-secondary);
}
#__toolbar input[type=checkbox] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 50px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
#__toolbar input[type=checkbox]::before {
  content: "";
  position: absolute;
  top: 2px;
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
#__toolbar input[type=checkbox]::after {
  content: attr(title);
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}
#__toolbar input[type=checkbox]:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
#__toolbar input[type=checkbox]:hover::before {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
#__toolbar input[type=checkbox]:hover::after {
  opacity: 1;
  color: #ffffff;
}
#__toolbar input[type=checkbox]:checked {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-color: rgba(255, 255, 255, 0.6);
}
#__toolbar input[type=checkbox]:checked::before {
  left: 24px;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
#__toolbar input[type=checkbox]:checked::after {
  color: #ffffff;
  opacity: 1;
  font-weight: 600;
}
#__toolbar input[type=checkbox]:active {
  transform: translateY(0);
}
#__toolbar input[type=checkbox]:active::before {
  transform: scale(0.95);
}
#__toolbar input[type=checkbox]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
#__toolbar input[type=checkbox]:nth-of-type(2) {
  margin-left: 100px;
}
#__toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: white;
  font-weight: 350;
}

.changelog-popup {
  position: absolute;
  inset: 0;
  background: var(--changelog-backdrop);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.changelog-popup.active {
  opacity: 1;
  visibility: visible;
}
.changelog-popup.active .changelog-card {
  transform: scale(1);
  opacity: 1;
}
.changelog-popup .changelog-card {
  background: var(--changelog-card-bg);
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  border-radius: var(--changelog-radius);
  box-shadow: var(--changelog-shadow);
  border: 1px solid var(--changelog-border);
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.changelog-popup .changelog-card .changelog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: var(--changelog-header-bg);
  border-bottom: 1px solid var(--changelog-border);
}
.changelog-popup .changelog-card .changelog-header h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--changelog-text);
  background: linear-gradient(135deg, var(--changelog-accent), #8b5cf6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.changelog-popup .changelog-card .changelog-header .close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--changelog-text-muted);
  transition: all 0.2s ease;
}
.changelog-popup .changelog-card .changelog-header .close-btn:hover {
  background: var(--changelog-hover);
  color: var(--changelog-text);
  transform: scale(1.05);
}
.changelog-popup .changelog-card .changelog-header .close-btn:focus {
  outline: 2px solid var(--changelog-accent);
  outline-offset: 2px;
}
.changelog-popup .changelog-card .changelog-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}
.changelog-popup .changelog-card .changelog-body::-webkit-scrollbar {
  width: 8px;
}
.changelog-popup .changelog-card .changelog-body::-webkit-scrollbar-track {
  background: var(--changelog-header-bg);
}
.changelog-popup .changelog-card .changelog-body::-webkit-scrollbar-thumb {
  background: var(--changelog-text-muted);
  border-radius: 4px;
}
.changelog-popup .changelog-card .changelog-body::-webkit-scrollbar-thumb:hover {
  background: var(--changelog-text);
}
.changelog-popup .changelog-card .changelog-version {
  padding: 32px;
  border-bottom: 1px solid var(--changelog-border);
}
.changelog-popup .changelog-card .changelog-version:last-child {
  border-bottom: none;
}
.changelog-popup .changelog-card .changelog-version .version-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.changelog-popup .changelog-card .changelog-version .version-header .version-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--changelog-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.changelog-popup .changelog-card .changelog-version .version-header .version-title::before {
  font-size: 1.25rem;
}
.changelog-popup .changelog-card .changelog-version .version-header .version-date {
  font-size: 0.875rem;
  color: var(--changelog-text-muted);
  font-weight: 500;
  background: var(--changelog-header-bg);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--changelog-border);
}
.changelog-popup .changelog-card .changelog-version .changelog-entries {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--changelog-header-bg);
  border: 1px solid var(--changelog-border);
  transition: all 0.2s ease;
  text-transform: lowercase;
  white-space: wrap; /* Prevents word wrapping */
  overflow: hidden; /* Hides overflow if content is too long */
  text-overflow: ellipsis; /* Optional: adds "..." if content overflows */
}
.changelog-popup .changelog-card .changelog-version .changelog-entry:hover {
  background: var(--changelog-hover);
  transform: translateY(-2px);
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
  min-width: -moz-fit-content;
  min-width: fit-content;
  margin: 0 auto;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag .tag-text {
  display: none;
}
@media (min-width: 640px) {
  .changelog-popup .changelog-card .changelog-version .changelog-entry .tag .tag-text {
    display: inline;
  }
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-released {
  background: linear-gradient(135deg, #3f85b8, rgba(238, 205, 97, 0.2705882353));
  color: white;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-added {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-fixed {
  background: linear-gradient(135deg, #29d126, rgba(236, 67, 5, 0.5215686275));
  color: white;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-ready {
  background: linear-gradient(135deg, #c9dbc8, rgba(27, 40, 67, 0.5529411765));
  color: white;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-changed, .changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-update {
  background: linear-gradient(135deg, #7992ba, rgba(80, 105, 159, 0.5529411765));
  color: white;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-breaking, .changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-caution {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-security {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-future {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .tag.tag-deprecated {
  background: linear-gradient(135deg, #d4ff00, #ff0000);
  color: white;
}
.changelog-popup .changelog-card .changelog-version .changelog-entry .entry-text {
  margin: 0;
  color: var(--changelog-text);
  line-height: 1.6;
  font-size: 0.9rem;
  flex: 1;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.changelog-version {
  animation: slideInUp 0.4s ease-out;
}

.changelog-popup *:focus {
  outline: 2px solid var(--changelog-accent);
  outline-offset: 2px;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 6;
}

.menu-toggle::before {
  transform: rotate(-45deg);
  top: 21px;
}

.menu-toggle span {
  opacity: 0;
}

.menu-toggle::after {
  transform: rotate(45deg);
  top: 21px;
}

.menu-toggle.active::before {
  transform: none;
  top: 14px;
}

.menu-toggle.active span {
  opacity: 1;
  top: 21px;
}

.menu-toggle.active::after {
  transform: none;
  top: 28px;
}

.nav-groups-hidden {
  display: none !important;
}

.menu-toggle {
  display: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
    z-index: 6 !important;
  }
}
@media screen and (max-width: 980px) {
  .displayContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    padding-bottom: 8%;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: var(--color-background);
    font-size: 1.1rem;
  }
  .displayPadder {
    background-color: var(--color-background);
    width: 100%;
    height: 100%;
    overscroll-behavior-y: hidden;
    overscroll-behavior-x: hidden;
  }
  #_message,
  #counter {
    font-size: 0.55rem !important;
  }
  .mapContainer {
    position: absolute;
    top: 0%;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 2;
  }
  #map {
    position: relative;
    width: 100%;
    height: 100vh;
  }
  #__toolbar {
    bottom: 50px;
  }
  .nav-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 0;
    min-height: 60px;
    max-height: 100vh;
    background: var(--color-nav-bar);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 6;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .nav-bar::-webkit-scrollbar {
    display: none;
  }
  .nav-group {
    width: 100vw;
    border-bottom: 1px solid var(--color-border-bottom);
    position: relative;
  }
  .nav-group:last-child {
    border-bottom: none;
  }
  .nav-group.active-group {
    background-color: rgba(102, 132, 192, 0.6);
  }
  .nav-item {
    width: 100%;
    min-height: 56px;
    font-size: 1rem;
    font-weight: 500;
    justify-content: flex-start;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  .nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
  }
  .nav-item:hover::before {
    left: 100%;
  }
  .nav-item:last-child {
    border-bottom: none;
  }
  .nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
  }
  .nav-item:active {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.2);
  }
  .nav-item.selected {
    background: rgba(255, 255, 255, 0.25);
    border-left: 4px solid #ffffff;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  }
  .nav-item.filter-selected {
    background: rgba(52, 152, 219, 0.4);
    border-left: 4px solid #3498db;
    font-weight: 600;
  }
  .filter-rows {
    position: static;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    overflow-x: hidden;
  }
  .filter-rows.active {
    display: block;
    max-height: 400px;
    overflow-y: auto;
  }
  .filter-row {
    flex-direction: column;
    gap: 0;
  }
  .filter-column {
    width: 100%;
  }
  .filter-item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    font-size: 0.95rem;
    min-width: auto;
    position: relative;
    transition: all 0.3s ease;
  }
  .filter-item:hover {
    background: rgba(255, 255, 255, 0.12);
  }
  .filter-item.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
  }
  .filter-rows .nav-group {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: auto;
    overflow: hidden;
  }
  .filter-rows .nav-group .nav-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0;
    margin: 0;
    padding: 12px 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-left: none;
  }
  .filter-rows .nav-group .nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: none;
  }
  .filter-rows .nav-group .filter-rows {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0;
    margin: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .filter-rows .nav-group .filter-rows .filter-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
  }
  .nav-group.standalone {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-group.standalone .nav-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-group.standalone .nav-item:last-child {
    border-bottom: none;
  }
  .theme-toggle {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 44px;
    height: 44px;
    padding: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    cursor: pointer;
    z-index: 7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
  }
  .theme-toggle::before,
  .theme-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .theme-toggle::after {
    transform: translate(-50%, -50%) scale(0);
    background: white;
    box-shadow: 4px -2px 0 -2px rgba(255, 255, 255, 0);
  }
  .theme-toggle.dark::before {
    transform: translate(-50%, -50%) scale(0);
    box-shadow: 0 0 0 2px transparent, 6px 0 0 -4px rgba(255, 255, 255, 0), -6px 0 0 -4px rgba(255, 255, 255, 0), 0 6px 0 -4px rgba(255, 255, 255, 0), 0 -6px 0 -4px rgba(255, 255, 255, 0), 4px 4px 0 -4px rgba(255, 255, 255, 0), -4px -4px 0 -4px rgba(255, 255, 255, 0), 4px -4px 0 -4px rgba(255, 255, 255, 0), -4px 4px 0 -4px rgba(255, 255, 255, 0);
  }
  .theme-toggle.dark::after {
    transform: translate(-50%, -50%) scale(1);
    background: rgba(255, 255, 255, 0);
    box-shadow: 4px -2px 0 -2px white;
  }
}
@media screen and (max-width: 980px) and (max-width: 980px) {
  .theme-toggle {
    top: 8px;
    right: 10px;
  }
}
@media screen and (max-width: 980px) {
  #__mainPreviousBtn,
  #__mainNextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    padding: 12px;
    font-size: 1.5rem;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
  }
  #__mainPreviousBtn {
    left: 12px;
  }
  #__mainNextBtn {
    right: 12px;
  }
  #__mainPreviousBtn:hover,
  #__mainNextBtn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  #__mainPreviousBtn:active,
  #__mainNextBtn:active {
    transform: translateY(-50%) scale(0.95);
  }
  .close-button {
    position: absolute;
    top: 15%;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
  }
  .close-button:hover,
  .close-button:focus {
    background: rgba(0, 0, 0, 0);
    color: rgba(255, 0, 0, 0.5882352941);
    transform: none;
    outline: none;
  }
  .nav-button {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 50%;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    line-height: 0;
  }
  .nav-button.prev {
    left: 5px;
  }
  .nav-button.next {
    right: 5px;
  }
  #raw-text {
    background-color: rgba(0, 0, 0, 0);
    font-family: monospace;
    white-space: pre-wrap;
    box-sizing: border-box;
    justify-content: center;
    justify-self: center;
    align-self: center;
    margin: 0 auto;
  }
  .image-group {
    display: none;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    width: -moz-max-content;
    width: max-content;
  }
  .image-group.active {
    display: flex;
  }
  .image-group img {
    max-width: 300px;
    max-height: 400px;
    -o-object-fit: contain;
       object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
  }
}
#legend_container {
  z-index: 2;
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: white;
  padding: 5px;
  border: 1px solid #ccc;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
}
#legend_container #layer_legend {
  max-width: 200px;
  max-height: 18rem;
  display: none;
}

@media screen and (max-width: 980px) {
  #legend_container {
    z-index: 8;
    position: absolute;
    top: 75px;
    right: 10px;
    bottom: unset;
    background: white;
    padding: 5px;
    border: 1px solid #ccc;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
  }
  #legend_container #layer_legend {
    max-width: 200px;
    max-height: 10rem;
    display: none;
  }
}
.leaflet-bottom.leaflet-right {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 1000;
}

.leaflet-control-attribution {
  color: black;
  background-color: var(--color-background);
  margin: 0 auto;
}

.leaflet-control-attribution {
  font-size: 0.6rem;
  color: black;
  background-color: var(--color-background);
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  line-height: 1.4;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}

.leaflet-control-attribution a {
  color: black;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
  font-size: 0.6rem;
  white-space: nowrap;
  display: inline;
}

.leaflet-control-attribution a:hover {
  color: black;
  text-decoration: underline;
}

.leaflet-control-attribution .leaflet-attribution-flag {
  width: 14px;
  height: 10px;
  margin-right: 4px;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
}

.leaflet-control-attribution span[aria-hidden=true] {
  color: #aaa;
  margin: 0 6px;
  white-space: nowrap;
  display: inline;
}

.leaflet-control-attribution *,
.leaflet-control-attribution a,
.leaflet-control-attribution span {
  white-space: nowrap;
  word-break: keep-all;
  word-wrap: normal;
}

.leaflet-control-attribution.scrollable {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 300px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.leaflet-control-attribution.scrollable::-webkit-scrollbar {
  display: none;
}

.leaflet-control-zoom {
  position: absolute;
  top: 20px;
  left: 5px;
  z-index: 2;
}

@media screen and (max-width: 980px) {
  .leaflet-control-zoom {
    position: absolute;
    top: 60px;
    left: 0px !important;
    z-index: 2;
  }
}/*# sourceMappingURL=styles.css.map */