html.landing-demo,
html.landing-demo body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

html.landing-demo .primary-rail,
html.landing-demo .topbar,
html.landing-demo .worktabs,
html.landing-demo .help-panel,
html.landing-demo #dock,
html.landing-demo #demoBar,
html.landing-demo #demoCurtain,
html.landing-demo #demoExit {
  display: none !important;
}

html.landing-demo #viewport {
  inset: 0 !important;
}

html.landing-demo .canvas-controls {
  left: 14px;
  bottom: 14px;
}

html.landing-demo #minimap {
  right: 14px;
  bottom: 14px;
  transform: scale(.82);
  transform-origin: right bottom;
}

.landing-demo-toolbar {
  position: fixed;
  z-index: 80;
  left: 16px;
  top: 14px;
  min-height: 32px;
  padding: 4px 5px 4px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: var(--shadow-card);
  font-size: 10px;
}

.landing-demo-status::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.landing-demo-replay {
  min-height: 23px;
  padding: 0 8px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--panel);
  cursor: pointer;
  font-size: 10px;
}

.landing-demo-replay:hover { border-color: var(--accent); }

html.landing-demo body.is-auto-demo #edgeOverlay path:not(.temp) {
  stroke: #e0a13d;
  stroke-width: 2;
  stroke-dasharray: 9 8;
  opacity: .62;
  animation: ghost-flow 1.1s linear infinite;
}

.card.landing-demo-reveal .card-body,
.card.landing-demo-reveal .card-foot {
  animation: landing-content-in .68s ease both;
}

@keyframes landing-content-in {
  from { opacity: .18; transform: translateY(7px); filter: saturate(.4); }
  to { opacity: 1; transform: translateY(0); filter: saturate(1); }
}
