/*
 * Orientation lock overlay.
 * Shows a full-screen overlay prompting the user to rotate to landscape.
 * Only applies to screens ≤1024px in portrait orientation.
 * support.html no longer uses this overlay.
 */

#orientation-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  /* width/height are overridden by fluid-scaling.js to compensate for body zoom */
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  color: white;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;
  font-size: 18px;
  text-align: center;
  padding: 40px;
  box-sizing: border-box;
}

#orientation-overlay svg {
  width: 72px;
  height: 72px;
  fill: white;
  display: block;
  flex-shrink: 0;
}

#orientation-overlay p {
  margin: 0;
  max-width: 260px;
  line-height: 1.5;
}

/* Overlay show/hide is handled by fluid-scaling.js via window.innerWidth/innerHeight,
 * because viewport width=1440 makes CSS max-width media queries check the layout
 * viewport (always 1440px) rather than the actual device width. */
