/* Zeitmaschine */
.zr main { gap: 26px; }
.zr-stage { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.zr-hud { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.zr-time span { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.35rem, 4.6vw, 2.1rem); line-height: 1.05; color: var(--cream); }
.zr-time small { display: inline-block; margin-top: 6px; font-family: var(--font-type); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: var(--pc, var(--amber)); padding: 3px 8px; border-radius: 4px; }
.zr-temp { display: flex; align-items: center; gap: 10px; }
.zr-temp b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--cream); white-space: nowrap; }
.zr-temp small { display: block; font-size: 0.75rem; color: var(--muted); }
.zr-therm { position: relative; width: 14px; height: 46px; border-radius: 8px; background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.35); overflow: hidden; flex: none; }
.zr-therm i { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--amber); transition: height .25s, background .25s; }
.zr-mapwrap { position: relative; }
#zr-map { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.zr-rim { fill: none; stroke: rgba(251,239,213,0.55); stroke-width: 1.1; }
.zr-grat path { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 0.5; }
.zr-grat path.eq { stroke: rgba(255,255,255,0.28); stroke-dasharray: 2 2; }
.zr-land { stroke: rgba(0,0,0,0.25); stroke-width: 0.5; stroke-linejoin: round; }
.zr-ice { fill: #f2f7fb; }
.zr-lab text { font-family: var(--font-body); font-size: 7px; font-weight: 700; fill: rgba(255,255,255,0.78); paint-order: stroke; stroke: rgba(0,0,0,0.35); stroke-width: 1.4px; letter-spacing: 0.02em; pointer-events: none; }
.zr-mk { cursor: pointer; }
.zr-mk circle { fill: var(--red); stroke: #fff; stroke-width: 1.1; }
.zr-mk text { font: 800 5.4px var(--font-body); fill: #fff; pointer-events: none; }
.zr-mk:hover circle, .zr-mk:focus circle { fill: var(--amber); }
.zr-mk:focus { outline: none; }
.zr-pop { position: absolute; z-index: 5; transform: translate(-50%, 12px); width: min(17rem, 90%); max-height: 15rem; overflow: auto; background: #fdf8ec; color: var(--ink);
  border-radius: 8px; box-shadow: 0 14px 30px rgba(0,0,0,0.5); padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.zr-pop.up { transform: translate(-50%, calc(-100% - 12px)); }
.zr-pop a { display: flex; gap: 8px; align-items: center; text-decoration: none; color: var(--ink); padding: 4px; border-radius: 6px; font-weight: 800; font-size: 0.9rem; line-height: 1.15; }
.zr-pop a:hover { background: var(--paper); }
.zr-pop img { width: 64px; height: 35px; object-fit: cover; border-radius: 3px; flex: none; }
.zr-pop small { display: block; font-family: var(--font-type); font-size: 0.66rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0.06em; }
.zr-controls { display: flex; align-items: flex-start; gap: 12px; }
.zr-play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--amber); color: var(--ink); display: grid; place-items: center; cursor: pointer; margin-top: 2px; }
.zr-play svg { width: 22px; height: 22px; fill: currentColor; }
.zr-play.on svg path { d: path("M7 5h4v14H7zM13 5h4v14h-4z"); }
.zr-sliderwrap { flex: 1; position: relative; padding-bottom: 26px; min-width: 0; }
#zr-slider { width: 100%; margin: 0; height: 44px; background: transparent; -webkit-appearance: none; appearance: none; position: relative; z-index: 2; cursor: pointer; }
#zr-slider::-webkit-slider-runnable-track { height: 44px; background: transparent; }
#zr-slider::-moz-range-track { height: 44px; background: transparent; }
#zr-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 44px; border-radius: 8px; background: var(--cream); border: 3px solid var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,0.5); }
#zr-slider::-moz-range-thumb { width: 22px; height: 40px; border-radius: 8px; background: var(--cream); border: 3px solid var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,0.5); }
#zr-slider:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--amber); outline-offset: 2px; }
.zr-bar { position: absolute; left: 0; right: 0; top: 12px; height: 20px; border-radius: 6px; overflow: hidden; background: #333; z-index: 1; }
.zr-bar span { position: absolute; top: 0; bottom: 0; opacity: 0.9; }
.zr-ticks { position: absolute; left: 0; right: 0; top: 46px; height: 20px; }
.zr-ticks span { position: absolute; transform: translateX(-50%); font-family: var(--font-type); font-size: 0.68rem; color: var(--muted); white-space: nowrap; }
.zr-ticks span:first-child { transform: none; }
.zr-ticks span:last-child { transform: translateX(-100%); }
.zr-jumps { display: flex; flex-wrap: wrap; gap: 8px; }
.zr-jumps button { appearance: none; border: 1.5px solid var(--line); background: rgba(255,255,255,0.04); color: var(--cream); font: 700 0.85rem var(--font-body);
  padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.zr-jumps button:hover { border-color: var(--amber); color: var(--amber); }
.zr-event { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 16px 18px; box-shadow: 0 12px 28px rgba(0,0,0,0.35); }
.zr-ek { font-family: var(--font-type); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9a3a22; }
.zr-event h2 { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; margin: 4px 0 6px; color: var(--ink); }
.zr-event p { margin: 0; line-height: 1.5; }
.zr-note { margin-top: 8px !important; font-size: 0.85rem; color: #5a4a30; }
.zr-note:empty { display: none; }
.zr-akten h2 { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; margin: 0; }
.zr-sub { color: var(--muted); margin: 6px 0 0; }
.zr-next { appearance: none; border: 0; background: none; color: var(--amber); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.zr .card em { font-style: normal; font-size: 0.78rem; color: var(--ink-soft); line-height: 1.25; }
.zr-foot { font-size: 0.85rem; color: var(--muted); margin: 0; }
@media (max-width: 560px) {
  .zr-stage { padding: 10px; margin: 0 -6px; }
  .zr-ticks span:nth-child(2), .zr-ticks span:nth-child(3), .zr-ticks span:nth-child(4), .zr-ticks span:nth-child(6) { display: none; }
}
.zr-pop[hidden] { display: none; }
.zr-meters { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.zr-meters .zr-temp small { max-width: 8.5em; line-height: 1.2; }
.zr-therm.zr-o2 i { background: #6fd3c1; }
.zr-therm.zr-co2 i { background: #b9a3e3; }
.zr-air { margin: -4px 0 0; font-size: 0.9rem; line-height: 1.4; color: var(--cream); background: rgba(255,255,255,0.05); border-left: 3px solid #6fd3c1; padding: 6px 10px; border-radius: 0 6px 6px 0; }
.zr-air:empty { display: none; }
@media (max-width: 560px) {
  .zr-meters { width: 100%; justify-content: space-between; gap: 8px; }
  .zr-meters .zr-temp { gap: 6px; }
  .zr-meters .zr-temp b { font-size: 1.05rem; }
  .zr-meters .zr-temp small { font-size: 0.68rem; max-width: 6.5em; }
  .zr-meters .zr-therm { height: 38px; width: 11px; }
}
.zr-therm.zr-day i { background: #f6d06b; }
.zr-therm.zr-sea i { background: #4fa3d9; }
.zr-shallow { stroke: none; }
.zr-bridge { stroke: none; }
.zr-hud { flex-direction: column; align-items: stretch; }
.zr-meters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 14px; }
@media (max-width: 760px) { .zr-meters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
