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

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

.ho {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ho__hint {
  margin: 0;
  padding: 0 4px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.72);
}

.ho__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.ho__row {
  --ty: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #fff7e6;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  transform: translateY(var(--ty));
  will-change: transform;
}

.ho__row--drag {
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  z-index: 2;
  position: relative;
}

.ho__grip {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: rgba(23, 20, 26, 0.72);
  cursor: grab;
  touch-action: none;
}

.ho__grip svg {
  display: block;
}

.ho__txt {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  color: #17141a;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ho__act {
  flex: 0 0 auto;
  padding: 0 8px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: #93d9c0;
  color: #17141a;
  font-weight: 700;
  font-size: 10px;
  cursor: pointer;
}

.ho__meta {
  margin: 0;
  padding: 0 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ho__state {
  font-weight: 700;
  font-size: 12px;
  color: #0a4fe8;
}

.ho__unit {
  font-weight: 400;
  font-size: 11px;
  color: rgba(23, 20, 26, 0.72);
}

@media (max-width: 340px) {
  .ho {
    max-width: 260px;
    gap: 4px;
  }
  .ho__hint {
    font-size: 10px;
  }
  .ho__txt {
    font-size: 11px;
  }
  .ho__row {
    padding: 4px;
  }
  .ho__list {
    max-height: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ho__row {
    transition: none !important;
    transform: none !important;
  }
}
