.orientation-lock-lite {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: max(22px, env(safe-area-inset-top)) 22px max(22px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.9), transparent 30%),
    radial-gradient(circle at 82% 82%, rgba(197, 224, 242, 0.56), transparent 34%),
    linear-gradient(135deg, rgba(247, 251, 255, 0.98), rgba(231, 243, 251, 0.98));
  color: #172334;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility 0s linear .28s;
}

.orientation-lock-lite.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .28s ease, visibility 0s linear 0s;
}

.orientation-lock-lite__card {
  width: min(420px, 86vw);
  padding: 30px 28px 28px;
  border: 1px solid rgba(23, 35, 52, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 58px rgba(23, 35, 52, 0.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  backdrop-filter: blur(18px) saturate(1.16);
  text-align: center;
}

.orientation-lock-lite__logo {
  display: block;
  width: min(210px, 58vw);
  height: auto;
  margin: 0 auto 22px;
  filter: brightness(0) saturate(1);
}

.orientation-lock-lite__device {
  width: 46px;
  height: 74px;
  margin: 0 auto 22px;
  border: 1.5px solid rgba(23, 35, 52, 0.34);
  border-radius: 13px;
  display: grid;
  place-items: end center;
  transform: rotate(90deg);
  animation: orientation-lite-device-turn 2.8s ease-in-out infinite;
}

.orientation-lock-lite__device::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: rgba(23, 35, 52, 0.38);
}

.orientation-lock-lite h2 {
  margin: 0 0 10px;
  font-family: 'Onest', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(24px, 4.4vw, 34px);
  line-height: 1.05;
  font-weight: 600;
}

.orientation-lock-lite p {
  margin: 0;
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.58;
  color: #42546b;
}

body.is-orientation-locked {
  overflow: hidden !important;
  touch-action: none;
}

@keyframes orientation-lite-device-turn {
  0%, 18% {
    transform: rotate(90deg);
  }
  48%, 100% {
    transform: rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orientation-lock-lite,
  .orientation-lock-lite__device {
    transition: none !important;
    animation: none !important;
  }
}
