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

.gb {
  width: 100%;
  max-width: 300px;
  background: #fff7e6;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  box-sizing: border-box;
}

.gb__pair {
  display: flex;
  gap: 16px;
}

.gb__col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gb__colLabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(23, 20, 26, 0.72);
  text-transform: uppercase;
}

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

.gb__track {
  position: relative;
  height: 16px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.1);
  overflow: hidden;
}

.gb__trail, .gb__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 999px;
  will-change: width;
}

.gb__trail {
  background: #c2361a;
  width: 70%;
}

.gb__fill {
  background: #0a4fe8;
  width: 70%;
  z-index: 1;
}

.gb__fill--instant {
  background: #0a4fe8;
  transition: none;
}

.gb__hit {
  margin-top: 16px;
  width: 100%;
  border: none;
  border-radius: 12px;
  background: #2f6df6;
  color: #fff7e6;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 12px 0;
  cursor: pointer;
}

.gb__hit:active {
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

@media (max-width: 340px) {
  .gb {
    max-width: 230px;
    padding: 16px;
  }
  .gb__pair {
    gap: 8px;
  }
  .gb__track {
    height: 13px;
  }
  .gb__colLabel {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gb__fill--instant {
    transition: none;
  }
}
