h1 {
    margin: 0;
    font-size: 14px;
}

.episode li {
    margin: 3px 0px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    color: #63574d;
    border-bottom: 1px solid #939699;
    padding: 5px;
    background-color: #ececec;
}

.current_series {
    background-color: gray !important;
    color: white !important;
}

.tag-block .btn {
    background-color: transparent;
    margin: 5px 0;
}

.tag-block .btn:hover {
    background-color: transparent;
    color: #333;
    background: none;
}

.tag-block .btn-primary {
    border: #999 solid 1px;
    background-color: transparent;
    color: #999;
}

.tag-block .btn-primary:hover {
    border: #ff7a00 solid 1px;
    background-color: #FFF;
    color: #ff7a00;
}

.tag-block .btn-default {
    border: #999 dotted 1px;
    color: #999;
}

.tag-block .btn-secondary, .tag-block .btn-secondary:hover {
    background-color: #333;
    border-color: #333;
    color: #FFF;
}

.tag-block .btn.add-tag,
.tag-block .form-inline input {
    display: none;
}

.tag-block .form-inline input {
    width: 6em;
    margin: 5px 0;
}

.tag-block .btn.add-tag {
    background-color: #777;
    color: #FFF;
}

.tag-block .btn.add-tag:hover {
    background-color: #777;
    color: #FFF;
    opacity: 0.8;
}

.tag-block .btn.btn-grey {
    background-color: grey;
    color: #FFF;
    border: none;
}

.tag-block .btn.btn-grey:hover {
    opacity: 0.8;
}

.tag-block .btn-team .disabled {
    opacity: 0.5;
}

.tag-block .btn-team .disabled:hover {
    opacity: 0.5;
}

.read-block a {
    margin: 0 2px;
}

.dropdown-menu {
    /* height: 200px; */
    overflow-y: auto;
}

.justify-content-center {
    justify-content: center;
}

.float-left {
    float: left;
}

.absolute {
    position: absolute;
}

@media (max-width: 1200px) {

    .read-block > li.active > span {
        padding-bottom: 5px;
        border-bottom: 3px solid #ff7a00;
    }

    .list-style-none {
        list-style: none;
    }

    .d-inline-block {
        display: inline-block;
    }

    .book-name {
        overflow: hidden;
        display: -webkit-box;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }

    .book-name-btn {
        margin-left: 8px; /* 適當距離 */
        /* 預設隱藏 */
        display: none;
    }

    /* 手機（小於576px）顯示 */
    @media (max-width: 575.98px) {
        .book-name-btn {
            display: inline-block;
        }
    }

    .down {
        right: 15px;
        bottom: -5px;
    }

    .line-clamp-unset {
        -webkit-line-clamp: unset;
        animation-duration: 5000;
    }

    .train-number {
        width: 100%;
        padding: 0 7px;
        bottom: 10px;
        z-index: 10;
    }

    .train-number > div {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 5px 10px;
        color: #ffffff;
        border-radius: 15px;
    }

    .train-number > div:first-child {
        display: inline-block;
    }

    .train-number .number {
        padding-right: 10px;
        border-right: 1px solid #fff;
    }

    .train-number .pagecount {
        padding-left: 8px;
    }

    .train-number > .float-right > a {
        color: #fff;
        text-decoration: none;
    }

    .cover-owl-btn .owl-prev,
    .cover-owl-btn .owl-next {
        display: flex;
        position: absolute;
        top: 50%;
        font-size: 3rem;
        background-color: #00000066;
        border-radius: 0.5rem;
        color: #FFF;
        width: 2rem;
        height: 6rem;
        justify-content: center;
        align-items: center;
        z-index: 15;
        border-style: none;
    }

    .cover-view .owl-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .owl-carousel.cover-view .owl-nav button.owl-prev,
    .owl-carousel.cover-view .owl-nav button.owl-next {
        transform: translate(0%, -50%);
    }


}


