/* demo.css -- only what the demo adds to the real marketplace pages. */
.me a[href*=".auth"] { display: none; }           /* no sign-out in a demo */
.demopill { position: fixed; z-index: 400; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--card);
  box-shadow: 0 6px 24px rgba(0,0,0,.14); font: 12px/1.3 var(--sans, system-ui); color: var(--meta); max-width: calc(100vw - 32px); white-space: nowrap; }
.demopill b { color: var(--accent); font-weight: 600; letter-spacing: .02em; }
.demopill nav { display: flex; gap: 2px; background: var(--surface); border-radius: 999px; padding: 2px; }
.demopill nav a { padding: 5px 12px; border-radius: 999px; color: var(--text); text-decoration: none; }
.demopill nav a.on { background: var(--head); color: var(--bg); }
@media (max-width: 820px) {
  /* Phone: a compact pill that sits above the footer, under any open
     tile, drawer or dialog, with room left so nothing hides behind it. */
  .demopill { z-index: 55; left: 50%; right: auto; transform: translateX(-50%); bottom: calc(var(--ftr, 0px) + 10px);
    padding: 4px 4px 4px 12px; gap: 8px; }
  body.admin .demopill { bottom: 12px; }
  .demopill span { display: none; }
  .demopill nav a { padding: 5px 10px; }
  main { padding-bottom: calc(120px + var(--ftr, 0px)) !important; }
  .aview { padding-bottom: 96px !important; }
}
