.ep-deck-tile img,
.ep-deck-image {
    flex: 0 0 auto;
    border-radius: 1rem;
}

.ep-deck-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: .75rem;
}

.ep-deck-levels a {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .65rem;
    color: inherit;
    text-decoration: none;
}

.ep-deck-levels a:hover,
.ep-deck-levels a:focus-visible,
.ep-deck-levels a.active {
    border-color: var(--bs-primary);
    background: var(--bs-primary-bg-subtle);
}

#deck-card .card-body {
    min-height: 290px;
}

#deck-nav .btn {
    min-width: 6.5rem;
}

@media (max-width: 420px) {
    #deck-nav .btn { min-width: 0; }
}
