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

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

.sh {
  --sh-panel: #f9f6ee;
  --sh-thread: #8fafc9;
  --sh-cross: #d9a8a0;
  --sh-pin: #35304a;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 164px;
  overflow: hidden;
}

.sh__cv {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.sh__hint {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 8px 12px 0;
  font-weight: 700;
  font-size: clamp(10px, 2.8vw, 12px);
  line-height: 1.35;
  color: #3a3448;
  text-shadow: 0 1px 4px rgba(249, 246, 238, 0.9);
}

.sh__desc {
  margin-top: 4px;
  font-weight: 500;
  font-size: clamp(9px, 2.4vw, 10px);
  line-height: 1.4;
  color: rgba(58, 52, 72, 0.78);
  text-shadow: 0 1px 4px rgba(249, 246, 238, 0.9);
}

.sh__bar {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px 8px;
}

.sh__meta {
  font-size: 10px;
  font-weight: 500;
  color: rgba(58, 52, 72, 0.78);
  background: rgba(249, 246, 238, 0.85);
  border-radius: 4px;
  padding: 4px 4px;
}

.sh:focus-visible {
  outline: 2px solid #8fafc9;
  outline-offset: -2px;
}

@media (max-width: 340px) {
  .sh__meta--dim {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sh.is-still {
    cursor: default !important;
  }
}
