body{
    background-color: var(--el-bg-color);
}
.read-wrap {
    padding-bottom: 200px;
}

.top-tips{
    background-color: var(--el-bg-color);
    display: flex;
    align-items: center;
    padding: 8px 16px;
}
.tips-content{
    flex: auto;
    padding: 0 12px;
    text-align: center;
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Medium;
    font-weight: Medium;
    text-align: center;
    color: var(--el-text-color-primary);
    line-height: 16px;
}
.tips-content span{
    margin-left: 4px;
}
.tips-close{
    flex: none;
    width: 16px;
    height: 16px;
}
.manga-p {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 2px;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
    user-select: none; /* 标准语法 */
}

.ad-section {
    margin-top: 16px;
    padding: 0 16px;
}

.ad-banner {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background-color: #d8d8d8;
    padding-top: 12.83%;
}

.ad-banner .ad-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-banner .ad-close-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
}

.read-foot-section {
    background-color: var(--el-bg-color);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 16px;
    height: 62px;
    box-sizing: border-box;
    border-top: 1px solid #f0f0f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform .35s ease;   /* 过渡动画 */
}

.read-foot-section .small-btn {
    flex: none;
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.read-foot-section .small-btn .icon1 {
    width: 24px;
    height: 24px;
    background-image: url(../imgs/read/icon_list.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.dark-mode .read-foot-section .small-btn .icon1 {
    background-image: url(../imgs/read/icon_list_dark.png);
}
.read-foot-section .small-btn .icon2 {
    width: 24px;
    height: 24px;
    background-image: url(../imgs/read/icon_chat.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.dark-mode .read-foot-section .small-btn .icon2 {
    background-image: url(../imgs/read/icon_chat_dark.png);
}

.read-foot-section .small-btn span {
    margin-top: 2px;
    width: 100%;
    font-size: 10px;
    font-family: PingFang SC, PingFang SC-Medium;
    font-weight: Medium;
    text-align: left;
    color: var(--el-text-color-regular);
    line-height: 14px;
    text-align: center;
}

.read-foot-section .preview-btn {
    width: 110px;
    height: 38px;
    border: 1px solid #419eff;
    border-radius: 20px;
    line-height: 38px;
    text-align: center;
    font-size: 16px;
    font-family: PingFang SC, PingFang SC-Regular;
    color: #419eff;
}

.read-foot-section .next-btn {
    width: 110px;
    height: 38px;
    background: #419eff;
    border: 1px solid #419eff;
    border-radius: 20px;
    line-height: 38px;
    text-align: center;
    font-size: 16px;
    font-family: PingFang SC, PingFang SC-Regular;
    color: #fff;
}

.scroll-top{
    position: fixed;
    z-index: 2;
    right: 12px;
    bottom: 124px;
    width: 40px;
    height: 40px;
}
.scroll-bottom{
    z-index: 2;
    position: fixed;
    right: 12px;
    bottom: 78px;
    width: 40px;
    height: 40px;
}

.comment-wrap{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.comment-header{
    position: relative;
    flex: none;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}
.comment-header .title{
    font-size: 16px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: #419eff;
    line-height: 22px;
}
.comment-header .count{
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: #419eff;
    line-height: 22px;
}
.comment-close-btn{
    flex: none;
    margin-left: 24px;
    width: 20px;
    height: 20px;
}
.comment-body{
    width: 100%;
    flex: auto;
    min-height: 0;
    overflow-y: auto;
}

.comment-list {
    margin-top: 4px;
}

.comment-item {
    padding: 16px;
    border-bottom: 1px solid var(--el-bolder-color);
    display: flex;
}

.user-avator {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
    border: 1px solid #e5e5e5;
    object-fit: cover;
}

.comment-info {
    flex: auto;
    overflow: hidden;
}

.user-name .name {
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: var(--el-text-color-regular);
    line-height: 16px;
}

.user-name .lv {
    display: inline-block;
    height: 16px;
    background: rgba(65, 158, 255, 0.16);
    border-radius: 2px;
    padding: 0 2px;
    line-height: 16px;
    font-size: 10px;
    text-align: left;
    color: #419eff;
}

.send-time {
    margin-top: 2px;
    font-size: 10px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: #979797;
    line-height: 14px;
}

.comment-content {
    margin-top: 8px;
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: var(--el-text-color-regular);
    line-height: 16px;
    word-break: break-all;
}

.replay-opts-row {
    margin-top: 12px;
    display: flex;
    align-items: center;
}

.opt-btn {
    flex: none;
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.opt-btn img {
    width: 16px;
    height: 16px;
}

.opt-btn span {
    margin-left: 4px;
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: #979797;
    line-height: 16px;
}

.replay-list-box {
    margin-top: 12px;
    padding: 8px 12px;
    background: var(--el-bg-color-regular);
    border-radius: 4px;
}

.replay-item {
    margin-bottom: 8px;
}
.replay-item.hide{
    display: none;
}

.replay-user-name {
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: #419eff;
    line-height: 16px;
}

.replay-content {
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: var(--el-text-color-regular);
    line-height: 16px;
}

.replay-list .replay-item:last-child {
    margin-bottom: 0;
}

.total-replay {
    display: inline-block;
    vertical-align: top;
    /* margin-top: 8px; */
}

.total-replay span {
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: #419eff;
    line-height: 16px;
}

.total-replay img {
    width: 12px;
    height: 12px;
    vertical-align: middle;
}
.comment-list .comment-item:last-child{
    border-bottom: none;
}

.comment-footer{
    border-top: 1px solid #f0f0f4;
    flex: none;
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
}

.input-box {
    height: 32px;
    background: #f6f6f6;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
}

.input-box input {
    flex: auto;
    border: none;
    font-size: 13px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: #999999;
    line-height: 17px;
    background-color: #f6f6f6;
}

.send-emoji {
    flex: none;
    width: 14px;
    height: 14px;
    margin-left: 13px;
}

.send-pic {
    flex: none;
    width: 16px;
    height: 16px;
    margin-left: 13px;
}

.catalog-wrap{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.catalog-header{
    position: relative;
    flex: none;
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
}
.catalog-header .title{
    flex: auto;
    font-size: 16px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    color: #419eff;
    line-height: 22px;
    text-decoration: underline;
}
.catalog-close-btn{
    position: absolute;
    width: 20px;
    height: 20px;
    top: 1px;
    right: 16px;
}

.catelog-mid-header {
    padding: 16px;
    flex: none;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.catelog-total {
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    text-align: left;
    color: var(--el-text-color-secondary);
    line-height: 16px;
}

.catelog-order {
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Medium;
    font-weight: Medium;
    text-align: left;
    color: var(--el-text-color-regular);
    line-height: 16px;
    display: flex;
    align-items: center;
}

.catelog-order .hr {
    width: 1px;
    height: 12px;
    background: #e5e5e5;
    margin: 0 8px;
}

.catelog-order .active {
    color: #419eff;
}

.catalog-body{
    width: 100%;
    flex: auto;
    min-height: 0;
    overflow-y: auto;
    padding:  0 16px;
    box-sizing: border-box;
}



.catelog-list {
    margin-top: 16px;
    font-size: 0;
}

.catelog-item-box {
    display: inline-block;
    vertical-align: top;
    width: 48.1%;
    margin-right: 3.5%;
    margin-bottom: 12px;
}


.catelog-list .catelog-item-box:nth-child(2n+2) {
    margin-right: 0;
}

.catelog-item {
    display: block;
    text-align: center;
    padding: 0 12px;
    box-sizing: border-box;
    height: 32px;
    background: rgba(65, 158, 255, 0.12);
    border-radius: 16px;
    line-height: 32px;
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Medium;
    font-weight: Medium;
    text-align: center;
    color: #419eff;
}
.catelog-item.active{
    background-color: #419eff;
    color: #fff;
}

.viewer-feedback{
    position: absolute;
    right: 16px;
    /* background-color: #fff!important; */
}
.viewer-feedback::after{
    position: absolute;
    content:  '';
    /* top: 18%;
    left: 20%;
    width: 60%;
    height: 60%; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../imgs/read/icon_feedback2.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.feedback-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0 16px;
    box-sizing: border-box;
}

.feedback-header {
    position: relative;
    flex: none;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.feedback-header .title {
    font-size: 16px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: bold;
    color: var(--el-text-color-primary);
    line-height: 22px;
}
.feedback-header .title .p-index{
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Medium;
    color: var(--el-text-color-primary);
    line-height: 22px;
}

.feedback-close-btn {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 1px;
    right: 16px;
}

.feedback-mid-header {
    margin-top: 20px;
    padding: 8px 12px;
    flex: none;
    width: 100%;
    box-sizing: border-box;
    background: var(--el-bg-color-regular);
    border-radius: 8px;
    margin-bottom: 12px;
}
.feed-tips{
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Regular;
    color: var(--el-text-color-regular);
    line-height: 16px;
}
.feed-sub-tips{
    margin-top: 2px;
}
.feed-sub-tips img{
    width: 10px;
    height: 10px;
    vertical-align: middle;
}
.feed-sub-tips span{
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Medium;
    color: var(--el-text-color-primary);
    line-height: 16px;
}

.feedback-body {
    width: 100%;
    flex: auto;
    min-height: 0;
    overflow-y: auto;
    box-sizing: border-box;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}
.feedback-body-content{
    padding: 12px 16px;
}
.feedback-body-content textarea{
    width: 100%;
    box-sizing: border-box;
    border: none;
    background-color: transparent;
    font-size: 14px;
    font-family: PingFang SC, PingFang SC-Regular;
    line-height: 18px;
}
.feedback-pic-list{
    font-size: 0;
}
.feedback-pic-item{
    display: inline-block;
    vertical-align: top;
    width: 73px;
    height: 73px;
    background: #f6f6f6;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-sizing: border-box;
    overflow: hidden;
    margin-right: 12px;
    margin-bottom: 12px;
}
.feedback-pic-item .feedback-pic{
    display: block;
    width: 100%;
    height: 100%;
}
.feedback-pic-item.add{
    text-align: center;
    /* padding-top: 22px; */
}
.feedback-pic-item.add .feedback-add{
    width: 28px;
    height: 28px;
}
.feedback-footer{
    margin-bottom: 24px;
    flex: none;
    width: 100%;
    margin-top: 20px;
    padding: 0 50px;
    box-sizing: border-box;
}
.feedback-btn{
    background: #419eff;
    border: 1px solid #419eff;
    border-radius: 20px;
    text-align: center;
    line-height: 38px;
    font-size: 16px;
    font-family: PingFang SC, PingFang SC-Regular;
    color: #ffffff;
}

.reply-popup-wrap{
    padding: 16px;
    display: flex;
}
.reply-popup-wrap input {
    flex: auto;
    font-size: 13px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: Regular;
    line-height: 17px;
    border: none;
    background-color: var(--el-bg-color);
    color: var(--el-text-color-primary);
}

.viewer-toolbar>ul>.viewer-large{
    margin: 0 12px;
}

.mid-ad-item{
    position: relative;
    margin: 8px 0;
    display: flex;
    justify-content: center;
}
.mid-ad-item .ad-close-btn{
    position: absolute;
    top: 10px;
    right: 4%;
    width: 18px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.mid-ad-item .ad-close-btn .close-icon{
     width: 12px;
    height: 12px;
    background-image: url(../imgs/detail/icon_close.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.popup-ad-item{
    z-index: 1;
    position: fixed;
    left: 0;
    right: 70px;
    bottom: 62px;
}

.popup-ad-item .ad-close-btn{
    position: absolute;
    border-radius: 4px;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup-ad-item .ad-close-btn .close-icon{
     width: 12px;
    height: 12px;
    background-image: url(../imgs/detail/icon_close.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.img-left-ad-item{
    position: fixed;
    left: 2px;
    bottom: 300px;
    width: 35%;
    z-index: 100;
}
.img-left-ad-item a{
    display: block;
    width: 100%;
}
.img-left-ad-item a img{
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.img-left-ad-item .ad-close-btn{
    position: absolute;
    border-radius: 4px;
    top: 0px;
    right: 0px;
    width: 18px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-left-ad-item .ad-close-btn .close-icon{
     width: 12px;
    height: 12px;
    background-image: url(../imgs/detail/icon_close.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.img-right-ad-item{
    position: fixed;
    right: 2px;
    bottom: 300px;
    width: 35%;
    z-index: 100;
}
.img-right-ad-item a{
    display: block;
    width: 100%;
}
.img-right-ad-item a img{
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.img-right-ad-item .ad-close-btn{
    position: absolute;
    border-radius: 4px;
    top: 0px;
    right: 0px;
    width: 18px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-right-ad-item .ad-close-btn .close-icon{
    width: 12px;
    height: 12px;
    background-image: url(../imgs/detail/icon_close.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* 隐藏状态 */
.hide-header { transform: translateY(-100%); }
.hide-footer { transform: translateY(100%); }
.hide-tip{display: none;}