/* Jawabbid helper "Jawab": a tiny floating, draggable 3D owl with page tips (test interface). Prefix jb-help-. */
.jb-help{position:fixed;inset-inline-start:14px;bottom:12px;z-index:60;display:flex;align-items:flex-end;gap:6px;pointer-events:none;font:13px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.jb-help[hidden]{display:none}
.jb-help-btn{pointer-events:auto;position:relative;width:92px;height:92px;padding:0;border:0;background:none;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;opacity:.88;filter:drop-shadow(0 8px 14px rgba(0,0,0,.35));transition:opacity .25s,transform .25s;animation:jb-help-bob 4.5s ease-in-out infinite}
.jb-help-btn::before{content:"";position:absolute;left:18%;right:18%;bottom:2px;height:10px;border-radius:50%;background:radial-gradient(rgba(0,0,0,.35),transparent 70%);z-index:-1}
.jb-help-btn:hover,.jb-help-btn:focus-visible,.jb-help-open .jb-help-btn{opacity:1;transform:translateY(-3px) scale(1.05)}
.jb-help-btn:focus-visible{outline:2px solid #2DD4BF;outline-offset:4px;border-radius:20px}
.jb-help-btn img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .16s linear;pointer-events:none;-webkit-user-drag:none}
.jb-help-btn img.on{opacity:1}
.jb-help-dot{position:absolute;top:6px;inset-inline-end:10px;width:11px;height:11px;border-radius:50%;background:#F59E0B;box-shadow:0 0 0 2px rgba(11,21,38,.8);z-index:2;animation:jb-help-ping 2s ease-out infinite}
.jb-help-bubble{pointer-events:auto;position:fixed;z-index:62;overflow-y:auto;width:min(290px,calc(100vw - 130px));color:#e2e8f0;background:linear-gradient(160deg,rgba(30,41,59,.78),rgba(15,23,42,.72));backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);border:1px solid rgba(45,212,191,.35);border-radius:18px;padding:13px 15px 11px;box-shadow:0 18px 40px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.08);margin:0;animation:jb-help-pop .22s ease-out}
.jb-help-bubble::after{content:"";position:absolute;bottom:14px;inset-inline-start:-7px;width:14px;height:14px;background:rgba(22,32,50,.85);border-inline-start:1px solid rgba(45,212,191,.35);border-bottom:1px solid rgba(45,212,191,.35);transform:rotate(45deg);border-radius:0 0 0 4px}
[dir="rtl"] .jb-help-bubble::after{transform:rotate(-45deg)}
.jb-help-bubble h4{margin:0 0 5px;font-size:13px;font-weight:650;color:#5eead4;letter-spacing:.01em}
.jb-help-bubble p{margin:0;color:#e2e8f0}
.jb-help-acts{display:flex;gap:6px;justify-content:flex-end;align-items:center;margin-top:11px;flex-wrap:wrap}
.jb-help-acts button{min-height:30px;padding:4px 11px;border-radius:999px;border:1px solid rgba(148,163,184,.35);background:rgba(255,255,255,.06);color:#e2e8f0;font:inherit;font-size:12px;cursor:pointer;transition:background .15s}
.jb-help-acts button:hover{background:rgba(255,255,255,.14)}
.jb-help-acts button.jb-help-primary{background:#14b8a6;border-color:#14b8a6;color:#04201d;font-weight:600}
.jb-help-acts button.jb-help-primary:hover{background:#2dd4bf}
.jb-help-acts button:focus-visible{outline:2px solid #5eead4;outline-offset:2px}
.jb-help-count{margin-inline-end:auto;color:#94a3b8;font-size:11px}
.jb-help.jb-help-flip{flex-direction:row-reverse}
.jb-help.jb-help-flip .jb-help-bubble::after{inset-inline-start:auto;inset-inline-end:-7px;transform:rotate(-135deg)}
[dir="rtl"] .jb-help.jb-help-flip .jb-help-bubble::after{transform:rotate(135deg)}
.jb-help.jb-help-low{align-items:flex-start}
.jb-help.jb-help-low .jb-help-bubble{margin:0}
.jb-help.jb-help-low .jb-help-bubble::after{bottom:auto;top:14px}
.jb-help-dragging .jb-help-btn{cursor:grabbing;animation:none;opacity:1;transform:scale(1.1);filter:drop-shadow(0 16px 22px rgba(0,0,0,.45))}
@keyframes jb-help-bob{0%,100%{translate:0 0}50%{translate:0 -4px}}
@keyframes jb-help-pop{from{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:none}}
@keyframes jb-help-ping{0%{box-shadow:0 0 0 2px rgba(11,21,38,.8),0 0 0 0 rgba(245,158,11,.6)}100%{box-shadow:0 0 0 2px rgba(11,21,38,.8),0 0 0 10px rgba(245,158,11,0)}}
@media (max-width:480px){.jb-help-btn{width:72px;height:72px}.jb-help-bubble{margin:0}.jb-help-acts button{min-height:44px}}
@media (prefers-reduced-motion:reduce){.jb-help-btn,.jb-help-bubble,.jb-help-dot{animation:none}.jb-help-btn img{transition:none}}
.jb-help-btn video.jb-help-clip{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.jb-help-btn.jb-help-playing img{opacity:0!important;transition:none}

.jb-help-bubble::after{display:none}

/* drop-to-explain: the item the owl is over (magnetic) and the item it explains */
.jb-help-near{outline:2px dashed rgba(45,212,191,.85)!important;outline-offset:4px;border-radius:12px;transition:outline-color .15s}
.jb-help-target{outline:2px solid #2DD4BF!important;outline-offset:4px;border-radius:12px;box-shadow:0 0 0 6px rgba(45,212,191,.15),0 0 28px rgba(45,212,191,.35)!important}
/* BAC-421: public/mascot-dock.js shrinks Jawab where his corner is tight, and steps him aside when nothing is free */
.jb-help.mascot-compact .jb-help-btn{width:60px;height:60px}
.jb-help.mascot-tucked{visibility:hidden}
/* light-theme:begin — generated by tools/light-theme.mjs from the rules above; do not edit by hand (hand-tuned light rules go after the end marker) */
html[data-theme="light"] .jb-help-btn{filter:drop-shadow(0 8px 14px rgba(15,23,42,.122))}
html[data-theme="light"] .jb-help-btn::before{background:radial-gradient(rgba(247,247,247,.35),transparent 70%)}
html[data-theme="light"] .jb-help-btn:focus-visible{outline:2px solid #2DD4BF}
html[data-theme="light"] .jb-help-dot{background:#F59E0B;box-shadow:0 0 0 2px rgba(15,23,42,.28)}
html[data-theme="light"] .jb-help-bubble{color:#181f28;background:linear-gradient(160deg,rgba(230,234,240,.78),rgba(238,240,247,.72));border:1px solid rgba(45,212,191,.35);box-shadow:0 18px 40px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.08)}
html[data-theme="light"] .jb-help-bubble::after{background:rgba(234,237,244,.85);border-inline-start:1px solid rgba(45,212,191,.35);border-bottom:1px solid rgba(45,212,191,.35)}
html[data-theme="light"] .jb-help-bubble h4{color:#13b79d}
html[data-theme="light"] .jb-help-bubble p{color:#181f28}
html[data-theme="light"] .jb-help-acts button{border:1px solid rgba(148,163,184,.35);background:rgba(15,23,42,.051);color:#181f28}
html[data-theme="light"] .jb-help-acts button:hover{background:rgba(15,23,42,.119)}
html[data-theme="light"] .jb-help-acts button.jb-help-primary{background:#14b8a6;border-color:#14b8a6;color:#04201d}
html[data-theme="light"] .jb-help-acts button.jb-help-primary:hover{background:#2dd4bf}
html[data-theme="light"] .jb-help-acts button:focus-visible{outline:2px solid #5eead4}
html[data-theme="light"] .jb-help-count{color:#536173}
html[data-theme="light"] .jb-help-dragging .jb-help-btn{filter:drop-shadow(0 16px 22px rgba(15,23,42,.158))}
html[data-theme="light"] .jb-help-near{outline:2px dashed rgba(45,212,191,.85) !important}
html[data-theme="light"] .jb-help-target{outline:2px solid #2DD4BF !important;box-shadow:0 0 0 6px rgba(45,212,191,.09),0 0 28px rgba(45,212,191,.21) !important}
/* light-theme:end */
