/* Shared base for every S4M demo template */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
html, body { overflow-x: clip; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The preview banner: required on every demo (blueprint: clear, small, unofficial-concept notice) */
.s4m-demo { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 9999; display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 24px); padding: 9px 14px 9px 12px; border-radius: 999px; font: 500 12px/1.3 system-ui, -apple-system, sans-serif;
  color: #fff; background: rgba(12, 14, 18, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.12); }
.s4m-demo b { font-weight: 700; }
.s4m-demo i { font-style: normal; opacity: .7; }
.s4m-demo button { margin-left: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; flex: none; }
@media (max-width: 600px) { .s4m-demo i, .s4m-demo .s4m-for { display: none; } .s4m-demo { white-space: nowrap; } }
