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

.tm {
  width: min(300px, 94vw);
}

.tm__title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  font-family: inherit;
  color: #17141a;
}

.tm__ic {
  display: grid;
  place-items: center;
  color: #ff9ebb;
}

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

.tm__card {
  border: 1px solid rgba(23, 20, 26, 0.1);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  overflow: hidden;
}

.tm__head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.tm__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ff9ebb;
  color: #17141a;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tm__card.is-open .tm__avatar {
  transform: scale(1.12) rotate(-6deg);
}

.tm__meta {
  display: flex;
  flex-direction: column;
  font-family: inherit;
}

.tm__meta b {
  font-size: 12px;
  color: #17141a;
}

.tm__meta i {
  font-style: normal;
  font-size: 11px;
  color: rgba(23, 20, 26, 0.72);
}

.tm__bio {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tm__card.is-open .tm__bio {
  grid-template-rows: 1fr;
}

.tm__bio p {
  margin: 0;
  overflow: hidden;
  padding: 0 12px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(23, 20, 26, 0.68);
  font-family: inherit;
}

.tm__card.is-open .tm__bio p {
  padding: 0 12px 12px;
}

@media (prefers-reduced-motion: reduce) {
  .tm__avatar, .tm__bio {
    transition: none !important;
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .tm {
    width: min(260px, 92vw);
  }
  .tm__title {
    margin: 0 0 4px;
    font-size: 11px;
  }
  .tm__grid {
    gap: 4px;
  }
  .tm__head {
    padding: 4px 8px;
    gap: 8px;
  }
  .tm__avatar {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }
  .tm__meta b {
    font-size: 10px;
  }
  .tm__meta i {
    font-size: 9px;
  }
  .tm__bio p {
    font-size: 9px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .tm__card.is-open .tm__bio p {
    padding: 0 8px 4px;
  }
}
