.fsm-cycle-tours {
  --cycle-paper: #fbf6e9;
  --cycle-card: #fffbf0;
  --cycle-ink: #392818;
  --cycle-muted: #665846;
  --cycle-line: #dfd2b8;
  --cycle-olive: #4b5f33;
  --cycle-sage: #e5ebd3;
  --cycle-orange: #dc7b20;
  box-sizing: border-box;
  width: min(calc(100% - 20px), 460px);
  max-height: min(92dvh, 850px);
  padding: 0;
  border: 1px solid var(--cycle-line);
  border-radius: 24px;
  color: var(--cycle-ink);
  background: var(--cycle-paper);
  box-shadow: 0 16px 54px #30281535;
  overscroll-behavior: contain;
}
.fsm-cycle-tours::backdrop { background: #30281c70; backdrop-filter: blur(3px); }
.fsm-cycle-tours header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 14px 4px 18px; border-bottom: 1px solid var(--cycle-line);
  font: 700 17px Georgia, serif;
}
.fsm-cycle-tours .cycle-content { padding: 15px 17px 20px; }
.fsm-cycle-tours h2, .fsm-cycle-tours h3 { font-family: Georgia, serif; line-height: 1.1; color: inherit; }
.fsm-cycle-tours h2 { font-size: clamp(25px, 7vw, 35px); margin: 0 0 8px; }
.fsm-cycle-tours h3 { font-size: 22px; margin: 16px 0 8px; }
.fsm-cycle-tours p { margin: 0 0 12px; color: var(--cycle-muted); }
.fsm-cycle-tours button { cursor: pointer; color: inherit; min-height: 44px; font: inherit; }
.fsm-cycle-tours header button, .fsm-cycle-tours .cycle-back { background: none; border: 0; }
.fsm-cycle-tours header button { width: 44px; font: 25px system-ui; }
.fsm-cycle-tours .cycle-back { padding: 0 0 8px; color: var(--cycle-olive); }
.fsm-cycle-tours .cycle-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 12px; }
.fsm-cycle-tours .cycle-filters button {
  background: var(--cycle-card); border: 1px solid var(--cycle-line);
  border-radius: 9px; padding: 5px; font-size: 13px; font-weight: 650;
}
.fsm-cycle-tours [data-type][aria-pressed="true"] { background: var(--cycle-olive); color: #fffaf0; }
.fsm-cycle-tours [data-country][aria-pressed="true"] { background: var(--cycle-sage); }
.fsm-cycle-tours .cycle-card, .fsm-cycle-tours .cycle-stop {
  display: grid; width: 100%; grid-template-columns: minmax(0, 43%) minmax(0, 1fr) auto;
  gap: 9px; align-items: center; padding: 6px 8px 6px 6px; text-align: start;
  background: var(--cycle-card); border: 1px solid var(--cycle-line); border-radius: 13px;
}
.fsm-cycle-tours .cycle-card img, .fsm-cycle-tours .cycle-stop img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px;
}
.fsm-cycle-tours .cycle-card strong, .fsm-cycle-tours .cycle-stop strong { display: block; font: 700 17px/1.1 Georgia, serif; }
.fsm-cycle-tours .cycle-card small, .fsm-cycle-tours .cycle-stop small { display: block; color: var(--cycle-muted); margin: 4px 0; }
.fsm-cycle-tours .cycle-card span span { display: block; font-size: 13px; line-height: 1.2; }
.fsm-cycle-tours .cycle-card em { display: inline-block; margin-top: 5px; padding: 2px 6px; border-radius: 6px; background: var(--cycle-sage); font-size: 11px; font-style: normal; }
.fsm-cycle-tours .cycle-credit { margin: 8px 0 0; font-size: 11px; }
.fsm-cycle-tours .cycle-credit a { color: inherit; text-decoration: underline; }
.fsm-cycle-tours .cycle-empty { border-top: 1px solid var(--cycle-line); padding-top: 12px; }
.fsm-cycle-tours .cycle-stop { grid-template-columns: 50px minmax(0, 1fr) auto; }
.fsm-cycle-tours .cycle-action {
  display: grid; place-items: center; min-height: 44px; margin-top: 12px;
  border-radius: 10px; background: var(--cycle-orange); color: #26190d; font-weight: 700;
}

.fsm-cycle-tours .cycle-icon {
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 auto;
}
.fsm-cycle-tours h2, .fsm-cycle-tours h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.fsm-cycle-tours h2 .cycle-icon, .fsm-cycle-tours h3 .cycle-icon {
  color: var(--cycle-olive);
  align-self: flex-start;
}
.fsm-cycle-tours .cycle-filters button, .fsm-cycle-tours .cycle-meta span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.fsm-cycle-tours .cycle-card img {
  height: 100%;
  min-height: 125px;
  aspect-ratio: auto;
}
.fsm-cycle-tours .cycle-card > span:last-child,
.fsm-cycle-tours .cycle-stop > span:last-child {
  color: var(--cycle-olive);
  font-size: 22px;
}
.fsm-cycle-tours .cycle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 10px;
}
.fsm-cycle-tours .cycle-meta span {
  padding: 4px 8px;
  border-radius: 20px;
  background: var(--cycle-sage);
  font-size: 12px;
}

