.read {
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    background-color: #dfdfdf;
}

.settings-bar {
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 20px;
}

.settings-bar-mode {
    font-size: 14px;
    margin-bottom: 10px;
}

.toc {
    height: 100%;
    display: flex;
    justify-content: center;
    width: 355px;
    position: fixed;
    top: 65px;
    left: -355px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 0 0 20px 20px;
    transition: left 0.2s linear; /* 使用过渡效果 */
}

.toc-tag {
    width: 20px;
    writing-mode: vertical-rl; /* 设置文字竖向排列 */
    text-orientation: upright; /* 保持文字竖直方向 */
    white-space: nowrap; /* 防止文字换行 */
    text-align: center;
    letter-spacing: 2px;
    font-size: 12px;
    line-height: 20px;
    cursor: pointer;
    padding-bottom: 65px;
}

.toc-title {
    text-align: center;
    padding-top: 20px;
}

.toc-content {
    overflow-y: auto;
}

.toc-content-item {
    margin: 5px 0;
    text-align: left;
}

.toc-content-item a {
    color: #ffffff;
    margin: 0 5px;
}

.chapterName {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding-top: 40px;
    margin: 0;
    letter-spacing: 5px;
    background-color: #ffffff;
}

.page-content {
    padding: 20px;
    background-color: #ffffff;
    line-height: 28px;
    letter-spacing: 1px;
    text-align: justify;
}

.page-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px 0;
    background-color: #dfdfdf;
}

.page-footer a {
    display: block;
    color: #000;
    text-align: center;
}

main {
    background-color: #dfdfdf;
    padding-top: 0;
}

footer div {
    background-color: #dfdfdf;
}

@media (max-width: 768px) {
    .page-footer {
        display: block;
    }
}