/* ═══════════════════════════════════════════════════════════════════════════
   HARAMAIN COMPANION — home-style.css
   Modul: Komplettes Mockup-Design als CSS-Override (v258.3, 26.04.2026)

   Übernimmt den exakten Look aus mockup-final-polished.html:
   - Hero-Card mit Cormorant Garamond + grüner Gradient
   - 5 Mini-Prayer-Buttons mit grünem Active-Glow
   - Pilger-Tipp-Streifen integriert
   - 8 Quick-Tiles mit Farb-Kodierung pro Kategorie
   - Akkordeon-Kacheln verfeinert
   - Inspiration-Card mit Tab-System
   - SOS mit Pulse, AI-FAB mit Glow

   Wenn unerwünscht: einfach <link>-Tag aus app.html entfernen.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Schriftarten laden */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

/* ─── HERO PRAYER CARD ────────────────────────────────────────────── */
.hero-prayer-card {
  /* v258.6: KEIN eigenes margin mehr — folgt dem .page padding (16px links/rechts)
     wie alle anderen Elemente (Tiles, Akkordeons, Inspiration-Card).
     Damit sind alle Sektionen exakt gleich breit. */
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  background:
    linear-gradient(180deg, rgba(15,45,32,0.92) 0%, rgba(8,25,18,0.95) 100%) !important;
  border: 1px solid rgba(16,185,129,0.18) !important;
  border-radius: 24px !important;
  position: relative;
  overflow: hidden;
}

.hero-prayer-card__bg {
  background:
    radial-gradient(ellipse 280px 200px at 80% 20%, rgba(16,185,129,0.18), transparent 70%),
    radial-gradient(ellipse 200px 150px at 10% 90%, rgba(201,168,76,0.15), transparent 70%) !important;
}

.hero-prayer-card__bg::after {
  display: none !important;  /* Diamant-Pattern WEG */
}

.hero-prayer-card__content {
  padding: 18px 20px 16px !important;
  position: relative;
  z-index: 1;
}

/* Greeting-Zeile (Arabisch + Latein) */
.hero-prayer-card #user-greeting-inline {
  font-size: 12px !important;
  color: rgba(255,255,255,0.85) !important;
}
.hero-prayer-card #user-greeting-inline span:first-child {
  font-family: 'Scheherazade New', serif !important;
  font-size: 18px !important;
  color: #c9a84c !important;
  opacity: 1 !important;
}

/* Wetter rechts oben */
.hero-prayer-card__weather-inline {
  position: absolute !important;
  top: 18px !important;
  right: 20px !important;
  flex-direction: column !important;
  align-items: flex-end !important;
}
.hero-prayer-card__weather-inline .w-temp {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
}
.hero-prayer-card__weather-inline .w-warn {
  font-size: 10px !important;
  color: rgba(255,255,255,0.6) !important;
  background: transparent !important;
  padding: 0 !important;
  /* v2.0 (03.05.2026): Inline max-width:100px aus app.html überschreiben — */
  /* sonst wird "Angenehm — Tirschenreuth" als "Angenehm — Tir..." abgeschnitten */
  max-width: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.3 !important;
}

/* "Nächstes Gebet" Label */
.hero-prayer-card__label {
  font-size: 9px !important;
  color: rgba(255,255,255,0.5) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.8px !important;
  font-weight: 500 !important;
}

/* Gebets-Name (Maghrib, Isha etc.) — KLEINER UND ELEGANTER */
.hero-prayer-card__name {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
}

/* Datum-Zeile rechts vom Gebets-Namen */
.hero-prayer-card #date-hijri {
  font-family: 'Scheherazade New', serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #c9a84c !important;
}
.hero-prayer-card #date-gregorian {
  font-size: 10px !important;
  color: rgba(255,255,255,0.55) !important;
}

