/* ModMaker Pro UI kit 1.24.0: stepper (ported from mockups/stepper/kit/stepper.css, Jay approved 2026-10-22). Screen layout only. */
:root{--sp-violet:#a9adb6;--sp-pink:#d4d7dd;--sp-violet-text:#c4c7ce;--sp-grad:var(--sp-grad-satin,linear-gradient(180deg,#f7f8fa,#c3c7ce))}
#panel-scroll.stp-mode{padding-top:6px}
#panel-scroll.stp-mode>section.sec{display:none!important}
/* 1.3.0 RC1c: Headshot layers live in Blood FX below the steps (Jay 2026-11-05); not part of the step accordion */
#panel-scroll.stp-mode>section#sec-headshot-layers:not([hidden]){display:block!important;margin-top:10px}
body.stp-on:not(.wiz-on):not(.stp-all):not(.stp-at-export):not([data-mod="tracers"]) #export-bar{display:none!important}
body.wiz-on:not(.stp-at-end):not([data-mod="tracers"]) #export-bar{display:none!important}
body.wiz-on:not(.stp-all):not([data-mod="tracers"]) .stp:not(.open){display:none}
body.wiz-on .stp-bar,body.wiz-on .stp-lbl{grid-template-columns:repeat(5,1fr)}
.wiz-amt{display:flex;flex-direction:column;gap:6px}
#wiz-smoke-on.kfx-onoff{border-color:var(--edge);color:var(--text);background:rgba(255,255,255,.04)}
.wiz-amt input[type=range]{width:100%}
.burst-bar{display:flex;flex-direction:column;gap:8px}
#burst-picture{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#burst-picture[hidden]{display:none}
#burst-warn{flex-basis:100%}
body[data-mod="tracers"] .stp-prog,body[data-mod="tracers"] .stp-nav,body[data-mod="tracers"] #panel-scroll>.look,body[data-mod="tracers"] #panel-scroll>.stp{display:none!important}
/* progress header */
.stp-prog{flex:none;padding:12px 16px 9px;border-bottom:1px solid var(--edge);display:flex;flex-direction:column;gap:8px}
.stp-prog .r1{display:flex;align-items:baseline;gap:8px}
.stp-prog .r1 b{font-size:15px;font-weight:750;letter-spacing:-.01em}
.stp-prog .r1 .of{font-size:12.5px;color:var(--muted);font-weight:600}
.stp-prog .r1 .all{margin-left:auto;font-size:12.5px;color:var(--text-2);font-weight:600;background:none;border:0;cursor:pointer;display:flex;align-items:center;gap:6px;font-family:inherit;align-self:center}
.stp-prog .r1 .all:hover,.stp-prog .r1 .all:focus-visible{color:#fff}
.stp-prog .r1 .all[aria-pressed="true"]{color:var(--sp-violet-text)}
.stp-bar{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}
.stp-bar span{height:5px;border-radius:3px;background:rgba(255,255,255,.09)}
.stp-bar span.done{background:var(--sp-grad)}
.stp-bar span.cur{background:var(--sp-pink);box-shadow:0 0 10px rgba(212,215,221,.75)}
.stp-all .stp-bar span{background:rgba(169,173,182,.35)}
.stp-lbl{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;margin-top:-3px}
.stp-lbl button{background:none;border:0;font:600 11px Inter,sans-serif;color:var(--dim);text-align:left;padding:0;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stp-lbl button:hover{color:#fff}
.stp-lbl button.done{color:var(--text-2)}.stp-lbl button.cur{color:#ff7be6;font-weight:750}
/* start from a look */
.look{border-radius:var(--r-row);background:rgba(169,173,182,.07);box-shadow:inset 0 0 0 1px rgba(169,173,182,.22);margin:0 0 10px;padding:12px}
.look .look-f{display:none}
.look.folded{padding:0;background:none;box-shadow:none;margin-bottom:2px}
.look.folded .look-open{display:none}
.look.folded .look-f{display:block}
.look .lh{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700}
.look .lh small{font-weight:600;color:var(--muted);font-size:12px}
.look-row{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:10px;min-height:60px}
.lk{display:flex;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;color:var(--text-2);font:600 11.5px Inter,sans-serif;text-align:left;padding:0;min-width:0}
.lk .th{display:block;width:100%;aspect-ratio:4/3;border-radius:9px;background-size:cover;background-position:center;background-color:#120a1c;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.lk:hover .th{box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.lk.sel .th{box-shadow:0 0 0 2px var(--sp-pink),0 0 16px rgba(212,215,221,.45)}
.lk.sel{color:#fff}
.lk .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lk.more .th{display:grid;place-items:center;background:rgba(255,255,255,.04);color:var(--text-2);font-size:12px}
#stp-addons:empty{display:none}
#stp-addons{margin-top:10px}
/* recent designs (recent-ui.js) */
.rec{margin-top:11px;display:flex;flex-direction:column;gap:6px}
.rec .rh{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);font-weight:650;text-transform:uppercase;letter-spacing:.06em}
.rec .rh .ex{text-transform:none;letter-spacing:0}
.rec .rd-n{margin-left:auto;text-transform:none;letter-spacing:0;font-weight:600;color:var(--dim)}
.rec-row{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
.rd-w{position:relative;min-width:0}
.rd{display:flex;align-items:center;gap:8px;width:100%;height:38px;padding:0 26px 0 6px;border-radius:9px;background:var(--field);border:1px solid var(--edge);color:var(--text-2);font:600 12px Inter,sans-serif;cursor:pointer;min-width:0;text-align:left}
.rd:hover,.rd:focus-visible{border-color:rgba(200,140,255,.45);color:#fff}
.rd .rd-th{width:40px;height:26px;border-radius:5px;object-fit:cover;flex:none;background:#0b0612}
.rd .sw3{display:flex;flex:none;width:40px;height:26px;border-radius:5px;overflow:hidden}.rd .sw3 i{flex:1}
.rd .rd-t{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.rd .rd-t b,.rd .rd-t small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd .rd-t b{font-weight:650;color:var(--text)}.rd .rd-t small{font-size:11px;color:var(--muted);font-weight:550}
.rd-x{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:20px;height:20px;border-radius:6px;border:0;background:none;color:var(--dim);cursor:pointer;display:grid;place-items:center;font-size:14px;line-height:1}
.rd-x:hover,.rd-x:focus-visible{color:#fff;background:rgba(255,255,255,.08)}
.rd-empty{font-size:12.5px;color:var(--muted);line-height:1.45;padding:8px 10px;border-radius:9px;border:1px dashed rgba(255,255,255,.12)}
.rd-confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 10px;border-radius:9px;background:rgba(255,200,97,.07);box-shadow:inset 0 0 0 1px rgba(255,200,97,.25);font-size:12.5px;color:var(--text)}
.rd-confirm span{flex:1 1 180px}
.ex-tag{font-size:10.5px;font-weight:700;color:var(--warn);background:rgba(255,200,97,.1);border-radius:5px;padding:1px 6px}
/* step rows */
.stp{border-radius:var(--r-row);margin-bottom:2px}
.stp .sth{display:flex;align-items:center;gap:11px;min-height:40px;padding:0 10px;border-radius:var(--r-row);cursor:pointer;width:100%}
.stp .sth:focus-visible{outline:2px solid var(--sp-violet-text);outline-offset:-2px}
.stp:not(.open) .sth:hover{background:rgba(255,255,255,.03)}
.stp .nb{width:26px;height:26px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:12.5px;font-weight:800;color:var(--muted);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.16)}
.stp.done .nb{background:var(--sp-grad);color:#fff;box-shadow:none}
.stp.open .nb{display:none}
.stp.off .nb{background:rgba(255,255,255,.08);color:var(--text-2);box-shadow:none}
.stp .nm{font-weight:700;font-size:14px;flex:none}
.stp.open .nm,.stp.open .sum,.stp.open .opt,.stp.open .ed{display:none}
.stp:not(.open) .ni,.stp:not(.open) .ttl{display:none}
.stp.todo .nm{color:var(--text-2);font-weight:600}
.stp .sum{font-size:12.5px;color:var(--muted);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stp .sum .offt{color:var(--text-2);font-weight:700;background:rgba(255,255,255,.07);border-radius:5px;padding:1px 7px}
.stp .sum .dim{color:var(--dim)}
.stp .opt{font-size:11px;color:var(--dim);font-weight:600;margin-left:auto}
.stp .ed{font:650 12.5px Inter,sans-serif;color:var(--sp-violet-text);background:none;border:0;cursor:pointer;padding:5px 4px;flex:none}
.stp .ed:hover{color:#fff}
.stp .stog{flex:none;display:flex;align-items:center}
.stp.todo .sth{min-height:36px}
.stp.open{background:rgba(255,255,255,.025);box-shadow:inset 0 0 0 1px rgba(169,173,182,.28);margin:4px 0 6px}
.stp.open .sth{min-height:58px;cursor:pointer}
.stp-all .stp.open .sth{cursor:default}
.stp .ni{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#f4f4f6;background:rgba(169,173,182,.18);box-shadow:inset 0 0 0 1px rgba(200,140,255,.35),0 0 18px rgba(169,173,182,.45);flex:none}
.stp .ni svg{filter:drop-shadow(0 0 4px rgba(212,215,221,.8))}
.stp .ttl{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.stp .ttl b{font-size:16px;font-weight:750;letter-spacing:-.01em}
.stp .ttl small{font-size:12px;color:var(--muted);font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stp .bd{padding:2px 14px 14px;display:flex;flex-direction:column;gap:10px}
.stp:not(.open) .bd{display:none}
.stp.open .bd{pointer-events:auto}
#sign-body.sign-off>*:not(#sign-on-head):not(#sign-trial-note){opacity:.45}
#sign-trial-note[hidden]{display:none}
.stp-tracer{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
#burst-thumb{width:36px;height:36px;object-fit:contain;border-radius:6px;background:#120a1c}
.stp .bd .sb.sgn{padding:0}
.stp-more{display:flex;align-items:center;gap:8px;font:650 12.5px Inter,sans-serif;color:var(--text-2);background:none;border:0;cursor:pointer;padding:4px 0;align-self:flex-start}
.stp-more:hover{color:#fff}.stp-more svg{color:var(--dim)}
.stp-more-box{display:flex;flex-direction:column;gap:10px}
.stp-more-box[hidden]{display:none}
.stp-all .stp-more-box{display:flex}.stp-all .stp-more{display:none}
/* Particle PNGs section embedded in Glitter > More: keep its body, drop its accordion header */
.stp .sec.stp-embed{margin:0;background:none;box-shadow:none}
.stp .sec.stp-embed>.sh{display:none}
.stp .sec.stp-embed>.sb{display:flex;padding:0}
.stp-pack .stp-pack-r{display:flex;align-items:center;gap:10px;margin-left:auto}
.stp-pack{display:flex;align-items:center;gap:10px;font-size:13px}
/* nav footer */
.stp-nav{flex:none;display:flex;align-items:center;gap:10px;padding:10px 16px 12px;border-top:1px solid var(--edge);background:var(--panel)}
.stp-nav[hidden]{display:none}
.stp-nav .sp{flex:1}
.stp-nav .next{min-width:160px}
.stp-nav .skip{color:var(--text-2)}
.stp-ready{font-size:12.5px;color:var(--muted)}
.stp-ready[hidden],.stp-nav .btn[hidden]{display:none}
/* narrower windows (body min-width is 1180 px; the host window can go smaller): the auto-settings box shrinks first, then hides */
.hd .auto{flex:0 1 290px;min-width:160px}
@media (max-width:1250px){ #auto-settings{display:none!important} }
@media (max-width:1320px){ /* the scrubber gets its own full-width row, so its Flash / Sparks / Smoke / Logo labels never overlap */
  .tp{flex-wrap:wrap;row-gap:8px}
  .tp>#preview-timeline{flex:1 1 100%;order:-1;margin:0 4px}
}
@media (max-width:1100px){ .hd{gap:10px;padding:0 16px} .hd .proj{margin-left:6px} }
/* small window (under 1000 px wide, e.g. 902×654): stepper rules + kit fixes so Save / Help never clip and the timeline labels never overlap */
@media (max-width:1000px){
  .main{grid-template-columns:minmax(0,1fr) 372px!important;gap:12px!important;padding:0 14px 14px!important}
  #auto-settings,.mt-sub,#preview-hit,#preview-speed,.hd .by{display:none!important}
  .stp-lbl{display:none}
  .stp-prog{padding:10px 14px 9px}
  .stp .sum{font-size:12px}
  .stp .bd{padding:2px 12px 12px}
  .stp-nav{padding:9px 12px 10px}
  .stp-nav .next{min-width:140px}
  .look-row{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (max-height:700px){
  .stp.open .sth{min-height:50px}
  .stp .ttl small{display:none}
}

/* Smoke switch: the state is spelled out under the switch, and the smoke controls dim while it is off. */
.wiz-smoke .wiz-smoke-state{margin-top:6px;font-size:12.5px;font-weight:600;padding:6px 9px;border-radius:7px}
.wiz-smoke.is-on .wiz-smoke-state{color:#0b5e2a;background:#d9f7e3}
.wiz-smoke.is-off .wiz-smoke-state{color:#7a1b1b;background:#fde2e2}
.stp-dim{opacity:.45}
.glow-warn{margin-top:8px}

/* What FiveM has installed, under the export button and in the export dialog. */
.install-status{margin:6px 0 2px;font-size:12.5px}
.install-status[data-state="not-installed"],.xr-notinst{color:#7a1b1b;background:#fde2e2;border-radius:7px;padding:6px 9px;font-weight:600}
.install-status[data-state="installed"]{color:#0b5e2a}
.xr-layers{margin-top:8px}

/* Motion presets under Start from a look. */
.motion-presets{margin-top:10px}
.motion-presets .mp-seg button.on{outline:2px solid currentColor}
.motion-presets .mp-blurb{margin:6px 0}
.motion-presets .mp-col{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.motion-presets .mp-col input[type=color]{width:34px;height:26px;border:0;padding:0;background:none;border-radius:6px;cursor:pointer}
