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

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

.wpl__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  width: 100%;
}

.wpl__item {
  display: grid;
  grid-template-columns: 44px 56px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(23, 20, 26, 0.05);
  box-sizing: border-box;
}

.wpl__item.is-priority {
  background: rgba(10, 79, 232, 0.12);
  outline: 1.5px solid #0a4fe8;
}

.wpl__item.is-enter {
  opacity: 0;
}

.wpl__badge {
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: #0a4fe8;
  border-radius: 999px;
  padding: 4px 0;
  text-align: center;
}

.wpl__spacer {
  width: 100%;
}

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

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

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

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

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

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

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

@media (max-width: 340px) {
  .wpl__item {
    grid-template-columns: 38px 48px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wpl__item {
    transition: none;
  }
}
.wpl__list {
  gap: 4px;
}

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

@media (max-height: 240px) {
  .wpl {
    gap: 8px;
  }
  .wpl__item {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 24px;
  }
  .wpl__status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .wpl__btn {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}
