/* Anime chapter reader. All rules are scoped so series and manga pages stay unchanged. */
.anime-watch-page {
    color: #e8f3ef;
}

.anime-watch-page > .container {
    width: calc(100% - 32px);
    max-width: 1240px;
    padding: 0;
}

.anime-watch-page .details-page {
    padding-top: 24px;
}

.anime-watch-page .details-dectiontion > .col-md-12,
.anime-watch-page .details-dectiontion > .clearfix + .col-md-12 {
    float: none;
}

.anime-watch-player {
    margin: 20px 0 0;
    padding: 26px;
    border: 1px solid rgba(135, 207, 163, .17);
    border-radius: 18px;
    background: #101f28;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .12);
}

.anime-watch-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(135, 207, 163, .13);
}

.anime-watch-eyebrow,
.anime-watch-label {
    display: block;
    margin-bottom: 8px;
    color: #7cf0a7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.anime-watch-heading h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2.7vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.anime-watch-heading h1 span {
    color: #bcd3cc;
    font-weight: 600;
}

.anime-watch-series-link {
    flex: none;
    color: #80e9a5;
    font-weight: 700;
    white-space: nowrap;
}

.anime-watch-series-link:hover,
.anime-watch-series-link:focus {
    color: #fff;
}

.anime-watch-inner,
.anime-watch-inner > .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.anime-watch-groups {
    margin-bottom: 17px;
}

.anime-watch-page #videoGroups {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.anime-watch-page #videoGroups .cg-grup-btn {
    float: none;
    margin: 0;
    padding: 8px 15px;
    border: 1px solid rgba(135, 207, 163, .22);
    border-radius: 9px;
    background: #0c1821;
    color: #d9ebe5;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s, border-color .18s, box-shadow .18s;
}

.anime-watch-page #videoGroups .cg-grup-btn:hover,
.anime-watch-page #videoGroups .cg-grup-btn:focus {
    border-color: #72e9a0;
    background: #17392d;
    color: #fff;
}

.anime-watch-page #videoGroups .cg-grup-btn.active {
    border-color: #72e9a0 !important;
    background: #214d38 !important;
    color: #fff !important;
    box-shadow: 0 0 0 2px rgba(114, 233, 160, .1);
}

.anime-watch-add-video {
    display: block;
    margin: 0 0 14px auto;
    float: none;
}

.anime-watch-stage-row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.anime-watch-screen-column,
.anime-watch-source-column {
    float: none;
    padding: 0 8px;
}

.anime-watch-page .movie-big,
.anime-watch-page .movie-big .item {
    height: 100%;
    margin: 0;
}

.anime-watch-page .movie-item-contents {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(135, 207, 163, .18);
    border-radius: 12px;
    background: #050a0e;
}

.anime-watch-page #videoarea {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.anime-watch-page .movie-item-playlist {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 580px;
    overflow: hidden;
    border: 1px solid rgba(135, 207, 163, .16);
    border-radius: 12px;
    background: #0c1821;
}

.anime-watch-page .movi-plylist-top {
    flex: none;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(135, 207, 163, .15);
}

.anime-watch-page .movi-plylist-top h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.anime-watch-page .movi-plylist-top p {
    margin: 0;
    color: #9ebcb2;
    font-size: 12px;
}

.anime-watch-page .movie-item-playlist-items {
    flex: 1;
    min-height: 0;
    max-height: 480px;
    padding: 12px;
    overflow-y: auto;
}

.anime-watch-page .plylist-single {
    margin: 0 0 8px;
    overflow: visible;
}

.anime-watch-page .grow {
    margin: 0;
    padding: 0;
    list-style: none;
}

.anime-watch-page .grow > li {
    display: flex;
    align-items: center;
    float: none;
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid rgba(135, 207, 163, .12);
    border-radius: 8px;
    background: #132630;
    color: #e6f1eb;
    font-weight: 600;
    transition: background-color .18s, border-color .18s;
}

.anime-watch-page .grow > li:hover,
.anime-watch-page .grow > li.aktifVideo {
    border-color: #65d791;
    background: #1d4333;
    color: #fff;
}

.anime-watch-page .grow > li > a {
    flex: none;
    margin-right: 8px;
}

.anime-watch-navigation {
    float: none;
    text-align: right;
    padding: 14px 0 6px;
}

.anime-watch-navigation .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.anime-watch-navigation .pagination > li > .page-link {
    float: none;
    padding: 10px 16px;
    border: 1px solid rgba(135, 207, 163, .22);
    border-radius: 9px;
    background: #142b30;
    color: #e4f8e9;
    font-weight: 700;
}

.anime-watch-navigation .pagination > li > a.page-link:hover,
.anime-watch-navigation .pagination > li > a.page-link:focus {
    border-color: #72e9a0;
    background: #214d38;
    color: #fff;
}

.anime-watch-navigation .pagination > li > .anime-watch-disabled {
    opacity: .48;
    cursor: default;
}

.anime-watch-description {
    display: block;
    margin: 26px 0;
    padding: 25px 28px;
    border: 1px solid rgba(135, 207, 163, .16);
    border-radius: 16px;
    background: #101f28;
}

.anime-watch-description .left-side {
    float: none;
}

.anime-watch-description .action-content h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
}

.anime-watch-description .action-content p {
    color: #bfd3cd;
}

.anime-watch-description .tag-category {
    margin-top: 20px;
}

.anime-watch-description .tag-category ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.anime-watch-description .tag-category li {
    margin: 0;
}

.anime-watch-description .tag-category a {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid rgba(135, 207, 163, .15);
    border-radius: 6px;
    color: #a9c9bc;
    font-size: 11px;
}

.anime-watch-page .anime-watch-comments.manga-comments {
    margin: 26px 0 40px;
}

@media (min-width: 992px) {
    .anime-watch-source-column {
        position: relative;
    }

    .anime-watch-page .movie-item-playlist {
        position: absolute;
        top: 0;
        right: 8px;
        bottom: 0;
        left: 8px;
        width: auto;
        height: auto;
        max-height: none;
    }

    .anime-watch-page .movie-item-playlist-items {
        max-height: none;
    }
}

@media (max-width: 991px) {
    .anime-watch-screen-column,
    .anime-watch-source-column {
        width: 100%;
    }

    .anime-watch-source-column {
        margin-top: 14px;
    }

    .anime-watch-page .movie-item-playlist {
        max-height: 330px;
    }
}

@media (max-width: 767px) {
    .anime-watch-page > .container {
        width: calc(100% - 20px);
    }

    .anime-watch-player {
        padding: 16px;
        border-radius: 13px;
    }

    .anime-watch-heading {
        display: block;
    }

    .anime-watch-series-link {
        display: inline-block;
        margin-top: 12px;
    }

    .anime-watch-navigation {
        padding: 15px 0 4px;
    }

    .anime-watch-description {
        padding: 18px;
    }

    .anime-watch-page .anime-watch-comments.manga-comments {
        margin: 20px 0 40px;
    }
}
