/* Blast Arena — what only Blast needs on top of Kit/kit.css. */

/* A bomber in the menus: the pixel sprite, body in the slot colour. */

.blast-bomber {
    display: inline-block;
    width: 18px;
    height: 27px;
    margin-right: 8px;
    vertical-align: middle;
    shape-rendering: crispEdges;
    filter: drop-shadow(0 0 3px currentColor);
    flex: none;
}

.blast-slot .arcade-row-label {
    display: flex;
    align-items: center;
}

.blast-slot .arcade-row-hint kbd,
.blast-hunt-team kbd {
    margin-right: 2px;
}

/* The arena picker: chips and a note beside a small map of the board. */

.blast-arena-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 250px);
    gap: 12px 18px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.blast-arena-pick .arcade-row-label {
    display: block;
    margin-bottom: 8px;
}

.blast-arena-view {
    border: 2px solid var(--line);
    background: var(--bg);
    line-height: 0;
}

.blast-arena {
    display: block;
    width: 100%;
    height: auto;
    shape-rendering: crispEdges;
}

.blast-arena-floor {
    fill: var(--panel);
}

.blast-arena-walls {
    fill: var(--dim);
}

/* Hunt: the team. */

.blast-hunt-team {
    margin: 4px 0 8px;
    padding: 0;
    list-style: none;
}

.blast-hunt-team li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    padding: 4px 0;
    border-bottom: 1px solid var(--line);
}

.blast-hunt-team .blast-bomber {
    margin-right: 0;
}

/* Pause: who is where. */

.blast-pause-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.blast-pause-list li {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    border-bottom: 1px solid var(--line);
}

.blast-pause-list li span:last-child {
    margin-left: auto;
    color: var(--dim);
}

/* Results */

.blast-final {
    color: var(--fg);
}

.blast-new-best {
    text-align: center;
    color: var(--wild);
    font-family: var(--pixel);
    font-size: 12px;
    animation: arcade-blink 1s steps(1) infinite;
}

.blast-standings td.is-name {
    white-space: nowrap;
}

.blast-standings .blast-bomber {
    width: 12px;
    height: 18px;
    margin-right: 6px;
}

.blast-standings thead th:nth-child(2) {
    text-align: left;
}

@media (max-width: 560px) {
    .blast-arena-block {
        grid-template-columns: minmax(0, 1fr);
    }

    .blast-arena-view {
        max-width: 280px;
    }
}
