:root {
    --primary-color: var(--accent-bar);
    --primary-dark: #fcb900;
    --danger-color: #ff4343;
    --text-color: #383838;
    --border-color: #ddd;
    --border-light: #ebebeb;
    --ink: #222;
    --on-dark-weak: #eee; /* 深色弹层上弱亮字 */
    --bg-primary: var(--line-faint);
    --bg-secondary: #e0e0e0;
    --bg-white: #fff;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, .06);
    --shadow-medium: 0 1px 2px rgba(0, 0, 0, .04);
    --radius-small: var(--radius-sm);
    --radius-medium: var(--radius-md);
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 40px;
    --font-family-base: "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", sans-serif;
    --font-family-serif: "SimSun", "STSong", "Songti SC", "LiSong Pro Light", serif;
    --font-family-kaiti: "KaiTi", "STKaiti", "BiauKai", serif;
    --reader-width: 960px;
    --tools-width: 72px;
}

:is(html,body)[reader-width="640"] { --reader-width: 640px; }
:is(html,body)[reader-width="800"] { --reader-width: 800px; }
:is(html,body)[reader-width="1280"] { --reader-width: 1280px; }

:is(html,body)[reader-font-size="12"] .js-reader-wrapper { font-size: 12px; }
:is(html,body)[reader-font-size="13"] .js-reader-wrapper { font-size: 13px; }
:is(html,body)[reader-font-size="14"] .js-reader-wrapper { font-size: 14px; }
:is(html,body)[reader-font-size="15"] .js-reader-wrapper { font-size: 15px; }
:is(html,body)[reader-font-size="16"] .js-reader-wrapper { font-size: 16px; }
:is(html,body)[reader-font-size="17"] .js-reader-wrapper { font-size: 17px; }
:is(html,body)[reader-font-size="19"] .js-reader-wrapper { font-size: 19px; }
:is(html,body)[reader-font-size="20"] .js-reader-wrapper { font-size: 20px; }
:is(html,body)[reader-font-size="21"] .js-reader-wrapper { font-size: 21px; }
:is(html,body)[reader-font-size="22"] .js-reader-wrapper { font-size: 22px; }
:is(html,body)[reader-font-size="23"] .js-reader-wrapper { font-size: 23px; }
:is(html,body)[reader-font-size="24"] .js-reader-wrapper { font-size: 24px; }
:is(html,body)[reader-font-size="25"] .js-reader-wrapper { font-size: 25px; }
:is(html,body)[reader-font-size="26"] .js-reader-wrapper { font-size: 26px; }
:is(html,body)[reader-font-size="27"] .js-reader-wrapper { font-size: 27px; }
:is(html,body)[reader-font-size="28"] .js-reader-wrapper { font-size: 28px; }
:is(html,body)[reader-font-size="29"] .js-reader-wrapper { font-size: 29px; }
:is(html,body)[reader-font-size="30"] .js-reader-wrapper { font-size: 30px; }
:is(html,body)[reader-font-size="31"] .js-reader-wrapper { font-size: 31px; }
:is(html,body)[reader-font-size="32"] .js-reader-wrapper { font-size: 32px; }
:is(html,body)[reader-font-size="33"] .js-reader-wrapper { font-size: 33px; }
:is(html,body)[reader-font-size="34"] .js-reader-wrapper { font-size: 34px; }
:is(html,body)[reader-font-size="35"] .js-reader-wrapper { font-size: 35px; }
:is(html,body)[reader-font-size="36"] .js-reader-wrapper { font-size: 36px; }
:is(html,body)[reader-font-size="37"] .js-reader-wrapper { font-size: 37px; }
:is(html,body)[reader-font-size="38"] .js-reader-wrapper { font-size: 38px; }
:is(html,body)[reader-font-size="39"] .js-reader-wrapper { font-size: 39px; }
:is(html,body)[reader-font-size="40"] .js-reader-wrapper { font-size: 40px; }
:is(html,body)[reader-font-size="41"] .js-reader-wrapper { font-size: 41px; }
:is(html,body)[reader-font-size="42"] .js-reader-wrapper { font-size: 42px; }
:is(html,body)[reader-font-size="43"] .js-reader-wrapper { font-size: 43px; }
:is(html,body)[reader-font-size="44"] .js-reader-wrapper { font-size: 44px; }
:is(html,body)[reader-font-size="45"] .js-reader-wrapper { font-size: 45px; }
:is(html,body)[reader-font-size="46"] .js-reader-wrapper { font-size: 46px; }
:is(html,body)[reader-font-size="47"] .js-reader-wrapper { font-size: 47px; }
:is(html,body)[reader-font-size="48"] .js-reader-wrapper { font-size: 48px; }

:is(html,body)[reader-font="songti"] .js-reader-wrapper .article {
    font-family: var(--font-family-serif);
}

:is(html,body)[reader-font="kaiti"] .js-reader-wrapper .article {
    font-family: var(--font-family-kaiti);
}

:is(html,body)[reader-page-mode="scroll"] .chapter-nav {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--danger-color);
    outline-offset: 2px;
}

em,
i {
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: 100;
    font-family: var(--font-family-base);
    margin: 0;
}

.hide {
    display: none !important;
}

.reader-container {
    display: grid;
    grid-template-areas:
        "left-tools main right-tools";
    grid-template-columns: auto 1fr auto;
    min-height: 100vh;
    position: relative;
}

body,
.wrapper {
    background: var(--bg-secondary);
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: var(--text-color);
}
body a,
body a:hover,
body a:focus-visible,
body a:active,
body a:visited {
    text-decoration: none;
}
.reader-container ul,
.reader-container ol,
.read-catalogue-pop ul,
.read-catalogue-pop ol,
.read-mobile-catalogue ul,
.read-mobile-catalogue ol,
.read-mobile-setting ul,
.read-mobile-setting ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pop-head span.pop-title {
    line-height: 25px;
    height: 25px;
    display: block;
    font-size: 18px;
    overflow: hidden;
    font-weight: 700;
    text-align: center;
    color: #ccc;
}

.lm-btn.js-reset-theme {
    background: var(--primary-color);
    color: var(--ink);
    border-radius: 4px;
    line-height: 40px;
    height: 40px;
    font-size: 16px;
}

.lm-btn.js-reset-theme:hover {
    background: var(--primary-dark);
    color: var(--ink);
}

.lm-btn {
    font-weight: 700;
    color: var(--ink);
    vertical-align: top;
    border: none;
    cursor: pointer;
}

.pop-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    text-align: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.pop-close .site-icon {
    font-size: 24px;
    color: #ddd;
    padding: 0;
    font-weight: bold;
}
.pop-close .site-icon:hover {
    color: var(--color-emphasis);
}

.read-guide-pop {
    width: 320px;
    margin-left: -160px;
}

.lm-pop, .read-guide-pop, .read-error-pop {
    background: #fff;
    position: fixed;
    left: 50%;
    z-index: 1001;
    padding: 24px;
    top: -3000px;
    border-radius: 8px;
}
.read-guide-pop.is-open {
    top: 30%;
}
.read-error-pop.is-open {
    top: 18%;
}
.catalogue-state-msg {
    padding: 20px;
    text-align: center;
}
.catalogue-state-msg.is-muted {
    color: var(--text-secondary);
}
.catalogue-state-msg.is-err {
    color: var(--danger-color);
}
.pay-auto i.is-auto-on {
    color: #fcc800;
}
.pay-auto i.is-auto-off {
    color: #999;
}

.catalogue-list::-webkit-scrollbar-track,
.catalogue-list::-webkit-scrollbar-thumb {
    border-radius: 10px;
}
.catalogue-list::-webkit-scrollbar-track {
    background-color: transparent;
}
.catalogue-list::-webkit-scrollbar-thumb {
    background-color: #ebebeb;
}

.wrapper {
    grid-area: main;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
}

.js-reader-wrapper {
    width: var(--reader-width);
    max-width: 100%;
    margin: 0 auto;
}

.wrapper .reader-wrapper {
    font-size: 18px;
    font-family: var(--font-family-base);
}

.wrapper .reader-wrapper.songti .article {
    font-family: var(--font-family-serif);
}

