/* ── ParaWeather – Dark Glassmorphism Theme ──────────────────────────────── */

:root {
  --bg: #1a2330;
  --card: rgba(255,255,255,0.09);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.14);
  --accent: #5eabf7;
  --rating-excellent: oklch(0.75 0.15 152);
  --rating-good:      oklch(0.80 0.14 128);
  --rating-marginal:  oklch(0.80 0.15 76);
  --rating-nogo:      oklch(0.67 0.21 25);
  --shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 18px 40px rgba(8,16,28,0.28);
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #1a2330;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Native select options need explicit dark text so they stay readable */
select option { color: #111; }

/* ── Custom scrollbar ─────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.16);
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.28);
  background-clip: padding-box;
}
::-webkit-scrollbar-track { background: transparent; }

/* ── Mountain background ──────────────────────────────────────────────────── */
.pw-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.pw-mountains {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 38vh;
  opacity: 0.5;
}

.pw-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(140% 100% at 50% 0%, transparent 55%, rgba(6,10,18,0.45) 100%);
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 39;
  min-height: 62px;
  background: rgba(10,16,26,0.65);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  padding: 0 1.5rem;
}

.site-header-inner {
  min-height: 61px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.app-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  border: 1.5px solid rgba(255,255,255,0.32);
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.12s, background 0.12s, color 0.12s;
  font-family: inherit;
}

.app-help-btn:hover,
.app-help-btn:focus-visible {
  opacity: 1;
  background: rgba(255,255,255,0.18);
  color: #fff;
  outline: none;
}

.site-header h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.logo-text {
  display: block;
}

.logo-wordmark {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.logo-sub {
  display: block;
  font-size: 0.67rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.site-logo {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(145deg, #0284c7, #38bdf8);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.brand-divider {
  color: var(--muted);
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}

/* ── Main ─────────────────────────────────────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

main:has(.favb-panel:not([hidden])) {
  z-index: 100;
}

/* ── Search ───────────────────────────────────────────────────────────────── */
.search-section {
  position: relative;
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}

.search-section:has(.favb-panel:not([hidden])) {
  z-index: 101;
}

.search-box { display: flex; gap: 0.5rem; }

.search-box input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.09);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.15s, background 0.15s;
}

.search-box input::placeholder { color: var(--muted); }

.search-box input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.12);
}

.search-box button {
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.search-box button:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.26); }

#search-btn {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.20);
  font-weight: 600;
}

#search-btn:hover { background: rgba(255,255,255,0.22); }

.search-btn-icon { display: none; }

#geo-btn { background: rgba(255,255,255,0.07); font-size: 2rem; line-height: 1; padding: 0.2rem 0.7rem; }

#map-search-btn { background: rgba(255,255,255,0.07); padding: 0.2rem 0.6rem; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75); }
#map-search-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }

.site-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg, #0f1117);
  display: flex;
  flex-direction: column;
}
.site-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.1));
  flex-shrink: 0;
}
.site-picker-title { font-weight: 600; font-size: 1rem; }
.site-picker-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.site-picker-here-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.3rem 0.75rem;
  border-radius: 0.4rem;
}
.site-picker-here-btn:hover { background: rgba(255,255,255,0.2); }
.site-picker-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  opacity: 0.7;
}
.site-picker-close:hover { background: rgba(255,255,255,0.12); opacity: 1; }
.site-picker-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1000;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7));
}
.site-picker-map-wrap {
  flex: 1;
  position: relative;
  min-height: 0;
}
#site-picker-leaflet {
  position: absolute;
  inset: 0;
}
.site-picker-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15,17,23,0.85);
  color: var(--muted, #8899aa);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  pointer-events: none;
}
.site-picker-hint {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  color: var(--muted, #8899aa);
  flex-shrink: 0;
  text-align: center;
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
}

.search-results {
  position: absolute;
  z-index: 10;
  left: 1rem; right: 1rem;
  margin: 0.3rem 0 0;
  padding: 0.3rem;
  list-style: none;
  background: rgba(12,18,30,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.search-results li {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  transition: background 0.12s;
}

.search-results li:hover { background: rgba(255,255,255,0.10); }
.search-results .result-meta { color: var(--muted); font-size: 0.85rem; }

/* ── Favorites ────────────────────────────────────────────────────────────── */
.favorites {
  margin-top: 0.6rem;
  position: relative;
}

/* Reserve space before JS module renders favorites — prevents options-box CLS shift */
html[data-has-favorites] #favorites[hidden] {
  display: block;
  visibility: hidden;
  min-height: 52px;
}

/* ── Favoritenleiste Variante B: Dropdown + Vergleichen ── */
.favb-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.favb-trigger-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.favb-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  transition: border-color 0.15s;
}
.favb-trigger:hover { border-color: rgba(255,255,255,0.22); }

.favb-trigger-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favb-count {
  font-size: 11px;
  color: #4b5563;
  flex-shrink: 0;
}

.favb-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s;
}
.favb-trigger[aria-expanded="true"] .favb-chevron { transform: rotate(180deg); }

.favb-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  background: #151b2c;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  max-height: 320px;
  overflow-y: auto;
}
.favb-panel[hidden] { display: none; }

.favb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background 0.12s;
}
.favb-item:hover { background: rgba(255,255,255,0.04); }
.favb-item.is-active { background: rgba(56,189,248,0.10); }

.favb-item-name-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  min-width: 0;
}

.favb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid #374151;
  background: transparent;
}
.favb-item.is-active .favb-dot { background: #38bdf8; border-color: #38bdf8; }

.favb-item-name {
  font-size: 13px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.favb-item.is-active .favb-item-name { color: #e2e8f0; font-weight: 700; }

.favb-drag-handle {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 2px 4px 2px 0;
  color: var(--muted);
  opacity: 0.35;
  cursor: grab;
  transition: opacity 0.12s;
  touch-action: none;
}
.favb-drag-handle:hover { opacity: 0.8; }
.favb-drag-handle:active { cursor: grabbing; }
.favb-item.is-dragging { opacity: 0.35; }
.favb-item.drag-over { box-shadow: inset 0 2px 0 #38bdf8; }
.favb-item.drag-over-bottom { box-shadow: inset 0 -2px 0 #38bdf8; }

.favb-item-del {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.12s;
}
.favb-item-del:hover { color: #ef4444; }

.favb-panel-footer { margin-top: 4px; }

.favb-save-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  background: rgba(56,189,248,0.08);
  border: 1px dashed rgba(56,189,248,0.30);
  border-radius: 8px;
  color: #38bdf8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s;
}
.favb-save-btn:hover { background: rgba(56,189,248,0.13); }

.favb-gps-badge {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(94,171,247,0.12);
  color: #7dc4ff;
  border: 1px solid rgba(94,171,247,0.22);
  text-transform: uppercase;
}

.favb-rename-btn {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: var(--muted);
  cursor: pointer; flex-shrink: 0;
  border-radius: 4px;
  transition: color 0.12s, background 0.12s;
  opacity: 0;
  pointer-events: none;
}
.favb-item:hover .favb-rename-btn,
.favb-item.is-active .favb-rename-btn { opacity: 1; pointer-events: auto; }
.favb-rename-btn:hover { color: var(--accent); background: rgba(94,171,247,0.10); }

.favb-rename-row {
  flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0;
}
.favb-rename-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12.5px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.favb-rename-confirm {
  background: var(--accent);
  border: none; border-radius: 5px;
  color: #0e1520;
  font-size: 11px; font-weight: 700;
  padding: 3px 9px;
  cursor: pointer; font-family: inherit; flex-shrink: 0;
}

.favb-name-input-row {
  display: flex; align-items: center; gap: 7px; padding: 2px 0;
}
.favb-name-label {
  font-size: 11px; color: var(--muted); flex-shrink: 0; white-space: nowrap;
}
.favb-name-field {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(94,171,247,0.50);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 12.5px;
  color: var(--text);
  font-family: inherit;
  outline: none; min-width: 0;
  transition: border-color 0.15s;
}
.favb-name-field:focus { border-color: var(--accent); }
.favb-name-confirm {
  background: #38bdf8;
  border: none; border-radius: 7px;
  color: #0e1520;
  font-size: 12px; font-weight: 700;
  padding: 6px 13px;
  cursor: pointer; font-family: inherit; flex-shrink: 0;
  transition: opacity 0.12s;
}
.favb-name-confirm:hover { opacity: 0.85; }
.favb-coord-hint {
  font-size: 10.5px; color: var(--muted);
  margin-top: 5px; padding: 0 2px; opacity: 0.75;
}

.favb-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: #94a3b8;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.favb-compare-btn span { display: none; }
.favb-compare-btn:hover { border-color: rgba(255,255,255,0.22); color: var(--text); }
.favb-compare-btn.is-open {
  background: rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.40);
  color: #38bdf8;
}

/* ── Pilot row ────────────────────────────────────────────────────────────── */
.options-box {
  margin-top: 0.9rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}

.options-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.options-header:focus-visible {
  outline: 2px solid rgba(255,255,255,0.25);
  outline-offset: -2px;
}

.options-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--muted);
  text-transform: uppercase;
  flex-shrink: 0;
}

.options-summary {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.options-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s;
}
.options-header[aria-expanded="true"] .options-chevron {
  transform: rotate(180deg);
}

.options-body {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 4px 18px 18px;
}
.options-body:not([hidden]) { display: grid; }

.pilot-row {
  display: flex;
  flex-direction: column;
}

.pilot-row label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.pilot-row--full {
  grid-column: 1 / -1;
}

.field-wrap {
  position: relative;
}

.field-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 32px 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
.field-wrap select:focus { border-color: rgba(255,255,255,0.30); }

.field-chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

@media (max-width: 767px) {
  .options-body { grid-template-columns: 1fr; padding: 4px 14px 16px; }
  .pilot-row--full { grid-column: 1; }

  #search-btn, #geo-btn, #map-search-btn { width: 38px; height: auto; align-self: stretch; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
  .search-btn-label { display: none; }
  .search-btn-icon { display: block; }

  .favb-count { display: none; }

  .favb-trigger { padding: 11px 14px; }
}

/* ── Location info / Status ───────────────────────────────────────────────── */
.forecast-overview {
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}

.forecast-overview:has(.location-info[hidden]):has(.days:empty) {
  display: none;
}

.location-info {
  margin-bottom: 1rem;
}

.loc-name {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.loc-name strong {
  font-weight: 600;
}

.loc-meta {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  color: var(--muted);
  opacity: 0.6;
  vertical-align: middle;
  text-decoration: none;
  transition: opacity 0.15s;
}

.maps-link:hover {
  opacity: 1;
}

.loc-share-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px;
  background: none;
  border: none;
  color: var(--muted);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.loc-share-btn:hover { opacity: 1; }

.loc-fav-btn {
  display: inline-flex;
  align-items: center;
  margin-right: 7px;
  padding: 2px;
  background: none;
  border: none;
  color: var(--muted);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s, color 0.15s;
  flex-shrink: 0;
}
.loc-fav-btn:hover { opacity: 1; }
.loc-fav-btn--active { color: #fbbf24; opacity: 1; }

.day-share-btn {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.15s;
}
.day-card:hover .day-share-btn,
.day-card.selected .day-share-btn { opacity: 0.55; }
.day-share-btn:hover { opacity: 1 !important; }

.share-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg, #2a2a2a);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  pointer-events: none;
  animation: share-toast-in 0.15s ease;
}
@keyframes share-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.model-run-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

.model-run-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: rgba(255,200,50,0.08);
  border: 1px solid rgba(255,200,50,0.18);
  margin-bottom: 1rem;
  color: rgba(255,220,100,0.9);
}

.status.error {
  background: rgba(220,80,60,0.10);
  border-color: rgba(220,80,60,0.22);
  color: rgba(255,140,120,0.9);
}

/* ── Glider loading animation ─────────────────────────────────────────────── */
.glider-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  pointer-events: none;
}
.glider-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.glider-loader__scene {
  width: min(500px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,.40);
}

.glider-loader__scene canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.glider-loader__caption {
  margin-top: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.glider-loader__eyebrow {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Geist Mono", ui-monospace, monospace;
}

.glider-loader__message {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
}

.glider-loader__dots {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}

.glider-loader__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .25;
  animation: gl-dot 1.6s ease-in-out infinite;
}

.glider-loader__dots span:nth-child(2) { animation-delay: .24s; }
.glider-loader__dots span:nth-child(3) { animation-delay: .48s; }

@keyframes gl-dot {
  0%, 70%, 100% { opacity: .25; transform: scale(1); }
  35%            { opacity: 1;   transform: scale(1.5); }
}

@media (prefers-reduced-motion: reduce) {
  .glider-loader__dots span { animation: none; opacity: .5; }
}

/* ── Day cards ────────────────────────────────────────────────────────────── */
.days {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}

.day-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  transition: transform 0.12s ease, background 0.15s;
  border-top: 5px solid rgba(255,255,255,0.2);
  color: var(--text);
}

.day-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
}

.day-card.selected { outline: 2px solid rgba(255,255,255,0.38); outline-offset: 1px; }

.day-card.r-excellent { border-top-color: var(--rating-excellent); }
.day-card.r-good      { border-top-color: var(--rating-good); }
.day-card.r-marginal  { border-top-color: var(--rating-marginal); }
.day-card.r-nogo      { border-top-color: var(--rating-nogo); }

.days-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.6rem;
}
.days-toggle-all {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: var(--text);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.15s;
  line-height: 1.4;
}
.days-toggle-all:hover { opacity: 1; }
.day-card-summary { min-width: 0; display: flex; align-items: center; }
.day-card-summary-left { min-width: 0; }
.day-card h3 { margin: 0 0 0.4rem; font-size: 1rem; font-weight: 600; }
.day-card-details { margin-top: 0.5rem; }

.rating-badge {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.rating-badge.r-excellent { background: var(--rating-excellent); }
.rating-badge.r-good      { background: var(--rating-good); }
.rating-badge.r-marginal  { background: var(--rating-marginal); }
.rating-badge.r-nogo      { background: var(--rating-nogo); color: rgba(255,255,255,0.95); }

.day-card .day-meta {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.day-card .day-window { font-weight: 600; color: var(--text); }

.hour-bar {
  display: flex;
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
  gap: 1px;
  margin-top: 8px;
}
.hbar-seg { flex: 1; border-radius: 1px; }
.hbar-seg.hbar-window { height: 7px; margin-top: -1px; }
.hbar-seg.hbar-lvl-0 { background: oklch(0.75 0.15 152); }
.hbar-seg.hbar-lvl-1 { background: oklch(0.82 0.14 110); }
.hbar-seg.hbar-lvl-2 { background: oklch(0.80 0.15 70);  }
.hbar-seg.hbar-lvl-3 { background: oklch(0.67 0.21 25);  }

.hbar-tick-row { position: relative; height: 14px; margin-top: 1px; }
.hbar-tick--start { left: 0; transform: none; }
.hbar-tick--end { right: 0; left: auto; transform: none; }
.hbar-tick {
  position: absolute;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--muted);
  line-height: 1;
  top: 1px;
}
.hbar-tick::before {
  content: "";
  display: block;
  width: 1px;
  height: 3px;
  background: var(--muted);
  margin: 0 auto 1px;
}

.wind-dir-arrow { display: inline-block; vertical-align: middle; margin-right: 2px; color: var(--muted); }
.wind-dir-label { font-size: 0.8em; color: var(--muted); }

.meta-icon { display: inline-block; vertical-align: middle; margin-right: 2px; color: var(--muted); }

.conf-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.55rem;
}
.conf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  transition: background 0.2s;
}
.conf-dot.filled { background: rgba(255,255,255,0.72); }
.conf-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-left: 3px;
  letter-spacing: 0.01em;
}

/* ── Prognosesicherheit-Widget (Detail-View) ─────────────────────────────── */
.conf-widget {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.conf-widget h4 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.conf-widget-title { flex: 1; }
.conf-widget-summary {
  display: flex;
  align-items: center;
  gap: 3px;
}
.conf-widget-summary .conf-label { margin-left: 4px; font-size: 0.78rem; }
.conf-widget .help-icon { margin-left: 0; }
@media (max-width: 480px) {
  .conf-widget-title { flex: none; width: 100%; }
}
.conf-meta {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
  opacity: 0.75;
}
.conf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}
.conf-item {
  background: rgba(255,255,255,0.05);
  border-radius: 0.5rem;
  padding: 0.45rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.conf-item-label {
  font-size: 0.63rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.conf-item-value {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}
.conf-item-value small {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}
.conf-item-dots {
  display: flex;
  gap: 3px;
  align-items: center;
  margin-top: 0.25rem;
}
.conf-dot--sm { width: 6px; height: 6px; }
.conf-widget--na { opacity: 0.45; }
.conf-widget--na h4 { margin-bottom: 0.2rem; }

/* ── Detail view ──────────────────────────────────────────────────────────── */
.detail {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text);
}

#sec-cockpit,
#sec-briefing,
#sec-sicherheit,
#sec-thermik,
#sec-live,
#sec-daten {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  scroll-margin-top: 74px;
  overflow: hidden;
}

