/* Optik des iOS-"Zum Home-Bildschirm"-Hinweises (A2HS) der Atlas-PWA.
   Zweck: Wegklickbarer Banner am unteren Rand (oberhalb der Bottom-Nav) mit
     Atlas-Icon, Kurztext und Teilen-Anleitung. Gold-Akzent #d4af37 wie das
     uebrige Atlas-Chrome, Safe-Area-tauglich, nur sichtbar wenn per
     atlas-ios-install.js aktiviert (.visible).
   Kontext: Wird von index.html geladen, befuellt von atlas-ios-install.js.
   Erstellt: 2026-10-06, Auftrag #481 (Atlas Mobile). */

#atlas-ios-install {
  position: fixed;
  left: 12px;
  right: 12px;
  /* Oberhalb der 60px-Bottom-Nav + iOS Home-Indicator */
  bottom: calc(60px + env(safe-area-inset-bottom, 0px) + 12px);
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(14, 14, 18, 0.98);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* Start: unsichtbar + leicht nach unten; .visible animiert ein */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

#atlas-ios-install.visible {
  opacity: 1;
  transform: translateY(0);
}

#atlas-ios-install .aii-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

#atlas-ios-install .aii-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
  min-width: 0;
}

#atlas-ios-install .aii-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 0.3px;
}

#atlas-ios-install .aii-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

#atlas-ios-install .aii-text b {
  color: rgba(255, 255, 255, 0.95);
}

#atlas-ios-install .aii-share {
  display: inline-block;
  color: #4da3ff;
  font-weight: 700;
  padding: 0 2px;
}

#atlas-ios-install .aii-close {
  flex-shrink: 0;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}

#atlas-ios-install .aii-close:active {
  background: rgba(255, 255, 255, 0.08);
}
