/* iOS Add to Home Screen bottom sheet */
#ios-install-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}

.ios-install-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -400px;
  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
  padding: 16px 16px 20px;
  transition: transform .3s ease, bottom .3s ease;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

.ios-install-sheet.visible {
  bottom: 0;
}

#ios-install-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.ios-install-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ios-install-title {
  font-size: 16px;
  font-weight: 600;
}

.ios-install-close {
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: 8px;
  line-height: 0;
}

.ios-install-body {
  font-size: 14px;
  color: #333;
}

.ios-install-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.ios-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  background: #fafafa;
}

.ios-icon {
  width: 18px;
  height: 18px;
}

.ios-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.ios-btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ios-btn.primary {
  background: var(--color-primary, #0d6efd);
  color: #fff;
}

.ios-btn.muted {
  background: #f3f4f6;
  color: #111827;
}

@media (min-width: 480px) {
  .ios-install-sheet { max-width: 420px; margin: 0 auto; left: 0; right: 0; }
}
