﻿.sec-desc {
    font-size: 12px;
    color: var(--sr-color-text-secondary);
    line-height: 1.6;
    margin: 0 0 10px;
}
/* 开关网格 */
.switch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toggle-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1.5px solid var(--sr-color-border);
    border-radius: 20px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    font-size: 13px;
    color: var(--sr-color-text);
    font-family: inherit;
}

    .toggle-item:hover {
        border-color: var(--sr-color-primary);
        background: #f5f3ff;
    }

    .toggle-item.checked {
        border-color: var(--sr-color-primary);
        background: var(--sr-color-primary);
        color: #fff;
    }

    .toggle-item input {
        display: none;
    }

    .toggle-item .check-icon {
        display: none;
        width: 14px;
        height: 14px;
    }

    .toggle-item.checked .check-icon {
        display: inline-block;
    }

    .toggle-item .check-icon svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }
/* 文本框 */
.fix-textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px 14px;
    border: 1.5px solid var(--sr-color-border);
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: var(--sr-color-text);
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    background: #fafbfc;
}

    .fix-textarea:focus {
        border-color: var(--sr-color-primary);
        background: #fff;
    }

    .fix-textarea::placeholder {
        color: var(--sr-color-text-muted);
    }
/* 背景样式预览 */
.bg-style-preview {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
    line-height: 0;
}

    .bg-style-preview svg {
        display: block;
        width: 100%;
        height: 100%;
    }

.size-desc {
    font-size: 10px;
    color: var(--sr-color-text-muted);
    display: block;
    text-align: center;
    margin-top: 2px;
}
/* 模糊程度滑块 */
.blur-slider-wrap {
    padding: 4px 0;
}

.blur-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

    .blur-slider-header .blur-label {
        font-size: 13px;
        color: var(--sr-color-text);
    }

    .blur-slider-header .blur-value {
        font-size: 15px;
        font-weight: 600;
        color: var(--sr-color-primary);
        min-width: 28px;
        text-align: right;
    }

input.blur-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    transition: background 0.2s;
    cursor: pointer;
}

    input.blur-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--sr-color-primary);
        cursor: pointer;
        box-shadow: 0 1px 4px rgba(0,0,0,0.2);
        transition: transform 0.15s;
    }

        input.blur-range::-webkit-slider-thumb:hover {
            transform: scale(1.15);
        }

    input.blur-range::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--sr-color-primary);
        cursor: pointer;
        border: none;
        box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    }

.blur-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--sr-color-text-muted);
    margin-top: 4px;
}

/* 底部按钮行 */
.sr-btn-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.sr-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    line-height: 1;
    margin-top: 16px !important;
    margin-left: 12px !important;
}

    .sr-btn svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
    }

.sr-btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
}

    .sr-btn-secondary:hover {
        background: #e5e7eb;
    }

.sr-btn-primary {
    background: var(--sr-color-primary);
    color: #fff;
    font-weight: 500;
}

    .sr-btn-primary:hover {
        opacity: 0.9;
    }

/* ========== 移动端响应式 ========== */
@media (max-width: 639px) {
    .design-panel {
        min-height: auto !important;
    }

    /* 本页移动端需展示预览图并实时查看模糊效果，
       覆盖公共 ai-super-resolution.css 中隐藏 .inspiration-area 的规则 */
    .inspiration-area {
        display: flex !important;
    }

    .inspiration-hero {
        width: 100%;
        min-height: 0;
        padding: 4px;
    }

    .inspiration-hero-placeholder {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}
