.games__list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 108px);
    gap: 12px;
}

.ranking__game {
    border-radius: 5px;
    width: 108px;
    height: 144px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.ranked__game {
    aspect-ratio: 3/4;
    height: 144px;
    width: auto;
    flex-shrink: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
}

.ranking__game[draggable="true"] {
    cursor: move;
}

.pokemon__action.action--small {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pokemon__action.action--small .pokemon__action__top {
    position: relative;
    box-sizing: border-box;
    padding-left: 105px;
    min-height: 144px;
    height: fit-content;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    width: 1200px; /* 19 items * item width + 18 gaps */
    padding-right: 15px;
    row-gap: 12px;
    border-radius: 10px;
}

.pokemon__action.action--small .pokemon__action__top::before {
    content: attr(data-ranking);
    display: block;
    color: var(--darkgrey);
    font-size: 25px;
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    left: 0px;
    font-weight: 600;
    position: absolute;
}

.pokemon__action.action--small .pokemon__action__top[data-ranking="1"]::before {
    background-color: #F04646;
}

.pokemon__action.action--small .pokemon__action__top[data-ranking="2"]::before {
    background-color: #F06246;
}

.pokemon__action.action--small .pokemon__action__top[data-ranking="3"]::before {
    background-color: #F07F46;
}

.pokemon__action.action--small .pokemon__action__top[data-ranking="4"]::before {
    background-color: #F09B46;
}

.pokemon__action.action--small .pokemon__action__top[data-ranking="5"]::before {
    background-color: #F0B746;
}

.pokemon__action.action--small .pokemon__action__top[data-ranking="6"]::before {
    background-color: #F0D446;
}

.pokemon__action.action--small .pokemon__action__top[data-ranking="7"]::before {
    background-color: #F0F046;
}

.pokemon__action.action--small .pokemon__action__top[data-ranking="8"]::before {
    background-color: #D4F046;
}

.pokemon__action.action--small .pokemon__action__top[data-ranking="9"]::before {
    background-color: #B7F046;
}

.pokemon__action.action--small .pokemon__action__top[data-ranking="10"]::before {
    background-color: #9BF046;
}

.dnd-blocker {
    width: 12px;
    height: 144px;
    /* background-color: blue; */
    min-width: 12px;
}

.dnd-blocker-end {
    width: 100%;
    height: 144px;
    /* background-color: yellow; */
    min-width: 12px;
    flex-shrink: 1;
    max-width: 950px;
}

.dnd-blocker[dragging="true"] {
    width: 132px;
}

.dnd-extra {
    /* background: green; */
    height: 144px;
    position: absolute;
    right: 0;
    /* display: none; */
}

.game__hours {
    position: absolute;
    bottom: 5px;
    right: 5px;
    padding: 8px;
    padding-block: 6px;
    background-color: #000000bf;
    font-size: 14px;
    border-radius: 5px;
    display: none;
}

.ranking__game:hover .game__hours {
    display: block;
}

.games {
    display: flex;
    justify-content: flex-start;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
}

.games {
    background-color: var(--grey);
    height: calc(100% - 80px);
    /* border-radius: 25px 0 0 25px; */
    /* width: 33%; */
    padding: 40px;
    width: calc(108px * 4 + 12px * 3);
    overflow-y: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
}

.games .content::-webkit-scrollbar {
    display: none;
}

body[livestream="true"] header, body[livestream="true"] footer {
    display: none;
}

body[livestream="true"] .section__header {
    display: none;
}

body[livestream="true"] .content {
    margin-top: 40px;
    padding-bottom: 40px !important;
    width: calc(100% - (108px * 4 + 12px * 3) - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: unset;
}

body[livestream="true"] {
    align-items: flex-start;
}

body[livestream="true"]::-webkit-scrollbar {
    display: none;
}

.video__input {
    flex-shrink: 0;
    background-color: var(--darkgrey);
    height: 68px;
    border-radius: 10px;
    margin-bottom: 0px;
}

.small__header {
    margin-top: 30px;
    display: flex;
    font-size: 14px;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    opacity: 0.4;
}

.small__header i {
    font-size: 18px;
}

.small__header h2 {
    font-weight: 600;
}

body[livestream="false"] .games {
    display: none;
}

body[livestream="false"] .content {
    padding-bottom: 200px;
}