.detail h2 {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.detail-header-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.detail-header-date {
  min-width: 0;
}

.detail-sun-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-sun-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

.detail-sun-item svg {
  color: #f59e0b;
  flex-shrink: 0;
}

.detail-header-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .detail-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .detail-header-status {
    justify-content: flex-start;
  }
}

.detail h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 600;
}

.detail small { color: var(--muted); }

.assessment {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 1rem;
}
.assessment h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.assessment-summary-btn {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.35rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.63rem;
  font-family: inherit;
  padding: 0.18rem 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  white-space: nowrap;
}
.assessment-summary-btn:hover { background: rgba(255,255,255,0.16); }
.assessment-summary-btn:disabled { opacity: 0.45; cursor: default; }
.assessment-summary {
  margin-top: 0.8rem;
  padding: 0.7rem 0.8rem;
  background: rgba(255,255,255,0.04);
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.assessment-summary p { margin: 0; font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.85); }
.assessment-summary-loading { opacity: 0.55 !important; }
.assessment-summary-error { color: oklch(0.70 0.18 28) !important; }

.assessment ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }

.assessment li { color: rgba(255,255,255,0.88); font-size: 0.93rem; }

/* ── Jetzt-Widget: Prognosewerte der aktuellen Stunde ────────────────────── */
.now-widget { margin-bottom: 1.1rem; }
.now-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.75rem 0.9rem;
}
.now-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.now-head-left { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.now-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex: none;
}
.now-dot.r-excellent { background: var(--rating-excellent); }
.now-dot.r-good      { background: var(--rating-good); }
.now-dot.r-marginal  { background: var(--rating-marginal); }
.now-dot.r-nogo      { background: var(--rating-nogo); }
.now-title { font-weight: 600; font-size: 0.9rem; }
.now-pill {
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.now-clock { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 4px; flex: none; }
.now-main { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.now-arrow { flex: none; }
.now-wind { display: flex; align-items: baseline; gap: 6px; }
.now-wind-value { font-size: 1.7rem; font-weight: 600; line-height: 1; }
.now-wind-unit { font-size: 0.8rem; color: var(--muted); }
.now-gust { display: flex; align-items: baseline; gap: 5px; margin-left: auto; }
.now-gust-label { font-size: 0.75rem; color: var(--muted); }
.now-gust-value { font-size: 1.25rem; font-weight: 600; line-height: 1; }
.now-gust-value.lvl-2 { color: var(--rating-marginal); }
.now-gust-value.lvl-3 { color: var(--rating-nogo); }
.now-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.now-tile {
  background: rgba(255,255,255,0.06);
  border-radius: 9px;
  padding: 0.5rem 0.3rem;
  text-align: center;
}
.now-tile-value { font-size: 0.95rem; font-weight: 600; }
.now-tile-sub { font-size: 0.68rem; color: var(--muted); line-height: 1.2; }
.now-tile-label { font-size: 0.68rem; color: var(--muted); }
.now-tiles--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.now-tiles--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.now-tiles--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.now-dir-mini-arrow { display: block; margin: 0 auto; }
.now-foehn-lvl-1 { color: var(--rating-marginal); }
.now-foehn-lvl-2 { color: var(--rating-marginal); }
.now-foehn-lvl-3 { color: var(--rating-nogo); }
.now-foehn-chip {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 1px 5px;
  margin-left: 3px;
  vertical-align: middle;
  line-height: 1.4;
}
.now-foehn-chip--sued { background: rgba(234,179,8,0.22); color: oklch(0.80 0.15 76); }
.now-foehn-chip--nord { background: rgba(94,171,247,0.18); color: #5eabf7; }
.now-chart { margin-top: 0.6rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.now-rr-bar { fill: rgba(94,171,247,0.55); }
.now-rr-lbl { fill: #5eabf7; }
.now-legend-rain { display: flex; align-items: center; gap: 5px; font-size: 0.62rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.now-legend-rain::before { content: ''; display: block; width: 9px; height: 9px; border-radius: 2px; background: rgba(94,171,247,0.55); }
.now-mini-radar {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.now-mini-radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.now-mini-radar-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
  background: rgba(94,171,247,0.12);
  border-radius: 999px;
  padding: 2px 7px;
  transition: background 0.3s, color 0.3s;
}
.now-mini-radar-badge--nowcast {
  background: rgba(94,171,247,0.22);
  color: rgba(94,171,247,0.9);
}
.now-mini-radar-time {
  font-size: 0.65rem;
  color: var(--muted);
}
.now-mini-radar-provider {
  display: flex;
  gap: 3px;
}
.now-mini-provider-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.22rem;
  color: rgba(255,255,255,0.35);
  padding: 1px 5px;
  cursor: pointer;
  font-size: 0.52rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.now-mini-provider-btn--active {
  background: rgba(94,171,247,0.18);
  border-color: rgba(94,171,247,0.40);
  color: rgba(94,171,247,0.9);
}
.now-mini-radar-map {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
}
.now-mini-radar-footer {
  margin-top: 5px;
  text-align: right;
}
.now-mini-radar-open {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.68rem;
  color: #5eabf7;
  padding: 0;
}
.now-mini-radar-open:hover { text-decoration: underline; }

/* ── v267: Hero-Section — Status, Score, Hauptgründe ─────────────────────── */
.hero-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
  gap: 0.5rem;
}
.hero-verdict { display: flex; align-items: center; gap: 0.5rem; }
.hero-status-dot {
  width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0;
}
.hero-status-dot.r-excellent { background: oklch(0.75 0.15 152); }
.hero-status-dot.r-good      { background: oklch(0.82 0.14 110); }
.hero-status-dot.r-marginal  { background: oklch(0.80 0.15 70);  }
.hero-status-dot.r-nogo      { background: oklch(0.67 0.21 25);  }
.hero-status-label {
  font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em;
}
.hero-status-label.r-excellent { color: oklch(0.75 0.15 152); }
.hero-status-label.r-good      { color: oklch(0.82 0.14 110); }
.hero-status-label.r-marginal  { color: oklch(0.80 0.15 70);  }
.hero-status-label.r-nogo      { color: oklch(0.67 0.21 25);  }
.hero-score-block { display: flex; align-items: baseline; gap: 2px; }
.hero-score-num {
  font-family: var(--font-mono); font-size: 2rem; font-weight: 700; line-height: 1;
}
.hero-score-num.r-excellent { color: oklch(0.75 0.15 152); }
.hero-score-num.r-good      { color: oklch(0.82 0.14 110); }
.hero-score-num.r-marginal  { color: oklch(0.80 0.15 70);  }
.hero-score-num.r-nogo      { color: oklch(0.67 0.21 25);  }
.hero-score-denom { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.hero-subtitle { font-size: 0.83rem; color: var(--muted); margin: 0.1rem 0 0; line-height: 1.4; }
.hero-divider { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 0.65rem 0; }
.hero-reasons-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 0.3rem;
}
.hero-reasons { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-reason { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.84rem; line-height: 1.4; }
.hero-reason-dot {
  width: 8px; height: 8px; border-radius: 50%; margin-top: 0.23rem; flex-shrink: 0;
}
.hero-reason strong { font-weight: 600; }
.hero-reason-val { color: var(--muted); font-size: 0.8rem; }
.hero-thermal-note {
  display: flex; align-items: flex-start; gap: 0.4rem;
  font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem;
  padding-top: 0.55rem; border-top: 1px solid rgba(255,255,255,0.07);
  line-height: 1.4;
}
.hero-thermal-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.82 0.14 110); flex-shrink: 0; margin-top: 0.25rem;
}

/* ── v267: Hero-Timeline-Grid ────────────────────────────────────────────── */
.tg-grid-wrap { overflow-x: auto; margin: 0 0 0.1rem; }
.tg-grid {
  display: grid;
  gap: 0;
  min-width: min-content;
  width: 100%;
}
.tg-label {
  font-size: 0.71rem; font-weight: 500; color: var(--muted);
  display: flex; align-items: center; white-space: nowrap;
  padding-right: 0.4rem;
}
.tg-hour-lbl {
  font-size: 0.67rem; font-family: var(--font-mono);
  color: rgba(255,255,255,0.22); text-align: center; padding-bottom: 5px;
  user-select: none;
}
.tg-hour-lbl.is-now { color: rgba(255,255,255,0.75); font-weight: 700; }
.tg-cell { padding: 2px 1px; cursor: pointer; }
.tg-pip {
  display: block; width: 100%; height: 18px;
  border-radius: 3px; transition: transform 0.1s, filter 0.1s;
}
.tg-cell:hover .tg-pip,
.tg-cell.tg-active .tg-pip { filter: brightness(1.25); transform: scaleY(1.1); }
.tg-cell.tg-now .tg-pip {
  outline: 2px solid rgba(255,255,255,0.5); outline-offset: 1px;
}
.tg-cell.tg-active .tg-pip {
  outline: 2px solid rgba(255,255,255,0.75); outline-offset: 1px;
}
.tg-pip.lvl-0 { background: oklch(0.75 0.15 152); opacity: 0.75; }
.tg-pip.lvl-1 { background: oklch(0.82 0.14 110); opacity: 0.85; }
.tg-pip.lvl-2 { background: oklch(0.80 0.15 70);  opacity: 0.9;  }
.tg-pip.lvl-3 { background: oklch(0.67 0.21 25);  opacity: 1;    }
.tg-sep-cell { height: 4px; display: block; }
.tg-sep-cell--gap { background: transparent; }
.tg-gap-cell { display: block; }
.tg-gap-lbl { display: block; }
.tg-detail {
  min-height: 3.2rem; border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0.45rem 0 0.2rem; margin-top: 0.3rem;
}
.tg-detail-ph { font-size: 0.76rem; color: rgba(255,255,255,0.25); }
.tg-detail-time {
  font-size: 0.78rem; font-weight: 700; font-family: var(--font-mono);
  color: rgba(192,212,240,0.9); margin-bottom: 0.2rem; letter-spacing: 0.03em;
}
.tg-detail-rows { display: flex; flex-direction: column; gap: 0.15rem; }
.tg-detail-item {
  display: flex; align-items: flex-start; gap: 0.4rem;
  font-size: 0.76rem; line-height: 1.4; color: rgba(255,255,255,0.82);
}
.tg-detail-dot { width: 6px; height: 6px; border-radius: 50%; margin-top: 0.23rem; flex-shrink: 0; }
.tg-detail-blockers { font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.tg-detail-score { font-size: 0.7rem; color: rgba(255,255,255,0.45); font-variant-numeric: tabular-nums; }
.tg-interp {
  font-size: 0.75rem; color: var(--muted); line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 0.4rem; margin: 0;
}
.tg-interp-kw   { color: rgba(255,255,255,0.82); font-weight: 600; }
.tg-interp-warn { color: oklch(0.80 0.15 70); font-weight: 600; }

/* ── Bewölkungs-/Wetter-/Sonnenstreifen (cws) ───────────────────────────── */
.cws-wrap { overflow-x: auto; margin: 0.8rem 0 0.5rem; scrollbar-width: none; }
.cws-wrap::-webkit-scrollbar { display: none; }
.cws-grid { display: grid; gap: 0; min-width: min-content; width: 100%; }
.cws-spacer { grid-column: 1 / -1; height: 6px; }
.cws-h-lbl {
  font-size: 0.67rem; font-family: var(--font-mono);
  color: rgba(255,255,255,0.22); text-align: center; padding-bottom: 3px;
  user-select: none;
}
.cws-h-now { color: rgba(255,255,255,0.75); font-weight: 700; }
.cws-row-lbl {
  font-size: 0.6rem; font-weight: 600; color: var(--muted);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 4px; white-space: nowrap; line-height: 1.2;
}
.cws-icon { font-size: 0.85rem; text-align: center; padding: 2px 0; line-height: 1; }
.cws-cloud-cell { height: 12px; }
.cws-sun-wrap {
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; height: 28px; padding: 0 1px;
}
.cws-sun-bar { width: 100%; background: rgba(251,191,36,0.7); border-radius: 2px 2px 0 0; }
.cws-sun-num {
  font-size: 0.58rem; color: rgba(251,191,36,0.65);
  text-align: center; line-height: 1; margin-top: 1px; user-select: none;
}
.cws-now-outline { outline: 2px solid rgba(255,255,255,0.45); outline-offset: 1px; }

/* ── v123: Unified Assessment – Flugfenster-Banner + Sektions-Labels ─────── */
.ua-window {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.55rem;
  border-radius: 7px;
  background: rgba(40, 180, 100, 0.09);
  border-left: 3px solid oklch(0.75 0.15 152);
}
.ua-window-strip { flex-basis: 100%; }
.ua-window--orange { background: rgba(220, 150, 30, 0.09); border-left-color: oklch(0.80 0.15 70); }
.ua-window--orange .ua-window-label { color: oklch(0.80 0.15 70); }
.ua-window--nogo { background: rgba(220, 60, 40, 0.09); border-left-color: oklch(0.67 0.21 25); }
.ua-window--nogo-red   { background: rgba(220, 60, 40, 0.09);  border-left-color: oklch(0.67 0.21 25); }
.ua-window--nogo-orange{ background: rgba(220, 150, 30, 0.09); border-left-color: oklch(0.80 0.15 70); }
.ua-window--nogo-green { background: rgba(40, 180, 100, 0.09); border-left-color: oklch(0.75 0.15 152); }
.ua-window-main { display: flex; flex-direction: column; gap: 0.1rem; }
.ua-window-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: oklch(0.75 0.15 152);
  opacity: 0.8;
}
.ua-window--nogo .ua-window-label,
.ua-window--nogo-red .ua-window-label   { color: oklch(0.67 0.21 25); }
.ua-window--nogo-orange .ua-window-label { color: oklch(0.80 0.15 70); }
.ua-window--nogo-green .ua-window-label  { color: oklch(0.75 0.15 152); }
.ua-window-time {
  font-size: 1.05rem;
  font-weight: 600;
  color: oklch(0.82 0.12 152);
}
.ua-window--orange .ua-window-time { color: oklch(0.85 0.14 70); }
.ua-window-sub { font-size: 0.84rem; color: rgba(255,255,255,0.6); }
.ua-window-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: auto;
}
.ua-chip {
  display: inline-flex;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.09);
  border-radius: 0.3rem;
  padding: 0.15rem 0.5rem;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}
.ua-thermal-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.3rem 0 0.1rem; }
.ua-chip--ok {
  background: rgba(40, 180, 100, 0.16);
  color: oklch(0.78 0.13 152);
}
.ua-section-label {
  margin: 0.6rem 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.ua-section-label--spaced {
  margin-top: 1.5rem;
}
.sonstige-checks-heading {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ── Hour table ───────────────────────────────────────────────────────────── */
.hour-table-box {
  margin: 1.2rem 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 0.6rem;
  background: var(--glass-bg, rgba(255,255,255,0.04));
}
.hour-table-box h4 {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.hour-table-wrap { overflow-x: auto; }

table.hour-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  white-space: nowrap;
}

.hour-table th, .hour-table td {
  padding: 0.35rem 0.35rem;
  text-align: right;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hour-table th:first-child, .hour-table td:first-child { text-align: left; }

.hour-table tr.hour-current td { background-color: rgba(255, 255, 255, 0.07); }

.hour-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: "Geist Mono", ui-monospace, monospace;
  vertical-align: bottom;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.score-pill {
  display: inline-block;
  min-width: 2.4rem;
  text-align: center;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  color: #0c1016;
  font-weight: 700;
  font-size: 0.82rem;
}

.score-pill.r-excellent { background: var(--rating-excellent); }
.score-pill.r-good      { background: var(--rating-good); }
.score-pill.r-marginal  { background: var(--rating-marginal); }
.score-pill.r-nogo      { background: var(--rating-nogo); color: #fff; }

.score-pill--day {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  min-width: 2.8rem;
  vertical-align: middle;
  border-radius: 8px;
  color: #fff;
}
.score-pill--day small {
  font-size: 0.6em;
  font-weight: 400;
  margin-left: 1px;
}

/* Level-based score pills (from LEVEL_META) */
.score-pill.lvl-0 { background: oklch(0.75 0.15 152); color: #0c1016; }
.score-pill.lvl-1 { background: oklch(0.82 0.14 110); color: #0c1016; }
.score-pill.lvl-2 { background: oklch(0.80 0.15 70);  color: #0c1016; }
.score-pill.lvl-3 { background: oklch(0.67 0.21 25);  color: #fff; }

/* ── Limitierender Faktor (innerhalb .assessment) ─────────────────────────── */
.limiting-factor {
  margin-top: 0.7rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border-left: 4px solid transparent;
  background: rgba(255,255,255,0.05);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
}
.limiting-factor.lvl-1 { border-left-color: oklch(0.82 0.14 110); }
.limiting-factor.lvl-2 { border-left-color: oklch(0.80 0.15 70); background: rgba(255,160,40,0.07); }
.limiting-factor.lvl-3 { border-left-color: oklch(0.67 0.21 25); background: rgba(220,60,40,0.08); }
.limiting-factor strong { color: var(--text); }

/* ── Worauf achten (Watch-Liste) ──────────────────────────────────────────── */
.watch-list {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 1rem;
}
.watch-list h4 {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.watch-list--all-ok {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  padding: 0.6rem 0.9rem;
}
.watch-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.45rem 0.6rem;
  border-radius: 9px;
  margin-bottom: 0.35rem;
  border-left: 4px solid transparent;
  background: rgba(255,255,255,0.06);
  font-size: 0.9rem;
}
.watch-row.lvl-1 { border-left-color: oklch(0.82 0.14 110); }
.watch-row.lvl-2 { border-left-color: oklch(0.80 0.15 70); }
.watch-row.lvl-3 { border-left-color: oklch(0.67 0.21 25); background: rgba(220,60,40,0.08); }
.watch-icon { flex-shrink: 0; margin-top: 3px; }
.watch-body { flex: 1; min-width: 0; }
.watch-body small { color: rgba(255,255,255,0.72); }

/* ── Föhn-Druckgradient-Chart ─────── */
.foehn-chart-wrap {
  position: relative;
  height: 160px;
  margin: 0.45rem -2px 0.35rem;
}
.foehn-chart-wrap canvas {
  display: block;
  position: absolute;
  top: 0; left: 0;
}
.foehn-axis-lbl {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}
.foehn-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.foehn-dir-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 10px;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.foehn-dir-chip--nord { background: rgba(96,165,250,0.18); color: #60a5fa; }
.foehn-dir-chip--süd  { background: rgba(251,146,60,0.18);  color: #fb923c; }

.foehn-live {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 6px 8px 6px 11px;
  margin: 0.35rem 0 0;
  background: rgba(34,197,94,0.05);
  border-left: 3px solid #22c55e;
  border-radius: 0 5px 5px 0;
}
.foehn-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #22c55e;
  flex-shrink: 0;
}
.foehn-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  animation: foehn-blink 2s infinite;
}
@keyframes foehn-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.foehn-live-val {
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.foehn-live-val--nord { color: #60a5fa; }
.foehn-live-val--süd  { color: #fb923c; }
.foehn-live-axis-pair {
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 1px 7px;
}
.foehn-live-dir {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.70);
}
.foehn-live-meta {
  font-size: 0.70rem;
  color: var(--muted);
  flex-basis: 100%;
  margin-top: -2px;
}

.watch-ok-footer {
  margin: 0.5rem 0 0;
  padding: 0 0.3rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.ua-section-label--red { color: oklch(0.67 0.21 25); opacity: 0.85; }
.safety-ok-card {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 9px;
  padding: 10px 14px;
  margin-bottom: 0.35rem;
}
.safety-ok-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8px;
}
@media (max-width: 420px) { .safety-ok-grid { grid-template-columns: 1fr; } }
.safety-ok-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.80rem;
  color: rgba(255,255,255,0.80);
  padding: 3px 0;
  line-height: 1.3;
  min-width: 0;
}
.safety-ok-check { color: oklch(0.75 0.15 152); font-size: 12px; font-weight: 700; flex-shrink: 0; }
.safety-ok-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Alle Einzelkriterien (aufklappbare Tabelle) ──────────────────────────── */
.criteria-details {
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.criteria-details > summary {
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.criteria-details > summary::-webkit-details-marker { display: none; }
.criteria-details > summary::before { content: "▶ "; font-size: 0.7em; }
.criteria-details[open] > summary::before { content: "▼ "; }
.criteria-table-wrap { overflow-x: auto; padding: 0 1rem 1rem; }
.criteria-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.criteria-table th {
  text-align: left;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  white-space: nowrap;
}
.criteria-table td {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: middle;
  white-space: nowrap;
}
.criteria-table td.crit-val { white-space: normal; max-width: 13rem; font-size: 0.81rem; overflow-wrap: break-word; }
@media (max-width: 600px) {
  .criteria-table { font-size: 0.80rem; }
  .criteria-table td { white-space: normal; overflow-wrap: break-word; }
  .criteria-table td.crit-val,
  .criteria-table th:last-child { display: none; }
}
.criteria-table tr.lvl-2 td:first-child { color: oklch(0.80 0.15 70); }
.criteria-table tr.lvl-3 td:first-child { color: oklch(0.67 0.21 25); }
/* ── v124: Criteria-Gruppenzeilen ─────────────────────────────────────────── */
.criteria-table tr.crit-grp-hdr td {
  background: rgba(255,255,255,0.04);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  padding: 0.45rem 0.6rem 0.3rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
}
.criteria-table tbody tr.crit-grp-hdr:first-child td { border-top: none; }
.crit-grp-pill { display: inline-flex; align-items: center; gap: 6px; }
.crit-grp-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.crit-ok { text-align: center; }
.crit-val { color: rgba(255,255,255,0.75); }
.crit-thresh { color: var(--muted); white-space: normal; font-size: 0.8rem; }

.manual-checks li {
  border-bottom: none !important;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Windprofil-Box ───────────────────────────────────────────────────────── */
/* ── Großwetterlage ──────────────────────────────────────────────────────── */
.synoptic-box {
  margin: 1.2rem 0;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 0.6rem;
  background: var(--glass-bg, rgba(255,255,255,0.04));
  overflow: hidden;
}
.synoptic-box h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0.6rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.10));
}
.synoptic-right { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.synoptic-type-toggle {
  display: flex;
  border-radius: 0.28rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.13);
}
.synoptic-type {
  background: rgba(255,255,255,0.04);
  border: none;
  border-right: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.38);
  font-size: 0.58rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.5rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.synoptic-type:last-child { border-right: none; }
.synoptic-type:hover { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.72); }
.synoptic-type.active { background: rgba(255,255,255,0.16); color: rgba(255,255,255,0.95); }
.synoptic-chips { display: flex; flex-wrap: wrap; gap: 0.28rem; }
.synoptic-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 0.28rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.58rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.42rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.synoptic-chip:hover { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); }
.synoptic-chip.active {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.9);
}
.synoptic-img-wrap { padding: 0.6rem 0.7rem 0.3rem; }
.synoptic-img-wrap img { width: 100%; height: auto; display: block; border-radius: 0.25rem; }
.synoptic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0.9rem 0.45rem;
  gap: 0.5rem;
}
.synoptic-credit {
  font-size: 0.62rem;
  color: var(--muted);
  margin: 0;
}
.synoptic-credit a { color: inherit; }
.synoptic-analyze-btn {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.35rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.63rem;
  font-family: inherit;
  padding: 0.18rem 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  font-weight: 500;
}
.synoptic-analyze-btn:hover { background: rgba(255,255,255,0.16); }
.synoptic-analyze-btn:disabled { opacity: 0.45; cursor: default; }
.synoptic-analysis {
  margin: 0 0.7rem 0.7rem;
  padding: 0.7rem 0.8rem;
  background: rgba(255,255,255,0.04);
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.synoptic-analysis p { margin: 0; font-size: 0.8rem; line-height: 1.55; color: rgba(255,255,255,0.82); }
.synoptic-analysis-loading { opacity: 0.55 !important; }
.synoptic-analysis-error { color: oklch(0.70 0.18 28) !important; }
.synoptic-err { font-size: 0.75rem; color: var(--muted); text-align: center; padding: 1.5rem; margin: 0; }

.wind-profile-box {
  margin: 1.2rem 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 0.6rem;
  background: var(--glass-bg, rgba(255,255,255,0.04));
}
.wind-profile-box h4 {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.wp-rows { display: flex; flex-direction: column; gap: 6px; }
.wp-row {
  display: grid;
  grid-template-columns: 72px 18px 1fr 60px;
  align-items: center;
  gap: 8px;
}
.wp-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.2;
}
.wp-arrow { display: flex; justify-content: center; color: rgba(255,255,255,0.8); }
.wp-bar-bg {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.10);
  position: relative;
  overflow: hidden;
}
.wp-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 4px;
}
.wp-speed {
  font-size: 0.8rem;
  font-weight: 500;
  text-align: right;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wp-speed small { color: var(--muted); font-size: 0.65rem; }
.wp-dir { color: var(--muted); font-size: 0.7rem; margin-left: 2px; }
.wp-shear {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.5rem;
}
.wp-controls {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.wp-mode-btn {
  padding: 0.1rem 0.5rem;
  font-size: 0.6rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  line-height: 1.4;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 0.28rem;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.wp-mode-btn--active {
  background: rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.28);
}
.wp-mode-btn:hover { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); }
.wp-controls select,
.wp-controls button:not(.wp-mode-btn) {
  padding: 0.1rem 0.38rem;
  font-size: 0.6rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 0.28rem;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.wp-controls select:hover,
.wp-controls button:not(.wp-mode-btn):hover { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.72); }
.wp-controls select:focus { border-color: rgba(255,255,255,0.28); }
.wp-hint {
  margin: 0.25rem 0 0;
  font-size: 0.65rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  color: var(--muted);
}

/* ── Aktuelle Bedingungen ─────────────────────────────────────────────────── */
.current-box {
  margin: 1rem 0 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  backdrop-filter: blur(12px);
}
.current-src-btns {
  display: flex;
  gap: 3px;
  margin-left: auto;
}
.current-src-btn {
  font-family: var(--font-mono, "Geist Mono", monospace);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.current-src-btn--active {
  background: var(--accent, oklch(0.6 0.18 250));
  color: #fff;
  border-color: transparent;
}
.current-src-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.current-panel {
  margin-top: 0.15rem;
}
.current-station {
  font-size: 0.68rem;
  color: var(--muted);
  margin-left: 0.4rem;
}
.current-holfuy-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.current-box h4 {
  margin: 0 0 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.current-time {
  font-weight: 400;
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: 0;
}
.current-weather {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.current-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
}
.current-item {
  background: rgba(255,255,255,0.05);
  border-radius: 0.5rem;
  padding: 0.45rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.current-label {
  font-size: 0.63rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.current-value {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}
.current-value small {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}

/* ── INCA Nowcast Trend-Strip ─────────────────────────────────────────────── */
.inca-trend {
  margin-top: 0.75rem;
}
.inca-chart-legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.inca-legend-wind,
.inca-legend-gust {
  display: flex;
  align-items: center;
  gap: 5px;
}
.inca-legend-wind::before {
  content: '';
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: rgba(74,222,128,0.9);
}
.inca-legend-gust::before {
  content: '';
  display: block;
  width: 14px;
  height: 0;
  border-top: 2px dashed rgba(251,146,60,0.85);
}
.inca-chart-peak {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.inca-chart {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
  margin-top: 0.4rem;
}
.inca-chart-grid {
  stroke: rgba(128,128,128,0.15);
  stroke-width: 0.5;
}
.inca-chart-lbl {
  font-size: 7.5px;
  fill: var(--muted, #888);
  font-family: system-ui, -apple-system, sans-serif;
}
.inca-chart-gust-area { fill: rgba(251,146,60,0.18); }
.inca-chart-wind-area { fill: rgba(74,222,128,0.22); }
.inca-chart-gust-line {
  fill: none;
  stroke: rgba(251,146,60,0.85);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
  stroke-linecap: round;
}
.inca-chart-wind-line {
  fill: none;
  stroke: rgba(74,222,128,0.9);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.inca-edge-wind { fill: rgba(74,222,128,0.9); }
.inca-edge-gust { fill: rgba(251,146,60,0.85); }
.inca-chart-dot-wind {
  fill: rgba(74,222,128,0.9);
  stroke: none;
}
.inca-chart-dot-gust {
  fill: rgba(251,146,60,0.85);
  stroke: none;
}
.inca-dot-group { cursor: default; }
.inca-dot-tip { visibility: hidden; pointer-events: none; }
.inca-dot-group:hover .inca-dot-tip { visibility: visible; }

/* Nowcast-Markierungen im INCA-Chart */
.inca-chart-lbl--future { fill: rgba(94,171,247,0.75); }
.inca-now-line {
  stroke: rgba(255,255,255,0.35);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.inca-now-lbl {
  font-size: 6.5px;
  fill: rgba(255,255,255,0.45);
  font-family: system-ui, -apple-system, sans-serif;
}
.inca-nowcast-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1em 0.45em;
  background: rgba(94,171,247,0.12);
  border: 1px solid rgba(94,171,247,0.25);
  border-radius: 0.3em;
  color: rgba(94,171,247,0.85);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.inca-tip-bg {
  fill: #1a1d24;
  stroke: rgba(255,255,255,0.12);
  stroke-width: 0.5;
}
.inca-tip-txt {
  font-size: 8px;
  fill: #e0e0e0;
  font-family: system-ui, -apple-system, sans-serif;
}

/* ── Holfuy-Widget ────────────────────────────────────────────────────────── */
.holfuy-widget {
  margin: 0 0 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  backdrop-filter: blur(12px);
}
.holfuy-header {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.holfuy-link {
  font-size: 0.68rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.holfuy-station-link {
  font-size: 0.68rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 400;
  white-space: nowrap;
  margin-left: 0.3rem;
}
.holfuy-stations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .holfuy-stations { grid-template-columns: 1fr; }
}
.holfuy-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.75rem;
}
.holfuy-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}
.holfuy-card-name {
  font-size: 0.8rem;
  font-weight: 600;
}
.holfuy-card-time {
  font-size: 0.65rem;
  color: var(--muted);
}
.holfuy-wind-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.holfuy-wind-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.holfuy-wind-dir {
  font-size: 0.78rem;
  font-weight: 600;
}
.holfuy-wind-spd {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
}
.holfuy-wind-sub {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.1rem;
}
.holfuy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}
.holfuy-item {
  background: rgba(255,255,255,0.05);
  border-radius: 0.4rem;
  padding: 0.35rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.holfuy-item-label {
  font-size: 0.6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.holfuy-item-val {
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── Regenradar-Box ───────────────────────────────────────────────────────── */
.radar-box {
  margin: 0 0 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  backdrop-filter: blur(12px);
}
.radar-box h4 {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.radar-credit {
  font-weight: 400;
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: 0;
}
.radar-credit a { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; transition: color 0.15s; }
.radar-credit a:hover { color: rgba(255,255,255,0.85); }
.radar-map {
  height: 300px;
  border-radius: 0.4rem;
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.radar-controls {
  display: flex;
  align-items: center;
  gap: 0.22rem;
}
.radar-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 0.28rem;
  color: rgba(255,255,255,0.45);
  padding: 0.1rem 0.38rem;
  cursor: pointer;
  font-size: 0.6rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.radar-btn:hover { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); }
.radar-btn--active { background: rgba(94,171,247,0.18); border-color: rgba(94,171,247,0.40); color: rgba(94,171,247,0.9); }
.radar-controls-divider {
  width: 1px;
  height: 0.9rem;
  background: rgba(255,255,255,0.13);
  margin: 0 0.08rem;
  flex-shrink: 0;
}
.radar-time {
  margin-left: auto;
  font-size: 0.6rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  color: var(--muted);
  min-width: 5rem;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}
.radar-nowcast-chip {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  background: rgba(94,171,247,0.18);
  border: 1px solid rgba(94,171,247,0.3);
  border-radius: 999px;
  color: rgba(94,171,247,0.9);
  font-family: system-ui, -apple-system, sans-serif;
}
.radar-sat-chip {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  background: rgba(167,139,250,0.18);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 999px;
  color: rgba(167,139,250,0.9);
  font-family: system-ui, -apple-system, sans-serif;
}
.radar-status {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}


/* ── Karten-Box ───────────────────────────────────────────────────────────── */
.map-box {
  margin: 1.2rem 0;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 0.6rem;
  overflow: hidden;
  background: var(--glass-bg, rgba(255,255,255,0.04));
}
.map-box h4 {
  margin: 0;
  padding: 0.7rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}
.map-title {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.map-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .map-controls {
    flex: 0 0 100%;
  }
}
#site-map {
  height: 300px;
}
#site-map-dhv {
  height: 600px;
}
.dhv-radius-select {
  font-size: 0.72rem;
  background: var(--glass-bg, rgba(255,255,255,0.08));
  color: inherit;
  border: 1px solid var(--border, rgba(255,255,255,0.18));
  border-radius: 0.3rem;
  padding: 0.1rem 0.35rem;
  cursor: pointer;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.map-fullscreen-btn {
  font-size: 0.88rem;
  line-height: 1;
  background: none;
  border: 1px solid rgba(128,128,128,0.35);
  border-radius: 0.3rem;
  padding: 0.05rem 0.3rem;
  cursor: pointer;
  color: inherit;
  margin-left: 0.2rem;
}
.map-fullscreen-btn:hover {
  background: rgba(128,128,128,0.18);
}
.map-box:fullscreen,
.map-box:-webkit-full-screen {
  display: flex;
  flex-direction: column;
  background: var(--bg, #0f1117);
}
.map-box:fullscreen #site-map-dhv,
.map-box:-webkit-full-screen #site-map-dhv {
  flex: 1;
  height: auto !important;
}
.thermal-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  cursor: pointer;
  margin-left: 0.5rem;
  vertical-align: middle;
  border: 1px solid var(--border, rgba(255,255,255,0.18));
  border-radius: 0.3rem;
  padding: 0.1rem 0.45rem;
  background: var(--glass-bg, rgba(255,255,255,0.08));
  user-select: none;
}
.thermal-toggle-label input[type="checkbox"] {
  accent-color: var(--accent, #60a5fa);
  width: 0.75rem;
  height: 0.75rem;
  cursor: pointer;
}
.dhv-marker {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  line-height: 1;
}
.score-day-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem 1.1rem;
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
  background: var(--glass-bg, rgba(255,255,255,0.02));
}
.score-day-tabs[hidden] {
  display: none;
}
.score-day-tab {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--glass-bg, rgba(255,255,255,0.06));
  color: var(--muted);
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 0.3rem;
  padding: 0.18rem 0.65rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1.5;
}
.score-day-tab:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text, #fff);
}
.score-day-tab.active {
  background: rgba(96,165,250,0.18);
  color: #60a5fa;
  border-color: rgba(96,165,250,0.35);
}
.score-map-status {
  font-size: 0.72rem;
  color: var(--muted);
  align-self: center;
  margin-left: 0.4rem;
  font-style: italic;
}

.manual-checks-box {
  margin: 1.2rem 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 0.6rem;
  background: var(--glass-bg, rgba(255,255,255,0.04));
}
.manual-checks-box h4 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ── Sites (OpenAIP) ──────────────────────────────────────────────────────── */
.sites-box {
  margin: 1.2rem 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 0.6rem;
  background: var(--glass-bg, rgba(255,255,255,0.04));
}
.sites-box h4 {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.sites-list { margin: 0; }

.site-card {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
}
.site-card:last-child { border-bottom: none; }

.site-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.site-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  flex: 1;
  min-width: 0;
}
.site-card__meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.dir-pills { display: flex; flex-wrap: wrap; gap: 0.25rem; flex-shrink: 0; }
.dir-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(94,171,247,0.13);
  border: 1px solid rgba(94,171,247,0.38);
  color: var(--accent);
  white-space: nowrap;
}

.hour-strip {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hs-label {
  font-size: 10px;
  color: var(--muted);
  min-width: 16px;
  font-variant-numeric: tabular-nums;
}
.hs-label--right { text-align: right; }
.hs-blocks { display: flex; gap: 2px; flex: 1; }
.hs-blocks--ticks { flex-direction: column; gap: 0; }
.hs-tick-row { display: flex; gap: 2px; height: 8px; align-items: flex-end; margin-bottom: 2px; }
.hs-tick { flex: 1; }
.hs-tick--now::after {
  content: '';
  display: block;
  width: 0; height: 0;
  margin: 0 auto;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text);
  opacity: 0.7;
}
.hs-block-row { display: flex; gap: 2px; }
.hs-block {
  flex: 1;
  height: 8px;
  border-radius: 2px;
  cursor: default;
}
.hs-block.hs-past { opacity: 0.28; }
.hs-block.hs-now  { box-shadow: 0 0 0 2px var(--text); }

.site-status-info {
  margin-top: 5px;
  font-size: 0.72rem;
  line-height: 1.35;
  min-height: 1.35em;
  color: var(--muted);
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
}
.site-status-info[data-lvl="0"]    { color: #4ade80; }
.site-status-info[data-lvl="1"]    { color: #fb923c; }
.site-status-info[data-lvl="2"]    { color: #f87171; }
.site-status-info[data-lvl="calm"] { color: var(--muted); }
.hs-ok   { background: #4ade80; }
.hs-warn { background: #fb923c; }
.hs-off  { background: #f87171; }
.hs-calm { background: rgba(255,255,255,0.18); }

.override-badge {
  font-size: 0.70rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.16);
  vertical-align: middle;
}

.sites-note { color: var(--muted); font-size: 0.82rem; margin: 0.5rem 0 0; }

/* ── Sounding / Emagram ───────────────────────────────────────────────────── */
.sounding {
  margin: 1.2rem 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 0.6rem;
  background: var(--glass-bg, rgba(255,255,255,0.04));
}
.sounding h4 {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.sounding-controls {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  margin-bottom: 0.6rem;
}

.sounding-controls label {
  font-size: 0.6rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  color: var(--muted);
  margin-right: 0.1rem;
}

.sounding-controls select {
  padding: 0.1rem 0.38rem;
  font-size: 0.6rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 0.28rem;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.sounding-controls select:hover { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.72); }
.sounding-controls select:focus { border-color: rgba(255,255,255,0.28); }

.sounding-controls button {
  padding: 0.1rem 0.38rem;
  font-size: 0.6rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  line-height: 1.4;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 0.28rem;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.sounding-controls button:hover { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); }

#emagram-plot {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  padding: 0.5rem;
}

#emagram-verdict { font-weight: 600; }

.sounding-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.55rem;
}
.sounding .sounding-analyze-btn {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.35rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.63rem;
  font-family: inherit;
  padding: 0.18rem 0.55rem;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  font-weight: 500;
}
.sounding .sounding-analyze-btn:hover { background: rgba(255,255,255,0.16); }
.sounding .sounding-analyze-btn:disabled { opacity: 0.45; cursor: default; }
.sounding-ai-result {
  margin-top: 0.6rem;
  padding: 0.7rem 0.8rem;
  background: rgba(255,255,255,0.04);
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.sounding-ai-result p { margin: 0; font-size: 0.8rem; line-height: 1.55; color: rgba(255,255,255,0.82); }
.sounding-ai-loading { opacity: 0.55 !important; }
.sounding-ai-error { color: oklch(0.70 0.18 28) !important; }

/* ── Höhenprofil ──────────────────────────────────────────────────────────── */
.hp-widget {
  margin: 1.2rem 0;
  padding: 0.9rem 1.1rem 1.1rem;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 0.6rem;
  background: var(--glass-bg, rgba(255,255,255,0.04));
}
.hp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.hp-header h4 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex; align-items: center; gap: 0.4rem;
}
.hp-toggle-row { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: var(--muted); }
.hp-toggle-row input { cursor: pointer; }
.hp-toggle-row label { cursor: pointer; user-select: none; }

.hp-grid-scroll { overflow-x: auto; }
.hp-grid-wrap { min-width: 640px; position: relative; }

.hp-hour-row { display: grid; }
.hp-hour-row div {
  text-align: center; font-size: 0.66rem; color: var(--muted);
  padding-bottom: 0.3rem; font-variant-numeric: tabular-nums;
}
.hp-hour-row div:first-child { visibility: hidden; }

.hp-rows-wrap { position: relative; }
.hp-overlay-svg { position: absolute; top: 0; bottom: 0; left: 110px; width: calc(100% - 110px); height: 100%; pointer-events: none; z-index: 2; }

.hp-row { display: grid; position: relative; border-top: 1px solid rgba(255,255,255,0.06); }
.hp-alt-label {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  padding-right: 0.6rem; font-size: 0.68rem; color: var(--muted);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hp-alt-hpa { font-size: 0.55rem; opacity: 0.6; }
.hp-cell {
  position: relative;
  height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.05);
}
.hp-cell-climb { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 6px); }
.hp-widget.hp-climb-off .hp-cell-climb { display: none; }
.hp-climb-val {
  position: absolute; top: 2px; left: 3px;
  font-size: 0.56rem; font-weight: 650; font-variant-numeric: tabular-nums;
}
.hp-arrow { width: 12px; height: 12px; display: block; filter: drop-shadow(0 0 1.5px rgba(10,8,6,0.7)); }
.hp-spd {
  position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%);
  font-size: 0.56rem; font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(10,8,6,0.75), 0 0 1px rgba(10,8,6,0.9);
}

.hp-legend {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.1rem;
  margin-top: 0.8rem; padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  font-size: 0.68rem; color: var(--muted);
}
.hp-legend span { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.hp-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.hp-dot-live { background: var(--rating-good); }
.hp-dot-approx { background: var(--rating-marginal); }
.hp-lg-line { width: 14px; height: 0; border-top: 2px solid; display: inline-block; }
.hp-lg-line.hp-lg-dashed { border-top-style: dashed; }
.hp-lg-swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; background: #d99a4e; }
.hp-wind-scale { display: inline-flex; gap: 1px; margin-left: 0.3rem; }
.hp-wind-scale i { width: 9px; height: 9px; display: inline-block; }
.hp-wind-scale-labels { font-size: 0.6rem; color: var(--muted-2, var(--muted)); margin-left: 0.3rem; }

.hp-note { margin: 0.6rem 0 0; font-size: 0.72rem; color: var(--muted); }


/* ── Briefing ─────────────────────────────────────────────────────────────── */
.briefing {
  margin: 0 0 1.2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
}

.briefing summary {
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.briefing-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 0.9rem 0.6rem;
  flex-wrap: wrap;
}

.briefing-actions button {
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.09);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
}

.briefing-actions button:hover { background: rgba(255,255,255,0.15); }

.briefing-html {
  margin: 0;
  padding: 1.1rem 1.4rem 1.4rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  border-radius: 0 0 12px 12px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}

.briefing-html h1 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  color: rgba(94,171,247,0.92);
}

.briefing-html h1 + p {
  color: var(--muted);
  font-size: 0.85rem;
  border-bottom: 2px solid rgba(94,171,247,0.25);
  padding-bottom: 0.7rem;
}

.briefing-html h2 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.08rem;
  color: rgba(94,171,247,0.92);
}

.briefing-html h3 {
  margin: 1.4rem 0 0.45rem;
  font-size: 0.98rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.briefing-html p { margin: 0.4rem 0; }
.briefing-html em { color: var(--muted); }

.briefing-html ul {
  margin: 0.3rem 0 0.7rem;
  padding-left: 1.25rem;
}

.briefing-html li { margin: 0.15rem 0; }

.briefing-html table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 0.8rem;
  font-size: 0.86rem;
}

.briefing-html th, .briefing-html td {
  border: 1px solid var(--border);
  padding: 0.35rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.briefing-html thead th {
  background: rgba(255,255,255,0.08);
  font-weight: 600;
}

.briefing-html tbody tr:nth-child(even) { background: rgba(255,255,255,0.04); }

.briefing-html code {
  background: rgba(255,255,255,0.10);
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
  font-family: "Geist Mono", ui-monospace, monospace;
}

.wind-dir { display: inline-block; font-size: 1rem; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a { color: rgba(94,171,247,0.75); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.sources-group { margin-bottom: 1.1rem; }
.sources-group-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 0.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 0.2rem;
}
.sources-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.6rem;
  padding: 0.3rem 0.2rem;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.sources-row:hover { background: rgba(255,255,255,0.04); }
.sources-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(94,171,247,0.90);
  white-space: nowrap;
}
.sources-desc {
  font-size: 0.78rem;
  color: var(--muted);
}
.app-version { color: rgba(255,255,255,0.3); font-size: 0.72rem; font-family: "Geist Mono", ui-monospace, monospace; }
.refresh-btn { background: none; border: none; color: rgba(255,255,255,0.3); font-size: 1rem; cursor: pointer; padding: 0 0.15rem; line-height: 1; vertical-align: middle; transition: color 0.15s; }
.refresh-btn:hover { color: rgba(255,255,255,0.7); }

/* Webcam widget */
.webcam-box { margin: 0 0 1.2rem; padding: 1rem 1.2rem; background: var(--card); border: 1px solid var(--border); border-radius: 0.8rem; backdrop-filter: blur(12px); }
.webcam-box h4 { margin: 0 0 0.75rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.webcam-header-right { display: flex; align-items: center; gap: 0.5rem; }
.webcam-credit,
.map-credit {
  font-weight: 400;
  font-size: 0.62rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}
.webcam-credit a,
.map-credit a { color: inherit; }
.webcam-analyze-btn { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.15); border-radius: 0.35rem; color: rgba(255,255,255,0.7); font-size: 0.63rem; font-family: inherit; padding: 0.18rem 0.5rem; cursor: pointer; transition: background 0.15s; line-height: 1.4; text-transform: none; letter-spacing: 0; font-weight: 500; }
.webcam-analyze-btn:hover { background: rgba(255,255,255,0.16); }
.webcam-analyze-btn:disabled { opacity: 0.45; cursor: default; }
.webcam-analysis { margin-top: 0.7rem; padding: 0.7rem 0.8rem; background: rgba(255,255,255,0.04); border-radius: 0.5rem; border: 1px solid rgba(255,255,255,0.08); }
.webcam-analysis p { margin: 0; font-size: 0.8rem; line-height: 1.55; color: rgba(255,255,255,0.82); }
.webcam-analysis-loading { opacity: 0.55 !important; }
.webcam-analysis-error { color: oklch(0.70 0.18 28) !important; }
.webcam-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.webcam-card { border-radius: 0.5rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.25); text-decoration: none; color: inherit; display: block; transition: border-color 0.2s; }
.webcam-card:hover { border-color: rgba(255,255,255,0.28); }
.webcam-thumb { position: relative; aspect-ratio: 16/9; background: rgba(0,0,0,0.45); overflow: hidden; }
.webcam-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.webcam-time { position: absolute; bottom: 4px; right: 5px; background: rgba(0,0,0,0.6); color: rgba(255,255,255,0.65); font-size: 0.6rem; font-family: "Geist Mono", ui-monospace, monospace; padding: 1px 4px; border-radius: 3px; line-height: 1.4; }
.webcam-info { padding: 0.4rem 0.6rem 0.45rem; }
.webcam-name { display: block; font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.webcam-city { display: block; font-size: 0.62rem; color: var(--muted); margin-top: 0.1rem; }

/* ── OGN-Flugverkehr-Box ──────────────────────────────────────────────────── */
.ogn-box { margin: 0 0 1.2rem; padding: 1rem 1.2rem; background: var(--card); border: 1px solid var(--border); border-radius: 0.8rem; backdrop-filter: blur(12px); }
.ogn-box h4 { margin: 0 0 0.7rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.ogn-header-right { display: flex; align-items: center; gap: 0.5rem; }
.ogn-radius { font-size: 0.68rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.ogn-credit { font-weight: 400; font-size: 0.7rem; text-transform: none; letter-spacing: 0; }
.ogn-credit a { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; transition: color 0.15s; }
.ogn-credit a:hover { color: rgba(255,255,255,0.85); }
.ogn-list { list-style: none; margin: 0; padding: 0; }
.ogn-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.ogn-row:last-child { border-bottom: none; }
.ogn-left { display: flex; flex-direction: column; gap: 0.18rem; min-width: 0; }
.ogn-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.15rem; flex-shrink: 0; margin-left: 0.75rem; }
.ogn-line1 { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.ogn-callsign { font-size: 0.82rem; font-weight: 600; font-family: "Geist Mono", ui-monospace, monospace; color: rgba(255,255,255,0.9); }
.ogn-badge { display: inline-block; font-size: 0.64rem; padding: 0.1rem 0.4rem; border-radius: 0.25rem; background: rgba(94,171,247,0.15); color: rgba(94,171,247,0.85); font-weight: 500; }
.ogn-badge--other { background: rgba(255,255,255,0.08); color: var(--muted); }
.ogn-stats { font-size: 0.75rem; color: var(--muted); }
.ogn-up { color: oklch(0.75 0.15 152); }
.ogn-dn { color: oklch(0.70 0.18 28); }
.ogn-flat { color: var(--muted); }
.ogn-dist { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.ogn-age { font-size: 0.68rem; color: var(--muted); }
.ogn-empty { margin: 0.5rem 0; font-size: 0.8rem; color: var(--muted); text-align: center; padding: 0.75rem 0; }
.ogn-controls { display: flex; align-items: center; gap: 0.28rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.ogn-select {
  padding: 0.12rem 0.4rem;
  font-size: 0.58rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 0.28rem;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ogn-select:hover { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.72); }
.ogn-select:focus { border-color: rgba(255,255,255,0.28); }
.ogn-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 0.28rem;
  color: rgba(255,255,255,0.45);
  padding: 0.12rem 0.45rem;
  cursor: pointer;
  font-size: 0.7rem;
  line-height: 1.4;
  margin-left: auto;
  transition: background 0.15s, color 0.15s;
}
.ogn-btn:hover { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.85); }
.ogn-pagination { display: flex; justify-content: center; align-items: center; gap: 0.22rem; margin-top: 0.6rem; }
.ogn-page-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 0.28rem;
  color: rgba(255,255,255,0.45);
  padding: 0.1rem 0.38rem;
  cursor: pointer;
  font-size: 0.6rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  min-width: 1.4rem;
  text-align: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ogn-page-btn:hover:not(:disabled) { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); }
.ogn-page-btn--active { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); color: rgba(255,255,255,0.9); }
.ogn-page-btn:disabled { opacity: 0.35; cursor: default; }

/* Changelog modal */
.app-version { background: none; border: none; font: inherit; color: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; transition: color 0.15s; }
.app-version:hover { color: rgba(255,255,255,0.8); }
.changelog-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; }
.changelog-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }
.changelog-dialog { position: relative; background: oklch(0.14 0.02 250 / 0.92); border: 1px solid var(--border); border-radius: 1rem; backdrop-filter: blur(24px); width: min(460px, 92vw); max-height: 72vh; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.changelog-header { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.changelog-header h3 { margin: 0; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.changelog-close { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 1rem; cursor: pointer; padding: 0.15rem 0.4rem; line-height: 1; transition: color 0.15s; }
.changelog-close:hover { color: rgba(255,255,255,0.9); }
.changelog-entries { overflow-y: auto; padding: 0.5rem 1.2rem 0.8rem; }
.cl-entry { padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cl-entry:last-child { border-bottom: none; }
.cl-version { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.85); font-family: "Geist Mono", ui-monospace, monospace; margin-bottom: 0.2rem; }
.cl-date { font-weight: 400; color: var(--muted); }
.cl-current .cl-version { color: oklch(0.78 0.14 152); }
.cl-entry ul { margin: 0; padding-left: 1.1rem; }
.cl-entry li { font-size: 0.73rem; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* App-Hilfe-Modal ("Wie ParaWeather bewertet") */
.app-help-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; }
.app-help-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }
.app-help-dialog {
  position: relative;
  background: oklch(0.14 0.02 250 / 0.94);
  border: 1px solid var(--border);
  border-radius: 1rem;
  backdrop-filter: blur(24px);
  width: min(680px, 92vw);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.app-help-header { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.3rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.app-help-header h3 { margin: 0; font-size: 0.92rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.app-help-close { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 1rem; cursor: pointer; padding: 0.15rem 0.4rem; line-height: 1; transition: color 0.15s; }
.app-help-close:hover { color: rgba(255,255,255,0.9); }
.app-help-content { overflow-y: auto; padding: 0.6rem 1.3rem 1.3rem; font-size: 0.88rem; line-height: 1.6; color: var(--text); }

.app-help-content h1 { font-size: 1.15rem; font-weight: 700; margin: 0.4em 0 0.5em; color: #fff; }
.app-help-content h2 { font-size: 1rem; font-weight: 700; margin: 1.3em 0 0.5em; color: var(--accent); border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 0.3em; }
.app-help-content h2:first-of-type { margin-top: 0.6em; }
.app-help-content h3 { font-size: 0.92rem; font-weight: 600; margin: 1em 0 0.4em; color: rgba(255,255,255,0.9); }
.app-help-content p { margin: 0.5em 0; }
.app-help-content ul { margin: 0.4em 0 0.7em; padding-left: 1.3em; }
.app-help-content li { margin: 0.25em 0; }
.app-help-content strong { color: #fff; }

.app-help-content table { width: 100%; border-collapse: collapse; font-size: 0.85em; margin: 0.5em 0 0.9em; }
.app-help-content th,
.app-help-content td { border: 1px solid rgba(255,255,255,0.12); padding: 0.35em 0.6em; text-align: left; vertical-align: top; }
.app-help-content thead th { background: rgba(255,255,255,0.08); font-weight: 600; }
.app-help-content tbody tr:nth-child(even) { background: rgba(255,255,255,0.04); }

@media (max-width: 600px) {
  .app-help-dialog { width: 96vw; max-height: 90vh; }
  .app-help-content { padding: 0.5rem 1rem 1rem; }
}

/* Update available banner */
.update-banner { position: sticky; top: 0; z-index: 200; background: oklch(0.52 0.16 150); color: #fff; padding: 0.55rem 1.2rem; display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: 0.85rem; font-weight: 500; }
.update-banner button { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.45); color: #fff; padding: 0.2rem 0.8rem; border-radius: 0.4rem; cursor: pointer; font-size: 0.8rem; font-family: inherit; transition: background 0.15s; }
.update-banner button:hover { background: rgba(255,255,255,0.35); }

.disclaimer {
  background: rgba(255,200,50,0.06);
  border: 1px solid rgba(255,200,50,0.14);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  color: rgba(255,220,100,0.72);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .days { grid-template-columns: 1fr 1fr; }
  .site-header { padding: 0 1rem; }
  .site-header h1 { font-size: 1.35rem; }
  .site-logo { width: 32px; height: 32px; }
  .brand-divider, .tagline { display: none; }
}

/* ── Help icon button ─────────────────────────────────────────────────────── */
.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  margin-left: 0.3em;
  padding: 0;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  border: 1.5px solid rgba(255,255,255,0.32);
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.12s, background 0.12s, color 0.12s;
  flex-shrink: 0;
  font-family: inherit;
}

.help-icon:hover,
.help-icon:focus-visible {
  opacity: 1;
  background: rgba(255,255,255,0.18);
  color: #fff;
  outline: none;
}

/* ── Help popover ─────────────────────────────────────────────────────────── */
.help-popover {
  position: absolute;
  z-index: 200;
  width: 360px;
  max-width: calc(100vw - 1rem);
  max-height: 60vh;
  overflow-y: auto;
  background: rgba(12,18,30,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  box-shadow: var(--shadow), 0 8px 30px rgba(0,0,0,0.55);
  padding: 0.85em 1em;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text);
}

.help-popover[hidden] { display: none; }

.help-popover h4 {
  margin: 0.8em 0 0.3em;
  font-size: 0.88rem;
  color: var(--accent);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 0.2em;
}

.help-popover h4:first-child { margin-top: 0; }

.help-popover p { margin: 0.35em 0; }

.help-popover ul {
  margin: 0.3em 0 0.5em;
  padding-left: 1.2em;
}

.help-popover li { margin: 0.15em 0; }

.help-popover pre {
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.5em 0.7em;
  font-size: 0.82em;
  overflow-x: auto;
  margin: 0.4em 0;
}

.help-popover table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84em;
  margin: 0.4em 0 0.6em;
}

.help-popover th,
.help-popover td {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.3em 0.5em;
  text-align: left;
  vertical-align: top;
}

.help-popover thead th {
  background: rgba(255,255,255,0.08);
  font-weight: 600;
}

.help-popover tbody tr:nth-child(even) { background: rgba(255,255,255,0.04); }

/* ── Help callouts ────────────────────────────────────────────────────────── */
.help-callout {
  border-left: 3px solid rgba(255,255,255,0.25);
  padding: 0.45em 0.7em;
  margin: 0.45em 0;
  border-radius: 0 6px 6px 0;
  background: rgba(255,255,255,0.06);
  font-size: 0.9em;
}

.help-callout-title {
  display: block;
  margin-bottom: 0.2em;
  font-size: 0.9em;
}

.help-callout-warning  { border-left-color: oklch(0.80 0.15 76);  background: rgba(255,190,40,0.07); }
.help-callout-danger   { border-left-color: oklch(0.67 0.21 25);  background: rgba(220,60,40,0.07); }
.help-callout-info     { border-left-color: rgba(94,171,247,0.6); background: rgba(94,171,247,0.06); }
.help-callout-tip      { border-left-color: oklch(0.75 0.15 152); background: rgba(50,200,100,0.06); }
.help-callout-success  { border-left-color: oklch(0.75 0.15 152); background: rgba(50,200,100,0.06); }
.help-callout-important { border-left-color: rgba(180,140,255,0.6); background: rgba(140,100,255,0.06); }
.help-callout-example  { border-left-color: var(--muted); }
.help-callout-abstract { border-left-color: rgba(94,171,247,0.6); background: rgba(94,171,247,0.06); }
.help-callout-note     { border-left-color: rgba(94,171,247,0.6); background: rgba(94,171,247,0.06); }

.help-formula {
  font-family: "Geist Mono", ui-monospace, "Cascadia Code", "Fira Mono", monospace;
  font-size: 0.88em;
  background: rgba(255,255,255,0.10);
  padding: 0.05em 0.35em;
  border-radius: 4px;
}

.help-skeleton,
.help-error {
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

.help-video-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.help-video-cta a {
  font-size: 0.8rem;
  color: rgba(94,171,247,0.9);
  text-decoration: none;
}
.help-video-cta a:hover { text-decoration: underline; }
.help-video-yt { width: 22px; height: 15px; flex-shrink: 0; border-radius: 3px; }

.help-toc {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin: 0.5em 0 1.2em;
}
.help-toc ul { list-style: none; margin: 0; padding: 0; column-count: 2; column-gap: 1rem; }
.help-toc li { margin: 0.22em 0; break-inside: avoid; }
.help-toc-link { font-size: 0.82rem; color: rgba(94,171,247,0.85); text-decoration: none; }
.help-toc-link:hover { text-decoration: underline; }

.help-videos-gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0.4em 0 1.2em;
}
.help-video-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.help-video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
}
.help-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.help-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: rgba(0,0,0,0.3);
  transition: background 0.15s;
}
.help-video-card:hover .help-video-play-btn { background: rgba(0,0,0,0.5); }
.help-video-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text);
}
.help-video-card iframe {
  display: none;
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}
.help-video-card.help-video-open .help-video-thumb { display: none; }
.help-video-card.help-video-open iframe { display: block; }
@media (min-width: 520px) {
  .help-videos-gallery { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .help-popover {
    left: 0.5rem !important;
    right: 0.5rem !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* ── Settings-Trigger im Footer ───────────────────────────────────── */
.settings-trigger-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.88rem;
  padding: 0;
  line-height: 1;
  transition: color 0.15s;
}
.settings-trigger-btn:hover { color: var(--text); }
.export-trigger-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  padding: 0;
  line-height: 1;
  transition: color 0.15s;
}
.export-trigger-btn:hover:not(:disabled) { color: var(--text); }
.export-trigger-btn:disabled { opacity: 0.35; cursor: default; }

/* ── Settings Overlay & Dialog ────────────────────────────────────── */
.settings-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.settings-overlay.open { display: flex; }
.settings-dialog {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  width: min(420px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.settings-header h2 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.settings-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  border-radius: 0.3rem;
  transition: color 0.15s, background 0.15s;
}
.settings-close:hover { color: var(--text); background: rgba(255,255,255,0.08); }
.settings-body { padding: 1.2rem; }
.settings-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.settings-key-row {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.settings-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  color: var(--text);
  font-size: 0.82rem;
  font-family: 'Geist Mono', monospace;
  padding: 0.55rem 0.7rem;
  outline: none;
  transition: border-color 0.15s;
  min-width: 0;
}
.settings-input:focus { border-color: var(--accent); }
.settings-input::placeholder { color: rgba(255,255,255,0.25); }
.settings-icon-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.45rem 0.65rem;
  font-size: 0.88rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.settings-icon-btn:hover { background: rgba(255,255,255,0.13); color: var(--text); }
.settings-key-status {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  min-height: 1em;
}
.settings-key-status--ok  { color: oklch(0.75 0.15 152); }
.settings-key-status--warn { color: var(--muted); }
.settings-hint {
  margin: 0.7rem 0 0;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.55;
}
.settings-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.settings-btn {
  padding: 0.45rem 1rem;
  border-radius: 0.4rem;
  font-size: 0.83rem;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.settings-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0f172a;
  font-weight: 600;
}
.settings-btn--primary:hover { filter: brightness(1.1); }
.settings-btn--secondary {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
}
.settings-btn--secondary:hover { background: rgba(255,255,255,0.12); color: var(--text); }
.settings-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Settings tabs ────────────────────────────────────────────────── */
.settings-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 1.2rem;
}
.settings-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: inherit;
  padding: 0.6rem 0.8rem;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.settings-tab--active {
  color: var(--text);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.settings-tab-panel[hidden] { display: none; }

/* ── Profile panel ───────────────────────────────────────────────── */
.profile-select-row {
  margin-bottom: 0.5rem;
}
.profile-select-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
}
.profile-select {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  color: var(--text);
  font-size: 0.83rem;
  font-family: inherit;
  padding: 0.45rem 0.6rem;
  min-width: 0;
}
.profile-active-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.profile-top-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.6rem 0 0.8rem;
}
.profile-form-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}
#profile-fields-container {
  max-height: 38vh;
  overflow-y: auto;
  padding-right: 0.2rem;
}
.profile-group { margin-bottom: 0.9rem; }
.profile-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.profile-fields-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.6rem;
  align-items: center;
}
.profile-field-label {
  font-size: 0.78rem;
  color: var(--text);
}
.profile-field-input {
  width: 5.2rem;
  padding: 0.25rem 0.45rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  color: var(--text);
  font-size: 0.8rem;
  font-family: 'Geist Mono', monospace;
  text-align: right;
}
.profile-field-input:focus { outline: none; border-color: var(--accent); }
.profile-field-input[readonly] { opacity: 0.45; cursor: not-allowed; }

/* Profile-Badge in der Tagesansicht */
.profile-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2em 0.55em;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
  border-radius: 0.35em;
  color: var(--muted);
  margin-left: 0.4em;
  vertical-align: middle;
  white-space: nowrap;
}

/* ── Modell- und Live-Chips ───────────────────────────────────────── */
.model-chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15em 0.55em;
  background: rgba(94,171,247,0.12);
  border: 1px solid rgba(94,171,247,0.25);
  border-radius: 0.35em;
  color: rgba(94,171,247,0.9);
  margin-left: 0.4em;
  vertical-align: middle;
  white-space: nowrap;
  cursor: default;
}

.live-chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15em 0.55em;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: 0.35em;
  color: rgba(52,211,153,0.95);
  margin-left: 0.4em;
  vertical-align: middle;
  white-space: nowrap;
  letter-spacing: 0.03em;
  cursor: default;
}

/* ── AI no-key error ──────────────────────────────────────────────── */
.ai-error-nokey {
  color: var(--muted);
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0;
}
.ai-error-settings-link {
  background: none;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: inherit;
  padding: 0.2rem 0.5rem;
  transition: background 0.15s;
}
.ai-error-settings-link:hover { background: rgba(255,255,255,0.08); }

/* ── v77: Erwartungs-Skala (Thermik) ────────────────────────────────────── */
.watch-row--exp { border-left-color: oklch(0.55 0.16 250); }
.watch-row--exp.lvl-0 { border-left-color: oklch(0.75 0.15 152); }
.watch-row--exp.lvl-1 { border-left-color: oklch(0.82 0.14 110); }
.watch-row--exp.lvl-2 { border-left-color: oklch(0.80 0.15 70);  }
.watch-row--exp.lvl-3 { border-left-color: oklch(0.67 0.21 25);  }
.exp-label {
  display: inline-block;
  padding: 0.1em 0.45em;
  border-radius: 0.3em;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.exp-gut     { background: rgba(74,222,128,0.15); color: oklch(0.75 0.15 152); }
.exp-maessig { background: rgba(96,165,250,0.15); color: oklch(0.70 0.13 245); }
.exp-schwach { background: rgba(99,102,241,0.18); color: oklch(0.60 0.16 268); }
.crit-row--exp td:first-child { color: oklch(0.65 0.13 245); }
.crit-ok-na { color: var(--muted); font-size: 0.9em; }

/* ── v77: ⓘ Grenzwert-Tooltip ───────────────────────────────────────────── */
.crit-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 0.3em;
  color: var(--muted);
  cursor: pointer;
  vertical-align: middle;
  user-select: none;
  flex-shrink: 0;
  transition: color 0.15s;
}
.crit-info:hover, .crit-info--open { color: var(--accent); }
.crit-tooltip--fixed {
  position: fixed;
  background: #0f1e2e;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 0.4rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  max-width: min(300px, calc(100vw - 20px));
  white-space: pre-line;
  line-height: 1.4;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.75);
  z-index: 9999;
  pointer-events: none;
}
.crit-tooltip--fixed[hidden] { display: none; }

/* ── v77: Flugfenster-Transparenzhinweis ─────────────────────────────────── */
.window-hint {
  margin: 0.5rem 0 0;
  padding: 0.45rem 0.7rem;
  border-radius: 0.4rem;
  background: rgba(96,165,250,0.09);
  border-left: 3px solid oklch(0.65 0.16 235);
  font-size: 0.84rem;
  color: oklch(0.75 0.13 245);
  line-height: 1.4;
}

/* XC-Chip: markiert Kriterien/Hinweise, die nur die Streckenflug-Sicht betreffen */
.xc-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.35rem;
  border-radius: 0.3rem;
  background: oklch(0.55 0.16 265 / 0.22);
  border: 1px solid oklch(0.62 0.15 265 / 0.55);
  color: oklch(0.78 0.12 265);
  font-weight: 700;
  font-size: 0.66rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
  vertical-align: 0.1em;
}

.xc-chip--card {
  font-size: 0.62rem;
  color: oklch(0.72 0.13 60);
  background: oklch(0.62 0.15 60 / 0.16);
  border-color: oklch(0.68 0.14 60 / 0.5);
}

.watch-xc-hint {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: oklch(0.75 0.11 265);
}

/* XC-Hinweis im Hero: Startbar-Verdikt gut, Streckenflug-Sicht schlechter */
.hero-xc-note {
  margin: 0.35rem 0 0;
  padding: 0.4rem 0.65rem;
  border-radius: 0.4rem;
  background: oklch(0.55 0.16 265 / 0.10);
  border-left: 3px solid oklch(0.62 0.15 265);
  font-size: 0.83rem;
  color: oklch(0.78 0.11 265);
  line-height: 1.4;
}

/* ── v79: Konvektionsrisiko (probabilistisch) ────────────────────────────── */
.watch-row--prob { border-left-color: oklch(0.82 0.14 110); border-left-style: dashed; }

/* ── Storm-Group (aufklappbares Gewitterrisiko-Tile) ─────────────────────── */
.storm-group {
  border-radius: 9px;
  margin-bottom: 0.35rem;
  border-left: 4px solid oklch(0.82 0.14 110);
  border-left-style: dashed;
  background: rgba(255,255,255,0.06);
  font-size: 0.9rem;
  overflow: hidden;
}
.storm-group.lvl-0 { border-left-color: oklch(0.75 0.15 152); }
.storm-group.lvl-1 { border-left-color: oklch(0.82 0.14 110); }
.storm-group.lvl-2 { border-left-color: oklch(0.80 0.15 70); }
.storm-group.lvl-3 { border-left-color: oklch(0.67 0.21 25); background: rgba(220,60,40,0.08); }
.storm-group__summary {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.storm-group__summary::-webkit-details-marker { display: none; }
.storm-group__chevron {
  flex-shrink: 0;
  align-self: center;
  margin-left: auto;
  padding-left: 0.5rem;
  font-size: 1.1em;
  color: var(--fg);
  opacity: 0.6;
  transition: transform 0.15s;
}
.storm-group[open] .storm-group__chevron { transform: rotate(90deg); }
.storm-group__entries {
  padding: 0 0.6rem 0.4rem 0.6rem;
}
.watch-row--sub {
  background: rgba(255,255,255,0.03);
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

.storm-group__strip { padding: 0 0.6rem 0.6rem; }
/* Stündliche Balkenstrips in der Tageseinschätzung */
.ua-hstrip {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.45rem;
  padding-top: 7px;
}
.ua-hstrip-lbl {
  font-size: 10px;
  color: var(--muted);
  line-height: 1;
  min-width: 16px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.ua-hstrip-lbl--r { text-align: right; }
.ua-hstrip-bars {
  display: flex;
  gap: 2px;
  flex: 1;
  align-items: center;
}
.ua-hstrip-bar {
  flex: 1;
  height: 8px;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: filter 0.1s;
}
.ua-hstrip-bar:hover { filter: brightness(1.35); }
.ua-hstrip-bar--now::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text);
  opacity: 0.7;
}
.ua-hstrip-bar.lvl-0 { background: oklch(0.75 0.15 152); }
.ua-hstrip-bar.lvl-1 { background: oklch(0.82 0.14 110); }
.ua-hstrip-bar.lvl-2 { background: oklch(0.80 0.15 70);  }
.ua-hstrip-bar.lvl-3 { background: oklch(0.67 0.21 25);  }
.ua-hstrip-hover {
  min-height: 2.6rem;
  padding: 0.3rem 0 0.2rem;
  border-top: 1px solid rgba(120,160,220,0.1);
  margin-top: 0.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ua-hstrip-hover-ph { font-size: 0.76rem; color: rgba(255,255,255,0.28); }
.ua-hstrip-hover-time { font-size: 0.82rem; font-weight: 600; color: #c0d4f0; margin-bottom: 0.15rem; }
.ua-hstrip-hover-detail { font-size: 0.78rem; color: rgba(255,255,255,0.78); white-space: pre-line; }

/* Konvektions-Erklärpanel */
.ua-hstrip-hover--conv { min-height: auto; }
.conv-explain-summary {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.82);
  margin: 0.25rem 0 0.45rem;
  line-height: 1.4;
}
.conv-explain-trend {
  font-size: 0.76rem;
  font-weight: 500;
  margin-left: 0.6em;
}
.conv-explain-reasons {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin: 0.1rem 0 0.3rem;
}
.conv-explain-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-top: 0.3rem;
}
@media (max-width: 420px) { .conv-explain-groups { grid-template-columns: 1fr; } }
.conv-explain-group {}
.conv-explain-grouplabel {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.2rem;
}
.conv-explain-row {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.12rem;
  flex-wrap: wrap;
}
.conv-explain-name {
  color: rgba(255,255,255,0.5);
  min-width: 5.5em;
  flex-shrink: 0;
}
.conv-explain-val {
  font-weight: 600;
  color: #c0d4f0;
  white-space: nowrap;
}
.conv-explain-unit { font-weight: 400; color: rgba(255,255,255,0.4); font-size: 0.7rem; }
.conv-explain-text { color: rgba(255,255,255,0.55); font-size: 0.72rem; }
.ua-thermal-legend {
  padding: 0.35rem 20px 0;
}
.ua-thermal-scale {
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(to right,
    #f8efe0  0%,
    #f0d4a0 11%,
    #e0b060 22%,
    #d08030 33%,
    #b86020 44%,
    #9c4410 56%,
    #7c2c08 67%,
    #5e1c04 78%,
    #440e02 89%,
    #2c0800 100%
  );
  margin-bottom: 0.2rem;
}
.ua-thermal-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
/* Strip im Flugfenster-Banner */
.ua-window-strip {
  width: 100%;
  margin-top: 0.5rem;
}
.prob-badge {
  display: inline-block;
  padding: 0.05em 0.4em;
  border-radius: 0.25em;
  font-size: 0.75em;
  font-weight: 600;
  background: rgba(210,160,40,0.15);
  color: oklch(0.72 0.12 80);
  vertical-align: middle;
  margin-left: 0.25em;
}
.crit-row--prob td:first-child { color: oklch(0.72 0.12 80); font-style: italic; }
.crit-ok-prob { color: oklch(0.72 0.12 80); font-weight: 700; cursor: help; }
.conv-rapid {
  font-size: 0.78em;
  color: oklch(0.72 0.18 50);
  vertical-align: middle;
  cursor: help;
}
.conv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: oklch(0.72 0.12 75);
  margin-top: 0.15rem;
  opacity: 0.9;
}
.conv-badge .help-icon { font-size: 1em; margin-left: 0; }
.hint-svg {
  vertical-align: middle;
  margin-right: 0.2em;
  opacity: 0.75;
  flex-shrink: 0;
}

/* ── v77: Benutzerdefiniertes Flugfenster ────────────────────────────────── */
.flight-window-custom,
.flight-window-inputs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.flight-window-custom input,
.flight-window-inputs input {
  width: 3.4rem;
  padding: 0.25rem 0.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  color: var(--text);
  font-size: 0.84rem;
  font-family: inherit;
  text-align: center;
}

/* ── v84: Amtliche Wetterwarnungen Widget ────────────────────────────────── */
.warnings-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.warnings-ok,
.warnings-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
}

.warnings-ok { color: oklch(0.75 0.15 152); }
.warnings-error { color: oklch(0.80 0.15 70); }

.warnings-ok .warnings-source,
.warnings-error .warnings-source {
  margin-left: auto;
}

.warnings-active {
  padding: 0.7rem 0.9rem;
}

.warnings-heading {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  opacity: 0.9;
}

.warnings-source {
  font-size: 0.62rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
}
.warnings-source a { color: inherit; }

.warning-item {
  border-left: 3px solid var(--border);
  border-radius: 0 0.4rem 0.4rem 0;
  margin-bottom: 0.35rem;
  background: rgba(255,255,255,0.04);
}

.warning-item.warning-lvl-1 { border-left-color: oklch(0.82 0.14 110); }
.warning-item.warning-lvl-2 { border-left-color: oklch(0.80 0.15 70); }
.warning-item.warning-lvl-3 { border-left-color: oklch(0.67 0.21 25); }
.warning-item.warning-lvl-4 { border-left-color: oklch(0.55 0.22 330); }

.warning-summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 0.85rem;
  list-style: none;
  user-select: none;
}
.warning-summary::-webkit-details-marker { display: none; }

.warning-icon { font-size: 1em; flex-shrink: 0; }

.warning-title {
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warning-level-badge {
  font-size: 0.72rem;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.warning-lvl-1 .warning-level-badge { background: oklch(0.82 0.14 110 / 0.2); color: oklch(0.82 0.14 110); }
.warning-lvl-2 .warning-level-badge { background: oklch(0.80 0.15 70 / 0.2);  color: oklch(0.80 0.15 70); }
.warning-lvl-3 .warning-level-badge { background: oklch(0.67 0.21 25 / 0.25); color: oklch(0.75 0.18 30); }
.warning-lvl-4 .warning-level-badge { background: oklch(0.55 0.22 330 / 0.25); color: oklch(0.72 0.20 330); }

.warning-time {
  font-size: 0.73rem;
  opacity: 0.6;
  flex-shrink: 0;
}

.warning-body {
  padding: 0.3rem 0.6rem 0.5rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  border-top: 1px solid var(--border);
}

.warning-body p { margin: 0.3rem 0; }

.warning-detail-section strong { opacity: 0.75; }

.warning-meta {
  font-size: 0.72rem;
  opacity: 0.45;
  margin-top: 0.4rem !important;
}

/* ── Tagesvergleich ─────────────────────────────────────────────────────── */
.compare-section {
  margin: 0.8rem 0 0.4rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: var(--glass-bg, rgba(255,255,255,0.04));
  overflow-x: auto;
}

table.cmp-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
}

table.cmp-table th {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table.cmp-table th.cmp-th-spot { text-align: left; min-width: 100px; }
table.cmp-table th.cmp-th-today { color: var(--accent); }

table.cmp-table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.cmp-table tr:last-child td { border-bottom: none; }

.cmp-spot-name {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.cmp-spot-region {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.cmp-cell {
  text-align: center;
  cursor: pointer;
  border-radius: 0.3rem;
  transition: background 0.12s;
}
.cmp-cell:hover { background: rgba(255,255,255,0.07); }

.cmp-cell--best .score-pill::after {
  content: ' ★';
  font-size: 0.7em;
  opacity: 0.8;
}

.cmp-cell-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0;
}

.cmp-window {
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cmp-crit {
  font-size: 0.68rem;
  color: var(--muted);
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}
.cmp-crit--lvl2 { color: var(--rating-marginal); }
.cmp-crit--lvl3 { color: var(--rating-nogo); }

.cmp-loading, .cmp-error {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  padding: 1rem 0;
}


.cmp-hour-bar { margin-top: 0.3rem; align-self: stretch; }

/* --- Paraglidable (Variante A: Mini-Dots in Tageskachel) --- */
.pg-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.45rem;
}
.pg-dots-label {
  font-size: 0.62rem;
  color: var(--muted);
  margin-right: 1px;
  letter-spacing: .03em;
}
.pg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.pg-dot-green  { background: oklch(0.75 0.15 152); }
.pg-dot-orange { background: oklch(0.82 0.14 75); }
.pg-dot-red    { background: oklch(0.67 0.21 25); }

/* --- Paraglidable (Variante B: Widget im Detail) --- */
.pg-widget {
  margin: 0 0 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  backdrop-filter: blur(12px);
}
.pg-widget-header {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pg-widget-link {
  font-size: 0.68rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.pg-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .pg-metrics { grid-template-columns: 1fr; }
}
.pg-metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.75rem;
}
.pg-metric-name {
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.pg-bar-track {
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.pg-bar-fill {
  height: 5px;
  border-radius: 3px;
}
.pg-val {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.pg-desc {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.pg-new-badge {
  font-size: 0.6rem;
  background: rgba(94,171,247,0.15);
  color: var(--accent);
  border-radius: 3px;
  padding: 1px 4px;
  vertical-align: middle;
  margin-left: 3px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ── Thermikfenster-Widget ──────────────────────────────────────────────── */

.twf-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.twf-widget--no-window { padding: 12px 16px; }

.twf-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.twf-header h4 { margin: 0; font-size: 14px; font-weight: 600; flex-shrink: 0; }

.twf-best { margin-left: auto; font-size: 12px; color: var(--muted); }
.twf-best strong { color: oklch(0.75 0.15 152); }

.twf-subline {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}

.twf-no-window-reason { margin: 4px 0 0; font-size: 13px; color: var(--muted); font-style: italic; }

.twf-hard-limit-note {
  margin: 0 0 8px;
  font-size: 12px;
  color: oklch(0.82 0.14 75);
}

/* ── Zeitband ── */

.twf-timeline-wrap { position: relative; }

.twf-band {
  display: flex;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.twf-hour-cell {
  flex: 1;
  min-width: 0;
  cursor: default;
  transition: filter .1s;
}

.twf-hour-cell:hover { filter: brightness(1.18); }

/* Phasenfarben über bestehende Ampel-Tokens */
.twf-phase-none    { background: rgba(255,255,255,0.05); }
.twf-phase-buildup { background: oklch(0.75 0.15 152 / 0.36); }
.twf-phase-prime   { background: oklch(0.75 0.15 152); }
.twf-phase-decay   { background: oklch(0.82 0.14 75 / 0.82); }


/* Überentwicklungs-Marker */
.twf-od-marker {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: oklch(0.67 0.21 25);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.twf-od-label {
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  white-space: nowrap;
  color: oklch(0.67 0.21 25);
}

/* Jetzt-Linie */
.twf-now-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.85);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

/* Stundenachse */
.twf-axis {
  position: relative;
  height: 20px;
  margin-top: 2px;
}

.twf-axis > span {
  position: absolute;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  user-select: none;
}

.twf-axis > span:first-child { transform: none; }
.twf-axis > span:last-child  { transform: translateX(-100%); }

/* ── Zusatzspuren ── */

.twf-tracks { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }

.twf-track { display: flex; align-items: flex-end; gap: 8px; }

.twf-track-label {
  flex-shrink: 0;
  width: 76px;
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 2px;
}

.twf-track-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  height: 28px;
  gap: 1px;
}

.twf-bar {
  flex: 1;
  min-width: 0;
  border-radius: 2px 2px 0 0;
}

.twf-bar-blue { background: oklch(0.65 0.12 232 / 0.85); }

.twf-bar-blue.twf-bar-dashed {
  background: repeating-linear-gradient(
    to bottom,
    oklch(0.65 0.12 232 / 0.55) 0, oklch(0.65 0.12 232 / 0.55) 3px,
    transparent 3px, transparent 6px
  );
}

.twf-bar-green { background: oklch(0.75 0.15 152 / 0.80); }

.twf-track-max {
  flex-shrink: 0;
  width: 100px;
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  padding-bottom: 2px;
}

/* ── Legende ── */

.twf-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.twf-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
}

.twf-legend-item::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.twf-lg-buildup::before      { background: oklch(0.75 0.15 152 / 0.36); border: 1px solid oklch(0.75 0.15 152 / 0.65); }
.twf-lg-prime::before        { background: oklch(0.75 0.15 152); }
.twf-lg-decay::before        { background: oklch(0.82 0.14 75 / 0.82); }
.twf-lg-od::before           { background: oklch(0.67 0.21 25); width: 3px; height: 12px; border-radius: 1px; }
.twf-lg-basis::before        { background: oklch(0.65 0.12 232 / 0.85); }
.twf-lg-blue-thermal::before { background: repeating-linear-gradient(to bottom, oklch(0.65 0.12 232 / 0.55) 0, oklch(0.65 0.12 232 / 0.55) 3px, transparent 3px, transparent 6px); }

/* ── Responsive ── */

@media (max-width: 480px) {
  .twf-track-label { width: 22px; overflow: hidden; font-size: 0; }
  .twf-track-label::first-letter { font-size: 13px; }
  .twf-track-max { width: 80px; font-size: 10px; }
  .twf-best { font-size: 11px; }
  .twf-legend { gap: 8px; }
  .twf-axis > span.twf-axis-minor { display: none; }
}

/* ── Hangbesonnung-Widget ── */

.she-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px;
}

.she-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.she-sun-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: oklch(0.80 0.18 75);
}

.she-header h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.she-subline {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  flex-basis: 100%;
  line-height: 1.4;
}

.she-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.she-row-label {
  width: 72px;
  flex-shrink: 0;
  overflow: hidden;
}

.she-row-name {
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}

.she-row-dirs {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.she-band-wrap {
  flex: 1;
  position: relative;
}

.she-band {
  display: flex;
  height: 26px;
  border-radius: 4px;
  overflow: hidden;
  gap: 1px;
}

.she-cell {
  flex: 1;
  min-width: 0;
}

.she-sun-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: oklch(0.82 0.18 75 / 0.90);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

.she-sun-marker::before {
  content: '☀';
  position: absolute;
  bottom: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  line-height: 1;
  color: oklch(0.80 0.18 75);
}

.she-row-right {
  width: 62px;
  flex-shrink: 0;
  text-align: right;
}

.she-row-time {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.she-row-sun {
  font-size: 9px;
  color: oklch(0.78 0.18 75);
}

.she-row-nodirect {
  font-size: 10px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.3;
}

.she-axis {
  display: flex;
  height: 16px;
  margin-top: 3px;
  gap: 8px;
}

.she-axis-space-l {
  width: 72px;
  flex-shrink: 0;
}

.she-axis-inner {
  flex: 1;
  position: relative;
}

.she-axis-space-r {
  width: 62px;
  flex-shrink: 0;
}

.she-axis-inner > span {
  position: absolute;
  font-size: 10px;
  color: var(--muted);
  transform: translateX(-50%);
}

.she-axis-inner > span.she-axis-first { transform: translateX(0); }
.she-axis-inner > span.she-axis-last  { transform: translateX(-100%); }

.she-band-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--she-now, -999%);
  width: 2px;
  background: rgba(255,255,255,0.75);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}

.she-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}

.she-legend > span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.she-legend > span::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.she-legend-dark::before { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); }
.she-legend-att::before  { background: rgba(240,168,0,0.45); }
.she-legend-sun::before  { background: rgba(235,90,15,0.80); }

@media (max-width: 480px) {
  .she-row-label { width: 52px; }
  .she-row-right { width: 46px; }
  .she-axis-space-l { width: 52px; }
  .she-axis-space-r { width: 46px; }
  .she-row-time { font-size: 11px; }
  .she-subline { font-size: 10px; }
}

/* ── OGN Luftaktivitäts-Widget ── */

.ogna-card {
  margin: 0.8rem 0 1.2rem;
  padding: 0.9rem 1.1rem;
  background: rgba(94, 171, 247, 0.06);
  border: 1px solid rgba(94, 171, 247, 0.18);
  border-radius: 0.75rem;
}
.ogna-header {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(94, 171, 247, 0.8);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ogna-icon { flex-shrink: 0; opacity: 0.75; }
.ogna-pilots {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.ogna-pilots-num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
.ogna-pilots-label {
  font-size: 0.78rem;
  color: var(--muted);
}
.ogna-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.ogna-cell {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 0.4rem;
  padding: 0.4rem 0.5rem;
}
.ogna-cell-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.ogna-cell-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ogna-row {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.2rem 0;
}
.ogna-row--center { color: rgba(255,255,255,0.7); }
.ogna-row--landing { color: oklch(0.82 0.14 75); }
.ogna-landing-icon { margin-right: 0.2rem; }
.ogna-disclaimer {
  font-size: 0.65rem;
  color: var(--muted);
  margin: 0.6rem 0 0.15rem;
  line-height: 1.4;
}
.ogna-updated {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}
.ogna-stale {
  color: #f0a500;
}
.ogna-nodata {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
.ogna-skeleton {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ogna-sk-line {
  height: 0.75rem;
  border-radius: 0.25rem;
  width: 60%;
  background: rgba(255,255,255,0.1);
  animation: ogna-pulse 1.4s ease-in-out infinite;
}
.ogna-sk-line--wide { width: 80%; height: 1.2rem; }
@keyframes ogna-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@media (max-width: 480px) {
  .ogna-grid { grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
  .ogna-cell-val { font-size: 0.8rem; }
  .ogna-pilots-num { font-size: 1.7rem; }
}

/* ── Section Navigation ─────────────────────────────────────────────────────── */
:root {
  --nav-rail-w: 64px;
  --nav-bottom-h: 60px;
  --accent-soft: rgba(94, 171, 247, 0.1);
  --bg-panel: rgba(10, 16, 26, 0.90);
}

.nav-section {
  /* scroll-margin-top is set per section ID */
}

/* ── Card section header ─────────────────────────────────────────────────────── */
.sec-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  /* Break out of card padding to fill full card width */
  margin: -1.3rem -1.5rem 1.2rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255,255,255,0.055);
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.95;
  letter-spacing: 0.01em;
  user-select: none;
}
.sec-label svg:first-child { flex-shrink: 0; width: 18px; height: 18px; }

button.sec-label {
  width: calc(100% + 3rem);
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  justify-content: space-between;
  text-align: left;
  background: rgba(255,255,255,0.055);
  color: var(--text);
  font-family: inherit;
  transition: background 0.15s;
}
button.sec-label:hover { background: rgba(255,255,255,0.09); }

.sec-chevron {
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform 0.2s ease;
}
button.sec-label[aria-expanded="false"] .sec-chevron {
  transform: rotate(-90deg);
}

.sec-summary {
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--muted);
  flex: 1;
  text-align: right;
  padding-right: 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.85;
}
button.sec-label[aria-expanded="true"] .sec-summary { display: none; }

.sec-body[hidden] { display: none; }

.sec-na {
  color: var(--muted);
  font-size: 0.875rem;
  font-style: italic;
  padding: 0.5rem 0 1rem;
}

/* ── Desktop: vertikale Icon-Rail links ──────────────────────────────────────── */
@media (min-width: 1024px) {
  .section-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--nav-rail-w);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 0;
    background: var(--bg-panel);
    border-right: 1px solid var(--border);
    z-index: 40;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .site-header { margin-left: var(--nav-rail-w); }
  main.content { margin-left: var(--nav-rail-w); }
  .site-footer { margin-left: var(--nav-rail-w); }
  .nav-item[hidden] { display: none !important; }
  .nav-item {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--muted);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, background 0.15s;
  }
  .nav-item:hover,
  .nav-item:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
  }
  .nav-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .nav-item span {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(10, 16, 26, 0.95);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.28rem 0.65rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s;
    color: var(--text);
    z-index: 50;
  }
  .nav-item:hover span,
  .nav-item:focus-visible span { opacity: 1; }
  .nav-item.is-active {
    color: var(--accent);
    background: var(--accent-soft);
  }
}

/* ── Mobile: fixe Bottom-Bar ─────────────────────────────────────────────────── */
@media (max-width: 1023.98px) {
  .nav-item[hidden] { display: none !important; }
  .section-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(var(--nav-bottom-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
    z-index: 40;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  main.content {
    padding-bottom: calc(var(--nav-bottom-h) + env(safe-area-inset-bottom) + 24px);
  }
  .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 10px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: color 0.15s;
    min-width: 0;
    overflow: hidden;
  }
  .nav-item:active { opacity: 0.65; }
  .nav-item .nav-icon { width: 22px; height: 22px; }
  .nav-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    padding: 0 2px;
  }
  .nav-item.is-active { color: var(--accent); }
}

/* ── Prognoseverlauf-Widget ──────────────────────────────────────────────── */
.fh-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 13px 14px;
  margin-bottom: 14px;
}
.fh-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.fh-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
}
.fh-sub {
  font-size: 0.68rem;
  color: var(--muted);
}
.fh-chips {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-bottom: 10px;
  scrollbar-width: none;
}
.fh-chips::-webkit-scrollbar { display: none; }
.fh-chip {
  flex: 0 0 auto;
  font-family: var(--font-mono, monospace);
  font-variant-numeric: tabular-nums;
  padding: 5px 10px 4px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: background 0.12s, color 0.12s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.fh-chip:hover { background: rgba(255,255,255,0.11); color: var(--text); }
.fh-chip--active {
  background: rgba(94,171,247,0.16);
  border-color: rgba(94,171,247,0.45);
  color: var(--accent);
  font-weight: 700;
}
.fh-chip--now::after {
  content: "";
  position: absolute;
  top: -3px; right: -3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--bg);
}
.fh-chip-time  { font-size: 0.72rem; }
.fh-chip-score { font-size: 0.62rem; color: var(--muted); }
.fh-chip--active .fh-chip-score { color: inherit; }
.fh-chart { margin-bottom: 8px; }
.fh-chart-svg { width: 100%; height: auto; aspect-ratio: 320 / 90; display: block; overflow: visible; }
.fh-delta {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid rgba(255,255,255,0.2);
  border-radius: 0 7px 7px 0;
  padding: 8px 10px;
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
.fh-delta--better { border-left-color: oklch(0.75 0.15 152); }
.fh-delta--worse  { border-left-color: oklch(0.67 0.21 25); }
.fh-delta-icon { flex: 0 0 auto; font-size: 0.9rem; }
.fh-delta-text { color: rgba(255,255,255,0.85); }
.fh-delta-text b { color: var(--text); }
/* Kennzahlen-Rows */
.fh-kz-wrap {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 3px 0 4px;
  margin-bottom: 8px;
}
.fh-kz-row {
  display: grid;
  grid-template-columns: 96px 48px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fh-kz-row:last-child { border-bottom: none; }
.fh-kz-label { font-size: 0.70rem; color: var(--muted); }
.fh-kz-spark { display: flex; align-items: center; }
.fh-kz-val {
  font-size: 0.79rem;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.fh-kz-delta {
  font-size: 0.67rem;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  padding: 2px 6px;
  border-radius: 10px;
  white-space: nowrap;
  text-align: center;
  min-width: 34px;
}
.fh-kz-delta--better { background: rgba(77,180,100,0.18); color: oklch(0.75 0.15 152); }
.fh-kz-delta--worse  { background: rgba(224,90,58,0.18);  color: oklch(0.67 0.21 25); }
.fh-kz-delta--neu    { background: rgba(255,255,255,0.06); color: var(--muted); }
/* Alle Läufe im Detail */
.fh-all-section { margin-top: 2px; }
.fh-all-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  cursor: pointer;
  padding: 5px 0;
  background: none;
  border: none;
  text-align: left;
  transition: color 0.12s;
}
.fh-all-toggle:hover { color: var(--text); }
.fh-all-chevron { font-size: 0.62rem; }
.fh-all-rows { margin-top: 4px; display: flex; flex-direction: column; gap: 3px; }
.fh-all-rows[hidden] { display: none; }
.fh-all-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.1s;
}
.fh-all-row:hover { background: rgba(255,255,255,0.04); }
.fh-all-row--active {
  background: rgba(94,171,247,0.08);
  border-color: rgba(94,171,247,0.18);
}
.fh-all-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 3px 8px 2px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid transparent;
  font-family: var(--font-mono, monospace);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  position: relative;
  transition: background 0.12s, border-color 0.12s;
}
.fh-all-chip--now::after {
  content: "";
  position: absolute;
  top: -3px; right: -3px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--bg);
}
.fh-all-chip-time {
  font-size: 0.62rem;
  color: var(--muted);
}
.fh-all-chip-score {
  font-size: 0.58rem;
  font-weight: 700;
}
.fh-all-row--active .fh-all-chip {
  background: rgba(94,171,247,0.16);
  border-color: rgba(94,171,247,0.45);
}
.fh-all-row--active .fh-all-chip-time { color: var(--accent); }
.fh-run-body { display: flex; flex-direction: column; gap: 4px; padding-top: 3px; }
.fh-run-text {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.45;
  margin: 0;
}
.fh-delta-body { display: flex; flex-direction: column; gap: 5px; }
.fh-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.fh-pill {
  font-size: 0.64rem;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  padding: 2px 6px;
  border-radius: 10px;
  white-space: nowrap;
}
.fh-pill--better  { background: rgba(77,180,100,0.18); color: oklch(0.75 0.15 152); }
.fh-pill--worse   { background: rgba(224,90,58,0.18);  color: oklch(0.67 0.21 25); }
.fh-pill--neutral { background: rgba(255,255,255,0.08); color: var(--muted); }

/* Disclaimer overlay */
#disclaimer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1rem;
}
.disclaimer-dialog {
  position: relative;
  background: oklch(0.13 0.025 250 / 0.96);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  width: min(520px, 94vw);
  padding: 2rem 2rem 1.6rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
}
.disclaimer-icon {
  text-align: center;
  margin-bottom: 0.6rem;
}
.disclaimer-title {
  margin: 0 0 0.15rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  letter-spacing: 0.01em;
}
.disclaimer-subtitle {
  margin: 0 0 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}
