/* Own floating launcher around the existing shared demo component. */
#bst-floating-demo [data-float-launch]{position:fixed;z-index:950;right:max(12px,env(safe-area-inset-right));bottom:max(96px,calc(env(safe-area-inset-bottom) + 80px));display:flex;flex-direction:column;align-items:center;gap:3px;width:116px;box-sizing:border-box;min-height:126px;padding:7px 6px 10px;border:2px solid #ffda7b;border-radius:20px;background:linear-gradient(150deg,#682d91,#31184e);color:#fff;box-shadow:0 8px 26px #160b3866,0 0 15px #ffc85c40,inset 0 1px 0 #ffffff30;font:700 13px/1.4 Arial,sans-serif;cursor:pointer;touch-action:manipulation;isolation:isolate}
#bst-floating-demo .bst-slot-icon{display:block;flex:none;width:82px;height:64px;overflow:visible;filter:drop-shadow(0 3px 2px #160b3840)}
#bst-floating-demo .bst-slot-label{display:block;color:#fff5cb;font:800 17px/1.2 Arial,sans-serif;white-space:nowrap;letter-spacing:.1px}
#bst-floating-demo .bst-slot-hint{display:block;color:#fff;font:600 9px/1.5 Arial,sans-serif;white-space:nowrap}
#bst-floating-demo [data-float-launch]:hover{background:linear-gradient(150deg,#803caf,#422165);box-shadow:0 8px 28px #160b3880,0 0 20px #ffc85c66}
#bst-floating-demo [data-float-launch]:active{transform:scale(.97)}
#bst-floating-demo button:focus-visible{outline:3px solid #f5d67a;outline-offset:3px}
#bst-floating-demo [data-float-dialog]{position:fixed;inset:0;margin:auto;padding:0;width:min(600px,calc(100vw - 16px));height:min(880px,calc(100dvh - 16px));max-width:none;max-height:none;overflow:auto;border:1px solid #b8a9ef;border-radius:18px;background:#fff8fc;color:#45243a;box-shadow:0 20px 90px #0008}
#bst-floating-demo [data-float-dialog]::backdrop{background:#080518ba}
#bst-floating-demo .bst-floating-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#24243c;color:#f0effa;font:700 15px/1.5 Arial,sans-serif}
#bst-floating-demo [data-float-close]{min-width:44px;min-height:44px;border:1px solid #b7a6d8;border-radius:9px;background:#373050;color:#fff;cursor:pointer}
#bst-floating-demo .bst-demo{margin:0;padding:8px 10px 0;background:#fff8fc;color:#45243a}
#bst-floating-demo .bst-demo-stage{width:100%;max-width:480px;margin:0 auto}
#bst-floating-demo .bst-demo-inner{margin:0 auto;max-width:100%}
#bst-floating-demo .bst-demo-intro h2{font-size:13px}
#bst-floating-demo .bst-demo-player{height:clamp(260px,calc(100dvh - 240px),620px);min-height:0}
#bst-floating-demo [data-float-dialog]:has(.bst-demo-expanded){width:100vw;height:100dvh;border:0;border-radius:0;overflow:hidden}
@media(max-width:620px){#bst-floating-demo [data-float-launch]{right:max(8px,env(safe-area-inset-right));width:104px;min-height:114px;padding:5px 5px 8px;gap:3px;border-radius:17px}#bst-floating-demo .bst-slot-icon{width:72px;height:56px}#bst-floating-demo .bst-slot-label{font-size:15px}#bst-floating-demo .bst-slot-hint{font-size:8px}#bst-floating-demo [data-float-dialog]{width:calc(100vw - 8px);height:calc(100dvh - 8px);border-radius:12px}#bst-floating-demo .bst-demo{padding:7px 4px 0}#bst-floating-demo .bst-demo-player{height:calc(100dvh - 230px)}}
