/* PixelParty Battle Boats staging board */
.battle-stage {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
    gap: 24px;
    align-items: start;
}

.battle-stage .grid {
    display: grid;
    grid-template-columns: 32px repeat(10, minmax(0, 1fr));
    grid-template-rows: 32px repeat(10, minmax(0, 1fr));
    gap: 0;
    width: min(680px, 100%);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #fff;
    background: #071d2b;
    box-shadow: 6px 6px 0 #111;
}

.battle-stage .grid .cell {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    background-color: #0077be;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    image-rendering: pixelated;
    color: #fff;
    font-size: clamp(.75rem, 2vw, 1rem);
    font-weight: normal;
}

.battle-stage .grid .cell:nth-child(11n) {
    border-right: 0;
}

.battle-stage .grid .label {
    background: #252525 !important;
    color: #fff;
    image-rendering: auto;
}

.battle-stage .stats {
    margin-top: 24px;
    padding: 8px 0;
}

.battle-stage .stats p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 6px 0;
    border-bottom: 1px solid #4b4b4b;
    padding-bottom: 5px;
}

@media (max-width: 760px) {
    .battle-stage {
        grid-template-columns: 1fr;
    }

    .battle-stage .grid {
        grid-template-columns: 26px repeat(10, minmax(0, 1fr));
        grid-template-rows: 26px repeat(10, minmax(0, 1fr));
        width: min(96vw, 620px);
        box-shadow: 3px 3px 0 #111;
    }
}
