.tile-stand {
  display: flex;
  gap: 3px;
  padding: var(--space-sm);
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 80px;
  min-width: 0;
  align-items: flex-end;
}

.wire-tile {
  position: relative;
  min-width: 44px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.wire-tile:active {
  transform: scale(0.95);
}

.wire-tile.selectable {
  cursor: pointer;
}

.wire-tile.selectable:hover {
  transform: translateY(-4px);
}

.wire-tile.selected {
  transform: translateY(-8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.wire-tile.cut {
  opacity: 0.4;
  transform: translateY(4px);
}

.wire-tile-blue {
  background: var(--color-wire-blue-bg);
  border-left: 4px solid var(--color-wire-blue);
  color: var(--color-wire-blue);
}

.wire-tile-blue.selected {
  border-color: var(--color-wire-blue);
  box-shadow: 0 0 12px rgba(74, 144, 217, 0.5);
}

.wire-tile-red {
  background: var(--color-wire-red-bg);
  border-left: 4px solid var(--color-wire-red);
  color: var(--color-wire-red);
}

.wire-tile-red.selected {
  border-color: var(--color-wire-red);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.5);
}

.wire-tile-yellow {
  background: var(--color-wire-yellow-bg);
  border-left: 4px solid var(--color-wire-yellow);
  color: var(--color-wire-yellow);
}

.wire-tile-yellow.selected {
  border-color: var(--color-wire-yellow);
  box-shadow: 0 0 12px rgba(242, 204, 12, 0.5);
}

.wire-tile-facedown {
  background: var(--color-bg-panel);
  border-left: 4px solid var(--color-border);
  color: var(--color-text-muted);
}

.wire-tile-facedown .wire-value {
  font-size: 1.2rem;
}

.wire-value {
  font-size: 1.1rem;
  line-height: 1;
}

.wire-color-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-top: 2px;
}

.wire-tile .info-token-indicator {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--color-warning);
  color: var(--color-bg-primary);
  border-radius: var(--radius-round);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-bg-surface);
  box-shadow: var(--shadow-sm);
}

.wire-tile .info-token-indicator.yellow-token {
  background: var(--color-wire-yellow);
}

.player-hand-section {
  padding: var(--space-md);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  min-width: 0;
}

.player-hand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.player-name-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.player-color-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
}

.player-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.player-role {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.other-players-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.other-player-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-sm);
  background: var(--color-bg-panel);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.other-player-row.selected-target {
  border-color: var(--color-border-active);
  box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.3);
}

.other-player-wires {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.other-player-wire-count {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.cut-wires-area {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: var(--space-xs);
  min-height: 36px;
}

.cut-wire-mini {
  width: 28px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  opacity: 0.6;
}