/* Countdown 01h 27m 53s — GROSS UND SCHÖN */
.hero-prayer-card__countdown {
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  margin: 6px 0 14px 0 !important;
  font-family: 'Cormorant Garamond', serif !important;
}
.hero-prayer-card__countdown .countdown-unit {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 2px !important;
}
.hero-prayer-card__countdown .countdown-unit span {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  color: #c9a84c !important;
  line-height: 1 !important;
  letter-spacing: 0.5px !important;
  font-variant-numeric: tabular-nums !important;
}
.hero-prayer-card__countdown .countdown-unit small {
  font-size: 9px !important;
  color: rgba(201,168,76,0.55) !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-right: 6px !important;
  font-family: Inter, sans-serif !important;
  font-weight: 600 !important;
}
.hero-prayer-card__countdown .countdown-sep {
  display: none !important;  /* Doppelpunkte weg, edler Look */
}

/* 5 Prayer-Time-Chips: Mini-Buttons — EXAKT gleich breit */
.hero-prayer-card__times {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 4px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}
.prayer-time-chip {
  background: rgba(0,0,0,0.3) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 10px !important;
  padding: 7px 4px !important;
  text-align: center !important;
  flex-direction: column !important;
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  min-width: 0 !important;
  width: 100% !important;
  flex: 1 1 0 !important;
  box-sizing: border-box !important;
  transition: all 0.2s !important;
}
.prayer-time-chip span:first-child {
  font-size: 9px !important;
  color: rgba(255,255,255,0.55) !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
}
.prayer-time-chip span:last-child {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
  width: 100% !important;
}
.prayer-time-chip--active {
  background: linear-gradient(135deg, rgba(16,185,129,0.3), rgba(16,185,129,0.12)) !important;
  border-color: rgba(16,185,129,0.45) !important;
  box-shadow: 0 0 12px rgba(16,185,129,0.15) !important;
}
.prayer-time-chip--active span:first-child,
.prayer-time-chip--active span:last-child {
  color: #4ade80 !important;
}

/* Pilger-Tipp-Streifen — schöner Look */
#hero-tip-strip {
  background: rgba(0,0,0,0.3) !important;
  border: 1px solid rgba(201,168,76,0.22) !important;
  border-radius: 12px !important;
  margin-top: 14px !important;
  transition: all 0.15s !important;
}
#hero-tip-strip:active,
#hero-tip-strip:hover {
  background: rgba(201,168,76,0.1) !important;
  border-color: rgba(201,168,76,0.35) !important;
}

/* ─── 8 QUICK-TILES (4×2) — Mockup-Style ──────────────────────────── */

/* "SCHNELLZUGRIFF"-Header — v567: Glas-Pill mit Goldakzent, garantiert lesbar auf jedem BG */
.dash-cat-header {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 6px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(20,28,36,0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(212,175,55,0.35) !important;
  border-radius: 10px !important;
  color: #e6c068 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  width: auto !important;
  margin: 4px 0 8px !important;
}
[data-theme="light"] .dash-cat-header {
  background: rgba(255,255,255,0.92) !important;
  border-color: rgba(160,112,48,0.35) !important;
  color: #a07030 !important;
  text-shadow: none !important;
}
.dash-cat-icon {
  width: 14px !important;
  height: 14px !important;
}

/* Tiles selbst — größere, edlere Optik */
.dash-tile {
  aspect-ratio: 0.78 !important;  /* etwas höher damit 2-Zeilen-Labels passen */
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 18px !important;
  padding: 12px 4px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.15s, border-color 0.2s !important;
  min-height: 0 !important;
}
.dash-tile:active {
  transform: scale(0.96) !important;
}
.dash-tile:hover {
  border-color: rgba(255,255,255,0.18) !important;
}

/* Icon-Container in Tile — farbiger Hintergrund + farbiges Icon */
.dash-tile__icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(var(--cat-color-rgb), 0.16) !important;
  margin-bottom: 4px !important;
}
.dash-tile__icon i,
.dash-tile__icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 1.7 !important;
}

/* ── INDIVIDUELLE ICON-FARBEN PRO TILE (wie Mockup) ── */
/* Hajj-Guide — grün */
#tile-hajj .dash-tile__icon {
  background: rgba(16,185,129,0.18) !important;
  color: #4ade80 !important;
}
#tile-hajj .dash-tile__icon i,
#tile-hajj .dash-tile__icon svg { color: #4ade80 !important; }

