html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.tt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(400px, 92vw);
}

.tt__hint {
  margin: 0;
  color: rgba(23, 20, 26, 0.8);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.tt__panel {
  width: 100%;
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.07);
  box-shadow: 0 0 0 1px rgba(23, 20, 26, 0.16);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.tt__deck {
  position: relative;
  width: 120px;
  height: 120px;
  flex: 0 0 auto;
}

.tt__deck::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.32) 0%, transparent 16%, transparent 82%, rgba(255, 255, 255, 0.16) 100%);
  pointer-events: none;
}

.tt__disc {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at center, #fff7e6 0 18%, rgba(23, 20, 26, 0.18) 19% 21%, #fff7e6 22%), repeating-radial-gradient(circle at center, rgba(23, 20, 26, 0.12) 0 2px, transparent 2px 6px);
  box-shadow: 0 0 0 1px rgba(23, 20, 26, 0.18);
  transform: rotate(0deg);
  transform-origin: center center;
}

.tt__disc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.18) 0deg 3deg, transparent 3deg 20deg, rgba(23, 20, 26, 0.22) 20deg 24deg, transparent 24deg 40deg);
}

.tt__disc::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40%;
  height: 40%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: conic-gradient(from 15deg, #ff4d1f 0deg 150deg, #17141a 150deg 172deg, #fff7e6 172deg 330deg, #ff4d1f 330deg 360deg);
  box-shadow: 0 0 0 1px rgba(23, 20, 26, 0.2);
}

.tt__arm {
  position: absolute;
  top: -6px;
  right: 2px;
  width: 76px;
  height: 6px;
  border-radius: 4px;
  background: #17141a;
  transform: rotate(-18deg);
  transform-origin: top right;
}

.tt__arm::after {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 10px;
  height: 12px;
  border-radius: 4px;
  background: #fff7e6;
}

.tt__play {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #17141a;
  color: #ff4d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 300ms ease-out;
}

.tt__play:hover {
  transform: scale(1.06);
}

.tt__play:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.tt__play:active {
  transform: scale(0.96);
}

.tt__ico {
  width: 18px;
  height: 18px;
}

.tt__ico--pause {
  display: none;
}

.is-playing .tt__ico--play {
  display: none;
}

.is-playing .tt__ico--pause {
  display: block;
}

@media (max-width: 340px) {
  .tt__panel {
    padding: 16px 12px;
    gap: 16px;
  }
  .tt__deck {
    width: 90px;
    height: 90px;
  }
  .tt__arm {
    width: 58px;
  }
  .tt__play {
    width: 32px;
    height: 32px;
  }
  .tt__ico {
    width: 15px;
    height: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tt__play {
    transition: none;
  }
}
