.compare-container{box-sizing:border-box;background:#fff;border-radius:12px;max-width:100%;margin:0 auto;padding:32px 36px;transition:all .3s;overflow-x:hidden;box-shadow:0 2px 10px #0000000f}@media (width<=639px){.compare-container{box-shadow:none;border-radius:0;padding:16px 12px}}.dark .compare-container{box-shadow:none;background:#000}.compare-controls{justify-content:space-between;margin-top:0;display:flex}.color-block{flex-direction:column;align-items:flex-start;gap:8px;width:45%;display:flex}.color-block label{color:#333;margin-bottom:4px;font-weight:700}.dark .color-block label{color:#e5e7eb}.color-block input[type=color]{border:none;border-radius:8px;width:48px;height:48px;margin-bottom:4px}.color-block input[type=text]{color:#333;background:#fff;border:1px solid #ddd;border-radius:4px;width:120px;padding:6px 10px;font-size:15px}.dark .color-block input[type=text]{color:#e5e7eb;background:#374151;border-color:#4b5563}.hex-input-row{align-items:center;gap:6px;width:100%;display:flex}.hex-input-row input[type=text]{flex:1;width:auto;min-width:0;max-width:160px}.hex-copy-btn{color:#64748b;background:#fff;border:1px solid #ddd;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;padding:6px;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.hex-copy-btn:hover{color:#1d4ed8;background:#f1f5f9;border-color:#93c5fd}.dark .hex-copy-btn{color:#9ca3af;background:#374151;border-color:#4b5563}.dark .hex-copy-btn:hover{color:#e5e7eb;background:#4b5563;border-color:#6b7280}.color-info{color:#666;margin-top:2px;font-size:13px}.dark .color-info{color:#9ca3af}.rgb-input-group{background:#3b82f60f;border:1px solid #3b82f61f;border-radius:10px;flex-direction:column;gap:8px;width:100%;margin-top:10px;padding:10px 12px;display:flex}.dark .rgb-input-group{background:#2563eb26;border-color:#93c5fd38}.rgb-input-title{letter-spacing:.08em;color:#1d4ed8;text-transform:uppercase;font-size:12px;font-weight:600}.dark .rgb-input-title{color:#93c5fd}.rgb-input-fields{flex-direction:column;gap:12px;display:flex}.rgb-field{color:#1f2937;flex-direction:row;align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.dark .rgb-field{color:#e5e7eb}.rgb-field-label{text-align:center;color:#2563eb;background:#3b82f61f;border-radius:6px;flex-shrink:0;width:20px;padding:2px 0}.dark .rgb-field-label{color:#bfdbfe;background:#3b82f647}.rgb-slider{accent-color:#2563eb;cursor:pointer;background:#e5e7eb;border-radius:3px;outline:none;flex:1;height:6px}.dark .rgb-slider{accent-color:#60a5fa;background:#4b5563}.rgb-field input[type=number]{color:#1f2937;background:#fff;border:1px solid #94a3b880;border-radius:8px;flex-shrink:0;width:68px;padding:6px 8px;font-weight:600}.rgb-field input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 2px #3b82f640}.dark .rgb-field input{color:#e2e8f0;background:#0f172ad9;border-color:#60a5fa59}.dark .rgb-field input:focus{border-color:#93c5fda6;box-shadow:0 0 0 2px #3b82f64d}.compare-visual{justify-content:space-between;display:flex}.visual-block{color:#fff;letter-spacing:2px;justify-content:center;align-items:center;width:100%;height:120px;font-size:32px;font-weight:700;display:flex}.header-section{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.color-difference-section{background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px}.dark .color-difference-section{background:#000;border-color:#374151}.difference-title{text-align:center;margin-bottom:16px;font-size:18px;font-weight:700}.dark .difference-title{color:#e5e7eb}.difference-results{flex-direction:column;gap:12px;margin-bottom:20px;display:flex}.difference-item{background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:center;padding:12px 16px;transition:all .2s;display:flex}.dark .difference-item{background:#000;border-color:#374151}.difference-item:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.dark .difference-item:hover{box-shadow:0 2px 8px #0000004d}.difference-label{color:#374151;font-size:14px;font-weight:600}.dark .difference-label{color:#d1d5db}.difference-value{text-align:center;border-radius:4px;min-width:60px;padding:4px 8px;font-size:16px;font-weight:700}.difference-level{color:#6b7280;text-align:right;min-width:80px;font-size:12px;font-weight:700}.dark .difference-level{color:#9ca3af}.delta-excellent{color:#166534;background:#dcfce7}.dark .delta-excellent{color:#bbf7d0;background:#14532d}.delta-good{color:#1e40af;background:#dbeafe}.dark .delta-good{color:#bfdbfe;background:#1e3a8a}.delta-acceptable{color:#92400e;background:#fef3c7}.dark .delta-acceptable{color:#fde68a;background:#78350f}.delta-noticeable{color:#c2410c;background:#fed7aa}.dark .delta-noticeable{color:#fed7aa;background:#9a3412}.delta-significant{color:#dc2626;background:#fecaca}.dark .delta-significant{color:#fecaca;background:#991b1b}.difference-explanation{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.dark .difference-explanation{background:#000;border-color:#374151}.explanation-text{color:#4b5563;margin:0;font-size:13px;line-height:1.6}.dark .explanation-text{color:#9ca3af}.explanation-text strong{color:#374151;font-weight:600}.dark .explanation-text strong{color:#d1d5db}@media (width<=768px){.difference-results{gap:8px}.difference-item{flex-direction:column;align-items:flex-start;gap:8px;padding:16px}.difference-value,.difference-level{align-self:flex-end}.color-difference-section{padding:16px}.rgb-field{flex-direction:column;align-items:flex-start;gap:6px;width:100%}.rgb-slider{width:80%;max-width:230px}.rgb-field input[type=number]{width:60px}}