.disclaimer-body {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.disclaimer-body p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}
.disclaimer-body strong {
  color: rgba(255, 255, 255, 0.96);
}
.disclaimer-remember {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 1.1rem;
  user-select: none;
  flex-shrink: 0;
}
.disclaimer-remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.disclaimer-btn {
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: #0f172a;
  border: none;
  border-radius: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.disclaimer-btn:hover { opacity: 0.88; }
.disclaimer-btn:active { opacity: 0.75; }

@media (max-height: 600px) {
  .disclaimer-icon { display: none; }
  .disclaimer-dialog { padding: 1.2rem 1.2rem 1rem; }
  .disclaimer-subtitle { margin-bottom: 0.7rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   Wetter-Cockpit
   ═══════════════════════════════════════════════════════════════════ */

/* Settings toggle row */
.settings-feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.settings-feature-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg, #e8e8e8);
}
.settings-feature-desc {
  font-size: 0.8rem;
  color: var(--muted, rgba(255,255,255,0.45));
  margin-top: 0.15rem;
}
.settings-feature-toggle {
  flex-shrink: 0;
}
.settings-feature-chk {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #5bc8f5;
  cursor: pointer;
}

/* ── Bereiche-Einstellungen ─────────────────────────────────────────────── */
.sections-order-list {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}
.sections-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.sections-order-info {
  flex: 1;
  min-width: 0;
}
.sections-order-name {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--fg, #e8e8e8);
}
.sections-order-name--dim {
  color: var(--muted, rgba(255,255,255,0.45));
}
.sections-order-badge {
  font-size: 0.71rem;
  color: var(--muted, rgba(255,255,255,0.45));
  margin-left: 0.4rem;
  white-space: nowrap;
}
.sections-order-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.sections-arrow-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.18rem 0.4rem;
  line-height: 1.3;
  transition: background 0.13s, color 0.13s;
}
.sections-arrow-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.13);
  color: var(--text);
}
.sections-arrow-btn:disabled { opacity: 0.28; cursor: not-allowed; }

