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

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wf {
  box-sizing: border-box;
  width: min(424px, 92vw);
  margin: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  color: #17141a;
}

.wf__head {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 4px;
}

.wf__title {
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-right: auto;
}

.wf__stat {
  font-size: 12px;
  line-height: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(23, 20, 26, 0.62);
}

.wf__n {
  color: #0a4fe8;
}

.wf__zone {
  padding: 0 4px;
}

.wf__chart {
  display: block;
  width: 100%;
  height: 116px;
  overflow: visible;
}

.wf__base {
  stroke: rgba(23, 20, 26, 0.16);
  stroke-width: 2;
}

.wf__head-line {
  stroke: #0a4fe8;
  stroke-width: 2;
}

.wf__bar {
  fill: rgb(83.6862745098%, 88.5490196078%, 99.2941176471%);
  transition: none;
}

.wf__bar.is-past {
  fill: #0a4fe8;
}

.wf__track {
  position: relative;
  height: 24px;
  margin: 0 4px;
  border-radius: 999px;
  background: rgb(88.5803921569%, 91.9843137255%, 99.5058823529%);
}

.wf__rail {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.18);
}

.wf__grab {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0a4fe8;
  color: #ffffff;
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  touch-action: none;
}

.wf__grab:focus-visible {
  outline: 2px solid #0a4fe8;
  outline-offset: 2px;
}

.wf__ic {
  width: 13px;
  height: 13px;
}

.wf__hint {
  margin: 0;
  padding: 0 4px;
  font-size: 11px;
  line-height: 16px;
  color: rgba(23, 20, 26, 0.62);
}

@media (max-width: 340px) {
  .wf {
    padding: 8px;
    gap: 4px;
  }
  .wf__hint {
    display: none;
  }
  .wf__title {
    font-size: 12px;
    line-height: 16px;
  }
  .wf__stat {
    font-size: 11px;
    line-height: 16px;
  }
  .wf__chart {
    height: 108px;
  }
  .wf__grab {
    width: 22px;
    height: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wf.is-still .wf__bar {
    transition: none !important;
  }
}
