/* Portrait orientation overlay — prompts user to rotate device */
#rotate-prompt {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0d0f12;
  color: #e6edf3;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, sans-serif;
  text-align: center;
  gap: 1rem;
}
#rotate-prompt .icon {
  font-size: 4rem;
  animation: rotate-phone 2s ease-in-out infinite;
}
#rotate-prompt p { font-size: 1.1rem; opacity: 0.8; }
#rotate-action {
  border: 1px solid rgba(129, 140, 248, 0.7);
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.35);
}
#rotate-action:active { transform: scale(0.98); }
#rotate-status {
  min-height: 1.2rem;
  max-width: 18rem;
  font-size: 0.8rem !important;
  line-height: 1.4;
  opacity: 0.65 !important;
}
@keyframes rotate-phone {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(90deg); }
}
@media screen and (orientation: portrait) and (max-width: 1024px) {
  #rotate-prompt { display: flex !important; }
  #root { display: none !important; }
}