/* Config-bar: Parameter-Button rechtsbündig im Body */
.cockpit-config-bar {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 0 0.25rem;
}

/* Config toggle button */
.cockpit-config-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--fg, #e8e8e8);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.cockpit-config-toggle-btn:hover { background: rgba(255,255,255,0.11); }
.cockpit-config-toggle-btn .sec-chevron {
  transition: transform 0.2s;
}
.cockpit-config-toggle-btn[aria-expanded="true"] .sec-chevron {
  transform: rotate(180deg);
}

/* Parameter panel */
.cockpit-panel {
  padding: 0.75rem 0 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0.75rem;
}

/* Presets */
.cockpit-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.cockpit-preset-btn {
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--fg, #e8e8e8);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.cockpit-preset-btn:hover { background: rgba(255,255,255,0.12); }
.cockpit-preset-btn--active {
  background: rgba(91,200,245,0.18);
  border-color: #5bc8f5;
  color: #5bc8f5;
}

/* Category groups */
.cockpit-param-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
}
.cockpit-cat-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 160px;
}
.cockpit-cat-name {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, rgba(255,255,255,0.45));
  margin-bottom: 0.1rem;
}
.cockpit-param-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  padding: 0.1rem 0;
}
.cockpit-param-chk {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #5bc8f5;
}
.cockpit-param-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cockpit-param-label {
  font-size: 0.83rem;
  color: var(--fg, #e8e8e8);
  flex: 1;
}
.cockpit-param-row--unavailable {
  opacity: 0.38;
  pointer-events: none;
}
.cockpit-src-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  flex-shrink: 0;
}
.cockpit-src-badge--raw     { background: rgba(255,255,255,0.08); color: var(--muted, rgba(255,255,255,0.45)); }
.cockpit-src-badge--derived { background: rgba(91,200,245,0.12);  color: #5bc8f5; }

.cockpit-legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: var(--muted, rgba(255,255,255,0.4));
  padding-left: 0.1rem;
}

