.stage html, .stage body {
  margin: 0;
  overflow: hidden;
}
.stage .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);
}

.sw {
  width: min(100%, 300px);
  position: relative;
}

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

.sw__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-sizing: border-box;
  transition: height 300ms cubic-bezier(0.2, 0.8, 0.2, 1), margin-bottom 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sw__reveal {
  position: absolute;
  inset: 0;
  background: #c2361a;
  color: #fff7e6;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  opacity: 0;
  box-sizing: border-box;
}

.sw__row {
  position: relative;
  background: #fff7e6;
  border-radius: 8px;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #17141a;
  font-size: 12px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.sw__del {
  border: none;
  background: transparent;
  color: rgba(23, 20, 26, 0.45);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.sw__xic {
  width: 16px;
  height: 16px;
}

.sw__del .sw__xic {
  width: 14px;
  height: 14px;
}

.sw__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  border: 0;
}

@media (max-width: 340px) {
  .sw {
    width: 100%;
  }
  .sw__list {
    max-height: 130px;
    overflow-y: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw__item {
    transition: none;
  }
  .sw__row {
    transition: none;
  }
}
