/* Desktop letterbox note — outside the 480px portrait game frame */
.desktop-mobile-notice {
    display: none;
}

html.desktop-notice-dismissed .desktop-mobile-notice {
    display: none !important;
}

@media (min-width: 900px) {
    body.playing-game > .desktop-mobile-notice,
    body.standalone-game > .desktop-mobile-notice {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        position: fixed;
        top: 50%;
        right: 1.5rem;
        left: auto;
        transform: translateY(-50%);
        width: min(18rem, calc((100vw - 480px) / 2 - 3rem));
        margin: 0;
        padding: 0;
        font-family: 'Rajdhani', 'Segoe UI', sans-serif;
        font-size: 1.05rem;
        font-weight: 500;
        line-height: 1.45;
        letter-spacing: 0.01em;
        color: rgba(226, 232, 240, 0.72);
        text-align: left;
        pointer-events: auto;
        z-index: 4;
    }

    .desktop-mobile-notice-text {
        margin: 0;
    }

    .desktop-mobile-notice-dismiss {
        appearance: none;
        margin: 0;
        padding: 0.35rem 0.7rem;
        border: 1px solid rgba(226, 232, 240, 0.28);
        border-radius: 0.5rem;
        background: rgba(15, 23, 42, 0.55);
        color: rgba(241, 245, 249, 0.88);
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        cursor: pointer;
        pointer-events: auto;
    }

    .desktop-mobile-notice-dismiss:hover,
    .desktop-mobile-notice-dismiss:focus-visible {
        background: rgba(99, 102, 241, 0.55);
        border-color: rgba(165, 180, 252, 0.7);
        color: #fff;
        outline: none;
    }
}
