/* 演示站专用：深 glass 双链胶囊（Console/Preview；Landing 仍为浅 project-nav） */
body.demo-flow-bar-active {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.demo-flow-bar {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  align-items: stretch;
  width: min(400px, calc(100vw - 32px));
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  font-family: "Plus Jakarta Sans", "PingFang SC", system-ui, sans-serif;
  pointer-events: auto;
}

.demo-flow-bar__divider {
  width: 1px;
  align-self: center;
  height: 18px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
}

.demo-flow-bar__btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  border: none;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  color: rgba(248, 250, 252, 0.9);
  background: transparent;
  transition: color 0.15s ease, background 0.15s ease;
}

.demo-flow-bar__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .demo-flow-bar {
    background: rgba(15, 23, 42, 0.95);
  }
}

@media (max-width: 480px) {
  .demo-flow-bar {
    width: min(360px, calc(100vw - 24px));
  }

  .demo-flow-bar__btn {
    font-size: 12px;
    padding: 6px 8px;
  }
}
