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);
}

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

.rcd__status {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 11px;
  text-align: center;
}

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

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

.rcd__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;
}

.rcd__sentinel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  border-radius: 8px;
  transition: background 220ms ease-out;
}

.rcd__sentinel--loading {
  background: rgba(76, 212, 166, 0.12);
}

.rcd__retry {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
}

.rcd__seconds {
  font-weight: 700;
  font-size: 12px;
  color: #4cd4a6;
  font-variant-numeric: tabular-nums;
}

.rcd__arc {
  position: absolute;
  inset: 0;
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
}

.rcd__arc-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 3;
}

.rcd__arc-fill {
  fill: none;
  stroke: #4cd4a6;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 99.9;
  stroke-dashoffset: 0;
}

@media (max-width: 340px) {
  .rcd {
    gap: 4px;
  }
  .rcd__status {
    padding: 4px 8px;
  }
  .rcd__view {
    height: 80px;
  }
  .rcd__row {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rcd__sentinel {
    transition: none !important;
  }
}
