body { margin: 0; color: #232126; background: #f5f4f9; font-family: system-ui, sans-serif; } .test-wrap { max-width: 850px; padding: 22px; margin: auto; } header { display:flex; gap: 1.5rem; } h1 { font-size: 2rem; } .workspace-top,.workspace-bottom { display:flex; justify-content:space-between; } .frame { position:relative; background:#e3e0ed; height: 300px; } .frame img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; } .original { clip-path: inset(0 calc(100% - var(--split,50%)) 0 0); } .frame-label { position:absolute; top:6px; background:#fff; padding:4px; } .right { right:0; } .divider { position:absolute; left:var(--split,50%); top:0; bottom:0; border-left:2px solid #fff; } .compare { width:100%; } .controls { padding: 12px 0; } button,a.button { display:inline-block; padding:8px 12px; margin:4px; } [hidden] { display:none!important; } .error { color:#9b2318; }