/* ═════════════════════════════════════════════════════════════════════════════
   HARAMAIN HUB · MODUL 2 (Tore-Katalog) · v0.1
   ─────────────────────────────────────────────────────────────────────────────
   Klassen-Prefix: hub-* (analog zu hcj-* für Hajj, hcu-* für ʿUmra)
   Layout 1:1 vom Hajj-Modul übernommen — gleicher Hintergrund, gleiche Card-Optik
   ═════════════════════════════════════════════════════════════════════════════
   v0.1 04.05.2026 — Skeleton:
   • Modal-Container + Overlay
   • Header mit Back + Settings + Mosque-Switch (Mekka/Medina)
   • Liste der 35 Punkte als Cards
   • Empfehlungs-Stern, Position-Badge
   • Light-Mode komplett
*/

#hub-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10500;
  -webkit-font-smoothing: antialiased;
}
.hub-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 240ms ease-out;
}
.hub-modal--open .hub-overlay { opacity: 1; }

.hub-screen {
  position: absolute;
  inset: 0;
  margin: 0 auto;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(45,212,191,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(212,168,67,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #050810 0%, #0a1018 25%, #1a1815 50%, #2a1f15 70%, #1a1410 100%);
  color: #f0f4f1;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  transform: translateY(100%);
  transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
  overflow-x: hidden;
}
.hub-modal--open .hub-screen { transform: translateY(0); }

/* ── HEADER ────────────────────────────────────────────────────────────── */
.hub-header {
  flex-shrink: 0;
  padding: 16px 18px 12px;
  padding-top: max(16px, env(safe-area-inset-top, 16px));
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 80;
}
.hub-hdr-back, .hub-hdr-cog {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  cursor: pointer;
  color: #2dd4bf;
  flex-shrink: 0;
}
.hub-hdr-back:active, .hub-hdr-cog:active { background: rgba(255,255,255,0.16); }
.hub-hdr-back svg, .hub-hdr-cog svg { width: 18px; height: 18px; }
.hub-hdr-titlewrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.hub-hdr-eyebrow {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2dd4bf;
}
.hub-hdr-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── MOSQUE-SWITCH (Mekka/Medina Toggle) ──────────────────────────────── */
.hub-mosque-switch {
  flex-shrink: 0;
  margin: 0 18px 10px;
  display: flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.hub-mosque-tab {
  flex: 1;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: all 180ms;
  text-align: center;
}
.hub-mosque-tab.active {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  color: #1a1410;
  box-shadow: 0 2px 8px rgba(45,212,191,0.35);
}

/* ── BODY (scrollbare Liste) ───────────────────────────────────────────── */
.hub-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 18px 80px;
}

/* ── FILTER-CHIPS ──────────────────────────────────────────────────────── */
.hub-filters {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 2px 4px;
  justify-content: flex-start;
}
.hub-filters::-webkit-scrollbar { display: none; }
.hub-filter-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.hub-filter-chip.active {
  background: rgba(212,168,67,0.22);
  border-color: rgba(212,168,67,0.5);
  color: #d4a843;
}

/* ── POINT-CARD mit Foto-Slot rechts (Block 1) ───────────────────────── */
.hub-point-card {
  background: linear-gradient(135deg, rgba(45,212,191,0.06) 0%, rgba(20,30,42,0.4) 70%);
  border: 1px solid rgba(45,212,191,0.18);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 180ms;
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
}
.hub-point-card:active {
  transform: scale(0.98);
  background: linear-gradient(135deg, rgba(45,212,191,0.1) 0%, rgba(20,30,42,0.5) 70%);
}
.hub-point-card.recommended {
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(20,30,42,0.95) 60%);
  border: 1px solid rgba(201,168,76,0.4);
  box-shadow: 0 4px 18px rgba(201,168,76,0.08);
}
.hub-point-card-body {
  flex: 1;
  min-width: 0;
}
.hub-point-photo {
  flex-shrink: 0;
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(45,212,191,0.1), rgba(45,212,191,0.04));
  border: 2px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-point-card.recommended .hub-point-photo {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 14px rgba(201,168,76,0.25);
}
.hub-point-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hub-point-photo-icon {
  font-size: 28px;
  opacity: 0.5;
}
.hub-point-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}
.hub-point-num {
  flex-shrink: 0;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  border: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #0a1018;
  box-shadow: 0 2px 6px rgba(45,212,191,0.3);
}
.hub-point-num.fix {
  min-width: 38px;
  background: linear-gradient(135deg, #d4a843 0%, #b88a30 100%);
  color: #1a1410;
  box-shadow: 0 2px 6px rgba(212,168,67,0.4);
}
.hub-point-card.recommended .hub-point-num:not(.fix) {
  background: linear-gradient(135deg, #d4a843 0%, #b88a30 100%);
  color: #1a1410;
  box-shadow: 0 2px 6px rgba(212,168,67,0.4);
}
.hub-point-titlewrap {
  flex: 1;
  min-width: 0;
}
.hub-point-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 2px;
}
.hub-point-name-ar {
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  direction: rtl;
  text-align: right;
}
.hub-point-star {
  flex-shrink: 0;
  color: #fbbf24;
  font-size: 14px;
  filter: drop-shadow(0 0 4px rgba(251,191,36,0.5));
}
.hub-point-desc {
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 4px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hub-point-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.hub-point-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.08);
}
.hub-point-tag.tag-pos {
  background: rgba(45,212,191,0.18);
  color: #5eead4;
  border-color: rgba(45,212,191,0.35);
}
.hub-point-tag.tag-acc {
  background: rgba(96,165,250,0.18);
  color: #93c5fd;
  border-color: rgba(96,165,250,0.35);
}
.hub-point-tag.tag-esc {
  background: rgba(34,211,238,0.18);
  color: #67e8f9;
  border-color: rgba(34,211,238,0.35);
}

