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

.asp {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 280px);
}

.asp__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 109, 246, 0.1);
}

.asp__head-label {
  font-weight: 700;
  font-size: 11px;
  color: #2f6df6;
}

.asp__head-value {
  font-weight: 700;
  font-size: 11px;
  color: #2f6df6;
  font-variant-numeric: tabular-nums;
}

.asp__view {
  box-sizing: border-box;
  width: 100%;
  height: 196px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 16px;
  border: 1px solid rgba(23, 20, 26, 0.1);
  padding: 12px;
  scrollbar-width: thin;
}

.asp__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asp__row {
  align-self: flex-start;
  box-sizing: border-box;
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(23, 20, 26, 0.07);
  color: #17141a;
  font-weight: 600;
  font-size: 12px;
}

.asp__row--mine {
  align-self: flex-end;
  background: #2f6df6;
  color: #ffffff;
}

.asp__anchor {
  flex: 0 0 auto;
  height: 4px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.14);
  transition: background 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.asp__anchor--loading {
  background: #2f6df6;
}

@media (max-width: 340px) {
  .asp {
    gap: 4px;
  }
  .asp__head {
    padding: 4px 8px;
  }
  .asp__view {
    height: 80px;
  }
  .asp__row {
    font-size: 11px;
    padding: 4px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .asp__anchor {
    transition: none !important;
  }
}
