.tier-list {
    width: 100%;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 0 2px var(--primary-text);
    overflow: hidden;
    margin-top: 1rem;
    background-color: #fff;
    border: solid 1px #737373;
    display: flex;
    flex-direction: column;
}

.tier-row {
    display: flex;
    border-bottom: solid 1px #737373;
    min-height: 80px;
    height: fit-content;
}
.tier-row:last-child {
    border-bottom: none;
}

.tier-label {
    width: 100px;
    min-width: 100px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tier-items {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 10px;
    gap: 0.5rem;
}
.player-card {
    display: flex;
    flex-direction: column;
    max-width: 100px;
    border-radius: 4px;
    overflow: hidden;
    justify-content: center;
    cursor: pointer;
}
.player-image {
    width: 100px;
    height: 100px;
}
.player-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.player-name {
    background-color: #333;
    color: #fff;
    padding: 2px 4px;
}

.tier-s .tier-label {
    background-color: rgb(255, 127, 127);
}

.tier-a .tier-label {
    background-color: rgb(255, 191, 127);
}

.tier-b .tier-label {
    background-color: rgb(255, 223, 127);
}

.tier-c .tier-label {
    background-color: #FFFF7F;
}

.tier-d .tier-label {
    background-color: rgb(191, 255, 127);
}

.tier-f .tier-label {
    background-color: rgb(127, 255, 127);
}

/* Player modal */
.player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.player-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    margin: auto;
}
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
}
.player-modal-body {
    display: flex;
    gap: 20px;
}
.player-modal-col {
    flex: 1;
}
.player-avatar {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.player-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.player-info-table td {
    border: 1px solid #ccc;
    padding: 8px;
    vertical-align: middle;
}

.player-info-table .title-info {
    font-weight: bold;
}
.highlight-box {
    background: #d1f5d3;
    color: #000;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}