:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

.page-shell,
.map-section {
  width: 100%;
  height: 100%;
}

.map-section {
  position: relative;
}

.leaflet-map {
  width: 100%;
  height: 100%;
}

.leaflet-control-zoom a {
  border-color: #ccc !important;
  background: #fff !important;
  color: #000 !important;
}

.leaflet-control-zoom a:hover,
.leaflet-control-attribution {
  background: #f4f4f4 !important;
  color: #000 !important;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.88) !important;
  color: #000 !important;
}

.leaflet-control-attribution a {
  color: #0050a4 !important;
}

.live-location-icon {
  border: 0;
  background: transparent;
}

.live-location-cross {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
}

.live-location-cross::before,
.live-location-cross::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  background: #000;
  content: "";
  transform: translate(-50%, -50%);
}

.live-location-cross::before {
  width: 26px;
  height: 4px;
}

.live-location-cross::after {
  width: 4px;
  height: 26px;
}

.procession-stack {
  position: absolute;
  z-index: 1000;
  top: 24px;
  left: 24px;
  width: min(320px, calc(100% - 48px));
}

.procession-card {
  border: 2px solid #000;
  background: #fff;
  box-shadow: 7px 7px 0 #000;
}

.procession-card h1,
.procession-card h2 {
  margin: 0;
  padding: 15px 16px 4px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.procession-name {
  margin: 0;
  border-bottom: 2px solid #000;
  padding: 0 16px 13px;
  font-size: 0.95rem;
  font-weight: 700;
}

.procession-empty {
  margin: 0;
  padding: 18px 16px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.last-procession-card {
  margin-top: 18px;
}

.procession-card dl {
  margin: 0;
}

.procession-card dl div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid #000;
  padding: 12px 16px;
}

.procession-card dl div:last-child {
  border-bottom: 0;
}

.procession-card dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.procession-card dd {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .procession-stack {
    top: auto;
    bottom: 18px;
    left: 14px;
    width: calc(100% - 28px);
  }

  .procession-card {
    box-shadow: 5px 5px 0 #000;
  }

  .last-procession-card {
    display: none;
  }
}
