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

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

.tcol {
  position: relative;
  box-sizing: border-box;
  width: clamp(216px, 74vw, 276px);
  margin: 0;
  padding: 20px 20px 16px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 6px 0 rgba(36, 29, 46, 0.16);
  transform: rotate(-1.5deg);
}

.tcol__tape {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 72px;
  height: 20px;
  margin-left: -36px;
  border-radius: 0;
  background: rgba(191, 206, 156, 0.85);
  transform: rotate(-5deg);
}

.tcol__quote {
  display: block;
  color: #bb7f74;
  font-size: 20px;
  line-height: 1;
}

.tcol__text {
  position: relative;
  margin: 8px 0 0;
  color: #241d2e;
  font-family: Georgia, "Nanum Myeongjo", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(14px, 3.4vw, 17px);
  line-height: 1.5;
}

.tcol__mark {
  position: relative;
  z-index: 1;
}

.tcol__line {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 12px;
  overflow: visible;
  fill: none;
  stroke: #bb7f74;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 230;
  animation-name: inkDraw;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

.tcol__by {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.tcol__dot {
  width: 24px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d1c8a3;
  color: #241d2e;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  transform: rotate(6deg);
}

.tcol__who {
  color: #57506a;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
}

@keyframes inkDraw {
  0% {
    stroke-dashoffset: 230;
  }
  45% {
    stroke-dashoffset: 0;
  }
  70% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -230;
  }
}
@media (max-width: 360px), (max-height: 230px) {
  .tcol {
    width: 208px;
    padding: 16px 12px 12px;
  }
  .tcol__quote {
    font-size: 15px;
  }
  .tcol__text {
    font-size: 13px;
  }
  .tcol__by {
    margin-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tcol__line {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}
