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

.stage {
  overflow: hidden;
}

.card {
  display: flex;
  flex-direction: column;
  width: 220px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  overflow: hidden;
}

.topBar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.avatar {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.handle {
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  color: #17141a;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.follow {
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.3;
  color: #0a4fe8;
  flex-shrink: 0;
}

.slot {
  position: relative;
  height: 120px;
  overflow: hidden;
  --spin: 0deg;
  background: linear-gradient(var(--spin), #ff9ebb, #6ec8ff, #b9a0ff);
}

.shimmer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, rgba(255, 247, 230, 0) 0%, rgba(255, 247, 230, 0.38) 50%, rgba(255, 247, 230, 0) 100%);
  pointer-events: none;
}

.bottomRow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.heartIcon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.heartIcon path {
  fill: #ff9ebb;
}

.likeLabel {
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.3;
  color: #17141a;
  flex-shrink: 0;
}

.caption {
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  color: #17141a;
  opacity: 0.72;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  min-width: 0;
}

.readout {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff7e6;
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.3;
  color: #17141a;
}

@media (max-width: 340px) {
  .card {
    width: 156px;
  }
  .slot {
    height: 64px;
  }
  .topBar {
    padding: 4px 8px;
  }
  .avatar {
    width: 22px;
    height: 22px;
  }
  .bottomRow {
    padding: 4px 8px;
  }
  .handle {
    font-size: 11px;
  }
  .caption {
    font-size: 10px;
  }
  .readout {
    font-size: 10px;
    padding: 4px 8px;
    margin-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shimmer {
    opacity: 0;
  }
}
