@import url("base.css?v=2.2");
.radar-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  isolation: isolate;
}
.radar-logo img {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px #ff3b3055);
  animation: logo-breathe 7s ease-in-out infinite;
}
.radar-logo:after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 8px;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(
    from 12deg,
    transparent 0 78%,
    rgba(82, 210, 115, 0.06) 83%,
    rgba(82, 210, 115, 0.78) 99%,
    transparent 100%
  );
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 3px rgba(82, 210, 115, 0.72));
  animation: logo-scan 2.7s linear infinite;
}
.radar-logo i {
  position: absolute;
  width: 31px;
  height: 31px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  animation: radar-ping 2.8s ease-out infinite;
}
.radar-logo i:nth-of-type(2) {
  animation-delay: 1.4s;
}
@keyframes radar-ping {
  0% {
    opacity: 0.8;
    transform: scale(0.45);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(2.25);
  }
}
@keyframes logo-breathe {
  0%,
  90%,
  100% {
    transform: scale(1);
  }
  94% {
    transform: scale(1.08);
  }
}
@keyframes logo-scan {
  to {
    transform: rotate(1turn);
  }
}
@media (max-width: 820px) {
  .radar-logo,
  .radar-logo img {
    width: 50px;
    height: 50px;
  }
  .brand-name {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .radar-logo img,
  .radar-logo i,
  .radar-logo:after {
    animation: none;
  }
  .radar-logo:after {
    transform: rotate(35deg);
  }
}

/* The legacy sunburst lives beneath the application; it never overlays the map. */
body {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(11, 11, 11, 0.904), rgba(11, 11, 11, 0.887)),
    url("assets/images/legacy-rays.webp");
  background-size: auto, cover;
  background-position: center;
  background-attachment: fixed;
}
.topbar {
  background: rgba(11, 11, 11, 0.1);
  backdrop-filter: blur(2px);
  text-shadow: 0 1px 5px #000;
}
.filters {
  background: rgba(16, 16, 16, 0.1);
  backdrop-filter: blur(2px);
  text-shadow: 0 1px 5px #000;
}
.event-rail {
  background: rgba(12, 12, 12, 0.3br);
  backdrop-filter: blur(3px);
  text-shadow: 0 1px 5px #000;
}
.event-list {
  height: 166px;
  max-height: 166px;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-color: var(--signal) #242424;
  scrollbar-width: thin;
}
.event-card {
  min-height: 0;
  height: 154px;
  padding: 17px 22px;
}
.event-card h3 {
  font-size: 18px;
  margin: 13px 0 11px;
}
.event-list::-webkit-scrollbar {
  height: 8px;
}
.event-list::-webkit-scrollbar-track {
  background: #242424;
}
.event-list::-webkit-scrollbar-thumb {
  background: var(--signal);
  border-radius: 8px;
}
.rail-view-tabs:after {
  content: " · SCROLL →";
  color: #777;
  margin-left: 8px;
}
.event-rail.closed {
  transform: translateY(calc(100% - 45px));
}
@media (max-width: 820px) {
  .event-list {
    height: 154px;
    max-height: 154px;
  }
  .event-card {
    height: 146px;
  }
  .rail-head > div:after {
    content: " · WISCHEN →";
  }
}
.rail-arrow {
  position: absolute;
  z-index: 4;
  top: calc(45px + 50%);
  transform: translateY(-50%);
  width: 46px;
  height: 72px;
  border: 1px solid #ffffff55;
  background: #0b0b0be8;
  color: #fff;
  font:
    22px ui-monospace,
    monospace;
  cursor: pointer;
  transition:
    opacity 0.18s,
    background 0.18s,
    transform 0.18s;
}
.rail-arrow:hover {
  background: var(--signal);
  transform: translateY(-50%) scale(1.04);
}
.rail-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.rail-arrow[hidden] {
  display: none;
}
.rail-arrow--previous {
  left: 12px;
}
.rail-arrow--next {
  right: 12px;
}
@media (max-width: 820px) {
  .rail-arrow {
    width: 42px;
    height: 62px;
  }
  .rail-arrow--previous {
    left: 7px;
  }
  .rail-arrow--next {
    right: 7px;
  }
}
.rail-arrow {
  top: 128px;
}
@media (max-width: 820px) {
  .rail-arrow {
    top: 122px;
  }
}
.rail-arrow {
  width: 30px;
  height: 48px;
  border: 0;
  border-radius: 3px;
  background: #0b0b0b66;
  color: #ffffffb8;
  font-size: 17px;
  opacity: 0.58;
  backdrop-filter: blur(3px);
  box-shadow: none;
}
.event-rail:hover .rail-arrow,
.rail-arrow:focus-visible,
.rail-arrow:hover {
  opacity: 1;
}
.rail-arrow:hover {
  background: #0b0b0bcc;
  color: var(--signal);
  transform: translateY(-50%);
}
.rail-arrow--previous {
  left: 5px;
}
.rail-arrow--next {
  right: 5px;
}
@media (max-width: 820px) {
  .rail-arrow {
    width: 28px;
    height: 44px;
  }
  .rail-arrow--previous {
    left: 3px;
  }
  .rail-arrow--next {
    right: 3px;
  }
}
.place-marker {
  width: 18px;
  height: 18px;
  border: 1.5px solid #d8d2c8;
  border-radius: 2px;
  background: #292725;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgb(0 0 0 / 45%);
}
.place-marker span {
  width: 5px;
  height: 5px;
  background: #ded8ce;
  border-radius: 50%;
}
.place-popup {
  display: grid;
  gap: 5px;
  min-width: 210px;
  max-width: 290px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.place-popup strong {
  font-size: 15px;
}
.place-popup span,
.place-popup small {
  color: #555;
  font-size: 11px;
}
.place-popup p {
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.4;
}
.place-popup .place-address {
  color: #222;
}
.place-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
}
.place-links a {
  color: #c52219;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.place-links a:hover {
  text-decoration: underline;
}
.place-report-trigger {
  justify-self: start;
  margin-top: 5px;
  color: #696560;
  font-size: 10px;
}
.place-filter-block {
  padding-top: 24px;
  border-top: 1px solid #2d2d2d;
}
.place-filter-primary,
.place-filter-secondary-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.place-filter-primary {
  width: 100%;
}
.place-filter-secondary {
  width: 100%;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid rgb(255 255 255 / 10%);
}
.place-filter-secondary-label {
  margin-bottom: 7px;
  color: #85817c;
  font: 600 10px/1 ui-monospace, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.place-filter-secondary .place-filter:not(.active) {
  opacity: .66;
}
.place-filter {
  border-style: dashed;
}
.place-filter.active {
  border-style: solid;
}
.custom-marker {
  position: relative;
}
.custom-marker.is-pinging {
  background: #fff;
  box-shadow:
    0 0 0 3px var(--signal),
    0 0 18px 7px #ff3b3099;
}
.custom-marker.is-pinging:after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--signal);
  border-radius: 50%;
  animation: event-marker-ping 0.9s ease-out infinite;
}
@keyframes event-marker-ping {
  0% {
    opacity: 1;
    transform: scale(0.7);
  }
  100% {
    opacity: 0;
    transform: scale(3.1);
  }
}
.place-popup .place-precision {
  color: #a24b16;
  font-weight: 600;
}
.place-marker {
  position: relative;
}
.place-marker.is-pinging {
  border-color: var(--signal);
  background: #fff;
  box-shadow:
    0 0 0 3px var(--signal),
    0 0 20px 8px #ff3b3088;
}
.place-marker.is-pinging:after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--signal);
  border-radius: 50%;
  animation: place-marker-ping 0.9s ease-out infinite;
}
@keyframes place-marker-ping {
  0% {
    opacity: 1;
    transform: scale(0.7);
  }
  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}

