.hand {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.hidden-hand {
  filter: blur(8px) saturate(0.4);
  pointer-events: none;
  user-select: none;
}

.rune-card {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 0.55rem;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(36, 51, 71, 0.24);
  background: linear-gradient(175deg, rgba(246, 249, 254, 0.98), rgba(230, 237, 246, 0.98));
  color: var(--text-main);
  padding: 0.4rem;
  cursor: pointer;
}

.rune-chip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  position: relative;
}

.rune-chip.black {
  background: radial-gradient(circle at 30% 25%, #6d6d6d, #111111 60%);
}

.rune-chip.white {
  background: radial-gradient(circle at 30% 25%, #ffffff, #ececec 60%);
  border-color: rgba(55, 55, 55, 0.42);
}

.rune-chip.neutral {
  background: radial-gradient(circle at 30% 25%, #cfcfcf, #808080 60%);
}

.rune-chip-symbol {
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: grayscale(1) brightness(0.35);
}

.rune-chip.black .rune-chip-symbol {
  filter: invert(1) brightness(1.25) contrast(1.2) drop-shadow(0 0 1px rgba(255, 255, 255, 0.7));
}

.rune-chip-dot {
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
}

.rune-card small {
  color: var(--text-soft);
  display: block;
}

.rune-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.rune-card.level-2 {
  box-shadow: inset 0 0 0 1px rgba(255, 214, 102, 0.65);
}

.rune-card.ethereal {
  background: linear-gradient(175deg, rgba(242, 247, 253, 0.95), rgba(223, 233, 245, 0.95));
  opacity: 0.95;
  border-style: dashed;
  border-color: #ffc94d;
  border-width: 2px;
}

.rune-card.shop-highlight {
  box-shadow: 0 0 0 2px rgba(123, 215, 137, 0.85);
}

.rune-card.read-only {
  cursor: default;
}

.shop-effect {
  color: #ffd38b;
}

.rune-card:disabled {
  cursor: default;
  opacity: 0.65;
}

.player-panel.active-player {
  border-color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .rune-card {
  border-color: rgba(220, 230, 241, 0.24);
  background: linear-gradient(175deg, rgba(52, 63, 77, 0.96), rgba(33, 42, 54, 0.96));
}

body[data-theme="dark"] .rune-card.ethereal {
  background: linear-gradient(175deg, rgba(60, 72, 88, 0.95), rgba(40, 50, 64, 0.95));
}
