/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

ul {
  list-style: none;
  margin:0;
  padding:0
}

.mono {
  font-family: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono",
    "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro",
    "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
}

.container {
    width: fit-content;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 6rem;
}

.flex {
  display: flex;
  gap: 2rem;
}

.justify {
  justify-content: space-between;
}

.site-grid {
  display: flex;
  gap: 4rem;
  margin-top: 2rem;
}

.col {
  flex: 1;
  min-width: 0; /* important for text-overflow to work in flex */
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

li.flex {
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

li span:first-child {
    flex: 1;
    min-width: 0;
}

li span:last-child {
    flex-shrink: 0;
    margin-left: 1rem;
    color: #666;
}

.map-section {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.map-container {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333;
  padding: 1rem;
}

.world-map {
  width: 100%;
  height: auto;
  display: block;
}

.leaflet-container {
    background: #000 !important;
    font-family: inherit !important;
}

.leaflet-tile-container {
    filter: grayscale(100%) brightness(0.8);
}

.leaflet-container {
    background: #000 !important;
}

.map-tooltip {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #333 !important;
    font-family: ui-monospace, monospace !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}

.map-tooltip::before {
    border-top-color: #333 !important;
}