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

.detail {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.detail__hint {
  margin: 0;
  padding: 0 8px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.72);
}

.detail__card {
  display: flex;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.04);
  text-align: left;
  transition: background 300ms ease-out;
}

.detail__card.is-alt {
  background: rgba(10, 79, 232, 0.12);
}

.detail__cv {
  flex: 0 0 auto;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.detail__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail__bio {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #17141a;
}

.detail__bio.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--clamp, 3);
  overflow: hidden;
}

.detail__bio.is-open.is-clamped {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.detail__more {
  align-self: flex-start;
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font-weight: 700;
  font-size: 11px;
  color: #0a4fe8;
  cursor: pointer;
  opacity: 1;
  transition: opacity 220ms ease-out;
}

.detail__meta {
  margin: 0;
}

.detail__chip {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
}

@media (max-width: 340px) {
  .detail {
    max-width: 300px;
    gap: 4px;
  }
  .detail__hint {
    font-size: 9px;
  }
  .detail__card {
    padding: 8px;
    gap: 4px;
  }
  .detail__cv {
    width: 32px;
    height: 32px;
  }
  .detail__bio {
    font-size: 11px;
  }
  .detail__chip {
    font-size: 10px;
    padding: 4px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .detail__card,
  .detail__more {
    transition: none;
  }
}