/* Chart area */
.cockpit-charts {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Scrubber */
.cockpit-scrubber-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.1rem;
}
.cockpit-scrubber-label {
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: var(--fg, #e8e8e8);
  min-width: 3.2rem;
  text-align: right;
}
.cockpit-scrubber {
  flex: 1;
  accent-color: #5bc8f5;
  cursor: pointer;
}
.cockpit-hour-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 0 0.35rem;
  font-size: 0.7rem;
  color: var(--muted, rgba(255,255,255,0.4));
}

/* Chart rows */
#cockpit-chart-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cockpit-chart-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 0.5rem;
  min-height: 30px;
  padding: 0.35rem 0;
}
.cockpit-chart-row + .cockpit-chart-row {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cockpit-chart-row--line { min-height: 58px; }
.cockpit-chart-row--line .cockpit-row-chart { height: 64px; }
.cockpit-chart-row--wind .cockpit-row-chart { height: 80px; }
.cockpit-chart-row--band { min-height: 30px; }
.cockpit-chart-row--band .cockpit-row-chart { height: 28px; }

.cockpit-row-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-left: 0.5rem;
  border-left: 2px solid transparent;
  min-width: 0;
}
.cockpit-row-label {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  font-size: 0.74rem;
  color: var(--muted, rgba(255,255,255,0.5));
  overflow: hidden;
}
.cockpit-row-label-text {
  flex: 1;
  min-width: 0;
}
.cockpit-row-sublabel {
  display: block;
  font-size: 0.62rem;
  color: var(--muted, rgba(255,255,255,0.35));
  margin-top: 1px;
}
.cockpit-row-value {
  font-size: 0.92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cockpit-row-value--crit        { color: #E8664A !important; }
.cockpit-row-value--band-on     { color: #5bc8f5; }
.cockpit-row-value--band-off    { color: var(--muted, rgba(255,255,255,0.35)); }
.cockpit-row-unit {
  font-size: 0.68rem;
  color: var(--muted, rgba(255,255,255,0.35));
}

.cockpit-row-chart {
  overflow: hidden;
}
.cockpit-row-chart svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.cockpit-chart-outer {
  display: flex;
  gap: 5px;
  height: 100%;
  align-items: flex-start;
}
.cockpit-chart-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  height: 100%;
}
/* Wind charts: chart + dir strip stacked in a column */
.cockpit-chart-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cockpit-chart-col .cockpit-chart-wrap {
  flex: 1;
  height: auto;
}
.cockpit-wind-dir-strip {
  position: relative;
  height: 16px;
  flex-shrink: 0;
}
.cockpit-chart-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  width: 46px;
  height: 64px;
  padding: 1px 0;
  pointer-events: none;
}
.cockpit-scale {
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,0.32);
  line-height: 1;
  white-space: nowrap;
}

