/* The demo's own bar on top of pages Venturi published (see demo.js). */
.demo-bar{position:fixed;top:0;left:0;right:0;z-index:60;height:40px;display:flex;align-items:center;gap:12px;padding:0 max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));background:#101114;color:#f2f1ed;font:600 13px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 1px 0 rgba(255,255,255,.08)}
.demo-bar a{color:#f2f1ed;text-decoration:none}
.demo-home{flex:none;padding:6px 10px;border-radius:8px;background:rgba(255,255,255,.1)}
.demo-home:hover{background:rgba(255,255,255,.18)}
.demo-steps{flex:1;min-width:0;display:flex;gap:6px;margin:0;padding:0;list-style:none;overflow:hidden;white-space:nowrap}
.demo-steps li{color:#a3a6ae}
.demo-steps li::before{content:attr(data-n) " ";color:#8d909a}
.demo-steps li+li::before{content:"› " attr(data-n) " "}
.demo-steps li.done{color:#c9cbd1}
.demo-steps li.on{color:#fff}
.demo-steps li.on::after{content:"";display:inline-block;width:6px;height:6px;margin-left:6px;border-radius:50%;background:#ff6a48;vertical-align:middle}
.demo-fill{flex:none;height:30px;padding:0 12px;border:0;border-radius:8px;background:#ff5a36;color:#101114;font:inherit;cursor:pointer}
@media (max-width:640px){.demo-steps li:not(.on){display:none}.demo-steps li.on::before{content:attr(data-n) "/4 "}}
html.has-demo-bar body{padding-top:40px}
html.has-demo-bar.chat-only main>.b-chat{top:calc(var(--chat-top,0px) + 40px)!important;height:calc(var(--chat-h,100dvh) - 40px)!important}
.demo-note{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));z-index:70;transform:translate(-50%,20px);width:min(92vw,440px);padding:12px 16px;border-radius:12px;background:#101114;color:#f2f1ed;font:500 14px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 14px 40px -12px rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.demo-note.show{opacity:1;transform:translate(-50%,0)}
.demo-end{max-width:720px;margin:0 auto;padding:8px 22px 72px;text-align:center}
.demo-end h2{margin-bottom:.4em}
.demo-end p{color:var(--muted);margin:0 auto 22px;max-width:36em}
.demo-end div{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.demo-btn{display:inline-flex;align-items:center;min-height:50px;padding:12px 22px;border-radius:99px;background:var(--btn-bg);color:var(--btn-ink);font-weight:750;text-decoration:none}
.demo-btn.line{background:none;color:var(--text);box-shadow:inset 0 0 0 1.5px var(--text)}
@media (prefers-reduced-motion:reduce){.demo-note{transition:none}}
