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

.wls {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
  width: min(92vw, 320px);
}

.wls__list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wls__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(23, 20, 26, 0.05);
  transform-origin: left center;
}

.wls__item.is-next {
  background: rgba(10, 79, 232, 0.12);
  outline: 1.5px solid #0a4fe8;
  transform: scale(1.03);
}

.wls__ticket {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #17141a;
}

.wls__note {
  font-size: 11px;
  font-weight: 600;
  color: rgba(23, 20, 26, 0.55);
}

.wls__controls {
  display: flex;
  gap: 8px;
}

.wls__btn {
  border: 1px solid rgba(23, 20, 26, 0.25);
  background: transparent;
  color: #17141a;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.wls__btn--primary {
  background: #0a4fe8;
  border-color: #0a4fe8;
  color: #ffffff;
}

.wls__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.wls__btn:focus-visible {
  outline: 2px solid #0a4fe8;
  outline-offset: 2px;
}

.wls__status {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: rgba(23, 20, 26, 0.6);
}

@media (max-width: 340px) {
  .wls__ticket {
    font-size: 13px;
  }
  .wls__note {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wls__item {
    transition: none;
  }
}
.wls__list {
  gap: 4px;
}

.wls__item {
  padding-top: 4px;
  padding-bottom: 4px;
}

@media (max-height: 240px) {
  .wls {
    gap: 8px;
  }
  .wls__item {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 24px;
  }
  .wls__status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .wls__btn {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}
