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

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

.testimonial {
  display: flex;
  align-items: center;
  gap: 16px;
  width: clamp(260px, 84vw, 420px);
}

.testimonial__avatar {
  position: relative;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #17141a;
  box-shadow: 0 0 0 1px rgba(255, 210, 63, 0.4);
  overflow: hidden;
}

.testimonial__scanbox {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 210, 63, 0.85);
  box-shadow: 0 0 8px 1px rgba(255, 210, 63, 0.6);
  animation: faceScan 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes faceScan {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  20% {
    transform: translateY(61px);
    opacity: 1;
  }
  28% {
    transform: translateY(61px);
    opacity: 0;
  }
  100% {
    transform: translateY(61px);
    opacity: 0;
  }
}
.testimonial__card {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  flex: 1 1 0;
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: #17141a;
  box-shadow: 0 0 0 1px rgba(255, 210, 63, 0.4), 0 0 24px rgba(255, 210, 63, 0.16);
}

.testimonial__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  border-color: #ffd23f;
  border-style: solid;
  border-width: 0;
  animation: cornerPulse 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.testimonial__corner--tl {
  top: 8px;
  left: 8px;
  border-top-width: 2px;
  border-left-width: 2px;
  transform-origin: top left;
}

.testimonial__corner--tr {
  top: 8px;
  right: 8px;
  border-top-width: 2px;
  border-right-width: 2px;
  transform-origin: top right;
  animation-delay: -0.15s;
}

.testimonial__corner--bl {
  bottom: 8px;
  left: 8px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  transform-origin: bottom left;
  animation-delay: -0.3s;
}

.testimonial__corner--br {
  bottom: 8px;
  right: 8px;
  border-bottom-width: 2px;
  border-right-width: 2px;
  transform-origin: bottom right;
  animation-delay: -0.45s;
}

@keyframes cornerPulse {
  0%, 100% {
    transform: scale(0.7);
    opacity: 0.5;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}
.testimonial__verified {
  position: relative;
  display: inline-block;
  margin: 0 0 8px;
  color: #ffd23f;
  font-family: "Courier New", monospace;
  font-weight: 700;
  font-size: clamp(9px, 2.2vw, 10px);
  line-height: 1;
  letter-spacing: 0.08em;
}

.testimonial__quote {
  position: relative;
  margin: 0 0 8px;
  color: #fff7e6;
  font-weight: 600;
  font-size: clamp(12px, 2.8vw, 13px);
  line-height: 1.4;
  font-family: inherit;
}

.testimonial__author {
  position: relative;
  margin: 0;
  color: rgba(255, 247, 230, 0.6);
  font-weight: 500;
  font-size: clamp(10px, 2.4vw, 11px);
  line-height: 1.3;
  font-family: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial__scanbox, .testimonial__corner {
    animation: none !important;
  }
  .testimonial__scanbox {
    opacity: 0;
  }
  .testimonial__corner {
    transform: scale(1);
    opacity: 1;
  }
}
