/* Pasek MS LAB nad kazdym demem: mowi, ze marka jest wymyslona, i prowadzi z powrotem na lab.
   Wlasne zmienne i klasy z prefiksem msl-, zeby nie mieszac sie ze stylem dema. */
.msl-pasek {
  position: relative; z-index: 1000; display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; padding: 9px clamp(16px, 4vw, 40px);
  background: #17120d; color: #f0e6d3;
  font: 500 14px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.msl-pasek a { color: #f0e6d3; }
.msl-pasek a:focus-visible, .msl-wroc:focus-visible { outline: 2px solid #d9a54e; outline-offset: 3px; }
.msl-pasek .msl-powrot { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.msl-pasek .msl-powrot svg { width: 22px; height: 22px; flex: none; }
.msl-pasek .msl-info { color: #c9b89c; flex: 1 1 260px; }
.msl-wersje { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(240, 230, 211, 0.12); }
.msl-wersje a { padding: 5px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; color: #c9b89c; }
.msl-wersje a[aria-current="true"] { background: #d9a54e; color: #17120d; }
.msl-pasek .msl-zamow { color: #d9a54e; font-weight: 700; }
.msl-widok { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(240, 230, 211, 0.12); }
.msl-widok button { padding: 5px 12px; border: 0; border-radius: 999px; background: none; color: #c9b89c; font: inherit; font-weight: 600; cursor: pointer; }
.msl-widok button[aria-pressed="true"] { background: #f0e6d3; color: #17120d; }
.msl-widok button:focus-visible, .msl-zamknij:focus-visible { outline: 2px solid #d9a54e; outline-offset: 2px; }
/* Podglad na telefonie: ramka 390x844 (iPhone 14), skalowana w dol, gdy okno jest nizsze. */
html.msl-podglad { overflow: hidden; }
.msl-nakladka { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; background: rgba(12, 9, 7, 0.84); backdrop-filter: blur(6px); }
.msl-telefon { width: 410px; height: 864px; padding: 10px; border-radius: 54px; background: #0d0b09; box-shadow: 0 0 0 2px #4a3f33, 0 30px 90px rgba(0, 0, 0, 0.6); transform: scale(var(--msl-skala, 1)); }
.msl-telefon iframe { display: block; width: 390px; height: 844px; border: 0; border-radius: 44px; background: #fff; }
.msl-zamknij { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f0e6d3; color: #17120d; font: 600 28px/1 system-ui, sans-serif; cursor: pointer; }
@media (max-width: 700px) { .msl-widok { display: none; } }
.msl-wroc {
  position: fixed; left: 16px; bottom: 16px; z-index: 1000; display: inline-flex; align-items: center;
  gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: #17120d; color: #f0e6d3;
  font: 600 14px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
.msl-wroc svg { width: 20px; height: 20px; }
.msl-wroc.msl-widac { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 560px) {
  .msl-pasek { gap: 6px 12px; padding-block: 8px; font-size: 13px; }
  .msl-pasek .msl-powrot { order: 1; }
  .msl-wersje { order: 2; margin-left: auto; }
  .msl-wersje a { padding: 4px 10px; }
  .msl-pasek .msl-info { order: 3; flex-basis: 100%; font-size: 12px; }
  .msl-pasek .msl-zamow { display: none; }
  .msl-wroc { bottom: 12px; left: 12px; }
}
@media (prefers-reduced-motion: reduce) { .msl-wroc { transition: none; } }
