:root {
    --sp-player-bg: var(--sp-card-bg, #212121);
    --sp-player-accent: var(--sp-card-title-color, #52a4ec);
    --sp-player-text: var(--sp-card-text-color, #cacaca);
    --sp-player-muted: #8d8d8d;
    --sp-player-gap: 12px;
}

.players {
    color: var(--sp-player-text);
}

.players__title {
    color: var(--sp-player-accent);
    font-weight: 700;
    margin: 0;
    font-size: 1.25rem;
}

.players__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-player-gap);
    margin: 0.75rem 0 0.5rem;
}

.players__search {
    display: flex;
    align-items: center;
    height: 2.25rem;
    border-radius: 2px;
    background: #22252d;
    border: 1px solid #3a3e49;
    flex: 1 1 180px;
    max-width: 250px;
}

.players__search:focus-within {
    border-color: #52a4ec;
    box-shadow: 0 0 0 3px rgba(82, 164, 236, .18);
}

.players__search:focus-within .players__search-submit {
    color: #52a4ec;
}

.players__search input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 0 0 2px;
    font-size: 16px;
    color: #e9eaee;
    background: transparent;
}

.players__search input::placeholder {
    color: #7c8290;
    opacity: 1;
}

.players__search input::-webkit-search-cancel-button {
    display: none;
}

.players__search-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: 36px;
    height: auto;
    padding: 0;
    border: none;
    background: transparent;
    color: #8b919d;
    cursor: pointer;
}

.players__search-button svg {
    width: 18px;
    height: 18px;
}

.players__search-clear:hover {
    color: #e9eaee;
}

.players__search-clear[hidden] {
    display: none;
}

.players__results.is-loading {
    opacity: 0.5;
    transition: opacity 0.15s ease 0.15s;
}

.players__searchinfo {
    margin: 0 0 0.5rem;
    color: var(--sp-player-muted);
    font-size: 0.875rem;
}

.players__alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 0.75rem;
}

.players__alphabet a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 4px;
    background: var(--sp-player-bg);
    color: var(--sp-player-accent);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 2px;
}

.players__alphabet a:hover,
.players__alphabet a:focus {
    background: var(--sp-player-accent);
    color: #fff;
}

.players__letter {
    scroll-margin-top: calc(var(--sp-navbar-height, 50px) + var(--sp-menu-height, 35px) + 8px);
    margin: 1rem 0 0.35rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #3a3e49;
    color: var(--sp-player-muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.players__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.player__row {
    display: flex;
    align-items: stretch;
    gap: var(--sp-player-gap);
    background: var(--sp-player-bg);
    text-decoration: none;
    color: inherit;
}

.player__row:hover,
.player__row:focus {
    background: #2a2a2a;
}

.player__row-photo {
    flex: 0 0 40%;
    aspect-ratio: 3 / 2;
    background: #171717;
    overflow: hidden;
}

.player__row-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.player__row-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    padding: 6px 8px 6px 0;
    min-width: 0;
}

.player__row-name {
    color: var(--sp-player-accent);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.player__row:hover .player__row-name {
    text-decoration: underline;
}

.player__row-meta {
    font-size: 0.875rem;
    line-height: 1.3;
}

.player__row-meta strong {
    color: var(--sp-player-muted);
    font-weight: 700;
}

.players__empty {
    background: var(--sp-player-bg);
    padding: 1rem;
    margin: 0;
}

.player__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.35rem;
    color: var(--sp-player-muted);
    font-size: 0.8125rem;
    text-transform: uppercase;
}

.player__breadcrumbs a {
    color: var(--sp-player-muted);
    text-decoration: none;
}

.player__breadcrumbs a:hover {
    color: var(--sp-player-accent);
}

.player__title {
    margin-bottom: 0.75rem;
}

.player__profile {
    display: flex;
    flex-direction: column;
    gap: var(--sp-player-gap);
    margin-bottom: 0;
}

.player__photo {
    margin: 0 -1.1rem;
}

.player__photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    display: block;
}

.player__facts {
    margin: 0;
    min-width: 0;
}

.player__facts dt {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.player__facts dd {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
}

.player__facts dd:last-child {
    margin-bottom: 0;
}

.player__content img {
    max-width: 100%;
    height: auto;
}

.player__content a {
    color: var(--sp-player-accent);
}

@media screen and (min-width: 576px) {
    .players__title {
        font-size: 1.5rem;
    }

    .player__row-photo {
        flex: 0 0 auto;
        width: 220px;
    }
}

@media screen and (min-width: 768px) {
    .players__title {
        font-size: 1.75rem;
    }

    .player__row-photo {
        width: 220px;
    }

    .player__row-name {
        font-size: 1.35rem;
    }

    .player__row-meta {
        font-size: 1.05rem;
    }

    .player__row-info {
        gap: 2px;
        padding: 10px 12px 10px 0;
    }

    .player__profile {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .player__photo {
        flex: 0 0 auto;
        width: 220px;
        margin: 0;
    }

    .player__facts dt {
        font-size: 1.25rem;
    }

    .player__facts dd {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 992px) {
    .player__row-photo {
        width: 220px;
    }

    .player__row-name {
        font-size: 1.5rem;
    }

    .player__row-meta {
        font-size: 1.125rem;
    }

    .player__photo {
        width: 220px;
    }
}

@media screen and (max-width: 359.98px) {
    .players__header {
        gap: 6px;
    }

    .players__search {
        max-width: none;
    }

    .player__row-name {
        font-size: 0.95rem;
    }

    .player__row-meta {
        font-size: 0.8125rem;
    }
}