.tex-preview-card {
            background: #f8f9fc;
            border-radius: 1rem;
            padding: 1rem;
            text-align: center;
        }
        .texture-canvas {
            width: 100%;
            max-width: 500px;
            height: auto;
            background: #2d2d2d;
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            cursor: pointer;
            border: 1px solid rgba(0,0,0,0.1);
        }
        .control-group {
            background: #ffffff;
            border-radius: 12px;
            padding: 1rem 1.2rem;
            margin-bottom: 1rem;
            box-shadow: 0 2px 6px rgba(0,0,0,0.03);
            border: 1px solid #eef2f6;
        }
        .param-label {
            font-weight: 600;
            margin-bottom: 0.4rem;
            font-size: 0.9rem;
            display: flex;
            justify-content: space-between;
        }
        .param-value {
            font-family: monospace;
            background: #f1f3f5;
            padding: 0.2rem 0.6rem;
            border-radius: 30px;
            font-size: 0.8rem;
        }
        .preset-badge {
            background: #eef2ff;
            border: 1px solid #cddcff;
            color: #1e3a8a;
            transition: 0.2s;
        }
        .preset-badge:hover {
            background: #d9e6ff;
            transform: translateY(-2px);
        }
        .algorithm-note {
            font-size: 0.85rem;
            border-left: 3px solid #4361ee;
            padding-left: 1rem;
            margin: 1rem 0;
        }
        .color-swatch {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            border: 2px solid white;
            box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
            display: inline-block;
            vertical-align: middle;
        }
        .export-btn {
            background: #2b3b4c;
            color: white;
            transition: 0.2s;
        }
        .export-btn:hover {
            background: #1e2e3c;
            transform: scale(0.98);
        }
        .randomize-seed {
            cursor: pointer;
            background: #eef2fa;
            border-radius: 40px;
            padding: 0.2rem 0.8rem;
            font-size: 0.8rem;
            transition: 0.2s;
        }
        .randomize-seed:hover {
            background: #dce5f0;
        }
        hr.divider-light {
            margin: 1rem 0;
            opacity: 0.4;
        }
        .badge-math {
            background: #e9ecef;
            color: #2c3e66;
            font-weight: 500;
        }
        .inspiration-gallery {
            background: #fefcf5;
            border-radius: 24px;
            padding: 1.8rem;
            margin: 2rem 0;
            border: 1px solid #f0e9da;
        }
        .gallery-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            justify-content: center;
            margin-top: 1.5rem;
        }
        .gallery-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 6px 14px rgba(0,0,0,0.05);
            transition: transform 0.2s, box-shadow 0.2s;
            width: 180px;
            text-align: center;
            padding: 1rem 0.8rem 0.8rem 0.8rem;
            border: 1px solid #f0e2cf;
        }
        .gallery-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 22px rgba(0,0,0,0.1);
        }
        .gallery-canvas {
            width: 120px;
            height: 120px;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            background: #f4f1ea;
            margin-bottom: 0.75rem;
        }
        .gallery-params {
            font-size: 0.7rem;
            font-family: monospace;
            background: #f8f7f2;
            border-radius: 20px;
            padding: 0.3rem 0.5rem;
            color: #4a5b6e;
            word-break: break-word;
        }
        .gallery-title {
            font-weight: 600;
            font-size: 0.85rem;
            margin-bottom: 0.4rem;
            color: #2c3e66;
        }
        .tech-verify {
            background: #ecf7f0;
            border-left: 4px solid #2c8c5a;
            padding: 0.8rem 1.2rem;
            border-radius: 12px;
            margin: 1.2rem 0;
            font-size: 0.9rem;
        }