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

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

.panel {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.hint {
  margin: 0;
  color: rgba(23, 20, 26, 0.72);
  font-weight: 400;
  font-size: 10px;
  line-height: 1.35;
}

.gaugeWrap {
  position: relative;
  width: 132px;
  height: 132px;
}

.gaugeSvg {
  transform: rotate(-90deg);
}

.gaugeTrack {
  fill: none;
  stroke: rgba(23, 20, 26, 0.14);
  stroke-width: 10px;
}

.gaugeFill {
  fill: none;
  stroke: #0a4fe8;
  stroke-width: 10px;
  stroke-linecap: round;
  transition: stroke-dashoffset 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gaugeCenter {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.gaugePercent {
  font-weight: 700;
  font-size: 26px;
  color: #17141a;
  font-variant-numeric: tabular-nums;
}

.gaugeCaption {
  font-weight: 500;
  font-size: 10px;
  color: rgba(23, 20, 26, 0.72);
}

.metricName {
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  color: #17141a;
}

.metricPair {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.metricBefore {
  color: rgba(23, 20, 26, 0.72);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.metricArrow {
  color: rgba(23, 20, 26, 0.72);
  font-weight: 400;
}

.metricAfter {
  color: #0a4fe8;
}

@media (max-width: 340px) {
  .panel {
    max-width: 260px;
    gap: 4px;
  }
  .gaugeWrap {
    width: 84px;
    height: 84px;
  }
  .gaugePercent {
    font-size: 17px;
  }
  .gaugeCaption {
    font-size: 8px;
  }
  .metricName {
    font-size: 11px;
  }
  .metricPair {
    font-size: 11px;
    gap: 4px;
  }
  .hint {
    font-size: 8px;
    line-height: 1.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gaugeFill {
    transition: none;
  }
}
