/* Bigger mobile controls with better spacing */
.mobile-controls {
    display: flex;
    justify-content: center;
    gap: 50%;                     /* more distance between buttons */
    margin: 1rem 0 0;
    padding: 0 1rem;                /* space from screen edges */
}

.mobile-controls .mc-btn {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    font: 700 1.5rem system-ui, sans-serif;
    padding: 1.5rem 2rem;
    min-width: 5rem;
    min-height: 5rem;
    border-radius: 999px;
    border: 3px solid #5cf;
    background: rgba(0,0,0,.4);
    color: #e6f6ff;
    box-shadow: 0 0 0 2px rgba(0,0,0,.25) inset,
    0 8px 20px rgba(0,0,0,.25);
}

@media (min-width: 900px) {
    /* Hide on desktop */
    .mobile-controls { display: none !important; }
}
.container-404-parent {
    height: 200px;
    overflow: auto;
}
.container-404-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.container-404-front{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    padding: 1rem;
    text-align: center;
    /* Optionally use grid: */
    display: grid;
    place-items: center;
}
.container-404{
    position: relative;
    min-height: 100vh;
    width: 100%;
}