

.container {
        max-width: 800px;
        margin: 0 auto;
        padding: 20px;
        font-family: "Microsoft YaHei", sans-serif;
    }
    h1 { text-align: center; }
    
    textarea {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        box-sizing: border-box;
        margin-bottom: 20px;
        resize: vertical;
        border: 1px solid #E3E2E2;
        border-radius: 4px;
        background-color: #292A2D;
        color: white;
    }

    .word-display {
        font-size: 5em;
        font-weight: bold;
        text-align: center;
        margin: 20px 0;
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid #E3E2E2;
        border-radius: 8px;
        background-color: #292A2D;
        padding: 20px; 
        color: #C4C7C5;
        overflow: hidden;
        position: relative;
    }
    .orp-container {
        display: flex;
        align-items: baseline;
        white-space: nowrap;
        width: 100%;
        justify-content: center;
    }

    .orp-left {
        flex: 1;
        text-align: right;
        min-width: 0; 
    }

    .orp-center {
        text-align: center;
        flex: 0 0 auto;
    }

    .orp-right {
        flex: 1;
        text-align: left;
        min-width: 0; 
    }

    .controls {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    button {
        padding: 10px 30px;
        font-size: 1.1em;
        cursor: pointer;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 4px;
        transition: background-color 0.2s;
    }
    button:hover { background-color: #0056b3; }
    button#stop-button { background-color: #dc3545; }
    button#stop-button:hover { background-color: #a71d2a; }
    
    .settings {
        display: flex; 
        justify-content: center;
        align-items: center; 
        gap: 20px; 
        margin-bottom: 15px;
        font-size: 1.1em;
        flex-wrap: wrap;
        user-select: none;
    }

    .separator {
        color: #555;
        font-weight: 300;
        user-select: none;
    }

    /* 颜色选择器容器 */
    .color-picker-container {
        display: flex;
        align-items: center;
        gap: 10px;
        user-select: none;
    }

    /* 单个颜色按钮 */
    .color-btn {
        width: 20px;
        height: 20px;
        border-radius: 5px;
        cursor: pointer;
        border: 2px solid #292A2D;
        box-shadow: 0 0 0 1px #666;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .color-btn:hover {
        transform: scale(1.15);
    }

    /* 选中状态 */
    .color-btn.active {
        box-shadow: 0 0 0 2px white; 
        transform: scale(1.15);
    }

    /*全屏模式样式 */
    #word-display:fullscreen {
        background-color: #000000; 
        width: 100vw;
        height: 100vh;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        font-size: 10vw; 
    }

    #word-display:fullscreen .orp-left {
        flex: 3;
    }
    
    #word-display:fullscreen .orp-right {
        flex: 7;
    }

    /* 兼容性伪类*/
    #word-display::backdrop {
        background-color: #000;
    }

    input{
        background-color: #292A2D;
        color: white;
        border: 1px solid #E3E2E2;
        border-radius: 4px;
    }

    /* 全屏复选框样式 */
    input[type="checkbox"] {
        -webkit-appearance: none; /*移除默认样式*/
        appearance: none;
        width: 18px !important; 
        height: 18px;
        background-color: #292A2D;
        border: 1px solid #666;
        border-radius: 4px;
        cursor: pointer;
        position: relative;
        vertical-align: middle;
        margin-right: 8px !important;
        outline: none;
    }

    /* 选中状态 */
    /* input[type="checkbox"]:checked {
        background-color: aqua;
    } */

    input[type="checkbox"]:checked::after {
        content: '';
        position: absolute;
        left: 5px;
        top: 2px;
        width: 4px;
        height: 8px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    /* 状态信息 */
    .status {
        text-align: center;
        color: #666;
        font-size: 0.9em;
        margin-top: 10px;
        min-height: 1.5em;
    }

    @media (max-width: 700px) {
        .settings {
            flex-direction: column; 
            gap: 12px;
        }
        .separator {
            display: none;
        }
    }
