/* Shared by every demo website: reset, the demo notice and the button message */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{line-height:1.6;min-height:100vh;display:flex;flex-direction:column;}
main{flex:1;}
img,svg{display:block;max-width:100%;}
a{color:inherit;}
button{font:inherit;cursor:pointer;}
ul,ol{list-style:none;}
h1,h2,h3{line-height:1.1;text-wrap:balance;}
.wrap{width:min(1120px,100% - 40px);margin-inline:auto;}
:focus-visible{outline:3px solid currentColor;outline-offset:3px;}
.skip{position:absolute;left:-9999px;}
.skip:focus{left:8px;top:8px;z-index:60;background:#fff;color:#000;padding:8px 12px;}

.demo-bar{position:sticky;top:0;z-index:40;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 18px;
  background:#0B0F0C;color:#F4F3EC;border-bottom:3px solid #22A855;padding:8px 14px;font:500 14px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;}
.demo-bar strong{background:#22A855;color:#0B0F0C;padding:2px 8px;margin-right:6px;font-weight:800;}
.demo-bar a{text-underline-offset:3px;}
.demo-bar a.get{color:#5BE08A;font-weight:700;}

.demo-pop{position:fixed;z-index:50;left:50%;bottom:18px;transform:translate(-50%,16px);width:min(440px,100% - 28px);
  background:#0B0F0C;color:#F4F3EC;border:2px solid #22A855;padding:18px 20px;box-shadow:0 18px 50px rgba(0,0,0,.45);
  font:500 15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s;}
.demo-pop.open{opacity:1;visibility:visible;transform:translate(-50%,0);}
.demo-pop div{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin-top:12px;}
.demo-pop a{color:#5BE08A;font-weight:700;}
.demo-pop button{background:transparent;color:#F4F3EC;border:1px solid #6B7A6C;padding:5px 14px;margin-left:auto;}
@media (max-width:480px){ .demo-bar{font-size:13px;gap:4px 14px;} .demo-bar p{flex-basis:100%;text-align:center;} }
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} *,*::before,*::after{animation:none!important;transition:none!important;} }
