.game-tools {
    margin: 1.5rem 0;
    color: var(--fe-color-text);
}

.game-tools__hub-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0 1rem;
}

.game-tools__hub-heading .game-hub__section-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.game-tools__hub-heading .game-tools__all {
    margin-bottom: 1.5rem;
}

.game-tools__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .25rem 1rem;
    margin-bottom: 0;
}

.game-tools__heading .game-about__title {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.game-tools__heading .game-tools__all {
    margin-bottom: .75rem;
}

.game-tools__all {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    min-height: 2rem;
    color: var(--fe-color-text-muted);
    font-size: .8125rem;
    text-decoration: none;
    white-space: nowrap;
}

.game-tools__all:hover {
    color: var(--fe-color-text);
    text-decoration: underline;
}

.game-tools__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: .625rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.game-tools__item {
    min-width: 0;
}

.game-tools__link {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 1rem;
    align-items: center;
    gap: .75rem;
    height: 100%;
    padding: .875rem 1rem;
    border: 1px solid var(--fe-color-border);
    border-radius: var(--fe-radius, 8px);
    background: var(--fe-color-surface);
    color: var(--fe-color-text);
    text-decoration: none;
}

.game-tools__link:hover {
    border-color: var(--fe-color-text-muted);
    background: var(--fe-color-bg-alt);
    color: var(--fe-color-text);
}

.game-tools__link:focus-visible,
.game-tools__all:focus-visible {
    outline: 2px solid var(--fe-color-text);
    outline-offset: 3px;
}

.game-tools__icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 6px;
    background: var(--fe-color-bg-alt);
    color: var(--fe-color-text-muted);
    font-size: .9375rem;
}

.game-tools__icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.game-tools__text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.game-tools__name {
    display: block;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.45;
}

.game-tools__description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: .1875rem;
    color: var(--fe-color-text-muted);
    font-size: .8125rem;
    line-height: 1.5;
}

.game-tools__arrow {
    display: grid;
    place-items: center;
    width: 1rem;
    height: 1rem;
    color: var(--fe-color-text-muted);
}

.game-tools__arrow svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 480px) {
    .game-tools__link {
        gap: .625rem;
        padding: .75rem;
    }
}