.wrapper .reader-wrapper.kaiti .article {
    font-family: var(--font-family-kaiti);
}

.wrapper .section {
    margin-bottom: var(--spacing-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-small);
    box-shadow: var(--shadow-medium);
}

.wrapper .section:last-child {
    margin-bottom: 0;
}

.read-cont {
    min-height: 600px;
    padding: 0 70px 46px
}

.read-cont.read-cont--comic {
    padding-left: 20px;
    padding-right: 20px;
}

.read-chapter-info {
    position: relative;
    margin-bottom: var(--spacing-md);
    padding: 60px 0 8px;
    border-bottom: 1px dashed var(--border-color);
}

.read-float-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: var(--read-float-bg, var(--bg-primary));
    border-bottom: 1px solid var(--read-float-line, var(--border-light));
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition: transform .26s ease, background-color .2s ease, border-color .2s ease;
    padding-top: constant(safe-area-inset-top);
    padding-top: env(safe-area-inset-top, 0px);
}

.read-float-bar.is-hidden {
    transform: translate3d(0, -100%, 0);
    pointer-events: none;
}

.read-float-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    max-width: var(--site-max-w);
    min-height: 44px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.read-float-brand {
    flex: 0 1 auto;
    max-width: 148px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
    color: var(--read-float-ink, var(--ink));
}

.read-float-brand:hover,
.read-float-brand:focus-visible {
    color: var(--read-float-ink, var(--ink));
}

.read-float-bar .search {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    max-width: 360px;
    margin: 0 auto;
}

.read-float-bar .search > .input {
    flex: 1 1 auto;
    min-width: 0;
}

.read-float-bar .search .search-collapse-btn {
    display: none;
}

.read-float-bar .search .input {
    display: flex;
    align-items: center;
    width: 100%;
    height: 34px;
    background: #fff;
    border: 1px solid var(--line-default);
    border-radius: var(--radius-md);
    position: relative;
    z-index: 10;
    overflow: visible;
}

.read-float-bar .search .input:focus-within {
    border-color: var(--accent-bar);
}

.read-float-bar .search .input.open {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.read-float-bar .search .input input {
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    padding: 0 12px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
}

.read-float-bar .search .input input::placeholder {
    color: var(--text-muted);
}

.read-float-bar .search .input .search-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
}

.read-float-bar .search .input .search-btn:hover,
.read-float-bar .search .input .search-btn:focus-visible {
    color: var(--color-emphasis);
}

.read-float-bar .search .search-suggest-list {
    z-index: 600;
}

.read-float-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.read-float-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 5px 14px;
    border-radius: 4px;
    background: #e53935;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}

.read-float-login:hover,
.read-float-login:focus-visible {
    background: #c62828;
    color: #fff;
}

.read-float-user {
    display: inline-flex;
    flex: 0 0 auto;
    line-height: 0;
    border-radius: 50%;
}

.read-float-avatar {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color .2s ease;
    box-sizing: border-box;
}

.read-float-user:hover .read-float-avatar,
.read-float-user:focus-visible .read-float-avatar {
    border-color: #e53935;
}

body.theme-blue {
    --read-float-bg: var(--bg-primary);
    --read-float-line: var(--border-color);
    --read-float-ink: var(--text-color);
}

body.theme-yellow {
    --read-float-bg: #fefcec;
    --read-float-line: #f0e6c8;
}

body.theme-green {
    --read-float-bg: #f0f9f0;
    --read-float-line: #d8ead8;
}

body.theme-red {
    --read-float-bg: #fef7f7;
    --read-float-line: #f5dede;
}

body.theme-dark {
    --read-float-bg: #2c2c2c;
    --read-float-line: rgba(255, 255, 255, .12);
    --read-float-ink: #e0e0e0;
}

body.theme-dark .read-float-login {
    background: #d32f2f;
}

body.theme-dark .read-float-login:hover,
body.theme-dark .read-float-login:focus-visible {
    background: #b71c1c;
}

body.theme-dark .read-float-user:hover .read-float-avatar,
body.theme-dark .read-float-user:focus-visible .read-float-avatar {
    border-color: #e53935;
}

body.theme-dark .read-float-bar .search .input {
    background: #353535;
    border-color: rgba(255, 255, 255, .15);
}

body.theme-dark .read-float-bar .search .input input {
    color: #e0e0e0;
}

body.theme-dark .read-float-bar .search .input .search-btn {
    color: #bbb;
}

.read-chap-mark {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.read-chap-mark:focus-visible {
    outline: 2px solid var(--accent-bar);
    outline-offset: 2px;
}

.read-chap-mark-ribbon {
    display: block;
    width: 22px;
    height: 34px;
    background: #c5c5c5;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
    transition: background-color .2s ease;
}

.read-chap-mark.is-marked .read-chap-mark-ribbon {
    background: #e53935;
}

.read-chapter-info .title {
    margin-bottom: var(--spacing-md);
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    text-align: center;
    overflow: hidden;
}

.read-chapter-info .read-info-list {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.read-chapter-info .read-info-list li {
    font-size: 14px;
    line-height: 20px;
    color: var(--text-muted);
}

.article {
    position: relative;
    color: var(--text-color);
    line-height: 1.8;
    min-width: 0;
    max-width: 100%;
}

.article p {
    padding: 13px 0;
    text-indent: 2em;
    word-break: break-all;
    margin: 0;
}

.comic-images {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    min-width: 0;
    max-width: 100%;
}

.comic-images img,
.read-cont .article img.piclist {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 0;
}

.read-cont .article .mask {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 256px;
    background-image: linear-gradient(180deg, rgba(245, 245, 245, 0), var(--line-faint))
}

.read-cont:has(.vip-limit-wrap) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
}

.vip-limit-wrap {
    margin: 60px 0 120px
}

.vip-limit-wrap .tip {
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 22px;
    line-height: 30px;
    text-align: center
}

.vip-limit-wrap p {
    color: #333;
    font-size: 16px;
    line-height: 30px;
    text-align: center
}

.vip-limit-wrap .read-way-list {
    font-size: 0;
    text-align: center
}

.vip-limit-wrap .read-way-list .pay-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 16px;
    width: 240px;
    min-height: 165px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
}

.vip-limit-wrap .read-way-list .pay-box h5 {
    font-size: 16px;
    color: #333;
    line-height: 30px;
    text-align: center;
    font-weight: 600;
}

.vip-limit-wrap .read-way-list .pay-box p {
    font-size: 14px;
    color: var(--text-secondary);
}

.vip-limit-wrap .read-way-list .pay-box .pay-auto {
    font-size: 14px;
    cursor: pointer;
}

.vip-limit-wrap .read-way-list .pay-box .pay-auto i {
    vertical-align: middle;
    margin-right: 5px;
    font-size: 20px
}

.vip-limit-wrap .read-way-list .pay-box .pay-btn {
    cursor: pointer;
    width: 70%;
    height: 36px;
    line-height: 36px;
    background: var(--primary-color);
    color: var(--ink);
    text-align: center;
    margin: 0 auto;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-small);
    border: none;
}

.vip-limit-wrap .read-way-list .pay-box .pay-btn:hover {
    background: var(--primary-dark);
}

