        /* 基础样式 */
        body {
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.6;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
        }

        /* 主容器 */
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 3rem 1.5rem;
        }

        /* 标题区域 */
        .header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .header h1 {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 1rem;
            background: linear-gradient(90deg, #165DFF, #0FC6C2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-top: 0;
        }

        .header p {
            font-size: 1.125rem;
            color: #64748b;
            max-width: 600px;
            margin: 0 auto;
        }

        /* 表单区域 */
        .url-form {
            background-color: #ffffff;
            border-radius: 1.5rem;
            padding: 2rem;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            font-size: 0.875rem;
            font-weight: 500;
            color: #475569;
            margin-bottom: 0.5rem;
        }

        .form-input {
            width: 100%;
            padding: 1rem 1.25rem;
            border: 1px solid #e2e8f0;
            border-radius: 0.75rem;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            box-sizing: border-box; /* 确保宽度包含内边距和边框 */
        }

        .form-input:focus {
            border-color: #165DFF;
            box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.2);
        }

        .form-input::placeholder {
            color: #94a3b8;
        }

        .error-message {
            color: #ef4444;
            font-size: 0.875rem;
            margin-top: 0.5rem;
            display: flex;
            align-items: center;
        }

        .error-message i {
            margin-right: 0.25rem;
        }

        .form-button {
            width: 100%;
            background-color: #165DFF;
            color: #ffffff;
            padding: 1rem;
            border: none;
            border-radius: 0.75rem;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box; /* 确保宽度包含内边距和边框 */
        }

        .form-button:hover {
            background-color: #0d47a1;
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(22, 93, 255, 0.15), 0 4px 6px -2px rgba(22, 93, 255, 0.1);
        }

        .form-button i {
            margin-right: 0.5rem;
        }

        /* 结果区域 */
        .result {
            margin-top: 2rem;
            padding: 1.5rem;
            background-color: #f1f5f9;
            border-radius: 1rem;
            border: 1px solid #e2e8f0;
            transition: opacity 0.5s ease;
        }

        .result-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 1rem;
            margin-top: 0;
        }

        .result-url {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            background-color: #ffffff;
            padding: 1rem;
            border-radius: 0.75rem;
            border: 1px solid #e2e8f0;
        }

        .result-url-link {
            display: flex;
            align-items: center;
            word-break: break-all;
        }

        .result-url-link i {
            color: #165DFF;
            margin-right: 0.75rem;
        }

        .result-url-link a {
            color: #165DFF;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            flex: 1;
        }

        .result-url-link a:hover {
            color: #0d47a1;
            text-decoration: underline;
        }

        .copy-button {
            background-color: #0FC6C2;
            color: #ffffff;
            padding: 0.75rem 1.25rem;
            border: none;
            border-radius: 0.5rem;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s ease;
            width: 100%; /* 复制按钮也与输入框同宽 */
            box-sizing: border-box;
        }

        .copy-button:hover {
            background-color: #0a9e9b;
        }

        .copy-button:active {
            transform: scale(0.98);
        }

        /* 响应式设计 */
        @media (max-width: 640px) {
            .container {
                padding: 2rem 1rem;
            }

            .header h1 {
                font-size: 2rem;
            }

            .header p {
                font-size: 1rem;
            }

            .url-form {
                padding: 1.5rem;
            }

            .result-url {
                flex-direction: column;
            }
        }

        /* 动画效果 */
        .fade-in {
            animation: fadeIn 0.5s ease-in-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }