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

.lr {
  width: min(100%, 300px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lr__sort {
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: #0a4fe8;
  color: #fff7e6;
  font: 700 11px/1 -apple-system, sans-serif;
  padding: 8px 16px;
}

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

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

.lr__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  background: #fff7e6;
  border-radius: 12px;
  padding: 8px 12px;
}

.lr__name {
  font: 600 12px/1 -apple-system, sans-serif;
  color: #17141a;
}

.lr__price {
  font: 700 12px/1 "Space Mono", monospace;
  color: #0a4fe8;
}

::view-transition-group(*) {
  animation-duration: 600ms;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 340px) {
  .lr__item {
    padding: 4px 8px;
  }
  .lr__name, .lr__price {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