.read-left-tools {
    grid-area: left-tools;
    position: fixed;
    top: var(--spacing-lg);
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(calc(-50% - 510px));
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.read-left-tools > button.report-error {
    margin-top: auto;
}

.tools-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.read-left-tools a,
.read-left-tools button.guide,
.read-left-tools button.report-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    min-height: 36px;
    padding: 6px 4px;
    font-size: 12px;
    line-height: 1.1;
    color: var(--text-secondary);
    text-align: center;
    background: linear-gradient(270deg, #EAEAEA, var(--bg-primary));
    border: none;
    border-radius: var(--radius-small) 0 0 var(--radius-small);
    cursor: pointer;
}
.read-left-tools button.guide,
.read-left-tools button.report-error {
    text-decoration: none;
}

.read-left-tools a.back {
    background: var(--primary-color);
    color: var(--ink);
    min-height: 36px;
}

.read-left-tools a.back:hover {
    background: var(--primary-dark);
}

.read-left-tools a.back span {
    display: block;
    margin-top: 2px;
}

.read-left-tools a.back .site-icon {
    font-size: 18px;
    line-height: 18px;
}

.read-left-tools button.report-error {
    color: var(--danger-color);
}

.read-left-tools button.guide:hover {
    background: linear-gradient(270deg, #d6eaf8, #eaf4fd);
    color: #2980b9;
}

.read-left-tools button.report-error:hover {
    background: linear-gradient(270deg, #d6eaf8, #eaf4fd);
    color: var(--danger-color);
}

.read-error-pop {
    width: 400px;
    transform: translateX(-50%);
    box-shadow: var(--shadow-light);
}

.read-error-pop .pop-head {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.read-error-pop .pop-head h2 {
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    color: var(--ink);
    text-align: left;
}

.read-error-pop .report-error-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.read-error-pop .err-type-group {
    display: flex;
    gap: 16px;
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}
.read-error-pop .err-type-group legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.read-error-pop .err-type-item {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
}
.read-error-pop .err-type-item input[type="radio"] {
    accent-color: var(--text-secondary);
    cursor: pointer;
}
.read-error-pop .err-textarea {
    width: 100%;
    height: 100px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    font-size: 13px;
    color: var(--text-color);
    resize: none;
    outline: none;
    font-family: var(--font-family-base);
}
.read-error-pop .err-textarea:focus {
    border-color: #aaa;
}
.read-error-pop .err-footer {
    display: flex;
    gap: 10px;
    align-items: center;
}
.read-error-pop .err-contact {
    flex: 1;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    font-size: 12px;
    color: var(--text-color);
    outline: none;
}
.read-error-pop .err-contact:focus {
    border-color: #aaa;
}
.read-error-pop .err-submit {
    flex-shrink: 0;
    height: 36px;
    padding: 0 20px;
    background: var(--primary-color);
    color: var(--ink);
    border: none;
    border-radius: var(--radius-small);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.read-error-pop .err-submit:hover {
    background: var(--primary-dark);
}
.read-error-pop .err-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.read-right-tools {
    grid-area: right-tools;
    position: fixed;
    top: 320px;
    right: 50%;
    transform: translate(calc(50% + 480px + var(--spacing-2xl)), -50%);
    z-index: 100;
    width: var(--tools-width);
}

.read-right-tools .read-tool-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: var(--tools-width);
}

.read-reader-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    border-radius: var(--radius-small);
}

.read-reader-btn .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-top: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
}

.read-reader-btn .item .icon-wrap {
    display: block;
    height: 24px;
    margin-bottom: var(--spacing-xs);
}

.read-reader-btn .item .icon-wrap .site-icon {
    font-size: 24px;
    line-height: 24px;
}

.read-reader-btn .item .s-txt {
    font-size: 12px;
    line-height: 1.4;
}

.read-reader-btn .item:hover .icon-wrap .site-icon,
.read-reader-btn .item:hover .s-txt {
    color: var(--link-hover-fg);
}

.read-reader-btn .read-pop {
    position: absolute;
    background: var(--bg-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg) var(--spacing-2xl);
    overflow: hidden;
    z-index: -1;
    box-shadow: var(--shadow-light);
    border-radius: var(--radius-small);
}

.read-reader-btn .read-pop .pop-head {
    margin-bottom: var(--spacing-xl);
}

.read-reader-btn .read-pop .pop-head h2 {
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    color: var(--ink);
}

.read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont::after,
.read-reader-btn .read-pop .pop-body .setting-list .setting-item::after {
    content: "";
    display: table;
    clear: both;
}

.read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .theme-list,
.read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .font-size,
.read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .font-family,
.read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .page-width,
.read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .page-mode {
    overflow: hidden;
}

.read-reader-btn .read-pop.js-pop-setting {
    width: 460px;
    top: -90px;
    right: 64px;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body {
    padding-right: var(--spacing-2xl);
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list {
    max-height: 350px;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item {
    margin-bottom: 20px;
    min-height: 40px;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item label,
.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-label {
    float: left;
    width: 5.5em;
    line-height: 40px;
    color: var(--text-secondary);
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont {
    overflow: hidden;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li {
    float: left;
    margin-right: 8px;
    border: 1px solid var(--border-color);
    width: 38px;
    height: 38px;
    cursor: pointer;
    border-radius: 999px;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li[theme="default"] {
    background: var(--line-faint);
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li[theme="blue"] {
    background: #CFD9E0;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li[theme="yellow"] {
    background: #E3D9BC;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li[theme="green"] {
    background: #DDEBD6;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li[theme="red"] {
    background: #F3D8D8;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li[theme="dark"] {
    background: #242121;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li i {
    display: none;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li.cur {
    position: relative;
    border: 1px solid var(--ink);
    width: 38px;
    height: 38px;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li.cur i {
    display: block;
    position: absolute;
    font-size: 24px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li.cur[theme=dark] {
    border: 1px solid #fff;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .theme-list li.cur[theme=dark] i {
    color: #fff;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-size {
    width: 280px;
    height: 38px;
    border: 1px solid var(--border-color);
    text-align: center;
    border-radius: 4px;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-size li {
    float: left;
    height: 38px;
    width: 84px;
    line-height: 36px;
    font-size: 16px;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-size li button {
    font-size: 22px;
    display: block;
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-size li.cur-size {
    width: 110px;
    color: var(--text-muted);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-size li.disabled button {
    color: #ddd;
    cursor: default;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-family button {
    float: left;
    display: block;
    margin-right: 12px;
    width: 84px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 38px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-family button.is-active {
    position: relative;
    color: var(--ink);
    border: 1px solid var(--ink);
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-family button.is-active:before,
.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .page-width button.is-active:before,
.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .page-mode button.is-active:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
    background-image: url(../images/reader_map_2x.png);
    background-size: 300px;
    background-position: -26px -74px;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-family .font-songti {
    font-family: 'SimSun', 'STSong', 'Songti SC', 'LiSong Pro Light';
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-family .font-kaiti {
    font-family: 'KaiTi', 'STKaiti', 'BiauKai';
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .page-width button {
    float: left;
    display: block;
    margin-right: 12px;
    width: 60px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 38px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .page-width button.is-active {
    position: relative;
    color: var(--ink);
    border: 1px solid var(--ink);
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .page-mode button {
    float: left;
    display: block;
    margin-right: 12px;
    width: 132px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 38px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .page-mode button.is-active {
    position: relative;
    color: var(--ink);
    border: 1px solid var(--ink);
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .auto-sub {
    display: flex;
    background: var(--line-faint);
    border-radius: 22px;
    overflow: hidden;
    width: 180px;
    height: 40px;
    position: relative;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .auto-sub button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    line-height: 1;
    height: 100%;
    color: var(--text-secondary);
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .auto-sub button.is-active {
    color: var(--ink);
    font-weight: 600;
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .auto-sub::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(50% - 2px);
    height: calc(100% - 4px);
    background: var(--primary-color);
    border-radius: 18px;
    z-index: 1;
    transform: translateX(0);
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .auto-sub.slide-right::before {
    transform: translateX(100%);
}

.read-reader-btn .read-pop.js-pop-setting .pop-body .btn-wrap button {
    display: block;
    width: 100%;
    text-align: center;
}

.read-reader-btn.is-active .read-pop { z-index: 1000; }
body > .read-pop.js-pop-listen {
    position: fixed;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    z-index: 19892000;
    min-width: 0;
    padding: 10px 32px 10px 14px;
    background: var(--bg-white);
    box-shadow: var(--shadow-light);
    border-radius: 8px;
    overflow: visible;
}
.read-pop.js-pop-listen .listen-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.read-pop.js-pop-listen .listen-controls .lm-btn {
    padding: 6px 10px;
    min-width: 36px;
    font-size: 14px;
    background: transparent;
    color: var(--text-color);
    border-radius: 4px;
    -webkit-appearance: none;
    appearance: none;
}
.read-pop.js-pop-listen .listen-controls .lm-btn:hover {
    background: rgba(0, 0, 0, .06);
}
.read-pop.js-pop-listen .listen-controls select {
    padding: 4px 8px;
    min-width: 100px;
    max-width: min(320px, calc(100vw - 132px));
    font-size: 13px;
    border: 1px solid var(--border-color); border-radius: 4px;
}
.read-pop.js-pop-listen .listen-controls select:focus-visible { outline: none; border-color: var(--border-color); }
body.theme-dark .read-pop.js-pop-listen { background: #444; }
body.theme-dark .read-pop.js-pop-listen .listen-controls .lm-btn {
    background: #353535;
    color: #ccc;
    border: 1px solid var(--text-secondary);
}
body.theme-dark .read-pop.js-pop-listen .listen-controls .lm-btn:hover {
    background: #404040;
    color: #fff;
}
body.theme-dark .read-pop.js-pop-listen .listen-controls select { border-color: var(--text-secondary); background: #353535; color: #ccc; }
.read-pop.js-pop-listen .pop-close { top: 6px; right: 6px; width: 20px; height: 20px; line-height: 20px; }
.read-pop.js-pop-listen .pop-close .site-icon { font-size: 18px; }
.read-reader-btn .read-pop.js-pop-tel {
    right: 64px;
    margin-top: -75px;
    padding: 20px;
    width: 140px;
    height: 140px;
}
.read-reader-btn .read-pop.js-pop-tel img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
}

.read-reader-btn .read-pop.js-pop-tel img.qr-download {
    display: block;
}
.read-reader-btn .read-pop.js-pop-tel .tel-pop-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.read-reader-btn.is-active {
    background: var(--bg-white);
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.read-reader-btn.js-back-top {
    position: fixed;
    bottom: 30px;
    right: 50%;
    width: 60px;
    height: 60px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(calc(50% + 480px + var(--spacing-2xl) - 5px), 0);
    z-index: 100;
}
.read-reader-btn.js-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.read-catalogue-pop {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 600px;
    height: 100vh;
    max-height: 100vh;
    background: var(--bg-white);
    padding: var(--spacing-2xl) 0 var(--spacing-2xl) 24px;
    box-shadow: var(--shadow-light);
    z-index: 1000;
    overflow: hidden;
    border-radius: var(--radius-small);

    right: calc(50vw - 447px - var(--spacing-2xl));
    display: flex;
    flex-direction: column;
}

.read-catalogue-pop .pop-head {
    margin-bottom: var(--spacing-md);
    height: 30px;
    position: relative;
    flex-shrink: 0;
}

.read-catalogue-pop .pop-head h2 {
    float: left;
    margin-right: 40px;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
}

.read-catalogue-pop .catalogue-close,
.read-error-pop .catalogue-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.read-catalogue-pop .catalogue-close .site-icon,
.read-error-pop .catalogue-close .site-icon {
    color: #ddd;
    padding-right: 0;
    font-size: 24px;
    line-height: 24px;
    font-weight: bold;
}

.read-catalogue-pop .catalogue-close .site-icon:hover,
.read-error-pop .catalogue-close .site-icon:hover {
    color: var(--color-emphasis);
}

.read-catalogue-pop .pop-body {
    padding-right: 24px;
    padding-left: 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.read-catalogue-pop .volume-head {
    padding: 8px 12px;
    gap: 6px;
    box-sizing: border-box;
    max-width: 100%;
}

.read-catalogue-pop .volume-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
}

.read-catalogue-pop .volume-head .vol-buy-btn {
    flex-shrink: 0;
    padding: 0;
}

.read-catalogue-pop .volume-head:has(.vol-buy-btn)::before {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    flex: 0 0 1px;
    width: 1px;
    height: 1.15em;
    min-height: 14px;
    max-height: 20px;
    margin: 0 2px;
    align-self: center;
}

.read-catalogue-pop .volume-head::after {
    position: static;
    right: auto;
    top: auto;
    margin: 0 0 0 2px;
    flex: 0 0 12px;
    align-self: center;
}

.read-catalogue-pop .pop-body .read-catalogue-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.read-catalogue-pop .pop-body .read-catalogue-header h2 {
    line-height: 20px;
    color: var(--text-muted);
}

.read-catalogue-pop .pop-body .read-catalogue-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 16px;
    flex-shrink: 0;
}

.read-catalogue-pop .pop-body .read-catalogue-header .cat-toolbar-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 20px;
}

.read-catalogue-pop .pop-body .read-catalogue-header .cat-toolbar-btn:hover {
    color: #909090;
}

.read-catalogue-pop .pop-body .read-catalogue-header .sort-btn {
    margin-right: 0;
    flex-shrink: 0;
    font-size: 13px;
    line-height: 20px;
}

.read-catalogue-pop .pop-body .read-catalogue-header .sort-btn button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
}

.read-catalogue-pop .pop-body .read-catalogue-header .sort-btn button:hover {
    color: #909090;
}

.read-catalogue-pop .pop-body .catalogue-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-gutter: stable;
}

.read-catalogue-pop .volume-group ul {
    gap: 14px 0;
}

.read-catalogue-pop .volume-group ul li {
    position: relative;
    height: 21px;
    padding-right: 4px;
    margin-bottom: 0;
}

.read-catalogue-pop .volume-group ul li a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-right: 4px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
}

.read-catalogue-pop .volume-group ul li a .cat-chapter-name {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 0 1 auto;
}

.read-catalogue-pop .volume-group ul li a i {
    margin-left: 6px;
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1;
}

.read-catalogue-pop .volume-group ul li a.current-chapter,
.read-catalogue-pop .volume-group ul li.current-chapter a,
.read-catalogue-pop .volume-group ul li a[aria-current="location"] {
    color: var(--color-emphasis);
}

.read-guide-pop [class^=icon-key] {
    display: inline-block;
    width: 46px;
    height: 46px;
    background-image: url(../images/reader_map_2x.png);
    background-repeat: no-repeat;
    background-size: 300px;
    flex-shrink: 0;
}

@supports (background-size:300px) {
    .read-reader-btn .read-pop.js-pop-setting .pop-body .setting-list .setting-item .setting-cont .font-family button.is-active:before {
        background-image: url(../images/reader_map_2x.png);
        background-size: 300px;
    }
}

.read-guide-pop .icon-key-down {
    background-position: -56px -100px;
}

.read-guide-pop .icon-key-up {
    margin-right: 12px;
    background-position: -112px -100px;
}

.read-guide-pop .icon-key-f11 {
    background-position: 0 -100px;
}

.read-guide-pop .s-txt {
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: inline-block;
}

.read-guide-pop .pop-body {
    padding: var(--spacing-2xl) var(--spacing-2xl) 0;
    min-height: 120px;
}

.read-guide-pop .read-guide-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
}

.read-guide-pop .guide-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 200px;
}

.read-guide-pop .guide-item .s-txt {
    font-size: 14px;
    flex: 1;
}

.read-guide-pop .guide-item .key-group {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

body.theme-blue {
    --bg-secondary: #CFD9E0;
    --bg-primary: #F5F8FB;
    --border-color: #E4E9EE;
    --text-color: #131A1E;
    --text-secondary: #5B6265;
    --text-muted: #93999D;
}

body.theme-blue .section {
    background: var(--bg-primary);
}

body.theme-blue .section .read-cont .read-chapter-info {
    border-bottom: 1px dashed #DCDEE1;
}

body.theme-blue .section .read-cont .read-chapter-info .title {
    color: #131A1E;
}

body.theme-blue .section .read-cont .read-chapter-info .read-info-list li {
    color: #93999D;
}

body.theme-blue .section .read-cont .article {
    color: #131A1E;
}

body.theme-blue .section .read-cont .article .mask {
    background-image: linear-gradient(180deg, rgba(245, 248, 251, 0), #f5f8fb);
}

body.theme-blue .section .read-cont .vip-limit-wrap .tip {
    color: #93999D;
}

body.theme-blue .read-reader-btn {
    background: #F5F8FB;
}

body.theme-blue .read-left-tools .guide,
body.theme-blue .read-left-tools .report-error {
    background-image: linear-gradient(270deg, #E6EAEF, #F5F8FB);
}

body.theme-yellow,
body.theme-yellow .wrapper {
    background: #E3D9BC;
}

body.theme-yellow .section {
    background: #F4F1E9;
}

body.theme-yellow .section .read-cont .read-chapter-info {
    border-bottom: 1px dashed #E1DCD3;
}

body.theme-yellow .section .read-cont .read-chapter-info .title {
    color: #413B2A;
}

body.theme-yellow .section .read-cont .read-chapter-info .read-info-list li {
    color: #949289;
}

body.theme-yellow .section .read-cont .article {
    color: #413B2A;
}

body.theme-yellow .section .read-cont .article .mask {
    background-image: linear-gradient(180deg, rgba(244, 241, 233, 0), #f4f1e9);
}

body.theme-yellow .section .read-cont .vip-limit-wrap .tip {
    color: #949289;
}

body.theme-yellow .read-reader-btn {
    background: #F4F1E9;
}

body.theme-yellow .read-left-tools .guide,
body.theme-yellow .read-left-tools .report-error {
    background-image: linear-gradient(270deg, #E9E5DA, #F4F1E9);
}

body.theme-green,
body.theme-green .wrapper {
    background: #DDEBD6;
}

body.theme-green .section {
    background: #F5FAF2;
}

body.theme-green .section .read-cont .read-chapter-info {
    border-bottom: 1px dashed #DCE0D9;
}

body.theme-green .section .read-cont .read-chapter-info .title {
    color: #394434;
}

body.theme-green .section .read-cont .read-chapter-info .read-info-list li {
    color: #90978C;
}

body.theme-green .section .read-cont .article {
    color: #394434;
}

body.theme-green .section .read-cont .article .mask {
    background-image: linear-gradient(180deg, rgba(245, 250, 242, 0), #f5faf2);
}

body.theme-green .section .read-cont .vip-limit-wrap .tip {
    color: #90978C;
}

body.theme-green .read-reader-btn {
    background: #F5FAF2;
}

body.theme-green .read-left-tools .guide,
body.theme-green .read-left-tools .report-error {
    background-image: linear-gradient(270deg, #ECF9E5, #F0F8EB);
}

body.theme-red,
body.theme-red .wrapper {
    background: #F3D8D8;
}

body.theme-red .section {
    background: #FEF2F2;
}

body.theme-red .section .read-cont .read-chapter-info {
    border-bottom: 1px dashed #E4D9D9;
}

body.theme-red .section .read-cont .read-chapter-info .title {
    color: #453030;
}

body.theme-red .section .read-cont .read-chapter-info .read-info-list li {
    color: #A79696;
}

body.theme-red .section .read-cont .article {
    color: #453030;
}

body.theme-red .section .read-cont .article .mask {
    background-image: linear-gradient(180deg, rgba(254, 242, 242, 0), #fef2f2);
}

body.theme-red .section .read-cont .vip-limit-wrap .tip {
    color: #A79696;
}

body.theme-red .read-reader-btn {
    background: #FEF2F2;
}

body.theme-red .read-left-tools .guide,
body.theme-red .read-left-tools .report-error {
    background-image: linear-gradient(270deg, #F1DFDF, #FEF2F2);
}

body.theme-dark {
    background: #242121;
}

body.theme-dark::-webkit-scrollbar-track,
body.theme-dark::-webkit-scrollbar-thumb {
    border-radius: 10px;
}
body.theme-dark::-webkit-scrollbar-track {
    background-color: transparent;
}
body.theme-dark::-webkit-scrollbar-thumb {
    background-color: #909090;
}

body.theme-dark .wrapper {
    background: #242121;
}

body.theme-dark .section {
    background: #353535;
}

body.theme-dark .section .read-cont .read-chapter-info {
    border-bottom: 1px dashed #494949;
}

body.theme-dark .section .read-cont .read-chapter-info .title {
    color: #909090;
}

body.theme-dark .section .read-cont .read-chapter-info .read-info-list li {
    color: #747474;
}

body.theme-dark .section .read-cont .article {
    color: #909090;
}

body.theme-dark .section .read-cont .article .mask {
    background-image: linear-gradient(180deg, rgba(53, 53, 53, 0), #353535);
}

body.theme-dark .section .read-cont .vip-limit-wrap .tip {
    color: #747474;
}

body.theme-dark .section .read-cont .vip-limit-wrap .read-way-list .pay-box {
    background: #444;
    border: 1px solid #444;
}

body.theme-dark .read-reader-btn {
    background: #353535;
}

body.theme-dark .read-reader-btn .item .icon-wrap .site-icon,
body.theme-dark .read-reader-btn .item .s-txt {
    color: grey;
}

body.theme-dark .read-reader-btn .item:hover .icon-wrap .site-icon,
body.theme-dark .read-reader-btn .item:hover .s-txt {
    color: #ccc !important;
}

body.theme-dark .read-reader-btn .read-pop,
body.theme-dark .read-reader-btn.is-active {
    background: #444;
}

body.theme-dark .read-reader-btn .read-pop .pop-head h2 {
    color: #ccc;
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item label,
body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-label {
    color: var(--text-muted);
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .font-size {
    border: 1px solid var(--text-secondary);
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .font-size li button {
    color: #ccc;
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .font-size li.disabled button {
    color: var(--text-secondary);
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .font-size .cur-size {
    border-left: 1px solid var(--text-secondary) !important;
    border-right: 1px solid var(--text-secondary) !important;
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .font-family button,
body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .page-width button,
body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .page-mode button {
    color: var(--text-muted);
    border: 1px solid var(--text-secondary);
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .font-family button.is-active,
body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .page-width button.is-active,
body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .page-mode button.is-active {
    color: #fff;
    border: 1px solid #fff;
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .font-family button.is-active:before,
body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .page-width button.is-active:before,
body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .page-mode button.is-active:before {
    background-position: 0 -74px;
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .auto-sub {
    background: #353535;
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .auto-sub button {
    color: var(--text-muted);
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .auto-sub button:hover {
    color: #fff;
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .auto-sub button.is-active {
    color: #ccc;
    font-weight: 600;
}

body.theme-dark .read-reader-btn .read-pop .pop-body .setting-list .setting-item .setting-cont .auto-sub::before {
    background: #555;
}

body.theme-dark .read-reader-btn .read-pop.js-pop-setting .pop-body .btn-wrap .lm-btn.js-reset-theme {
    background: #555;
    color: #ccc;
}

body.theme-dark .read-reader-btn .read-pop.js-pop-setting .pop-body .btn-wrap .lm-btn.js-reset-theme:hover {
    background: var(--text-secondary);
}

body.theme-dark .read-left-tools .guide {
    color: #747474;
    background-image: linear-gradient(270deg, #2D2D2D, #353535);
}

body.theme-dark .read-left-tools button.report-error {
    background-image: linear-gradient(270deg, #2D2D2D, #353535);
}

body.theme-dark .read-left-tools .guide:hover {
    background: linear-gradient(270deg, #1a3a52, #1e4060);
    color: #7ab8e0;
}

body.theme-dark .read-left-tools .report-error:hover {
    background: linear-gradient(270deg, #1a3a52, #1e4060);
}

body.theme-dark .read-catalogue-pop .pop-head h2 {
    color: #fff;
}

body.theme-dark .read-catalogue-pop {
    background: #444;
    border-radius: var(--radius-small);
}

body.theme-dark .read-catalogue-pop .pop-body .catalogue-list {
    scrollbar-color: #555 #353535;
    scrollbar-width: thin;
}

body.theme-dark .read-catalogue-pop .pop-body .catalogue-list::-webkit-scrollbar {
    width: 8px;
}

body.theme-dark .read-catalogue-pop .pop-body .catalogue-list::-webkit-scrollbar-track,
body.theme-dark .read-catalogue-pop .pop-body .catalogue-list::-webkit-scrollbar-thumb {
    border-radius: 4px;
}
body.theme-dark .read-catalogue-pop .pop-body .catalogue-list::-webkit-scrollbar-track {
    background: #353535;
}
body.theme-dark .read-catalogue-pop .pop-body .catalogue-list::-webkit-scrollbar-thumb {
    background: #555;
}

body.theme-dark .read-catalogue-pop .pop-body .catalogue-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

body.theme-dark .read-catalogue-pop .pop-body .catalogue-list::-webkit-scrollbar-corner {
    background: #353535;
}

body.theme-dark .read-catalogue-pop .pop-body h2 {
    color: var(--text-secondary);
}

body.theme-dark .pop-head .pop-title {
    color: #fff;
}

body.theme-dark .read-pop.js-pop-tel img.qr-download {
    display: block !important;
}

body.theme-dark .lm-pop,
body.theme-dark .read-guide-pop,
body.theme-dark .read-error-pop {
    background: #444;
}

body.theme-dark .read-error-pop .pop-head h2 {
    color: var(--on-dark-weak);
}

body.theme-dark .read-catalogue-pop .catalogue-close .site-icon,
body.theme-dark .read-error-pop .catalogue-close .site-icon {
    color: #777;
}

body.theme-dark .read-catalogue-pop .catalogue-close .site-icon:hover,
body.theme-dark .read-error-pop .catalogue-close .site-icon:hover {
    color: #ddd;
}

body.theme-dark .read-error-pop .err-type-item {
    color: var(--text-muted);
}

body.theme-dark .read-error-pop .err-type-item input[type="radio"] {
    accent-color: var(--text-muted);
}

body.theme-dark .read-error-pop .err-textarea,
body.theme-dark .read-error-pop .err-contact {
    background: #353535;
    color: #ccc;
    border-color: #555;
}
body.theme-dark .read-error-pop .err-textarea::placeholder,
body.theme-dark .read-error-pop .err-contact::placeholder {
    color: var(--text-secondary);
}
body.theme-dark .read-error-pop .err-textarea:focus,
body.theme-dark .read-error-pop .err-contact:focus {
    border-color: #888;
}

body.theme-dark .read-error-pop .err-submit {
    background: #555;
    color: #ccc;
}

body.theme-dark .read-error-pop .err-submit:hover {
    background: var(--text-secondary);
}

body.theme-dark .read-error-pop .err-submit:disabled {
    opacity: .4;
    background: #444;
    color: #777;
}

body.theme-dark .read-guide-pop .s-txt {
    color: var(--text-muted);
}

body.theme-dark .vip-limit-wrap p,
body.theme-dark .vip-limit-wrap .read-way-list .pay-box h5 {
    color: var(--text-muted);
}

body.theme-dark .vip-limit-wrap .read-way-list .pay-box .pay-btn {
    background: #555;
    color: #ccc;
}

body.theme-dark .vip-limit-wrap .read-way-list .pay-box .pay-btn:hover {
    background: var(--text-secondary);
    color: #ccc;
}

:is(html,body)[reader-width="640"] .read-left-tools {
    transform: translateX(calc(-50% - 350px)) !important;
}

:is(html,body)[reader-width="640"] .read-right-tools {
    transform: translate(calc(50% + 320px + var(--spacing-2xl)), -50%) !important;
}
:is(html,body)[reader-width="640"] .read-catalogue-pop {
    right: calc(50vw - 287px - var(--spacing-2xl));
}

:is(html,body)[reader-width="800"] .read-left-tools {
    transform: translateX(calc(-50% - 430px)) !important;
}

:is(html,body)[reader-width="800"] .read-right-tools {
    transform: translate(calc(50% + 400px + var(--spacing-2xl)), -50%) !important;
}
:is(html,body)[reader-width="800"] .read-catalogue-pop {
    right: calc(50vw - 367px - var(--spacing-2xl));
}

:is(html,body)[reader-width="1280"] .read-left-tools {
    transform: translateX(calc(-50% - 670px)) !important;
}

:is(html,body)[reader-width="1280"] .read-right-tools {
    transform: translate(calc(50% + 640px + var(--spacing-2xl)), -50%) !important;
}
:is(html,body)[reader-width="1280"] .read-catalogue-pop {
    right: calc(50vw - 607px - var(--spacing-2xl));
}

.volume-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 40px 8px 12px;
    margin-bottom: 5px;
    background: var(--bg-subtle);
    border-radius: 6px;
    position: relative;
    user-select: none;
    z-index: 10;
}
.volume-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    position: relative;
    line-height: 1.4;
}
.volume-title-meta {
    cursor: pointer;
}
.volume-head .vol-buy-btn {
    flex: 0 0 auto;
    margin: 0;
    padding: 0 4px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    width: auto;
    max-width: max-content;
    line-height: inherit;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.volume-head .vol-buy-btn:hover {
    color: var(--color-emphasis);
}
.volume-head:has(.vol-buy-btn)::before {
    content: "";
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.15em;
    min-height: 14px;
    max-height: 20px;
    background: rgba(0, 0, 0, .1);
    pointer-events: none;
    z-index: 0;
}

.volume-head::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -3px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.volume-head.collapsed::after {
    transform: rotate(-180deg);
}

.volume-head.collapsed + ul,
.volume-head.collapsed + .chapter-list {
    display: none;
}

.volume-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    padding: 0;
    width: 100%;
}

.volume-group ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.volume-group ul li {
    width: 50%;
}

.volume-group ul li a {
    padding: 0 12px;
    color: var(--text-secondary);
}

.volume-group ul li a:hover {
    color: var(--color-emphasis);
}

body.theme-dark .volume-head {
    background: rgba(0, 0, 0, .1);
}

body.theme-dark .volume-head:hover {
    background: rgba(0, 0, 0, .2);
}

body.theme-dark .volume-title {
    color: #909090;
}

body.theme-dark .volume-head .vol-buy-btn {
    color: #909090;
}

body.theme-dark .volume-head .vol-buy-btn:hover {
    color: var(--color-emphasis);
}

body.theme-dark .volume-head:has(.vol-buy-btn)::before {
    background: rgba(255, 255, 255, .16);
}

body.theme-dark .volume-group ul li a {
    color: #909090;
}

body.theme-dark .volume-group ul li a:hover {
    color: #fff;
}

body.theme-dark .read-catalogue-pop .volume-group ul li a.current-chapter,
body.theme-dark .read-catalogue-pop .volume-group ul li.current-chapter a,
body.theme-dark .read-catalogue-pop .volume-group ul li a[aria-current="location"],
body.theme-dark .read-mobile-catalogue .volume-group ul li a.current-chapter {
    color: #ff6b6b;
}

.chapter-nav {
    padding: 72px 0 36px;
    display: flex;
    justify-content: center;
}

.chapter-nav .nav-inner {
    display: flex;
    width: 100%;
    background: rgba(0, 0, 0, .04);
    border-radius: 999px;
    overflow: hidden;
}

.chapter-nav a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 0;
    color: var(--text-color);
    font-size: 18px;
    background: none;
}

.chapter-nav a + a {
    border-left: 1px solid rgba(0, 0, 0, .1);
}

.chapter-nav a:hover:not(.disabled) {
    background: rgba(0, 0, 0, .04);
}

.chapter-nav a.disabled {
    color: rgba(0, 0, 0, .28);
    cursor: not-allowed;
}

body.theme-dark .chapter-nav .nav-inner { background: rgba(255, 255, 255, .07); }
body.theme-dark .chapter-nav a { color: #ccc; }
body.theme-dark .chapter-nav a + a { border-left-color: rgba(255, 255, 255, .1); }
body.theme-dark .chapter-nav a:hover:not(.disabled) { background: rgba(255, 255, 255, .08); color: var(--on-dark-weak); }
body.theme-dark .chapter-nav a.disabled { color: rgba(255, 255, 255, .25); }

.read-cover-section {
    margin-bottom: 20px;
}

.read-cover-page {
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    min-height: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.read-cover-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.read-cover-img {
    width: 150px;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    margin-bottom: 32px;
    object-fit: cover;
}

.read-cover-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
    color: rgba(0, 0, 0, .85);
    text-align: center;
}

.read-cover-author {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
    text-align: center;
}

.read-cover-row {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 32px;
    width: 100%;
}

.read-cover-row-title {
    font-size: 18px;
    color: #383838;
    text-align: center;
}

.read-cover-row-sub {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
}

.read-cover-copyright {
    width: 100%;
    text-align: center;
    margin-top: 24px;
    letter-spacing: 1px;
    padding-top: 18px;
}

.copyright-produce {
    font-size: 14px;
    color: #383838;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.copyright-notice {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0;
    letter-spacing: 1px;
}

body.theme-dark .read-cover-title,
body.theme-dark .read-cover-row-title,
body.theme-dark .copyright-produce {
    color: #909090;
}

body.theme-dark .read-cover-author,
body.theme-dark .read-cover-row-sub,
body.theme-dark .copyright-notice {
    color: #747474;
}

.read-mobile-toolbar {
    display: none;
}

body.mobile-desktop .read-right-tools .read-reader-btn .read-catalogue-pop {
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
}

@media screen and (max-width: 1280px) {
    .read-catalogue-pop {
        width: 500px;
    }
}

@media screen and (max-width: 768px),
       screen and (max-height: 500px) and (max-width: 1024px) {
    body {
        --read-mobile-bar: calc(60px + constant(safe-area-inset-bottom));
        --read-mobile-bar: calc(60px + env(safe-area-inset-bottom, 0px));
    }

    .read-float-bar-inner {
        gap: 8px;
        padding: 0 10px;
    }

    .read-float-brand {
        max-width: 88px;
        font-size: 14px;
    }

    .read-float-bar .search {
        max-width: none;
        margin: 0;
    }

    .read-float-bar .search .input {
        height: 32px;
    }

    .read-float-bar .search .input input {
        padding: 0 8px;
        font-size: 13px;
    }

    .read-float-login {
        min-width: 48px;
        padding: 4px 10px;
        font-size: 13px;
    }

    .read-float-avatar {
        width: 28px;
        height: 28px;
    }

    .reader-container {
        grid-template-areas: "main";
        grid-template-columns: 1fr;
    }

    .read-left-tools,
    .read-right-tools {
        display: none;
    }

    .read-reader-btn.js-back-top {
        display: none !important;
    }

    .wrapper {
        padding-bottom: calc(80px + constant(safe-area-inset-bottom));
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .read-mobile-toolbar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2px;
        min-height: 60px;
        padding: 8px 6px;
        padding-bottom: calc(8px + constant(safe-area-inset-bottom));
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-light);
        box-shadow: 0 -2px 8px rgba(0, 0, 0, .1);
        z-index: 9999;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }

    body > .read-pop.js-pop-listen {
        bottom: var(--read-mobile-bar);
    }

    .read-mobile-toolbar .read-tool-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        min-width: 0;
        height: 44px;
        padding: 4px 4px;
        background: none;
        border: none;
        color: var(--text-secondary);
        text-align: center;
        text-decoration: none;
        border-radius: var(--radius-small);
        cursor: pointer;
    }

    .read-mobile-toolbar .read-tool-btn:hover {
        background: rgba(0, 0, 0, .05);
        color: var(--text-color);
    }

    .read-mobile-toolbar .read-tool-btn .icon {
        font-size: 18px;
        line-height: 1;
        margin-bottom: 2px;
    }

    .read-mobile-toolbar .read-tool-btn .text {
        font-size: 10px;
        line-height: 1;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .read-mobile-toolbar .read-tool-btn.shelf-btn.on {
        color: var(--text-color);
    }
    .read-mobile-toolbar .read-tool-btn.shelf-btn.on .icon {
        color: var(--text-color) !important;
    }

    body.theme-dark .read-mobile-toolbar {
        background: rgba(52, 52, 52, .95);
        border-top-color: #444;
    }

    body.theme-dark .read-mobile-toolbar .read-tool-btn {
        color: #e0e0e0;
    }

    body.theme-dark .read-mobile-toolbar .read-tool-btn:hover {
        background: rgba(255, 255, 255, .1);
        color: #fff;
    }

    body.theme-dark .read-mobile-toolbar .read-tool-btn.shelf-btn.on {
        color: #ccc;
    }
    body.theme-dark .read-mobile-toolbar .read-tool-btn.shelf-btn.on .icon {
        color: #ccc !important;
    }

    .read-mobile-catalogue {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 10000;
        padding: calc(20px + constant(safe-area-inset-top)) 20px 20px;
        padding: calc(20px + env(safe-area-inset-top, 0px)) 20px 20px;
    }

    body.theme-dark .read-mobile-catalogue { background: #2c2c2c; }
    body.theme-blue .read-mobile-catalogue { background: #e8f4fd; }
    body.theme-yellow .read-mobile-catalogue { background: #fefcec; }
    body.theme-green .read-mobile-catalogue { background: #f0f9f0; }
    body.theme-red .read-mobile-catalogue { background: #fef7f7; }

    .read-mobile-catalogue .pop-head,
    .read-mobile-setting .pop-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-shrink: 0;
    }

    .read-mobile-catalogue .pop-head {
        margin-bottom: 20px;
    }

    .read-mobile-catalogue .pop-head h2,
    .read-mobile-setting .pop-head h2 {
        font-size: 18px;
        font-weight: 600;
        flex-grow: 1;
    }

    .read-mobile-catalogue .catalogue-close,
    .read-mobile-setting .catalogue-close {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
    }

    .read-mobile-catalogue .catalogue-close .site-icon,
    .read-mobile-setting .catalogue-close .site-icon {
        font-size: 20px;
        padding: 5px;
        background: rgba(0, 0, 0, .1);
        border-radius: 50%;
    }

    .read-mobile-catalogue .pop-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
    }

    .read-mobile-catalogue .pop-body .read-mcat-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 15px;
        flex-shrink: 0;
    }

    .read-mobile-catalogue .pop-body .read-mcat-head h2 {
        font-size: 14px;
        color: var(--text-muted);
    }

    .read-mobile-catalogue .pop-body .read-catalogue-toolbar {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }

    .read-mobile-catalogue .pop-body .read-mcat-head .cat-toolbar-btn {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        color: var(--text-secondary);
        font-size: 14px;
    }

    .read-mobile-catalogue .pop-body .read-mcat-head .cat-toolbar-btn:hover,
    .read-mobile-catalogue .pop-body .read-mcat-head .cat-toolbar-btn:active {
        color: #909090;
    }

    .read-mobile-catalogue .pop-body .read-mcat-head .sort-btn {
        flex-shrink: 0;
    }

    .read-mobile-catalogue .pop-body .read-mcat-head .sort-btn button {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        color: var(--text-secondary);
        font-size: 14px;
    }

    .read-mobile-catalogue .catalogue-list {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .read-mobile-catalogue .volume-group ul {
        display: block;
    }

    .read-mobile-catalogue .volume-group ul li {
        width: 100%;
        margin-bottom: 8px;
    }

    .read-mobile-catalogue .volume-group ul li a {
        display: block;
        padding: 12px 15px;
        background: rgba(0, 0, 0, .03);
        border-radius: 6px;
        line-height: 1.4;
        white-space: normal;
        font-size: 14px;
    }

    .read-mobile-catalogue .volume-group ul li a:hover,
    .read-mobile-catalogue .volume-group ul li a:active {
        background: rgba(0, 0, 0, .08);
    }

    .read-mobile-catalogue .volume-group ul li a.current-chapter {
        color: var(--color-emphasis);
    }

    .read-mobile-catalogue .volume-head {
        font-size: 14px;
        padding: 10px 40px 10px 15px;
        margin-bottom: 8px;
        background: rgba(0, 0, 0, .05);
        border-radius: 6px;
    }

    body.theme-dark .read-mobile-catalogue .volume-group ul li a { background: rgba(255, 255, 255, .08); color: #e0e0e0; }
    body.theme-dark .read-mobile-catalogue .volume-group ul li a:hover,
    body.theme-dark .read-mobile-catalogue .volume-group ul li a:active { background: rgba(255, 255, 255, .15); }
    body.theme-dark .read-mobile-catalogue .volume-head { background: rgba(255, 255, 255, .1); }
    body.theme-dark .read-mobile-catalogue .volume-title { color: #e0e0e0; }
    body.theme-dark .read-mobile-catalogue .volume-head .vol-buy-btn { color: #e0e0e0; }
    body.theme-dark .read-mobile-catalogue .volume-head .vol-buy-btn:hover,
    body.theme-dark .read-mobile-catalogue .volume-head .vol-buy-btn:active { color: var(--color-emphasis); }
    body.theme-dark .read-mobile-catalogue .pop-head h2,
    body.theme-dark .read-mobile-setting .pop-head h2 { color: #e0e0e0; }
    body.theme-dark .read-mobile-catalogue .pop-body .read-mcat-head h2 { color: #e0e0e0; }
    body.theme-dark .read-mobile-catalogue .pop-body .read-mcat-head .sort-btn button,
    body.theme-dark .read-mobile-catalogue .pop-body .read-mcat-head .cat-toolbar-btn { color: #e0e0e0; }

    .read-mobile-setting {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        bottom: var(--read-mobile-bar);
        width: 100%;
        max-height: calc(100vh - var(--read-mobile-bar) - 20px);
        background: white;
        z-index: 9998;
        padding: 20px;
        padding-bottom: 20px;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, .12);
    }
    body.theme-dark .read-mobile-setting { background: #2c2c2c; }
    .read-mobile-setting .pop-head {
        margin-bottom: 24px;
    }
    .read-mobile-setting .pop-body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
    .read-mobile-setting .mset-item {
        margin-bottom: 24px;
    }
    .read-mobile-setting .mset-item label,
    .read-mobile-setting .mset-item .setting-label {
        display: block;
        font-size: 14px;
        color: var(--text-secondary);
        margin-bottom: 10px;
    }
    .read-mobile-setting .mset-item .font-size {
        display: flex;
        align-items: stretch;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        overflow: hidden;
        min-height: 44px;
    }
    .read-mobile-setting .mset-item .font-size li {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 44px;
    }
    .read-mobile-setting .mset-item .font-size li.larger-size,
    .read-mobile-setting .mset-item .font-size li.smaller-size {
        max-width: 60px;
        background: rgba(0, 0, 0, .04);
    }
    .read-mobile-setting .mset-item .font-size li.larger-size button,
    .read-mobile-setting .mset-item .font-size li.smaller-size button {
        min-height: 44px;
        align-self: stretch;
    }
    .read-mobile-setting .mset-item .font-size li.cur-size {
        font-size: 16px;
        font-weight: 600;
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
    }
    .read-mobile-setting .mset-item .font-size li button {
        display: block;
        width: 100%;
        height: 100%;
        font-size: 18px;
        color: var(--text-color);
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
    }
    .read-mobile-setting .mset-item .font-size li.disabled button {
        color: var(--text-muted);
    }
    .read-mobile-setting .mset-theme {
        display: flex;
        gap: 12px;
    }
    .read-mobile-setting .mset-theme li {
        flex: 1;
        text-align: center;
        line-height: 44px;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        cursor: pointer;
        font-size: 15px;
    }
    .read-mobile-setting .mset-theme li span {
        display: block;
    }
    .read-mobile-setting .mset-theme li.cur {
        border-color: #333;
        color: #333;
        font-weight: 600;
    }
    .read-mobile-setting .mset-item .auto-sub {
        display: flex;
        background: var(--line-faint);
        border-radius: 22px;
        overflow: hidden;
        width: 100%;
        max-width: 240px;
        height: 44px;
        position: relative;
    }
    .read-mobile-setting .mset-item .auto-sub button {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: none;
        line-height: 1;
        height: 100%;
        color: var(--text-secondary);
        background: transparent;
        font-size: 14px;
        font-weight: 400;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }
    .read-mobile-setting .mset-item .auto-sub button.is-active {
        color: var(--ink);
        font-weight: 600;
    }
    .read-mobile-setting .mset-item .auto-sub::before {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: calc(50% - 2px);
        height: calc(100% - 4px);
        background: var(--primary-color);
        border-radius: 18px;
        z-index: 1;
        transform: translateX(0);
    }
    .read-mobile-setting .mset-item .auto-sub.slide-right::before {
        transform: translateX(100%);
    }
    body.theme-dark .read-mobile-catalogue .catalogue-close .site-icon,
    body.theme-dark .read-mobile-setting .catalogue-close .site-icon { background: rgba(255, 255, 255, .1); color: #e0e0e0; }
    body.theme-dark .read-mobile-setting .mset-item label,
    body.theme-dark .read-mobile-setting .mset-item .setting-label { color: #e0e0e0; }
    body.theme-dark .read-mobile-setting .mset-item .font-size { border-color: #555; }
    body.theme-dark .read-mobile-setting .mset-item .font-size li.cur-size { border-color: #555; color: #e0e0e0; }
    body.theme-dark .read-mobile-setting .mset-item .font-size li button { color: #e0e0e0; }
    body.theme-dark .read-mobile-setting .mset-item .font-size li.disabled button { color: var(--text-secondary); }
    body.theme-dark .read-mobile-setting .mset-theme li { border-color: #555; color: #e0e0e0; }
    body.theme-dark .read-mobile-setting .mset-theme li.cur { border-color: #ccc; color: #fff; }
    body.theme-dark .read-mobile-setting .mset-item .auto-sub { background: #353535; }
    body.theme-dark .read-mobile-setting .mset-item .auto-sub button { color: var(--text-muted); }
    body.theme-dark .read-mobile-setting .mset-item .auto-sub button.is-active { color: #ccc; font-weight: 600; }
    body.theme-dark .read-mobile-setting .mset-item .auto-sub::before { background: #555; }

    .read-cont {
        padding: 0 var(--spacing-lg) 46px;
    }

    .chapter-nav {
        display: none !important;
    }

    .read-cover-row {
        gap: var(--spacing-xl);
    }

    .read-chapter-info .read-info-list {
        gap: var(--spacing-lg);
    }

    input, textarea, select {
        font-size: 16px !important;
    }

    @media screen and (max-width: 480px) {
        .read-cont {
            padding: 0 var(--spacing-md) 46px;
        }

        .read-chapter-info {
            padding: var(--spacing-2xl) 0 var(--spacing-sm);
        }

        .read-cover-main {
            padding: var(--spacing-lg);
        }

        .read-cover-title {
            font-size: 24px;
        }

        .read-cover-row {
            flex-direction: column;
            gap: var(--spacing-md);
        }
    }
}

:is(html,body)[reader-width="640"] .read-reader-btn.js-back-top {
    transform: translate(calc(50% + 320px + var(--spacing-2xl) - 5px), 0) !important;
}
:is(html,body)[reader-width="800"] .read-reader-btn.js-back-top {
    transform: translate(calc(50% + 400px + var(--spacing-2xl) - 5px), 0) !important;
}
:is(html,body)[reader-width="1280"] .read-reader-btn.js-back-top {
    transform: translate(calc(50% + 640px + var(--spacing-2xl) - 5px), 0) !important;
}

body.mobile-only .read-reader-btn.js-back-top {
    display: none !important;
}

.pay-all-btn {
    cursor: pointer;
    width: 70%;
    height: 36px;
    line-height: 36px;
    background: var(--primary-color);
    color: var(--ink);
    text-align: center;
    margin: 10px auto 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-small);
    border: none;
}

.pay-all-btn:hover {
    background: var(--primary-dark);
}

body.theme-dark .pay-all-btn {
    background: #555;
    color: #ccc;
}

body.theme-dark .pay-all-btn:hover {
    background: var(--text-secondary);
}

.reader-container .layout-slot {
    width: 100%;
    max-width: var(--reader-width);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    text-align: center;
    padding: 10px var(--spacing-md);
}
.reader-container .layout-slot--header {
    border-bottom: 1px solid var(--border-color);
    padding-top: var(--spacing-sm);
}
.reader-container .layout-slot--content-top {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--spacing-sm);
}
.reader-container .layout-slot--footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
}
body.theme-dark .reader-container .layout-slot {
    border-color: rgba(255, 255, 255, .12);
}
body.theme-dark .reader-container .layout-slot--content-top {
    border-bottom-color: rgba(255, 255, 255, .1);
}
