.demo-launch {
  position: fixed;
  right: 22px;
  top: 88px;
  z-index: 9999;
  border: 2px solid #00c805;
  border-radius: 8px;
  background: #00c805;
  color: #04140a;
  padding: 14px 20px;
  font: 700 13px/1 "Press Start 2P", monospace;
  box-shadow: 0 0 28px rgba(0, 200, 5, .38);
  cursor: pointer;
}

.demo-launch:hover { transform: translateY(-2px); }

.demo-app {
  min-height: 100vh;
  background: #19191c;
  color: #f5f5f5;
  font-family: "Pixelify Sans", monospace;
}

.demo-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid #34343a;
  background: #202024;
}

.demo-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.demo-brand img { width: 42px; height: 42px; object-fit: contain; }
.demo-brand b { display: block; font: 700 14px/1.2 "Press Start 2P", monospace; }
.demo-brand small { color: #a6a6ad; }
.demo-pill { border: 1px solid #3b3b42; border-radius: 5px; padding: 9px 12px; color: #b8b8bf; }
.demo-test { color: #00c805; border-color: #00c805; }
.demo-exit { border: 1px solid #52525a; background: #29292e; color: #fff; border-radius: 5px; padding: 10px 14px; cursor: pointer; }

.demo-main { width: min(1180px, calc(100% - 32px)); margin: 28px auto 60px; }
.demo-title { margin: 0 0 6px; font: 700 24px/1.35 "Press Start 2P", monospace; }
.demo-subtitle { margin: 0 0 24px; color: #a9a9b0; font-size: 18px; }
.demo-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.demo-card { border: 1px solid #3b3b42; border-radius: 8px; background: #232327; padding: 18px; }
.demo-card span { display: block; color: #8f8f97; font-size: 15px; }
.demo-card strong { display: block; margin-top: 9px; color: #fff; font: 700 18px/1.3 "Press Start 2P", monospace; }
.demo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.demo-floor { min-height: 440px; }
.demo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.demo-head h2 { margin: 0; font: 700 17px/1.3 "Press Start 2P", monospace; }
.demo-printers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.demo-printer { min-height: 122px; display: grid; place-items: center; text-align: center; border: 1px dashed #565660; border-radius: 7px; background: #1b1b1e; }
.demo-printer.live { border-style: solid; border-color: #00c805; box-shadow: inset 0 0 20px rgba(0,200,5,.08); }
.demo-printer .emoji { font-size: 34px; }
.demo-printer small { display: block; color: #9a9aa2; }
.demo-actions { display: grid; gap: 10px; }
.demo-btn { width: 100%; border: 1px solid #4a4a52; border-radius: 6px; background: #2b2b30; color: #fff; padding: 14px; font: 700 13px/1.3 "Press Start 2P", monospace; cursor: pointer; }
.demo-btn.primary { border-color: #00c805; background: #00c805; color: #04140a; }
.demo-btn:hover { filter: brightness(1.1); }
.demo-note { margin-top: 14px; padding: 12px; border-left: 3px solid #00c805; background: #1b1b1e; color: #b8b8bf; }
.demo-wallet { overflow-wrap: anywhere; color: #00c805; }
.demo-toast { position: fixed; left: 50%; bottom: 28px; z-index: 10000; transform: translateX(-50%); border: 1px solid #00c805; border-radius: 6px; background: #151518; padding: 13px 18px; color: #fff; }

@media (max-width: 820px) {
  .demo-topbar { flex-wrap: wrap; padding: 14px 18px; }
  .demo-stats { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-printers { grid-template-columns: repeat(2, 1fr); }
  .demo-launch { right: 12px; top: 82px; }
}
