.values-pile-0 {
  --values-pile-color: #B0B2B5;
}

.values-pile-1 {
  --values-pile-color: #8FA9C4;
}

.values-pile-2 {
  --values-pile-color: #4F8A8B;
}

.values-pile-3 {
  --values-pile-color: #FDB515;
}

.values-pile-4 {
  --values-pile-color: #C41230;
}

.values-progress-bar {
  background-color: #C41230;
  transition: width 0.2s ease;
}

.values-name {
  font-weight: 700;
}

.values-desc {
  color: #6D6E71;
}

.values-deck-card,
.values-float {
  background: white;
  border: 1px solid #D6D6D6;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
}
.values-deck-card .values-name,
.values-float .values-name {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}
.values-deck-card .values-desc,
.values-float .values-desc {
  font-size: 1.1rem;
  margin-top: 0.4rem;
}

.values-chip,
.values-float.small {
  max-width: 13rem;
  padding: 0.3rem 0.55rem;
  border-radius: 0.4rem;
  text-align: left;
}
.values-chip .values-name,
.values-float.small .values-name {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.values-chip .values-desc,
.values-float.small .values-desc {
  font-size: 0.75rem;
  line-height: 1.25;
  margin-top: 0;
}

.values-deck {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.values-deck-card {
  margin-bottom: 1rem;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.values-chip {
  position: relative;
  border: 1px solid #D6D6D6;
  background: #F5F5F5;
  cursor: grab;
  user-select: none;
}
.values-chip:hover, .values-chip:focus-visible {
  border-color: var(--values-pile-color, #6D6E71);
  background: white;
}
.values-chip.drop-before {
  box-shadow: -4px 0 0 #6D6E71;
}
.values-chip.drop-after {
  box-shadow: 4px 0 0 #6D6E71;
}

.values-chip-rank {
  display: inline-block;
  min-width: 1.1rem;
  margin-right: 0.3rem;
  color: var(--values-pile-color, #6D6E71);
}

.values-deck-card.drag-source,
.values-chip.drag-source {
  background: transparent;
  border-style: dashed;
  border-color: #D6D6D6;
  box-shadow: none;
}
.values-deck-card.drag-source > *,
.values-chip.drag-source > * {
  visibility: hidden;
}

.values-float {
  position: fixed;
  z-index: 1050;
  pointer-events: none;
  overflow: hidden;
  transition: padding 180ms ease-out, border-radius 180ms ease-out;
}
.values-float .values-name,
.values-float .values-desc {
  transition: font-size 180ms ease-out, letter-spacing 180ms ease-out, margin-top 180ms ease-out;
}
.values-float.small {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

body.values-dragging,
body.values-dragging * {
  cursor: grabbing !important;
}

@keyframes values-key-flash {
  0% {
    background-color: #e8e4e4;
    box-shadow: 0 0 0 3px var(--values-pile-color, #6D6E71);
    transform: scale(0.94);
  }
  100% {
    transform: none;
  }
}
.key-flash {
  animation: values-key-flash 0.35s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  @keyframes values-key-flash {
    0% {
      background-color: #e8e4e4;
      box-shadow: 0 0 0 3px var(--values-pile-color, #6D6E71);
    }
  }
}
.values-deck-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.2rem, 1fr));
  gap: 0.4rem;
}

.values-pile-btn {
  font-size: 0.85rem;
  line-height: 1.2;
  background: white;
  border: 1px solid #D6D6D6;
  border-bottom: 4px solid var(--values-pile-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0.4rem;
}
.values-pile-btn:hover, .values-pile-btn:focus-visible, .values-pile-btn.drop-target {
  background: #e8e4e4;
  border-color: var(--values-pile-color);
}
.values-pile-btn.drop-target {
  box-shadow: 0 0 0 2px var(--values-pile-color);
}

.values-pile-key {
  font-size: 0.7rem;
  color: #6D6E71;
}

.values-dot {
  display: inline-block;
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--values-pile-color);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.values-pile {
  background: white;
  border: 1px solid #D6D6D6;
  border-left: 5px solid var(--values-pile-color);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  transition: background-color 0.1s;
}
.values-pile.drop-target {
  background: #e8e4e4;
}

.values-pile-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #E0E0E0;
}

.values-pile-body {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  min-height: 3rem;
}

.values-empty {
  color: #6D6E71;
  font-size: 0.85rem;
  align-self: center;
}

.values-card-list {
  columns: 2 18rem;
  column-gap: 2rem;
  font-size: 0.9rem;
}
.values-card-list li {
  break-inside: avoid;
  padding: 0.45rem 0;
  line-height: 1.35;
}
.values-card-list .values-name {
  letter-spacing: 0.04em;
  margin-right: 0.25rem;
}

.values-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  min-width: 13rem;
  background: white;
  border: 1px solid #D6D6D6;
  border-radius: 0.4rem;
  padding: 0.25rem 0;
  cursor: default;
}

.values-menu-title {
  font-size: 0.75rem;
  color: #6D6E71;
  padding: 0.2rem 0.75rem;
}

.values-menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
}
.values-menu-item:hover, .values-menu-item:focus-visible {
  background: #e8e4e4;
}
.values-menu-item.active {
  font-weight: 600;
}

.values-menu-icon {
  width: 0.7rem;
  font-size: 0.75rem;
  color: #6D6E71;
}

/*# sourceMappingURL=value_sort.css.map */