/* ── EMPTY-STATE ───────────────────────────────────────────────────────── */
.hub-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.hub-empty-icon { font-size: 36px; margin-bottom: 10px; opacity: 0.5; }


/* ═══════════════════════════════════════════════════════════════════════
   LIGHT MODE
   ═══════════════════════════════════════════════════════════════════════ */
html[data-hc-theme="light"] .hub-screen {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(20,148,106,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(212,168,67,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #faf5e8 0%, #f3ecd9 50%, #ebe1c8 100%);
  color: #1a1410;
}
html[data-hc-theme="light"] .hub-overlay { background: rgba(0,0,0,0.4); }
html[data-hc-theme="light"] .hub-hdr-back,
html[data-hc-theme="light"] .hub-hdr-cog {
  background: rgba(20,148,106,0.1);
  border-color: rgba(20,148,106,0.22);
  color: #14946a;
}
html[data-hc-theme="light"] .hub-hdr-eyebrow { color: #0d8a6b; }
html[data-hc-theme="light"] .hub-hdr-title { color: #1a1410; }
html[data-hc-theme="light"] .hub-mosque-switch {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
html[data-hc-theme="light"] .hub-mosque-tab { color: rgba(0,0,0,0.55); }
html[data-hc-theme="light"] .hub-mosque-tab.active {
  background: linear-gradient(135deg, #14b8a6, #0d8a6b);
  color: #fff;
}
html[data-hc-theme="light"] .hub-filter-chip {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.65);
}
html[data-hc-theme="light"] .hub-filter-chip.active {
  background: rgba(212,168,67,0.22);
  border-color: rgba(212,168,67,0.5);
  color: #8a5a20;
}
html[data-hc-theme="light"] .hub-point-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
html[data-hc-theme="light"] .hub-point-card:active { background: rgba(255,255,255,0.85); }
html[data-hc-theme="light"] .hub-point-num {
  background: rgba(20,148,106,0.12);
  border-color: rgba(20,148,106,0.3);
  color: #0d8a6b;
}
html[data-hc-theme="light"] .hub-point-num.fix {
  background: rgba(212,168,67,0.18);
  border-color: rgba(212,168,67,0.4);
  color: #8a5a20;
}
html[data-hc-theme="light"] .hub-point-name { color: #1a1410; }
html[data-hc-theme="light"] .hub-point-name-ar { color: rgba(0,0,0,0.7); }
html[data-hc-theme="light"] .hub-point-desc { color: rgba(0,0,0,0.75); }
html[data-hc-theme="light"] .hub-point-tag {
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.6);
  border-color: rgba(0,0,0,0.1);
}
html[data-hc-theme="light"] .hub-point-tag.tag-pos {
  background: rgba(20,148,106,0.12);
  color: #0d8a6b;
  border-color: rgba(20,148,106,0.3);
}
html[data-hc-theme="light"] .hub-point-tag.tag-acc {
  background: rgba(5,150,105,0.15);
  color: #047857;
  border-color: rgba(5,150,105,0.3);
}
html[data-hc-theme="light"] .hub-point-tag.tag-esc {
  background: rgba(124,58,237,0.15);
  color: #7c3aed;
  border-color: rgba(124,58,237,0.3);
}
html[data-hc-theme="light"] .hub-empty { color: rgba(0,0,0,0.5); }


/* ═══════════════════════════════════════════════════════════════════════
   MAP (Leaflet) — v0.2
   ═══════════════════════════════════════════════════════════════════════ */

.hub-view-switch {
  flex-shrink: 0;
  margin: 0 18px 8px;
  display: flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.hub-view-tab {
  flex: 1;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}
.hub-view-tab.active {
  background: rgba(45,212,191,0.2);
  color: #2dd4bf;
}

/* Map-Wrapper (statt hub-body in map-view) */
.hub-map-wrap {
  flex: 1;
  position: relative;
  margin: 0 18px 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  min-height: 400px;
}
#hub-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #1a2530;
}

/* Map-Buttons rechts oben */
.hub-map-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hub-map-btn {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  padding: 0;
  transition: all 150ms;
}
.hub-map-btn:active { transform: scale(0.92); }
.hub-map-btn svg { width: 18px; height: 18px; }
.hub-map-locate {
  background: rgba(45,212,191,0.85);
  border-color: rgba(45,212,191,1);
  color: #1a1410;
}
.hub-map-btn-label { font-size: 16px; line-height: 1; }

/* Map-Legende unten links */
.hub-map-legend {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 500;
  display: flex;
  gap: 11px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 10px;
  color: rgba(255,255,255,0.85);
}
.hub-legend-item { display: flex; align-items: center; gap: 5px; }
.hub-legend-dot {
  width: 12px;
  height: 12px;
  display: block;
  border-radius: 50%;
  border: 1.5px solid #fff;
}
.hub-legend-dot.dot-rec  { background: #d4a843; }
.hub-legend-dot.dot-gate { background: #2dd4bf; }
.hub-legend-dot.dot-fix  { background: #d4a843; }

/* ── MARKER (Leaflet divIcon) ─────────────────────────────────────────── */
.hub-marker-wrap { background: transparent !important; border: 0 !important; }
.hub-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: transform 150ms;
}
.hub-marker:hover { transform: scale(1.15); }

/* ── USER-MARKER (GPS) ─────────────────────────────────────────────────── */
.hub-user-marker-wrap { background: transparent !important; border: 0 !important; }
.hub-user-marker {
  width: 18px;
  height: 18px;
  background: #3b82f6;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.3), 0 2px 6px rgba(0,0,0,0.5);
  animation: hub-pulse 2s ease-in-out infinite;
}
@keyframes hub-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(59,130,246,0.3), 0 2px 6px rgba(0,0,0,0.5); }
  50%      { box-shadow: 0 0 0 10px rgba(59,130,246,0.1), 0 2px 6px rgba(0,0,0,0.5); }
}

/* ── POPUP ─────────────────────────────────────────────────────────────── */
.leaflet-popup-content-wrapper {
  background: #1a2530 !important;
  color: #f0f4f1 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.15);
}
.leaflet-popup-tip {
  background: #1a2530 !important;
}
.leaflet-popup-close-button {
  color: rgba(255,255,255,0.6) !important;
  font-size: 18px !important;
}
.hub-popup { padding: 4px; min-width: 160px; }
.hub-popup-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.hub-popup-ar {
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  direction: rtl;
  text-align: right;
  margin-bottom: 6px;
}
.hub-popup-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 8px;
}
.hub-popup-btn {
  width: 100%;
  padding: 7px;
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  border: 0;
  border-radius: 8px;
  color: #1a1410;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* Leaflet-Attribution etwas dezenter */
.leaflet-control-attribution {
  font-size: 9px !important;
  background: rgba(0,0,0,0.5) !important;
  color: rgba(255,255,255,0.6) !important;
}
.leaflet-control-attribution a { color: rgba(255,255,255,0.8) !important; }

/* Leaflet-Zoom-Buttons stylen */
.leaflet-control-zoom {
  border: 0 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4) !important;
}
.leaflet-control-zoom a {
  background: rgba(0,0,0,0.7) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 34px !important;
  font-size: 16px !important;
}
.leaflet-control-zoom a:hover {
  background: rgba(0,0,0,0.85) !important;
}

/* Light-Mode für Map-Komponenten */
html[data-hc-theme="light"] .hub-view-switch {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
html[data-hc-theme="light"] .hub-view-tab { color: rgba(0,0,0,0.55); }
html[data-hc-theme="light"] .hub-view-tab.active {
  background: rgba(20,184,166,0.15);
  color: #0d8a6b;
}
html[data-hc-theme="light"] .hub-map-wrap {
  border-color: rgba(0,0,0,0.12);
}
html[data-hc-theme="light"] .leaflet-popup-content-wrapper {
  background: #ffffff !important;
  color: #1a1410 !important;
  border-color: rgba(0,0,0,0.12);
}
html[data-hc-theme="light"] .leaflet-popup-tip { background: #ffffff !important; }
html[data-hc-theme="light"] .hub-popup-name { color: #1a1410; }
html[data-hc-theme="light"] .hub-popup-ar { color: rgba(0,0,0,0.7); }
html[data-hc-theme="light"] .hub-popup-desc { color: rgba(0,0,0,0.65); }


/* ═══════════════════════════════════════════════════════════════════════
   DETAIL-VIEW — v0.3
   ═══════════════════════════════════════════════════════════════════════ */

.hub-detail-screen {
  /* Gleicher Hintergrund wie Haupt-Screen (über Default-Pattern) */
}
.hub-detail-star {
  font-size: 22px;
  color: #d4a843;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-detail-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 18px 100px;
}

/* Foto-Slot */
.hub-detail-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(45,212,191,0.08), rgba(212,168,67,0.08));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}
.hub-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hub-detail-photo.empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-detail-photo-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.4);
}
.hub-detail-photo-icon { font-size: 32px; margin-bottom: 4px; }
.hub-detail-photo-text { font-size: 11px; }
.hub-detail-badge-rec {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  background: rgba(212,168,67,0.92);
  color: #1a1410;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
}
.hub-detail-badge-num {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
}

/* Title-Block */
.hub-detail-titleblock {
  margin-bottom: 14px;
}
.hub-detail-name {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 4px;
}
.hub-detail-name-ar {
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  direction: rtl;
  text-align: right;
  margin-bottom: 10px;
}
.hub-detail-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Tag-System (für Detail) */
.hub-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.hub-tag.tag-pos        { background: rgba(45,212,191,0.12); color: #2dd4bf; border: 1px solid rgba(45,212,191,0.3); }
.hub-tag.tag-acc        { background: rgba(16,185,129,0.14); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.hub-tag.tag-stroller   { background: rgba(168,85,247,0.14); color: #c084fc; border: 1px solid rgba(168,85,247,0.3); }
.hub-tag.tag-esc        { background: rgba(167,139,250,0.14); color: #a78bfa; border: 1px solid rgba(167,139,250,0.3); }
.hub-tag.tag-info       { background: rgba(96,165,250,0.14); color: #93c5fd; border: 1px solid rgba(96,165,250,0.3); }
.hub-tag.tag-umra-entry { background: rgba(212,168,67,0.18); color: #d4a843; border: 1px solid rgba(212,168,67,0.4); font-weight: 800; }
.hub-tag.tag-umra-exit  { background: rgba(212,168,67,0.18); color: #d4a843; border: 1px solid rgba(212,168,67,0.4); font-weight: 800; }

/* Detail-Cards */
.hub-detail-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
.hub-detail-card-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #2dd4bf;
  margin-bottom: 8px;
}
.hub-detail-card-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}
/* Tipps-Card mit Highlight */
.hub-detail-tips-card {
  background: linear-gradient(135deg, rgba(212,168,67,0.12), rgba(212,168,67,0.04));
  border-color: rgba(212,168,67,0.3);
}
.hub-detail-tips-card .hub-detail-card-eyebrow {
  color: #d4a843;
}

/* Mini-Map */
.hub-detail-minimap {
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 12px;
  background: #1a2530;
}
#hub-detail-map {
  width: 100%;
  height: 100%;
}

/* Koordinaten Info */
.hub-detail-coords {
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  padding: 0 4px;
}
.hub-detail-coords-label { font-weight: 700; }
.hub-detail-coords-val { font-family: 'Inter', monospace; }

/* Action-Buttons */
.hub-detail-btn-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #d4a843, #b88a30);
  color: #1a1410;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  transition: transform 150ms;
  box-shadow: 0 3px 10px rgba(212,168,67,0.25);
}
.hub-detail-btn-primary:active { transform: scale(0.98); }
.hub-detail-btn-icon { font-size: 16px; }

.hub-detail-btn-secondary {
  width: 100%;
  padding: 12px;
  background: rgba(45,212,191,0.12);
  color: #2dd4bf;
  border: 1px solid rgba(45,212,191,0.4);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 150ms;
}
.hub-detail-btn-secondary:active {
  background: rgba(45,212,191,0.2);
  transform: scale(0.98);
}

/* Light-Mode für Detail */
html[data-hc-theme="light"] .hub-detail-photo {
  background: linear-gradient(135deg, rgba(20,184,166,0.08), rgba(212,168,67,0.08));
  border-color: rgba(0,0,0,0.12);
}
html[data-hc-theme="light"] .hub-detail-photo-placeholder { color: rgba(0,0,0,0.4); }
html[data-hc-theme="light"] .hub-detail-name { color: #1a1410; }
html[data-hc-theme="light"] .hub-detail-name-ar { color: rgba(0,0,0,0.75); }
html[data-hc-theme="light"] .hub-detail-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
html[data-hc-theme="light"] .hub-detail-card-eyebrow { color: #0d8a6b; }
html[data-hc-theme="light"] .hub-detail-card-text { color: rgba(0,0,0,0.85); }
html[data-hc-theme="light"] .hub-detail-tips-card {
  background: linear-gradient(135deg, rgba(212,168,67,0.18), rgba(212,168,67,0.06));
  border-color: rgba(212,168,67,0.4);
}
html[data-hc-theme="light"] .hub-detail-tips-card .hub-detail-card-eyebrow {
  color: #8a5a20;
}
html[data-hc-theme="light"] .hub-detail-minimap {
  border-color: rgba(0,0,0,0.12);
}
html[data-hc-theme="light"] .hub-detail-coords { color: rgba(0,0,0,0.55); }
html[data-hc-theme="light"] .hub-tag.tag-pos        { background: rgba(20,184,166,0.12); color: #0d8a6b; border-color: rgba(20,184,166,0.3); }
html[data-hc-theme="light"] .hub-tag.tag-acc        { background: rgba(5,150,105,0.15); color: #047857; border-color: rgba(5,150,105,0.3); }
html[data-hc-theme="light"] .hub-tag.tag-stroller   { background: rgba(124,58,237,0.15); color: #6d28d9; border-color: rgba(124,58,237,0.3); }
html[data-hc-theme="light"] .hub-tag.tag-esc        { background: rgba(124,58,237,0.15); color: #6d28d9; border-color: rgba(124,58,237,0.3); }
html[data-hc-theme="light"] .hub-tag.tag-info       { background: rgba(37,99,235,0.12); color: #1d4ed8; border-color: rgba(37,99,235,0.3); }
html[data-hc-theme="light"] .hub-tag.tag-umra-entry { background: rgba(180,140,55,0.18); color: #8a5a20; border-color: rgba(180,140,55,0.4); }
html[data-hc-theme="light"] .hub-tag.tag-umra-exit  { background: rgba(180,140,55,0.18); color: #8a5a20; border-color: rgba(180,140,55,0.4); }


/* ═══════════════════════════════════════════════════════════════════════
   v0.4 — TREFFPUNKT-SHEET (Schritt 5)
   ═══════════════════════════════════════════════════════════════════════ */

/* Overlay hinter Sheet */
.hub-meetup-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 240ms ease-out;
  z-index: 50;
}
.hub-meetup-sheet-overlay--open { opacity: 1; }

/* Bottom-Sheet selbst */
.hub-meetup-sheet {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  z-index: 60;
  background: linear-gradient(180deg, #1a2530 0%, #0a1018 100%);
  border-radius: 22px 22px 0 0;
  border-top: 1px solid rgba(212,168,67,0.3);
  padding: 14px 18px max(22px, env(safe-area-inset-bottom, 22px));
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
  max-width: 480px;
  margin: 0 auto;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.hub-meetup-sheet--open { transform: translateY(0); }

.hub-meetup-grabber {
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 0 auto 14px;
}

/* Header */
.hub-meetup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hub-meetup-icon { font-size: 18px; flex-shrink: 0; }
.hub-meetup-titlewrap { flex: 1; min-width: 0; }
.hub-meetup-eyebrow {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #d4a843;
}
.hub-meetup-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hub-meetup-close {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.hub-meetup-close:active { background: rgba(255,255,255,0.15); }

/* QR + Code-Reihe */
.hub-meetup-qrrow {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: center;
}
.hub-meetup-qr {
  flex-shrink: 0;
  width: 110px; height: 110px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-meetup-qr svg {
  display: block;
  width: 100%; height: 100%;
}
.hub-qr-placeholder {
  font-size: 10px;
  color: #888;
}
.hub-meetup-codewrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hub-meetup-code-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.hub-meetup-code {
  font-family: 'Inter', monospace;
  font-size: 26px;
  font-weight: 800;
  color: #d4a843;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  line-height: 1;
}
.hub-meetup-subtitle {
  font-size: 10.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* Notiz-Input */
.hub-meetup-noteinput {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.hub-meetup-noteinput input {
  width: 100%;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.92);
  font-size: 12.5px;
  font-family: inherit;
  outline: none;
  padding: 0;
}
.hub-meetup-noteinput input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* WhatsApp Hauptbutton */
.hub-meetup-btn-wa {
  width: 100%;
  padding: 12px;
  background: #25D366;
  color: #fff;
  border: 0;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: transform 150ms;
  box-shadow: 0 2px 8px rgba(37,211,102,0.25);
}
.hub-meetup-btn-wa:active { transform: scale(0.98); background: #1ea952; }
.hub-meetup-btn-icon { font-size: 16px; line-height: 1; }

/* Navi-Button im Sheet */
.hub-meetup-btn-navi {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #d4a843, #b88a30);
  color: #1a1410;
  border: 0;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: transform 150ms;
}
.hub-meetup-btn-navi:active { transform: scale(0.98); }

/* Sekundäre Buttons (Kopieren / Mehr) */
.hub-meetup-row2 {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.hub-meetup-btn-secondary {
  flex: 1;
  padding: 10px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 150ms;
}
.hub-meetup-btn-secondary:active {
  background: rgba(255,255,255,0.15);
  transform: scale(0.97);
}

/* Disclaimer */
.hub-meetup-disclaimer {
  text-align: center;
  font-size: 9.5px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
  line-height: 1.5;
}

/* Detail-View Navi-Button (Drittens unter Show on Map) */
.hub-detail-btn-navi {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #d4a843, #b88a30);
  color: #1a1410;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  transition: transform 150ms;
  box-shadow: 0 2px 8px rgba(212,168,67,0.2);
}
.hub-detail-btn-navi:active { transform: scale(0.98); }

/* Marker-Popup: Button-Reihe */
.hub-popup-btnrow {
  display: flex;
  gap: 6px;
}
.hub-popup-btnrow .hub-popup-btn { flex: 1; }
.hub-popup-btn-navi {
  flex: 0 0 38px !important;
  padding: 7px 0 !important;
  background: linear-gradient(135deg, #d4a843, #b88a30) !important;
  color: #1a1410 !important;
  font-size: 14px !important;
}

/* Empfänger-Popup (Treffpunkt erhalten) */
.hub-popup-received .hub-popup-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #d4a843;
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.35);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.hub-popup-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.78);
  margin-top: 4px;
  line-height: 1.4;
}
.hub-popup-meta b {
  color: rgba(255,255,255,0.55);
  font-weight: 700;
  margin-right: 4px;
}

/* Light-Mode Treffpunkt */
html[data-hc-theme="light"] .hub-meetup-sheet {
  background: linear-gradient(180deg, #faf5e8 0%, #f3ecd9 100%);
  border-top-color: rgba(180,140,55,0.4);
}
html[data-hc-theme="light"] .hub-meetup-grabber { background: rgba(0,0,0,0.2); }
html[data-hc-theme="light"] .hub-meetup-eyebrow { color: #8a5a20; }
html[data-hc-theme="light"] .hub-meetup-title { color: #1a1410; }
html[data-hc-theme="light"] .hub-meetup-close {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.6);
}
html[data-hc-theme="light"] .hub-meetup-code-label { color: rgba(0,0,0,0.55); }
html[data-hc-theme="light"] .hub-meetup-code { color: #8a5a20; }
html[data-hc-theme="light"] .hub-meetup-subtitle { color: rgba(0,0,0,0.6); }
html[data-hc-theme="light"] .hub-meetup-noteinput {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
}
html[data-hc-theme="light"] .hub-meetup-noteinput input {
  color: #1a1410;
}
html[data-hc-theme="light"] .hub-meetup-noteinput input::placeholder { color: rgba(0,0,0,0.4); }
html[data-hc-theme="light"] .hub-meetup-btn-secondary {
  background: #fff;
  color: rgba(0,0,0,0.8);
  border-color: rgba(0,0,0,0.12);
}
html[data-hc-theme="light"] .hub-meetup-disclaimer { color: rgba(0,0,0,0.45); }
html[data-hc-theme="light"] .hub-popup-meta { color: rgba(0,0,0,0.78); }
html[data-hc-theme="light"] .hub-popup-meta b { color: rgba(0,0,0,0.55); }
html[data-hc-theme="light"] .hub-popup-received .hub-popup-tag {
  color: #8a5a20;
  background: rgba(180,140,55,0.18);
  border-color: rgba(180,140,55,0.4);
}


/* ═══════════════════════════════════════════════════════════════════════
   v0.5 — BLOCK 1+2+3+4 ERGÄNZUNGEN
   ═══════════════════════════════════════════════════════════════════════ */

/* Block 2 — Standort-Teilen-Button im Header */
.hub-hdr-share {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
  height: 38px;
  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(59,130,246,0.5);
  border-radius: 12px;
  cursor: pointer;
  color: #60a5fa;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  position: relative;
  z-index: 100;
  pointer-events: auto;
}
.hub-hdr-share:active {
  background: rgba(239,68,68,0.4);
  transform: scale(0.92);
}
.hub-hdr-share svg { width: 14px; height: 14px; }
.hub-hdr-share-label { font-size: 12px; font-weight: 500; }

/* Block 1+3 — Erweiterte Card-Tags */
.hub-point-tag.tag-umra-entry {
  background: rgba(212,168,67,0.18);
  color: #d4a843;
  border: 1px solid rgba(212,168,67,0.4);
  font-weight: 800;
}
.hub-point-tag.tag-umra-exit {
  background: rgba(212,168,67,0.18);
  color: #d4a843;
  border: 1px solid rgba(212,168,67,0.4);
  font-weight: 800;
}
.hub-point-tag.tag-stroller {
  background: rgba(244,114,182,0.18);
  color: #f9a8d4;
  border: 1px solid rgba(244,114,182,0.35);
  font-weight: 700;
}
.hub-point-tag.tag-info {
  background: rgba(168,85,247,0.18);
  color: #d8b4fe;
  border: 1px solid rgba(168,85,247,0.35);
  font-weight: 700;
}

/* Block 2 — Geteilter Standort als Marker */
.hub-shared-loc-wrap { background: transparent !important; border: 0 !important; }
.hub-shared-loc-marker {
  width: 40px; height: 40px;
  background: #3b82f6;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(59,130,246,0.4), 0 0 0 4px rgba(59,130,246,0.2);
  animation: hub-shared-pulse 2.5s ease-in-out infinite;
}
.hub-shared-loc-marker span {
  transform: rotate(45deg);
  font-size: 18px;
}
@keyframes hub-shared-pulse {
  0%, 100% { box-shadow: 0 3px 8px rgba(59,130,246,0.4), 0 0 0 4px rgba(59,130,246,0.2); }
  50%      { box-shadow: 0 3px 8px rgba(59,130,246,0.4), 0 0 0 12px rgba(59,130,246,0.05); }
}

/* Block 4 — Globale Font-Size-Skalierung */
html[data-hc-font="small"] body { font-size: 14px; }
html[data-hc-font="normal"] body { font-size: 16px; }
html[data-hc-font="large"] body { font-size: 18px; }

html[data-hc-font="small"] .hub-screen,
html[data-hc-font="small"] .hub-detail-screen { font-size: 13px; }
html[data-hc-font="large"] .hub-screen,
html[data-hc-font="large"] .hub-detail-screen { font-size: 17px; }

html[data-hc-font="small"] .hub-point-name { font-size: 12.5px; }
html[data-hc-font="large"] .hub-point-name { font-size: 14.5px; }

html[data-hc-font="small"] .hub-point-desc { font-size: 10.5px; }
html[data-hc-font="large"] .hub-point-desc { font-size: 12.5px; }

html[data-hc-font="small"] .hub-detail-name { font-size: 17px; }
html[data-hc-font="large"] .hub-detail-name { font-size: 21px; }

html[data-hc-font="small"] .hub-detail-card-text { font-size: 12.5px; }
html[data-hc-font="large"] .hub-detail-card-text { font-size: 14.5px; }

html[data-hc-font="small"] .hub-filter-chip { font-size: 10.5px; }
html[data-hc-font="large"] .hub-filter-chip { font-size: 12px; }

/* Light-Mode für neue Elemente */
html[data-hc-theme="light"] .hub-hdr-share {
  background: rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.3);
  color: #1d4ed8;
}
html[data-hc-theme="light"] .hub-hdr-share:active { background: rgba(37,99,235,0.2); }
html[data-hc-theme="light"] .hub-point-photo {
  background: linear-gradient(135deg, rgba(20,184,166,0.06), rgba(212,168,67,0.06));
  border-color: rgba(0,0,0,0.1);
}
html[data-hc-theme="light"] .hub-point-tag.tag-umra-entry,
html[data-hc-theme="light"] .hub-point-tag.tag-umra-exit {
  background: rgba(180,140,55,0.18);
  color: #8a5a20;
  border-color: rgba(180,140,55,0.4);
}
html[data-hc-theme="light"] .hub-point-tag.tag-stroller {
  background: rgba(124,58,237,0.15);
  color: #6d28d9;
  border-color: rgba(124,58,237,0.3);
}
html[data-hc-theme="light"] .hub-point-tag.tag-info {
  background: rgba(37,99,235,0.12);
  color: #1d4ed8;
  border-color: rgba(37,99,235,0.3);
}


/* Filter-Dropdown (v0.6) */
.hub-filterwrap {
  position: relative;
  margin: 0 18px 14px;
}
.hub-filter-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.hub-filter-btn:active { background: rgba(255,255,255,0.08); }
.hub-filter-btn-icon { font-size: 12px; }
.hub-filter-btn-label { flex: 1; }
.hub-filter-btn-arrow { font-size: 9px; color: rgba(255,255,255,0.4); }
.hub-filter-panel {
  margin-top: 8px;
  background: rgba(20,30,40,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.hub-filter-option {
  padding: 10px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.hub-filter-option:active { background: rgba(255,255,255,0.1); }
.hub-filter-option.active {
  background: rgba(212,168,67,0.22);
  border-color: rgba(212,168,67,0.5);
  color: #d4a843;
}

/* Light-Mode */
html[data-hc-theme="light"] .hub-filter-btn {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  color: #1a1410;
}
html[data-hc-theme="light"] .hub-filter-btn-arrow { color: rgba(0,0,0,0.55); }
html[data-hc-theme="light"] .hub-filter-panel {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
}
html[data-hc-theme="light"] .hub-filter-option {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.8);
}
html[data-hc-theme="light"] .hub-filter-option.active {
  background: rgba(180,140,55,0.18);
  border-color: rgba(180,140,55,0.4);
  color: #8a5a20;
}


/* ═══════════════════════════════════════════════════════════════════════
   v0.7 — SCHNELL-RAUS
   ═══════════════════════════════════════════════════════════════════════ */

/* CTA-Button auf Hub-Startseite */
.hub-exit-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 36px);
  margin: 0 18px 14px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(239,68,68,0.08));
  border: 1px solid rgba(239,68,68,0.4);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform 150ms;
}
.hub-exit-cta:active { transform: scale(0.98); }
.hub-exit-cta-icon {
  font-size: 16px;
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(239,68,68,0.25);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-exit-cta-label {
  flex: 1;
  font-size: 12.5px;
  font-weight: 700;
  display: block;
}
.hub-exit-cta-sub {
  font-size: 10.5px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-top: 1px;
  display: block;
}

/* Sheet — Schritt 1 (Position wählen) */
.hub-exit-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.hub-exit-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}
.hub-exit-option:active { background: rgba(255,255,255,0.1); }
.hub-exit-option-icon { font-size: 18px; flex-shrink: 0; }
.hub-exit-option-label { flex: 1; }
.hub-exit-option-arrow { font-size: 18px; color: rgba(255,255,255,0.4); }

.hub-exit-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-top: 8px;
  padding: 0 8px;
  line-height: 1.4;
}

/* Sheet — Schritt 2 (Ergebnisse) */
.hub-exit-back {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  cursor: pointer;
  padding: 0 6px 0 0;
  font-family: inherit;
}
.hub-exit-back:active { color: #fff; }
.hub-exit-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hub-exit-result {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
}
.hub-exit-result-rank {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(239,68,68,0.2);
  border: 1px solid rgba(239,68,68,0.4);
  color: #fca5a5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.hub-exit-result-body { flex: 1; min-width: 0; }
.hub-exit-result-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.hub-exit-result-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  align-items: center;
}
.hub-exit-result-dist {
  font-size: 11px;
  font-weight: 700;
  color: #fca5a5;
  padding: 2px 7px;
  background: rgba(239,68,68,0.15);
  border-radius: 5px;
}
.hub-exit-tag {
  font-size: 11px;
  padding: 2px 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 5px;
}
.hub-exit-result-actions {
  display: flex;
  gap: 6px;
}
.hub-exit-btn-navi {
  flex: 1;
  padding: 8px;
  background: linear-gradient(135deg, #d4a843, #b88a30);
  color: #1a1410;
  border: 0;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.hub-exit-btn-navi:active { transform: scale(0.97); }
.hub-exit-btn-map {
  flex: 1;
  padding: 8px;
  background: rgba(45,212,191,0.12);
  color: #2dd4bf;
  border: 1px solid rgba(45,212,191,0.4);
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.hub-exit-btn-map:active { background: rgba(45,212,191,0.2); }
.hub-exit-empty {
  text-align: center;
  padding: 30px 0;
  color: rgba(255,255,255,0.5);
}

/* Light-Mode */
html[data-hc-theme="light"] .hub-exit-cta {
  background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(220,38,38,0.04));
  border-color: rgba(220,38,38,0.4);
  color: #1a1410;
}
html[data-hc-theme="light"] .hub-exit-cta-sub { color: rgba(0,0,0,0.6); }
html[data-hc-theme="light"] .hub-exit-option {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  color: #1a1410;
}
html[data-hc-theme="light"] .hub-exit-option-arrow { color: rgba(0,0,0,0.4); }
html[data-hc-theme="light"] .hub-exit-result {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
}
html[data-hc-theme="light"] .hub-exit-result-name { color: #1a1410; }
html[data-hc-theme="light"] .hub-exit-result-rank {
  background: rgba(220,38,38,0.15);
  color: #b91c1c;
}


/* ── TOOLBAR (Filter + Schnell raus nebeneinander, wie Karte/Liste) ──── */
.hub-toolbar {
  flex-shrink: 0;
  margin: 0 18px 8px;
  display: flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.hub-tool-btn {
  flex: 1;
  padding: 7px 8px;
  font-size: 11.5px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hub-tool-filter {
  color: rgba(255,255,255,0.7);
}
.hub-tool-filter:active { background: rgba(255,255,255,0.08); }
.hub-tool-exit {
  background: rgba(239,68,68,0.18);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.4);
}
.hub-tool-exit:active { background: rgba(239,68,68,0.3); }

html[data-hc-theme="light"] .hub-toolbar {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
}
html[data-hc-theme="light"] .hub-tool-filter { color: rgba(0,0,0,0.7); }
html[data-hc-theme="light"] .hub-tool-exit {
  background: rgba(220,38,38,0.12);
  color: #b91c1c;
  border-color: rgba(220,38,38,0.4);
}

/* Filter-Panel jetzt im separaten wrap unter der Toolbar */
.hub-filterwrap { margin: 0 18px 14px; }

/* ════════════════════════════════════════════════════════════════════════
   FILTER BOTTOM-SHEET (v0.8)
   ════════════════════════════════════════════════════════════════════════ */
.hub-filter-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 50;
  opacity: 0;
  transition: opacity 240ms ease-out;
}
.hub-filter-sheet-overlay.open { opacity: 1; }

.hub-filter-sheet {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  z-index: 60;
  background: linear-gradient(180deg, #1a2530 0%, #0a1018 100%);
  border-radius: 22px;
  border: 1px solid rgba(45,212,191,0.25);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
  max-width: 480px;
  margin: 0 auto;
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  transform: translateY(110%);
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}
.hub-filter-sheet.open { transform: translateY(0); }

.hub-filter-handle {
  flex-shrink: 0;
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  margin: 8px auto 4px;
}

.hub-filter-head {
  flex-shrink: 0;
  padding: 6px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hub-filter-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hub-filter-count {
  font-size: 11px;
  color: #2dd4bf;
  font-weight: 600;
  margin-top: 2px;
}
.hub-filter-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.hub-filter-reset, .hub-filter-done {
  font-size: 11px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 8px;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}
.hub-filter-reset {
  background: rgba(255,255,255,0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.1);
}
.hub-filter-reset:active { background: rgba(255,255,255,0.12); }
.hub-filter-done {
  background: #2dd4bf;
  color: #0a1018;
}
.hub-filter-done:active {
  background: #14b8a6;
  transform: scale(0.96);
}

.hub-filter-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 18px 24px;
  flex: 1;
}

.hub-filter-search {
  width: 100%;
  margin-bottom: 14px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.hub-filter-search::placeholder { color: rgba(255,255,255,0.4); }
.hub-filter-search:focus {
  border-color: rgba(45,212,191,0.5);
  background: rgba(255,255,255,0.08);
}

.hub-filter-section { margin-bottom: 14px; }
.hub-filter-section-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hub-filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hub-filter-chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: all 150ms;
  font-family: inherit;
  white-space: nowrap;
}
.hub-filter-chip:active { transform: scale(0.94); }
.hub-filter-chip.on {
  background: rgba(45,212,191,0.2);
  border-color: rgba(45,212,191,0.5);
  color: #5eead4;
}
.hub-filter-chip.gold.on {
  background: rgba(212,168,67,0.2);
  border-color: rgba(212,168,67,0.5);
  color: #fcd34d;
}
.hub-filter-chip.blue.on {
  background: rgba(96,165,250,0.2);
  border-color: rgba(96,165,250,0.5);
  color: #93c5fd;
}
.hub-filter-chip.pink.on {
  background: rgba(244,114,182,0.2);
  border-color: rgba(244,114,182,0.5);
  color: #f9a8d4;
}

/* Toolbar Filter-Button: aktiv wenn Filter aktiv */
.hub-tool-filter.active {
  background: rgba(45,212,191,0.18) !important;
  border-color: rgba(45,212,191,0.4) !important;
  color: #5eead4 !important;
}

/* Light theme */
html[data-hc-theme="light"] .hub-filter-sheet {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  border-color: rgba(0,0,0,0.1);
}
html[data-hc-theme="light"] .hub-filter-title { color: #1a1410; }
html[data-hc-theme="light"] .hub-filter-handle { background: rgba(0,0,0,0.2); }
html[data-hc-theme="light"] .hub-filter-search {
  background: rgba(0,0,0,0.04);
  color: #1a1410;
  border-color: rgba(0,0,0,0.1);
}
html[data-hc-theme="light"] .hub-filter-chip {
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.7);
  border-color: rgba(0,0,0,0.1);
}
html[data-hc-theme="light"] .hub-filter-section-title { color: rgba(0,0,0,0.5); }
