.demo-bar { position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #1b1810; border: 1px solid #6b5a32; color: #e9dcc0; border-radius: 10px; padding: 8px 12px; font-size: .8rem; max-width: calc(100% - 24px); }
.demo-bar b { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.demo-bar button { background: transparent; color: #fff; border: 1px solid #555; border-radius: 6px; padding: 6px 10px; font: inherit; cursor: pointer; }
main { padding-bottom: 90px; }
.demo-overlay { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; }
.demo-overlay-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top, 0px)); border-bottom: 1px solid #333; color: #ccc; font-size: .85rem; }
.demo-overlay-bar button { background: var(--accent); color: #000; border: 0; border-radius: 6px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.demo-overlay iframe { flex: 1; width: 100%; border: 0; background: #777; }
@media (max-width: 700px) {
  .demo-bar { gap: 6px; padding: 6px 8px; font-size: .72rem; }
  .demo-bar span { display: none; }
  .demo-bar button { padding: 4px 8px; }
}
