/* ═══════════════════════════════════════════════
   PORTRAIT MODE ENFORCEMENT
   Primary: Screen Orientation API lock (JS, in index.html/php)
   Fallback: Show a prompt asking user to rotate back to portrait
   ═══════════════════════════════════════════════ */
.orientation-prompt {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #111113, #1a1a1f);
    color: #e8e6e3;
    font-family: 'Figtree', sans-serif;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    padding: calc(32px + var(--safe-top, 0px)) 32px calc(32px + var(--safe-bottom, 0px));
}

.orientation-prompt .rotate-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: rotateHint 2s ease-in-out infinite;
}

.orientation-prompt .rotate-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.orientation-prompt .rotate-msg {
    font-size: 14px;
    color: #8a8a95;
    max-width: 280px;
    line-height: 1.5;
}

@keyframes rotateHint {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-90deg); }
}

/* Show on phones in landscape as a fallback hint */
@media (max-device-width: 900px) and (orientation: landscape) {
    .orientation-prompt { display: flex; }
}
