.sm-heartbeat-bar {
  box-sizing: border-box;
  width: min(1120px, calc(100% - 24px));
  margin: 14px auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

footer .sm-heartbeat-bar,
.site-footer .sm-heartbeat-bar {
  width: 100%;
  margin: 14px 0;
}

.sm-heartbeat-bar__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  padding: 12px 14px;
  color: #f8fafc;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}

.sm-heartbeat-bar__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.sm-heartbeat-bar--live .sm-heartbeat-bar__dot {
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.14);
}

.sm-heartbeat-bar--warn .sm-heartbeat-bar__dot {
  background: #ef4444;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.16);
}

.sm-heartbeat-bar__main {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sm-heartbeat-bar__meta,
.sm-heartbeat-bar__latest {
  grid-column: 2;
  color: rgba(248, 250, 252, 0.72);
}

.sm-heartbeat-bar__latest {
  font-size: 12px;
}

@media (max-width: 640px) {
  .sm-heartbeat-bar {
    width: calc(100% - 16px);
    margin: 10px auto;
    border-radius: 14px;
  }

  .sm-heartbeat-bar__link {
    padding: 11px 12px;
    font-size: 12px;
  }

  .sm-heartbeat-bar__latest {
    display: none;
  }
}

@media print {
  .sm-heartbeat-bar {
    display: none;
  }
}
