.pwai-install-button, #pwai-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background-color: #666 !important;
  color: #fff !important;
  border-radius: 3px !important;
  font-size: 0.95rem !important;
  cursor: pointer;
  color: #fff;
  border: 1px none !important;
  box-shadow: none !important;
  font-weight: bold !important;
}

#pwai-install-btn:hover,
#pwai-install-btn:focus,
#pwai-install-btn:active,
.pwai-install-button:hover,
.pwai-install-button:focus,
.pwai-install-button:active {
    background: #000 !important;
}
/*
 * Hoehere Spezifität als .pwai-install-button, #pwai-install-btn (siehe
 * Regel oben), damit das hidden-Attribut IMMER greift, unabhängig von
 * der Deklarationsreihenfolge im Stylesheet. Da oben zusätzlich der
 * ID-Selektor #pwai-install-btn verwendet wird, muss dieser hier
 * ebenfalls aufgefuehrt werden, sonst gewinnt die ID-Regel gegen die
 * reine Klassen-Regel .pwai-install-button[hidden].
 */
.pwai-install-button[hidden],
#pwai-install-btn[hidden] {
  display: none;
}

.pwai-install-button--floating {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
}

.pwai-ios-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pwai-ios-modal[hidden] {
  display: none;
}

.pwai-ios-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.pwai-ios-modal__panel {
  position: relative;
  background: #ffffff;
  color: #1d2327;
  width: 100%;
  max-width: 420px;
  padding: 1.5rem;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

.pwai-ios-steps {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.pwai-ios-steps li {
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.pwai-ios-modal__close {
  margin-top: 1rem;
  width: 100%;
  padding: 0.7em;
  background: #1d2327;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

body.pwai-modal-open {
  overflow: hidden;
}