/* ʿUmrah-Guide — grün */
#tile-guide .dash-tile__icon {
  background: rgba(16,185,129,0.18) !important;
  color: #4ade80 !important;
}
#tile-guide .dash-tile__icon i,
#tile-guide .dash-tile__icon svg { color: #4ade80 !important; }

/* Daily Dhikr — lila */
#tile-dhikr .dash-tile__icon {
  background: rgba(168,85,247,0.18) !important;
  color: #a78bfa !important;
}
#tile-dhikr .dash-tile__icon i,
#tile-dhikr .dash-tile__icon svg { color: #a78bfa !important; }

/* Haram Map — blau */
#tile-map .dash-tile__icon {
  background: rgba(59,130,246,0.18) !important;
  color: #60a5fa !important;
}
#tile-map .dash-tile__icon i,
#tile-map .dash-tile__icon svg { color: #60a5fa !important; }

/* Tagesplaner — teal */
#tile-planner .dash-tile__icon {
  background: rgba(20,184,166,0.18) !important;
  color: #2dd4bf !important;
}
#tile-planner .dash-tile__icon i,
#tile-planner .dash-tile__icon svg { color: #2dd4bf !important; }

/* Madinah-Besuch — amber/gold */
#tile-madinah .dash-tile__icon {
  background: rgba(245,158,11,0.18) !important;
  color: #fbbf24 !important;
}
#tile-madinah .dash-tile__icon i,
#tile-madinah .dash-tile__icon svg { color: #fbbf24 !important; }

/* Fiqh Q&A — lila */
#tile-fiqh-qa .dash-tile__icon {
  background: rgba(168,85,247,0.18) !important;
  color: #a78bfa !important;
}
#tile-fiqh-qa .dash-tile__icon i,
#tile-fiqh-qa .dash-tile__icon svg { color: #a78bfa !important; }

/* Ziyārat — gold */
#tile-ziyarat .dash-tile__icon {
  background: rgba(201,168,76,0.18) !important;
  color: #c9a84c !important;
}
#tile-ziyarat .dash-tile__icon i,
#tile-ziyarat .dash-tile__icon svg { color: #c9a84c !important; }

/* Tile-Label — KLEINER damit es immer reinpasst, max 2 Zeilen */
.dash-tile__label {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #e5e5e5 !important;
  text-align: center !important;
  line-height: 1.2 !important;
  letter-spacing: 0.1px !important;
  /* Text wrap statt abschneiden */
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: keep-all !important;
  hyphens: auto !important;
  max-width: 100% !important;
  padding: 0 2px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

/* Live-Pill unter dem Label */
.dash-tile__live {
  font-size: 9px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  margin-top: 2px !important;
  letter-spacing: 0.2px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

/* ── INDIVIDUELLE PILL-FARBEN PRO TILE ── */
#tile-hajj .dash-tile__live,
#tile-guide .dash-tile__live {
  color: #4ade80 !important;
  background: rgba(16,185,129,0.13) !important;
  border: 1px solid rgba(16,185,129,0.28) !important;
}
#tile-dhikr .dash-tile__live,
#tile-fiqh-qa .dash-tile__live {
  color: #a78bfa !important;
  background: rgba(168,85,247,0.13) !important;
  border: 1px solid rgba(168,85,247,0.28) !important;
}
#tile-map .dash-tile__live {
  color: #60a5fa !important;
  background: rgba(59,130,246,0.13) !important;
  border: 1px solid rgba(59,130,246,0.28) !important;
}
#tile-planner .dash-tile__live {
  color: #2dd4bf !important;
  background: rgba(20,184,166,0.13) !important;
  border: 1px solid rgba(20,184,166,0.28) !important;
}
#tile-madinah .dash-tile__live {
  color: #fbbf24 !important;
  background: rgba(245,158,11,0.13) !important;
  border: 1px solid rgba(245,158,11,0.28) !important;
}
#tile-ziyarat .dash-tile__live {
  color: #c9a84c !important;
  background: rgba(201,168,76,0.13) !important;
  border: 1px solid rgba(201,168,76,0.28) !important;
}

/* Linker Border-Akzent leicht */
.dash-tile {
  border-left-width: 4px !important;
}

