.debug-page {
  padding-top: 8px;
}

.debug-card {
  margin-bottom: 12px;
}

.debug-hero {
  text-align: center;
}

.debug-title {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  color: rgba(255,255,255,.95);
}

.debug-subtitle {
  color: rgba(255,255,255,.8);
}

.debug-h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 1.15rem;
}

.debug-speed,
.debug-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

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

.debug-speed__item,
.debug-item {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
}

.debug-item--wide {
  grid-column: 1 / -1;
}

.debug-key {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: .02em;
  color: rgba(255,255,255,.6);
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.debug-value {
  display: block;
  font-size: .95rem;
  line-height: 1.28;
  color: rgba(255,255,255,.95);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.debug-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.debug-run {
  min-width: 220px;
}

.debug-status {
  min-width: 220px;
  text-align: center;
  color: rgba(255,255,255,.82);
}

@media (max-width: 960px) {
  .debug-speed,
  .debug-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .debug-speed,
  .debug-grid {
    grid-template-columns: 1fr;
  }

  .debug-run,
  .debug-status {
    min-width: 100%;
  }
}
