/* Phone landscape lock — shown above all SPA chrome. */
#tgr-portrait-lock {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(255, 237, 213, 0.5), transparent 70%),
    linear-gradient(165deg, #14181c 0%, #0c0d10 100%);
  color: #f7f1e6;
  text-align: center;
  font-family: Figtree, "Segoe UI", sans-serif;
}
#tgr-portrait-lock.is-on {
  display: flex;
}
html.tgr-portrait-required,
html.tgr-portrait-required body {
  overflow: hidden !important;
  touch-action: none;
}
.tgr-portrait-lock__card {
  max-width: 22rem;
}
.tgr-portrait-lock__phone {
  display: block;
  width: 42px;
  height: 68px;
  margin: 0 auto 16px;
  border: 3px solid rgba(247, 241, 230, 0.88);
  border-radius: 8px;
  position: relative;
  animation: tgr-portrait-tilt 1.4s ease-in-out infinite;
  transform-origin: 50% 80%;
  box-shadow: inset 0 -8px 0 rgba(247, 241, 230, 0.18);
}
.tgr-portrait-lock__phone::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 12px;
  height: 3px;
  margin-left: -6px;
  border-radius: 99px;
  background: rgba(247, 241, 230, 0.7);
}
.tgr-portrait-lock__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tgr-portrait-lock__sub {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  opacity: 0.78;
}
@keyframes tgr-portrait-tilt {
  0%,
  100% {
    transform: rotate(-78deg);
  }
  50% {
    transform: rotate(-90deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tgr-portrait-lock__phone {
    animation: none;
  }
}