/* ── v566 (08.05.2026): DARK JEWEL TONES — 92% opak (dezent durchscheinend) ──
   Match zur Icon-Farbe, gedeckt & elegant */
#tile-hajj      { background: rgba(18,38,26,0.92) !important; border-color: rgba(74,222,128,0.20) !important; }   /* Forest */
#tile-guide     { background: rgba(20,36,24,0.92) !important; border-color: rgba(74,222,128,0.20) !important; }   /* Forest Variante */
#tile-dhikr     { background: rgba(28,20,42,0.92) !important; border-color: rgba(167,139,250,0.20) !important; }  /* Eggplant */
#tile-quran     { background: rgba(38,28,16,0.92) !important; border-color: rgba(212,175,55,0.20) !important; }   /* Bronze */
#tile-planner   { background: rgba(14,32,30,0.92) !important; border-color: rgba(45,212,191,0.20) !important; }   /* Deep Teal */
#tile-madinah   { background: rgba(40,26,14,0.92) !important; border-color: rgba(245,158,11,0.20) !important; }   /* Burnt Amber */
#tile-fiqh-qa   { background: rgba(30,22,40,0.92) !important; border-color: rgba(167,139,250,0.20) !important; }  /* Eggplant Variante */
#tile-ziyarat   { background: rgba(36,30,14,0.92) !important; border-color: rgba(201,168,76,0.20) !important; }   /* Olive Gold */

/* v566 — Light-Mode: hellere Pastell-Varianten der Jewel Tones */
[data-theme="light"] #tile-hajj      { background: rgba(220,250,232,0.96) !important; border-color: rgba(16,185,129,0.30) !important; }
[data-theme="light"] #tile-guide     { background: rgba(220,250,232,0.96) !important; border-color: rgba(16,185,129,0.30) !important; }
[data-theme="light"] #tile-dhikr     { background: rgba(238,228,255,0.96) !important; border-color: rgba(168,85,247,0.30) !important; }
[data-theme="light"] #tile-quran     { background: rgba(252,238,210,0.96) !important; border-color: rgba(212,175,55,0.32) !important; }
[data-theme="light"] #tile-planner   { background: rgba(220,248,244,0.96) !important; border-color: rgba(45,212,191,0.30) !important; }
[data-theme="light"] #tile-madinah   { background: rgba(255,238,210,0.96) !important; border-color: rgba(245,158,11,0.32) !important; }
[data-theme="light"] #tile-fiqh-qa   { background: rgba(238,228,255,0.96) !important; border-color: rgba(168,85,247,0.30) !important; }
[data-theme="light"] #tile-ziyarat   { background: rgba(248,238,210,0.96) !important; border-color: rgba(201,168,76,0.32) !important; }
[data-theme="light"] .dash-tile__label { color: #1a1814 !important; text-shadow: none !important; }

/* ─── AKKORDEON-KACHELN ──────────────────────────────────────────── */
.hc-accordion {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.hc-accordion:hover {
  border-color: rgba(255,255,255,0.14) !important;
}
.hc-accordion__header:active {
  background: rgba(255,255,255,0.02) !important;
}

/* ─── INSPIRATION-CARD verfeinern ────────────────────────────────── */
#hc-inspire-wrap {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

/* Tab-Buttons hover */
#hc-inspire-tab-dua:hover,
#hc-inspire-tab-hadith:hover {
  background: rgba(255,255,255,0.05) !important;
}

/* ─── HEADER + SOS-BUTTON ────────────────────────────────────────── */

/* SOS-Button mit Pulse-Animation */
.btn-sos,
button[onclick*="openSOS"],
button[data-nav="sos"],
.sos-btn {
  position: relative !important;
  background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
  box-shadow: 0 2px 12px rgba(239,68,68,0.3) !important;
  transition: transform 0.15s !important;
}
.btn-sos::before,
button[onclick*="openSOS"]::before,
button[data-nav="sos"]::before,
.sos-btn::before {
  content: '' !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: inherit !important;
  background: rgba(239,68,68,0.3) !important;
  z-index: -1 !important;
  animation: hcSosPulse 1.8s ease-in-out infinite !important;
}
@keyframes hcSosPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.15); }
}

