#number-display {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 2px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* --- MOBILE IMPROVEMENTS --- */
@media screen and (max-width: 1023px) {
    /* 1. Navbar scaling */
    .navbar-menu .navbar-item {
        font-size: 1.4rem !important;
        padding: 0.3rem 0.5rem;
        font-weight: 500;
    }

    /* 2. Custom Mobile Menu Button Styling */
    .custom-mobile-burger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 0 0.1rem;
        font-weight: bold;
        font-size: 1.2rem;
        color: #363636;
        cursor: pointer;
        border: none;
        background: transparent;
    }

    /* 3. FORCED MAIN CONTENT BUMP */
    .section *,
    .section p,
    .section span,
    .section a:not(.navbar-item),
    .section label,
    .section input,
    .section button:not(.delete) {
        font-size: 1.2rem !important;
        line-height: 1.5 !important;
    }

    .section .title {
        font-size: 1.5rem !important;
    }
    .section .subtitle {
        font-size: 1.2rem !important;
    }

    /* 4. STRIP SIDE AND TOP BLANK GAPS */
    html, body {
        overflow-x: hidden;
    }

    .section {
        padding: 0.25rem 0px !important; /* Pulls elements right to the very top edge */
    }

    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0px !important;
        margin: 0px !important;
    }

    /* Strip card margins and background shadows causing blank spaces on mobile */
    .card.main-card {
        box-shadow: none !important;
        border: none !important;
        border-radius: 0px !important;
        background: transparent !important;
    }

    .card-content {
        padding: 0.55rem !important; /* Retain a tiny side gutter for text safety */
    }

    /* Tighten up flash containers */
    .flash-container {
        margin-top: 0.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    .notification {
        padding: 1rem 1.5rem !important;
    }
    .is-size-huge {
    font-size: 5rem !important;
    }
}

/* Hide our custom menu button on desktop screens */
@media screen and (min-width: 1024px) {
    .custom-mobile-burger {
        display: none !important;
    }
}
