/* Compact, game-first presentation. Original template below remains unchanged. */
.bst-demo{background:#fff8fc;color:#45243a;padding:10px 20px 0;border-bottom:1px solid #ead6e2}
.bst-demo-inner{max-width:1100px;display:flex;flex-direction:column;gap:10px}
.bst-demo-intro{width:100%;display:flex;justify-content:center;align-items:center;gap:14px;text-align:center}
.bst-demo-intro h2{font-size:18px;line-height:1.4;letter-spacing:0;color:#45243a;margin:0;font-weight:700}
.bst-demo-intro h2 br{display:none}
.bst-demo-label{font-size:9px;letter-spacing:.7px;color:#926476;order:2}
.bst-demo-intro>p,.bst-demo-intro ul,.bst-demo-intro .bst-demo-start,.bst-demo-intro small{display:none}
.bst-demo-stage{width:min(100%,480px);border:1px solid #dbc0ce;background:#fff;border-radius:9px;box-shadow:0 8px 24px #67354c13}
.bst-demo-stage-top{padding:5px 10px;color:#69405b;font-size:9px;letter-spacing:.8px;background:#fbf0f6}
.bst-demo-stage-top button{width:28px;height:25px;border-color:#dbc0ce;background:white;color:#8e3664;font-size:17px!important}
.bst-demo-player{height:min(65svh,620px);min-height:360px}
.bst-demo-stage-bottom{padding:6px 10px;color:#886779;font-size:9px;gap:8px}
.bst-demo-stage-bottom a{color:#a62e6c;white-space:nowrap}
.bst-demo-cover-caption{bottom:18px;left:18px;right:18px}
.bst-demo-cover-caption h3{font-size:24px;margin:7px 0 13px}
.bst-demo-cover-caption button{background:#a62e6c;border-color:#c9759f;color:white;font-size:14px;padding:13px}
.bst-demo-cover-caption>p{margin-top:7px}
.bst-demo-divider{margin-top:10px;padding:8px 0;color:#8a6278;border-color:#ead6e2;font-size:9px}
.bst-demo-player:fullscreen{height:100dvh;min-height:0}
.bst-demo-stage-top button{min-width:44px;min-height:40px;touch-action:manipulation;position:relative;z-index:3}
.bst-demo-expanded-host{position:relative;z-index:2147483647!important}
.bst-demo-expanded{position:fixed!important;inset:0!important;z-index:2147483647!important;width:100%!important;max-width:none!important;height:100vh!important;height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;background:#101410!important;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)!important}
.bst-demo-expanded .bst-demo-stage-top{padding:6px 10px!important;min-height:48px}
.bst-demo-expanded #bst-demo-full{width:auto!important;min-width:90px!important;font-size:13px!important;padding:0 10px!important;font-weight:700}
.bst-demo-expanded .bst-demo-player{height:100%!important;min-height:0!important;max-height:none!important;width:100%!important;aspect-ratio:auto!important}
.bst-demo-expanded .bst-demo-player iframe{width:100%!important;height:100%!important;display:block}
.bst-demo-expanded .bst-demo-cover{max-width:600px;margin:auto}
.bst-demo-expanded .bst-demo-stage-bottom{min-height:27px;background:#fff8fc}
@media(max-width:620px){
 .bst-demo{padding:7px 8px 0}
 .bst-demo-inner{gap:6px}
 .bst-demo-intro{justify-content:space-between;gap:6px;padding:0 3px;min-height:24px}
 .bst-demo-intro h2{font-size:13px;line-height:1.4;text-align:left}
 .bst-demo-label{font-size:7px;letter-spacing:0;white-space:nowrap}
 .bst-demo-stage{width:min(100%,460px);border-radius:7px}
 .bst-demo-player{height:clamp(300px,calc(100svh - 245px),660px);min-height:0;max-height:none;aspect-ratio:auto}
 .bst-demo-stage-top{padding:4px 8px;font-size:8px}
 .bst-demo-stage-top button{width:44px;height:40px}
 .bst-demo-stage-bottom{font-size:8px;padding:5px 7px}
 .bst-demo-cover-caption h3{font-size:23px}
 .bst-demo-cover-caption{bottom:16px}
 .bst-demo-cover-caption>span{font-size:8px}
 .bst-demo-divider{margin-top:6px;padding:6px 0;font-size:8px}
}

/* User supplied demo introduction. */
.bst-demo-intro{display:flex;flex-direction:column;gap:3px;padding:2px 3px 4px;min-height:0}.bst-demo-intro h2{font-size:14px;line-height:1.45;text-align:center;margin:0}.bst-demo-intro>p{display:block;margin:0;color:#886779;font-size:11px;line-height:1.5}.bst-demo-intro ul{display:flex;justify-content:center;gap:12px;margin:3px 0 0;padding:0;list-style:none}.bst-demo-intro li{font-size:9px;border:0;border-radius:0;padding:0;color:#926476}.bst-demo-intro li+li:before{content:'·';margin-right:12px}@media(max-width:620px){.bst-demo-intro{gap:2px}.bst-demo-intro h2{font-size:12px}.bst-demo-intro>p{font-size:10px}.bst-demo-intro ul{gap:9px;margin-top:2px}.bst-demo-intro li{font-size:8px}.bst-demo-intro li+li:before{margin-right:9px}.bst-demo-player{height:clamp(300px,calc(100svh - 285px),660px)}}

.bst-demo-stage-top>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:45%}.bst-demo-stage-top>div{flex-shrink:0}.bst-demo-stage-top #bst-demo-switch{width:auto;min-width:108px;padding:0 9px;font-size:11px!important;white-space:nowrap;font-weight:700;touch-action:manipulation}.bst-demo-expanded .bst-demo-stage-top>span{max-width:27%}@media(max-width:620px){.bst-demo-stage-top{gap:5px}.bst-demo-stage-top>span{max-width:28%;font-size:8px}.bst-demo-stage-top>div{gap:5px}.bst-demo-stage-top #bst-demo-switch{min-width:103px;font-size:10px!important;padding:0 7px}.bst-demo-expanded .bst-demo-stage-top>span{max-width:19%}}