/* Empty / no-data */
.cockpit-empty-state,
.cockpit-no-data-box {
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted, rgba(255,255,255,0.4));
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  text-align: center;
}
.cockpit-no-data {
  color: var(--muted, rgba(255,255,255,0.35));
}

/* Hourly dots on line charts */
.cockpit-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Wind direction arrows in the x-axis strip */
.cockpit-wind-arrow {
  position: absolute;
  top: 50%;
  font-size: 9px;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  pointer-events: none;
  opacity: 0.85;
}

/* Sublabel in checkbox list */
.cockpit-param-sublabel {
  display: block;
  font-size: 0.62rem;
  color: var(--muted, rgba(255,255,255,0.35));
  margin-top: 1px;
}

/* Alle / Keine — in preset row, pushed right */
.cockpit-presets-sep { flex: 1; }
.cockpit-preset-btn--util {
  color: rgba(232,232,232,0.6);
  border-color: rgba(255,255,255,0.12);
}

/* Cursor line — pointer-events none so it doesn't block hover */
.cockpit-cursor-line {
  pointer-events: none;
}

@media (max-width: 420px) {
  .cockpit-chart-row { grid-template-columns: 96px 1fr; }
  .cockpit-chart-row--line .cockpit-row-chart { height: 80px; }
  .cockpit-chart-row--wind .cockpit-row-chart { height: 96px; }
  .cockpit-chart-row--band .cockpit-row-chart { height: 36px; }
  .cockpit-chart-yaxis { height: 80px; }
  .cockpit-param-categories { gap: 0.7rem 1rem; }
}

