.aside-wrapper {
    display: flex;
}
section .head {
    margin-bottom: 15px;
}
section .head.with-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
section .head .title {
    margin: 0;
    padding: 0;
    font-size: 1.55rem;
    font-weight: 600;
    white-space: nowrap;
    color: #ddd;
}
section .head .end-tabs {
    display: flex;
    align-items: center;
    font-size: .9rem;
}
.fa-angle-left:before {
    font-size: 1.8rem;
    font-weight: 500;
}
.fa-angle-right:before {
    font-size: 1.8rem;
    font-weight: 500;
}
section .text-tabs .tab {
    font-size: .9rem;
}
section .head .text-tabs {
    font-weight: 600;
}
section .head .text-tabs .tab {
    padding: 0 3px;
}
.text-tabs .tab.active, .text-tabs .tab:hover {
    color: #aaa;
}
.text-tabs .tab {
    color: #666;
    transition: all .2s;
    cursor: pointer;
    position: relative;
    padding: 2px 0;
}
section .head .paging {
    margin-left: 8px;
}
section .head .paging>span.disabled {
    color: #373737;
}
section .head .paging>span {
    padding: 2px 5px;
    display: inline-block;
    color: #666;
    cursor: pointer;
    width: 45%;
}

/* normal card css */
.ani.items {
    margin: 0 -10px;
}
.ani.items .item {
    padding: 0 10px;
    width: 16.6666666667%;
    float: left;
    margin-bottom: 20px;
    position: relative;
}
.ani.poster {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}
.ani.poster>a {
    display: block;
    width: 100%;
    padding-bottom: 140%;
    position: relative;
    z-index: 3;
}
.ani.poster>a:before {
    content: "";
    background: rgba(14,14,14,.6);
    width: 100%;
    height: 100%;
    z-index: 4;
    position: absolute;
    opacity: 0;
    transition: all .4s;
}
.ani.poster>a img {
    width: 100%;
    height: 99.0%;
    position: absolute;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.ani.items .item .poster .meta {
    background: #242424;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2rem;
    line-height: 2rem;
    font-weight: 600;
    color: #aaa;
    font-size: .7rem;
    z-index: 4;
}
.ani.items .item .poster .meta .inner {
    position: relative;
    padding: 0 5px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}
.ani.items .item .inner {
    position: relative;
    width: 100%;
}
.ani.items .item .poster .meta .inner .left {
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.ani.poster>a:focus-within:after, .ani.poster>a:focus-within:before, .ani.poster>a:focus:after, .ani.poster>a:focus:before, .ani.poster>a:hover:after, .ani.poster>a:hover:before {
    opacity: 1;
}
.ani.poster>a:after {
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-top: -25px;
    content: "\f04b";
    font-family: "FontAwesome";
    top: 50%;
    left: 50%;
    position: absolute;
    font-weight: 900;
    color: #fff;
    font-size: 2rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .3s;
}
.ani.items .item .info .name {
    margin-top: .9rem;
    color: #aaa;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: .75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3rem;
    max-height: 2.5rem;
    overflow: hidden;
    height: 3.75rem;
}
.ani.items .item .info .name:hover {
    color: #a885da;
}
@media screen and (max-width: 1199px) {
    .aside-wrapper {
        display: block;
    }
    .ani.items .item {
        width: 25.001%;
    }
    section .head .title {
        font-size: 1.35rem;
    }
}

@media screen and (max-width: 790px) {
    .ani.items .item {
        width: 33.33%;
    }
}
@media screen and (max-width: 577px) {
    section#recent-update .head.with-more {
        display: block;
    }
    section .head .paging {
        margin-left: auto;
    }
    .ani.items .item {
        width: 50%;
    }
    section .head .title {
        font-size: 1.1rem;
    }
    section .text-tabs .tab {
        font-size: .8rem;
    }
    .fa-angle-left:before {
        font-size: 1.9rem;
        font-weight: 500;
    }
    .fa-angle-right:before {
        font-size: 1.9rem;
        font-weight: 500;
    }
    section .head .paging>span {
        padding: 2px 7px;
    }
}














/* catgories pages css */

.ani.items .item.categories_class {
    width: 20% !important;
}

@media screen and (max-width: 1520px) {
    .ani.items .item.categories_class {
        width: 25.001% !important;
    }
}

@media screen and (max-width: 1199px) {
    .ani.items .item.categories_class {
        width: 25.001% !important;
    }
}

@media screen and (max-width: 790px) {
    .ani.items .item.categories_class {
        width: 50.002% !important
    }
}
@media screen and (max-width: 577px) {
    .ani.items .item {
        width: 50.002% !important;
    }
}




/* custom server buttons */


li.unavailable {
    position: relative;
    opacity: 0.78;
    pointer-events: none;
}


li.unavailable:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 109%;
    height: 2px;
    background: rgb(53, 52, 54);
    transform: rotate(24deg);
    transform-origin: top left;
}


/* Better looking dropdown toggle */
#w-episodes .head .dropdown .dropdown-menu {
    min-width: max-content !important;
}

#w-episodes .dropdown-menu .dropdown-item {
    text-align: center !important;
}

span.skeleton.skeleton-episode-number {
    height: 1em;
    vertical-align: -3px;
    width: 10ch;
    display: inline-block;
}


.head-title {
    width: 100%;
    display: flex;
}

.content.short {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease !important;
    }

    .content.long {
    display: block !important;
    max-height: 100vh !important;
    transition: max-height 0.4s ease !important;
}

span.skeleton.skeleton-image.poster {
    width: 100%;
    height: 100%;
}

div.skeleton.skeleton-title-anime {
    height: 1.7rem;
    width: 51%;
}

div.skeleton.skeleton-meta-icons {
    width: 25%;
    height: 1.5rem;
}

div.skeleton.skeleton-description-text {
    width: 100%;
    height: 5rem;
    margin-top: 0.5rem;
}

.meta.helper-class {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

div.skeleton.skeleton-meta-item {
    height: 1.8em;
    width: 100%;
}



