.tcp-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;background:#000000d9;display:none;align-items:center;justify-content:center}.tcp-modal--open{display:flex}.tcp-modal--open .tcp-container{animation:tcpFadeInScale .25s ease-out both}.tcp-container{width:100%;max-width:1200px;max-height:90vh;background:#fff;border-radius:12px;box-shadow:0 25px 50px #0000004d;overflow:hidden;display:flex;flex-direction:column}.tcp-header{height:56px;min-height:56px;background:#1a1a2e;display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:#fff;gap:12px}.tcp-header-left{display:flex;align-items:center;gap:10px;min-width:0;flex-shrink:0}.tcp-header-title{font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcp-header-badge{display:inline-flex;align-items:center;padding:2px 10px;font-size:11px;font-weight:600;border-radius:100px;background:#ffffff26;color:#fff;white-space:nowrap;text-transform:uppercase;letter-spacing:.03em}.tcp-header-right{flex-shrink:0}.tcp-close-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:6px;background:#ffffff1a;color:#fff;cursor:pointer;font-size:18px;line-height:1;transition:background .15s}.tcp-close-btn:hover{background:#ffffff40}.tcp-toolbar{display:flex;align-items:center;gap:6px;flex-shrink:0}.tcp-tool-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:6px;background:#ffffff1a;color:#fff;cursor:pointer;font-size:14px;line-height:1;transition:background .15s,color .15s;padding:0}.tcp-tool-btn:hover{background:#fff3}.tcp-tool-btn--active{background:#14aa03;color:#fff}.tcp-tool-btn--active:hover{background:#11970a}.tcp-tool-btn:disabled{opacity:.3;cursor:not-allowed;pointer-events:none}.tcp-tool-btn svg{width:16px;height:16px;fill:currentColor}.tcp-toolbar-divider{width:1px;height:20px;background:#ffffff26;margin:0 4px}.tcp-body{flex:1;display:flex;overflow:hidden;min-height:0}.tcp-preview{flex:1 1 55%;background:#f5f5f7;display:flex;align-items:center;justify-content:center;padding:24px;min-width:0;position:relative;overflow:hidden}.tcp-preview-svg{max-width:100%;max-height:100%;width:auto;height:auto}.tcp-preview-svg .tcp-zone-hover{fill-opacity:.7;cursor:pointer;transition:fill-opacity .15s}.tcp-preview-svg .tcp-zone-active{stroke:#14aa03;stroke-dasharray:4 2;stroke-width:3}.tcp-palette{flex:1 1 45%;background:#fff;border-left:1px solid #e5e7eb;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px;min-width:0}.tcp-palette-title{font-size:14px;font-weight:700;text-transform:uppercase;margin-bottom:12px;color:#1a1a2e;letter-spacing:.02em}.tcp-palette-subtitle{font-size:12px;color:#6b7280;margin-top:-8px;margin-bottom:8px;line-height:1.4}.tcp-zone-list{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.tcp-zone-list::-webkit-scrollbar{height:4px}.tcp-zone-list::-webkit-scrollbar-track{background:transparent}.tcp-zone-list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.tcp-zone-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:100px;font-size:12px;font-weight:600;background:#f3f4f6;color:#374151;border:1.5px solid transparent;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:all .15s}.tcp-zone-pill:hover{background:#e5e7eb}.tcp-zone-pill--active{background:#14aa03;color:#fff;border-color:#14aa03}.tcp-zone-pill--active:hover{background:#11970a}.tcp-zone-pill-dot{width:10px;height:10px;border-radius:50%;border:1.5px solid rgba(0,0,0,.12);flex-shrink:0}.tcp-color-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:8px}.tcp-swatch{position:relative;width:40px;height:40px;border-radius:50%;border:2px solid #e5e7eb;cursor:pointer;transition:all .15s;padding:3px;background:transparent}.tcp-swatch:hover{transform:scale(1.15);border-color:#333;z-index:2}.tcp-swatch--active{border-color:#14aa03;box-shadow:0 0 0 3px #14aa03;transform:scale(1.15);z-index:2}.tcp-swatch--active:hover{border-color:#14aa03}.tcp-swatch--light{border-color:#d1d5db}.tcp-swatch-inner{display:block;width:100%;height:100%;border-radius:50%}.tcp-swatch-tip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);background:#1a1a2e;color:#fff;font-size:11px;padding:4px 8px;border-radius:4px;pointer-events:none;white-space:nowrap;opacity:0;transition:opacity .15s;z-index:10}.tcp-swatch-tip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:4px solid transparent;border-top-color:#1a1a2e}.tcp-swatch:hover .tcp-swatch-tip{opacity:1}.tcp-finish-toggle{display:inline-flex;border-radius:8px;overflow:hidden}.tcp-finish-btn{padding:8px 20px;border:1.5px solid #e5e7eb;background:#fff;color:#374151;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s}.tcp-finish-btn:first-child{border-radius:8px 0 0 8px}.tcp-finish-btn:last-child{border-radius:0 8px 8px 0;border-left:none}.tcp-finish-btn:hover{background:#f3f4f6}.tcp-finish-btn--active{background:#14aa03;color:#fff;border-color:#14aa03}.tcp-finish-btn--active:hover{background:#11970a}.tcp-designs{margin-top:8px}.tcp-designs-title{font-size:13px;font-weight:700;color:#1a1a2e;margin-bottom:10px}.tcp-designs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tcp-design-slot{position:relative;aspect-ratio:1 / 1;border:2px dashed #e5e7eb;border-radius:8px;cursor:pointer;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#fafafa;transition:border-color .15s}.tcp-design-slot:hover{border-color:#14aa03}.tcp-design-slot--filled{border-style:solid}.tcp-design-slot--filled img{width:100%;height:100%;object-fit:cover}.tcp-design-slot-placeholder{font-size:20px;color:#d1d5db;line-height:1}.tcp-design-slot-actions{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:4px;background:#00000080;opacity:0;transition:opacity .15s}.tcp-design-slot--filled:hover .tcp-design-slot-actions{opacity:1}.tcp-design-slot-action-btn{width:28px;height:28px;border:none;border-radius:6px;background:#ffffffe6;color:#1a1a2e;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:13px;transition:background .15s}.tcp-design-slot-action-btn:hover{background:#fff}.tcp-footer{height:56px;min-height:56px;background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:12px}.tcp-btn-cancel{padding:10px 24px;border:1.5px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;font-size:14px;font-weight:600;cursor:pointer;transition:all .15s}.tcp-btn-cancel:hover{background:#f3f4f6;border-color:#d1d5db}.tcp-btn-save{padding:10px 32px;border:none;border-radius:8px;background:#14aa03;color:#fff;font-size:14px;font-weight:700;cursor:pointer;transition:background .15s}.tcp-btn-save:hover{background:#0e8a02}.tcp-btn-save:active{background:#0b7a01}.tcp-footer-info{font-size:12px;color:#6b7280;flex:1;text-align:center}.tcp-chinbar-select{display:flex;gap:8px;flex-wrap:wrap}.tcp-chinbar-option{padding:8px 20px;border:1.5px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s}.tcp-chinbar-option:hover{background:#f3f4f6;border-color:#d1d5db}.tcp-chinbar-option--active{background:#14aa03;color:#fff;border-color:#14aa03}.tcp-chinbar-option--active:hover{background:#11970a}.tcp-chinbar-option input[type=radio]{display:none}@keyframes tcpFadeInScale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes tcpZonePulse{0%,to{opacity:1}50%{opacity:.6}}.tcp-zone-active--pulse{animation:tcpZonePulse 1.5s ease-in-out infinite}.tcp-brush-active .tcp-preview,.tcp-brush-active .tcp-preview-svg{cursor:crosshair}.tcp-brush-active .tcp-zone-hover{fill-opacity:.5}.tcp-brush-indicator{position:absolute;bottom:16px;left:16px;display:flex;align-items:center;gap:8px;padding:6px 12px;background:#1a1a2e;color:#fff;font-size:12px;font-weight:600;border-radius:100px;box-shadow:0 4px 12px #00000040;z-index:5;pointer-events:none}.tcp-brush-indicator-dot{width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.5);flex-shrink:0}@media(max-width:768px){.tcp-body{flex-direction:column}.tcp-preview{flex:none;height:45vh;padding:16px}.tcp-palette{flex:1;overflow-y:auto;border-left:none;border-top:1px solid #e5e7eb;padding:15px;gap:12px}.tcp-zone-list{position:sticky;top:0;z-index:5;background:#fff;margin:0 -15px;padding:4px 15px 8px}.tcp-color-grid{grid-template-columns:repeat(auto-fill,minmax(36px,1fr));gap:6px}.tcp-swatch{width:36px;height:36px}.tcp-header{padding:0 12px}.tcp-footer{padding:0 15px}.tcp-palette-title{font-size:13px;margin-bottom:8px}.tcp-palette-subtitle{font-size:11px}.tcp-designs-grid{gap:6px}.tcp-finish-btn,.tcp-chinbar-option{padding:6px 16px;font-size:12px}}@media(max-width:500px){.tcp-container{border-radius:0;max-height:100vh;height:100vh}.tcp-header{height:48px;min-height:48px}.tcp-header-title{font-size:15px}.tcp-header-badge{font-size:10px}.tcp-footer{height:48px;min-height:48px}.tcp-btn-cancel{padding:8px 18px;font-size:13px}.tcp-btn-save{padding:8px 24px;font-size:13px}.tcp-palette-title{font-size:12px}.tcp-palette-subtitle{font-size:10px}.tcp-zone-pill{font-size:11px;padding:5px 12px}.tcp-finish-btn,.tcp-chinbar-option{padding:6px 14px;font-size:11px}.tcp-designs-title{font-size:12px}.tcp-tool-btn{width:28px;height:28px;font-size:12px}.tcp-tool-btn svg{width:14px;height:14px}.tcp-close-btn{width:28px;height:28px;font-size:16px}.tcp-preview{height:40vh;padding:12px}.tcp-palette{padding:12px;gap:10px}.tcp-zone-list{margin:0 -12px;padding-left:12px;padding-right:12px}.tcp-footer-info{font-size:11px}.tcp-brush-indicator{font-size:11px;padding:5px 10px;bottom:12px;left:12px}}@media print{.tcp-modal{display:none!important}}.tcp-palette::-webkit-scrollbar{width:6px}.tcp-palette::-webkit-scrollbar-track{background:transparent}.tcp-palette::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.tcp-palette::-webkit-scrollbar-thumb:hover{background:#9ca3af}.tcp-palette{scrollbar-width:thin;scrollbar-color:#d1d5db transparent}.tcp-ai-panel{border:1px solid #e5e7eb;border-radius:8px;padding:12px;margin-top:12px;background:#f8fafc}.tcp-ai-section{display:flex;flex-direction:column;gap:10px}.tcp-ai-title{margin:0 0 4px;font-size:13px;font-weight:600;color:#1f2937;display:flex;align-items:center;gap:6px}.tcp-ai-presets{display:flex;flex-wrap:wrap;gap:6px}.tcp-ai-preset{padding:6px 14px;border:1px solid #d1d5db;border-radius:20px;background:#fff;font-size:12px;font-weight:500;color:#374151;cursor:pointer;transition:all .15s ease}.tcp-ai-preset:hover{border-color:#14aa03;color:#14aa03;background:#f0fdf4}.tcp-ai-preset:active{transform:scale(.96)}.tcp-ai-preset:disabled{opacity:.5;cursor:not-allowed}.tcp-ai-custom-row{display:flex;gap:6px;align-items:stretch}.tcp-ai-input{flex:1;padding:7px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:12px;color:#1f2937;background:#fff;outline:none;transition:border-color .15s}.tcp-ai-input:focus{border-color:#14aa03;box-shadow:0 0 0 2px #14aa031f}.tcp-ai-input::placeholder{color:#9ca3af}.tcp-ai-generate{padding:7px 16px;border:none;border-radius:6px;background:#14aa03;color:#fff;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s}.tcp-ai-generate:hover{background:#128f02}.tcp-ai-generate:disabled{background:#9ca3af;cursor:not-allowed}.tcp-ai-status{padding:8px 12px;border-radius:6px;font-size:12px;line-height:1.4}.tcp-ai-status--loading{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.tcp-ai-status--loading:before{content:"";display:inline-block;width:12px;height:12px;border:2px solid #1d4ed8;border-top-color:transparent;border-radius:50%;animation:tcp-spin .8s linear infinite;margin-right:8px;vertical-align:middle}.tcp-ai-status--success{background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0}.tcp-ai-status--error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.tcp-ai-status--info{background:#f8fafc;color:#475569;border:1px solid #e2e8f0}@keyframes tcp-spin{to{transform:rotate(360deg)}}@media(max-width:768px){.tcp-ai-panel{padding:10px;margin-top:8px}.tcp-ai-preset{padding:5px 10px;font-size:11px}.tcp-ai-custom-row{flex-direction:column}.tcp-ai-generate{width:100%;padding:10px}}
/*# sourceMappingURL=/cdn/shop/t/33/assets/tc-color-popup.css.map */
