.deck-card{
    display: inline-block;
    flex: 0 0 auto;
}

.deck-card-img{
    width: 60px;
    cursor: pointer;
}

.deck-view-container{
    width: 100%;
    padding-left: calc((100% - 650px) / 2);
    padding-right: calc((100% - 650px) / 2);
    padding-bottom: 50px;
}

.deck-zone-title, .comments-title, .deck-zone-count, .ban-title{
    font-weight: bold;
    font-size: 18px;
}

.deck-zone-title, .deck-zone-count{
    display: inline-block;
}

.deck-title{
    font-weight: bold;
    font-size: 24px;
}

.deck-creator-name{
    font-style: italic;
}

.deck-title, .deck-creator-name{
    display: inline-block;
}

.deck-zone:not(:last-child){
    padding-bottom: 5px;
    border-bottom: 1px solid rgb(0 0 0 / 16%);
    margin-bottom: 5px;
}

.deck-zone-card-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 3px;
    row-gap: 3px;
}

#header{
    margin-bottom: 10px;
}

.card-preview{
    display: none;
}

.card-preview.show{
    display: block;
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
}

.card-preview.show > img{
    height: 670px;
    width: 480px;
    position: absolute;
    top: calc(50% - 335px);
    left: calc(50% - 240px);
}

.card-preview .close-preview{
    width: max-content;
    border-radius: 20px;
    width: 20px;
    height: 20px;
    top: calc(50% - 345px);
    left: calc(50% + 230px);
    position: absolute;
}

.card-preview .close-preview > img{
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.card-preview .view-in-another-tab{
    border: 1px solid #dc0800;
    width: max-content;
    top: calc(50% + 345px);
    height: 24px;
    line-height: 24px;
    width: 100px;
    left: calc(50% - 50px);
    position: absolute;
    background-color: white;
    border-radius: 20px;
    text-align: center;
}

.card-preview .view-in-another-tab a{
    color: black;
}

.hover-card-img{
    display: none;
}

.referenced-card{
    position: relative;
}

.hover-card-img.show-hover{
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    padding: 3px;
    background-color: black;
}

.comments-container{
    padding: 10px 0;
    border-bottom: 1px solid rgb(0 0 0 / 16%);
}

#untap-list textarea{
    width: 100%;
    min-height: 200px;
}

#untap-list{
    display: none;
}

#untap-list.show-untap{
    display: block;
}

#deck-options button{
    margin-top: 10px;
}

.hover-card-img.show-hover:not(:last-child){
    padding-right: 0;
}

.multi-hovered-img{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    padding: 3px;
    max-width: 70%;
}

.multi-hovered-img .hover-card-img.show-hover{
    position: initial;
    transform: initial;
    flex: 1 1 auto;
    min-width: 0;
}

.multi-hovered-img.show-hover{
    display: flex;
}

.banned-icon{
    width: 28px;
    padding-right: 10px;
    flex: 0 0 auto;
}

#ban-warnings{
    padding: 10px 0;
}
.banned-card{
    display: flex;
    align-items: flex-start;
}
.ban-text{
    flex: 0 1 auto;
}

.ban-text, .banned-icon{
    min-width: 0;
}

.statistics-attribute-img{
    width: 40px;
    height: 40px;
    border: 1px solid black;
    border-radius: 20px;
}

.attribute-wrapper{
    opacity: 1;
}

.attribute-wrapper-disabled{
    opacity: 0.4;
}

.hide-restrictions{
    display: none;
}
.restriction-wrapper{
    margin-top:15px;
    margin-bottom: 10px;
}