/* The web demo's own bits: the demo bar, the welcome card and the small-screen note. */
.sample-strip, .sb-sample { display: none !important; }

.demo-bar {
  position: fixed; left: 8px; bottom: calc(12px + 3 * 31px + 6px); width: 202px; height: 30px; z-index: 40;
  display: flex; align-items: center; gap: 6px; padding: 0 5px 0 11px; box-sizing: border-box;
  border-radius: 6px; border: 1px solid color-mix(in srgb, var(--primary, #ea580c) 40%, transparent);
  background: color-mix(in srgb, var(--primary, #ea580c) 9%, var(--bg-sunken, #0b0c0e));
  color: var(--text, #e4e5e8); font: 500 12px/1 var(--font, Inter, system-ui, sans-serif); letter-spacing: -0.01em;
}
.demo-bar.in-sb { position: static; width: auto; flex: none; margin-bottom: 6px; }
.demo-bar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary, #ea580c); flex: none; }
.demo-bar-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: default; }
.demo-bar button {
  height: 20px; padding: 0 7px; border-radius: 4px; border: 0; background: transparent; cursor: pointer;
  color: color-mix(in srgb, var(--primary, #ea580c) 85%, var(--text, #fff)); font: 500 12px/1 var(--font, Inter, system-ui, sans-serif);
}
.demo-bar button:hover { background: color-mix(in srgb, var(--primary, #ea580c) 16%, transparent); }

.demo-scrim { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 24px; background: rgba(6, 7, 8, 0.62); backdrop-filter: blur(3px); animation: demo-fade 160ms ease; }
.demo-card {
  width: min(460px, 100%); box-sizing: border-box; padding: 26px 26px 22px; border-radius: 12px;
  background: var(--elevated, #18191d); border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.13)); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.55);
  color: var(--text, #e4e5e8); font: 400 13px/1.55 var(--font, Inter, system-ui, sans-serif); animation: demo-pop 180ms ease;
}
.demo-card img { width: 40px; height: 40px; border-radius: 10px; display: block; margin-bottom: 16px; }
.demo-card h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.demo-card p { margin: 0 0 10px; color: var(--text-2, #a0a1a8); }
.demo-card ul { margin: 4px 0 16px; padding-left: 18px; color: var(--text-2, #a0a1a8); }
.demo-card li { margin: 2px 0; }
.demo-card .demo-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.demo-card .demo-by { color: var(--text-3, #8b8c94); font-size: 12px; }
.demo-card .demo-go {
  height: 32px; padding: 0 14px; border-radius: 6px; border: 0; cursor: pointer; flex: none;
  background: var(--primary, #ea580c); color: #fff; font: 600 13px/1 var(--font, Inter, system-ui, sans-serif);
}
.demo-card .demo-go:hover { filter: brightness(1.08); }
.demo-card .demo-link { background: none; border: 0; padding: 0; color: var(--text-3, #8b8c94); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
@keyframes demo-fade { from { opacity: 0; } }
@keyframes demo-pop { from { opacity: 0; transform: translateY(6px) scale(0.98); } }
.demo-note {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1001; max-width: 520px; box-sizing: border-box;
  padding: 10px 14px; border-radius: 8px; background: var(--elevated, #18191d); border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.13));
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5); color: var(--text, #e4e5e8); font: 400 13px/1.45 var(--font, Inter, system-ui, sans-serif); animation: demo-rise 160ms ease;
}
@keyframes demo-rise { from { opacity: 0; transform: translate(-50%, 6px); } }
