.preview-card {
            background-color: #f1f5f9;
            border-radius: 1.5rem;
            padding: 2rem;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 360px;
            transition: background 0.2s;
        }
        .preview-card.dark-bg {
            background-color: #1e293b;
        }
        .shadow-box {
            width: 240px;
            height: 240px;
            background: #ffffff;
            background-image: radial-gradient(circle at 25% 40%, rgba(255,255,255,0.9) 0%, #f8fafc 100%);
            border-radius: 24px;
            transition: box-shadow 0.1s ease, border-radius 0.1s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Segoe UI', system-ui, 'Inter', sans-serif;
            font-weight: 500;
            color: #0f172a;
            text-align: center;
            flex-direction: column;
            cursor: default;
            border: 1px solid rgba(0,0,0,0.05);
        }
        .dark-bg .shadow-box {
            background: #ffffff;
            color: #0f172a;
        }
        .shadow-box i {
            font-size: 3.2rem;
            color: #3b82f6;
            margin-bottom: 0.8rem;
        }
        .code-block {
            background: #0f172a;
            color: #e2e8f0;
            padding: 1rem;
            border-radius: 12px;
            font-family: 'Courier New', 'Fira Code', monospace;
            font-size: 0.85rem;
            word-break: break-all;
            white-space: pre-wrap;
            position: relative;
        }
        .copy-code-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            background: #334155;
            border: none;
            color: white;
            border-radius: 6px;
            padding: 4px 12px;
            font-size: 0.75rem;
            transition: all 0.2s;
        }
        .copy-code-btn:hover { background: #3b82f6; }
        .control-group {
            background: white;
            border-radius: 20px;
            padding: 1rem 1.2rem;
            margin-bottom: 1rem;
            border: 1px solid #e9eef3;
        }
        .control-label {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #1e293b;
            display: flex;
            justify-content: space-between;
        }
        .preset-btn {
            background-color: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 40px;
            padding: 0.4rem 1rem;
            font-size: 0.8rem;
            transition: all 0.15s;
            margin: 0.25rem;
        }
        .preset-btn:hover { background-color: #e2e8f0; transform: translateY(-1px); }
        .range-value {
            font-family: monospace;
            background: #f1f5f9;
            padding: 2px 8px;
            border-radius: 20px;
            font-size: 0.8rem;
        }
        .inset-badge {
            background: #f1f5f9;
            padding: 0.4rem 1rem;
            border-radius: 40px;
            font-size: 0.85rem;
        }
        .secondary-card {
            background: #fef9e3;
            border-left: 4px solid #f59e0b;
            margin-top: 0.8rem;
        }
        .bg-toggle {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }
        .bg-switch {
            width: 44px;
            background: #cbd5e1;
            border-radius: 30px;
            padding: 3px;
            cursor: pointer;
        }
        .bg-switch.active {
            background: #3b82f6;
        }
        .range-input-group {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .range-input-group input[type="number"] {
            width: 70px;
            text-align: center;
            font-size: 0.8rem;
        }
        .accordion-button:not(.collapsed) {
            background-color: rgba(59,130,246,0.05);
        }
        .tool-header .badge { font-size: 0.8rem; }