/* ─── AI-FAB mit Glow ────────────────────────────────────────────── */
.ai-chat-fab,
#ai-chat-fab,
.fab-ai {
  background:
    radial-gradient(circle at 30% 30%, rgba(201,168,76,0.4), transparent 60%),
    linear-gradient(135deg, rgba(15,40,30,0.95), rgba(8,20,15,0.95)) !important;
  border: 2px solid #c9a84c !important;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.5),
    0 0 0 4px rgba(201,168,76,0.06),
    0 0 20px rgba(201,168,76,0.15) !important;
  animation: hcFabGlow 3s ease-in-out infinite !important;
}
@keyframes hcFabGlow {
  0%, 100% {
    box-shadow:
      0 8px 24px rgba(0,0,0,0.5),
      0 0 0 4px rgba(201,168,76,0.06),
      0 0 20px rgba(201,168,76,0.15);
  }
  50% {
    box-shadow:
      0 8px 24px rgba(0,0,0,0.5),
      0 0 0 4px rgba(201,168,76,0.1),
      0 0 28px rgba(201,168,76,0.3);
  }
}

/* ─── BOTTOM NAV — sauberer ──────────────────────────────────────── */
.bottom-nav {
  background: rgba(8,8,8,0.92) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}

/* ─── ATMOSPHÄRISCHER HINTERGRUND ────────────────────────────────── */
/* WICHTIG: body::before NICHT überschreiben — das Original-Moschee-Bild bleibt!
   (style.css U1: background.jpg für Mekka, background-md.jpg für Madinah-Modus)

   Aber: body::after Overlay deutlich verstärkt damit Text klar lesbar bleibt */
body::after {
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.82) 35%,
      rgba(0,0,0,0.88) 75%,
      rgba(0,0,0,0.94) 100%
    ) !important;
}
/* Light-Theme: original heller Overlay aus style.css greift */

/* ─── DUA-CARD CONTAINER ─────────────────────────────────────────── */
#daily-dua-card {
  /* v258.6: KEIN eigenes margin — folgt dem Page-Padding wie Tiles */
  margin: 16px 0 22px 0 !important;
}

/* v258.29 (27.04.2026): Page-Padding-Bottom moderat — 80px reicht für Bottom-Nav (64px)
   plus etwas Puffer. 120px war zu viel und erzeugte sichtbaren Leerraum bei AA-Toggle. */
.app {
  padding-bottom: calc(80px + var(--safe-bottom, 0px)) !important;
}

/* ──────────────────────────────────────────────────────────────────────
   v258.36 (27.04.2026): MEHR-SHEET + SIDEBAR HARDLOCK
   Symptom: das mehr-sheet (und sidebar) waren permanent als display:block
   im DOM mit Größe 971x730px. Panel war teilweise sichtbar (y=665 in 730 viewport).
   Diese Regeln zwingen beide Container in den unsichtbaren Zustand wenn
   is-open NICHT gesetzt ist — egal was JS oder anderes CSS macht.
   ────────────────────────────────────────────────────────────────────── */
.mehr-sheet:not(.is-open),
.sidebar:not(.is-open) {
  visibility: hidden !important;
  pointer-events: none !important;
}
.mehr-sheet:not(.is-open) .mehr-sheet__panel,
.mehr-sheet:not(.is-open) .mehr-sheet__overlay {
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(120%) !important;
}
.sidebar:not(.is-open) .sidebar__nav,
.sidebar:not(.is-open) .sidebar__overlay {
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-120%) !important;
}

/* Wenn is-open: alles wieder sichtbar (override des Hardlocks) */
.mehr-sheet.is-open,
.sidebar.is-open {
  visibility: visible !important;
  pointer-events: auto !important;
}
.mehr-sheet.is-open .mehr-sheet__panel,
.mehr-sheet.is-open .mehr-sheet__overlay,
.sidebar.is-open .sidebar__nav,
.sidebar.is-open .sidebar__overlay {
  visibility: visible !important;
  pointer-events: auto !important;
}

