/* DesignBookmark Jelly Slider, adapted to the local atlas palette. */
.slider-wrap{position:relative;width:clamp(175px,22vw,320px);min-width:0;
  --inverse:#17658e;--on-inverse:white;--fill-3:#d6e6ef;--muted-2:#728d9b;
  --text-2:#17658e;--text:#153e51;--r-pill:999px;--fs-xs:12px;
  --fs-2xs:11px;--fw-bold:600;--fw-medium:500}
@media(max-width:850px){.slider-wrap{flex:1}}
.slider-wrap input[type=range]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;touch-action:none}
.slider-wrap .rail.keyboard-focus{outline:2px solid #75badd;outline-offset:3px;border-radius:10px}
@scope (.slider-wrap) {
.rail{position:relative;height:32px;touch-action:none;cursor:pointer}
.track{position:absolute;left:0;right:0;top:13px;height:6px;border-radius:var(--r-pill);background:var(--fill-3);overflow:hidden}
.track .fill{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--inverse);border-radius:var(--r-pill)}

/* goo layer: thumb + drop fuse into one liquid shape */
.goo{position:absolute;left:-40px;right:-40px;top:-80px;height:140px;filter:url(#travel-goo);pointer-events:none}
.blob{position:absolute;left:0;top:0;background:var(--inverse);border-radius:50%;will-change:transform}
.drop{width:36px;height:36px}
.thumb{width:28px;height:28px} /* reads as 24: the goo filter trims its edge */
.drop-label{
  position:absolute;left:0;top:0;width:36px;height:36px;display:grid;place-items:center;
  font-size:var(--fs-xs);font-weight:var(--fw-bold);font-variant-numeric:tabular-nums;color:var(--on-inverse);
  pointer-events:none;will-change:transform,opacity;
}
.hit{position:absolute;top:4px;width:24px;height:24px;border-radius:50%;outline:none}

/* Scale: a mark every 5, a taller one every 25 with its number under it.
   Marks the value has passed light up, so the scale reads like the fill. */
.ticks{margin-top:8px}
.marks{position:relative;height:8px}
.marks i{
  position:absolute;top:0;left:calc(12px + (100% - 24px) * var(--p,0));
  width:1.5px;height:4px;margin-left:-.75px;border-radius:1px;
  background:var(--fill-3);transition:background .2s ease,height .25s cubic-bezier(.3,1.5,.5,1);
}
.marks i.major{height:8px;background:var(--muted-2)}
.marks i.on{background:var(--text-2)}
.marks i.major.on{background:var(--text)}
.nums{position:relative;height:14px;margin-top:6px;font-size:var(--fs-2xs);font-weight:var(--fw-medium);line-height:14px;color:var(--muted-2);font-variant-numeric:tabular-nums;letter-spacing:.01em}
.nums span{position:absolute;top:0;left:calc(12px + (100% - 24px) * var(--p,0));transform:translateX(-50%);transition:color .2s ease}
.nums span.on{color:var(--text-2)}
.nums span:nth-child(2){--p:.25}
.nums span:nth-child(3){--p:.5}
.nums span:nth-child(4){--p:.75}
.nums span:nth-child(5){--p:1}

}
