/* 静态回放站的演示条：明确告诉访客"这是回放，不是在线后端"。 */
.demo-bar {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #14161a;
  color: #e9eaec;
  font: 13px/1.5 -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}
html { scroll-padding-top: var(--demo-bar-height, 0px); }
body:has(.decision-page) { height: auto; min-height: 100%; }
.report-nav { top: calc(var(--demo-bar-height, 0px) + var(--sp-4)); }
.demo-bar__label {
  padding: 2px 8px;
  border-radius: 4px;
  background: #f0f1f3;
  color: #14161a;
  font-weight: 600;
}
.demo-bar__chip {
  padding: 3px 12px;
  border: 1px solid #3a3f47;
  border-radius: 999px;
  background: transparent;
  color: #c9cdd4;
  font: inherit;
  cursor: pointer;
}
.demo-bar__chip:hover { border-color: #6b7280; color: #fff; }
.demo-bar__chip--on { background: #f0f1f3; border-color: #f0f1f3; color: #14161a; font-weight: 600; }
.demo-bar__controls,
.demo-bar__links,
.demo-bar__notes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.demo-bar__links { margin-left: auto; }
.demo-bar__links a {
  color: #e9eaec;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.demo-bar__links .demo-bar__experience { color: #fff; font-weight: 600; }
.demo-bar__links a:focus-visible,
.demo-bar__select:focus-visible { outline: 2px solid #e9eaec; outline-offset: 2px; }
.demo-bar__notes { gap: 2px 12px; color: #bdc3cc; font-size: 12px; }

@media (max-width: 600px) {
  .demo-bar__links { margin-left: 0; }
  .demo-bar__notes { width: 100%; }
}

/* 左上角不展示产品名：演示站以品类为先（issue #37 反馈）。 */
.brand__name { display: none; }

/* 演示条品类下拉：100 个品类放不下一排 chips，改用 select。 */
.demo-bar__select {
  max-width: 180px;
  padding: 3px 8px;
  border: 1px solid #3a3f47;
  border-radius: 6px;
  background: #1c1f24;
  color: #c9cdd4;
  font: inherit;
}