.marker-cluster,
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: rgb(255 59 48 / 22%);
}
.marker-cluster div,
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  width: 30px;
  height: 30px;
  margin: 5px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: #e12d25;
  color: #fff;
  font: 700 11px ui-monospace, monospace;
  line-height: 28px;
  text-align: center;
  box-shadow: 0 4px 12px rgb(0 0 0 / 28%);
}
.marker-cluster-place {
  background: rgb(30 28 26 / 14%);
  z-index: 1 !important;
}
.marker-cluster-event {
  z-index: 10000 !important;
}
.marker-cluster-event > div {
  box-sizing: border-box;
  border: 2px solid #292522;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.marker-cluster-event > div > span {
  display: block;
  line-height: 1;
}
.marker-cluster-place > div {
  width: 26px;
  height: 26px;
  margin: 7px;
  border: 1.5px solid #d8d2c8;
  border-radius: 2px;
  background: #292725;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.marker-cluster-place > div > span {
  display: block;
  width: max-content;
  line-height: 1;
  transform: rotate(-45deg);
}
.marker-cluster.is-event-pinging > div {
  position: relative;
  border-color: #fff;
  background: #ff3b30;
  box-shadow:
    0 0 0 3px #fff,
    0 0 22px 9px rgb(255 59 48 / 70%);
}
.marker-cluster.is-event-pinging > div::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--signal);
  border-radius: 50%;
  animation: event-marker-ping 0.9s ease-out infinite;
  pointer-events: none;
}
.filter-actions {
  display: flex;
  gap: 12px;
}
.filter-actions button + button {
  padding-left: 12px;
  border-left: 1px solid #444;
}
.filter-search {
  display: block;
  margin: 0 0 14px;
}
.filter-search input {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #444;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
}
.filter-search input:focus {
  border-color: var(--signal);
}
.filter-search input::placeholder {
  color: #666;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.city-search-field {
  margin-bottom: 20px;
}
.event-search-field {
  margin-bottom: 0;
}
.date-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.date-range label > span {
  display: block;
  margin-bottom: 7px;
  color: #777;
  font:
    10px ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.date-range input {
  width: 100%;
  min-width: 0;
  padding: 9px 7px;
  border: 1px solid #333;
  background: #171717;
  color: #ddd;
  color-scheme: dark;
  font-size: 11px;
}
.archive-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 11px 0;
  border-top: 1px solid #292929;
  border-bottom: 1px solid #292929;
  cursor: pointer;
}
.archive-toggle input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--signal);
}
.archive-toggle span { display: grid; gap: 2px; }
.archive-toggle strong { color: #ddd; font-size: 12px; font-weight: 600; }
.archive-toggle small { color: #777; font-size: 10px; }
.archive-toggle:has(input:checked) strong { color: var(--signal); }
.radius-control {
  min-width: 0;
}
.radius-control[hidden] {
  display: none;
}
.radius-control output {
  color: #ddd;
}
.radius-control input[type="range"] {
  width: 100%;
  height: 30px;
  margin: 0;
  accent-color: var(--signal);
  cursor: pointer;
}
.radius-control input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: #555;
}
.radius-control input[type="range"]::-webkit-slider-thumb {
  margin-top: -6px;
}
.radius-control input:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
.rail-view-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
}
.rail-view-tabs button {
  padding: 8px 10px;
  color: #777;
}
.rail-view-tabs button.active {
  color: #fff;
  background: #ffffff12;
}
.rail-view-tabs button.is-map-hovered {
  color: #fff;
  background: rgb(255 59 48 / 22%);
  box-shadow: inset 0 0 0 1px var(--signal);
}
.rail-view-tabs button span {
  color: var(--signal);
}
.rail-view-tabs .rail-count-label,
.rail-view-tabs .rail-count-label span {
  color: inherit;
}
.rail-count-label [lang="en"] { display: none; }
html[lang="en"] .rail-count-label [lang="de"] { display: none; }
html[lang="en"] .rail-count-label [lang="en"] { display: inline; }
.place-card .type {
  color: #f1efe9;
}
.place-card .place {
  line-height: 1.45;
}
.calendar-action {
  width: 100%;
  margin-top: 18px;
  padding: 13px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #3a3a3a;
  background: transparent;
  color: #f3f1eb;
  text-align: left;
  cursor: pointer;
}
.calendar-action > span:first-child { color: var(--signal); font-size: 23px; line-height: 1; }
.calendar-action > span:last-child { display: grid; gap: 3px; }
.calendar-action strong { font-size: 12px; }
.calendar-action small { color: #777; font-size: 10px; line-height: 1.35; }
.calendar-action:hover strong,
.calendar-action:focus-visible strong { color: var(--signal); }
.calendar-dialog { max-width: 620px; }
.calendar-dialog > p { color: #4e4d49; line-height: 1.55; }
.calendar-rules { margin: 24px 0 18px; border-top: 1px solid #bdbab2; }
.calendar-rules div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid #d2cfc7; }
.calendar-rules span { color: #777; font: 10px "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.calendar-rules strong { color: #111; font-size: 13px; overflow-wrap: anywhere; }
.calendar-note { font-size: 11px; }
.calendar-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 24px; }
.calendar-actions button,
.calendar-actions a { border: 0; padding: 11px 14px; background: #111; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.calendar-actions a { background: transparent; color: #111; padding-inline: 0; text-decoration: underline; text-underline-offset: 4px; }
.calendar-actions [aria-disabled="true"],
.calendar-actions button:disabled { opacity: .4; pointer-events: none; }
.calendar-feedback { min-height: 20px; color: #b3261e !important; font-size: 11px; font-weight: 700; }
/* Shared links and the language control use the existing restrained topbar UI. */
.topbar-actions a.about-button{display:inline-flex;align-items:center;text-decoration:none}
.language-button{font-weight:800;letter-spacing:.08em}
.submit-link{color:var(--signal, #ff5a36)!important}
.data-sources{margin-top:24px;padding-top:16px;border-top:1px solid #d5d2ca}.data-sources strong,.data-sources small{display:block}.data-sources strong{margin-bottom:7px;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}.data-sources small{color:#68665f;line-height:1.55}.data-sources a{color:inherit}.data-sources [lang="en"]{display:none}html[lang="en"] .data-sources [lang="de"]{display:none}html[lang="en"] .data-sources [lang="en"]{display:inline}
