/* NASIL-ZIPIRLAR (17 Kas 2026): the small Zıpır of each "Nasıl çalışır" step (build/tour.mjs zipirlar, assets/js/nasil-zk.js).
   Loaded from the #how section itself, before its content, so the box is sized before the section paints (no shift).
   The box is the shared frame of the five loops (scripts/nasil-zk-pisir.mjs: 296x330, the base's bottom at 328/330, its
   centre at 39 % of the width): one size for all five, the feet on the box's bottom edge.
   Desktop: above the step number, in the text column (the panel's left); the column centres the Zıpır and the text together.
   Phone: at the end of the title row, standing on the panel's top edge (the 12 px gap above the panel is its floor), the
   title and line wrapping beside it; the 5 steps still follow each other down the page. Never over the panel. */
.nz{position:relative;display:block;flex:none;height:var(--nzh,120px);width:calc(var(--nzh,120px) * .897);pointer-events:none;-webkit-user-select:none;user-select:none}
.nz img{position:absolute;left:0;top:0;width:100%;height:100%;display:block}
/* the loop appears on its frame 0 (= the still) in one paint; a stop the visitor can see (.nz-out): the still fades in OVER the
   loop in 300 ms, the loop stays opaque under it (two half-faded layers would leave the figure see-through), then goes */
.nz .nz-a{opacity:0}
.nz.on .nz-a,.nz.nz-out .nz-a{opacity:1}
.nz.on .nz-0{opacity:0}
.nz.nz-out .nz-0{opacity:1;z-index:1;transition:opacity .3s ease-out}
@media(min-width:900px){
  .nz{--nzh:clamp(104px,10.4vw,150px);margin:0 0 6px}
}
@media(max-width:899px){
  .hn-steps .hn-txt{grid-template-columns:auto minmax(0,1fr) auto}
  .hn-steps .hn-txt p{grid-column:1/3}
  .nz{--nzh:80px;grid-column:3;grid-row:1/3;align-self:end;margin:0 0 -11px 6px}
}
