/*
 * Marketlube concept-build kit (27 Oct 2026): the label bar and the demo-safe note.
 * The bar is fixed at the top and is --mlc-h tall; body gets that padding. A demo's own fixed or sticky
 * header must sit under it: top: var(--mlc-h). Never hide or cover the bar.
 */
:root { --mlc-h: 34px; }
html { scroll-padding-top: calc(var(--mlc-h) + 72px); }
body { padding-top: var(--mlc-h); }
#mlc-bar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--mlc-h); z-index: 2147483000;
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 14px;
  background: #0d0d10; color: #f3f3f4; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font: 500 12.5px/1.2 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.01em; text-align: left;
}
#mlc-bar .mlc-dot { width: 7px; height: 7px; border-radius: 50%; background: #c6f432; flex: none; }
#mlc-bar .mlc-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#mlc-bar b { font-weight: 700; }
#mlc-bar .mlc-link { color: #c6f432; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; flex: none; }
#mlc-bar .mlc-link:focus-visible { outline: 2px solid #c6f432; outline-offset: 2px; border-radius: 2px; }
#mlc-bar .mlc-short { display: none; }
#mlc-bar[dir="rtl"] { direction: rtl; font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, ui-sans-serif, system-ui, sans-serif; }
#mlc-toast[dir="rtl"] { direction: rtl; font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, ui-sans-serif, system-ui, sans-serif; }
@media (max-width: 560px) {
  #mlc-bar { font-size: 11.5px; gap: 8px; }
  #mlc-bar .mlc-full { display: none; }
  #mlc-bar .mlc-short { display: inline; }
}
#mlc-toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 2147483001; max-width: min(92vw, 460px);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 12px 16px; border-radius: 10px; background: #0d0d10; color: #fff;
  font: 500 14px/1.45 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); transition: opacity 0.25s ease, transform 0.25s ease;
}
#mlc-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { #mlc-toast { transition: none; } }
