.podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 10px
}

.podium-slot {
    position: relative;
    min-height: 112px;
    padding: 5px 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
    border: 2px outset #777;
    background: #171214;
    font: 10px monospace
}

.podium-portrait-wrap {
    width: 64px;
    height: 64px
}

.podium-portrait {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 2px ridge #000000;
    background: #282020
}

.podium-medal {
    position: absolute;
    top: -18px;
    left: -16px;
    z-index: 1;
    width: 32px;
    height: 32px;
    object-fit: contain
}

.podium-slot b,
.podium-slot small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.podium-slot small {
    color: #a99991;
    font-size: 8px
}

.place-1 {
    border-color: #e4b83c
}

.place-2 {
    border-color: #bfc9d1
}

.place-3 {
    border-color: #ad7048
}

#hagilur-podium,
#regional-podium {
    margin-top: 32px
}

.row.changed {
    animation: score-change 1.4s ease-out;
    border-color: #f3c34d;
    background: #4a2515
}

@keyframes score-change {
    0% {
        transform: translateX(8px);
        opacity: .5
    }

    100% {
        transform: translateX(0);
        opacity: 1
    }
}

@media(prefers-reduced-motion:reduce) {
    .row.changed {
        animation: none
    }
}

.row {
    grid-template-columns: 30px 34px 40px minmax(0, 1fr) auto
}

.affiliation-logos {
    display: flex;
    gap: 2px;
    width: 40px
}

.affiliation-logo {
    width: 19px;
    height: 19px;
    object-fit: cover;
    border: 1px solid #6b6262;
    background: #211c1c
}