/* The demo's badge and messages (demo/demo.js), in DevHub's own colours. */
#demo-badge { position: fixed; right: 16px; bottom: 16px; z-index: 55; display: flex; align-items: center; gap: 10px;
  padding: 8px 12px 8px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--border-2);
  color: var(--text); text-decoration: none; font: 500 12.5px/1.2 var(--sans); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
#demo-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
#demo-badge b { display: block; font-weight: 600; }
#demo-badge small { display: block; color: var(--text-3); font-size: 11.5px; }
#demo-badge .go { margin-left: 4px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; white-space: nowrap; }
#demo-badge:hover .go { background: var(--accent-hover); }
#demo-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); z-index: 70; max-width: min(520px, calc(100vw - 32px));
  padding: 11px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font: 13.5px/1.4 var(--sans);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
#demo-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) {
  #demo-badge { right: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); gap: 7px; padding: 5px 10px; font-size: 11.5px; }
  #demo-badge small, #demo-badge .go { display: none; }
  #demo-toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media print { #demo-badge, #demo-toast { display: none; } }
