/* Keep one live preview within its own customization section. */
html body[data-follow-preview]{overflow-x:clip}
.follow-preview{position:sticky!important;top:var(--follow-top,90px);align-self:start;min-width:0;z-index:3;opacity:1!important;transform:none!important}
.follow-preview > .follow-scroll{min-width:0;overflow:visible;padding:0 9px 9px 0}
.follow-preview > .follow-scroll:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.follow-preview .follow-stage{min-height:0}
.follow-preview .follow-stage .stage-mid{min-height:0}
.follow-preview .follow-stage :is(#previewPhone[data-shape],#pv[data-shape]){
  --pw:clamp(58px,calc((100dvh - var(--follow-top,90px) - 174px) / 2.35),251px);
  --p-size:clamp(58px,calc((100dvh - var(--follow-top,90px) - 174px) / 2.35),232px);
}
[data-follow-preview="volt"] .follow-preview .follow-stage{
  padding:50px 20px 25px;
}
[data-follow-preview="volt"] .follow-scroll > .img-controls{background:var(--blue);padding:14px;margin-top:13px;border-radius:13px}
[data-follow-preview="volt"] .follow-scroll > .img-controls:not(.show){display:none}

[data-follow-layout="one"] .follow-grid{grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
[data-follow-layout="one"] .follow-preview{grid-row:1;grid-column:1;top:var(--follow-top,68px)}
[data-follow-layout="one"] .follow-preview > .follow-scroll{max-height:none;overflow:visible;padding:0 5px 5px 0}
[data-follow-layout="one"] .follow-stage{min-height:0;height:clamp(116px,20dvh,155px);padding:6px 12px;display:grid;place-items:center}
[data-follow-layout="one"] .follow-stage .stage-mid{padding:0;min-height:0;width:100%;display:grid;place-items:center}
[data-follow-layout="one"] .follow-stage :is(#previewPhone[data-shape],#pv[data-shape]){
  --pw:clamp(43px,8dvh,64px);
  --p-size:clamp(43px,8dvh,64px);
  max-height:calc(clamp(116px,20dvh,155px) - 13px);
  margin:0;
  transform:none;
  animation:none;
}
[data-follow-layout="one"] .follow-stage :is(.prev-badge,.stage-live,.stage-top){position:absolute;left:8px;top:7px;right:auto;padding:2px 5px;font-size:9px;transform:none;margin:0;z-index:3}
[data-follow-layout="one"] .follow-stage :is(.prev-price,.stage-price){position:absolute;left:auto;right:10px;top:auto;bottom:7px;padding:2px 5px;font-size:15px;transform:none;margin:0;z-index:3}
[data-follow-layout="one"] .follow-stage #stageModel{position:absolute;left:7px;bottom:7px;right:auto;top:auto;max-width:28%;text-align:left;font-size:9px;line-height:1.18;white-space:normal;margin:0;z-index:3}
[data-follow-layout="one"] .follow-stage :is(.stage-hint,.prev-hint,.stage-tip,.tape,.stage-label .n,.stage-top .dot,.stage-price small){display:none}
[data-follow-layout="one"][data-follow-preview="small"] .follow-stage .stage-label .n{display:block;position:static;font-size:0}
[data-follow-layout="one"] .follow-stage .stage-label{display:contents}
[data-follow-layout="one"] .follow-stage .stage-label #stageModel{display:block}
[data-follow-layout="one"] .follow-stage .pv-txt{padding:0 3px;bottom:9%;font-size:clamp(5px,1.7vw,8px);overflow-wrap:anywhere}
[data-follow-layout="one"][data-follow-preview="volt"] .follow-preview .follow-stage{padding:6px 12px}
[data-follow-layout="one"][data-follow-preview="volt"] .studio-options > .img-controls.show{display:block;background:var(--blue);border-radius:12px;padding:12px;margin:12px 0}
/* Let the stage stay pinned through the final controls, then yield to the next section. */
[data-follow-layout="two"] :is(#studio,#desk){position:relative;z-index:0}
[data-follow-layout="two"] :is(#studio,#desk) ~ section{position:relative;z-index:4}
.follow-preview .follow-stage{top:auto}
.follow-preview .follow-stage :is(#previewPhone[data-shape],#pv[data-shape]){transition-property:background,box-shadow,border-radius}
[data-follow-preview="volt"] .studio-options > .img-controls.show{display:block;background:var(--blue);border-radius:12px;padding:12px;margin:12px 0}
[data-follow-preview="stickr"] .sheet > .order,[data-follow-preview="small"] .steps > .order{margin-top:14px}
[data-follow-layout="two"] :is(#studio,#desk){padding-bottom:clamp(30px,4vh,65px)}

[data-follow-layout="two"][data-follow-preview="small"] .follow-stage .stage-mid{padding-block:10px}
