.player {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--gray-light);
    border-radius: var(--size-small);
    padding: 12px 16px;
    border-left: 8px solid var(--dark);
}
.player.home {
    border-left: 8px solid var(--home);
}
.player.away {
    border-left: 8px solid var(--away);
}
.player.header {
    border-left: none;
    background: var(--dark);
    color: var(--white);
}
.player > .left-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}
.player > .left-info > img {
    width: 34px;
}
.player > .left-info > .player-head {
    display: flex;
    gap: var(--size-small);
    align-items: center;
}
.player > .left-info > .player-head > img {
    /* height: var(--size-huge); */
    height: calc(var(--text-h3) * var(--line-h));
}
.player > .left-info > .player-head > .name {
    color: var(--black);
}
.player.header > .left-info > .player-head > .name {
    color: var(--white);
}

.player > .left-info > .detail-info {
    display: flex;
    flex-direction: column;
    gap: var(--size-normal);
}
.player.header > .left-info > .detail-info img {
    filter: invert(1);
}
.player > .left-info > .detail-info > .info-item {
    display: flex;
    gap: var(--size-small);
    align-items: center;
}
.player > .left-info > .detail-info.right {
    justify-content: center;
}
.player.header > .left-info > .detail-info.right {
    display: none;
}
.player > .left-info > .detail-info.right > .info-item.shirt {
    position: relative;
    display: flex;
    gap: var(--size-small);
    justify-content: center;
    align-items: center;
}
.player > .left-info > .detail-info.right > .info-item.shirt > h4 {
    position: absolute;
    color: var(--white);
}
.player.header > .left-info > .detail-info.right > .info-item.shirt > h4 {
    position: absolute;
    color: var(--black);
}
.player > .left-info > .detail-info.right > .info-item.pos {
    justify-content: center;
}
.player h4.pos {
    text-align: center;
    opacity: 0.5;
}

.left-info > .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ccc;
}

.left-info .number {
    display: inline-block;
    width: var(--size-avg);
    /* font-weight: 600; */
}
