.dlmr-phone-required,
.dlmr-phone-required body {
  min-height: 100%;
  overflow: hidden;
}

.dlmr-phone-required body > :not(.dlmr-device-blocker) {
  display: none !important;
}

.dlmr-device-blocker {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 2rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(27, 152, 224, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 88%, rgba(0, 100, 148, 0.24), transparent 32rem),
    #e8f1f2;
  color: #13293d;
  font-family: inherit;
}

.dlmr-device-blocker__card {
  width: min(100%, 32rem);
  border: 1px solid rgba(0, 100, 148, 0.16);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 80px rgba(19, 41, 61, 0.18);
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(16px);
}

.dlmr-device-blocker__logo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.25rem;
  object-fit: cover;
}

.dlmr-device-blocker__eyebrow {
  display: block;
  margin-top: 1.4rem;
  color: #1b98e0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.dlmr-device-blocker__card h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1.12;
}

.dlmr-device-blocker__card p {
  margin: 0.8rem auto 0;
  max-width: 25rem;
  color: #4e6b83;
  font-size: 1rem;
  line-height: 1.55;
}

.dlmr-device-blocker__qr-wrap {
  width: 10.75rem;
  height: 10.75rem;
  margin: 1.4rem auto 0;
  border: 1px solid rgba(0, 100, 148, 0.14);
  border-radius: 1.2rem;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(19, 41, 61, 0.12);
  padding: 0.65rem;
}

.dlmr-device-blocker__qr {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.65rem;
}

.dlmr-device-blocker__qr-label {
  display: block;
  margin-top: 0.7rem;
  color: #274ba0;
  font-size: 0.78rem;
  font-weight: 800;
}

.dlmr-device-blocker__hint {
  margin-top: 1.5rem;
  border-radius: 1rem;
  background: #13293d;
  color: #e8f1f2;
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.dlmr-pwa-banner {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 120;
  width: min(calc(100% - 1.5rem), 24rem);
  border: 1px solid rgba(27, 152, 224, 0.2);
  border-radius: 1rem;
  background: #13293d;
  color: #ffffff;
  box-shadow: 0 16px 44px rgba(8, 25, 39, 0.3);
  padding: 0.75rem 0.75rem 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translate(-50%, 1rem);
  opacity: 0;
  animation: dlmr-pwa-enter 220ms ease forwards;
  font-family: inherit;
}

.dlmr-pwa-banner--app {
  bottom: calc(max(0.8rem, env(safe-area-inset-bottom)) + 4.8rem);
}

.dlmr-pwa-banner__copy {
  min-width: 0;
  flex: 1;
}

.dlmr-pwa-banner__copy strong,
.dlmr-pwa-banner__copy span {
  display: block;
}

.dlmr-pwa-banner__copy strong {
  font-size: 0.82rem;
}

.dlmr-pwa-banner__copy span {
  margin-top: 0.12rem;
  color: #bed7e8;
  font-size: 0.68rem;
  line-height: 1.3;
}

.dlmr-pwa-banner__action {
  min-height: 2.15rem;
  border: 0;
  border-radius: 999px;
  background: #1b98e0;
  color: #ffffff;
  padding: 0.4rem 0.72rem;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.dlmr-pwa-banner__action:disabled {
  cursor: wait;
  opacity: 0.64;
}

.dlmr-pwa-banner__close {
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  background: transparent;
  color: #bed7e8;
  padding: 0;
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
}

.dlmr-pwa-guide {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(4, 15, 25, 0.62);
  backdrop-filter: blur(5px);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dlmr-pwa-guide__card {
  position: relative;
  width: min(100%, 22rem);
  border-radius: 1.35rem;
  background: #ffffff;
  color: #13293d;
  box-shadow: 0 22px 64px rgba(4, 15, 25, 0.34);
  padding: 1.3rem 1.1rem 1.1rem;
}

.dlmr-pwa-guide__card h2 {
  margin: 0;
  font-size: 1.05rem;
}

.dlmr-pwa-guide__card--success {
  text-align: center;
}

.dlmr-pwa-guide__success {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: #e4f7eb;
  color: #178447;
  font-size: 1.65rem;
  font-weight: 900;
}

.dlmr-pwa-guide__card p {
  margin: 0.75rem 0 0;
  color: #4e6b83;
  font-size: 0.82rem;
  line-height: 1.5;
}

.dlmr-pwa-guide__card ol {
  margin: 0.85rem 0 0;
  padding-left: 1.35rem;
  color: #4e6b83;
  font-size: 0.82rem;
  line-height: 1.55;
}

.dlmr-pwa-guide__done {
  width: 100%;
  min-height: 2.7rem;
  margin-top: 1rem;
  border: 0;
  border-radius: 0.85rem;
  background: #1b98e0;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
}

@keyframes dlmr-pwa-enter {
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dlmr-pwa-banner {
    animation: none;
    transform: translate(-50%, 0);
    opacity: 1;
  }
}
