    :root {
    }
        body{
            margin: 0;
            display: fixed;
        }
        .allcontainer{
            height:100%;
            width:100%;
            overflow: hidden;
            position: fixed;
        }
        .broderbottom{
            border-bottom: 1px solid #dbdee3;
            background: #fff;
        }
        .brodertop{
            border-top: 1px solid #dbdee3;
            background: #fff;
            z-index: 2;
        }
        ti-icon {
            --ti-icon-size: 24px;
            --ti-icon-color: currentColor;
            width: var(--ti-icon-size);
            height: var(--ti-icon-size);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--ti-icon-color);
            line-height: 1;
            vertical-align: middle;
            flex: 0 0 auto;
        }
        ti-icon .ti-icon-svg,
        ti-icon svg {
            width: 100%;
            height: 100%;
            display: block;
            fill: currentColor;
            stroke: currentColor;
        }
        .ti-icon--btn {
            pointer-events: none;
        }
        .ti-icon--sm,
        .ti-icon--btn-sm {
            --ti-icon-size: 20px;
        }
        .ti-icon--md,
        .ti-icon--btn-md {
            --ti-icon-size: 28px;
        }
        .ti-icon--lg,
        .ti-icon--btn-lg {
            --ti-icon-size: 32px;
        }
        mdui-button-icon > ti-icon,
        mdui-segmented-button ti-icon,
        .comicinfo1 ti-icon,
        #emojibutton ti-icon,
        [data-chapter-mention] ti-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #808991;
        }
        mdui-button-icon > ti-icon:not(.ti-icon--btn),
        mdui-segmented-button ti-icon:not(.ti-icon--btn),
        .comicinfo1 ti-icon:not(.ti-icon--btn) {
            width: 24px;
            height: 24px;
        }
        #opencatagory ti-icon:not(.ti-icon--btn) {
            width: 30px;
            height: 30px;
        }
        #favbutton ti-icon:not(.ti-icon--btn),
        #commentbutton ti-icon:not(.ti-icon--btn) {
            width: 22px;
            height: 22px;
        }
        #emojibutton ti-icon:not(.ti-icon--btn),
        [data-chapter-mention] ti-icon:not(.ti-icon--btn) {
            width: 24px;
            height: 24px;
        }
        .example-drawer1{
            --shape-corner:0px;

        }
        .example-drawer1 .panel {
            max-width: 100px;
        }
        .adhere-container {
            position: absolute;
            bottom: 100%; /* 这里设置为负值也可以根据你的需要调整 */
            left: 0;
            margin-left: 0;
            /* 其他样式 */
            width: 100%;
            min-height: 36px;
            z-index: 1;
            background-color: #f2f4f5;

        }
        .spanofmenu{
            height: 36px;
            display: flex;
            align-items: center;
            padding: 0 20px;
        }
        .collapse528{
            background-color: #fff;
        }
        .commentarea528{
            PADDING: 0 10PX;
            min-height: 300px;
            max-height: 50vh;
            width: AUTO;
            overflow: scroll;
        }
        .commentlevel1{
            display: flex;
        }
        .commentlevel1-left{
            padding: 10px;
        }
        .commentlevel1-right{
            padding: 12px 10px  0px 0;
            width: 100%;
            display: grid;
            grid-row-gap: 5px;
            justify-items: start;
        }
        .commentlevel2{
            width: 100%;
            height: 0;
            overflow: hidden;
            transition: height 0.5s ease;
            display: grid;
            justify-items: start;
        }
        .commentlevel2-left{
            padding: 0 10px 0 0;
        }
        .chapter-comment-avatar-link{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: inherit;
            text-decoration: none;
            cursor: pointer;
        }
        .commentlevel2-right{
            width: 100%;
            padding: 0px 0px  0px 0px;
            display: grid;
            grid-row-gap: 5px;
            justify-items: start;
        }
        .comment-username{
            font-size: 13px;
            color: #808991;
        }
        .comment-functioninfo{
            font-size: 13px;
            color: #808991;
            display: flex;
            align-items: center;
        }
        .comment-content{
            font-size: 15px;
            font-weight: 400;
            color: #2A2E2E;
            line-height: 1.5;
        }
        .comment-content img{
            margin: 0 1px;
            vertical-align: bottom;
            width: 20px;
        }
        .comment-content::after {
            content: '';
            display: block;
            clear: both;
        }
        .level1-function-area{
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .sendbutton1{
            color:#fff;
            font-size: 14px;
            font-weight: 500;
            border-radius:50px;
            border: none; /* 去掉边框 */
            background-color: #2196F3;
            margin: 10px 10px 10px 20px;
        }
        .sendinput1{
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 5px 10px;
        }
        .sendinput1-1{
            background:#fff;

        }
        .custom-input {
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 10px;
            background-color: #f0f0f0; /* 输入框背景颜色 */
            color: #333;
            position: relative;
        }
        .custom-input::placeholder {
            color: #999; /* 背景文本颜色 */
            
        }
        .custom-input::selection {
            background: #ffb7b7; /* 选中文本背景颜色 */
            color: #000; /* 选中文本颜色 */
        }
        .custom-input-cursor {
            padding: 10px;
            color: #808991;
            border: none;
            outline: none;
            caret-color: #ff5733; /* 光标颜色 */
            caret-width: 2px; /* 光标粗细 */
            background-color: #f0f0f0; /* 透明背景 */
        }
        .input-container529{
            width: 100%;
            margin: 10px;
        }
        .formorecomment{
            display: flex;
            align-items: center;
        }
        .loadingresponse{
            border: none;
            font-size: 12px;
            color: #808991;
            background-color: #fff;
        }
        .chapter-comment-global-loading {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(15, 23, 42, 0.22);
            pointer-events: auto;
        }
        .chapter-comment-global-loading.is-active {
            display: flex;
        }
        .chapter-comment-global-loading__box {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-height: 44px;
            padding: 0 18px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.96);
            color: #334155;
            font-size: 14px;
            font-weight: 600;
            box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
        }
        .chapter-comment-global-loading__spinner {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid rgba(33, 150, 243, 0.2);
            border-top-color: #2196F3;
            animation: chapter-comment-loading-spin 0.75s linear infinite;
        }
        .chapter-comment-page-button.is-loading {
            cursor: wait !important;
        }
        .chapter-switch-global-loading {
            position: fixed;
            inset: 0;
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(15, 23, 42, 0.24);
            pointer-events: auto;
        }
        .chapter-switch-global-loading.is-active {
            display: flex;
        }
        .chapter-switch-global-loading__box {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-height: 46px;
            padding: 0 20px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.96);
            color: #334155;
            font-size: 14px;
            font-weight: 700;
            box-shadow: 0 14px 34px rgba(15, 23, 42, 0.2);
        }
        .chapter-switch-global-loading__spinner {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid rgba(33, 150, 243, 0.2);
            border-top-color: #2196F3;
            animation: chapter-comment-loading-spin 0.75s linear infinite;
        }
        @keyframes chapter-comment-loading-spin {
            to {
                transform: rotate(360deg);
            }
        }
        .comment-empty-icon{
            display:inline-flex;
            align-items:center;
            justify-content:center;
        }
        .chapter-auto-next-divider {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            width: 100%;
            padding: 28px 16px;
            background: #f6f8fb;
            color: #334155;
            box-sizing: border-box;
        }
        .chapter-auto-next-divider__label {
            color: #808991;
            font-size: 12px;
            font-weight: 500;
        }
        .chapter-auto-next-divider strong {
            max-width: 90%;
            color: #1f2937;
            font-size: 15px;
            font-weight: 700;
            text-align: center;
            overflow-wrap: anywhere;
        }
        .chapter-auto-next-status {
            min-height: 74px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: #fff;
            color: #808991;
            font-size: 13px;
            font-weight: 600;
            border-top: 10px solid #f2f4f5;
        }
        .chapter-auto-next-status__spinner {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid rgba(33, 150, 243, 0.18);
            border-top-color: #2196F3;
            animation: chapter-auto-next-spin 0.75s linear infinite;
        }
        @keyframes chapter-auto-next-spin {
            to {
                transform: rotate(360deg);
            }
        }
        .replybutton ti-icon,
        .comment-action-icon ti-icon,
        .comment-chip-arrow ti-icon{
            display:inline-flex;
            align-items:center;
            justify-content:center;
            color:inherit;
        }
        .replybutton ti-icon,
        .comment-action-icon__glyph ti-icon{
            margin-right:4px;
        }
        .comment-action-icon__glyph{
            display:inline-flex;
            align-items:center;
            justify-content:center;
        }
        .comment-chip-arrow{
            display:inline-flex;
            align-items:center;
            justify-content:center;
        }
          .triangle-right {
              margin: 0 10px;
            width: 0;
            height: 0;
            border-top: 5px solid transparent;
            border-bottom: 5px solid transparent;
            border-left: 8px solid #787878; /* 修改颜色和大小以适应需要 */
          }
        .commentheadtitle{
            width: auto;
            height: 30px;
            display: flex;
            justify-content: space-between;
        }
        .commentheadsection {
            flex: 1;
            text-align: center;
            font-size: 12px;
            align-items: center;
             display: flex;
             justify-content: center;
        }
        /* 左侧面板 */
        .chapterlistinfo{
            --shape-corner:0px;
        }
        .chapterlistinfo-comic{
            height: 120px;
            width: 100%;
            background-color: #F6F6F6;
        }
        .chapterlist{
            width: 100%;
            height: calc(100% - 120px);
            background-color: #FFF;
        }
        .comicinfo{
            height: 100%;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .comicinfo1{
            width: 20%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .fullcicon{
            transition: transform 0.2s ease;
        }
        .comicname-info{
            font-size:14px;
            font-weight:700;
            width: 80%;
            white-space: nowrap; /* 禁止文本换行 */
            overflow: hidden; /* 隐藏超出容器的内容 */
            text-overflow: ellipsis;
        }
        .chapterchoose{
            height: 15px;
            display: flex;
            align-items: center;
            padding: 20px;
        }
        .chapterchoosen{
            color: #2196F3;
        }
        .chapterchoose:hover{
            background-color: rgba(33,150,243,0.1);
        }
        .chapterlinkto{
            
        }
        .comiczt{
            background-color: #F6F6F6;
            height: 30px;
            display: flex;
            justify-content:  space-between;
            color: #5f5f5f;
            font-size: 12px;
            padding: 0 20px;
        }
        .replybutton{
            display:flex;
            align-items: center;
            color:#697182;
            font-size:13px;
            margin-left: 10px;
        }
                .styled-input {
            font-size: 16px;
            --mdui-color-on-surface:#fff;
            --mdui-color-outline:#fff;
            border-radius: 15px;
            background-color: #f0f0f0;
        }
        .chosen{
           --mdui-color-primary:33,150,243;
        }
        /* 评论区 */
        .drawer-container {
    position: relative;
    width: 300px;
    text-align: start;
}

.drawer-toggle {
    padding: 10px 20px;
    font-size: 16px;
}
.emojicontainer::-webkit-scrollbar{
    width:8px;
}
        .emojicontainer::-webkit-scrollbar-track {
            background: #f0f0f0; /* Background of the scrollbar track */
        }
        
        .emojicontainer::-webkit-scrollbar-thumb {
            background: #999; /* Color of the scrollbar thumb */
            border-radius: 6px; /* Rounded corners of the scrollbar thumb */
        }
        
        .emojicontainer::-webkit-scrollbar-thumb:hover {
            background: #555; /* Color of the scrollbar thumb on hover */
        }
.drawer {
    padding: 20px;
    position: fixed;
    bottom: -100%;
    left: 0;
    width: calc(100% - 40px) ;
    min-height: auto;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: bottom 0.3s ease-in-out;
    z-index: 1001;
}

.drawer.open {
    bottom: 0;
}

.drawer-content {
    text-align: center;
}

.drawer-close {
    margin-top: 20px;
    padding: 5px 10px;
    font-size: 14px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
    pointer-events: none;
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.drawer ti-icon {
    color: #808991;
}
#emoji-list{
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
            gap: 10px;
            align-items: start;
}
    #emoji-list img {
      cursor: pointer;
      width: 32px;
      height: auto;
    }
    #emoji-tabs button {
        margin-bottom:10px;
      cursor: pointer;
      margin-right: 5px;
      padding: 5px 10px;
      border: none;
      background-color: #fff;
      border-radius: 5px;
    }
    #emoji-tabs button.active {
      background-color: #f0f0f0;
    }
    #comment-input {
      width: 100%;
      height: 100px;
      display: none;
    }
    #comment-display {
      width: 100%;
      height: 100px;
      border: 1px solid #ccc;
      padding: 5px;
      overflow-y: auto;
      white-space: pre-wrap;
    }
    .comment {
      border-bottom: 1px solid #ddd;
      padding: 10px 0;
    }
    .comment img {
      width: 24px;
      height: 24px;
    }
    .nopad{
        font-size: 0;
    }
    .nopad img {
    display: block;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    :root {
        --chapter-reader-max-width: 750px;
    }

    .example-fab-detach {
        background: #f2f4f5;
    }

    .allcontainer {
        max-width: var(--chapter-reader-max-width);
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .chapterlistinfo {
        width: min(320px, 100%);
    }

    .example-fab-detach > div,
    #scroll1,
    #maincomiccontainer {
        width: 100%;
        max-width: var(--chapter-reader-max-width);
        box-sizing: border-box;
    }

    .example-fab-detach > div {
        background-color: #fff;
    }

    #maincomiccontainer,
    #maincomiccontainer > div,
    .nopad img {
        margin-left: auto;
        margin-right: auto;
    }

    .broderbottom,
    .brodertop {
        width: 100%;
        max-width: var(--chapter-reader-max-width);
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}
