.characters-list {
    display: flex;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.25);
}

.character-list-card {
    display: flex;
    flex-direction: column;
    width: calc(20% - 10px);
    padding: 5px;
}

.character-portrait {
    position: relative;
}

.character-portrait-src {
    width: 100%;
}

.character-portrait, .character-portrait-src {
    border-radius: 10px;
}

.character-portrait.rarity-4 {
    background-image: url("https://act.hoyolab.com/app/community-game-records-sea/images/roleStarBg4.0b20569c.png");
}

.character-portrait.rarity-5 {
    background-image: url("https://act.hoyolab.com/app/community-game-records-sea/images/roleStarBg5.30180c91.png");
}

.character-top-data {
    display: flex;
    position: absolute;
    width: 100%;
}

.character-element {
    width: 15px;
    margin: 3px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 100%;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.75);
}

.character-stars {
    display: flex;
    flex-direction: row;
    background-color: rgba(0,0,0,0.5);
    padding: 0 2px 0 2px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 3px;
    margin: 0 0 auto auto;
}

.character-stars p {
    color: gold;
    font-size: 9px;
}

.character-stars img {
    margin-top: 1.5px;
    width: 8px;
    height: 8px;
}

.character-name {
    font-weight: 900;
    font-size: 9px;
    text-align: center;
    margin: 2px 0;
}

.character-level {
    font-size: 9px;
    text-align: center;
    opacity: 75%;
}