.lm-screen-limit { display: none; }

.lm-screen-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 420px;
    padding: clamp(12px, 3vw, 20px);
    border: 1px solid #d6dde2;
    border-radius: 16px;
    background: #f8f9fa;
    box-shadow: 0 16px 48px rgb(32 56 80 / 12%);
    font-size: .875rem;
    line-height: 1.5;
    text-align: center;
}

.lm-screen-channel { margin: 0 0 4px; color: #506f85; font-size: .875rem; font-weight: 600; letter-spacing: .04em; }
.lm-screen-logo { display: block; width: 180px; max-width: 80%; height: auto; margin: 0 auto 12px; }
.lm-screen-card h1 { margin: 0 0 16px; font-size: clamp(.875rem, 3.8vw, 1.125rem); line-height: 1.4; }
.lm-screen-guidance { margin: 0; padding: 12px; border-left: 3px solid #506f85; border-radius: 4px; background: #e7eef3; }

@media (width < 1150px) {
    .lm-desktop-content, dialog, dialog::backdrop, #blazor-error-ui { display: none !important; }
    .lm-screen-limit {
        display: grid;
        place-items: center;
        box-sizing: border-box;
        min-height: 100dvh;
        padding: 20px;
        background: linear-gradient(145deg, #e7eef3, #f8f9fa 65%, #e4edf2);
        color: #203850;
    }
}

/* Textos curtos mantêm a leitura sem reduzir a fonte em telas menores. */
.lm-screen-channel, .lm-screen-card h1, .lm-screen-guidance { white-space: nowrap; }
@media (width < 300px) {
    .lm-screen-channel, .lm-screen-card h1, .lm-screen-guidance { white-space: normal; }
}
