@media (max-width: 760px) and (orientation: portrait) {
    body.login-screen {
        min-height: 100svh;
        padding: 0;
        overflow-x: hidden;
    }

    body.login-screen .splash-container {
        width: min(94vw, 360px);
        max-width: none;
        margin: 18px auto 24px;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
    }

    body.login-screen .splash-image {
        width: min(80vw, 400px);
        max-height: none;
        margin-right: 0;
        margin-bottom: -22px;
        transform: none;
        z-index: 2;
    }

    body.login-screen .splash-box {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        padding: 28px 16px 16px;
        min-height: 0;
        text-align: center;
        position: relative;
        z-index: 4;
    }

    body.login-screen .splash-box > h2,
    body.login-screen .splash-box > p,
    body.login-screen .splash-box > .splash-enter-form {
        top: 0;
        left: 0;
        width: 100%;
    }

    body.login-screen .splash-box h2 {
        font-size: 1.02em;
        margin: 0 0 10px;
        line-height: 1.1;
        white-space: nowrap;
    }

    body.login-screen .splash-box p,
    body.login-screen #splash-intro-text {
        font-size: 0.88em;
        line-height: 1.45;
        margin-bottom: 0;
    }

    body.login-screen .splash-enter-form {
        margin-top: 12px;
    }

    body.login-screen .splash-enter-form button {
        width: 100%;
        max-width: none;
    }

    body.login-screen #spinning-cd-player {
        top: -62px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 90px;
        height: 90px;
        z-index: 5;
    }

    body.login-screen #spinning-cd-player:hover {
        transform: translateX(-50%) scale(1.08);
    }

    body.login-screen #spinning-cd-player.spinning {
        animation-name: spin-entry-mobile;
    }

    @keyframes spin-entry-mobile {
        from {
            transform: translateX(-50%) rotate(0deg);
        }
        to {
            transform: translateX(-50%) rotate(360deg);
        }
    }
}
