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

.sw {
  box-sizing: border-box;
  width: min(248px, 86vw);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #17141a;
}

.sw__label {
  font-size: 10px;
  line-height: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(23, 20, 26, 0.72);
}

.sw__input {
  box-sizing: border-box;
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(23, 20, 26, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: #17141a;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
}

.sw__input:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 1px;
}

.sw__panel {
  position: relative;
  box-sizing: border-box;
  height: 96px;
  margin-top: 4px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  overflow: hidden;
}

.sw__rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sw__row[hidden] {
  display: none;
}

.sw__row {
  height: 20px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
}

.sw__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sw__empty[hidden] {
  display: none;
}

.sw__lens {
  display: block;
  font-size: 36px;
  line-height: 0;
  color: rgba(23, 20, 26, 0.68);
}

.sw__msg {
  margin: 0;
  padding: 0 8px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  text-align: center;
}

.sw.is-demo .sw__lens {
  animation: sw-sweep 2s ease-in-out infinite;
}

@keyframes sw-sweep {
  0%, 100% {
    transform: translateX(-62px) rotate(-12deg);
  }
  50% {
    transform: translateX(62px) rotate(12deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw.is-demo .sw__lens {
    animation: none !important;
  }
}
