/* 🪝 THE BATCH FLOW — steps + the Hooks review. Layout = Patrik's approved mock (design-1014/q_hooks.html, 10-14);
   look = the landing's: warm dark glass, the amber pill with the arrow disc for the ONE action, white pill for the
   batch-wide one, underlined small caps for the quiet ones, soft borderless pills for choices. "Less buttons". */
.bfl{position:relative;margin:4px 0 22px;display:flex;flex-direction:column;gap:18px}
.bfl[hidden]{display:none}
/* steps */
.bfl-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.bfl-st{display:flex;align-items:center;gap:12px;height:52px;padding:0 16px;border-radius:16px;cursor:pointer;text-align:left;
  background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);color:var(--tx2);font:500 14px/1 var(--ui);
  transition:background .2s ease,border-color .2s ease}
.bfl-st:hover{background:rgba(255,255,255,.05)}
.bfl-st i{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font:600 12px/1 var(--ui);font-style:normal;
  border:1px solid rgba(255,255,255,.18);color:var(--tx2)}
.bfl-st.done{color:var(--tx)}
.bfl-st.done i{background:var(--tx);color:#141210;border:0}
.bfl-st.now{background:linear-gradient(180deg,rgba(255,240,225,.07),rgba(255,255,255,.02));border-color:rgba(255,190,120,.22);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,235,210,.1),0 16px 30px -22px #000}
.bfl-st.now i{background:linear-gradient(180deg,var(--p-w89,#ffd9a8),var(--acc,#ff8a3d) 55%,var(--acc-d,#e4661b));color:#2a1608;border:0;
  box-shadow:0 0 14px rgba(255,138,61,.55)}
.bfl-st span{white-space:nowrap}
.bfl-st small{margin-left:auto;font-size:12px;color:var(--tx3,#8f877d);white-space:nowrap}
/* while reviewing hooks, the old grid and folder bar step aside */
body.bfl-hooks #projGrid, body.bfl-hooks #foldHow, body.bfl-hooks #foldEmpty{display:none!important}
body.bfl-busy .bfl-body{opacity:.6;pointer-events:none;transition:opacity .2s}
/* body */
.bfl-body{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:18px;align-items:start}
.bfl-list{display:flex;flex-direction:column;gap:10px;min-width:0}
.bfl-lh{display:flex;align-items:flex-end;gap:16px;margin:2px 2px 6px}
.bfl-lh h2{font:500 24px/1.15 var(--disp);letter-spacing:-.02em;color:var(--tx);margin:0}
.bfl-lh p{color:var(--tx3,#8f877d);font-size:13.5px;margin:6px 0 0;max-width:62ch}
.bfl-all{margin-left:auto;flex:none;height:38px;padding:0 18px;border-radius:999px;border:0;cursor:pointer;
  background:#f4f1ec;color:#141210;font:600 13.5px/1 var(--ui);box-shadow:0 8px 24px -12px rgba(255,255,255,.3)}
.bfl-all:hover{background:#fff}
.bfl-row{display:grid;grid-template-columns:64px minmax(0,1fr) minmax(220px,300px) 34px;gap:16px;align-items:center;padding:12px 14px;
  border-radius:18px;cursor:pointer;background:rgba(255,255,255,.022);border:1px solid rgba(255,255,255,.06);transition:background .2s,border-color .2s}
.bfl-row:hover{background:rgba(255,255,255,.04)}
.bfl-row.on{background:linear-gradient(180deg,rgba(255,240,225,.06),rgba(255,255,255,.02));border-color:rgba(255,138,61,.45);
  box-shadow:inset 0 1px 0 rgba(255,235,210,.08),0 0 0 1px rgba(255,138,61,.15),0 18px 34px -22px #000}
.bfl-th{width:64px;aspect-ratio:9/16;border-radius:10px;background:#1a1716 center/cover;position:relative;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.bfl-th b{position:absolute;left:3px;right:3px;top:16%;text-align:center;font:400 9px/.95 'Anton','Bebas Neue',var(--ui);color:#fff;text-transform:uppercase;text-shadow:0 2px 6px #000}
.bfl-scr{min-width:0}
.bfl-scr b{font:600 14px var(--ui);color:var(--tx)}.bfl-scr b span{font-weight:400;color:var(--tx3,#8f877d);margin-left:8px;font-size:12.5px}
.bfl-scr p{margin:5px 0 0;color:var(--tx2);font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bfl-scr mark{background:rgba(255,138,61,.16);color:#fff;border-bottom:1.5px solid var(--acc,#ff8a3d);border-radius:3px;padding:0 2px;font-weight:600}
.bfl-opts{display:flex;flex-direction:column;gap:5px;min-width:0}
.bfl-opt{height:30px;padding:0 14px;border-radius:999px;border:0;cursor:pointer;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  background:rgba(255,255,255,.04);color:var(--tx2);font:400 14px/30px 'Anton','Bebas Neue',var(--ui);letter-spacing:.3px;text-transform:uppercase}
.bfl-opt:hover{background:rgba(255,255,255,.08);color:#fff}
.bfl-opt.sel{background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.bfl-opt.sel::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--acc,#ff8a3d);box-shadow:0 0 8px var(--acc,#ff8a3d);margin-right:8px;vertical-align:2px}
.bfl-none{color:var(--tx3,#8f877d);font-size:12.5px}
.bfl-ck{width:30px;height:30px;border-radius:50%;border:1.5px solid rgba(255,255,255,.2);background:none;cursor:pointer;color:#141210;font:700 13px/1 var(--ui)}
.bfl-ck:hover{border-color:rgba(255,255,255,.5)}
.bfl-ck.y{background:var(--tx);border:0}
/* the change panel */
.bfl-ed{position:sticky;top:76px;border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:12px;overflow:hidden;
  background:linear-gradient(180deg,rgba(255,240,225,.05),rgba(255,255,255,.012) 46%),#121010;border:1px solid rgba(255,190,120,.14);
  box-shadow:inset 0 1px 0 rgba(255,235,210,.1),0 30px 60px -30px #000}
.bfl-ed::before{content:'';position:absolute;right:-90px;top:-110px;width:320px;height:260px;border-radius:50%;background:var(--acc,#ff8a3d);filter:blur(80px);opacity:.16;pointer-events:none}
.bfl-eh{position:relative;display:flex;align-items:baseline;gap:10px}
.bfl-eh b{font:500 17px var(--disp);letter-spacing:-.01em;color:var(--tx)}.bfl-eh small{margin-left:auto;color:var(--tx3,#8f877d);font-size:12px}
.bfl-stage{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px}
.bfl-ph{aspect-ratio:9/16;border-radius:14px;background:#1a1716 center/cover;position:relative;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.bfl-hb{position:absolute;left:8px;right:8px;top:14%;text-align:center;font:400 21px/.92 'Anton','Bebas Neue',var(--ui);color:#fff;text-transform:uppercase;
  text-shadow:0 4px 16px rgba(0,0,0,.7);outline:1.5px solid #fff;outline-offset:5px;border-radius:2px}
.bfl-side{display:flex;flex-direction:column;gap:8px;min-width:0}
.bfl-lab{position:relative;color:var(--tx3,#8f877d);font:600 11px/1.3 var(--ui);letter-spacing:.08em;text-transform:uppercase}
.bfl-words{display:flex;flex-wrap:wrap;gap:6px}
.bfl-w{height:28px;padding:0 11px;border-radius:999px;border:0;cursor:pointer;background:rgba(255,255,255,.05);color:var(--tx);font:500 12.5px/1 var(--ui)}
.bfl-w i{font-style:normal;margin-left:5px;color:var(--tx3,#8f877d);font-size:11px}
.bfl-w:hover{background:rgba(255,138,61,.16);box-shadow:inset 0 0 0 1px rgba(255,138,61,.5)}
.bfl-field{width:100%;resize:none;border-radius:14px;padding:10px 12px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.1);
  color:#fff;font:400 18px/1.05 'Anton','Bebas Neue',var(--ui);text-transform:uppercase;outline:none}
.bfl-field:focus{border-color:rgba(255,190,120,.4)}
.bfl-tip{color:var(--tx3,#8f877d);font-size:11px}
.bfl-alts{position:relative;display:flex;flex-direction:column;gap:6px}
.bfl-alt{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;border:0;cursor:pointer;text-align:left;background:rgba(255,255,255,.035);color:var(--tx)}
.bfl-alt:hover{background:rgba(255,255,255,.07)}
.bfl-alt b{font:400 15px 'Anton','Bebas Neue',var(--ui);letter-spacing:.3px;text-transform:uppercase}
.bfl-alt small{margin-left:auto;color:var(--tx3,#8f877d);font-size:11.5px;white-space:nowrap}
.bfl-alt.more b{text-transform:none;font:600 13.5px var(--ui)}
.bfl-acts{position:relative;display:flex;align-items:center;gap:14px;margin-top:4px}
.bfl-link{border:0;background:none;cursor:pointer;color:rgba(255,255,255,.75);font:600 11.5px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase;
  text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(255,255,255,.3);padding:0}
.bfl-link:disabled{opacity:.35;cursor:default}
.bfl-go{margin-left:auto;display:inline-flex;align-items:center;gap:12px;height:46px;padding:0 7px 0 22px;border-radius:999px;border:0;cursor:pointer;
  background:linear-gradient(180deg,var(--p-w89,#ffd9a8) 0%,var(--acc,#ff8a3d) 55%,var(--acc-d,#e4661b) 100%);color:#2a1608;font:700 14px/1 var(--ui);
  box-shadow:0 0 0 1px rgba(255,138,61,.2),0 14px 34px -10px rgba(255,138,61,.55),inset 0 1px 0 rgba(255,255,255,.5);transition:transform .2s}
.bfl-go:hover{transform:translateY(-1px)}
.bfl-go .arr{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.3);font-size:15px}
@media (max-width:1280px){ .bfl-body{grid-template-columns:1fr} .bfl-ed{position:relative;top:0} .bfl-steps{grid-template-columns:repeat(5,minmax(120px,1fr));overflow-x:auto} }
@media (max-width:760px){ .bfl-row{grid-template-columns:52px 1fr;} .bfl-opts{grid-column:1/-1} .bfl-ck{grid-column:2;justify-self:end} .bfl-st small{display:none} }

/* Add clips: the footer with "Add selected" stays in view while the library scrolls (Patrik 2026-10-14: "the Add Selected
   button is at the bottom all the way so I have to scroll and I have 200 reels"). Only the grid scrolls now. */
#foldPick .foldmodal-box{display:flex!important;flex-direction:column;max-height:calc(100vh - 48px)!important;overflow:hidden!important}
#foldPick .foldmodal-head,#foldPick .folddrop,#foldPick .foldprog,#foldPick .foldmodal-sec{flex:none}
#foldPick #foldPickGrid{flex:1 1 auto;min-height:0;overflow-y:auto;padding:2px 4px 12px 2px;align-content:start}
#foldPick .foldmodal-foot{flex:none;position:relative;margin:0!important;padding:14px 0 2px!important;border-top:1px solid rgba(255,255,255,.08);
  background:inherit;box-shadow:0 -18px 24px -18px rgba(0,0,0,.9)}
#foldPick #foldPickAdd:not(:disabled){border:0;border-radius:999px;padding:0 20px;height:40px;color:#2a1608;font-weight:700;
  background:linear-gradient(180deg,var(--p-w89,#ffd9a8) 0%,var(--acc,#ff8a3d) 55%,var(--acc-d,#e4661b) 100%);
  box-shadow:0 10px 26px -10px rgba(255,138,61,.6),inset 0 1px 0 rgba(255,255,255,.45)}
#foldPick #foldPickCancel{border:0;background:none;color:rgba(255,255,255,.75);font:600 11.5px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase;text-decoration:underline;text-underline-offset:5px}

/* ===== THE BATCH PAGE (10-14): while a folder is open, the batch is the whole page ===== */
body.bfl-on #homeTools, body.bfl-on #homeHero, body.bfl-on #uploadCard, body.bfl-on #homeCont,
body.bfl-on #projCard .kp-head, body.bfl-on #foldName, body.bfl-on #foldHow, body.bfl-on #foldEmpty{display:none!important}
html body.bfl-on:not(.editing) #projCard#projCard{margin-top:28px!important;border-top:0!important}
.bfl-head{display:flex;flex-direction:column;gap:14px;margin:6px 0 4px}
.bfl-crumb{color:#8f877d;font:500 13.5px/1 var(--ui)}.bfl-crumb b{color:#f6f1ea;font-weight:600}
.bfl-hrow{display:flex;align-items:flex-end;gap:24px}
.bfl-hrow h1{margin:0;font:600 clamp(28px,2.6vw,38px)/1.1 var(--ui);letter-spacing:-.03em;color:#f6f1ea}
.bfl-hrow p{margin:8px 0 0;color:#cdbcb4;font-size:15px}
.bfl-kpis{margin-left:auto;display:flex;gap:10px}
.bfl-kpis div{min-width:120px;padding:12px 16px;border-radius:16px;background:rgba(14,12,11,.6);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.bfl-kpis b{display:block;font:600 24px/1.1 var(--ui);letter-spacing:-.02em;color:#f6f1ea}.bfl-kpis span{color:#8f877d;font-size:12px}
/* the folder's own action bar becomes the quiet action row under the header */
body.bfl-on #foldBar{display:flex!important;gap:10px;align-items:center;margin:0 0 4px;padding:0;background:none;border:0}
body.bfl-on #foldBar .foldsp{flex:1}
body.bfl-on #foldBar button{height:36px;padding:0 16px;border-radius:999px;font:600 13px/1 var(--ui);background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);color:#f6f1ea;box-shadow:none}
body.bfl-on #foldBar button:hover{background:rgba(255,255,255,.09)}
body.bfl-on #foldBar #foldRender{border:0;color:#141210;background:#f4f1ec}
body.bfl-on #foldBar #foldDel{background:none;border:0;color:#8f877d;text-decoration:underline;text-underline-offset:4px;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase}
/* empty batch: one big drop zone */
.bfl-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:340px;padding:40px 24px;border-radius:24px;cursor:pointer;
  text-align:center;border:1.5px dashed rgba(255,190,120,.22);background:radial-gradient(60% 70% at 50% 30%,rgba(255,106,26,.16),transparent 70%),rgba(255,255,255,.015);
  transition:border-color .2s,background .2s}
.bfl-drop:hover,.bfl-drop.over{border-color:rgba(255,138,61,.6);background:radial-gradient(60% 70% at 50% 30%,rgba(255,106,26,.26),transparent 70%),rgba(255,255,255,.025)}
.bfl-drop b{font:600 22px/1.2 var(--ui);color:#f6f1ea;letter-spacing:-.01em}
.bfl-drop > span:not(.bfl-dropbtn){color:#8f877d;font-size:14px;max-width:46ch}
.bfl-dropbtn{margin-top:8px;display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 8px 0 22px;border-radius:999px;color:#2a1608;font:700 14px/1 var(--ui);
  background:linear-gradient(180deg,#ffd9a8 0%,#ff8a3d 55%,#e4661b 100%);box-shadow:0 14px 34px -12px rgba(255,138,61,.6),inset 0 1px 0 rgba(255,255,255,.5)}
.bfl-dropbtn em{font-style:normal;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.3)}
.bfl-fan{position:relative;width:180px;height:110px;margin-bottom:6px}
.bfl-fan i{position:absolute;bottom:0;left:50%;width:62px;height:96px;margin-left:-31px;border-radius:12px;border:3px solid #f4efe9;
  background:linear-gradient(160deg,rgba(255,138,61,.6),rgba(120,40,10,.6) 55%,#1a1513);transform-origin:50% 100%}
.bfl-fan i:nth-child(1){transform:translateX(-46px) rotate(-14deg)}.bfl-fan i:nth-child(3){transform:translateX(46px) rotate(14deg)}
.bfl-fan i:nth-child(2){transform:translateY(-8px);z-index:1}
/* the reels: the batch grid reads as reels, larger */
body.bfl-on #projGrid.projgrid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important;margin-top:18px}
@media (max-width:900px){ .bfl-hrow{flex-direction:column;align-items:flex-start} .bfl-kpis{margin-left:0} }
.bfl-head{background:none!important;position:static!important;padding:0!important;border:0!important;text-align:left}
.bfl-note{display:flex;align-items:center;gap:18px;padding:18px 20px;border-radius:18px;background:linear-gradient(180deg,rgba(255,240,225,.05),rgba(255,255,255,.015));
  border:1px solid rgba(255,190,120,.16);box-shadow:inset 0 1px 0 rgba(255,235,210,.08)}
.bfl-note > div{display:flex;flex-direction:column;gap:4px}
.bfl-note b{font:600 16px/1.3 var(--ui);color:#f6f1ea}.bfl-note span{color:#a99f94;font-size:13.5px;max-width:70ch}
/* the per-reel Approve under each picture: a soft pill; approved = the white tick pill (10-14) */
body.bfl-on #projGrid .pc.fmem .apbtn{width:auto!important;margin:8px 2px 0!important;height:30px;padding:0 14px!important;border-radius:999px!important;
  background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important;color:#d9d1c7!important;font:600 12.5px/1 var(--ui)!important;display:inline-flex;align-items:center;gap:6px}
body.bfl-on #projGrid .pc.fmem .apbtn:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
body.bfl-on #projGrid .pc.fmem .apbtn.on{background:#f4f1ec!important;border-color:transparent!important;color:#141210!important}
body.bfl-on #projGrid .pc.appr .th{box-shadow:0 0 0 1.5px rgba(244,241,236,.85)}

/* ===== tidier batch page (10-14 pm): meta line, actions in the header, one slim step bar, the fast-captions strip ===== */
.bfl-meta{display:flex;align-items:center;gap:10px;margin-top:12px;color:#a99f94;font:500 13px/1 var(--ui)}
.bfl-meta i{width:3px;height:3px;border-radius:50%;background:#5c554e}
.bfl-hrow{align-items:flex-end}
.bfl-acts2{margin-left:auto;display:flex;align-items:center}
.bfl-acts2 #foldBar{margin:0!important}
/* the steps: one track, the current step raised inside it */
.bfl-steps{gap:4px!important;padding:5px;border-radius:18px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07)}
.bfl-st{height:44px!important;border:0!important;background:none!important;border-radius:13px!important;box-shadow:none!important}
.bfl-st:hover{background:rgba(255,255,255,.04)!important}
.bfl-st.now{background:linear-gradient(180deg,#2c2928,#232120)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 18px -10px #000!important}
.bfl-st small{max-width:12ch;overflow:hidden;text-overflow:ellipsis}
/* fast captions */
.bfl-strip{display:flex;flex-direction:column;gap:14px;padding:18px 20px 20px;border-radius:20px;background:linear-gradient(180deg,rgba(255,240,225,.045),rgba(255,255,255,.012));
  border:1px solid rgba(255,190,120,.14);box-shadow:inset 0 1px 0 rgba(255,235,210,.08)}
.bfl-sh{display:flex;align-items:flex-end;gap:16px}
.bfl-sh > div{display:flex;flex-direction:column;gap:4px}
.bfl-sh b{font:600 16px/1.3 var(--ui);color:#f6f1ea}.bfl-sh span{color:#a99f94;font-size:13.5px}
.bfl-sh .bfl-link{margin-left:auto}
.bfl-row2{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x proximity}
.bfl-row2::-webkit-scrollbar{height:8px}.bfl-row2::-webkit-scrollbar-thumb{background:rgba(255,255,255,.14);border-radius:8px}
.bfl-sty{flex:none;width:150px;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;padding:0;border:0;background:none;cursor:pointer;text-align:left}
.bfl-sty .pv{height:96px;border-radius:14px;background:#0f0d0c center/cover no-repeat;border:1px solid rgba(255,255,255,.08);display:grid;place-items:center;
  transition:transform .2s var(--ease),border-color .2s}
.bfl-sty .pv b{font:700 15px/1.05 var(--ui);color:#fff;text-transform:uppercase;text-align:center;padding:0 10px}
.bfl-sty:hover .pv{transform:translateY(-2px);border-color:rgba(255,190,120,.45)}
.bfl-sty.on .pv{border-color:#f4f1ec;box-shadow:0 0 0 1px #f4f1ec inset}
.bfl-sty .nm{color:#d9d1c7;font:500 12.5px/1.2 var(--ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ===== HOOKS, MINIMAL (10-14 pm): one reel, three choices, one design row, approve & next, a filmstrip ===== */
.hk{display:flex;flex-direction:column;gap:18px}
.hk-top{display:flex;align-items:center;gap:14px}
.hk-prog{color:#a99f94;font:500 13.5px/1 var(--ui);white-space:nowrap}.hk-prog b{color:#f6f1ea;font-weight:600}
.hk-bar{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.08);overflow:hidden}.hk-bar i{display:block;height:100%;background:#f4f1ec;border-radius:3px;transition:width .4s}
.hk-main{display:grid;grid-template-columns:300px minmax(0,560px);gap:40px;justify-content:center;align-items:start;padding:8px 0}
.hk-reel{aspect-ratio:9/16;border-radius:24px;background:#141211 center/cover;position:relative;box-shadow:0 40px 80px -40px #000,0 0 0 1px rgba(255,255,255,.1)}
.hk-on{position:absolute;left:10%;right:10%;top:16%;text-align:center;font:400 34px/.92 'Anton','Bebas Neue',var(--ui);color:#fff;text-transform:uppercase;text-shadow:0 4px 18px rgba(0,0,0,.65)}
.hk-on.lk-grad{background:linear-gradient(180deg,#fff,#FF8A3D);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}
.hk-on.lk-gold{background:linear-gradient(180deg,#FFF1C2,#E8A33A);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}
.hk-on.lk-glow{text-shadow:0 0 18px #FF8A3D,0 0 36px rgba(255,138,61,.7)}
.hk-on.lk-outline{-webkit-text-stroke:2px #000;text-shadow:none}
.hk-on.lk-shine{background:linear-gradient(100deg,#fff 40%,#ffe2c4 50%,#fff 60%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}
.hk-pick{display:flex;flex-direction:column;gap:10px;padding-top:6px}
.hk-pick h3{margin:2px 0 6px;font:600 26px/1.15 var(--ui);letter-spacing:-.02em;color:#f6f1ea}
.hk-lab{color:#8f877d;font:500 12px/1.3 var(--ui);margin-top:8px}
.hk-opts{display:flex;flex-direction:column;gap:8px}
.hk-opt{display:flex;align-items:center;gap:14px;width:100%;min-height:56px;padding:10px 16px;border-radius:16px;cursor:pointer;text-align:left;
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);color:#d9d1c7;transition:background .2s,border-color .2s}
.hk-opt:hover{background:rgba(255,255,255,.06);color:#fff}
.hk-opt.on{background:linear-gradient(180deg,rgba(255,240,225,.08),rgba(255,255,255,.03));border-color:rgba(255,214,170,.4);color:#fff}
.hk-n{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font:600 11.5px/1 var(--ui);border:1px solid rgba(255,255,255,.2);color:#a99f94}
.hk-opt.on .hk-n{background:#f4f1ec;color:#141210;border:0}
.hk-t{font:400 19px/1.05 'Anton','Bebas Neue',var(--ui);letter-spacing:.3px;text-transform:uppercase}
.hk-empty{color:#8f877d;font-size:14px;margin:4px 0}
.hk-more{align-self:flex-start;border:0;background:none;cursor:pointer;color:#cdbcb4;font:500 13px/1 var(--ui);padding:4px 0}
.hk-more:hover{color:#fff}
.hk-field{width:100%;resize:none;border-radius:14px;padding:12px 14px;background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.09);color:#fff;
  font:400 19px/1.05 'Anton','Bebas Neue',var(--ui);text-transform:uppercase;outline:none}
.hk-field:focus{border-color:rgba(255,214,170,.4)}
.hk-ws{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:#8f877d;font-size:12.5px}
.hk-ws span{margin-right:2px}
.hk-w{height:26px;padding:0 10px;border-radius:999px;border:0;cursor:pointer;background:rgba(255,255,255,.05);color:#d9d1c7;font:500 12px/1 var(--ui)}
.hk-w:hover{background:rgba(255,255,255,.1);color:#fff}
.hk-looks{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.hk-look{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px 8px;border-radius:14px;cursor:pointer;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);color:#a99f94;font:500 11.5px/1 var(--ui)}
.hk-look b{font:400 22px/1 'Anton',var(--ui);color:#fff}
.hk-look:hover{background:rgba(255,255,255,.06)}
.hk-look.on{border-color:rgba(255,214,170,.45);background:rgba(255,255,255,.06);color:#fff}
.lk-grad b{background:linear-gradient(180deg,#fff,#FF8A3D);-webkit-background-clip:text;background-clip:text;color:transparent}
.lk-gold b{background:linear-gradient(180deg,#FFF1C2,#E8A33A);-webkit-background-clip:text;background-clip:text;color:transparent}
.lk-glow b{text-shadow:0 0 12px #FF8A3D}
.lk-outline b{-webkit-text-stroke:1.5px #fff;color:transparent}
.lk-shine b{background:linear-gradient(100deg,#fff 35%,#ffd2a8 50%,#fff 65%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hk-acts{display:flex;align-items:center;gap:18px;margin-top:14px}
.hk-acts .bfl-go{margin-left:auto}
.hk-strip{display:flex;gap:10px;overflow-x:auto;padding:6px 2px 10px;justify-content:center}
.hk-fr{flex:none;width:58px;aspect-ratio:9/16;border-radius:10px;background:#141211 center/cover;border:1.5px solid transparent;cursor:pointer;position:relative;opacity:.55;transition:opacity .2s,transform .2s}
.hk-fr:hover{opacity:.9}
.hk-fr.on{opacity:1;border-color:#f4f1ec;transform:translateY(-3px)}
.hk-fr span{position:absolute;left:5px;top:5px;font:600 10px/1 var(--ui);color:#fff;text-shadow:0 1px 3px #000}
.hk-fr.ok::after{content:'✓';position:absolute;right:4px;bottom:4px;width:16px;height:16px;border-radius:50%;background:#f4f1ec;color:#141210;font:700 10px/16px var(--ui);text-align:center}
@media (max-width:1100px){ .hk-main{grid-template-columns:220px 1fr;gap:24px} .hk-looks{grid-template-columns:repeat(3,1fr)} }

/* less on the batch page: the editor's batch bar never shows outside the editor; the style chip and Apply to all live in the steps */
body.bfl-on:not(.editing) #batchBar, body.bfl-on:not(.editing) #batchApplyBtn{display:none!important}
body.bfl-on #foldBar #foldStyle, body.bfl-on #foldBar #foldApplyAll{display:none!important}

/* a plain folder: no steps, no batch actions */
body.bfl-plain #foldBar #foldRender, body.bfl-plain #foldBar #foldDlAll{display:none!important}
.bfl-up{display:flex;align-items:center;gap:10px;margin-top:6px;color:#8f877d;font-size:13.5px}
.bfl-up em{font:700 9.5px/1 var(--ui);font-style:normal;padding:3px 6px;border-radius:6px;background:rgba(255,106,26,.14);color:#ff9a5a}
/* batches wear a small mark in the sidebar list */
#foldList .libitem.is-batch > span::after{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#ff8a3d;margin-left:8px;vertical-align:2px;box-shadow:0 0 6px rgba(255,138,61,.6)}
/* hook position + size (10-14) */
.hk-pos{display:flex;align-items:center;gap:10px}
.hk-seg{display:flex;gap:4px;padding:4px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}
.hk-pb{height:32px;padding:0 14px;border-radius:9px;border:0;background:none;cursor:pointer;color:#a99f94;font:500 13px/1 var(--ui)}
.hk-pb:hover{color:#fff}.hk-pb.on{background:rgba(255,255,255,.1);color:#fff}
.hk-size{display:flex;align-items:center;gap:6px;margin-left:auto;padding:4px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}
.hk-size span{min-width:44px;text-align:center;color:#d9d1c7;font:500 13px/1 var(--ui);font-variant-numeric:tabular-nums}
.hk-sz{width:32px;height:32px;border-radius:9px;border:0;background:none;cursor:pointer;color:#f6f1ea;font:500 17px/1 var(--ui)}
.hk-sz:hover{background:rgba(255,255,255,.08)}
.hk-on{touch-action:none;user-select:none}

/* ===== the hook panel in the Captions-tab language (10-14 pm): one glass card, underline tabs, tiles with a name below ===== */
.hk-main{grid-template-columns:320px minmax(0,560px)!important;gap:28px!important}
.hk-panel{display:flex;flex-direction:column;border-radius:22px;overflow:hidden;
  background:linear-gradient(180deg,rgba(255,240,225,.045),rgba(255,255,255,.012) 40%),#141211;border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,235,210,.08),0 30px 60px -36px #000}
.hk-tabs{display:flex;padding:6px 10px 0;border-bottom:1px solid rgba(255,255,255,.07)}
.hk-tab{flex:1;height:46px;border:0;background:none;cursor:pointer;color:#8f877d;font:600 13.5px/1 var(--ui);border-bottom:2px solid transparent;margin-bottom:-1px}
.hk-tab:hover{color:#d9d1c7}
.hk-tab.on{color:#f6f1ea;border-bottom-color:#f6f1ea}
.hk-body{display:flex;flex-direction:column;gap:10px;padding:18px 18px 8px;min-height:420px}
.hk-meta{display:flex;align-items:baseline;gap:10px;margin-bottom:4px}
.hk-meta b{font:600 15px/1.2 var(--ui);color:#f6f1ea}.hk-meta span{color:#8f877d;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hk-lab{margin-top:6px!important;font-size:11.5px!important;letter-spacing:.06em;text-transform:uppercase;color:#7c746b!important}
/* design tiles: Captions-tile anatomy (preview on a ground, name under it) */
.hk-dgrid,.hk-pgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hk-dt,.hk-pt{display:flex;flex-direction:column;border-radius:14px;overflow:hidden;cursor:pointer;padding:0;text-align:left;
  background:#0f0d0c;border:1px solid rgba(255,255,255,.08);transition:border-color .2s,transform .2s}
.hk-dt:hover,.hk-pt:hover{border-color:rgba(255,255,255,.22);transform:translateY(-1px)}
.hk-dt.on,.hk-pt.on{border-color:#f4f1ec;box-shadow:0 0 0 1px #f4f1ec inset}
.hk-dt .pv{height:96px;display:grid;place-items:center;padding:0 8px;background:radial-gradient(120% 90% at 50% 0%,#2b1a12,#0c0b0a 78%);border-bottom:1px solid rgba(255,255,255,.05)}
.hk-dt .pv .hk-on{position:static;font-size:17px;line-height:.95;text-align:center}
.hk-dt .nm,.hk-pt .nm{padding:9px 11px;color:#d9d1c7;font:600 12.5px/1 var(--ui)}
.hk-dt.on .nm,.hk-pt.on .nm{color:#fff}
.hk-pt .pv{position:relative;height:120px;margin:10px auto 0;width:62px;border-radius:9px;background:#1d1a18;border:1px solid rgba(255,255,255,.1)}
.hk-pt .pv i{position:absolute;left:8px;right:8px;height:10px;border-radius:3px;background:#f4f1ec}
.hk-pt .nm{text-align:center}
.hk-size{margin-left:0!important;align-self:flex-start}
.hk-foot{display:flex;align-items:center;gap:18px;padding:14px 18px 16px;border-top:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.18)}
.hk-foot .bfl-go{margin-left:auto}
.hk-opt{min-height:52px!important;border-radius:14px!important}
.hk-tab,.hk-tab:hover,.hk-tab:focus,.hk-tab.on{background:none!important;box-shadow:none!important;border-radius:0!important;outline:none}
.hk-tab:focus-visible{outline:2px solid rgba(244,241,236,.6)!important;outline-offset:-6px}

/* ===== the hook STYLE editor (10-15): the Captions tab's style editor anatomy ===== */
.hk-body{max-height:620px;overflow-y:auto}
.hs-name{display:flex;gap:10px;align-items:center}
.hs-in{flex:1;height:40px;border-radius:10px;padding:0 14px;background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.1);color:#f6f1ea;font:500 13.5px/1 var(--ui);outline:none}
.hs-in:focus{border-color:rgba(255,214,170,.4)}
.hs-save{height:40px!important;padding:0 18px!important;margin:0!important}
.hs-tiles{display:flex;gap:8px;overflow-x:auto;padding:2px 0 6px}
.hs-tile{flex:none;width:92px;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;cursor:pointer;padding:0;background:#0f0d0c;border:1px solid rgba(255,255,255,.08)}
.hs-tile:hover{border-color:rgba(255,255,255,.22)}.hs-tile.on{border-color:#f4f1ec;box-shadow:0 0 0 1px #f4f1ec inset}
.hs-tile .pv{height:54px;display:grid;place-items:center;background:radial-gradient(120% 90% at 50% 0%,#2b1a12,#0c0b0a 78%)}
.hs-tile .pv b{font:400 22px/1 'Anton',var(--ui)}
.hs-tile .nm{padding:6px 8px;color:#d9d1c7;font:600 11px/1.2 var(--ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-tile .nm em{font-style:normal;font-size:9px;color:#8f877d}
.hs-card{border-radius:16px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02)}
.hs-ch{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border:0;background:none;cursor:pointer;
  color:#f6f1ea;font:700 12.5px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase}
.hs-ch i{font-style:normal;color:#8f877d;font-size:14px}
.hs-cb{display:flex;flex-direction:column;gap:10px;padding:0 16px 16px}
.hs-fh{display:flex;align-items:center;justify-content:space-between;color:#8f877d;font:600 11px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase;margin-top:4px}
.hs-bi{display:flex;gap:6px}
.hs-b,.hs-i{width:28px;height:28px;border-radius:8px;border:1px solid rgba(255,255,255,.12);background:none;cursor:pointer;color:#8f877d;font:700 12px/1 var(--ui)}
.hs-i{font-style:italic;font-family:Georgia,serif}
.hs-b.on,.hs-i.on{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.3)}
.hs-font{height:46px;border-radius:12px;padding:0 14px;background:#0f0d0c;border:1px solid rgba(255,255,255,.1);color:#f6f1ea;font:600 15px/1 var(--ui);outline:none;appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,#8f877d 50%),linear-gradient(135deg,#8f877d 50%,transparent 50%);background-position:calc(100% - 18px) 21px,calc(100% - 13px) 21px;background-size:5px 5px;background-repeat:no-repeat}
.hs-row{display:grid;grid-template-columns:auto 1fr auto auto 1fr auto;gap:10px;align-items:center;margin-top:6px;color:#d9d1c7;font-size:13px}
.hs-row output{color:#8f877d;font-variant-numeric:tabular-nums;min-width:38px;text-align:right}
.hs-rng{-webkit-appearance:none;appearance:none;height:4px;border-radius:4px;background:rgba(255,255,255,.14);min-width:0}
.hs-rng::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.6)}
.hs-lab{display:block;color:#8f877d;font:600 11px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.hs-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hs-two.w{grid-template-columns:1fr 130px}
.hs-col{width:100%;height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:#0f0d0c;padding:4px;cursor:pointer}
.hs-col::-webkit-color-swatch-wrapper{padding:0}.hs-col::-webkit-color-swatch{border:0;border-radius:6px}
.hs-sw{width:34px;height:28px;border-radius:8px;border:1px solid rgba(255,255,255,.14);background:#0f0d0c;padding:2px;cursor:pointer}
.hs-sw::-webkit-color-swatch-wrapper{padding:0}.hs-sw::-webkit-color-swatch{border:0;border-radius:5px}
.hs-seg{display:flex;gap:2px;padding:3px;border-radius:11px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
.hs-seg button{flex:1;height:32px;border:0;border-radius:8px;background:none;cursor:pointer;color:#8f877d;font:600 12.5px/1 var(--ui);white-space:nowrap;padding:0 8px}
.hs-seg button:hover{color:#fff}.hs-seg button.on{background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.hs-inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hs-inline .hs-lab{margin:0;min-width:64px}
.hs-inline label{color:#8f877d;font-size:12.5px}
.hs-inline .hs-rng{width:110px}
.hs-mot{display:flex;flex-wrap:wrap;gap:6px}
.hs-mot button{height:30px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.03);cursor:pointer;color:#d9d1c7;font:500 12.5px/1 var(--ui)}
.hs-mot button:hover{color:#fff}.hs-mot button.on{background:rgba(255,255,255,.12);border-color:#f4f1ec;color:#fff}
.hk-on .ln{display:inline}

/* ===== one place for each action (10-15): the folder bar is never shown on a batch; its buttons are pressed from the steps ===== */
body.bfl-on:not(.bfl-plain) #foldBar{display:none!important}
.bfl-hrow{align-items:center!important}
.bfl-more{position:relative;margin-left:auto}
.bfl-acts2:empty{display:none}
.bfl-dots{width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);cursor:pointer;color:#f6f1ea;font:600 18px/1 var(--ui)}
.bfl-dots:hover{background:rgba(255,255,255,.08)}
.bfl-menu{position:absolute;right:0;top:46px;z-index:20;min-width:180px;padding:6px;border-radius:14px;background:#1a1716;border:1px solid rgba(255,255,255,.1);box-shadow:0 20px 40px -12px #000}
.bfl-menu[hidden]{display:none}
.bfl-menu button{display:block;width:100%;text-align:left;padding:10px 12px;border-radius:9px;border:0;background:none;cursor:pointer;color:#f6f1ea;font:500 13.5px/1 var(--ui)}
.bfl-menu button:hover{background:rgba(255,255,255,.06)}
.bfl-menu button.danger{color:#ff8f7a}
.bfl-acts3{display:flex;align-items:center;gap:18px;margin-left:auto}
.bfl-note > .bfl-go{margin-left:auto}
/* approve = a tick on the picture, not a pill under it */
body.bfl-on #projGrid .pc.fmem{position:relative}
body.bfl-on #projGrid .pc.fmem .apbtn{position:absolute!important;left:10px;top:10px;width:30px!important;height:30px!important;margin:0!important;padding:0!important;
  border-radius:50%!important;font-size:0!important;background:rgba(12,10,9,.6)!important;border:1.5px solid rgba(255,255,255,.55)!important;backdrop-filter:blur(8px);z-index:3;display:grid!important;place-items:center}
body.bfl-on #projGrid .pc.fmem .apbtn::before{content:'✓';font:700 14px/1 var(--ui);color:rgba(255,255,255,.35)}
body.bfl-on #projGrid .pc.fmem .apbtn:hover::before{color:#fff}
body.bfl-on #projGrid .pc.fmem .apbtn.on{background:#f4f1ec!important;border-color:#f4f1ec!important}
body.bfl-on #projGrid .pc.fmem .apbtn.on::before{color:#141210}
body.bfl-on #projGrid .pc.fmem .pdt{padding-bottom:0!important}

/* ===== 🔗 the steps as a chain (10-15, his pick) — warm glow, rings, pill labels, a tick track ===== */
.bfl-steps.bfl-chain{display:block!important;padding:26px 26px 18px!important;border-radius:22px!important;
  background:radial-gradient(60% 120% at 50% 0%,rgba(255,120,50,.08),transparent 70%),rgba(255,255,255,.02)!important;border:1px solid rgba(255,255,255,.07)!important}
.ch-nodes{display:flex;align-items:center;justify-content:space-between}
.ch-node{flex:none;padding:0;border:0;background:none;cursor:pointer}
.ch-node .ring{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;position:relative;
  background:radial-gradient(70% 70% at 50% 35%,#2a221d,#121010 75%);border:2px solid rgba(255,214,170,.18);
  box-shadow:inset 0 0 18px rgba(0,0,0,.6);transition:border-color .3s, box-shadow .3s, transform .3s var(--ease)}
.ch-node svg{width:28px;height:28px;fill:none;stroke:#8f7f70;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:stroke .3s}
.ch-node:hover .ring{transform:translateY(-2px);border-color:rgba(255,214,170,.4)}
.ch-node.done .ring{border-color:rgba(255,200,150,.75);box-shadow:inset 0 0 18px rgba(0,0,0,.5),0 0 14px rgba(255,150,80,.35),0 0 2px rgba(255,220,180,.9)}
.ch-node.done svg{stroke:#ffd9b8}
.ch-node.now .ring{border-color:#ffd2a8;box-shadow:inset 0 0 22px rgba(255,138,61,.25),0 0 26px rgba(255,138,61,.65),0 0 3px #fff;animation:chPulse 2.4s ease-in-out infinite}
.ch-node.now svg{stroke:#fff}
@keyframes chPulse{50%{box-shadow:inset 0 0 22px rgba(255,138,61,.3),0 0 40px rgba(255,138,61,.85),0 0 3px #fff}}
.ch-link{flex:1;height:2px;position:relative;margin:0 -2px;background:linear-gradient(90deg,rgba(255,214,170,.15),rgba(255,214,170,.35),rgba(255,214,170,.15))}
.ch-link b{position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:#ffe6cf;box-shadow:0 0 8px rgba(255,170,100,.9)}
.ch-labs{display:flex;justify-content:space-between;margin-top:16px}
.ch-lab{flex:none;width:74px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0;border:0;background:none;cursor:pointer;overflow:visible}
.ch-lab b{white-space:nowrap;padding:7px 14px;border-radius:999px;font:600 13px/1 var(--ui);color:#a99f94;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}
.ch-lab small{white-space:nowrap;color:#6f6860;font-size:11.5px}
.ch-lab.done b{color:#f6f1ea;border-color:rgba(255,214,170,.25)}
.ch-lab.now b{color:#fff;background:linear-gradient(180deg,rgba(255,240,225,.12),rgba(255,255,255,.04));border-color:rgba(255,214,170,.5);box-shadow:0 0 18px -4px rgba(255,138,61,.6)}
.ch-lab.now small{color:#cdbcb4}
.ch-track{position:relative;height:22px;margin:16px 37px 0}
.ch-ticks{position:absolute;inset:7px 0;display:flex;justify-content:space-between;align-items:center}
.ch-ticks i{width:2px;height:8px;border-radius:2px;background:rgba(255,255,255,.12)}
.ch-ticks i.on{background:#ffb27a;box-shadow:0 0 6px rgba(255,150,80,.7)}
.ch-dot{position:absolute;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:radial-gradient(circle,#3a2e27 30%,#141110 70%);border:1px solid rgba(255,255,255,.15)}
.ch-dot::after{content:'';position:absolute;inset:5px;border-radius:50%;background:#6f6860}
.ch-dot.done::after{background:#fff;box-shadow:0 0 8px #ffb27a}
.ch-dot.now{box-shadow:0 0 16px rgba(255,138,61,.8)}
.ch-dot.now::after{background:#fff}
@media (max-width:900px){ .ch-node .ring{width:52px;height:52px} .ch-node svg{width:20px;height:20px} .ch-lab{width:52px} .ch-lab small{display:none} .ch-track{margin:12px 26px 0} }
@media (prefers-reduced-motion:reduce){ .ch-node.now .ring{animation:none} }

/* ===== 🔗 the steps as a chain (10-15, his pick) — warm glow, rings, pill labels, a tick track ===== */
.bfl-steps.bfl-chain{display:block!important;padding:26px 26px 18px!important;border-radius:22px!important;
  background:radial-gradient(60% 120% at 50% 0%,rgba(255,120,50,.08),transparent 70%),rgba(255,255,255,.02)!important;border:1px solid rgba(255,255,255,.07)!important}
.ch-nodes{display:flex;align-items:center;justify-content:space-between}
.ch-node{flex:none;padding:0;border:0;background:none;cursor:pointer}
.ch-node .ring{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;position:relative;
  background:radial-gradient(70% 70% at 50% 35%,#2a221d,#121010 75%);border:2px solid rgba(255,214,170,.18);
  box-shadow:inset 0 0 18px rgba(0,0,0,.6);transition:border-color .3s, box-shadow .3s, transform .3s var(--ease)}
.ch-node svg{width:28px;height:28px;fill:none;stroke:#8f7f70;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:stroke .3s}
.ch-node:hover .ring{transform:translateY(-2px);border-color:rgba(255,214,170,.4)}
.ch-node.done .ring{border-color:rgba(255,200,150,.75);box-shadow:inset 0 0 18px rgba(0,0,0,.5),0 0 14px rgba(255,150,80,.35),0 0 2px rgba(255,220,180,.9)}
.ch-node.done svg{stroke:#ffd9b8}
.ch-node.now .ring{border-color:#ffd2a8;box-shadow:inset 0 0 22px rgba(255,138,61,.25),0 0 26px rgba(255,138,61,.65),0 0 3px #fff;animation:chPulse 2.4s ease-in-out infinite}
.ch-node.now svg{stroke:#fff}
@keyframes chPulse{50%{box-shadow:inset 0 0 22px rgba(255,138,61,.3),0 0 40px rgba(255,138,61,.85),0 0 3px #fff}}
.ch-link{flex:1;height:2px;position:relative;margin:0 -2px;background:linear-gradient(90deg,rgba(255,214,170,.15),rgba(255,214,170,.35),rgba(255,214,170,.15))}
.ch-link b{position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:#ffe6cf;box-shadow:0 0 8px rgba(255,170,100,.9)}
.ch-labs{display:flex;justify-content:space-between;margin-top:16px}
.ch-lab{flex:none;width:74px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0;border:0;background:none;cursor:pointer;overflow:visible}
.ch-lab b{white-space:nowrap;padding:7px 14px;border-radius:999px;font:600 13px/1 var(--ui);color:#a99f94;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}
.ch-lab small{white-space:nowrap;color:#6f6860;font-size:11.5px}
.ch-lab.done b{color:#f6f1ea;border-color:rgba(255,214,170,.25)}
.ch-lab.now b{color:#fff;background:linear-gradient(180deg,rgba(255,240,225,.12),rgba(255,255,255,.04));border-color:rgba(255,214,170,.5);box-shadow:0 0 18px -4px rgba(255,138,61,.6)}
.ch-lab.now small{color:#cdbcb4}
.ch-track{position:relative;height:22px;margin:16px 37px 0}
.ch-ticks{position:absolute;inset:7px 0;display:flex;justify-content:space-between;align-items:center}
.ch-ticks i{width:2px;height:8px;border-radius:2px;background:rgba(255,255,255,.12)}
.ch-ticks i.on{background:#ffb27a;box-shadow:0 0 6px rgba(255,150,80,.7)}
.ch-dot{position:absolute;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:radial-gradient(circle,#3a2e27 30%,#141110 70%);border:1px solid rgba(255,255,255,.15)}
.ch-dot::after{content:'';position:absolute;inset:5px;border-radius:50%;background:#6f6860}
.ch-dot.done::after{background:#fff;box-shadow:0 0 8px #ffb27a}
.ch-dot.now{box-shadow:0 0 16px rgba(255,138,61,.8)}
.ch-dot.now::after{background:#fff}
@media (max-width:900px){ .ch-node .ring{width:52px;height:52px} .ch-node svg{width:20px;height:20px} .ch-lab{width:52px} .ch-lab small{display:none} .ch-track{margin:12px 26px 0} }
@media (prefers-reduced-motion:reduce){ .ch-node.now .ring{animation:none} }

/* ===== 🎠 caption picker, keyplugs-style (10-15): two rows of big dark tiles that scroll together + a grab handle ===== */
.bfl-strip.kp{gap:18px}
.kp-wrap{position:relative;margin:0 -20px}
.kp-rail{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:4px 20px 6px;cursor:grab;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent)}
.kp-rail::-webkit-scrollbar{display:none}
.kp-rail.drag{cursor:grabbing}
.kp-rail.drag .kp-tile{pointer-events:none}
.kp-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,168px);grid-auto-columns:256px;gap:30px 16px;width:max-content}
html body .kp-tile,html body .kp-tile:hover,html body .kp-tile:focus{position:relative;display:block;width:100%;height:100%;padding:0;margin:0;overflow:hidden;cursor:pointer;
  border-radius:22px;background:#0b0a09!important;border:1px solid rgba(255,255,255,.07);box-shadow:none;outline:none;text-align:left;isolation:isolate;
  transition:transform .35s var(--ease,cubic-bezier(.2,.8,.2,1)),border-color .25s,box-shadow .25s}
html body .kp-tile:hover{transform:translateY(-3px);border-color:rgba(255,214,170,.28);box-shadow:0 14px 30px -14px rgba(0,0,0,.8)}
html body .kp-tile:focus-visible{border-color:rgba(255,214,170,.6)}
.kp-tile .pv{position:absolute;inset:0;border-radius:inherit;overflow:hidden;background:#0b0a09 center/cover no-repeat;display:grid;place-items:center}
.kp-tile .pv b{font:700 20px/1.05 var(--ui);color:#fff;text-transform:uppercase;text-align:center;padding:0 18px}
.kp-tile.live .pv{background-image:none!important}
.kp-tile.live .pv b{display:none}
.kp-zoom{position:absolute;left:0;top:50%;width:100%;height:340%;transform:translateY(-50%)}
.kp-tile .nm{position:absolute;left:12px;bottom:12px;z-index:3;max-width:calc(100% - 24px);padding:5px 10px;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font:500 12px/1 var(--ui);color:#f6f1ea;background:rgba(10,9,8,.72);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(8px);
  opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s}
.kp-tile:hover .nm,.kp-tile:focus-visible .nm{opacity:1;transform:none}
html body .kp-tile.on{border-color:rgba(255,214,170,.85);box-shadow:0 0 0 1px rgba(255,214,170,.5) inset,0 0 26px -8px rgba(255,138,61,.7)}
.kp-on{position:absolute;right:12px;top:12px;z-index:3;padding:5px 10px;border-radius:999px;font:600 11.5px/1 var(--ui);color:#1a1310;background:#ffe6cf}
.kp-grab{position:absolute;left:50%;top:calc(50% - 0px);z-index:5;transform:translate(-50%,-50%);display:flex;align-items:center;gap:6px;padding:4px;border-radius:999px;
  background:rgba(20,17,15,.86);border:1px solid rgba(255,255,255,.12);box-shadow:0 10px 28px -10px rgba(0,0,0,.9);backdrop-filter:blur(10px);cursor:grab;touch-action:none;user-select:none}
.kp-grab.drag{cursor:grabbing}
.kp-hand{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(70% 70% at 50% 35%,#2e2520,#151210 75%);border:1px solid rgba(255,214,170,.3)}
.kp-hand svg{width:20px;height:20px;fill:none;stroke:#ffe6cf;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html body .kp-ar,html body .kp-ar:hover{width:26px;height:26px;padding:0;border:0;border-radius:50%;background:none!important;color:#a99f94;font:400 20px/1 var(--ui);cursor:pointer;box-shadow:none}
html body .kp-ar:hover{color:#fff}
@media (max-width:700px){ .kp-grid{grid-template-rows:repeat(2,128px);grid-auto-columns:196px} }

/* ===== reel card in a batch (10-15, his pick "Tick + one ⋯"): ring top-left, length bottom-left, ⋯ on hover, nothing else ===== */
html body.bfl-on #projGrid .pc.fmem{container-type:inline-size}
html body.bfl-on #projGrid .pc.fmem .pren,html body.bfl-on #projGrid .pc.fmem .pdel,html body.bfl-on #projGrid .pc.fmem .rm{display:none!important}
html body.bfl-on:not(.editing) #projGrid .pc.fmem .dur{top:calc(100cqw * 16 / 9 - 40px)!important;left:10px!important;right:auto!important}
html body.bfl-on #projGrid .pc.fmem .pmore{position:absolute;right:10px;top:10px;z-index:4;width:30px;height:30px;padding:0;border-radius:50%;display:grid;place-items:center;
  font:700 16px/1 var(--ui);color:#f4f1ec;background:rgba(10,9,8,.6);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(8px);cursor:pointer;
  opacity:0;transition:opacity .18s,background .18s}
html body.bfl-on #projGrid .pc.fmem:hover .pmore,html body.bfl-on #projGrid .pc.fmem.menu-open .pmore,html body.bfl-on #projGrid .pc.fmem .pmore:focus-visible{opacity:1}
html body.bfl-on #projGrid .pc.fmem .pmore:hover{background:rgba(30,26,23,.85)}
html body.bfl-on #projGrid .pc.fmem .pmenu{position:absolute;right:10px;top:46px;z-index:6;min-width:170px;padding:6px;border-radius:14px;display:flex;flex-direction:column;
  background:rgba(22,19,17,.96);border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 40px -12px rgba(0,0,0,.9);backdrop-filter:blur(12px)}
html body.bfl-on #projGrid .pc.fmem .pmenu[hidden]{display:none}
html body.bfl-on #projGrid .pc.fmem .pmenu button{all:unset;box-sizing:border-box;padding:9px 12px;border-radius:9px;font:500 13.5px/1.2 var(--ui);color:#e9e3db;cursor:pointer}
html body.bfl-on #projGrid .pc.fmem .pmenu button:hover{background:rgba(255,255,255,.07);color:#fff}
html body.bfl-on #projGrid .pc.fmem .pmenu button.danger{color:#ff9d86}
html body.bfl-on #projGrid .pc.fmem:hover .dur{opacity:1!important}
/* the chain's buttons are the ring and the pill only: no square hover fill from the global button rules (10-15) */
html body .bfl-chain .ch-node,html body .bfl-chain .ch-node:hover,html body .bfl-chain .ch-node:focus,html body .bfl-chain .ch-node:active,
html body .bfl-chain .ch-lab,html body .bfl-chain .ch-lab:hover,html body .bfl-chain .ch-lab:focus,html body .bfl-chain .ch-lab:active{background:none!important;border:0!important;box-shadow:none!important;outline:none}
html body .bfl-chain .ch-node:focus-visible .ring{outline:2px solid rgba(255,214,170,.6);outline-offset:3px}
html body .bfl-chain .ch-lab:hover b{color:#f6f1ea;border-color:rgba(255,214,170,.3)}
.kp-rail,.kp-grab{user-select:none;-webkit-user-select:none}

/* ===== 🎛 HARDWARE PASS (Patrik 10-15, his reference: "these buttons, styles, fonts, colors — exactly where I want to go.
   No unnecessary text, only pure value and premium look"). Matte black tiles lit from above, ONE champagne-metal object
   (the open step) with a lilac light on it, green LEDs for done, an ember→yellow meter for progress, light-weight values,
   grey labels. Markup is batchflow.js; this block overrides everything above it on the batch page. ===== */
:root{--hw-ground:#0d0d0e;--hw-tile-a:#171717;--hw-tile-b:#0f0f10;--hw-edge:rgba(255,255,255,.065);--hw-lip:rgba(255,255,255,.07);
  --hw-label:#77736d;--hw-value:#ece9e4;--hw-dim:#55524e;--hw-led:#4dff6b;--hw-lilac:214,206,255;
  --hw-metal:linear-gradient(158deg,#aaa190 0%,#7a7366 38%,#4c4843 78%,#3e3b38 100%)}
.bfl .hw,html body .bfl-steps.bfl-chain,html body .bfl .bfl-note,html body .bfl .bfl-strip{
  background:linear-gradient(180deg,var(--hw-tile-a),var(--hw-tile-b))!important;border:1px solid var(--hw-edge)!important;
  box-shadow:inset 0 1px 0 var(--hw-lip),0 30px 60px -30px rgba(0,0,0,.9)!important;border-radius:26px!important}

/* header: the name, light and big */
html body .bfl .bfl-crumb{color:var(--hw-label);font:400 13px/1 var(--ui);letter-spacing:.01em}
html body .bfl .bfl-hrow h1{font:400 clamp(34px,3.2vw,48px)/1.05 var(--ui);letter-spacing:-.035em;color:var(--hw-value)}

/* the chain: squircle keys */
html body .bfl-chain .ch-node .ring{width:76px;height:76px;border-radius:24px;border:1px solid var(--hw-edge);
  background:linear-gradient(180deg,#1d1d1e,#121213);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 -8px 16px rgba(0,0,0,.35),0 14px 28px -14px rgba(0,0,0,.95);animation:none}
html body .bfl-chain .ch-node svg{width:28px;height:28px;stroke:var(--hw-dim);stroke-width:1.7}
html body .bfl-chain .ch-node:hover .ring{transform:translateY(-2px);border-color:rgba(255,255,255,.12)}
html body .bfl-chain .ch-node.done svg{stroke:#d8d2c6}
html body .bfl-chain .ch-node.done .ring{border-color:var(--hw-edge)}
html body .bfl-chain .ch-node.done .ring::after{content:'';position:absolute;top:10px;right:10px;width:6px;height:6px;border-radius:50%;
  background:var(--hw-led);box-shadow:0 0 6px var(--hw-led),0 0 14px rgba(77,255,107,.55)}
html body .bfl-chain .ch-node.now .ring{width:88px;height:88px;border-radius:27px;border:1px solid rgba(255,246,226,.38);
  background:radial-gradient(55% 55% at 80% 88%,rgba(var(--hw-lilac),.62),rgba(var(--hw-lilac),0) 70%),var(--hw-metal);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42),inset 0 -14px 26px rgba(0,0,0,.3),0 24px 44px -16px rgba(0,0,0,.95),0 0 60px -12px rgba(var(--hw-lilac),.35)}
html body .bfl-chain .ch-node.now svg{width:32px;height:32px;stroke:#d9d1c0;stroke-width:2.2;
  filter:drop-shadow(1px 2px 1.5px rgba(30,26,20,.55)) drop-shadow(0 -1px 0 rgba(255,255,255,.28))}
html body .bfl-chain .ch-node.now.done .ring::after{display:none}
html body .bfl-chain .ch-link{height:1px;background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.12),rgba(255,255,255,.04))}
html body .bfl-chain .ch-link b{display:none}

/* labels: grey word, bright value */
html body .bfl-chain .ch-lab{width:88px;gap:5px}
html body .bfl-chain .ch-lab small{display:block;white-space:nowrap;color:var(--hw-label);font:400 12.5px/1 var(--ui);letter-spacing:.01em}
html body .bfl-chain .ch-lab b{all:unset;display:block;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;
  font:300 19px/1.15 var(--ui);letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:#a6a29c}
html body .bfl-chain .ch-lab.done b,html body .bfl-chain .ch-lab.now b{color:var(--hw-value)}
html body .bfl-chain .ch-lab.now small{color:#b9b4ac}
html body .bfl-chain .ch-lab:hover b{color:var(--hw-value);border:0}

/* the meter (track + readouts): dim slits, lit ones carry their own colour and glow */
html body .bfl-chain .ch-track{height:26px;margin:22px 44px 0}
html body .bfl-chain .ch-ticks{inset:0}
html body .bfl-chain .ch-ticks i,.rd-meter i{width:2px;height:18px;border-radius:2px;background:rgba(255,255,255,.06);box-shadow:none}
html body .bfl-chain .ch-ticks i.on,.rd-meter i.on{background:var(--c);box-shadow:0 0 6px var(--c),0 0 1px var(--c)}

/* step panels are readouts */
html body .bfl .bfl-note{gap:44px;padding:22px 26px!important;align-items:center}
.rd{display:flex;flex-direction:column;gap:8px;min-width:0}
.rd small{color:var(--hw-label);font:400 13px/1 var(--ui);letter-spacing:.01em}
.rd strong{font:300 34px/1 var(--ui);letter-spacing:-.03em;color:var(--hw-value);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46ch}
.rd strong em{font-style:normal;color:var(--hw-dim)}
.rd-meter{display:flex;gap:5px;margin-top:4px}
.rd-meter i{height:14px}

/* the action on the batch page: a champagne-metal key (the reference's object), arrow embossed */
html body .bfl .bfl-go{height:48px;padding:0 8px 0 22px;border-radius:16px;border:1px solid rgba(255,246,226,.34)!important;
  background:radial-gradient(60% 90% at 88% 100%,rgba(var(--hw-lilac),.38),rgba(var(--hw-lilac),0) 70%),var(--hw-metal)!important;
  color:#1d1b18!important;font:600 14.5px/1 var(--ui);letter-spacing:-.005em;text-shadow:0 1px 0 rgba(255,255,255,.25);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -8px 16px rgba(0,0,0,.22),0 16px 30px -14px rgba(0,0,0,.9)!important;transition:transform .2s,box-shadow .2s}
html body .bfl .bfl-go:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -8px 16px rgba(0,0,0,.2),0 20px 36px -14px rgba(0,0,0,.95),0 0 40px -10px rgba(var(--hw-lilac),.45)!important}
html body .bfl .bfl-go .arr{width:32px;height:32px;border-radius:11px;background:rgba(20,18,16,.16);color:#2a2622;box-shadow:inset 0 1px 1px rgba(0,0,0,.25),0 1px 0 rgba(255,255,255,.22)}
html body .bfl .bfl-link{color:var(--hw-label)!important}
html body .bfl .bfl-link:hover{color:var(--hw-value)!important}

/* caption picker: matte keys, the chosen one gets an LED + a champagne rim */
html body .bfl .bfl-sh b{font:400 13px/1 var(--ui);color:var(--hw-label);letter-spacing:.01em}
html body .kp-tile,html body .kp-tile:hover,html body .kp-tile:focus{background:linear-gradient(180deg,#141415,#0c0c0d)!important;border:1px solid var(--hw-edge);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
html body .kp-tile .pv{background-color:transparent}
html body .kp-tile:hover{border-color:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 18px 34px -16px rgba(0,0,0,.95)}
html body .kp-tile.on{border-color:rgba(255,246,226,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 0 1px rgba(255,246,226,.12)}
.kp-led{position:absolute;top:14px;right:14px;z-index:3;width:7px;height:7px;border-radius:50%;background:var(--hw-led);box-shadow:0 0 6px var(--hw-led),0 0 16px rgba(77,255,107,.6)}
html body .kp-grab{background:linear-gradient(180deg,#1b1b1c,#111112);border-color:var(--hw-edge);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 28px -10px rgba(0,0,0,.95)}
html body .kp-hand{border-radius:14px;border:1px solid rgba(255,246,226,.34);background:radial-gradient(60% 60% at 80% 90%,rgba(var(--hw-lilac),.5),rgba(var(--hw-lilac),0) 70%),var(--hw-metal);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
html body .kp-hand svg{stroke:#2a2622;filter:drop-shadow(0 1px 0 rgba(255,255,255,.3))}

/* reel cards: the approve key — matte ring, approved = metal disc + embossed tick */
html body.bfl-on #projGrid .pc.fmem .apbtn{background:rgba(14,14,15,.62)!important;border:1px solid rgba(255,255,255,.16)!important;backdrop-filter:blur(8px)}
html body.bfl-on #projGrid .pc.fmem .apbtn.on{background:var(--hw-metal)!important;border-color:rgba(255,246,226,.45)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 0 18px -4px rgba(77,255,107,.35)}
html body.bfl-on #projGrid .pc.fmem .apbtn.on::before{color:#25221e;text-shadow:0 1px 0 rgba(255,255,255,.3)}
html body.bfl-on:not(.editing) #projGrid .pc.fmem .dur{font-weight:400;background:rgba(14,14,15,.62)!important;border:1px solid rgba(255,255,255,.1)}
@media (max-width:900px){ html body .bfl-chain .ch-node.now .ring{width:60px;height:60px;border-radius:19px} html body .bfl-chain .ch-node .ring{width:52px;height:52px;border-radius:16px}
  html body .bfl-chain .ch-lab{width:60px} html body .bfl-chain .ch-lab b{font-size:15px;max-width:90px} .rd strong{font-size:26px} html body .bfl .bfl-note{gap:24px;flex-wrap:wrap} }

/* the grab handle is a HINT to slide, not a button (Patrik 10-15: "feels like something I have to click on, not slide"):
   no pill around it, the hand sways left↔right, the chevrons breathe outward in step with it */
html body .kp-grab,html body .kp-grab.drag{background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none;gap:2px;padding:0}
html body .kp-hand{width:46px;height:46px;border-radius:50%;background:radial-gradient(70% 70% at 50% 30%,rgba(30,30,31,.92),rgba(12,12,13,.92))!important;
  border:1px solid rgba(255,255,255,.12);box-shadow:0 10px 26px -8px rgba(0,0,0,.95),inset 0 1px 0 rgba(255,255,255,.07)}
html body .kp-hand svg{width:22px;height:22px;stroke:#ece6dc;filter:none;animation:kpSway 2.6s cubic-bezier(.45,0,.55,1) infinite;transform-origin:50% 90%}
html body .kp-ar{width:18px;height:auto;display:grid;place-items:center;color:#ece6dc;font:300 22px/1 var(--ui);cursor:grab;pointer-events:none;opacity:.25}
html body .kp-ar.l{animation:kpNudgeL 2.6s cubic-bezier(.45,0,.55,1) infinite}
html body .kp-ar.r{animation:kpNudgeR 2.6s cubic-bezier(.45,0,.55,1) infinite}
@keyframes kpSway{0%,100%{transform:translateX(-5px) rotate(-8deg)}50%{transform:translateX(5px) rotate(8deg)}}
@keyframes kpNudgeL{0%,100%{opacity:.75;transform:translateX(-4px)}50%{opacity:.18;transform:none}}
@keyframes kpNudgeR{0%,100%{opacity:.18;transform:none}50%{opacity:.75;transform:translateX(4px)}}
html body .kp-grab.drag svg,html body .kp-grab.drag .kp-ar,html body .kp-rail.drag ~ .kp-grab svg{animation-play-state:paused}
html body .kp-grab:hover .kp-hand{border-color:rgba(255,246,226,.3)}
@media (prefers-reduced-motion:reduce){ html body .kp-hand svg,html body .kp-ar{animation:none} html body .kp-ar{opacity:.5} }
/* hardware pass, round 2: the arrow on a metal key is embossed dark, not amber; a softer lilac; the teacher reel as a thumb */
html body .bfl .bfl-go .arr{color:#2a2622!important;width:30px!important;height:30px!important;border-radius:10px;background:rgba(20,18,16,.14)!important;font-size:15px;display:grid!important;place-items:center}
html body .bfl-chain .ch-node.now .ring{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0) 42%),radial-gradient(70% 70% at 86% 96%,rgba(var(--hw-lilac),.42),rgba(var(--hw-lilac),0) 72%),var(--hw-metal)}
.rd-reel{flex:none;width:46px;height:72px;border-radius:12px;background:#111 center/cover no-repeat;border:1px solid var(--hw-edge);box-shadow:0 10px 20px -10px rgba(0,0,0,.9);margin-right:-26px}
.rd.rd-name strong{font-size:20px;letter-spacing:-.01em;font-weight:400;max-width:34ch}
/* hooks step in the same language */
html body .bfl .hk-top{display:flex;align-items:center;gap:28px;padding:18px 24px;border-radius:22px;background:linear-gradient(180deg,var(--hw-tile-a),var(--hw-tile-b));border:1px solid var(--hw-edge);box-shadow:inset 0 1px 0 var(--hw-lip)}
html body .bfl .hk-top .rd strong{font-size:28px}
html body .bfl .hk-top .hk-meter{flex:1;justify-content:space-between;margin:0}
html body .bfl .hk-top .bfl-link{margin-left:8px}
html body .bfl .hk-panel{background:linear-gradient(180deg,var(--hw-tile-a),var(--hw-tile-b))!important;border:1px solid var(--hw-edge)!important;box-shadow:inset 0 1px 0 var(--hw-lip),0 30px 60px -30px rgba(0,0,0,.9)!important;border-radius:26px!important}
html body .bfl .hk-reel{border-radius:26px!important;border:1px solid var(--hw-edge)!important}
html body .bfl .hk-meta b{font:300 22px/1 var(--ui);color:var(--hw-value);font-variant-numeric:tabular-nums}
html body .bfl .hk-meta b em{font-style:normal;color:var(--hw-dim)}
html body .bfl .hk-meta span{color:var(--hw-label)}
html body .bfl .hk-opt{background:linear-gradient(180deg,#1a1a1b,#121213)!important;border:1px solid var(--hw-edge)!important;border-radius:16px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
html body .bfl .hk-opt.on{border-color:rgba(255,246,226,.42)!important;position:relative}
html body .bfl .hk-opt.on::after{content:'';position:absolute;right:16px;top:50%;width:7px;height:7px;margin-top:-3.5px;border-radius:50%;background:var(--hw-led);box-shadow:0 0 6px var(--hw-led),0 0 14px rgba(77,255,107,.55)}
html body .bfl .hk-opt.on .hk-n{background:var(--hw-metal)!important;color:#25221e!important}
html body .bfl .hk-field{background:#0c0c0d!important;border:1px solid var(--hw-edge)!important;border-radius:16px!important}
html body .bfl .hk-lab,html body .bfl .hk-ws > span{color:var(--hw-label)!important;text-transform:none!important;letter-spacing:.01em!important;font:400 12.5px/1 var(--ui)!important}
html body .bfl .hk-tab.on{color:var(--hw-value)!important}
/* two rails, each slides on its own (10-15) */
.kp-wrap{display:flex;flex-direction:column;gap:30px}
.kp-row{display:flex;gap:16px;width:max-content}
html body .kp-row .kp-tile,html body .kp-row .kp-tile:hover,html body .kp-row .kp-tile:focus{flex:none;width:256px;height:168px}
@media (max-width:700px){ html body .kp-row .kp-tile,html body .kp-row .kp-tile:hover{width:196px;height:128px} }

/* ===== 🎛 FIVE KEYS + PROGRESS (10-15, his "Sleep mode · Active" card and "Progress 70%" bar) ===== */
html body .bfl-steps.bfl-chain{padding:16px!important;display:flex!important;flex-direction:column;gap:16px}
.st-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
html body .st-card,html body .st-card:hover,html body .st-card:focus{all:unset;box-sizing:border-box;position:relative;overflow:hidden;cursor:pointer;
  display:flex;flex-direction:column;justify-content:flex-end;gap:6px;min-height:118px;padding:16px 18px;border-radius:20px;
  background:linear-gradient(160deg,#1c1c1d 0%,#121213 55%,#0e0e0f 100%);border:1px solid rgba(255,255,255,.06);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 18px 30px -20px rgba(0,0,0,.9);transition:transform .25s,border-color .25s,box-shadow .25s}
html body .st-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.11)}
html body .st-card:focus-visible{border-color:rgba(255,246,226,.5)}
.st-card .st-ic{position:absolute;left:-10px;top:-12px;width:64px;height:64px;fill:none;stroke:#fff;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.07;transition:opacity .25s}
.st-card small{font:400 12.5px/1 var(--ui);color:var(--hw-label,#77736d);letter-spacing:.01em;white-space:nowrap}
.st-card b{font:300 26px/1.05 var(--ui);letter-spacing:-.02em;color:#a7a39d;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:20px}
.st-led{position:absolute;right:18px;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:#1d1d1e;box-shadow:inset 0 1px 2px rgba(0,0,0,.8),0 1px 0 rgba(255,255,255,.05)}
.st-card.done .st-led{background:#59ff6e;box-shadow:0 0 6px #59ff6e,0 0 18px rgba(89,255,110,.55)}
.st-card.done b{color:#ece9e4}
/* the open step: lit from inside, warm edge */
html body .st-card.now{border-color:rgba(255,246,226,.3);
  background:radial-gradient(90% 120% at 0% 0%,rgba(255,246,226,.09),transparent 60%),linear-gradient(160deg,#232324 0%,#151516 60%,#101011 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 1px rgba(255,246,226,.05),0 22px 40px -22px rgba(0,0,0,.95)}
.st-card.now .st-ic{opacity:.16}
.st-card.now small{color:#bdb7ae}
.st-card.now b{color:#f6f3ee}
/* the bar */
.st-prog{display:flex;align-items:center;gap:18px;padding:4px 6px 2px}
.st-prog small{font:400 13px/1 var(--ui);color:var(--hw-label,#77736d);white-space:nowrap}
.st-prog b{font:300 34px/1 var(--ui);letter-spacing:-.03em;color:#ece9e4;font-variant-numeric:tabular-nums;min-width:3.2ch;text-align:right}
.st-prog b em{font-style:normal;font-size:.6em;color:#8b8780;margin-left:2px}
.st-bar{position:relative;flex:1;height:8px;border-radius:99px;background:rgba(255,255,255,.05);box-shadow:inset 0 1px 2px rgba(0,0,0,.7)}
.st-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:inherit;min-width:0;
  background:linear-gradient(90deg,rgba(150,210,70,.15),rgba(170,230,80,.6) 55%,#b8f35a);box-shadow:0 0 12px rgba(170,240,80,.35);transition:width .6s cubic-bezier(.2,.8,.2,1)}
.st-bar i::after{content:'';position:absolute;right:0;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:#d6ff8a;box-shadow:0 0 10px #b8f35a,0 0 22px rgba(184,243,90,.6)}
.st-bar i[style="width:0%"]::after{display:none}
.st-bar.sm{display:block;flex:none;width:220px;height:6px;margin-top:6px}
html body .bfl .hk-top .st-bar.hk-meter{flex:1}
@media (max-width:900px){ .st-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px} html body .st-card{min-height:92px;padding:12px} .st-card b{font-size:18px;padding-right:12px} .st-led{right:10px;top:16px;margin:0} .st-prog b{font-size:24px} }
@media (max-width:560px){ .st-cards{grid-template-columns:repeat(3,minmax(0,1fr))} }
/* the five keys read as TABS (Patrik 10-15: "where are those captions now" — the page opens on the first unfinished
   step and nothing said the keys were clickable): a hover lift with a brighter edge and icon, a press that sinks, and
   the open step carries a lit indicator along its bottom edge */
html body .st-card:hover{border-color:rgba(255,246,226,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 22px 34px -20px rgba(0,0,0,.95)}
html body .st-card:hover .st-ic{opacity:.15}
html body .st-card:hover small{color:#a9a39b}
html body .st-card:active{transform:translateY(0) scale(.985);box-shadow:inset 0 2px 8px rgba(0,0,0,.6)}
html body .st-card::after{content:'';position:absolute;left:50%;bottom:0;width:0;height:2px;border-radius:2px;transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,#ffe9cf,transparent);box-shadow:0 0 12px rgba(255,233,207,.7);transition:width .3s cubic-bezier(.2,.8,.2,1)}
html body .st-card.now::after{width:56%}
html body .st-card:hover:not(.now)::after{width:18%;opacity:.5}
/* tighter rows (10-15) */
.kp-wrap{gap:14px}
html body .kp-hand{width:40px;height:40px}
.kp-hacts{margin-left:auto;display:flex;align-items:center;gap:16px}
html body .bfl .bfl-go.kp-next{height:40px;padding:0 6px 0 18px;border-radius:14px;font-size:13.5px}
html body .bfl .bfl-go.kp-next .arr{width:28px!important;height:28px!important;border-radius:9px}
/* the batch's style drawn on each reel card (Captions step) */
html body.bfl-on #projGrid .pc.fmem .th{position:relative;overflow:hidden}
/* the library outside a batch carries each clip's own caption too (batchflow paintLibrary), so its thumb holds the overlay */
#projGrid .pc:not(.fmem) .th{position:relative;overflow:hidden}
#projGrid .pc.lib-hide{display:none!important}   /* ?cards=same: Czech lines off screen */
.bfl-capov{position:absolute;inset:0;z-index:1;pointer-events:none}
html body .bfl-strip.kp .bfl-sh{align-items:center}
/* a little shorter, so the reels (where the picked style shows) sit closer under the rows */
html body .kp-row .kp-tile,html body .kp-row .kp-tile:hover,html body .kp-row .kp-tile:focus{width:228px;height:148px}
/* the caption panel without a header (10-15) */
html body .bfl-strip.kp{padding:16px 0!important;gap:0}
html body .kp-tile.kp-all .pv{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
html body .kp-tile.kp-all svg{width:30px;height:30px;fill:none;stroke:#8b8780;stroke-width:1.5}
html body .kp-tile.kp-all small{font:400 13px/1 var(--ui);color:#a7a39d}
html body .kp-tile.kp-all:hover svg{stroke:#ece9e4}
html body .st-prog .kp-next{margin-left:6px}
html body .bfl-strip.kp .kp-wrap{margin:0}

/* ===== 🕸 the Captions step as a canvas (10-15, his mock) ===== */
.bc{display:grid;grid-template-columns:268px 1fr;height:640px;border-radius:26px;overflow:hidden;border:1px solid var(--hw-edge);
  background:linear-gradient(180deg,var(--hw-tile-a),var(--hw-tile-b));box-shadow:inset 0 1px 0 var(--hw-lip),0 30px 60px -30px rgba(0,0,0,.9)}
.bc-lib{display:flex;flex-direction:column;gap:12px;padding:14px;border-right:1px solid rgba(255,255,255,.05);background:linear-gradient(180deg,#141415,#0e0e0f);min-height:0}
.bc-search{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border-radius:13px;background:#0a0a0b;border:1px solid var(--hw-edge);color:#5f5b56}
.bc-search svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.bc-search input{all:unset;flex:1;color:var(--hw-value);font-size:13px}
.bc-shelf{flex:1;min-height:0;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start;scrollbar-width:none}
.bc-shelf::-webkit-scrollbar{display:none}
html body .bc-chip{position:relative;display:block;user-select:none;-webkit-user-select:none;touch-action:none;aspect-ratio:1.52;border-radius:13px;overflow:hidden;cursor:grab;border:1px solid var(--hw-edge);background:#0c0c0d;transition:transform .2s,border-color .2s}
html body .bc-chip:hover{transform:translateY(-2px);border-color:rgba(255,246,226,.25)}
html body .bc-chip.on{border-color:rgba(125,198,255,.55)}
html body .bc-chip.on::after{content:'';position:absolute;top:7px;right:7px;width:6px;height:6px;border-radius:50%;background:#7dc6ff;box-shadow:0 0 8px #7dc6ff}
html body .bc .kp-tile,html body .bc .kp-tile:hover{position:absolute;inset:0;width:auto;height:auto;border:0!important;border-radius:0;box-shadow:none!important;transform:none;background:transparent!important}
html body .bc .kp-tile .pv b{font-size:12px}
.bc-board{position:relative;overflow:hidden;background:radial-gradient(circle,rgba(255,255,255,.05) 1px,transparent 1.4px) 0 0/22px 22px,#0a0a0b}
.bc-wires{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible}
.bc-wires path{fill:none}
.bc-wires .g{stroke:#7dc6ff;stroke-width:7;opacity:.16;filter:blur(3px)} .bc-wires .g.f{stroke-width:10}
.bc-wires .w{stroke:#7dc6ff;stroke-width:1.6} .bc-wires .w.f{stroke-width:2.4}
.bc-wires .flow{stroke:#eef8ff;stroke-width:1.6;stroke-dasharray:2 26;opacity:.7;animation:bcFlow 1.6s linear infinite}
.bc-wires .tmp{stroke:#d6ff8a;stroke-width:1.6;stroke-dasharray:5 5}
@keyframes bcFlow{to{stroke-dashoffset:-28}}
@media (prefers-reduced-motion:reduce){.bc-wires .flow{display:none}}
.bc-nodes{position:absolute;left:36px;top:30px;bottom:30px;z-index:2;display:flex;flex-direction:column;gap:18px;overflow:visible;max-height:calc(100% - 60px)}
.bc-node{position:relative;width:216px;border-radius:20px;background:linear-gradient(160deg,#1b1b1c,#101011);border:1px solid var(--hw-edge);box-shadow:inset 0 1px 0 var(--hw-lip),0 26px 44px -24px rgba(0,0,0,.95);flex:none}
.bc-node.hot{border-color:rgba(214,255,138,.6)}
.bc-hd{display:flex;align-items:center;justify-content:space-between;padding:11px 14px 9px}
.bc-hd small{color:var(--hw-label);font-size:12px}
.bc-led{width:7px;height:7px;border-radius:50%;background:#1d1d1e;box-shadow:inset 0 1px 2px rgba(0,0,0,.8)}
.bc-led.on{background:#59ff6e;box-shadow:0 0 6px #59ff6e,0 0 16px rgba(89,255,110,.55)}
.bc-art{position:relative;margin:0 10px;border-radius:13px;overflow:hidden;aspect-ratio:1.52;background:#0b0b0c;cursor:pointer}
.bc-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#6c6863;border:1px dashed rgba(255,255,255,.12);border-radius:13px}
.bc-empty svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
.bc-empty small{font-size:12px}
.bc-nm{padding:9px 14px 12px;font:300 16px/1.1 var(--ui);color:var(--hw-value);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.bc-node:not(.batch) .bc-art{aspect-ratio:2.2}
.bc-port{position:absolute;width:14px;height:14px;border-radius:50%;background:#0d0d0e;border:1.5px solid rgba(255,255,255,.22);z-index:3}
.bc-port.out{right:-8px;top:50%;margin-top:-7px;cursor:crosshair}
.bc-node[data-sid]:not([data-sid=""]) .bc-port.out{border-color:#7dc6ff;box-shadow:0 0 8px rgba(125,198,255,.8)}
.bc-port.out:hover{border-color:#d6ff8a;box-shadow:0 0 10px rgba(214,255,138,.8)}
.bc-frame{position:absolute;z-index:2;left:46%;top:30px;bottom:30px;width:300px;display:flex;flex-direction:column;padding:12px;border-radius:24px;background:rgba(16,16,17,.75);border:1px solid rgba(255,255,255,.07);backdrop-filter:blur(6px)}
.bc-frame.hot{border-color:rgba(214,255,138,.55);box-shadow:0 0 0 4px rgba(214,255,138,.07)}
.bc-fh{display:flex;align-items:center;justify-content:space-between;padding:2px 6px 10px}
.bc-fh small{color:var(--hw-label);font-size:12px}.bc-fh b{font:300 15px/1 var(--ui);color:var(--hw-value)}
.bc-port.sk{left:-8px;top:52px}.bc-port.sk.on{border-color:#7dc6ff;box-shadow:0 0 8px rgba(125,198,255,.8)}
.bc-sock{position:absolute;left:-14px;top:50px;transform:translateX(-100%);font-size:11px;color:var(--hw-label);pointer-events:none}
.bc-reels{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:8px;scrollbar-width:thin;scrollbar-color:#2a2a2b transparent;padding-left:2px}
.bc-reel{position:relative;flex:none;display:flex;align-items:center;gap:12px;padding:7px;border-radius:15px;cursor:pointer;background:linear-gradient(160deg,#1a1a1b,#111112);border:1px solid var(--hw-edge)}
.bc-reel:hover{border-color:rgba(255,255,255,.14)} .bc-reel.hot{border-color:rgba(214,255,138,.6)} .bc-reel.open{border-color:rgba(255,246,226,.45)}
.bc-th{position:relative;width:44px;height:78px;flex:none;border-radius:9px;background:#111 center/cover no-repeat}
.bc-cl{position:absolute;left:5px;bottom:5px;width:6px;height:6px;border-radius:50%;background:rgba(0,0,0,.55);box-shadow:0 0 0 1px rgba(255,255,255,.2)}
.bc-cl.on{background:#7dc6ff;box-shadow:0 0 6px #7dc6ff}
.bc-meta{min-width:0;display:flex;flex-direction:column;gap:5px}
.bc-meta small{color:var(--hw-label);font-size:11.5px;font-variant-numeric:tabular-nums}
.bc-meta b{font:400 13px/1.15 var(--ui);color:var(--hw-value);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}
.bc-port.in{left:-9px;top:50%;margin-top:-7px;opacity:0;transition:opacity .2s}
.bc-reel.own .bc-port.in,.bc.dragging .bc-port.in{opacity:1}
.bc-reel.own .bc-port.in{border-color:#7dc6ff;box-shadow:0 0 8px rgba(125,198,255,.8)}
.bc-ghost{position:fixed;z-index:9999;width:140px;aspect-ratio:1.52;border-radius:13px;overflow:hidden;pointer-events:none;transform:translate(-50%,-50%) rotate(-3deg);border:1px solid rgba(255,246,226,.4);box-shadow:0 20px 40px rgba(0,0,0,.7);background:#0c0c0d}
.bc-ghost .kp-tile{position:absolute;inset:0;border:0!important}
.bc-drawer{position:absolute;z-index:4;top:14px;right:14px;bottom:14px;width:360px;display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:22px;
  background:linear-gradient(180deg,#161617,#0e0e0f);border:1px solid var(--hw-edge);box-shadow:inset 0 1px 0 var(--hw-lip),-30px 0 60px -30px rgba(0,0,0,.9);
  transform:translateX(calc(100% + 30px));transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.bc-drawer.on{transform:none}
.bc-dh{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.bc-dh small{color:var(--hw-label);font-size:12px}.bc-dh b{display:block;font:300 19px/1.15 var(--ui);color:var(--hw-value);margin-top:5px;word-break:break-word}
html body .bc-x{all:unset;flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;color:#8b8780;cursor:pointer;border:1px solid var(--hw-edge)}
html body .bc-x:hover{color:#fff}
.bc-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:13px;background:#0a0a0b;border:1px solid var(--hw-edge)}
html body .bc-tabs button{all:unset;text-align:center;padding:9px 0;border-radius:10px;font-size:13px;color:#6c6863;cursor:pointer}
html body .bc-tabs button.on{background:linear-gradient(180deg,#232324,#18181a);color:var(--hw-value);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.bc-dbody{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:8px;scrollbar-width:thin;scrollbar-color:#2a2a2b transparent}
.bc-tx{display:grid;grid-template-columns:52px 1fr;gap:10px;padding:10px 12px;border-radius:12px;background:linear-gradient(160deg,#18181a,#111112);border:1px solid var(--hw-edge)}
.bc-tx small{color:#55524e;font-size:11px;font-variant-numeric:tabular-nums;padding-top:2px}.bc-tx p{margin:0;font-size:13.5px;line-height:1.45;color:#e4dfd8}
.bc-pv9{position:relative;align-self:center;width:220px;aspect-ratio:9/16;border-radius:18px;background:#111 center/cover no-repeat;overflow:hidden;border:1px solid var(--hw-edge);flex:none}
.bc-pvc{position:absolute;inset:0}
.bc-big{position:relative;aspect-ratio:1.52;border-radius:16px;overflow:hidden;background:#0b0b0c;border:1px solid var(--hw-edge)}
html body .bc .bc-act{align-self:stretch;justify-content:space-between;margin-left:0}
.bc-back{align-self:center}
@media (max-width:1100px){ .bc{grid-template-columns:200px 1fr} .bc-frame{left:auto;right:20px;width:260px} }
html body .bc-shelf .bc-chip{height:auto;aspect-ratio:auto;min-height:0;padding-top:66%}
html body .bc-undo{all:unset;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;font-size:11px;color:#8b8780;cursor:pointer;border:1px solid var(--hw-edge)}
html body .bc-undo:hover{color:#fff;border-color:rgba(255,255,255,.2)}
/* 🎛 style settings in the canvas drawer (10-16) */
.bc-node.sel{border-color:rgba(125,198,255,.6);box-shadow:inset 0 1px 0 var(--hw-lip),0 0 0 4px rgba(125,198,255,.08),0 26px 44px -24px rgba(0,0,0,.95)}
.bc-set{gap:12px}
.bc-sec{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:16px;background:linear-gradient(160deg,#18181a,#101011);border:1px solid var(--hw-edge);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.bc-sec > b{font:500 11px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase;color:#8b8780}
.bc-line,.bc-fld{display:flex;flex-direction:column;gap:8px}
.bc-line > small,.bc-fld > small,.bc-sl small{color:var(--hw-label);font-size:12px}
.bc-row{display:flex;gap:8px;align-items:center}
html body .bc-font{flex:1;min-width:0;height:40px;padding:0 12px;border-radius:12px;background:#0b0b0c;border:1px solid var(--hw-edge);color:var(--hw-value);font:400 14px/1 var(--ui);appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,#6c6863 50%),linear-gradient(135deg,#6c6863 50%,transparent 50%);background-position:calc(100% - 16px) 17px,calc(100% - 11px) 17px;background-size:5px 5px;background-repeat:no-repeat}
.bc-col{position:relative;flex:none;width:40px;height:40px;border-radius:12px;border:1px solid var(--hw-edge);overflow:hidden;cursor:pointer}
.bc-col input{position:absolute;inset:0;opacity:0;cursor:pointer}
.bc-col span{position:absolute;inset:6px;border-radius:7px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.bc-seg{flex:1;display:flex;padding:3px;border-radius:12px;background:#0b0b0c;border:1px solid var(--hw-edge)}
html body .bc-seg button{all:unset;flex:1;text-align:center;padding:8px 0;border-radius:9px;font-size:12.5px;color:#6c6863;cursor:pointer}
html body .bc-seg button.on{background:linear-gradient(180deg,#252526,#19191a);color:var(--hw-value);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.bc-sl{display:flex;flex-direction:column;gap:8px}
.bc-sl div{display:flex;justify-content:space-between}.bc-sl em{font-style:normal;color:#8b8780;font-size:12px;font-variant-numeric:tabular-nums}
.bc-sl input{-webkit-appearance:none;appearance:none;width:100%;height:4px;border-radius:9px;background:linear-gradient(90deg,#b8f35a var(--p,40%),rgba(255,255,255,.08) var(--p,40%));outline:none}
.bc-sl input::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:var(--hw-metal);border:1px solid rgba(255,246,226,.5);box-shadow:0 2px 6px rgba(0,0,0,.6)}
.bc-save{display:flex;gap:8px;flex:none}
html body .bc-save input{all:unset;flex:1;min-width:0;height:46px;padding:0 14px;border-radius:14px;background:#0b0b0c;border:1px solid var(--hw-edge);font-size:13.5px;color:var(--hw-value)}
html body .bc-save input.need{border-color:rgba(255,150,120,.7)}
html body .bc-save .bfl-go{flex:none;margin:0}
/* the approve key on a reel card (10-16: the ✓ glyph sat high in a thin ring): a matte key with a drawn, centred tick */
html body.bfl-on #projGrid .pc.fmem .apbtn{width:34px!important;height:34px!important;left:12px;top:12px;display:grid!important;place-items:center;font-size:0!important;line-height:0!important;
  border-radius:50%!important;background:rgba(12,12,13,.55)!important;border:1px solid rgba(255,255,255,.18)!important;backdrop-filter:blur(10px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 6px 16px -6px rgba(0,0,0,.8)!important;transition:background .2s,border-color .2s,transform .15s}
html body.bfl-on #projGrid .pc.fmem .apbtn::before{content:''!important;width:16px;height:16px;display:block;background:rgba(255,255,255,.45);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
html body.bfl-on #projGrid .pc.fmem .apbtn:hover{border-color:rgba(255,255,255,.4)!important;background:rgba(20,20,21,.75)!important}
html body.bfl-on #projGrid .pc.fmem .apbtn:hover::before{background:#fff}
html body.bfl-on #projGrid .pc.fmem .apbtn:active{transform:scale(.94)}
html body.bfl-on #projGrid .pc.fmem .apbtn.on{background:var(--hw-metal)!important;border-color:rgba(255,246,226,.55)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 0 0 3px rgba(89,255,110,.12),0 0 18px -2px rgba(89,255,110,.55)!important}
html body.bfl-on #projGrid .pc.fmem .apbtn.on::before{background:#1f1c19}
html body.bfl-on #projGrid .pc.fmem .apbtn{padding:0!important}
html body.bfl-on #projGrid .pc.fmem .apbtn::before{margin:0!important;transform:translateY(1px)}
html body.bfl-on #projGrid .pc.fmem .apbtn{display:flex!important;align-items:center!important;justify-content:center!important}
html body.bfl-on #projGrid .pc.fmem .apbtn::before{transform:none;flex:none}
/* ⚙ Adjust beside the styles (10-16) */
html body .bfl-strip.kp.adj{display:grid!important;grid-template-columns:minmax(0,1fr) 380px;gap:0;align-items:stretch}
.kp-main{min-width:0;position:relative}
html body .bfl-strip.kp .kp-adjust{position:relative;inset:auto;top:auto;right:auto;bottom:auto;width:auto;transform:none;margin:0 16px 0 4px;max-height:560px;transition:none}
html body .bfl-strip.kp .kp-adjust .bc-dbody{min-height:0}
.kp-adj{position:absolute;left:12px;bottom:12px;z-index:3;padding:6px 11px;border-radius:999px;font:500 12px/1 var(--ui);color:#1d1b18;
  background:var(--hw-metal);border:1px solid rgba(255,246,226,.45);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 6px 14px -6px rgba(0,0,0,.8)}
html body .kp-tile.on:hover .nm{opacity:0}
.bfl-strip.kp.adj .kp-tile.on{border-color:rgba(125,198,255,.6)}
@media (max-width:1100px){ html body .bfl-strip.kp.adj{grid-template-columns:1fr} html body .bfl-strip.kp .kp-adjust{margin:12px 16px 0} }
/* 🪝 the Hooks step at full size (Patrik 10-16: "look how big the interface is and our hook section is very small"):
   a bigger reel, the panel takes the rest of the width at the reel's height, the Style editor gets two columns */
html body .bfl .hk-main{grid-template-columns:400px minmax(0,1fr)!important;gap:24px!important;justify-content:stretch!important;align-items:stretch!important;padding:0!important}
html body .bfl .hk-reel{width:400px;max-width:100%}
html body .bfl .hk-panel{min-height:711px;max-height:711px}
html body .bfl .hk-body{overflow:auto}
html body .bfl .hk-opts .hk-opt{padding:16px 18px!important}
html body .bfl .hk-opt .hk-t{font-size:20px!important}
@media (min-width:1300px){
  html body .bfl .hk-body .hs-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
}
@media (max-width:1100px){ html body .bfl .hk-main{grid-template-columns:280px 1fr!important} html body .bfl .hk-reel{width:280px} html body .bfl .hk-panel{min-height:0;max-height:none} }
/* Adjust panel, fixed (10-16 "look how it's offset"): opened scrolled half-way down and squeezed into 380px. Wider, two
   columns (Type | Look), no inner scroll, top-aligned with the rows */
html body .bfl-strip.kp.adj{grid-template-columns:minmax(0,1fr) 600px!important;align-items:start!important}
html body .bfl-strip.kp .kp-adjust{max-height:none!important;height:auto;margin:0 16px 0 0!important;padding:14px!important;gap:12px}
html body .bfl-strip.kp .kp-adjust .bc-dbody{overflow:visible!important;flex:none}
html body .bfl-strip.kp .kp-adjust .bc-set{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;align-items:start}
html body .bfl-strip.kp .kp-adjust .bc-sec{padding:12px;gap:10px}
html body .bfl-strip.kp .kp-adjust .bc-dh b{font-size:17px;margin-top:3px}
@media (max-width:1400px){ html body .bfl-strip.kp.adj{grid-template-columns:minmax(0,1fr) 440px!important} html body .bfl-strip.kp .kp-adjust .bc-set{grid-template-columns:1fr} }
/* Adjust = a drawer on the right edge of the page (his pick, 10-16): full height, over the page; the rows keep their width */
html body .bfl-strip.kp.adj{display:block!important}
html body .bfl-strip.kp .kp-adjust{position:fixed!important;top:16px!important;right:16px!important;bottom:16px!important;left:auto!important;width:420px!important;
  margin:0!important;max-height:none!important;z-index:900;padding:18px!important;animation:kpDrIn .32s cubic-bezier(.2,.8,.2,1)}
html body .bfl-strip.kp .kp-adjust .bc-dbody{overflow:auto!important;flex:1;min-height:0}
html body .bfl-strip.kp .kp-adjust .bc-set{display:flex!important;flex-direction:column}
@keyframes kpDrIn{from{transform:translateX(calc(100% + 30px))}to{transform:none}}
@media (prefers-reduced-motion:reduce){ html body .bfl-strip.kp .kp-adjust{animation:none} }
/* 🪝 hook text and its style side by side (10-16: more settings, no hidden tab) */
html body .bfl .hk-tabs[hidden]{display:none!important}
html body .bfl .hk-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:18px;align-items:start}
html body .bfl .hk-col{display:flex;flex-direction:column;gap:10px;min-width:0}
html body .bfl .hk-stycol .hs-cards{display:flex!important;flex-direction:column;gap:10px}
html body .bfl .hk-stycol .hs-tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media (max-width:1300px){ html body .bfl .hk-split{grid-template-columns:1fr} }

/* ===== 🪝 HOOKS, COMPACT + A STYLE DRAWER (Patrik 10-16: "not optimized sizewise, all over the page… I liked that drawer
   UI you built for captions, that was clean"). The reel and one compact hook card, centred together; the hook's style
   lives in the same right-edge drawer as Adjust, in the same controls language. ===== */
html body .bfl .hk-main{grid-template-columns:360px 460px!important;justify-content:center!important;align-items:stretch!important;gap:20px!important}
html body .bfl .hk-reel{width:360px!important}
html body .bfl .hk-panel{min-height:0!important;max-height:640px!important}
html body .bfl .hk-split{display:block!important}
html body .bfl .hk-opt .hk-t{font-size:17px!important}
html body .bfl .hk-opts .hk-opt{padding:13px 15px!important}
html body .bfl .hk-meta{display:flex;align-items:center;gap:10px}
html body .hk-stykey{all:unset;margin-left:auto;display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 13px;border-radius:11px;cursor:pointer;
  font:500 12.5px/1 var(--ui);color:#d9d4cc;background:linear-gradient(180deg,#202021,#151516);border:1px solid var(--hw-edge);box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
html body .hk-stykey svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
html body .hk-stykey:hover,html body .hk-stykey.on{color:#fff;border-color:rgba(255,246,226,.3)}
html body .bfl .hk-top{max-width:840px;margin:0 auto;width:100%;box-sizing:border-box}
/* the drawer */
html body .hk-drawer{position:fixed!important;top:16px!important;right:16px!important;bottom:16px!important;left:auto!important;width:420px!important;z-index:900;
  padding:18px!important;transform:none!important;animation:kpDrIn .32s cubic-bezier(.2,.8,.2,1)}
html body .hk-drawer .bc-dbody{overflow:auto;flex:1;min-height:0;gap:10px}
/* the hook controls in the drawer's language */
html body .hk-drawer .hs-name{display:flex;gap:8px;order:99}
html body .hk-drawer .hs-in{all:unset;flex:1;min-width:0;height:42px;padding:0 13px;border-radius:13px;background:#0b0b0c;border:1px solid var(--hw-edge);font-size:13px;color:var(--hw-value)}
html body .hk-drawer .hs-save{height:42px!important;margin:0!important;flex:none}
html body .hk-drawer .hs-tiles{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}
html body .hk-drawer .hs-tile{border-radius:12px!important;background:linear-gradient(160deg,#1a1a1b,#111112)!important;border:1px solid var(--hw-edge)!important}
html body .hk-drawer .hs-tile.on{border-color:rgba(125,198,255,.55)!important}
html body .hk-drawer .hs-cards{display:flex!important;flex-direction:column;gap:10px}
html body .hk-drawer .hs-card{border-radius:16px!important;background:linear-gradient(160deg,#18181a,#101011)!important;border:1px solid var(--hw-edge)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;padding:0!important;overflow:hidden}
html body .hk-drawer .hs-ch{all:unset;display:flex;justify-content:space-between;width:100%;box-sizing:border-box;padding:13px 14px;cursor:pointer;font:500 11px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase;color:#8b8780}
html body .hk-drawer .hs-cb{padding:0 14px 14px;display:flex;flex-direction:column;gap:12px}
html body .hk-drawer .hs-lab,html body .hk-drawer .hs-fh span,html body .hk-drawer label{color:var(--hw-label)!important;font:400 12px/1 var(--ui)!important;letter-spacing:0!important;text-transform:none!important}
html body .hk-drawer .hs-font{height:40px;padding:0 12px;border-radius:12px;background:#0b0b0c!important;border:1px solid var(--hw-edge)!important;color:var(--hw-value);font:400 14px/1 var(--ui)}
html body .hk-drawer .hs-seg{display:flex;padding:3px;border-radius:12px;background:#0b0b0c!important;border:1px solid var(--hw-edge)!important}
html body .hk-drawer .hs-seg button{all:unset;flex:1;text-align:center;padding:8px 4px;border-radius:9px;font-size:12px;color:#6c6863;cursor:pointer}
html body .hk-drawer .hs-seg button.on{background:linear-gradient(180deg,#252526,#19191a);color:var(--hw-value);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
html body .hk-drawer .hs-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html body .hk-drawer .hs-two.w{grid-template-columns:1fr}
html body .hk-drawer .hs-two > div{display:flex;flex-direction:column;gap:7px}
html body .hk-drawer .hs-inline{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html body .hk-drawer .hs-inline .hs-lab{width:100%}
html body .hk-drawer .hs-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html body .hk-drawer input[type=color].hs-col{width:100%;height:36px;border-radius:10px;border:1px solid var(--hw-edge);background:#0b0b0c;padding:4px;cursor:pointer}
html body .hk-drawer input[type=color].hs-sw{width:36px;height:36px;border-radius:10px;border:1px solid var(--hw-edge);background:#0b0b0c;padding:4px;cursor:pointer}
html body .hk-drawer .hs-rng{-webkit-appearance:none;appearance:none;flex:1;min-width:90px;height:4px;border-radius:9px;background:rgba(255,255,255,.1);outline:none}
html body .hk-drawer .hs-rng::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:var(--hw-metal);border:1px solid rgba(255,246,226,.5);box-shadow:0 2px 6px rgba(0,0,0,.6)}
html body .hk-drawer output{color:#8b8780;font-size:12px;font-variant-numeric:tabular-nums;min-width:3ch}
html body .hk-drawer .hs-mot{display:flex;flex-wrap:wrap;gap:6px}
html body .hk-drawer .hs-mot button{all:unset;padding:7px 11px;border-radius:999px;font-size:12px;color:#a7a39d;cursor:pointer;background:#0b0b0c;border:1px solid var(--hw-edge)}
html body .hk-drawer .hs-mot button:hover{color:#fff;border-color:rgba(255,255,255,.2)}
html body .hk-drawer .hs-mot button.on{color:#fff;border-color:rgba(255,246,226,.45);background:linear-gradient(180deg,#252526,#19191a)}
@media (max-width:1100px){ html body .bfl .hk-main{grid-template-columns:260px 1fr!important} html body .bfl .hk-reel{width:260px!important} }
/* 🔤 the font key + list (each name in its own face) */
html body .fp-key{all:unset;box-sizing:border-box;flex:1;min-width:0;width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;height:44px;padding:0 14px;
  border-radius:12px;background:#0b0b0c;border:1px solid var(--hw-edge);color:var(--hw-value);cursor:pointer;transition:border-color .2s}
html body .fp-key:hover{border-color:rgba(255,255,255,.18)}
html body .fp-key span{font-size:19px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .fp-key i{font-style:normal;color:#6c6863;font-size:12px}
.fp-pop{position:fixed;z-index:10000;overflow:auto;padding:6px;border-radius:16px;background:rgba(18,18,19,.98);border:1px solid rgba(255,255,255,.1);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.95);backdrop-filter:blur(14px);scrollbar-width:thin;scrollbar-color:#2a2a2b transparent}
html body .fp-it{all:unset;box-sizing:border-box;display:block;width:100%;padding:9px 12px;border-radius:10px;font-size:20px;line-height:1.15;color:#e4dfd8;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .fp-it:hover{background:rgba(255,255,255,.06);color:#fff}
html body .fp-it.on{background:linear-gradient(180deg,#252526,#19191a);color:#fff;box-shadow:inset 0 0 0 1px rgba(125,198,255,.4)}

/* hook drawer, tidied (10-16 "this tab is not adjusted"): look tiles readable, one slider per row, controls on their own lines */
html body .hk-drawer .hs-tiles{height:auto!important;overflow:visible!important;padding:0!important;margin:0!important}
html body .hk-drawer .hs-tile{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:66px!important;min-height:66px;padding:6px!important;overflow:hidden;cursor:pointer}
html body .hk-drawer .hs-tile .pv{display:block!important;height:auto!important;background:none!important;border:0!important}
html body .hk-drawer .hs-tile .pv b{font-size:22px!important;line-height:1!important}
html body .hk-drawer .hs-tile .nm{font:400 11px/1 var(--ui)!important;color:#8b8780!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html body .hk-drawer .hs-tile.on .nm{color:#ece9e4!important}
html body .hk-drawer .hs-fh{display:flex;align-items:center;justify-content:space-between}
html body .hk-drawer .hs-bi{display:flex;gap:6px}
html body .hk-drawer .hs-bi button{all:unset;width:30px;height:28px;border-radius:9px;display:grid;place-items:center;font:600 13px/1 Georgia,serif;color:#8b8780;cursor:pointer;background:#0b0b0c;border:1px solid var(--hw-edge)}
html body .hk-drawer .hs-bi button.on{color:#fff;border-color:rgba(255,246,226,.4);background:linear-gradient(180deg,#252526,#19191a)}
html body .hk-drawer .hs-row{display:grid!important;grid-template-columns:auto 1fr 3.4em;gap:12px 12px;align-items:center}
html body .hk-drawer .hs-row output{text-align:right}
html body .hk-drawer .hs-inline{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px}
html body .hk-drawer .hs-inline > .hs-lab{flex:0 0 100%}
html body .hk-drawer .hs-inline > .hs-seg{flex:1 1 140px}
html body .hk-drawer .hs-inline > .hs-rng{flex:1 1 90px}
html body .hk-drawer .hs-cb > .hs-two.w + .hs-two.w{margin-top:2px}
html body .hk-drawer .hs-two.w > div:has(> input[type=color]){flex-direction:row;align-items:center;justify-content:space-between}
html body .hk-drawer .hs-two.w > div > input[type=color].hs-col{width:44px;height:36px;flex:none}
/* 📐 hook layouts: six mini frames */
html body .bfl .hk-lays{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
html body .hk-lay{all:unset;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer}
html body .hk-lay .fr{position:relative;display:block;width:100%;aspect-ratio:9/16;border-radius:10px;background:linear-gradient(180deg,#1a1a1b,#0f0f10);border:1px solid var(--hw-edge);transition:border-color .2s,transform .2s}
html body .hk-lay .fr i{position:absolute;left:50%;transform:translateX(-50%);border-radius:3px;background:#d9d4cc}
html body .hk-lay .fr i + i{background:#ffb27a}
html body .hk-lay small{font:400 10.5px/1.1 var(--ui);color:#77736d;text-align:center;white-space:nowrap}
html body .hk-lay:hover .fr{border-color:rgba(255,255,255,.22);transform:translateY(-2px)}
html body .hk-lay.on .fr{border-color:rgba(125,198,255,.6);box-shadow:0 0 0 3px rgba(125,198,255,.08)}
html body .hk-lay.on small{color:#ece9e4}
