    body, html {
      margin: 0;
      height: 100%;
    }

    .main {
      display: flex;
      height: 100%;
    }

    .sidebar {
      width: 300px;
      background: #f8f8f8;
      border-right: 1px solid #ccc;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .header {
      padding: 8px;
      background: #ddd;
    }

    .footer {
      padding: 8px;
      background: #ddd;
      text-align: center;
      font-size: 0.9em;
      border-top: 1px solid #ccc;
      flex-shrink: 0;
    }



.ad {
  flex: 1; /* Grow to fill space */
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ad-slot {
  width: 160px;
  max-height: 40vh;
  height: 100%;
}

#goto {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

    #map {
       width: 100%;
       height: 100%;
       margin: 0;
       padding: 0;
       box-sizing: border-box;
    }

     .circle-icon {
       display: inline-block;
       padding: 0.25em;
       border: 2px solid gray;
       border-radius: 50%;
       text-align: center;
       line-height: 1em;
       width: 1.5em;
       height: 1.5em;
       font-weight: bold;
       font-size: 1em;
     }

.leaflet-control-layers label {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.2;
  gap: 0.4em;
  margin-bottom: 4px;
}

.leaflet-control-layers input[type="checkbox"] {
  margin: 0;
  vertical-align: middle;
  transform: scale(1); /* remove weird scaling */
}

.leaflet-control-layers label {
  font-weight: bold;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  line-height: 1.2;
  gap: 0.4em;
  margin-bottom: 4px;
}

.pirate-x {
  color: darkred;
  font-size: 64px;           /* THIS is what makes it big */
  font-weight: bold;
  transform: rotate(-15deg);
  text-shadow: 2px 2px 4px black;
  line-height: 1;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.custom-tooltip {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 10000;
  display: none;
}

.popup_line_item {
  break-inside: avoid;
  margin-bottom: 0.5em;
  font-weight: bold;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* make scrollbars juicy! */

.scrollable::-webkit-scrollbar {
  width: 20px;  /* vertical scrollbar */
  height: 20px; /* horizontal scrollbar */
}

.scrollable::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.scrollable::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
  border: 4px solid #f0f0f0; /* creates padding inside the thumb */
}

.scrollable {
  scrollbar-width: auto; /* "thin", "auto", or "none" */
  scrollbar-color: #888 #f0f0f0;
}

