.os-runtime-truth,
.os-runtime-api-errors {
  box-sizing: border-box;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.os-runtime-truth *,
.os-runtime-api-errors * {
  box-sizing: border-box;
}

.os-runtime-truth {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 2147483000;
  width: min(560px, calc(100vw - 32px));
  border: 1px solid rgba(125, 211, 252, .28);
  border-radius: 8px;
  background: rgba(5, 10, 18, .94);
  color: #f8fafc;
  box-shadow: 0 22px 80px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.os-runtime-truth__inner {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.os-runtime-truth__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.os-runtime-truth__title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.os-runtime-truth__title strong {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.os-runtime-truth__title span {
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.3;
}

.os-runtime-truth__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 6px 9px;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.os-runtime-truth__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.os-runtime-truth__cell {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  padding: 8px;
}

.os-runtime-truth__cell span {
  display: block;
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.os-runtime-truth__cell b {
  display: block;
  overflow-wrap: anywhere;
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.25;
}

.os-runtime-truth__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-top: 9px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.35;
}

.os-runtime-truth__foot a {
  color: #7dd3fc;
  font-weight: 900;
  text-decoration: none;
}

.os-runtime-truth__foot a:hover,
.os-runtime-truth__foot a:focus-visible {
  color: #fef3c7;
  outline: none;
}

.os-runtime-status-live { border-color: rgba(111, 242, 199, .5); background: rgba(22, 163, 74, .18); color: #b9f6d3; }
.os-runtime-status-gated { border-color: rgba(243, 212, 131, .58); background: rgba(180, 83, 9, .2); color: #ffe7a3; }
.os-runtime-status-local { border-color: rgba(125, 211, 252, .48); background: rgba(14, 116, 144, .2); color: #bae6fd; }
.os-runtime-status-static { border-color: rgba(196, 181, 253, .42); background: rgba(91, 33, 182, .18); color: #ddd6fe; }
.os-runtime-status-proof { border-color: rgba(251, 146, 60, .46); background: rgba(154, 52, 18, .2); color: #fed7aa; }
.os-runtime-status-broken { border-color: rgba(248, 113, 113, .52); background: rgba(127, 29, 29, .24); color: #fecaca; }
.os-runtime-status-partial { border-color: rgba(148, 163, 184, .46); background: rgba(71, 85, 105, .24); color: #e2e8f0; }

.os-runtime-empty-warning {
  border-color: rgba(248, 113, 113, .45) !important;
  color: #fecaca !important;
}

.os-runtime-api-errors {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483001;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.os-runtime-api-error {
  border: 1px solid rgba(248, 113, 113, .5);
  border-radius: 8px;
  background: rgba(24, 5, 10, .94);
  color: #fee2e2;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .38);
  padding: 10px;
}

.os-runtime-api-error strong,
.os-runtime-api-error span {
  display: block;
}

.os-runtime-api-error strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
}

.os-runtime-api-error span {
  margin-top: 3px;
  color: #fecaca;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.zero-guide-active .os-runtime-truth,
body.zero-guide-active .os-runtime-api-errors {
  opacity: .24;
  pointer-events: none;
}

@media (max-width: 760px) {
  .os-runtime-truth,
  .os-runtime-api-errors {
    left: 10px;
    right: 10px;
    width: auto;
  }

  .os-runtime-truth {
    bottom: 10px;
  }

  .os-runtime-api-errors {
    bottom: 190px;
  }

  .os-runtime-truth__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print {
  .os-runtime-truth,
  .os-runtime-api-errors {
    display: none !important;
  }
}
