    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #f5f7f9;
      --surface:   #ffffff;
      --border:    #e2e7ed;
      --border-soft: #edf1f5;
      --text:      #1a2030;
      --text-muted:#6e7a87;
      --text-faint:#9aa3af;
      --accent:    #2e8ab8;
      --accent-bg: #eef4f8;
      --accent-border: #cfe0ea;
      --radius-sm: 5px;
      --radius:    8px;
      --radius-lg: 12px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      font-size: 22px;
    }

    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* ── NAV ── */
    nav {
      background: var(--surface);
      border-bottom: 0.5px solid var(--border);
      padding: 0 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 58px;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
    .logo-name {
      font-size: 20px;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text);
    }
    .logo-sub {
      font-size: 18px;
      color: var(--text-muted);
      letter-spacing: 0.03em;
    }

    .nav-countdown {
      position: relative;
      overflow: hidden;
      font-size: 15px;
      color: var(--text);
      background: transparent;
      border: 0.5px solid var(--accent-border);
      border-radius: var(--radius-sm);
      padding: 5px 14px;
      cursor: pointer;
      white-space: nowrap;
      user-select: none;
      display: flex;
      align-items: center;
      gap: 7px;
      transition: border-color 0.3s;
    }
    .nav-countdown::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--accent-bg);
      transform-origin: left center;
    }
    /* Drain-Balken läuft pro Refresh-Zyklus; per .draining-Klasse neu startbar (live-reload.js) */
    .nav-countdown.draining::before {
      animation: drain 60s linear forwards;
    }
    .nav-countdown:hover {
      border-color: var(--accent);
    }
    .nav-countdown .live-label {
      position: relative;
      z-index: 1;
    }
    @keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }

    .live-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: #d94040;
      flex-shrink: 0;
      position: relative;
      z-index: 1;
      animation: blink 2.4s ease-in-out infinite;
      transition: background 0.3s;
    }

    /* ── MAIN CONTENT ── */
    .container {
      max-width: 960px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .live-container {
      max-width: 1779px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* ── LIVE SECTION ── */
    #live { padding: 2rem 0 1.5rem; }

    .cam-wrap {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    }

    .cam-frame {
      position: relative;
      line-height: 0;
    }
    .cam-frame img {
      width: 100%;
      aspect-ratio: 1779 / 705;
      display: block;
    }
    .cam-meta {
      padding: 10px 16px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
    }
    .cam-location {
      font-size: 21px;
      color: var(--text);
    }
    .peak-btn {
      background: none;
      border: none;
      border-bottom: 1px dashed var(--text-muted);
      padding: 0;
      font: inherit;
      font-size: 20px;
      color: var(--text-muted);
      cursor: pointer;
      transition: color 0.2s, border-color 0.2s;
    }
    .peak-btn:hover {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }
    .peak-btn.active {
      color: #E85C3A;
      border-bottom-color: #E85C3A;
    }
    .silhouette-panel {
      max-height: 0;
      overflow: hidden;
      width: 100%;
      line-height: 0;
      background: var(--surface);
      transition: max-height 0.4s ease;
    }
    .silhouette-panel.visible {
      max-height: 400px;
    }
    @keyframes marker-pulse {
      0%, 100% { filter: drop-shadow(0 0 4px #E85C3A) drop-shadow(0 0 8px rgba(232,92,58,0.5)); r: 13px; }
      50%       { filter: drop-shadow(0 0 8px #E85C3A) drop-shadow(0 0 16px rgba(232,92,58,0.7)); r: 16px; }
    }
    circle.peak-marker[opacity="1"] {
      animation: marker-pulse 1.6s ease-in-out infinite;
    }
    .chips {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }
    .chip {
      background: var(--accent-bg);
      border: 0.5px solid var(--accent-border);
      border-radius: var(--radius-sm);
      padding: 3px 10px;
      font-size: 20px;
      color: var(--accent);
    }

    /* ── SECTION TITLES ── */
    .section-label {
      font-size: 20px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      font-weight: 500;
      margin-bottom: 1rem;
    }

    /* ── BELOW-LIVE ZWEISPALTEN-LAYOUT ── */
    .below-live {
      display: grid;
      grid-template-columns: 75fr 25fr;
      gap: 1.5rem;
      padding: 1.5rem 0 2rem;
    }
    @media (max-width: 900px) {
      .below-live { grid-template-columns: 1fr; }
    }

    .right-col {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    /* ── KASERER-KARTE ── */
    .kaserer-card {
      display: block;
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      transition: box-shadow 0.18s, transform 0.18s;
    }
    .kaserer-card:hover {
      box-shadow: 0 6px 22px rgba(0,0,0,0.09);
      transform: translateY(-2px);
      text-decoration: none;
    }
    .kaserer-thumb img {
      width: 100%;
      display: block;
      transition: opacity 0.15s;
    }
    .kaserer-card:hover .kaserer-thumb img { opacity: 0.85; }
    .kaserer-meta {
      padding: 10px 12px 11px;
    }
    .kaserer-name {
      display: block;
      font-size: 21px;
      font-weight: 500;
      color: var(--accent);
      margin-bottom: 2px;
    }
    .kaserer-desc {
      display: block;
      font-size: 20px;
      color: var(--text-muted);
    }

    /* ── TIMELAPSE ── */
    #timelapse { padding: 0; }

    .tl-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
    }
    @media (max-width: 700px) {
      .tl-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 420px) {
      .tl-grid { grid-template-columns: 1fr; }
    }

    .tl-card {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      cursor: pointer;
      transition: box-shadow 0.18s, transform 0.18s;
      text-decoration: none;
      color: inherit;
      display: block;
    }
    .tl-card:hover {
      box-shadow: 0 6px 22px rgba(0,0,0,0.09);
      transform: translateY(-2px);
      text-decoration: none;
    }

    .tl-thumb {
      position: relative;
      width: 100%;
      overflow: hidden;
      background: #d8dfe7;
      line-height: 0;
    }
    .tl-thumb img {
      width: 100%;
      display: block;
      filter: brightness(0.65);
      transition: filter 0.18s;
    }
    .tl-card:hover .tl-thumb img {
      filter: brightness(0.45);
    }
    .play-btn {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 34px; height: 34px;
      border-radius: 50%;
      background: rgba(255,255,255,0.18);
      border: 1.5px solid rgba(255,255,255,0.45);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s;
    }
    .tl-card:hover .play-btn {
      background: rgba(255,255,255,0.28);
    }
    .play-tri {
      width: 0; height: 0;
      border-style: solid;
      border-width: 6px 0 6px 10px;
      border-color: transparent transparent transparent rgba(255,255,255,0.9);
      margin-left: 3px;
    }
    .tl-info {
      padding: 10px 12px 11px;
    }
    .tl-date {
      font-size: 22px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 2px;
    }
    .tl-desc {
      font-size: 20px;
      color: var(--text-muted);
    }

    /* ── TIMELAPSE KALENDER ── */
    .tl-calendar {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius);
      padding: 1rem 1.25rem;
      margin-top: 12px;
    }
    .tl-cal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.75rem;
    }
    .tl-cal-nav {
      background: none;
      border: 0.5px solid var(--border);
      border-radius: var(--radius-sm);
      width: 28px; height: 28px;
      cursor: pointer;
      font-size: 16px;
      color: var(--text-muted);
      display: flex; align-items: center; justify-content: center;
      transition: border-color 0.15s, color 0.15s;
      line-height: 1;
    }
    .tl-cal-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
    .tl-cal-nav:disabled { opacity: 0.3; cursor: default; }
    .tl-cal-title { font-size: 19px; font-weight: 500; color: var(--text); }
    .tl-cal-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 3px;
    }
    .tl-cal-dow {
      text-align: center;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-faint);
      padding: 2px 0 5px;
    }
    .tl-cal-day {
      aspect-ratio: 1;
      display: flex; align-items: center; justify-content: center;
      border-radius: var(--radius-sm);
      font-size: 17px;
      border: 0.5px solid transparent;
    }
    .tl-cal-day.has-video {
      color: var(--text);
      border-color: var(--border);
      background: var(--accent-bg);
      cursor: pointer;
      transition: background 0.12s, border-color 0.12s;
    }
    .tl-cal-day.has-video:hover { border-color: var(--accent); }
    .tl-cal-day.disabled {
      color: var(--text-faint);
      opacity: 0.4;
    }

    /* ── TIMELAPSE MODAL ── */
    .tl-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      z-index: 1100;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }
    .tl-backdrop.visible { display: flex; }
    .tl-modal {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: 0 8px 40px rgba(0,0,0,0.25);
      max-width: 1800px;
      width: calc(100vw - 2rem);
      max-height: 92vh;
      overflow-y: auto;
      padding: 1.25rem 1.5rem 1.5rem;
    }
    .tl-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1rem;
    }
    .tl-modal-title { font-size: 22px; font-weight: 500; color: var(--text); }
    .tl-modal-close {
      background: none;
      border: 0.5px solid var(--border);
      border-radius: var(--radius-sm);
      width: 32px; height: 32px;
      cursor: pointer;
      font-size: 17px;
      color: var(--text-muted);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: border-color 0.15s, color 0.15s;
    }
    .tl-modal-close:hover { border-color: var(--accent); color: var(--accent); }
    .tl-video-wrap {
      width: 100%;
      aspect-ratio: 222 / 88;
      background: #000;
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 1rem;
    }
    .tl-video-wrap video { width: 100%; height: 100%; display: block; }
    .tl-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      align-items: flex-start;
    }
    .tl-ctrl-group { display: flex; flex-direction: column; gap: 5px; }
    .tl-ctrl-label {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--text-faint);
    }
    .tl-btn-row { display: flex; flex-wrap: wrap; gap: 4px; }
    .tl-btn {
      background: none;
      border: 0.5px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 3px 9px;
      font-family: 'DM Mono', monospace;
      font-size: 15px;
      color: var(--text-muted);
      cursor: pointer;
      transition: background 0.12s, color 0.12s, border-color 0.12s;
    }
    .tl-btn:hover { border-color: var(--accent); color: var(--accent); }
    .tl-btn.active {
      background: var(--accent-bg);
      border-color: var(--accent-border);
      color: var(--accent);
    }
    .tl-btn.daylight {
      border-color: #d4a017;
      color: #a07800;
      background: #fffbeb;
    }
    .tl-btn.daylight:hover { background: #fef3c7; border-color: #b07800; }
    .tl-btn[data-tooltip] { position: relative; }
    .tl-btn[data-tooltip]::after {
      content: attr(data-tooltip);
      position: absolute;
      bottom: calc(100% + 7px);
      left: 50%;
      transform: translateX(-50%);
      width: max-content;
      max-width: 220px;
      white-space: normal;
      text-align: center;
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius-sm);
      box-shadow: 0 2px 10px rgba(0,0,0,0.12);
      padding: 5px 9px;
      font-family: system-ui, sans-serif;
      font-size: 12px;
      line-height: 1.4;
      color: var(--text-muted);
      pointer-events: none;
      opacity: 0;
      z-index: 1200;
    }
    .tl-btn[data-tooltip]:hover::after,
    .tl-btn[data-tooltip]:focus::after { opacity: 1; }

    /* ── KALENDER-KACHEL ── */
    .tl-cal-card {
      cursor: default;
    }
    .tl-cal-card:hover {
      box-shadow: none;
      transform: none;
    }
    .tl-cal-inner {
      padding: 10px 10px 11px;
    }
    .tl-cal-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
    }
    .tl-cal-card-nav {
      background: none;
      border: 0.5px solid var(--border);
      border-radius: var(--radius-sm);
      width: 22px; height: 22px;
      cursor: pointer;
      font-size: 13px;
      color: var(--text-muted);
      display: flex; align-items: center; justify-content: center;
      line-height: 1;
      flex-shrink: 0;
      transition: border-color 0.15s, color 0.15s;
    }
    .tl-cal-card-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
    .tl-cal-card-nav:disabled { opacity: 0.3; cursor: default; }
    .tl-cal-card-title { font-size: 14px; font-weight: 500; color: var(--text); text-align: center; flex: 1; }
    .tl-cal-card-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 1px;
    }
    .tl-cal-card-dow {
      text-align: center;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: var(--text-faint);
      padding-bottom: 3px;
    }
    .tl-cal-card-day {
      aspect-ratio: 1;
      display: flex; align-items: center; justify-content: center;
      border-radius: 3px;
      font-size: 12px;
      border: 0.5px solid transparent;
    }
    .tl-cal-card-day.has-video {
      color: var(--text);
      border-color: var(--border);
      background: var(--accent-bg);
      cursor: pointer;
      transition: background 0.12s, border-color 0.12s;
    }
    .tl-cal-card-day.has-video:hover { border-color: var(--accent); }
    .tl-cal-card-day.disabled {
      color: var(--text-faint);
      opacity: 0.4;
    }

    /* ── DIVIDER ── */
    hr.divider {
      border: none;
      border-top: 0.5px solid var(--border);
      margin: 0;
    }

    /* ── INFO / EINBINDEN ── */
    #info { padding: 0; }

    .info-card {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius);
      padding: 1.25rem 1.5rem;
    }
    .info-card p {
      font-size: 21px;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }
    .embed-code {
      background: var(--bg);
      border: 0.5px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 0.75rem 1rem;
      font-family: 'DM Mono', monospace;
      font-size: 20px;
      color: var(--text);
      white-space: pre-wrap;
      word-break: break-all;
      user-select: all;
      cursor: text;
    }
    .info-hint {
      margin-top: 0.6rem;
      font-size: 18px;
      color: var(--text-faint);
    }

    /* ── WETTER-KARTE ── */
    .weather-card {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius);
      padding: 1rem 1.25rem 0.85rem;
    }
    .weather-inner {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.5rem;
      margin-bottom: 0.6rem;
    }
    .weather-day {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      padding: 0.5rem 0.25rem 0.6rem;
      border-radius: var(--radius-sm);
    }
    .weather-day-label {
      font-size: 20px;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--text-muted);
      font-weight: 500;
    }
    .weather-icon { font-size: 33px; line-height: 1; }
    .cam-temp-badge {
      position: absolute;
      top: 12px;
      right: 14px;
      background: rgba(0, 0, 0, 0.42);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      border-radius: var(--radius-sm);
      padding: 4px 10px;
      font-size: 20px;
      font-weight: 500;
      color: #fff;
      pointer-events: none;
      font-variant-numeric: tabular-nums;
    }
    .weather-temps {
      font-size: 21px;
      color: var(--text);
      font-weight: 500;
      white-space: nowrap;
    }
    .weather-temps .tmin { color: var(--text-muted); font-weight: 400; }
    .weather-source {
      font-size: 17px;
      color: var(--text-faint);
      text-align: right;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--surface);
      border-top: 0.5px solid var(--border);
      padding: 1.5rem 0 1rem;
      margin-top: 1rem;
    }

    .footer-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1.5rem;
      padding-bottom: 1.25rem;
      border-bottom: 0.5px solid var(--border-soft);
    }

    .footer-host {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      text-decoration: none;
    }
    .footer-host:hover { text-decoration: none; }
    .host-icon {
      width: 32px; height: 32px;
      background: var(--accent-bg);
      border: 0.5px solid var(--accent-border);
      border-radius: 6px;
      flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .host-icon svg { width: 15px; height: 15px; }
    .host-name {
      font-size: 18px;
      color: var(--accent);
      font-weight: 500;
      letter-spacing: 0.02em;
    }
    .host-desc {
      font-size: 18px;
      color: var(--text-muted);
      margin-top: 1px;
    }

    .footer-copy {
      font-size: 18px;
      color: var(--text-faint);
      font-family: 'DM Mono', monospace;
      align-self: center;
    }

    /* ── LEGAL ACCORDION ── */
    .legal-section {
      padding-top: 1rem;
    }
    .legal-toggle {
      background: none;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: 'DM Sans', sans-serif;
      font-size: 18px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-faint);
      padding: 0;
      margin-bottom: 0.5rem;
      transition: color 0.15s;
    }
    .legal-toggle:hover { color: var(--text-muted); }
    .toggle-arrow {
      display: inline-block;
      transition: transform 0.2s;
      font-size: 17px;
    }
    .legal-toggle[aria-expanded="true"] .toggle-arrow {
      transform: rotate(90deg);
    }

    .legal-body {
      display: none;
      padding: 1.25rem 1.5rem;
      background: var(--bg);
      border: 0.5px solid var(--border);
      border-radius: var(--radius);
      font-size: 21px;
      color: var(--text);
      line-height: 1.75;
      columns: 2;
      column-gap: 2.5rem;
    }
    .legal-body.open { display: block; }
    @media (max-width: 700px) { .legal-body { columns: 1; } }

    .legal-body h2 {
      font-size: 20px;
      font-weight: 500;
      color: var(--text);
      margin: 1rem 0 0.35rem;
      break-after: avoid;
      column-span: all;
    }
    .legal-body h2:first-child { margin-top: 0; }
    .legal-body h3 {
      font-size: 18px;
      font-weight: 500;
      color: var(--text);
      margin: 0.75rem 0 0.25rem;
      break-after: avoid;
    }
    .legal-body p { margin-bottom: 0.6rem; }
    .legal-body ul {
      padding-left: 1.1rem;
      margin-bottom: 0.6rem;
    }
    .legal-body ul li { margin-bottom: 0.2rem; }
    .legal-body a { color: var(--accent); }
    .legal-tabs {
      display: flex;
      gap: 6px;
      margin-bottom: 1rem;
      column-span: all;
    }
    .ltab {
      background: none;
      border: 0.5px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 4px 12px;
      font-family: 'DM Sans', sans-serif;
      font-size: 18px;
      cursor: pointer;
      color: var(--text-muted);
      transition: background 0.12s, color 0.12s;
    }
    .ltab.active, .ltab:hover {
      background: var(--accent-bg);
      color: var(--accent);
      border-color: var(--accent-border);
    }
    .legal-panel { display: none; column-span: all; }
    .legal-panel.active { display: block; }

    /* ── KARTE ── */
    .map-consent {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 260px;
    }
    .map-consent-inner {
      text-align: center;
      max-width: 480px;
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.75rem;
    }
    .map-consent-icon { font-size: 2.5rem; line-height: 1; }
    .map-consent-text {
      font-size: 20px;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .map-consent-btn {
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: var(--radius-sm);
      padding: 8px 22px;
      font-family: 'DM Sans', sans-serif;
      font-size: 20px;
      cursor: pointer;
      transition: opacity 0.15s;
    }
    .map-consent-btn:hover { opacity: 0.85; }
    .map-consent-hint {
      font-size: 17px;
      color: var(--text-faint);
    }
    .map-wrap { position: relative; }
    .leaflet-top, .leaflet-bottom { z-index: 400 !important; }
    #leaflet-map {
      width: 100%;
      height: 720px;
      border: 0.5px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
    }
    .map-attribution-notice {
      margin-top: 6px;
      font-size: 16px;
      color: var(--text-faint);
      text-align: right;
    }
    .map-reset-btn {
      background: none;
      border: none;
      padding: 0;
      font-size: 16px;
      color: var(--text-faint);
      cursor: pointer;
      text-decoration: underline;
      font-family: inherit;
    }
    .map-reset-btn:hover { color: var(--accent); }

    /* ── TIMELAPSE VIDEO-CONTROLS (außerhalb des Videos) ── */
    .tl-video-controls {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 0 4px;
    }
    .tl-vc-btn {
      background: none;
      border: 0.5px solid var(--border);
      border-radius: var(--radius-sm);
      width: 32px; height: 32px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      font-size: 14px;
      color: var(--text-muted);
      flex-shrink: 0;
      transition: border-color 0.15s, color 0.15s;
    }
    .tl-vc-btn:hover { border-color: var(--accent); color: var(--accent); }
    .tl-vc-progress-wrap { flex: 1; }
    .tl-vc-progress {
      width: 100%;
      height: 4px;
      appearance: none;
      -webkit-appearance: none;
      background: var(--border);
      border-radius: 2px;
      cursor: pointer;
      accent-color: var(--accent);
    }
    .tl-vc-progress::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 14px; height: 14px;
      border-radius: 50%;
      background: var(--accent);
      cursor: pointer;
    }

    .visually-hidden {
      position: absolute;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      white-space: nowrap;
      border: 0;
    }

    /* ── FLUGZEUG-PANEL ── */
    .flights-card {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
    }
    .flights-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 18px;
    }
    .flights-table td {
      padding: 7px 10px;
      border-bottom: 0.5px solid var(--border-soft);
      white-space: nowrap;
    }
    .flights-table tr:last-child td { border-bottom: none; }
    .flights-table tr {
      cursor: pointer;
      transition: background 0.12s;
    }
    .flights-thead th {
      padding: 5px 10px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      border-bottom: 0.5px solid var(--border);
      text-align: left;
    }
    .flights-table tr:hover  { background: var(--accent-bg); }
    .flights-table tr.active { background: var(--accent-bg); }
    .flight-cs {
      font-family: 'DM Mono', monospace;
      font-weight: 500;
      color: var(--text);
    }
    .flight-muted { color: var(--text-muted); }
    .flights-table tr.flight-hidden { opacity: 0.45; }
    .flights-table tr.flight-hidden.active { opacity: 1; }
    .flight-hidden-tag {
      font-family: system-ui, sans-serif;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--text-muted);
      border: 0.5px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 1px 5px;
      margin-left: 6px;
      white-space: nowrap;
    }
    .flight-link {
      font-size: 15px;
      color: var(--accent);
      text-decoration: none;
      border: 0.5px solid var(--accent-border);
      border-radius: var(--radius-sm);
      padding: 2px 7px;
      display: inline-block;
      margin-right: 3px;
      transition: background 0.12s;
    }
    .flight-link:hover { background: var(--accent-bg); text-decoration: none; }