.fsm-cycle-tours .cycle-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.fsm-cycle-tours :is(button, a):focus-visible {
  outline: 2px solid var(--cycle-olive);
  outline-offset: 2px;
}

.fsm-cycle-tours .cycle-nearby {
  box-sizing: border-box;
  margin-top: 6px;
  padding: 8px;
  color: inherit;
  text-decoration: none;
}
.fsm-cycle-tours .cycle-nearby > .cycle-icon {
  justify-self: center;
  color: var(--cycle-olive);
  width: 22px;
  height: 22px;
}

.fsm-cycle-tours[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: min(calc(100dvh - 32px), 850px);
}
.fsm-cycle-tours header { flex: none; }
.fsm-cycle-tours .cycle-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 12px;
}
.fsm-cycle-tours .cycle-nearby { grid-template-columns: 34px minmax(0, 1fr) 18px; }
.fsm-cycle-tours .cycle-nearby small { line-height: 1.3; }
.fsm-cycle-tours .cycle-nearby > svg:last-child,
.fsm-cycle-tours .cycle-action > svg:last-child { width: 15px; height: 15px; }
.spot-nearby a.schachplatz-nearby-link:any-link { color: inherit; text-decoration: none; }
.schachplatz-nearby-reason { display: block; margin-top: 3px; line-height: 1.35; }

.fsm-cycle-tours h2 { font-size: clamp(25px, 6.5vw, 30px); font-weight: 600; }
.fsm-cycle-tours h3 { font-size: 21px; font-weight: 600; }
.fsm-cycle-tours .cycle-stop strong { font-size: 16px; font-weight: 600; line-height: 1.2; }
.fsm-cycle-tours .cycle-map-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9d2ae;
  border-radius: 15px;
  background: #f6f2d9;
}
.fsm-cycle-tours .cycle-map-frame figcaption {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #4b6021;
  color: #fffdf4;
  font-size: 11px;
  font-weight: 700;
}
.fsm-cycle-tours .cycle-map { display: block; width: 100%; height: auto; }
.fsm-cycle-tours .cycle-sketch-green { fill: #d6e8b2; }
.fsm-cycle-tours .cycle-sketch-water,
.fsm-cycle-tours .cycle-sketch-road {
  fill: none;
  stroke: #b6d6de;
  stroke-width: 2;
}
.fsm-cycle-tours .cycle-sketch-road { stroke: #e2d8af; }
.fsm-cycle-tours .cycle-map polyline {
  fill: none;
  stroke: #4b6021;
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.fsm-cycle-tours .cycle-sketch-start,
.fsm-cycle-tours .cycle-map-stop-button {
  position: absolute;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  transform: translate(-50%, -50%);
  color: #2b2b1c;
  font: 700 11px/1.2 system-ui, sans-serif;
}
.fsm-cycle-tours .cycle-map-stop-button {
  left: 15.98%;
  top: 47.57%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.fsm-cycle-tours .cycle-map-number-badge {
  display: grid;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  place-items: center;
  border: 2px solid #fffdf4;
  border-radius: 50%;
  background: #4b6021;
  color: #fffdf4;
  font-size: 12px;
}
.fsm-cycle-tours .cycle-map-place {
  position: absolute;
  left: calc(50% + 16px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  text-shadow: 0 0 3px #fffdf4, 0 0 3px #fffdf4;
}
.fsm-cycle-tours .cycle-sketch-start .cycle-map-place {
  left: auto;
  right: 12px;
  top: calc(50% + 14px);
  transform: none;
}

.fsm-cycle-tours .cycle-filsoe-water { fill: #b7d8dd; }
.fsm-cycle-tours .cycle-filsoe-sketch text {
  fill: #2b2b1c;
  font: 700 16px system-ui, sans-serif;
  paint-order: stroke;
  stroke: #f6f2d9;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.fsm-cycle-tours .cycle-filsoe-sketch circle {
  fill: #4b6021;
  stroke: #fffdf4;
  stroke-width: 2px;
}
.fsm-cycle-tours .cycle-filsoe-sketch .cycle-filsoe-number {
  fill: #fffdf4;
  font-size: 12px;
  text-anchor: middle;
  dominant-baseline: central;
  stroke: none;
}
.fsm-cycle-tours .cycle-terrain {
  margin: 8px 0 0;
  color: var(--cycle-muted);
  font-size: 13px;
  line-height: 1.4;
}
