.simh-demo-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 1px solid rgba(180, 117, 0, .34);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 247, 214, .98), rgba(255, 255, 255, .98));
  color: #684300;
  box-shadow: 0 10px 26px rgba(91, 62, 0, .08);
}

.simh-demo-banner strong {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #8a5a00;
  color: #fff;
  font-size: .72rem;
  line-height: 1.2;
  letter-spacing: .07em;
}

.simh-demo-banner span {
  line-height: 1.55;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.demo-status-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.demo-status-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--simh-border, #d9e4ed);
}

.demo-status-row:last-child {
  border-bottom: 0;
}

.demo-code {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 143, 135, .08);
  color: var(--simh-text-strong, #17324d);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.demo-warning {
  border-left: 4px solid #c27b00;
}

@media (max-width: 760px) {
  .simh-demo-banner,
  .demo-status-row {
    flex-direction: column;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }
}

html[data-theme="dark"] .simh-demo-banner {
  border-color: rgba(255, 194, 75, .35);
  background: linear-gradient(135deg, rgba(87, 58, 5, .96), rgba(23, 34, 51, .98));
  color: #ffe5a7;
}

.simh-demo-session-clock {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(138, 90, 0, .18);
  color: #684300;
  font-size: .82rem;
  white-space: nowrap;
}

.simh-demo-session-clock strong {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #a63228;
  font-size: .94rem;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .simh-demo-session-clock {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
}

html[data-theme="dark"] .simh-demo-session-clock {
  background: rgba(15, 23, 42, .48);
  border-color: rgba(255, 229, 167, .2);
  color: #ffe5a7;
}

html[data-theme="dark"] .simh-demo-session-clock strong {
  color: #ffb4aa;
}
