html,
body {
    padding: 0;
    margin: 0;
    min-width: 1750px;
    color: #000;
}

.arrow {
    width: 60px;
    font-size: 50px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    /* 适用于大多数现代浏览器 */
    -webkit-user-select: none;
    /* 适用于WebKit浏览器，如Chrome, Safari */
    -moz-user-select: none;
    /* 适用于Firefox */
    -ms-user-select: none;
    /* 适用于旧版IE浏览器 */
    z-index: 99;
}

#prev {
    left: 330px;
}

#next {
    right: 330px;
}
.epub-box-wrap {
    width: 1600px;
    margin: 0 auto;
    position: relative;
}


.epub-box {
    width: 700px;
    height: 100vh;
    margin: 0 auto;
    box-shadow: 0 0 10px #ccc;
}

.box {
    /* background: #ccc; */
    position: absolute;
    width: 280px;
    top: 30px;
    left: 30px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #b12228;
}

.box .box-item {
    display: flex;
    background: #b12228;
    font-size: 16px;
    align-items: center;
    color: #fff;
    border-bottom: 2px solid #b12228;
}

.box .box-item .item {
    cursor: pointer;
    flex: 1;
    line-height: 30px;
    text-align: center;
}

.active-item {
    color: #b12228;
    background: #f3dbdd;
}

.nr-ml,
.nr-sq {
    display: none;
    max-height: 700px;
    overflow: hidden;
    overflow-y: auto;
}

.data-rq::-webkit-scrollbar {
    width: 8px;
    /* 滚动条的宽度 */
    height: 8px;
    /* 垂直滚动条的高度 */
}

.data-rq::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.4);
    /* 滚动条滑块的颜色 */
    border-radius: 4px;
    /* 滑块圆角 */
}

.data-rq::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
    /* 滑块悬停时的颜色 */
}

.data-rq::-webkit-scrollbar-track {
    background-color: none;
    /* 滚动条轨道的颜色 */
    border-radius: 4px;
    /* 轨道圆角 */
}

.nr-ml .item,
.nr-sq .item {
    border-bottom: 1px solid #b12228;
    line-height: 30px;
    /* color: #444; */
    cursor: pointer;
    font-size: 14px;
    /* text-indent: 10px; */
    padding: 0 10px;
}

.nr-ml .item:last-child,
.nr-sq .item:last-child {
    border: none;
}

.li:hover {
    background: #f3dbdd;
    color: #b12228;
}

.li .li-bt {
    display: flex;
}

.li .li-bt span {
    flex: 1;
}

.data-null {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
    display: none;
}

.mask .popup {
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
}

.mask .popup input {
    border: none;
    outline: none;
    background: #eee;
    height: 30px;
    width: 200px;
    font-size: 14px;
    padding: 0 10px;
    border-radius: 15px;
}

.mask .popup .but {
    height: 30px;
    width: 60px;
    background: #b12228;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 14px;
    border-radius: 15px;
    margin-left: 20px;
    cursor: pointer;
}

.ml-list-li {
    background: #f3dbdd;
    color: #b12228;
}


.pos-right {
    position: absolute;
    right: 0;
    top: 30px;
}
.search-box {
    display: flex;
    align-items: center;
}
.search-box-input {
    background: #fff;
    border: 1px solid #b12228;
    width: 290px;
    height: 30px;
    overflow: hidden;
    border-radius: 4px 0 0 4px;
}
.search-box-input input {
    display: block;
    width: 90%;
    height: 100%;
    margin: 0 auto;
    border: none;
    background: none;
    outline: none;
}
.search-box-but {
    width: 80px;
    background: #b12228;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 4px 4px 0;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
.book-mark-set-font-size {
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.book-mark {
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-right: 90px;
}

.book-mark img {
    display: block;
    width: 100%;
    height: 100%;
}
.set-font-size {
    display: flex;
    align-items: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.set-font-size .but {
    width: 70px;
    height: 30px;
    background: #b12228;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}
.set-font-size .but:hover {
    background: #c23940;
}
.set-font-size .num {
    font-size: 18px;
    width: 100px;
    text-align: center;
}
.pc-mode {
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.pc-mode .item:nth-child(2) {
    margin: 0 10px;
}

.pc-mode .item {
    display: flex;
    align-items: center;
    font-size: 16px;
    border: 1px solid #b12228;
    padding: 4px 15px;
    cursor: pointer;
    border-radius: 6px;
}
.pc-mode .item-xz {
    background: #b12228;
    color: #fff;
}
.pc-ydsc {
    width: 300px;
    margin-top: 20px;
}
.pc-ydsc img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: bottom;
}
.font-size-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 15px; /* 与上方模式按钮保持间距 */
}

.font-size-buttons .item {
    display: flex;
    align-items: center;
    font-size: 16px;
    border: 1px solid #b12228;
    padding: 4px 15px;
    cursor: pointer;
    border-radius: 6px;
}

.font-size-buttons .item:hover {
    background: #f3dbdd;
    color: #b12228;
}

/* 如果需要添加激活状态的样式 */
.font-size-buttons .item.active {
    background: #b12228;
    color: #fff;
}