/* --- Nacht-Parkwidget --- */
.night-parking-widget {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.night-parking-widget h4 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.night-parking-time {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.65;
  letter-spacing: 0;
  text-transform: none;
}
.night-parking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.night-parking-item {
  background: rgba(255,255,255,0.05);
  border-radius: 0.5rem;
  padding: 0.4rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.night-parking-label {
  font-size: 0.63rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.night-parking-value {
  font-size: 0.92rem;
  font-weight: 600;
}
.night-parking-verdict {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  border-radius: 0.5rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.84rem;
}
.night-parking-verdict--ok {
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.25);
}
.night-parking-verdict--warn {
  background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.25);
}
.night-parking-verdict--nogo {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
}
.night-parking-verdict-label {
  font-weight: 700;
}
.night-parking-verdict--ok    .night-parking-verdict-label { color: oklch(0.75 0.15 152); }
.night-parking-verdict--warn  .night-parking-verdict-label { color: oklch(0.82 0.14 75); }
.night-parking-verdict--nogo  .night-parking-verdict-label { color: oklch(0.67 0.21 25); }
.night-parking-verdict-detail {
  font-size: 0.77rem;
  opacity: 0.8;
}
@media (max-width: 400px) {
  .night-parking-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Flug-Check-Widget ───────────────────────────────────────────────────── */
.fc-box { position: relative; }
.fc-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1em 0.45em;
  border-radius: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(94,171,247,0.18);
  color: var(--accent);
  vertical-align: middle;
  text-transform: uppercase;
}

/* Upload-State */
.fc-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.9rem 0 0.8rem;
  padding: 1.4rem 1rem;
  border: 1.5px dashed var(--border);
  border-radius: 0.7rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
}
.fc-dropzone:hover,
.fc-dropzone--over {
  border-color: var(--accent);
  background: rgba(94,171,247,0.07);
}
.fc-file-input { display: none; }
.fc-drop-icon { display: flex; align-items: center; justify-content: center; color: var(--muted); opacity: 0.7; }
.fc-drop-title { font-size: 0.93rem; font-weight: 600; }
.fc-drop-sub { font-size: 0.78rem; color: var(--muted); }

