* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #0b0914;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.frame {
    line-height: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* portrait cabinet: scale to fit the viewport height */
canvas {
    max-width: 100%;
    max-height: 94vh;
    width: auto;
    height: auto;
    outline: none;
    /* mobile: the canvas is the controller — no scrolling, zooming,
       long-press menus or text selection while swiping */
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.under {
    width: 100%;
    max-width: 1024px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 10px;
    color: #667;
    line-height: 1.6;
}

.under a {
    color: #4899ea;
    text-decoration: none;
    white-space: nowrap;
}

.under a:hover { text-decoration: underline; }
