/* 演示站专属样式：顶部演示条、说明弹层、轻提示。不影响工作台原有布局。 */
:root { --demo-bar-h: 36px; }

body { padding-top: var(--demo-bar-h); }
.app { height: calc(100vh - var(--demo-bar-h)) !important; }

.demo-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--demo-bar-h);
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: #17191c;
  color: #e8e4db;
  font-family: "Manrope", "Avenir Next", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  letter-spacing: .01em;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
.demo-bar-badge {
  flex: 0 0 auto;
  padding: 2px 9px 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #158f9a, #3f56a8);
  color: #fff;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
}
.demo-bar-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c9c4ba;
}
.demo-bar-btn {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #f4efe6;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  cursor: pointer;
  font-family: inherit;
  transition: background .16s ease, border-color .16s ease;
}
.demo-bar-btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.demo-bar-ghost { color: #a9a49a; }

.demo-intro {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 20, 22, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: "Manrope", "Avenir Next", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  animation: demo-fade .2s ease;
}
.demo-intro-card {
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fbfaf7;
  color: #17191c;
  border-radius: 16px;
  padding: 28px 30px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
  animation: demo-rise .24s cubic-bezier(.2, .7, .2, 1);
}
.demo-intro-kicker {
  font-size: 10.5px;
  letter-spacing: .18em;
  color: #158f9a;
  font-weight: 700;
  margin-bottom: 8px;
}
.demo-intro-card h2 {
  font-family: "Bodoni Moda", "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -.01em;
}
.demo-intro-card p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.72; color: #40444c; }
.demo-intro-card p strong { color: #17191c; }
.demo-intro-list { color: #17191c !important; font-weight: 600; margin-top: 14px !important; }
.demo-intro-card ol { margin: 0 0 18px; padding-left: 20px; font-size: 13px; line-height: 1.8; color: #40444c; }
.demo-intro-card ol b { color: #17191c; }
.demo-intro-btn {
  width: 100%;
  appearance: none;
  border: 0;
  border-radius: 9px;
  padding: 11px 16px;
  background: #17191c;
  color: #fbfaf7;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .16s ease, transform .16s ease;
}
.demo-intro-btn:hover { opacity: .9; transform: translateY(-1px); }
.demo-intro-btn:active { transform: translateY(0); }
.demo-intro-foot {
  margin-top: 12px;
  font-size: 11.5px;
  color: #9b9a94;
  text-align: center;
  line-height: 1.6;
}

.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 45px;
  transform: translateX(-50%);
  z-index: 2147483002;
  max-width: min(560px, calc(100vw - 40px));
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(23, 25, 28, .94);
  color: #f4efe6;
  font-size: 12.5px;
  line-height: 1.5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  font-family: "Manrope", "Avenir Next", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  animation: demo-fade .18s ease;
}

@keyframes demo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes demo-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
  .demo-bar { gap: 6px; padding: 0 8px; font-size: 11px; }
  .demo-bar-text { display: none; }
  .demo-bar-btn { padding: 4px 8px; }
  .demo-intro-card { padding: 22px 20px 18px; border-radius: 14px; }
  .demo-intro-card h2 { font-size: 21px; }
}
