#demo-bar {
  height: var(--fx-demobar-h);
  background: var(--fx-primary-800);
  border-bottom: 1px solid rgba(255,255,255,.1);
  z-index: 2001;
  flex-shrink: 0;
}

.demo-bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
}

.demo-bar-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
}

.demo-bar-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  flex-shrink: 0;
}

.demo-bar-picker {
  position: relative;
}

.demo-bar-toggle {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  color: white;
  font-family: var(--fx-font);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px 3px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background .15s;
  white-space: nowrap;
}
.demo-bar-toggle:hover { background: rgba(255,255,255,.18); }

.demo-bar-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--fx-white);
  border: 1px solid var(--fx-divider);
  border-radius: var(--fx-radius);
  box-shadow: var(--fx-shadow-hover);
  z-index: 3000;
  overflow: hidden;
}
.demo-bar-dropdown.open { display: block; }

.demo-bar-option {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--fx-font);
  text-align: left;
  border-bottom: 1px solid var(--fx-divider);
  transition: background .1s;
}
.demo-bar-option:last-child { border-bottom: none; }
.demo-bar-option:hover { background: #f5fafb; }
.demo-bar-option.active { background: rgba(86,135,147,.06); }

.demo-bar-option-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-title);
  display: block;
  line-height: 1.3;
}
.demo-bar-option-sub {
  font-size: 11px;
  color: var(--fx-body);
  display: block;
  line-height: 1.3;
}

.demo-bar-hint {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  margin-left: 4px;
  white-space: nowrap;
}
