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

.ts {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.ts__caption {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #fff7e6;
}

.ts__scene {
  position: relative;
  width: 260px;
  height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ts__btn {
  border: 0;
  background: #ffffff;
  border-radius: 999px;
  padding: 16px;
  cursor: pointer;
  color: #0a4fe8;
}

.ts__btn:focus-visible {
  outline: 2px solid #5b8cf8;
  outline-offset: 3px;
}

.ts__shape {
  fill: none;
  stroke: #0a4fe8;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.ts__btn[aria-pressed=true] .ts__shape {
  fill: #0a4fe8;
}

.ts__toast {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #fff7e6;
  color: #17141a;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  will-change: transform, opacity;
}

@media (max-width: 340px) {
  .ts__scene {
    width: 220px;
    height: 130px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ts__toast {
    transition: none;
  }
}
