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

.compareWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sysStatus {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 247, 230, 0.7);
}

.panels {
  display: flex;
  gap: 20px;
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ring {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(255, 247, 230, 0.18);
}

.ringMotion {
  border-top-color: #2f6df6;
}

.ringReduced {
  --dim: 1;
  border-top-color: #ff9ebb;
  opacity: var(--dim);
}

.panelLabel {
  margin: 0;
  font-size: 10px;
  color: rgba(255, 247, 230, 0.6);
}

.single-panel .panels .panel:first-child {
  display: none;
}

.previewBtn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #17141a;
  background: #fff7e6;
  cursor: pointer;
}
.previewBtn:focus-visible {
  outline: 2px solid #5b8cf8;
  outline-offset: 2px;
}

@media (max-width: 340px) {
  .panels {
    gap: 12px;
  }
  .ring {
    width: 34px;
    height: 34px;
    border-width: 3px;
  }
  .sysStatus, .panelLabel, .previewBtn {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ringMotion {
    transform: none !important;
  }
}
