/* fabu.html 样式抽取 */

        /* ===== 全局变量（统一风格） ===== */
        :root {
            --primary-color: #6366f1;
            --secondary-color: #4f46e5;
            --accent-color: #f59e0b;
            --bg-main: #f8fafc;
            --bg-card: #ffffff;
            --text-dark: #1e293b;
            --text-light: #64748b;
            --border-color: #e2e8f0;
            --gradient: linear-gradient(135deg, #6366f1, #4f46e5);
            --shadow: 0 4px 20px rgba(0, 0, 0, .08);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei';
            background: var(--bg-main);
            color: var(--text-dark);
        }

        .container {
            max-width: 1680px;
            margin: 0 auto;
            padding: 0 40px;
        }

        /* ===== Banner ===== */
        .publish-banner {
            height: 220px;
            margin-top: 70px;
            background: linear-gradient(135deg, rgba(99, 102, 241, .2), rgba(79, 70, 229, .3));
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .banner-title {
            font-size: 2rem;
            font-weight: 700;
        }

        /* ===== Layout ===== */
        .publish-layout {
            display: grid;
            grid-template-columns: 3fr 1fr;
            gap: 40px;
            padding: 60px 0 100px;
        }

        /* ===== Form Card ===== */
        .form-card {
            background: var(--bg-card);
            border-radius: 20px;
            padding: 40px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow);
        }

        .form-card h2 {
            font-size: 1.4rem;
            margin-bottom: 30px;
            padding-left: 12px;
            border-left: 4px solid var(--primary-color);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--text-dark);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 14px 16px;
            border-radius: 10px;
            border: 1px solid var(--border-color);
            font-size: 1rem;
            outline: none;
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }

        .upload-box {
            border: 2px dashed var(--border-color);
            border-radius: 12px;
            padding: 40px;
            text-align: center;
            color: var(--text-light);
            cursor: pointer;
        }

        .upload-box i {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        /* ===== Steps ===== */
        .steps {
            display: flex;
            gap: 20px;
            margin-bottom: 40px;
        }

        .step {
            flex: 1;
            text-align: center;
            padding: 15px;
            border-radius: 12px;
            background: #f1f5f9;
            color: var(--text-light);
            font-weight: 600;
        }

        .step.active {
            background: var(--gradient);
            color: #fff;
        }

        /* ===== Sidebar ===== */
        .publish-sidebar {
            position: sticky;
            top: 100px;
            align-self: start;
        }

        .tips-card {
            background: var(--bg-card);
            border-radius: 20px;
            padding: 30px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow);
        }

        .tips-card h4 {
            font-size: 1.1rem;
            margin-bottom: 20px;
        }

        .tips-card ul {
            list-style: none;
            color: var(--text-light);
        }

        .tips-card li {
            margin-bottom: 12px;
            padding-left: 20px;
            position: relative;
        }

        .tips-card li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--primary-color);
        }

        /* ===== Error ===== */
        .error-msg {
            color: #ef4444;
            font-size: .85rem;
            margin-top: 6px;
            display: none;
        }

        .error-msg.show {
            display: block;
        }

        input.invalid,
        select.invalid,
        textarea.invalid {
            border-color: #ef4444 !important;
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .publish-layout {
                grid-template-columns: 1fr;
            }

            .publish-sidebar {
                position: static;
            }
        }
    