html, body {
    touch-action: manipulation;
}

#orientationLockOverlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: linear-gradient(160deg, #04A0DB 0%, #036e97 100%);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

#orientationLockOverlay.is-active {
    display: flex;
}

body.orientation-locked > *:not(#orientationLockOverlay) {
    display: none !important;
}

.orientation-lock-card {
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.orientation-lock-icon {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orientation-lock-rotate 1.8s ease-in-out infinite;
}

.orientation-lock-icon svg {
    width: 100%;
    height: 100%;
}

.orientation-lock-card h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.orientation-lock-card p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

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

@media (prefers-reduced-motion: reduce) {
    .orientation-lock-icon {
        animation: none;
    }
}
