.install-login-btn {
  width: 100%;
  margin: -12px 0 22px;
  padding: 13px 16px;
  border: 1px solid #9bcbea;
  border-radius: 14px;
  background: #eaf6fd;
  color: var(--blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
}

.install-login-btn span {
  font-size: 20px;
}

.install-header-btn {
  height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #19afe5);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(8, 106, 189, .2);
}

.install-header-btn span {
  font-size: 19px;
}

[data-install][hidden],
[data-install-login][hidden],
[data-install-more][hidden] {
  display: none !important;
}

body.ios-install-open {
  overflow: hidden;
}

.ios-install-guide {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(2, 14, 35, .66);
  backdrop-filter: blur(5px);
  animation: ios-guide-fade .18s ease-out;
}

.ios-install-dialog {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 28px 22px 22px;
  border-radius: 26px;
  background: #fff;
  color: #061a3e;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  animation: ios-guide-up .22s ease-out;
}

.ios-install-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #edf3f8;
  color: #40526a;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.ios-install-app-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 15px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(6, 26, 62, .2);
}

.ios-install-dialog h2 {
  margin: 4px 40px 8px 0;
  font: 800 clamp(24px, 7vw, 31px)/1.08 Manrope, sans-serif;
}

.ios-install-intro,
.ios-install-help {
  color: #5d6d80;
  line-height: 1.5;
}

.ios-install-steps {
  display: grid;
  gap: 10px;
  margin: 20px 0 15px;
  padding: 0;
  list-style: none;
}

.ios-install-steps li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid #dbe8f2;
  border-radius: 15px;
  background: #f6fafe;
}

.ios-step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #086abd;
  color: #fff;
  font-weight: 800;
}

.ios-install-steps b,
.ios-install-steps small {
  display: block;
}

.ios-install-steps small {
  margin-top: 3px;
  color: #6b7c8e;
  line-height: 1.35;
}

.ios-share-symbol {
  position: relative;
  width: 24px;
  height: 20px;
  margin: 8px 3px 0;
  border: 2px solid #086abd;
  border-radius: 4px;
}

.ios-share-symbol::before {
  content: '↑';
  position: absolute;
  left: 50%;
  bottom: 7px;
  padding: 0 2px;
  transform: translateX(-50%);
  background: #f6fafe;
  color: #086abd;
  font-size: 21px;
  font-weight: 800;
}

.ios-install-help {
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 3px solid #f28c28;
  font-size: 13px;
}

.ios-install-done {
  width: 100%;
}

@keyframes ios-guide-fade {
  from { opacity: 0; }
}

@keyframes ios-guide-up {
  from { transform: translateY(24px); opacity: 0; }
}

@media (min-width: 600px) {
  .ios-install-guide { place-items: center; }
}

@media (max-width: 500px) {
  .topbar [data-install]:not([hidden]) {
    display: flex !important;
  }

  .install-header-btn {
    height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }

  .install-header-btn span {
    font-size: 17px;
  }
}
