.then-now-compare{width:100%;max-width:468px;margin-inline:auto}.then-now-compare #hint{margin-bottom:14px;color:var(--text)}
.then-now-compare [hidden]{display:none!important}
.then-now-compare #hint{margin:0 0 14px;color:#deded8}
.then-now-compare .still,.then-now-compare figure{width:100%;aspect-ratio:4 / 5;display:block;border-radius:10px}
.then-now-compare .still{object-fit:cover}
.then-now-compare figure{margin:0;position:relative;overflow:hidden;background:#1b2317;--x:50%}
.then-now-compare figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.then-now-compare .now{object-position:50% 37%}
.then-now-compare .then,.then-now-compare .badge-mask--then{-webkit-clip-path:inset(0 calc(100% - var(--x)) 0 0);clip-path:inset(0 calc(100% - var(--x)) 0 0)}
.then-now-compare .badge-mask--now{-webkit-clip-path:inset(0 0 0 var(--x));clip-path:inset(0 0 0 var(--x))}
.then-now-compare .badge-mask{position:absolute;inset:0;pointer-events:none}
.then-now-compare .divider,.then-now-compare .knob,.then-now-compare .stamp{position:absolute;pointer-events:none}
.then-now-compare .divider{left:clamp(1px,var(--x),calc(100% - 1px));top:0;bottom:0;width:2px;transform:translateX(-50%);background:var(--green);box-shadow:0 0 0 1px #0a0a0a99}
.then-now-compare .knob{left:clamp(24px,var(--x),calc(100% - 24px));top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:5px;height:32px;width:48px;border:1px solid var(--green);border-radius:999px;background:var(--bg);color:var(--green);box-shadow:0 2px 8px #0009}
.then-now-compare .knob::before,.then-now-compare .knob::after{content:"";display:block;width:7px;height:7px;border:solid currentColor;border-width:2px 2px 0 0}
.then-now-compare .knob::before{transform:rotate(-135deg)}
.then-now-compare .knob::after{transform:rotate(45deg)}
.then-now-compare .stamp{top:10px;padding:5px 8px;background:#101710;color:#fff;border-radius:3px;font-size:.75rem;font-weight:800}
.then-now-compare .left{left:10px}
.then-now-compare .right{right:10px}
.then-now-compare input[type=range]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;pointer-events:none}
.then-now-compare .gesture{position:absolute;inset:0;cursor:ew-resize;touch-action:pan-y;touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none}
.then-now-compare figure:focus-within{outline:3px solid var(--gold);outline-offset:4px}
