html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.dgd {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: min(100%, 280px);
}

.dgd__meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dgd__meter {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.dgd__meter-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.dgd__meter-value {
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.dgd__view {
  box-sizing: border-box;
  width: 100%;
  height: 152px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
  scrollbar-width: thin;
}

.dgd__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dgd__row {
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
}

.dgd__sentinel {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 220ms ease-out;
}

.dgd__sentinel--loading {
  background: #6ec8ff;
}

.dgd__sentinel--blocked {
  background: #c2361a;
}

@media (max-width: 340px) {
  .dgd {
    gap: 4px;
  }
  .dgd__meter {
    padding: 4px 8px;
  }
  .dgd__view {
    height: 80px;
  }
  .dgd__row {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dgd__sentinel {
    transition: none !important;
  }
}
