        /* 保留原有所有样式，此处省略（和你原代码一致） */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            height: 100vh;
            overflow: hidden;
        }
        
        .container {
            display: flex;
            height: 100vh;
        }
        
        .left-panel {
            flex: 1;
            background: white;
            /* overflow-y: auto; */
            padding: 20px;
            border-right: 1px solid #ddd;
        }
        .left-panel1 {
            width: 100%;
            height: 100%;
            overflow-y: auto;
            padding-top: 20px;
        }
        
        .right-panel {
            width: 470px;
            background: #f0f0f0;
            padding: 20px;
            overflow-y: auto;
        }
        
        .config-section {
            margin-bottom: 10px;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background-color: #fafafa;
        }
        
        .config-section h2 {
            color: #555;
            margin-bottom: 15px;
            font-size: 18px;
        }
        
        .config-item {
            /* margin-bottom: 15px; */
            padding: 10px;
            background: white;
            border-radius: 5px;
            border: 1px solid #eee;
        }
        
        .config-item label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #666;
        }
        
        .color-config-wrapper {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            align-items: flex-start;
        }
        .color-config-item {
            display: flex;
            gap: 10px; /* 子元素之间的间距（可选，提升美观度） */
            flex-wrap: wrap; /* 内容超出时换行 */
            /* flex-direction: column;
            width: calc(50% - 10px);  */
            /* 两列布局 */
        }
        .color-config-item label{
            flex: 0 0 100%; /* 不收缩、不放大、宽度100% */
        }
        .color-config-item input[type="color"] {
            width: 40%; /* 自动平分剩余宽度 */
            height: 40px;
            padding: 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
            margin-bottom: 5px;
            cursor: pointer;
        }
        .color-config-item input[type="text"] {
            width: 40%; /* 自动平分剩余宽度 */
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            margin-bottom: 5px;
        }
        
        /* 优化图片预览样式，重点修复预览逻辑 */
        .image-config-item {
            display: flex;
            flex-direction: column;
            /* width: 200px; */
            /* margin-top: 20px; */
        }
        .image-preview {
            width: 100%;
            height: 90px; /* 增大预览区域，更容易看到效果 */
            border: 1px dashed #ddd;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background-color: #f9f9f9;
            margin-bottom: 10px;
            position: relative;
        }
        .image-preview img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        .preview-placeholder {
            color: #999;
            font-size: 12px;
            text-align: center;
            padding: 0 10px;
        }
        
        .image-dimensions {
            font-size: 11px;
            color: #666;
            text-align: center;
            margin-top: 5px;
            background-color: #f0f0f0;
            padding: 2px 5px;
            border-radius: 3px;
            display: inline-block;
        }
        .image-path-input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 12px;
            margin-bottom: 8px;
        }
        .upload-btn {
            padding: 8px 12px;
            background-color: #28a745;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            margin-bottom: 5px;
        }
        .upload-btn:hover {
            background-color: #218838;
        }
        .file-input {
            display: none;
        }
        .preview-tip {
            font-size: 11px;
            color: #999;
            margin-top: 5px;
        }
        
        /* 保留其他原有样式 */
        .config-item textarea {
            width: 100%;
            height: 150px;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-family: monospace;
            font-size: 12px;
            resize: vertical;
        }
        
        .config-input-item {
            margin-bottom: 5px;
            display: flex;
        }
        
        .config-input-item label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #666;
            width: 120px;
        }
        
        .config-input-item input,
        .config-input-item textarea {
            flex: 1;
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }
        
        .config-input-item textarea {
            resize: vertical;
            /* min-height: 100px; */
        }
        
        .apply-btn {
            background-color: #007bff;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
        }
        
        .fixed-btn {
            /* position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1000;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
            text-align: right;
        }
        
        .apply-btn:hover {
            background-color: #0056b3;
        }
        
        .export-btn {
            padding: 10px 20px;
            background-color: #28a745;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }
        
        .export-btn:hover {
            background-color: #218838;
        }
        
        .preview-container {
            background: white;
            border-radius: 10px;
            /* padding: 15px; */
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            overflow-y: auto;
        }
        
        .preview-header {
            text-align: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
            font-weight: bold;
            color: #333;
            padding: 15px;
        }
        
        .preview-content {
            height: 823px;
            overflow: hidden;
            margin: 0 auto;
        }
        
        #preview-frame {
            border: none;
            width: 100%;
            height: 100%;
        }
        
        .preview-login {
            background-color: #002FA7;
            min-height: 100%;
            color: white;
            padding: 20px;
            border-radius: 8px;
        }
        
        .preview-login .preview-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .preview-login .preview-btn {
            background-color: #FF2E93;
            color: white;
            padding: 12px 30px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            width: 100%;
            margin: 10px 0;
        }
        
        .preview-index {
            background-color: #f4f4f4;
            min-height: 100%;
            color: #333;
            padding: 10px;
        }
        
        .preview-index .preview-tab-bar {
            display: flex;
            border-radius: 8px;
            overflow: hidden;
            background-color: #fff;
            margin-bottom: 15px;
        }
        
        .preview-index .preview-tab {
            flex: 1;
            text-align: center;
            padding: 12px 0;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
        }
        
        .preview-index .preview-tab.active {
            background-color: #e91e63;
            color: #fff;
        }
        
        .preview-index .preview-tab.inactive {
            background-color: #fff;
            color: #e91e63;
        }
        
        .preview-index .preview-plan-card {
            background-color: #fff;
            border-radius: 8px;
            padding: 10px;
            margin-bottom: 10px;
        }
        
        .preview-index .preview-buy-btn {
            width: 100%;
            padding: 12px 0;
            background-color: #e91e63;
            color: #fff;
            border: none;
            border-radius: 5px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
        }
        
        .preview-my {
            background-color: #f4f4f4;
            min-height: 100%;
            color: #666;
            padding: 10px;
        }
        
        .preview-my .preview-top {
            background-color: #e91e63;
            padding: 50px 0;
            text-align: center;
            color: white;
            border-radius: 10px;
            margin-bottom: 10px;
        }
        
        .preview-my .preview-nav-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #666;
            font-size: 16px;
            background-color: #fff;
            border-radius: 10px;
            padding: 10px;
            margin-bottom: 10px;
        }
        
        .preview-my .preview-nav-item.active {
            color: #e91e63;
        }
        
        .preview-bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-around;
            padding: 8px 0;
            background-color: #fff;
            box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
        }
        
        .preview-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            color: #666;
            font-size: 12px;
        }
        
        .preview-nav-item.active {
            color: #e91e63;
        }
        
        .preview-controls {
            margin-bottom: 15px;
            text-align: center;
            display: flex;
            justify-content: space-around;
            align-items: center;
            width: 100%;
            padding: 0 15px;
        }
        
        .preview-btn {
            background-color: #007bff;
            color: white;
            padding: 8px 16px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            margin: 0 5px;
            width: 100%;
        }
        
        .preview-btn:hover {
            background-color: #0056b3;
        }
        
        .preview-btn.active {
            background-color: #28a745;
        }
        
        .icon {
            width: 30px;
            height: 30px;
            fill: currentColor;
        }

        .icon-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }

        .icon-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 80px;
            padding: 0 0 10px 0;
            border: 1px solid #eee;
            border-radius: 8px;
            background: white;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .icon-item:hover {
            border-color: #007bff;
            box-shadow: 0 2px 8px rgba(0,123,255,0.1);
        }

        .icon-item .icon-display {
            width: 50px;
            height: 50px;
            /* margin-bottom: 8px; */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon-item .icon-name {
            font-size: 12px;
            color: #666;
            text-align: center;
            word-break: break-all;
        }

        .modal-mask {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .modal-container {
            width: 80%;
            max-width: 800px;
            background: white;
            border-radius: 8px;
            padding: 20px;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }

        .modal-title {
            font-size: 16px;
            font-weight: bold;
            color: #333;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: #999;
        }

        .modal-close:hover {
            color: #333;
        }

        .modal-body {
            margin-bottom: 20px;
        }

        .modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        .modal-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }

        .modal-btn.cancel {
            background: #eee;
            color: #666;
        }

        .modal-btn.confirm {
            background: #007bff;
            color: white;
        }

        .modal-btn.confirm:hover {
            background: #0056b3;
        }

        .svg-preview {
            padding: 15px;
            background: #f8f8f8;
            border-radius: 4px;
            margin-bottom: 15px;
            text-align: center;
        }

        .svg-preview-content {
            width: 80px;
            height: 80px;
            display: inline-block;
        }
        
        /* Toast 样式 */
        .toast {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 12px 20px;
            border-radius: 4px;
            background-color: #333;
            color: white;
            font-size: 14px;
            z-index: 9999;
            opacity: 0;
            transform: translate(-50%, -50%) translateY(-20px);
            transition: all 0.3s ease;
        }
        
        .toast.show {
            opacity: 1;
            transform: translate(-50%, -50%) translateY(0);
        }
        
        .toast.success {
            background-color: #28a745;
        }
        
        .toast.error {
            background-color: #dc3545;
        }
        
        .toast.info {
            background-color: #17a2b8;
        }
        
        .topbox{
            display: flex;
            gap: 10px;
        }
        .msg{
            font-size: 12px;
            color: red;
            /* color: #FFF; */
            /* padding: 3px 5px;
            border-radius: 4px; */
            /* background-color: rgba(0,0,0,0.5); */
            font-weight: 100;
        }