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

.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.thread {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-height: 40px;
}

.dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 16px;
  background: #fff7e6;
  transition: opacity 300ms ease-out;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #17141a;
}

.msgRow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 300ms ease-out;
}

.msg {
  padding: 8px 12px;
  border-radius: 16px;
  background: #0a4fe8;
  color: #fff7e6;
  font-size: 13px;
}

.receipt {
  font-size: 11px;
  color: #5b8cf8;
}

.receipt.is-merged {
  margin-left: -4px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 340px) {
  .msg {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dots, .msgRow {
    transition: none;
  }
}
