/* Keep the illustrated cabinet together at every viewport height. */
body.slot-page {
    background: radial-gradient(ellipse at 40% 10%, #15101d, #070509 70%);
}
.slot-page #app {
    min-height: 0;
    padding: clamp(12px, 2vw, 28px) clamp(10px, 2vw, 24px);
}
.slot-page #cabinet {
    isolation: isolate;
    width: min(1120px, 100%);
    min-height: 0;
    height: auto;
    justify-content: flex-start;
    gap: 16px;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid #66b9d529;
    border-radius: 24px;
    background: #071421;
    box-shadow: 0 24px 80px #0007;
}
.slot-page #bubble-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: -1;
    background-position: center 55%;
}
.slot-page #bubble-bg::before {
    background: linear-gradient(180deg, #05132166, #061321b8 62%, #070b14ed);
}
.slot-page #cabinet header {
    flex: none;
    width: 100%;
}
.slot-page #cabinet .grid-section {
    flex: none;
    width: min(980px, 100%);
    margin: 8px auto 0;
    border: 2px solid #40c6d58c;
    border-radius: 18px;
    background: #04131dee;
    backdrop-filter: none;
    box-shadow:
        0 10px 32px #0006,
        inset 0 0 32px #0006;
}
.slot-page .reels-viewport {
    height: auto;
    aspect-ratio: 5 / 2.15;
}
.slot-page .status-message-box {
    width: min(980px, 100%);
    min-height: 38px;
    margin: 0 auto;
    padding: 8px 12px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #06121bad;
}
.slot-page .status-message-box #status-text {
    font-size: 12px;
    line-height: 1.5;
}
.slot-page #cabinet .control-hud {
    width: 100%;
    margin: 0;
    border-radius: 16px;
    gap: 18px;
    padding: 16px;
}
.slot-page #cabinet .control-left,
.slot-page #cabinet .control-right {
    min-width: 0;
}
.slot-page #cabinet .control-center {
    min-width: 0;
    flex-wrap: wrap;
}
@media (max-width: 900px) {
    .slot-page #cabinet {
        gap: 12px;
        padding: 12px;
        border-radius: 18px;
    }
    .slot-page #cabinet .control-hud {
        gap: 12px;
        padding: 12px;
    }
}
@media (max-width: 600px) {
    .slot-page #app {
        padding: 8px;
    }
    .slot-page #cabinet {
        gap: 10px;
        padding: 8px;
        border-radius: 16px;
    }
    .slot-page #cabinet header {
        gap: 6px;
        padding: 8px;
    }
    .slot-page #cabinet .grid-section {
        margin-top: 2px;
        border-radius: 12px;
    }
    .slot-page .reels-viewport {
        aspect-ratio: 5 / 3.5;
    }
    .slot-page #cabinet .control-hud {
        padding: 12px 8px;
        gap: 12px;
    }
    .slot-page .status-message-box {
        min-height: 38px;
        padding: 6px;
    }
}

.slot-page #cabinet .control-left {
    width: 300px;
    max-width: 100%;
}
.slot-page #cabinet .control-right {
    width: 140px;
    max-width: 100%;
}
.slot-page #cabinet .bet-chips-container {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
@media (min-width: 601px) and (max-width: 1050px) {
    .slot-page #cabinet .control-hud {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .slot-page #cabinet .control-left {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
    }
    .slot-page #cabinet .control-right {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        align-items: flex-end;
    }
    .slot-page #cabinet .control-center {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 600px) {
    .slot-page #cabinet .control-left,
    .slot-page #cabinet .control-right {
        width: 100%;
    }
}
