e-block;
            min-height: 1.2em;
        }

        .connection-status {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            font-weight: 500;
        }

        /* Ensure consistent text rendering */
        * {
            box-sizing: border-box;
            text-rendering: optimizeLegibility;
        }

        @media (max-width: 500px) {
            body {
                padding: 1rem;
                min-width: 350px;
                max-width: 400px;