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

.wrap {
  display: grid;
  place-items: center;
  gap: 16px;
}

.cardZone {
  position: relative;
  width: 168px;
  height: 168px;
}

.card {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #2f6df6;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform-origin: 20% 80%;
  display: grid;
  place-items: center;
}

.cardMark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 8px solid rgba(255, 247, 230, 0.85);
}

.tape {
  position: absolute;
  width: 84px;
  height: 30px;
  background: rgba(255, 247, 230, 0.55);
  border: 1px solid rgba(23, 20, 26, 0.08);
  box-shadow: 0 2px 4px rgba(23, 20, 26, 0.12);
}

.tape--a {
  top: -10px;
  left: -18px;
}

.tape--b {
  bottom: -12px;
  right: -16px;
}

.pinBtn {
  appearance: none;
  border: none;
  border-radius: 999px;
  background: #17141a;
  color: #fff7e6;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: transform 140ms ease-out;
}
.pinBtn:hover {
  transform: scale(1.03);
}
.pinBtn:active {
  transform: scale(0.97);
}
.pinBtn:focus-visible {
  outline: 2px solid #5b8cf8;
  outline-offset: 3px;
}

@media (max-width: 340px) {
  .cardZone {
    width: 130px;
    height: 130px;
  }
  .cardMark {
    width: 44px;
    height: 44px;
    border-width: 6px;
  }
  .tape {
    width: 66px;
    height: 24px;
  }
  .pinBtn {
    font-size: 11px;
    padding: 4px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pinBtn {
    transition: none;
  }
}
