.comic-container{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    position: relative;

    padding-bottom:  3.75rem; /* 确保导航栏不覆盖内容 */
}
.comic-container img {
    width: 100%;
    display: block;
    margin: 0;
}
body{
    color: #fff;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.comic-title{
    margin-left: .625rem;
}
.comic-read-title {
    font-size: .75rem;
    color: #ddd;
    margin-left: .3125rem;
}
.comic-info {
    margin-left: auto;
    border: 1px solid;
    padding: .3125rem .625rem;
    border-radius: 5px;
    font-size: .825rem;
    min-width: 50px;
}
.top-nav, .bottom-nav {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;

    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .625rem;
    transition: transform 0.3s;
}
.top-nav {
    top: 0;
    transform: translateY(0);
    justify-content: flex-start !important;
    align-items: baseline;
}
.bottom-nav {
    bottom: 150px;
    transform: translateY(0);
    height: 5rem;
    padding: .625rem 1rem;
}
.nav-hidden .top-nav {
    transform: translateY(-100%);
}
.nav-hidden .top-nav {
    display: none;
}

/* 
.nav-hidden .bottom-nav {
    transform: translateY(100%);
} */
/* 目录抽屉 */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}
.drawer-overlay.active {
    display: block;
}
.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: #333;
    color: #fff;
    transition: right 0.3s ease-in-out;
    z-index: 1050;
    overflow-y: auto;
    padding: 20px;
}
.drawer.active {
    right: 0;
}
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.drawer-header h5 {
    margin: 0;
}
.drawer-content {
    list-style: none;
    padding: 0;
}
.drawer-content li {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}
.drawer-content li a {
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
}
.drawer-content li a.active{
    color: #e9a6b2;
}
.drawer-content .app-badge {
    color: #fff;
    padding: .125rem .3125rem;
    border-radius: .1875rem;
    font-size: .875rem;
    margin-left: .3125rem;
    float: right;
}
.drawer-content .chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .625rem;
}
.drawer-content .chapter-header span {
    font-size: .875rem;
}
.drawer-content .chapter-header button {
    background-color: #444;
    color: #fff;
    border: none;
    padding: .3125rem .625rem;
    border-radius: .1875rem;
    cursor: pointer;
}
/* end */
.bottom-nav-item {
    text-align: center;
}
.bottom-nav-item i{
    display: block;
    font-size: 1.5rem;
    margin-bottom: -.5rem;
}
.bottom-nav-item span{
    font-size: .75rem;
}
.bottom-nav-item a{
    color: #fff !important;
}
/* 自定义的顶部导航栏 */
.bottom-body-item {
    width: calc(50% - .625rem);
    border: 1px solid #e9a6b2;
    color: #fff;
    background: #e9a6b2;
    text-align: center;
    padding: .625rem 0;
    border-radius: .3125rem;
}
.bottom-body {
    display: flex;
    justify-content: space-between;
    padding: .625rem;
    width: 100%;
}
/* 章评组件 */
.comment-avatar img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
}
.comment-input {
    width: 100%;
    position: relative;
}
.comment-textarea {
    outline: none;
    resize: none;
    width: 100%;
    border-radius: .625rem;
    padding: .625rem;
    font-size: .875rem;
    border: 1px solid #e9a6b2;
    color: #999;
}
.comment-input .comment-btn{
    position: absolute;
    right: .625rem;
    bottom: 20%;
    background: #e9a6b2;
    color: #fff;
    padding: .3125rem .625rem;
    border-radius: .3125rem;
}
.comment{
    color: #999;
    border-bottom: 1px solid #ddd;
    margin: .625rem 0;
}
.comment-author{
    height: 1.25rem;
}
.comment-grade {
    width: 1.25rem;
    height: 1.25rem;

}
.comment-grade img{
    width: 100%;
}
.comment-text {
    text-indent: 1em;
    margin-top: .625rem;
}
.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: .625rem 0;
}
.comment-content {
    width: 100%;
}
.comment-meta {
    font-size: .8125rem;
}
#comment-body{
    overflow: scroll;
    height: 80vh;
}
.modal-content{
    color:#999999;
}

.goBuyBtn{
    outline: none;
    border-radius: 5px;
    width: 50%;
    padding: .3125rem;
    border: 1px solid #e9a6b2;
    background: #e9a6b2;
    color: #fff;
}
.custom-checkbox {
    vertical-align: text-top;
}
.custom-checkbox input{
    outline: none;
    border: 1px solid #e9a6b2;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    position: relative;
}
.custom-checkbox input[type='checkbox'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.custom-checkbox input:checked {
    background-color: #e9a6b2 !important;
    border-color: #e9a6b2 !important;
    User-select: none
}

.custom-checkbox input[type='checkbox']:checked::before {
    content: '✔';
    color: #fff;
    font-size: 11px;
    position: absolute;
    bottom: 0;
}
.bottom-nav-item.active{
    color: #e9a6b2;
}

.download-button {
    display: block;
    width: 100%;
    height: 45px;
    line-height: 45px;
    background-color: red;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}