body {
            margin: 0;
            padding: 0;
            background-color: black;
            color: white;
            font-family: Arial, sans-serif;
            overflow: hidden;
        }
        
        #toolbar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: white;
            color: black;
            padding: 10px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            transition: transform 0.3s ease;
            z-index: 1000;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            font-size: 14px;
            box-sizing: border-box;
            justify-content: center;
        }
        
        .toolbar-group {
            margin: 5px 10px;
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
        }
        
        .toolbar-group label {
            margin-right: 5px;
            font-size: 14px;
            white-space: nowrap;
        }
        
        .toolbar-group input {
            margin-right: 10px;
        }
        
        #playBtn {
            padding: 8px 20px;
            font-size: 14px;
            min-width: 80px;
            background-color: #2727ec;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
        }
        
        #playBtn:hover {
            background-color: #0d04c1;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(84, 90, 255, 0.4);
        }

        #resetBtn {
            padding: 8px 20px;
            font-size: 14px;
            min-width: 80px;
            background-color: #373737;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
        }
        
        #resetBtn:hover {
            background-color: #1e1e1e;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
        }
        
        #content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            box-sizing: border-box;
            font-size: 72px;
            line-height: 1.5;
            text-align: justify;
            /* 使用CSS动画替代JavaScript动画 */
            transform: translate3d(0, 0, 0);
            will-change: transform;
        }
        
        .hidden {
            transform: translateY(100%);
        }
        
        #highlight-overlay {
            position: fixed;
            left: 0;
            width: 100%;
            height: 1.5em;
            
            pointer-events: none;
            z-index: 100;
        }
        
        #duration-display {
            white-space: nowrap;
            position: fixed;
            top: 10px;
            right: 10px;
            background: #000;
            color: #fff;
            border-radius: 25px;
            padding: 7px 12px;
            font-size: 14px;
            z-index: 1000;
            display: none; /* 默认隐藏 */
        }
        
        /* 添加颜色选择器样式 */
        .color-picker {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .color-option {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.2s;
        }
        
        .color-option.selected {
            border-color: white;
            box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
        }
        
        /* 文件上传区域样式 */
        #upload-area {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            padding: 40px;
            border: 2px dashed #666;
            border-radius: 10px;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            width: 80%;
            max-width: 650px;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }
        
        #upload-area:hover {
            border-color: #2727ec;
            box-shadow: 0 0 40px rgb(81 96 255 / 30%);
        }
        
        #upload-title {
            font-size: 28px;
            margin-bottom: 15px;
            color: #fff;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }
        
        #upload-description {
            font-size: 16px;
            margin-bottom: 25px;
            color: #ccc;
            line-height: 1.6;
        }
        
        #file-input {
            margin: 20px 0;
            padding: 10px;
            border: 1px solid #555;
            border-radius: 5px;
            background-color: rgba(50, 50, 50, 0.8);
            color: white;
            width: 80%;
        }
        
        #file-input::-webkit-file-upload-button {
            background-color: #2727ec;
            color: white;
            padding: 8px 16px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-right: 10px;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        #file-input::-webkit-file-upload-button:hover {
            background-color: #0d04c1;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(84, 90, 255, 0.4);
        }
        
        #upload-btn {
            padding: 12px 25px;
            font-size: 16px;
            background-color: #2727ec;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
            letter-spacing: 1px;
        }
        
        #upload-btn:hover {
            background-color: #0d04c1;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(84, 90, 255, 0.4);
        }
        
        /* 响应式设计 */
        @media screen and (max-width: 768px) {
            #toolbar {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: space-around;
                padding: 8px;
                font-size: 12px;
            }
            
            .toolbar-group {
                margin: 3px 5px;
            }
            
            .toolbar-group label {
                font-size: 12px;
            }
            
            #playBtn {
                padding: 6px 15px;
                font-size: 12px;
                min-width: 70px;
            }
            #resetBtn {
                padding: 6px 15px;
                font-size: 12px;
                min-width: 70px;
            }
            
            #fontSize, #speed {
                width: 80px;
            }
        }
        
        @media screen and (max-width: 480px) {
            #toolbar {
                flex-direction: row;
                flex-wrap: wrap;
                padding: 6px;
                font-size: 11px;
            }
            
            .toolbar-group {
                margin: 2px 3px;
            }
            
            .toolbar-group label {
                font-size: 11px;
            }
            
            #playBtn {
                padding: 5px 10px;
                font-size: 11px;
                min-width: 60px;
            }
            #resetBtn {
                padding: 5px 10px;
                font-size: 11px;
                min-width: 60px;
            }
            
            #fontSize, #speed {
                width: 60px;
            }
            
            #fontSizeValue, #speedValue {
                font-size: 11px;
            }
        }
        
       .zhezhao{width: 100%;height: 100%;position: fixed;z-index: 100;overflow: visible;}
       .zhezhao-top{width: 100%;  background-color: rgb(0 0 0 / 70%); position: fixed;top: 0;left: 0;}
       .zhezhao-bottom{width: 100%;  background-color: rgb(0 0 0 / 70%); position: fixed;bottom: 0;left: 0;}
       .hidden{display: none;}
       #ticiq-bg{background: url(bg.jpeg);background-size: cover;background-repeat: no-repeat;opacity: 0.15;position: absolute;left: 0;top: 0;width: 100%;height: 100%;z-index: -1;}
        