/* ──────────────────────────────────────────────────────────────────────
   v258.33 (27.04.2026): GLOBAL FONT-SIZE-OVERRIDE für AA-Toggle
   Da die meisten Texte hardgecodete px-Werte nutzen (statt --fs-* Variablen),
   überschreiben wir hier explizit die wichtigsten sichtbaren Bereiche
   damit die "Schrift größer/kleiner" Funktion sichtbar wirkt.
   ────────────────────────────────────────────────────────────────────── */

/* === LARGE (×1.20) === */
[data-font-size="large"] body { font-size: 17px; }
[data-font-size="large"] .dash-tile__label { font-size: 12px !important; }
[data-font-size="large"] .dash-tile__live { font-size: 11px !important; }
[data-font-size="large"] .dash-cat-text,
[data-font-size="large"] [data-cat-key] { font-size: 13px !important; }
[data-font-size="large"] .hero-prayer-card__label { font-size: 13px !important; }
[data-font-size="large"] .hero-prayer-card__name { font-size: 56px !important; }
[data-font-size="large"] .countdown-unit { font-size: 38px !important; }
[data-font-size="large"] .countdown-unit small { font-size: 13px !important; }
[data-font-size="large"] .prayer-time-chip span:first-child { font-size: 11px !important; }
[data-font-size="large"] .prayer-time-chip span:last-child { font-size: 16px !important; }
[data-font-size="large"] #date-hijri { font-size: 14px !important; }
[data-font-size="large"] #date-gregorian { font-size: 12px !important; }
[data-font-size="large"] .greeting,
[data-font-size="large"] [data-i18n="greeting"] { font-size: 17px !important; }
[data-font-size="large"] .pilger-tipp-text,
[data-font-size="large"] #pilger-tipp-text { font-size: 14px !important; }
[data-font-size="large"] .bottom-nav__item { font-size: 11px !important; }
[data-font-size="large"] .hc-accordion__header span { font-size: 16px !important; }
[data-font-size="large"] #hc-inspire-arabic { font-size: 22px !important; }
[data-font-size="large"] #hc-inspire-translit { font-size: 14px !important; }
[data-font-size="large"] #hc-inspire-translation { font-size: 14px !important; }
[data-font-size="large"] #hc-inspire-source { font-size: 12px !important; }
[data-font-size="large"] #hc-inspire-label { font-size: 13px !important; }
[data-font-size="large"] .modal__title { font-size: 19px !important; }
[data-font-size="large"] .modal__body { font-size: 16px !important; }
[data-font-size="large"] .btn-primary,
[data-font-size="large"] .btn-secondary { font-size: 15px !important; }
[data-font-size="large"] .sidebar__nav a,
[data-font-size="large"] .sidebar__nav button { font-size: 16px !important; }
[data-font-size="large"] .toast { font-size: 15px !important; }

/* === XLARGE (×1.40) === */
[data-font-size="xlarge"] body { font-size: 20px; }
[data-font-size="xlarge"] .dash-tile__label { font-size: 14px !important; }
[data-font-size="xlarge"] .dash-tile__live { font-size: 12px !important; }
[data-font-size="xlarge"] .dash-cat-text,
[data-font-size="xlarge"] [data-cat-key] { font-size: 15px !important; }
[data-font-size="xlarge"] .hero-prayer-card__label { font-size: 14px !important; }
[data-font-size="xlarge"] .hero-prayer-card__name { font-size: 64px !important; }
[data-font-size="xlarge"] .countdown-unit { font-size: 44px !important; }
[data-font-size="xlarge"] .countdown-unit small { font-size: 14px !important; }
[data-font-size="xlarge"] .prayer-time-chip span:first-child { font-size: 12px !important; }
[data-font-size="xlarge"] .prayer-time-chip span:last-child { font-size: 18px !important; }
[data-font-size="xlarge"] #date-hijri { font-size: 16px !important; }
[data-font-size="xlarge"] #date-gregorian { font-size: 13px !important; }
[data-font-size="xlarge"] .greeting,
[data-font-size="xlarge"] [data-i18n="greeting"] { font-size: 20px !important; }
[data-font-size="xlarge"] .pilger-tipp-text,
[data-font-size="xlarge"] #pilger-tipp-text { font-size: 16px !important; }
[data-font-size="xlarge"] .bottom-nav__item { font-size: 12px !important; }
[data-font-size="xlarge"] .hc-accordion__header span { font-size: 18px !important; }
[data-font-size="xlarge"] #hc-inspire-arabic { font-size: 26px !important; }
[data-font-size="xlarge"] #hc-inspire-translit { font-size: 16px !important; }
[data-font-size="xlarge"] #hc-inspire-translation { font-size: 16px !important; }
[data-font-size="xlarge"] #hc-inspire-source { font-size: 13px !important; }
[data-font-size="xlarge"] #hc-inspire-label { font-size: 15px !important; }
[data-font-size="xlarge"] .modal__title { font-size: 22px !important; }
[data-font-size="xlarge"] .modal__body { font-size: 18px !important; }
[data-font-size="xlarge"] .btn-primary,
[data-font-size="xlarge"] .btn-secondary { font-size: 17px !important; }
[data-font-size="xlarge"] .sidebar__nav a,
[data-font-size="xlarge"] .sidebar__nav button { font-size: 18px !important; }
[data-font-size="xlarge"] .toast { font-size: 17px !important; }


