/* Demo na stronie www (MOBILNA.md §5o) – dokłada do shell.css pasek budynku i ramki „Twoje budynki” / widoku.
   Ciemne tło jak aplikacja (portfolio.css). */
body { background: #0c1316; overflow: hidden; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

#pf, #app { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; border: 0; background: #0c1316; }
#pf { top: 0; height: 100%; }
#app { top: var(--bar); height: calc(100% - var(--bar)); }
#pf[hidden], #app[hidden], #bar[hidden], .fs[hidden], .bar-btn[hidden] { display: none; }
:root { --bar: 44px; }

#bar { position: fixed; top: 0; left: 0; right: 0; height: var(--bar); z-index: 4; display: flex; align-items: center;
  gap: 8px; padding: 0 8px; background: rgba(12,19,22,.92); border-bottom: 1px solid rgba(255,255,255,.08); }
.bar-btn { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px 0 6px; border: 0;
  border-radius: 10px; background: transparent; color: var(--text); font-size: 14px; }
.bar-btn:hover { background: rgba(255,255,255,.08); border: 0; }
.bar-btn.icon { padding: 0 7px; }
.bar-name { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-tag { flex: none; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #0c1316;
  background: var(--brand); border-radius: 6px; padding: 1px 7px; font-weight: 700; }
/* wąski ekran (telefon) – sama strzałka, nazwa budynku obok */
body[data-layout="phone"] #back span { display: none; }

.fs { position: fixed; right: 14px; bottom: 14px; z-index: 4; width: 42px; height: 42px; padding: 10px; border-radius: 12px;
  background: rgba(12,19,22,.85); border: 1px solid rgba(255,255,255,.14); }
body[data-view="building"] .fs { display: none; }
