.craft-step__button {
  display: flex;
  width: 100%;
  min-height: 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 4px;
  background: transparent;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease;
}

.craft-step__button:hover,
.craft-step__button:focus-visible {
  border-color: rgba(181, 151, 85, .5);
  background: rgba(181, 151, 85, .08);
  outline: none;
}

.craft-step__button img { pointer-events: none; }
.craft-step__button h3 { margin: 0; }
.craft-step__en {
  display: block;
  margin-top: 6px;
  color: #a18d6d;
  font: 12px/1.35 Georgia, serif;
  letter-spacing: .03em;
}

.stitch-demo[hidden] { display: none; }
.stitch-demo {
  position: fixed;
  z-index: 30000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, .84);
  backdrop-filter: blur(5px);
}
.stitch-demo__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(800px, 94vh);
  overflow: auto;
  border: 1px solid #795f3d;
  border-radius: 3px;
  padding: clamp(20px, 4vw, 38px);
  background: #11100e;
  box-shadow: 0 24px 80px #000b;
  color: #d8c39a;
  text-align: center;
}
.stitch-demo__eyebrow {
  margin: 0 0 8px;
  color: #a98b59;
  font: 12px Georgia, serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.stitch-demo__title {
  margin: 0;
  color: #dfcba4;
  font: normal clamp(28px, 4vw, 40px)/1.2 "STKaiti", "KaiTi", serif;
  letter-spacing: .16em;
}
.stitch-demo__english {
  display: block;
  margin: 6px 0 18px;
  color: #b79b69;
  font: 16px Georgia, serif;
}
.stitch-demo__cloth {
  position: relative;
  overflow: hidden;
  border: 9px solid #8f7959;
  outline: 1px solid #c4a777;
  background-color: #d7c7a7;
  background-image: repeating-linear-gradient(0deg, #5d51310f 0 1px, transparent 1px 5px), repeating-linear-gradient(90deg, #5d513112 0 1px, transparent 1px 5px);
  box-shadow: inset 0 0 34px #75604455;
}
.stitch-demo__svg { display: block; width: 100%; height: auto; }
.stitch-demo__caption {
  margin: 18px auto 0;
  max-width: 580px;
  font: 16px/1.7 "Microsoft YaHei", sans-serif;
}
.stitch-demo__actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.stitch-demo__action {
  border: 1px solid #a58755;
  padding: 8px 21px;
  background: transparent;
  color: #dec9a0;
  font: 15px "Microsoft YaHei", sans-serif;
  cursor: pointer;
}
.stitch-demo__action:hover,
.stitch-demo__action:focus-visible { background: #a58755; color: #111; }
.stitch-demo__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #dec9a0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 600px) {
  .stitch-demo { padding: 10px; }
  .stitch-demo__panel { max-height: 96vh; padding: 24px 14px; }
  .stitch-demo__cloth { border-width: 5px; }
  .craft-step__en { font-size: 11px; }
}

.stitch-demo__cloth{background:#050505;border:1px solid #58482e;outline:none;box-shadow:none;max-width:520px;margin:auto;}
.stitch-demo__panel{box-sizing:border-box;max-height:94vh;}
.stitch-demo__svg{max-height:58vh;}