/* ══════════════════════════════════════════════════════════════════════════
   MEHR-SHEET FARBIGE ICONS v258.40 (27.04.2026)
   Pattern wie Schnellzugriff: 44x44 Quadrat mit rgba(color, 0.16) Hintergrund,
   Icon-Stroke in Akzentfarbe. 6 Farben: gold/rose/violet/emerald/blue/red.
   ══════════════════════════════════════════════════════════════════════════ */

.mehr-item .mehr-item__icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 6px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.mehr-item .mehr-item__icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 2 !important;
}

.mehr-item:active .mehr-item__icon { transform: scale(0.92); }

/* ── Gold (Asma, Beste Zeiten, Messenger, Ziyarat) ── */
.mehr-item--gold .mehr-item__icon {
  background: rgba(201, 168, 76, 0.16) !important;
}
.mehr-item--gold .mehr-item__icon svg {
  stroke: #c9a84c !important;
}
.mehr-item--gold:hover { border-color: #c9a84c !important; }

/* ── Rose (Hotel, Essen, Medikamente, Support) ── */
.mehr-item--rose .mehr-item__icon {
  background: rgba(244, 63, 94, 0.16) !important;
}
.mehr-item--rose .mehr-item__icon svg {
  stroke: #fb7185 !important;
}
.mehr-item--rose:hover { border-color: #fb7185 !important; }

/* ── Violet (Ihram, Quran, Settings) ── */
.mehr-item--violet .mehr-item__icon {
  background: rgba(168, 85, 247, 0.16) !important;
}
.mehr-item--violet .mehr-item__icon svg {
  stroke: #a78bfa !important;
}
.mehr-item--violet:hover { border-color: #a78bfa !important; }

/* ── Emerald (Hajj, Tagesplaner, Schuh-Tracker) ── */
.mehr-item--emerald .mehr-item__icon {
  background: rgba(17, 194, 93, 0.16) !important;
}
.mehr-item--emerald .mehr-item__icon svg {
  stroke: #11c25d !important;
}
.mehr-item--emerald:hover { border-color: #11c25d !important; }

/* ── Blue (Haram-Tore, Haram-Karte) ── */
.mehr-item--blue .mehr-item__icon {
  background: rgba(59, 130, 246, 0.16) !important;
}
.mehr-item--blue .mehr-item__icon svg {
  stroke: #3b82f6 !important;
}
.mehr-item--blue:hover { border-color: #3b82f6 !important; }

/* ── Red (Notfall-Hilfe) ── */
.mehr-item--red .mehr-item__icon {
  background: rgba(239, 68, 68, 0.16) !important;
}
.mehr-item--red .mehr-item__icon svg {
  stroke: #ef4444 !important;
}
.mehr-item--red:hover { border-color: #ef4444 !important; }

/* ── Item-Layout-Anpassung für die größeren Icons ── */
.mehr-item {
  min-height: 96px !important;
  padding: 14px 8px !important;
  gap: 4px !important;
}
.mehr-item span:not(.mehr-item__icon):not(.mehr-item__lock) {
  font-size: 11px !important;
  line-height: 1.3 !important;
  color: var(--color-text) !important;
}

