* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#map {
  position: absolute;
  inset: 0;
  background: #0d1117;
}

.panel {
  position: absolute;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.85);
  color: #e6edf3;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

header.panel {
  top: 12px;
  left: 12px;
  padding: 10px 16px;
}

header.panel h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.5px;
}

header.panel p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #9da7b3;
}

#year-label {
  color: #f0b429;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

footer.panel {
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 32px));
  padding: 14px 18px 8px;
}

#year-slider {
  width: 100%;
  margin: 0;
  accent-color: #f0b429;
  cursor: pointer;
}

.ticks {
  position: relative;
  height: 16px;
  font-size: 11px;
  color: #9da7b3;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.ticks span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.popup-loc {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.popup-films {
  margin: 0;
  padding-left: 18px;
  max-height: 220px;
  overflow-y: auto;
  font-size: 13px;
}

.popup-films li {
  margin-bottom: 3px;
}

.popup-films .meta {
  color: #57606a;
  font-size: 12px;
}

.popup-films .links {
  font-size: 11px;
  white-space: nowrap;
}

.popup-films .links a {
  color: #6e7781;
}

.popup-more {
  color: #57606a;
  font-size: 12px;
  margin: 6px 0 0;
}
