.fights-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    padding: 5px;
}
.fights-category-toggle {
    padding: 3px 8px;
    border-width: 2px;
    border-style: solid;
    border-radius: 12px;
    background: transparent;
    font-size: 8pt;
    cursor: pointer;
    opacity: 0.4;
}
.fights-category-toggle.active {
    opacity: 1;
}
.fights-search .results li {
    height: auto;
    min-height: 30px;
    align-items: center;
    padding: 3px 5px;
    cursor: pointer;
}
.fights-list-category {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    flex-shrink: 0;
}
.fights-list-name {
    width: 140px;
    flex-shrink: 0;
}
.fights-list-icons {
    display: flex;
    flex-wrap: wrap;
}
.fights-list-icons .pokemon-icon {
    height: 20px;
    width: 20px;
    margin: 1px;
    padding: 0;
}
.fights-info {
    display: block;
}
.fights-info .fights-header {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #AAAAAA;
}
.fights-trainer-name {
    margin: 0 0 4px 0;
}
.fights-category-label {
    font-weight: bold;
}
.fights-money, .fights-conditions {
    font-size: 9pt;
    margin-top: 2px;
}
.fights-nav {
    margin-top: 8px;
}
.fights-teams {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}
.fights-team {
    flex: 1 1 320px;
    min-width: 320px;
}
.fights-team-heading {
    text-align: center;
    margin: 0 0 6px 0;
    overflow-wrap: break-word;
}
.fights-mon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 8px;
}
.fights-mon-card {
    border: 1px solid #929292;
    border-radius: 5px;
    padding: 6px;
    display: grid;
    grid-template-columns: 96px minmax(60px, 1fr) minmax(130px, 1.5fr);
    align-items: stretch;
    gap: 2px 8px;
    min-width: 0;
    overflow: hidden;
}
.fights-mon-card[data-target]:hover {
    cursor: pointer;
    color: inherit;
    border-color: cornflowerblue;
}
.fights-mon-sprite {
    width: 96px;
    height: 96px;
    object-fit: contain;
}
.fights-mon-info {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-width: 0;
}
.fights-mon-species {
    font-weight: bold;
}
.fights-mon-species, .fights-mon-meta, .fights-mon-ability, .fights-mon-item, .fights-mon-nature {
    overflow-wrap: break-word;
    min-width: 0;
}
.fights-mon-meta, .fights-mon-ability, .fights-mon-item, .fights-mon-nature {
    font-size: 9pt;
}
.fights-mon-moves {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: space-evenly;
    gap: 6px;
    min-width: 0;
}
.fights-mon-moves li {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    font-size: 8pt;
}
.move-name {
    overflow-wrap: break-word;
    min-width: 0;
}
.move-type-icon, .move-category-icon {
    height: 12px;
    flex-shrink: 0;
}
.fights-team.fights-ally {
    opacity: 0.7;
}
.fights-team.fights-ally .fights-team-heading {
    color: #888888;
    font-style: italic;
}
.fights-team.fights-ally .fights-mon-card {
    border-style: dashed;
}
