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

.cb {
  display: grid;
  gap: 12px;
  justify-items: center;
  width: 100%;
}

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

.cb__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 260px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff7e6;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  transform: scale(1);
}

.cb__row--pulse {
  background: rgb(90.2117647059%, 90.368627451%, 90.9490196078%);
  transform: scale(1.03);
}

.cb__rowTitle {
  font-size: 13px;
  font-weight: 700;
  color: #17141a;
}

.cb__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #0a4fe8;
}

.cb__btn:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 3px;
}

.cb__shape {
  fill: #0a4fe8;
  stroke: #0a4fe8;
  stroke-width: 1.4;
}

.cb__badge {
  display: inline-flex;
  overflow: hidden;
  border-radius: 4px;
  background: #17141a;
  padding: 4px 8px;
  font-weight: 700;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #fff7e6;
}

.cb__digit {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 14px;
  overflow: hidden;
}

.cb__digitOld,
.cb__digitNew {
  position: absolute;
  inset: 0;
  display: block;
  will-change: transform;
}

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

@media (max-width: 340px) {
  .cb__row {
    width: 220px;
    padding: 12px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cb__digitOld, .cb__digitNew {
    transition: none;
  }
}
