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

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

.sm {
  --sm-floor: #faf3e8;
  --sm-trail: #e8d9bd;
  --sm-acct: #f2d3c4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 424px;
}

.sm__hint {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-weight: 700;
  font-size: clamp(10px, 2.8vw, 12px);
  line-height: 1.35;
  color: #453524;
}

.sm__field {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: #faf3e8;
  box-shadow: inset 0 0 0 1px rgba(69, 53, 36, 0.18);
}

.sm__field:focus-visible {
  outline: 2px solid #453524;
  outline-offset: 2px;
}

.sm__cv {
  display: block;
  width: 100%;
  height: 100%;
}

.sm__veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  pointer-events: none;
}

.sm__card {
  max-width: 260px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.82);
  box-shadow: 0 6px 12px rgba(69, 53, 36, 0.18), inset 0 0 0 1px rgba(69, 53, 36, 0.1);
  text-align: center;
}

.sm__card-t {
  margin: 0;
  font-weight: 700;
  font-size: clamp(12px, 3.4vw, 15px);
  line-height: 1.2;
  color: #453524;
}

.sm__card-s {
  margin: 0;
  margin-top: 4px;
  font-weight: 500;
  font-size: clamp(9px, 2.4vw, 10px);
  line-height: 1.3;
  color: rgba(69, 53, 36, 0.72);
}

.sm__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sm__meta {
  font-size: 10px;
  font-weight: 700;
  color: rgba(69, 53, 36, 0.72);
}

.sm__meta--dim {
  font-size: 10px;
  font-weight: 500;
  color: rgba(69, 53, 36, 0.72);
}

@media (max-width: 340px) {
  .sm {
    gap: 4px;
  }
  .sm__field {
    height: 100px;
  }
  .sm__veil {
    padding: 8px;
  }
  .sm__card {
    padding: 8px 12px;
  }
  .sm__meta--dim {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm.is-still .sm__veil {
    pointer-events: none;
  }
}
