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

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

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

.track {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.1);
  overflow: hidden;
}

.fill {
  --fill-pct: 0%;
  position: absolute;
  inset: 0;
  width: var(--fill-pct);
  border-radius: 999px;
  background: #4cd4a6;
  transition: width 300ms ease-out;
}

.eta {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #17141a;
}

.detail {
  margin: 0;
  font-size: 11px;
  color: rgba(23, 20, 26, 0.6);
}

.pauseBtn {
  appearance: none;
  border: none;
  margin-top: 4px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fff7e6;
  background: #17141a;
  cursor: pointer;
}
.pauseBtn:focus-visible {
  outline: 2px solid #0a4fe8;
  outline-offset: 2px;
}
.pauseBtn[aria-pressed=true] {
  background: #c93000;
}

@media (max-width: 340px) {
  .etaCard {
    width: 190px;
  }
  .eta {
    font-size: 12px;
  }
  .detail, .pauseBtn {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fill {
    transition: none;
  }
}
