    html {
        touch-action: manipulation;
        -webkit-text-size-adjust: 100%;
    }
    
    input, textarea, select {
        font-size: 16px;
        -webkit-appearance: none;
        border-radius: 0;
    }
    
    * {
        -webkit-tap-highlight-color: transparent;
    }

    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #121212; /* 深色模式背景 */
        color: white;
        transition: background-color 0.3s ease, color 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        
        overflow: hidden;
    }

    .container {
        width: 100%;
        max-width: 800px; /* 设置最大宽度 */
        margin: 20px;
        padding: 20px; /* 增加padding确保内容距离边缘有空隙 */
        background-color: #1e1e1e;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: stretch; /* 确保输入框和按钮宽度一致 */
    }

    h1 {
        text-align: center;
    }

    label {
        display: block;
        margin-top: 10px;
        font-weight: bold;
    }

    input[type="text"], textarea {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        margin-bottom: 20px;
        border: 1px solid #555;
        border-radius: 4px;
        background-color: #333;
        color: white;
        box-sizing: border-box; /* 使padding和border包含在元素的总宽度内 */
    }

    button {
        background-color: #007BFF;
        color: white;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 4px;
        font-size: 16px;
        width: 100%; /* 保持与输入框一致的宽度 */
    }

    button:hover {
        background-color: #0056b3;
    }

    /* 固定在右上角的选择框 */
    .switcher-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    select {
        padding: 10px;
        background-color: #333;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 16px;
    }

    /* Light theme styles */
    .light-theme {
        background-color: #f0f0f0;
        color: black;
    }

    .light-theme .container {
        background-color: #fff;
    }

    .light-theme input[type="text"], .light-theme textarea {
        background-color: #f8f8f8;
        color: black;
    }

    .light-theme button {
        background-color: #28a745;
    }

    .light-theme button:hover {
        background-color: #218838;
    }

    /* Responsive design adjustments */
    @media (max-width: 768px) {
        .switcher-container {
            top: 10px;
            right: 10px;
        }

        button {
            width: auto; /* 在小屏幕下，按钮宽度恢复默认 */
        }
    }

    /* 适应更小的屏幕，比如手机 */
    @media (max-width: 480px) {
        body {
            padding: 10px;
            height: auto;
        }
        .container {
            padding: 15px;
            margin: 0;
        }
        select {
            font-size: 14px;
            padding: 8px;
        }
        #theme-toggle {
            font-size: 14px;
            padding: 8px;
        }
    }
    

    /* 默认按钮样式，原来是 select 的样式 */
    #theme-toggle {
        padding: 10px;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 16px;
        cursor: pointer; /* 鼠标悬停时变成指针 */
        transition: background-color 0.3s; /* 平滑过渡效果 */
        width: auto; /* 设置宽度为100%与 select 一致 */
    }





/* 如果需要跟select一样，调整外部容器的宽度
.switcher-container select {
    display: inline-block; 保证select宽度适应内容
    width: auto; 保证select宽度适应内容
}
 */