.fc-step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin: 0.6rem 0;
}
.fc-step-card {
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.03);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}
.fc-step-card strong { display: block; color: var(--text, rgba(255,255,255,0.9)); margin-bottom: 0.2rem; }
.fc-step-num {
  float: left;
  margin: 0 0.45rem 0.2rem 0;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background: rgba(94,171,247,0.2);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.fc-hint {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 0.5rem;
}

/* Loading-State */
.fc-spinner-wrap { display: flex; justify-content: center; padding: 1.2rem 0 0.7rem; }
.fc-spinner {
  width: 2rem; height: 2rem;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: fc-spin 0.75s linear infinite;
}
@keyframes fc-spin { to { transform: rotate(360deg); } }
.fc-load-steps { display: flex; flex-direction: column; gap: 0.35rem; padding-bottom: 1rem; }
.fc-load-step {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.3rem 0.5rem;
  border-radius: 0.35rem;
  transition: color 0.2s;
}
.fc-step-now { color: var(--accent); background: rgba(94,171,247,0.08); }
.fc-step-done { color: rgba(52,211,153,0.9); }
.fc-step-done::before { content: '✓ '; }

/* Error-State */
.fc-error-msg { color: var(--rating-nogo, oklch(0.67 0.21 25)); font-size: 0.87rem; margin: 0.8rem 0; }
.fc-reset-btn {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  background: rgba(255,255,255,0.05);
  color: var(--accent);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s;
}
.fc-reset-btn:hover { background: rgba(94,171,247,0.1); }

/* Result-State */
.fc-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.fc-result-meta { flex: 1; min-width: 0; }
.fc-result-site { font-size: 0.97rem; font-weight: 600; }
.fc-result-detail { font-size: 0.76rem; color: var(--muted); margin-top: 0.2rem; }
.fc-total-ring { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; flex-shrink: 0; }
.fc-ring-label { font-size: 0.62rem; color: var(--muted); text-align: center; max-width: 5rem; }

.fc-score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0.6rem 0;
}
.fc-score-item {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.03);
}
.fc-score-top { display: flex; align-items: center; justify-content: space-between; gap: 0.3rem; margin-bottom: 0.35rem; }
.fc-score-name { font-size: 0.78rem; font-weight: 600; }
.fc-pill {
  flex-shrink: 0;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.1em 0.4em;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fc-pill--green  { background: rgba(52,211,153,0.15);  color: oklch(0.75 0.15 152); }
.fc-pill--yellow { background: rgba(251,191,36,0.15);  color: oklch(0.82 0.14 75); }
.fc-pill--red    { background: rgba(248,113,113,0.15); color: oklch(0.67 0.21 25); }
.fc-bar-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 0.35rem;
  overflow: hidden;
}
.fc-bar-fill { height: 100%; border-radius: 2px; transition: width 0.4s ease; }
.fc-score-desc { font-size: 0.72rem; color: var(--muted); line-height: 1.35; }

.fc-chart-label { margin-top: 1rem; margin-bottom: 0.3rem; }
.fc-canvas-wrap { border-radius: 0.5rem; overflow: hidden; }
.fc-canvas-wrap canvas { display: block; width: 100%; }

.fc-reset-row { margin-top: 1rem; text-align: right; }

@media (max-width: 440px) {
  .fc-step-cards { grid-template-columns: 1fr; }
  .fc-score-grid  { grid-template-columns: 1fr; }
}

/* Historische Tagesbewertung */
.fc-hist-toggle-row { margin: 0.9rem 0 0; }
.fc-hist-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: rgba(94,171,247,0.06);
  border: 1px solid rgba(94,171,247,0.22);
  border-radius: 0.5rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.fc-hist-btn:hover { background: rgba(94,171,247,0.12); }
.fc-hist-chevron { flex-shrink: 0; transition: transform 0.22s; }
.fc-hist-chevron--open { transform: rotate(180deg); }

.fc-hist-inner {
  padding: 0.85rem 0 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0.5rem;
}
.fc-hist-meta { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.65rem; }
.fc-hist-score-row { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.fc-hist-score-num { font-size: 2.4rem; font-weight: 600; line-height: 1; }
.fc-hist-score-sub { font-size: 0.74rem; color: var(--muted); margin-top: 0.2rem; line-height: 1.35; }

.fc-hist-tw {
  background: rgba(94,171,247,0.07);
  border: 1px solid rgba(94,171,247,0.18);
  border-radius: 0.5rem;
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.1rem;
}
.fc-hist-section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.fc-map-container {
  height: 320px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 0.3rem;
}

.fc-hist-tw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem 0.5rem; }
.fc-hist-kv-key { font-size: 0.7rem; color: var(--muted); }
.fc-hist-kv-val { font-size: 0.82rem; font-weight: 600; color: #5eabf7; }

.fc-hist-hours {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.45rem;
  overflow-x: auto;
  margin-top: 0.35rem;
}
.fc-hist-hours > * { min-width: 640px; }
.fc-hist-hour-head,
.fc-hist-hour-row {
  display: grid;
  grid-template-columns: 2.2fr 1.4fr 1.4fr 1.6fr 1.2fr 2.4fr 1.4fr 1.4fr 1.4fr 2.4fr;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  gap: 0.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fc-hist-hour-row:last-of-type { border-bottom: none; }
.fc-hist-hour-head {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.fc-hist-hour-row--flight {
  background: rgba(94,171,247,0.08);
}
.fc-hist-hour-row--flight .fc-hist-hour-time { color: #5eabf7; font-weight: 600; }
.fc-hist-hour-note {
  font-size: 0.68rem;
  color: var(--muted);
  padding: 0.3rem 0.7rem;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.fc-hist-unavail {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.fc-hist-unavail-item {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.4rem 0.6rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.35rem;
}

/* ── Offline-Snapshots Panel ─────────────────────────────────────────────── */
.offline-save-row {
  margin-bottom: 1rem;
}
.offline-save-row .settings-btn {
  width: 100%;
}
.offline-empty {
  margin-top: 0.5rem;
  color: var(--muted);
}
.offline-snap-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.offline-snap-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}
.offline-snap-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.offline-snap-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offline-snap-time {
  font-size: 0.72rem;
  color: var(--muted);
}
.offline-snap-actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}
.offline-snap-btn {
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
}

/* ── Offline-Badge (Header) ──────────────────────────────────────────────── */
.offline-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #c0392b;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  animation: offline-pulse 2s ease-in-out infinite;
}
@keyframes offline-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ── Offline-Speichern Button in Location-Header ─────────────────────────── */
.loc-offline-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px;
  background: none;
  border: none;
  color: var(--muted);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.loc-offline-btn:hover { opacity: 1; color: var(--text); }

.loc-offline-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #d97706;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .loc-offline-chip {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
  }
}
:root[data-theme="dark"] .loc-offline-chip {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

/* ── Offline-Berichte Button in Favoriten-Zeile ──────────────────────────── */
.favb-offline-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .favb-offline-btn span { display: none; }
  .favb-offline-btn { padding: 0.35rem 0.5rem; }
}
.favb-offline-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}

/* ── Export Button in Location-Header ───────────────────────────────────── */
.loc-export-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px;
  background: none;
  border: none;
  color: var(--muted);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.loc-export-btn:hover:not(:disabled) { opacity: 1; color: var(--text); }
.loc-export-btn:disabled { opacity: 0.25; cursor: default; }

/* ── Funktionsübersicht in der App-Hilfe ────────────────────────────────── */
.help-features-new { background: rgba(234,179,8,0.07); border: 1px solid rgba(234,179,8,0.22); border-radius: 8px; padding: 0.85rem 1rem; margin: 0.5rem 0 1.2rem; }
.help-features-new-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.65rem; }
.help-features-new-badge { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #f0c040; background: rgba(234,179,8,0.15); border: 1px solid rgba(234,179,8,0.28); border-radius: 4px; padding: 0.1rem 0.4rem; flex-shrink: 0; }
.help-features-new h3 { margin: 0 !important; font-size: 0.88rem !important; font-weight: 600 !important; color: #f0c040 !important; border: none !important; padding: 0 !important; }
.help-features-new-item { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0.4rem 0; }
.help-features-new-icon { flex-shrink: 0; width: 20px; text-align: center; }
.help-features-new-item strong { display: block; font-size: 0.83rem; color: rgba(255,255,255,0.88); font-weight: 500; }
.help-features-new-item span { font-size: 0.79rem; color: rgba(255,255,255,0.45); line-height: 1.4; }
#welcome-box {
  max-width: 580px;
  margin: 1.5rem auto 0;
}
main:has(#location-info:not([hidden])) #welcome-box { display: none; }

.help-features-cat { margin: 1rem 0 0; }
.help-features-cat-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.4rem; }
.help-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.28rem; }
.help-features-grid-single { grid-template-columns: 1fr; }
@media (max-width: 420px) { .help-features-grid { grid-template-columns: 1fr; } }
.help-features-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: 0.35rem 0.55rem; font-size: 0.82rem; }
.help-features-item strong { color: rgba(255,255,255,0.8); font-weight: 500; }
.help-features-item span { color: rgba(255,255,255,0.38); font-size: 0.77rem; }
.help-features-item span::before { content: " – "; }
.help-features-note { font-size: 0.79rem; color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: 0.45rem 0.7rem; margin-top: 0.4rem; }
.help-features-disclaimer { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2); border-radius: 8px; padding: 0.75rem 1rem; margin-top: 1.2rem; }
.help-features-disclaimer-title { font-size: 0.78rem; font-weight: 600; color: rgba(239,100,100,0.9); margin-bottom: 0.5rem; }
.help-features-disclaimer ul { margin: 0; padding-left: 1.2em; }
.help-features-disclaimer li { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0.3rem 0; line-height: 1.45; }

/* ── Update-Verlauf in der App-Hilfe ────────────────────────────────────── */
#help-updates { margin: 1.2rem 0 2rem; }
#help-updates h1 { display: none; }
#help-updates h2 { font-size: 0.85rem; font-weight: 700; color: var(--accent, #4a9eff); margin: 1.4rem 0 0.5rem; padding-bottom: 0.35rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
#help-updates p { font-size: 0.81rem; color: rgba(255,255,255,0.52); margin-bottom: 0.45rem; line-height: 1.5; }
#help-updates p strong { color: rgba(255,255,255,0.85); font-weight: 600; }
