.jlb{--lb-bg:rgba(12,8,8,.94);--lb-fg:#f3ead9;--lb-accent:#d9b277;position:fixed;inset:0;z-index:9000;background:var(--lb-bg);color:var(--lb-fg);display:flex;flex-direction:column;opacity:0;transition:opacity .26s ease;font-family:var(--lb-font,inherit)}
.jlb[hidden]{display:none}
.jlb.is-open{opacity:1}
.jlb-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:clamp(54px,8vh,78px) clamp(10px,6vw,96px) 8px;transition:opacity .12s ease}
.jlb.is-swap .jlb-stage{opacity:0}
.jlb-stage img,.jlb-stage video{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.jlb-stage img[hidden],.jlb-stage video[hidden]{display:none}
.jlb-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px clamp(14px,4vw,40px) max(16px,env(safe-area-inset-bottom));flex-wrap:wrap}
.jlb-cap{font-size:clamp(15px,1.6vw,18px);letter-spacing:.02em}
.jlb-count{font-size:13px;opacity:.6;letter-spacing:.12em}
.jlb-ask{display:inline-flex;align-items:center;gap:9px;padding:11px 20px;border:1px solid var(--lb-accent);color:var(--lb-accent);text-decoration:none;font-size:14px;letter-spacing:.05em;transition:background .25s,color .25s}
.jlb-ask svg{width:18px;height:18px}
.jlb-ask:hover{background:var(--lb-accent);color:#1a0d0d}
.jlb-x,.jlb-p,.jlb-n{position:absolute;display:grid;place-items:center;width:46px;height:46px;color:var(--lb-fg);opacity:.85;transition:opacity .2s,transform .2s;z-index:2}
.jlb-x:hover,.jlb-p:hover,.jlb-n:hover{opacity:1}
.jlb-x svg,.jlb-p svg,.jlb-n svg{width:26px;height:26px}
.jlb-x{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}
.jlb-p,.jlb-n{top:50%;transform:translateY(-50%)}
.jlb-p{left:clamp(2px,1.5vw,18px)}
.jlb-n{right:clamp(2px,1.5vw,18px)}
.jlb.is-single .jlb-p,.jlb.is-single .jlb-n{display:none}
@media (max-width:640px){
  .jlb-p,.jlb-n{top:auto;bottom:74px;transform:none;background:rgba(0,0,0,.35);border-radius:50%}
  .jlb-p{left:10px}.jlb-n{right:10px}
  .jlb-stage{padding:56px 8px 8px}
  .jlb-bar{justify-content:center;text-align:center}
}
