

         html,body{ font-size:inherit;}
        .mnav {   font-size: 13px;}
        
        /* 布局容器 */
        .max-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 5.5rem 1.5rem;
        }

        header {
            text-align: center;
        padding: 40px 0;
        }

         @media (max-width: 900px) {
         .main-grid{ gap:0 !important;}
        }

        .title-group h1 {
            font-size: 2.25rem;
            font-weight: 900;
            letter-spacing: -0.025em;
        }

        .text-blue { color: #2563eb; }
        .text-slate-500 { color: #64748b; }

        /* 网格系统 */
        .main-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 4rem;
        }

        @media (min-width: 1280px) {
            .main-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        /* 面板通用样式 */
        .panel {
            background: #ffffff;
            padding: 1.5rem;
            border-radius: 1rem;
            border: 1px solid #e2e8f0;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        }

        .section-title {
            font-weight: 700;
            margin-bottom: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* 控件样式 */
        .form-group { margin-bottom: 1.25rem; }
        .label {
            display: block;
            font-size: 0.75rem;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        select, input[type="number"] {
            width: -webkit-fill-available;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 0.5rem;
            padding: 0.75rem;
            font-size: 0.875rem;
            outline: none;
        }

        /* 按钮样式 */
        .btn {
            cursor: pointer;
            font-weight: 700;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            border-radius: 0.75rem;
        }

        .btn-white {
            background: #fff;
            border: 1px solid #e2e8f0;
            padding: 0.75rem 1.5rem;
        }

        .btn-blue {
            background: #2563eb;
            color: #fff;
           padding: 1rem;
            border: none;
            box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
        }

        .btn-dark {
            background: #0f172a;
            color: #fff;
            width: 100%;
            padding: 1rem;
            border: none;
        }

        .btn:hover { opacity: 0.9; }
        .btn:active { transform: scale(0.95); }

        /* 形状切换 */
        .shape-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
        }

        .shape-btn {
            padding: 0.5rem;
            font-size: 0.75rem;
            font-weight: 700;
            border-radius: 0.5rem;
            border: 2px solid transparent;
            background: #f1f5f9;
            color: #64748b;
        }

        .shape-btn.active {
            background: #eff6ff;
            border-color: #2563eb;
            color: #1d4ed8;
        }

        /* 画布样式 */
        .canvas-wrapper {
            background: #f8fafc;
            min-height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 1.5rem;
            overflow: auto;
            padding: 1rem;
        }

        .grid-canvas {
            image-rendering: pixelated;
            max-width: 100%;
            height: auto;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            background-color: #fff;
        }

        /* 加载动画 */
        .loading-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(255, 255, 255, 0.95);
            z-index: 50;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .spinner {
            width: 4rem;
            height: 4rem;
            border: 4px solid #f3f3f3;
            border-bottom: 4px solid #2563eb;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 1rem;
        }

        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        /* 滑块 */
        .custom-range {
            width: 100%;
            height: 6px;
            background: #e2e8f0;
            border-radius: 3px;
            appearance: none;
            outline: none;
        }

        .custom-range::-webkit-slider-thumb {
            appearance: none;
            width: 18px;
            height: 18px;
            background: #2563eb;
            border-radius: 50%;
            cursor: pointer;
        }

        /* 切换开关 */
        .switch {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
        }

        .switch input { opacity: 0; width: 0; height: 0; }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #e2e8f0;
            transition: .4s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px; width: 18px;
            left: 3px; bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider { background-color: #2563eb; }
        input:checked + .slider:before { transform: translateX(20px); }

        /* 清单项 */
        .color-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        @media (min-width: 768px) { .color-grid { grid-template-columns: repeat(3, 1fr); } }
        @media (min-width: 1024px) { .color-grid { grid-template-columns: repeat(4, 1fr); } }

        .color-card {
            padding: 1rem;
            background: #fff;
            border: 1px solid #f1f5f9;
            border-radius: 1rem;
            display: flex;
            align-items: center;
            transition: transform 0.2s;
        }

        .color-card:hover { transform: translateY(-2px); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }

        .color-preview {
            width: 3rem;
            height: 3rem;
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 0.625rem;
            color: rgba(255,255,255,0.5);
            border: 1px solid rgba(0,0,0,0.05);
            flex-shrink: 0;
        }

        .color-info { margin-left: 1rem; overflow: hidden; }

        /* 新增板块样式 */
        .content-section {
            margin-top: 4rem;
        }

        .grid-3 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .grid-3 { grid-template-columns: repeat(3, 1fr); }
        }

        .showcase-card {
            background: white;
            border-radius: 1rem;
            overflow: hidden;
            border: 1px solid #e2e8f0;
        }

        .showcase-img {
            width: 100%;
            height: 200px;
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.875rem;
            color: #94a3b8;
            font-weight: 500;
        }

        .showcase-body {
            padding: 1.25rem;
        }

        .showcase-title {
            font-weight: 800;
            font-size: 1.125rem;
            margin-bottom: 0.5rem;
        }

        .feature-item {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .feature-icon {
            flex-shrink: 0;
            width: 2.5rem;
            height: 2.5rem;
            background: #eff6ff;
            color: #2563eb;
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .faq-item {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0.75rem;
            padding: 1.25rem;
            margin-bottom: 1rem;
        }

        .faq-q {
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .faq-a {
            color: #64748b;
            font-size: 0.875rem;
        }

        .hidden { display: none !important; }