/* Public demo (/demo): a ribbon saying the data is made up, and a sign-up button where the account menu sits. */
.demo-ribbon {
  position: relative; z-index: 2; max-width: 1320px; margin: 14px auto 0; padding: 10px 16px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); border-radius: 10px;
  background: color-mix(in srgb, var(--warn) 9%, var(--panel-solid)); font-size: 13px; color: var(--muted);
  width: calc(100% - 40px);
}
.demo-ribbon b { color: var(--warn); font-family: var(--label); letter-spacing: .16em; font-size: 12px; }
.demo-ribbon span { flex: 1; min-width: 220px; }
.demo-ribbon a { color: var(--text); font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.demo-ribbon a:hover { color: var(--accent); }
.demo-cta { text-decoration: none; white-space: nowrap; }
/* The TradingView tab shows the real market, which would not match the demo's made-up one. */
[data-demo] #chart-tabs { display: none; }
@media (max-width: 760px) {
  .demo-ribbon { width: calc(100% - 32px); margin-top: 10px; }
  .demo-cta { display: none; }  /* the ribbon right below has the same link */
}
