    /* Before / After comparison slider */
    .compare-container {
      position: relative;
      display: inline-block;
      max-width: 100%;
      margin: 0 auto;
      user-select: none;
      -webkit-user-select: none;
      touch-action: none;
      overflow: hidden;
      border-radius: var(--radius-sm);
      border: 1px solid var(--color-border);
      background: repeating-conic-gradient(#f1f5f9 0% 25%, transparent 0% 50%) 50% / 16px 16px;
    }
    .compare-container canvas {
      display: block;
      max-width: 100%;
      max-height: 500px;
    }
    .compare-original {
      position: absolute;
      top: 0;
      left: 0;
      overflow: hidden;
      pointer-events: none;
    }
    .compare-original canvas {
      display: block;
      max-height: 500px;
    }
    .compare-divider {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 3px;
      background: #fff;
      box-shadow: 0 0 6px rgba(0,0,0,0.35);
      cursor: ew-resize;
      z-index: 5;
    }
    .compare-handle {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 36px;
      height: 36px;
      background: #fff;
      border: 2px solid rgba(0,0,0,0.2);
      border-radius: 50%;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
    }
    .compare-handle svg {
      width: 18px;
      height: 18px;
      color: #555;
    }
    .compare-label {
      position: absolute;
      top: 12px;
      padding: 4px 10px;
      background: rgba(0,0,0,0.55);
      color: #fff;
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-radius: 4px;
      pointer-events: none;
      z-index: 3;
    }
    .compare-label-original { left: 12px; }
    .compare-label-enhanced { right: 12px; }
    .canvas-wrapper {
      text-align: center;
      margin-top: 20px;
      min-height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .slider-row {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }
    .slider-row .control-group {
      flex: 1;
      min-width: 200px;
    }
    @media (max-width: 768px) {
      .slider-row {
        flex-direction: column;
      }
      .slider-row .control-group {
        min-width: 100%;
      }
      .compare-container canvas,
      .compare-original canvas {
        max-height: 350px;
      }
    }
