        /* 主体容器 */


        .converter-container {
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
            align-items: center;
        }

        @media (min-width: 768px) {
            .converter-container {
                min-width: 560px;
            }
        }

        /* 转换类型选择器样式 */
        .convert-type-selector {
            width: 100%;
            max-width: 800px;
            margin-bottom: 0.5rem;
        }

        .select-wrapper {
            position: relative;
            width: 100%;
        }

        #convertType {
            width: 100%;
            padding: 0.9rem 1.2rem;
            border: 2px solid #e0e6ed;
            border-radius: 10px;
            font-size: 1rem;
            outline: none;
            background-color: #f8fafc;
            color: #333;
            appearance: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        #convertType:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
            background-color: #fff;
        }

        #convertType option {
            padding: 0.8rem;
            background-color: #fff;
            color: #333;
        }

        /* 下拉箭头样式 */
        .select-wrapper::after {
            content: "▼";
            position: absolute;
            right: 1.2rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 0.8rem;
            color: #666;
            pointer-events: none;
            transition: all 0.2s ease;
        }

        .select-wrapper:focus-within::after {
            color: #3498db;
            transform: translateY(-50%) rotate(180deg);
        }

        .input-output-group {
            display: flex;
            flex-direction: column;
            gap: 1.8rem;
            width: 100%;
            max-width: 800px;
        }


        @media (min-width:768px) {
            .input-output-group {
                min-width: 365px;
           }
         }

        .text-area {
            width: 100%;
            min-height: 180px;
            padding: 1.2rem;
            border: 2px solid #e0e6ed;
            border-radius: 10px;
            font-size: 1rem;
            outline: none;
            resize: vertical;
            transition: all 0.2s ease;
            line-height: 1.6;
            background-color: #f8fafc;
        }

        .text-area:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
            background-color: #fff;
        }

        /* 按钮组样式 */
        .btn-group {
            display: flex;
            gap: 1.2rem;
            width: 100%;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 0.5rem;
        }

        .action-btn {
            padding: 0.9rem 2.2rem;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            white-space: nowrap;
            transition: all 0.25s ease;
            box-shadow: 0 4px 8px rgba(0,0,0,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        #convertBtn {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            color: white;
            flex: 1;
        }

        #convertBtn:hover {
            background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.12);
        }

        #convertBtn:active {
            transform: translateY(0);
            box-shadow: 0 4px 8px rgba(0,0,0,0.08);
        }

        #clearBtn {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: white;
            flex: 1;
        }

        #clearBtn:hover {
            background: linear-gradient(135deg, #c0392b 0%, #a52e20 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.12);
        }

        #clearBtn:active {
            transform: translateY(0);
            box-shadow: 0 4px 8px rgba(0,0,0,0.08);
        }

        #copyBtn {
            background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
            color: white;
            flex: 1;
        }

        #copyBtn:hover {
            background: linear-gradient(135deg, #219653 0%, #1e874b 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.12);
        }

        #copyBtn:active {
            transform: translateY(0);
            box-shadow: 0 4px 8px rgba(0,0,0,0.08);
        }

        /* 占位符样式优化 */
        ::placeholder {
            color: #94a3b8;
            font-size: 0.95rem;
        }

        /* 工具专属移动端适配 */
        @media (max-width: 768px) {


            .btn-group {
                flex-direction: column;
                gap: 1rem;
            }

            .action-btn {
                width: 100%;
                padding: 0.8rem 1rem;
            }

            .text-area {
                min-height: 140px;
                font-size: 0.95rem;
                padding: 1rem;
            }

            .convert-type-selector {
                margin-bottom: 0;
            }
        }