.sport-selection {
    --sport-surface: var(--next-paper, var(--dark-card-background, #fff));
    --sport-text: var(--next-ink, var(--dark-card-text, #24292f));
    --sport-border: var(--next-line, var(--dark-card-border, #adb5bd));
    --sport-highlight: var(--next-link, var(--dark-card-link, #235a8e));
    --sport-selected: var(--next-soft, var(--dark-card-muted-background, #edf5fd));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-block: .5rem 1rem;
}
.sport-selection__link,
.sport-selection__link:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: .125rem;
    border: 2px solid var(--sport-border);
    border-radius: .5rem;
    background: var(--sport-surface);
    color: var(--sport-text);
    text-align: center;
    text-decoration: none;
}
.sport-selection__link:hover,
.sport-selection__link[aria-current="true"] {
    border-color: var(--sport-highlight);
    box-shadow: inset 0 0 0 1px var(--sport-highlight);
}
.sport-selection__link[aria-current="true"] {
    background: var(--sport-selected);
    font-weight: bold;
}
.sport-selection__link:focus-visible {
    outline: 3px solid var(--sport-highlight);
    outline-offset: 3px;
}
.sport-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.sport-label__image {
    display: none;
    width: 100%;
    max-width: 12rem;
    height: 3.5rem;
    object-fit: contain;
}
.sport-selection__link .sport-label {
    width: 100%;
}
.sport-selection__link .sport-label__image {
    max-width: 100%;
    height: 3rem;
    background: #fff;
    border-radius: .25rem;
}
.sport-label--loaded .sport-label__image {
    display: block;
}
.sport-label--loaded .sport-label__name {
    display: none;
}
.commission-dashboard-sport-link {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 5rem;
    padding: .75rem;
    background: #fff;
    color: #24292f;
    border-radius: .4rem;
}
.commission-dashboard-sport-link .sport-label__image {
    max-width: 16rem;
    height: 4.5rem;
}

@media (min-width: 640px) {
    .sport-selection { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    .sport-selection { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
